/builder-os:bos-build
- Dispatches
- delivery-plannerbuild-reviewer
Arguments
- [--plan-only]
- write the plan and get it accepted, stop before the loop. Does not pass gate 5.
- [--review-only]
- review an existing diff against the spec.
- [--slice N]
- run the loop for one slice.
What it does
Resources: The installation root is the parent of this loaded commands/ directory (or the hook’s installation-root line). Resolve skills/, references/ and scripts/ there; project artifacts belong in the working project.
Dispatch: On Claude Code use the namespaced profiles below, foreground (run_in_background: false), and await completion before the next dispatch or gate. On any other host resolve subagent.dispatch: pass the skill and context to an available generic agent, or run inline. Load delivery-discipline; qualify skill names with builder-os: on Claude.
Dispatch builder-os:delivery-planner, get the plan accepted, run the loop, then dispatch builder-os:build-reviewer to close BuilderOS phase 5.
Steps
- Check pipeline state. Read the active initiative's
state.json(schema, Active Initiative). Phase 4 must have passed or been overridden; numbered acceptance criteria are required. - Read
SPEC.mdandTECH.md(Verify commands). - Resolve capabilities per
references/capability-map.md.repo.readis required; without it, say so and offer--plan-only. - Detect a delivery toolchain (plan, test-driven development, code review, or equivalent). If present, the loop delegates to it and BuilderOS keeps the plan, spec conformance, scope creep and instrumentation. Never prompt an install.
- Dispatch
builder-os:delivery-planner(reads only, changes no code):
Operating mode: [mode] · Capabilities: [resolved]
Pipeline state: initiative [slug], phase 5, cycle [C], mode [full|lite]
Delivery toolchain present: [yes, named | no]
PRODUCT.md, DOMAIN.md, TECH.md, SPEC.md, SPEC.md → Design: [content]
Write the plan into .builderos/initiatives/{initiative}/PLAN.md:
slices with files, critical path, risks, rejected alternatives, captured
baseline, criterion-to-test mapping. Leave **Accepted:** for the person.- Get the plan accepted. Show it, ask, record
**Accepted:** {who} · {ISO timestamp}from their words (or a standing instruction, quoted). No code before this. - Run the loop, slice by slice: test first, watch it fail, minimum code, refactor green, instrumentation, Verify, update the plan on any deviation. Delegate to the toolchain where present, else
delivery-disciplinestep 5 inline. - Dispatch
builder-os:build-reviewerin a fresh context (no build conversation):
Operating mode: [mode] · Capabilities: [resolved]
Pipeline state: initiative [slug], phase 5, cycle [C], mode [full|lite]
TECH.md, SPEC.md (criteria, out of scope), SPEC.md → Design (states),
PLAN.md (accepted plan): [content]
Diff under review: [the changes]
Review both axes with severity; run delivery-discipline steps 7-8.- Verify
## REVIEW COMPLETE, then run steps 9 to 11 here: interface review, craft critique and security review each dispatched fresh with only their inputs, performance, the person tries it, the demo, write and gate 5. Rerun gate 5 pergate-checkson the written artifact. - Present the demo first, then the mapping, test output, instrumentation, findings and scope check.
Notes
Use run-check and its Run: capture, actual log and gate-checks judgement. Eval runs require hashed dataset/results with {id, pass} rows. Plan-only output cannot emit BUILD VERIFIED.
commands/bos-build.mdView on GitHub