Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 4.11 KB

brain-start.md

File metadata and controls

75 lines (49 loc) · 4.11 KB

/brain-start

Purpose

State: INTAKE

Route raw intent into the correct Agent Brain state.

When to use

Use when a user starts from a vague request, idea, task, or product ambition.

When not to use

Do not use to skip a more specific command once the state, artifact, evidence gap, and stop condition are already clear.

Input contract

Raw request plus known facts, assumptions, constraints, evidence, approval state, and any known context.

If required inputs are missing, ask at most three blocking questions or state explicit assumptions and risk. In noninteractive runs where the agent cannot ask questions, use the safest documented default or stop with a blocker when ambiguity changes the action.

Skills to load

  • intake from skills/intake/SKILL.md for routing raw intent into the earliest safe state.
  • command-routing from skills/command-routing/SKILL.md when the selected /brain-* route must be chosen or verified against the command catalog.
  • question-ladder from skills/question-ladder/SKILL.md when the request needs staged clarification without overloading the user.
  • domain-language from skills/domain-language/SKILL.md when overloaded project terms affect routing, artifact naming, or the next state.

Workflow

  1. Inspect git status --short and preserve user changes before modifying files, running write-capable tools, or trusting generated artifacts.
  2. Treat /brain-start as a markdown command spec unless the active runtime proves native command support.
  3. Inspect repository state with git status --short and git log --oneline -5 before routing so local drift and recent work shape the starting state.
  4. Run or require baseline validation when the request may lead to edits, verification claims, or handoff; treat missing baseline validation as a blocker for unsafe routing.
  5. Capture the raw request, user goal, visible constraints, and urgency.
  6. Classify the earliest safe state instead of assuming build work.
  7. Load intake and command-routing; add question-ladder only when missing context blocks routing; add domain-language when vocabulary ambiguity changes state choice or artifact naming.
  8. Produce an Intake Summary with facts, assumptions, blockers, and recommended next command.
  9. Stop if the request needs approval, secrets, destructive action, or a user decision before routing.

Output

Required artifact: Intake Summary using templates/intake-summary.md.

The output must include:

  • decision or finding,
  • evidence,
  • fresh validation proof,
  • assumptions,
  • risks,
  • open questions,
  • next recommended state.
  • artifact path.

Stop conditions

Stop and ask for human input when:

In noninteractive runs where the agent cannot ask questions, use the safest documented default only when it preserves scope and safety; otherwise stop with a blocker.

  • the request lacks enough context to choose an initial state or command,
  • repository evidence contradicts the user's stated status,
  • baseline validation fails in a way that changes the safe next action,
  • user changes are present and cannot be preserved before editing,
  • the next step needs approval for side effects, credentials, secrets, or private data.

Quality bar

A good /brain-start run classifies the request into the earliest safe state, names missing inputs and evidence, selects the next command and skills, records fresh validation proof, and avoids jumping directly to implementation.

Example

User request: start from a vague task or product ambition. Selected command: /brain-start. Command file: commands/brain-start.md. Loaded skills: intake, command-routing, question-ladder, and domain-language. Skill files: skills/intake/SKILL.md, skills/command-routing/SKILL.md, skills/question-ladder/SKILL.md, and skills/domain-language/SKILL.md. Artifact: write templates/intake-summary.md. Verification: inspect repository state, run baseline validation when appropriate, preserve user changes, verify the command catalog route, and record fresh validation proof before choosing the next /brain-* route. Stop condition: stop if no safe default exists for missing context. Next state: RESEARCH.