Capture loop shown in capture-loop.mmd. It runs inside Phase 1, after a prototype walkthrough, and as the Phase 4 scribe.
Contents
- Constraints • Quick start • Workflow • Verification • References
Constraints
- Never invent. Only record what the captures or the SME state; mark inferences
[UNCONFIRMED]and explicit statements[CONFIRMED]. Do not promote without SME sign-off. - Gap marker: the exact string
[NEEDS HUMAN INPUT](reason in parentheses after it).check_gaps.pycounts it; any variation is missed. It must not appear in the final handoff. - Track each open decision once under
## Consolidated Gaps; treatDecision Pre-fillsin the brief as confirmed. - One capture mode per invocation; cite the source file for every story and rule.
prototype-notes.mdhas a single writer: the observation extraction in prototype-companion-agent.md.- Cheap multi-pass work goes through the
cli-agentskill using the prompt templates here; never name models.
Quick start
From this skill's folder:
python3 scripts/business_requirements_capture_execute.py --input <capture.md> --mode brd --output exploration/captures/brd-draft.md
python3 scripts/user_story_capture_execute.py --input <brd-draft.md> --format gherkin --output exploration/captures/user-stories-draft.md
python3 scripts/generate_workflow.py --input <brd-draft.md> --output exploration/captures/workflow-map.md --type flowchart
Workflow
- Ingest the brief and approved plan; pick the mode (problem framing, BRD, stories, issues and opportunities, workflow, prototype observations).
- Draft with markers and a Consolidated Gaps section; run
check_gaps(more than 3 gaps in a capture sends the session back to the brief). - Reader test: predict the questions the consumer will ask and resolve them inline.
- Hand the captures back to
running-exploration-cycle.
Verification
python3 ../running-exploration-cycle/scripts/check_gaps.py --files exploration/captures/*.md --threshold 3
Acceptance criteria: acceptance-criteria.md.
References
- Absorbed skills: business-requirements-capture.md (BRD modes) • user-story-capture.md (story formats, edge cases) • business-workflow-doc.md (diagram types)
- Prompt templates for cheap CLI passes: requirements-doc-agent.md (five capture modes) • prototype-companion-agent.md (walkthrough to notes)