Need
docs/architecture/FLOWS.md describes 9 workflows abstractly. To verify them in a real session, a contributor needs the exact user prompt that triggers each scenario plus the observable expected behavior. Today they have to read every agent prompt + every skill to figure out what to type.
Proposal
New file: docs/architecture/SCENARIOS.md — pairs each FLOWS.md flow with concrete trigger prompts. For each scenario:
- The user sentence to type, verbatim
- Pre-conditions (e.g., "≥2 planning agents must exist in
.claude/agents/")
- Expected agent behavior (what the user should observe)
- Verification (what to grep / query in the trajectory DB to confirm)
Coverage
For every flow in FLOWS.md:
- Onboarding: fresh-DB trigger, hold-and-resume cases
- Simple task: typo / comment / no-API refactor
- Difficult task: new module / schema change / new dependency
- Agent-creator: domain role request, approval/refusal paths, reserved-name handling
- Skill creation: pattern recurrence (mostly internal architect flow)
- PR review: SWE completion → pr-reviewer chain
- Architecture regen: explicit phrase + lazy session-start variants
- SWE retry/escalation: validation-fail → retry → 3-fail escalation
- Roundtable with all four corner cases:
- Explicit magic word, planners exist — "let's do a roundtable on X"
- Explicit magic word, no planners — bro proposes agent-creator first
- Implicit cross-domain trigger, planners exist — architect detects, launches roundtable
- Implicit cross-domain trigger, no planners — bro/architect proposes agent-creator first
Acceptance criteria
Need
docs/architecture/FLOWS.mddescribes 9 workflows abstractly. To verify them in a real session, a contributor needs the exact user prompt that triggers each scenario plus the observable expected behavior. Today they have to read every agent prompt + every skill to figure out what to type.Proposal
New file:
docs/architecture/SCENARIOS.md— pairs each FLOWS.md flow with concrete trigger prompts. For each scenario:.claude/agents/")Coverage
For every flow in FLOWS.md:
Acceptance criteria
docs/architecture/SCENARIOS.mdexists, ~30 scenarios across 9 flowsdocs/local-testing.md(replaces the 10-row checklist OR extends it)