docs/workflow-discuss-mode.md
GSD's discuss-phase has two modes for gathering implementation context before planning.
discuss (default)The original interview-style flow. Claude identifies gray areas in the phase, presents them for selection, then asks ~4 questions per area. Good for:
assumptionsA codebase-first flow. Claude deeply analyzes the codebase via a subagent (reading 5-15 relevant files), forms assumptions with evidence, and presents them for confirmation or correction. Good for:
# Enable assumptions mode
node gsd-tools.cjs config-set workflow.discuss_mode assumptions
# Switch back to interview mode
node gsd-tools.cjs config-set workflow.discuss_mode discuss
The setting is per-project (stored in .planning/config.json).
| Flag | discuss mode | assumptions mode |
|---|---|---|
--auto | Auto-selects recommended answers | Skips confirm gate, auto-resolves Unclear items |
--batch | Groups questions in batches | N/A (corrections already batched) |
--text | Plain-text questions (remote sessions) | Plain-text questions (remote sessions) |
--analyze | Shows trade-off tables per question | N/A (assumptions include evidence) |
Both modes produce identical CONTEXT.md with the same 6 sections:
<domain> — Phase boundary<decisions> — Locked implementation decisions<canonical_refs> — Specs/docs downstream agents must read<code_context> — Reusable assets, patterns, integration points<specifics> — User references and preferences<deferred> — Ideas noted for future phasesDownstream agents (researcher, planner, checker) consume this identically regardless of mode.