.planning/config.json. Configure during /gsd:new-project or update anytime with /gsd:settings.
Configuration Commands
Configuration Schema
Completeconfig.json structure:
Core Settings
Mode
Controls approval behavior throughout the workflow.| Option | Behavior | Best For |
|---|---|---|
interactive (default) | Confirms at each step | Normal development, learning GSD |
yolo | Auto-approves all decisions | Rapid prototyping, familiar domains |
Granularity
Controls how finely scope is sliced into phases.| Option | Phases × Plans | Best For |
|---|---|---|
coarse | 3-5 phases | Small projects, rapid prototyping |
standard (default) | 5-8 phases | Most projects |
fine | 8-12 phases | Complex projects, critical work |
More phases = smaller scope per phase = more reliable execution, but more overhead.
Model Profiles
Balance quality vs token spend by controlling which Claude model each agent uses.Profile Overview
| Profile | Planning | Execution | Verification | Best For |
|---|---|---|---|---|
quality | Opus | Opus | Sonnet | Critical work, quota available |
balanced (default) | Opus | Sonnet | Sonnet | Most projects |
budget | Sonnet | Sonnet | Haiku | High-volume work, prototyping |
Per-Agent Model Breakdown
| Agent | quality | balanced | budget |
|---|---|---|---|
| gsd-planner | Opus | Opus | Sonnet |
| gsd-roadmapper | Opus | Sonnet | Sonnet |
| gsd-executor | Opus | Sonnet | Sonnet |
| gsd-phase-researcher | Opus | Sonnet | Haiku |
| gsd-project-researcher | Opus | Sonnet | Haiku |
| gsd-research-synthesizer | Sonnet | Sonnet | Haiku |
| gsd-debugger | Opus | Sonnet | Sonnet |
| gsd-codebase-mapper | Sonnet | Haiku | Haiku |
| gsd-verifier | Sonnet | Sonnet | Haiku |
| gsd-plan-checker | Sonnet | Sonnet | Haiku |
| gsd-integration-checker | Sonnet | Sonnet | Haiku |
Profile Philosophy
Quality
Opus for all decision-making agents, Sonnet for read-only verification.Use when quota is available and the work is critical.
Balanced
Opus only for planning (where architecture decisions happen), Sonnet for everything else.The default for good reason. Best cost/quality tradeoff.
Budget
Sonnet for anything that writes code, Haiku for research and verification.Use for high-volume work or less critical phases.
Switching Profiles
Planning Settings
Commit Documentation
Controls whether.planning/ files are committed to git.
| Setting | Options | Default | What It Controls |
|---|---|---|---|
commit_docs | true, false | true | Whether .planning/ files are committed to git |
search_gitignored | true, false | false | Add --no-ignore to broad searches to include .planning/ |
Working on sensitive projects? Set
commit_docs: false and add .planning/ to .gitignore. Planning artifacts stay local and never touch git.Workflow Agents
These spawn additional agents during planning/execution. They improve quality but add tokens and time.Agent Reference
Research Agent
Research Agent
Default:
trueWhat it does: Researches domain before planning each phase. Spawns 4 parallel agents:- Stack researcher - Libraries, patterns, tooling
- Features researcher - Similar implementations
- Architecture researcher - Design patterns
- Pitfalls researcher - Common mistakes
{phase}-RESEARCH.mdDisable when: Domain is familiar, conserving tokens, rapid iteration.Override per-invocation:Plan Checker
Plan Checker
Default:
trueWhat it does: Verifies plans achieve phase goals before execution. Checks 8 dimensions:- Requirements coverage
- Task atomicity
- Dependency ordering
- File organization
- Verification steps
- Technical decisions
- Implementation clarity
- Automated validation (Nyquist)
Verifier
Verifier
Default:
trueWhat it does: Confirms must-haves were delivered after execution. Checks codebase against phase goals.Output: {phase}-VERIFICATION.mdDisable when: Manual testing only, rapid iteration.Nyquist Validation
Nyquist Validation
Default:
trueWhat it does: Maps automated test coverage to each requirement during plan-phase research. Ensures feedback mechanism exists before code is written.- Detects existing test infrastructure
- Maps requirements to test commands
- Identifies test scaffolding needed (Wave 0 tasks)
- Plan checker enforces as 8th verification dimension
{phase}-VALIDATION.md - the feedback contract for the phaseDisable when: Rapid prototyping phases where test infrastructure isn’t the focus.Learn more: See Validation ArchitecturePerformance vs Quality Presets
Recommended combinations for different scenarios:| Scenario | Mode | Granularity | Profile | Research | Plan Check | Verifier |
|---|---|---|---|---|---|---|
| Prototyping | yolo | coarse | budget | off | off | off |
| Normal dev | interactive | standard | balanced | on | on | on |
| Production | interactive | fine | quality | on | on | on |
Git Branching
Control how GSD handles branches during execution.Branching Strategies
None
Default: Commits to current branchBest for: Solo development, simple projectsAll commits go directly to your current branch. No branch management overhead.
Phase
Creates: One branch per phaseBest for: Code review per phase, granular rollbackEach phase gets its own branch. Merged at phase completion.
Milestone
Creates: One branch per milestoneBest for: Release branches, PR per versionAll phases share one branch. Merged at milestone completion.
Branch Templates
Customize branch naming patterns:{phase}- Zero-padded phase number (e.g., “03”){slug}- Lowercase hyphenated phase name (e.g., “user-authentication”){milestone}- Version identifier (e.g., “v1.0”)
- Phase:
gsd/phase-03-user-authentication - Milestone:
gsd/v1.0-mvp-launch
Merge Behavior
At milestone completion, GSD offers:- Squash merge (recommended) - Clean single commit per milestone
- Merge with history - Preserve all atomic commits
Security: Protecting Sensitive Files
GSD’s codebase mapping and analysis commands read files to understand your project. Protect files containing secrets by adding them to Claude Code’s deny list: This prevents Claude from reading these files entirely, regardless of what commands you run.GSD includes built-in protections against committing secrets, but defense-in-depth is best practice. Deny read access as a first line of defense.
Configuration Examples
Prototyping Setup
Fast iteration, minimal overhead:Production Setup
Maximum quality, thorough validation:Team Collaboration Setup
Branch per milestone, code review workflow:Private Project Setup
Local planning docs, no git tracking:.gitignore:
Command-Line Overrides
Some settings can be overridden per command:Troubleshooting Configuration
Changes Not Taking Effect
- Verify config file exists:
.planning/config.json - Validate JSON syntax (no trailing commas)
- Restart your AI coding assistant
- Check
/gsd:progressto confirm settings
Model Costs Too High
Reduce token usage:Config File Missing
Run/gsd:settings to regenerate:
Next Steps
Core Concepts
Understand how GSD works under the hood
Workflow Agents
Deep dive into the agent system
Commands
Complete reference for all GSD commands
Advanced Topics
Deep dive into architecture and agent system