BuilderOS

/builder-os:bos-discover

Phase 1: plan and run the research that tests the frame, and return a VALIDATED/KILLED/RESHAPED verdict

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

  1. 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 per gate-checks.
  2. 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.
  3. Resolve capabilities per references/capability-map.md and derive the operating mode.
  4. Dispatch:

Dispatch builder-os:research-planner with this context:

text
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.
  1. 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 with Chosen by: [person, their words quoted].
  2. Verify completion: ## DISCOVERY COMPLETE with a verdict, or ## RESEARCH PLAN READY. The marker is the agent's claim, not the evidence: for ## DISCOVERY COMPLETE, re-read BRIEF.md → Discovery and run gate 1 on it yourself per gate-checks. A missing artifact or a failed condition is what gets reported, whatever the marker says.
  3. 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.

Generated from commands/bos-discover.mdView on GitHub