MetaBuilder harness design
Turn an underspecified request into reviewable MetaBuilder design artifacts. Own
task and repository discovery, the question-and-evidence process, brief
agreement, and translation into typed MetaBuilder intent and Harness Module
commitments. Stop after the module compiles and its bundle re-admits; hand the
result to metabuilder-consumer-qualification for execution and semantic
assessment. When the user requests design-only work or withholds an effect or
artifact-write boundary, stop at that earlier boundary and label every
uncreated downstream identity; never create artifacts merely to fill out the
normal packet.
This skill is guidance, not authority. The Rust CLI admits the artifacts, the
controller grants effects, and the consumer decides whether the resulting
checks are meaningful.
Boundary
- Read the target repository's applicable instructions before designing.
- Honor a user boundary narrower than this workflow. Missing approval or write
authority produces an explicit design-only handoff, not invented evidence.
- Formal fresh construction is consequential under the CLI gate. Reuse
evidenced grilling coverage and decisions; investigate only missing or
changed material issues. Routine inspection and provisional preparation
do not themselves cross that gate.
- Keep facts, assumptions, preferences, unknowns, and decisions distinct.
Resolve each material unknown or record an owner, impact, and review trigger.
- Require a named product owner to approve every formal decision and every
required approver to accept the exact prepared brief.
- Do not infer filesystem, process, network, credential, installation,
external-state, release, deployment, provider, spend, or continuation
authority from an objective, approval, digest, generated file, or passing
check. Stop at an unsupported effect boundary.
- Preserve the three layers:
defineIntent states meaning without executable
authority; a Harness Module commits to actions and evidence; a run records
controller observations. None proves the consumer's final semantic claim by
itself.
Authority by phase
- Analysis: The user's design or inspection request permits relevant local
reads and evidence gathering within existing permissions. Establish missing
owners before their decisions are needed; continue independent investigation.
- Provisional design: Prepare findings, candidate briefs, alternatives, and
authority-free intent sketches within authorized local output paths. Label
unresolved decisions and proposed commitments. These are review materials,
not approved modules, receipts, or permission to execute.
- Ratification: Before formal construction, require named product-owner
evidence for every formal decision and acceptance of the exact prepared
brief by every required approver. Technical evidence can resolve a grilling
question but cannot stand in for formal user approval. A speculative model
respondent cannot ratify on a human's behalf.
- Formal artifact publication: Finalize the agreed brief and construct,
compile, and admit the module/bundle only when the required ratification and
artifact-write authority are satisfied. Local publication does not authorize
remote publication. Neither a template nor a successful check supplies a grant.
- Execution: Authoring a run, applying effects, provider dispatch, and spend
require the corresponding existing grants and controller enforcement. Design
acceptance alone does not authorize them. Consumer assessment remains separate
from both approval and controller-observed execution.
Reuse an agreed brief and explicit decisions when their approval-relevant
identity, actors, decisions, effect scope, and grants remain valid. Verify the
receipt with the current CLI; a changed prepared brief digest needs acceptance
for that new digest under the controller's rules. Changed approvers, ambiguous
ownership, stale evidence, or added effects reopen the affected decision.
Do not restart a settled interview merely because a companion skill is loaded.
For an unresolved boundary, finish independent authorized preparation, ask for
the specific missing decision with the concrete artifact/effect in view, and
hold only dependent work. Silence is not approval.
The emitted brief template contains zero digests as visible placeholders. They
are structurally valid so the Rust gate can demonstrate the full shape, but
they are not evidence. Replace every placeholder with the digest of the exact
answer, policy, investigation, or approval record it cites before agreement.
Workflow
Establish the requester, consumer, product decision owner, technical owner,
controller, required approvers, exact target repository, objective, and
explicit stop conditions.
Inspect recoverable repository evidence: applicable instructions, current
source identity and cleanliness, build and test configuration, public
contracts, existing checks, toolchains, ignored auxiliary inputs, and known
limitations. Use external research only when it is necessary and separately
authorized; record it as a cited input, never controller evidence.
Build a finding ledger with one classification per item: fact, assumption,
preference, unknown, or decision. Name provenance and an owner. Ask only
questions that can change scope, risk, success, authority, or design.
Reuse valid answers and conduct the remaining grilling across goals, non-goals, constraints, risks,
success criteria, actors, material unknowns, effects, failure/recovery, and
evidence adequacy. Read references/design-workflow.md
for the exact artifact sequence and approval shape.
If no valid agreed brief already covers this design, emit and edit a
provisional brief candidate:
metabuilder harness brief template > harness-brief.candidate.json
metabuilder harness brief prepare \
--input harness-brief.candidate.json > harness-brief.prepared.json
metabuilder harness brief inspect --input harness-brief.prepared.json
Prepare the approval request for review; populate approval evidence only
after every required approver has accepted the exact prepared brief digest.
Reuse existing acceptance of that same digest when still valid. Finalize to a new file; never overwrite an earlier
candidate or receipt.
Translate the agreed meaning into defineIntent: objectives become
achieve obligations, independently testable claims become establish
obligations, canonical data becomes declared artifacts, dependencies become
typed flow, and ordering/choice/convergence become the smallest fitting
workflow construct. Read
references/worked-examples.md when choosing
among small, multi-artifact, or staged/parallel designs. Check source with:
metabuilder intent check --input intent.mb.ts --json
Translate the approved intent into a Harness Module without adding meaning
or authority: requirements state the claims; evidence_actions name the
exact checks; actions declare direct argv, cwd, toolchain, timeout, inputs,
outputs, and auxiliary-directory digests; the workflow preserves the
approved topology; bounds and retrospectives are explicit. The source
language itself never contains commands, providers, credentials, or grants.
Preflight every requested effect against current MetaBuilder enforcement.
Prefer the read-only Linux-local consumer profile. If a requirement needs an
unsupported or unauthorized effect, report it instead of bypassing the
harness. Compile and re-admit the exact bundle:
metabuilder harness compile --input harness.module.json > harness.bundle.json
metabuilder harness check --input harness.bundle.json
At the authorized stopping point, hand the exact agreed brief, intent source,
module, bundle, target source identity, limitations, assumptions, and open
unsupported effects to
metabuilder-consumer-qualification. That downstream workflow executes the
bundle and keeps MetaBuilder observations separate from consumer judgment.
Deliverable
Return a compact design packet containing:
- the target source identity and evidence inventory;
- the classified finding ledger and resolved grilling record;
- candidate, prepared, and agreed brief identities;
- the checked
defineIntent source;
- the compiled/re-admitted module and bundle identities;
- the effect preflight, assumptions, limitations, unsupported conditions, and
stop decisions; and
- an explicit qualification handoff with no production-readiness claim.
Include only identities that were actually created and admitted. For a
design-only result, replace downstream identities with a concise list of the
approval or authority needed to create them.
For exact grammar and product limits, use the repository's
docs/define-intent-language.md, docs/define-intent-capabilities.md, and
docs/define-intent-lifecycle.md. Do not copy their contracts into a competing
skill-local authority.
1---2name: metabuilder-harness-design3description: Design a new MetaBuilder harness from repository evidence and a user objective through thorough grilling, an agreed brief, and typed intent/module/workflow commitments. Use before fresh harness construction; use consumer qualification later to run and assess an already designed harness.4---56# MetaBuilder harness design78Turn an underspecified request into reviewable MetaBuilder design artifacts. Own9task and repository discovery, the question-and-evidence process, brief10agreement, and translation into typed MetaBuilder intent and Harness Module11commitments. Stop after the module compiles and its bundle re-admits; hand the12result to `metabuilder-consumer-qualification` for execution and semantic13assessment. When the user requests design-only work or withholds an effect or14artifact-write boundary, stop at that earlier boundary and label every15uncreated downstream identity; never create artifacts merely to fill out the16normal packet.1718This skill is guidance, not authority. The Rust CLI admits the artifacts, the19controller grants effects, and the consumer decides whether the resulting20checks are meaningful.2122## Boundary2324- Read the target repository's applicable instructions before designing.25- Honor a user boundary narrower than this workflow. Missing approval or write26 authority produces an explicit design-only handoff, not invented evidence.27- Formal fresh construction is consequential under the CLI gate. Reuse28 evidenced grilling coverage and decisions; investigate only missing or29 changed material issues. Routine inspection and provisional preparation30 do not themselves cross that gate.31- Keep facts, assumptions, preferences, unknowns, and decisions distinct.32 Resolve each material unknown or record an owner, impact, and review trigger.33- Require a named product owner to approve every formal decision and every34 required approver to accept the exact prepared brief.35- Do not infer filesystem, process, network, credential, installation,36 external-state, release, deployment, provider, spend, or continuation37 authority from an objective, approval, digest, generated file, or passing38 check. Stop at an unsupported effect boundary.39- Preserve the three layers: `defineIntent` states meaning without executable40 authority; a Harness Module commits to actions and evidence; a run records41 controller observations. None proves the consumer's final semantic claim by42 itself.4344## Authority by phase4546- **Analysis:** The user's design or inspection request permits relevant local47 reads and evidence gathering within existing permissions. Establish missing48 owners before their decisions are needed; continue independent investigation.49- **Provisional design:** Prepare findings, candidate briefs, alternatives, and50 authority-free intent sketches within authorized local output paths. Label51 unresolved decisions and proposed commitments. These are review materials,52 not approved modules, receipts, or permission to execute.53- **Ratification:** Before formal construction, require named product-owner54 evidence for every formal decision and acceptance of the exact prepared55 brief by every required approver. Technical evidence can resolve a grilling56 question but cannot stand in for formal user approval. A speculative model57 respondent cannot ratify on a human's behalf.58- **Formal artifact publication:** Finalize the agreed brief and construct,59 compile, and admit the module/bundle only when the required ratification and60 artifact-write authority are satisfied. Local publication does not authorize61 remote publication. Neither a template nor a successful check supplies a grant.62- **Execution:** Authoring a run, applying effects, provider dispatch, and spend63 require the corresponding existing grants and controller enforcement. Design64 acceptance alone does not authorize them. Consumer assessment remains separate65 from both approval and controller-observed execution.6667Reuse an agreed brief and explicit decisions when their approval-relevant68identity, actors, decisions, effect scope, and grants remain valid. Verify the69receipt with the current CLI; a changed prepared brief digest needs acceptance70for that new digest under the controller's rules. Changed approvers, ambiguous71ownership, stale evidence, or added effects reopen the affected decision.72Do not restart a settled interview merely because a companion skill is loaded.73For an unresolved boundary, finish independent authorized preparation, ask for74the specific missing decision with the concrete artifact/effect in view, and75hold only dependent work. Silence is not approval.7677The emitted brief template contains zero digests as visible placeholders. They78are structurally valid so the Rust gate can demonstrate the full shape, but79they are not evidence. Replace every placeholder with the digest of the exact80answer, policy, investigation, or approval record it cites before agreement.8182## Workflow83841. Establish the requester, consumer, product decision owner, technical owner,85 controller, required approvers, exact target repository, objective, and86 explicit stop conditions.872. Inspect recoverable repository evidence: applicable instructions, current88 source identity and cleanliness, build and test configuration, public89 contracts, existing checks, toolchains, ignored auxiliary inputs, and known90 limitations. Use external research only when it is necessary and separately91 authorized; record it as a cited input, never controller evidence.923. Build a finding ledger with one classification per item: fact, assumption,93 preference, unknown, or decision. Name provenance and an owner. Ask only94 questions that can change scope, risk, success, authority, or design.954. Reuse valid answers and conduct the remaining grilling across goals, non-goals, constraints, risks,96 success criteria, actors, material unknowns, effects, failure/recovery, and97 evidence adequacy. Read [references/design-workflow.md](references/design-workflow.md)98 for the exact artifact sequence and approval shape.995. If no valid agreed brief already covers this design, emit and edit a100 provisional brief candidate:101102 ```bash103 metabuilder harness brief template > harness-brief.candidate.json104 metabuilder harness brief prepare \105 --input harness-brief.candidate.json > harness-brief.prepared.json106 metabuilder harness brief inspect --input harness-brief.prepared.json107 ```108109 Prepare the approval request for review; populate approval evidence only110 after every required approver has accepted the exact prepared brief digest.111 Reuse existing acceptance of that same digest when still valid. Finalize to a new file; never overwrite an earlier112 candidate or receipt.1136. Translate the agreed meaning into `defineIntent`: objectives become114 `achieve` obligations, independently testable claims become `establish`115 obligations, canonical data becomes declared artifacts, dependencies become116 typed flow, and ordering/choice/convergence become the smallest fitting117 workflow construct. Read118 [references/worked-examples.md](references/worked-examples.md) when choosing119 among small, multi-artifact, or staged/parallel designs. Check source with:120121 ```bash122 metabuilder intent check --input intent.mb.ts --json123 ```1241257. Translate the approved intent into a Harness Module without adding meaning126 or authority: requirements state the claims; `evidence_actions` name the127 exact checks; actions declare direct argv, cwd, toolchain, timeout, inputs,128 outputs, and auxiliary-directory digests; the workflow preserves the129 approved topology; bounds and retrospectives are explicit. The source130 language itself never contains commands, providers, credentials, or grants.1318. Preflight every requested effect against current MetaBuilder enforcement.132 Prefer the read-only Linux-local consumer profile. If a requirement needs an133 unsupported or unauthorized effect, report it instead of bypassing the134 harness. Compile and re-admit the exact bundle:135136 ```bash137 metabuilder harness compile --input harness.module.json > harness.bundle.json138 metabuilder harness check --input harness.bundle.json139 ```1401419. At the authorized stopping point, hand the exact agreed brief, intent source,142 module, bundle, target source identity, limitations, assumptions, and open143 unsupported effects to144 `metabuilder-consumer-qualification`. That downstream workflow executes the145 bundle and keeps MetaBuilder observations separate from consumer judgment.146147## Deliverable148149Return a compact design packet containing:150151- the target source identity and evidence inventory;152- the classified finding ledger and resolved grilling record;153- candidate, prepared, and agreed brief identities;154- the checked `defineIntent` source;155- the compiled/re-admitted module and bundle identities;156- the effect preflight, assumptions, limitations, unsupported conditions, and157 stop decisions; and158- an explicit qualification handoff with no production-readiness claim.159160Include only identities that were actually created and admitted. For a161design-only result, replace downstream identities with a concise list of the162approval or authority needed to create them.163164For exact grammar and product limits, use the repository's165`docs/define-intent-language.md`, `docs/define-intent-capabilities.md`, and166`docs/define-intent-lifecycle.md`. Do not copy their contracts into a competing167skill-local authority.