/builder-os:bos-discover
- Dispatches
- research-planner
Arguments
- [--plan]
- Plan and guide only, no synthesis.
- [--synthesize <paths>]
- Ingest transcripts or notes and go straight to synthesis and verdict.
- [--mine]
- Source mining only: churn reasons, tickets, replays, funnels.
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 research-methods; qualify skill names with builder-os: on Claude.
Dispatch the builder-os:research-planner agent to run BuilderOS phase 1.
Steps
- Check pipeline state. Read the active initiative's
state.json(resolved per the schema, Active Initiative). Phase 0 must have passed or been overridden; if not, refuse with the failed condition pergate-checks. - Read
.builderos/initiatives/{initiative}/BRIEF.md→ Frame. The riskiest assumption in it is the research target. Without it, stop and route to/builder-os:bos-frame. - Resolve capabilities per
references/capability-map.mdand derive the operating mode. - Dispatch:
Dispatch builder-os:research-planner with this context:
Operating mode: [detected mode]
Resolved capabilities: [per references/capability-map.md, or 'none beyond files']
Pipeline state: initiative [slug], phase 1, cycle [C], mode [full|lite]
PRODUCT.md:
[content]
BRIEF.md → Frame:
[content]
User request:
[what the user asked: a plan, or synthesis of transcripts they are bringing]
Transcripts/notes provided:
[paths or content, or 'none: plan only']
Write .builderos/initiatives/{initiative}/BRIEF.md → Discovery and run gate 1 before declaring completion.
If no transcripts exist yet, deliver the plan and say the gate runs later.- The person chooses what the verdict means for the work (1.6): the dispatch returns its round instead of a
**Chosen by:**. Ask it, then dispatch again withChosen by: [person, their words quoted]. - Verify completion:
## DISCOVERY COMPLETEwith a verdict, or## RESEARCH PLAN READY. The marker is the agent's claim, not the evidence: for## DISCOVERY COMPLETE, re-readBRIEF.md→ Discovery and run gate 1 on it yourself pergate-checks. A missing artifact or a failed condition is what gets reported, whatever the marker says. - Present. On
KILLED, report the pipeline stop as a successful outcome and name what it saved.
Notes
Phase 1 usually spans two sessions: the plan, then the verdict after the conversations happen. That is normal and the state file carries the gap.
A KILLED verdict stops the pipeline. That is the cheapest outcome BuilderOS can produce and it should be presented as a win, not a setback.
commands/bos-discover.mdView on GitHub