@undeemed/get-shit-done-codex 1.21.0 → 1.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.codex/config.toml +1 -1
- package/README.md +33 -45
- package/agents/gsd-codebase-mapper.md +3 -3
- package/agents/gsd-debugger.md +7 -7
- package/agents/gsd-executor.md +14 -14
- package/agents/gsd-phase-researcher.md +7 -7
- package/agents/gsd-plan-checker.md +10 -10
- package/agents/gsd-planner.md +20 -20
- package/agents/gsd-project-researcher.md +3 -3
- package/agents/gsd-research-synthesizer.md +6 -6
- package/agents/gsd-roadmapper.md +7 -7
- package/agents/gsd-verifier.md +29 -17
- package/bin/install.js +54 -198
- package/commands/gsd/add-tests.md +5 -4
- package/commands/gsd/complete-milestone.md +6 -6
- package/commands/gsd/debug.md +1 -1
- package/commands/gsd/map-codebase.md +3 -3
- package/commands/gsd/new-milestone.md +1 -1
- package/commands/gsd/new-project.md +1 -1
- package/commands/gsd/plan-milestone-gaps.md +2 -2
- package/commands/gsd/reapply-patches.md +2 -2
- package/commands/gsd/research-phase.md +3 -3
- package/commands/gsd/verify-work.md +1 -1
- package/get-shit-done/bin/lib/commands.cjs +1 -1
- package/get-shit-done/bin/lib/phase.cjs +2 -2
- package/get-shit-done/bin/lib/verify.cjs +8 -8
- package/get-shit-done/references/continuation-format.md +33 -27
- package/get-shit-done/references/model-profiles.md +1 -1
- package/get-shit-done/references/ui-brand.md +3 -3
- package/get-shit-done/templates/DEBUG.md +5 -5
- package/get-shit-done/templates/UAT.md +4 -4
- package/get-shit-done/templates/VALIDATION.md +1 -1
- package/get-shit-done/templates/debug-subagent-prompt.md +1 -1
- package/get-shit-done/templates/discovery.md +2 -2
- package/get-shit-done/templates/phase-prompt.md +1 -1
- package/get-shit-done/templates/planner-subagent-prompt.md +3 -3
- package/get-shit-done/templates/project.md +1 -1
- package/get-shit-done/templates/research.md +1 -1
- package/get-shit-done/templates/retrospective.md +13 -7
- package/get-shit-done/templates/state.md +2 -2
- package/get-shit-done/workflows/add-phase.md +8 -8
- package/get-shit-done/workflows/add-tests.md +41 -18
- package/get-shit-done/workflows/add-todo.md +2 -2
- package/get-shit-done/workflows/audit-milestone.md +8 -8
- package/get-shit-done/workflows/check-todos.md +8 -8
- package/get-shit-done/workflows/complete-milestone.md +34 -9
- package/get-shit-done/workflows/diagnose-issues.md +1 -1
- package/get-shit-done/workflows/discovery-phase.md +3 -3
- package/get-shit-done/workflows/discuss-phase.md +12 -12
- package/get-shit-done/workflows/execute-phase.md +8 -8
- package/get-shit-done/workflows/execute-plan.md +4 -4
- package/get-shit-done/workflows/health.md +5 -5
- package/get-shit-done/workflows/help.md +97 -90
- package/get-shit-done/workflows/insert-phase.md +7 -7
- package/get-shit-done/workflows/list-phase-assumptions.md +4 -4
- package/get-shit-done/workflows/map-codebase.md +3 -3
- package/get-shit-done/workflows/new-milestone.md +6 -6
- package/get-shit-done/workflows/new-project.md +12 -12
- package/get-shit-done/workflows/pause-work.md +1 -1
- package/get-shit-done/workflows/plan-milestone-gaps.md +8 -8
- package/get-shit-done/workflows/plan-phase.md +13 -13
- package/get-shit-done/workflows/progress.md +29 -29
- package/get-shit-done/workflows/quick.md +3 -3
- package/get-shit-done/workflows/remove-phase.md +6 -6
- package/get-shit-done/workflows/research-phase.md +2 -2
- package/get-shit-done/workflows/resume-project.md +11 -11
- package/get-shit-done/workflows/settings.md +6 -6
- package/get-shit-done/workflows/transition.md +13 -13
- package/get-shit-done/workflows/update.md +2 -2
- package/get-shit-done/workflows/verify-work.md +8 -8
- package/package.json +1 -1
- package/commands/gsd/new-project.md.bak +0 -1041
|
@@ -321,7 +321,7 @@ grep "^status:" "$PHASE_DIR"/*-VERIFICATION.md | cut -d: -f2 | tr -d ' '
|
|
|
321
321
|
|--------|--------|
|
|
322
322
|
| `passed` | → update_roadmap |
|
|
323
323
|
| `human_needed` | Present items for human testing, get approval or feedback |
|
|
324
|
-
| `gaps_found` | Present gap summary, offer
|
|
324
|
+
| `gaps_found` | Present gap summary, offer `$gsd-plan-phase {phase} --gaps` |
|
|
325
325
|
|
|
326
326
|
**If human_needed:**
|
|
327
327
|
```
|
|
@@ -347,15 +347,15 @@ All automated checks passed. {N} items need human testing:
|
|
|
347
347
|
---
|
|
348
348
|
## ▶ Next Up
|
|
349
349
|
|
|
350
|
-
|
|
350
|
+
`$gsd-plan-phase {X} --gaps`
|
|
351
351
|
|
|
352
|
-
<sub
|
|
352
|
+
<sub>start a new session first → fresh context window</sub>
|
|
353
353
|
|
|
354
354
|
Also: `cat {phase_dir}/{phase_num}-VERIFICATION.md` — full report
|
|
355
|
-
Also:
|
|
355
|
+
Also: `$gsd-verify-work {X}` — manual testing first
|
|
356
356
|
```
|
|
357
357
|
|
|
358
|
-
Gap closure cycle:
|
|
358
|
+
Gap closure cycle: `$gsd-plan-phase {X} --gaps` reads VERIFICATION.md → creates gap plans with `gap_closure: true` → user runs `$gsd-execute-phase {X} --gaps-only` → verifier re-runs.
|
|
359
359
|
</step>
|
|
360
360
|
|
|
361
361
|
<step name="update_roadmap">
|
|
@@ -381,7 +381,7 @@ node ~/.codex/get-shit-done/bin/gsd-tools.cjs commit "docs(phase-{X}): complete
|
|
|
381
381
|
|
|
382
382
|
<step name="offer_next">
|
|
383
383
|
|
|
384
|
-
**Exception:** If `gaps_found`, the `verify_phase_goal` step already presents the gap-closure path (
|
|
384
|
+
**Exception:** If `gaps_found`, the `verify_phase_goal` step already presents the gap-closure path (`$gsd-plan-phase {X} --gaps`). No additional routing needed — skip auto-advance.
|
|
385
385
|
|
|
386
386
|
**No-transition check (spawned by auto-advance chain):**
|
|
387
387
|
|
|
@@ -429,7 +429,7 @@ Read and follow `~/.codex/get-shit-done/workflows/transition.md`, passing throug
|
|
|
429
429
|
|
|
430
430
|
**If neither `--auto` nor `AUTO_CFG` is true:**
|
|
431
431
|
|
|
432
|
-
The workflow ends. The user runs
|
|
432
|
+
The workflow ends. The user runs `$gsd-progress` or invokes the transition workflow manually.
|
|
433
433
|
</step>
|
|
434
434
|
|
|
435
435
|
</process>
|
|
@@ -447,7 +447,7 @@ Orchestrator: ~10-15% context. Subagents: fresh 200k each. No polling (Task bloc
|
|
|
447
447
|
</failure_handling>
|
|
448
448
|
|
|
449
449
|
<resumption>
|
|
450
|
-
Re-run
|
|
450
|
+
Re-run `$gsd-execute-phase {phase}` → discover_plans finds completed SUMMARYs → skips them → resumes from first incomplete plan → continues wave execution.
|
|
451
451
|
|
|
452
452
|
STATE.md tracks: last completed plan, current wave, pending checkpoints.
|
|
453
453
|
</resumption>
|
|
@@ -423,11 +423,11 @@ ls -1 .planning/phases/[current-phase-dir]/*-SUMMARY.md 2>/dev/null | wc -l
|
|
|
423
423
|
|
|
424
424
|
| Condition | Route | Action |
|
|
425
425
|
|-----------|-------|--------|
|
|
426
|
-
| summaries < plans | **A: More plans** | Find next PLAN without SUMMARY. Yolo: auto-continue. Interactive: show next plan, suggest
|
|
427
|
-
| summaries = plans, current < highest phase | **B: Phase done** | Show completion, suggest
|
|
428
|
-
| summaries = plans, current = highest phase | **C: Milestone done** | Show banner, suggest
|
|
426
|
+
| summaries < plans | **A: More plans** | Find next PLAN without SUMMARY. Yolo: auto-continue. Interactive: show next plan, suggest `$gsd-execute-phase {phase}` + `$gsd-verify-work`. STOP here. |
|
|
427
|
+
| summaries = plans, current < highest phase | **B: Phase done** | Show completion, suggest `$gsd-plan-phase {Z+1}` + `$gsd-verify-work {Z}` + `$gsd-discuss-phase {Z+1}` |
|
|
428
|
+
| summaries = plans, current = highest phase | **C: Milestone done** | Show banner, suggest `$gsd-complete-milestone` + `$gsd-verify-work` + `$gsd-add-phase` |
|
|
429
429
|
|
|
430
|
-
All routes:
|
|
430
|
+
All routes: start a new session first for fresh context.
|
|
431
431
|
</step>
|
|
432
432
|
|
|
433
433
|
</process>
|
|
@@ -62,10 +62,10 @@ Errors: N | Warnings: N | Info: N
|
|
|
62
62
|
## Errors
|
|
63
63
|
|
|
64
64
|
- [E001] config.json: JSON parse error at line 5
|
|
65
|
-
Fix: Run
|
|
65
|
+
Fix: Run $gsd-health --repair to reset to defaults
|
|
66
66
|
|
|
67
67
|
- [E002] PROJECT.md not found
|
|
68
|
-
Fix: Run
|
|
68
|
+
Fix: Run $gsd-new-project to create
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
**If warnings exist:**
|
|
@@ -73,7 +73,7 @@ Errors: N | Warnings: N | Info: N
|
|
|
73
73
|
## Warnings
|
|
74
74
|
|
|
75
75
|
- [W001] STATE.md references phase 5, but only phases 1-3 exist
|
|
76
|
-
Fix: Run
|
|
76
|
+
Fix: Run $gsd-health --repair to regenerate
|
|
77
77
|
|
|
78
78
|
- [W005] Phase directory "1-setup" doesn't follow NN-name format
|
|
79
79
|
Fix: Rename to match pattern (e.g., 01-setup)
|
|
@@ -90,7 +90,7 @@ Errors: N | Warnings: N | Info: N
|
|
|
90
90
|
**Footer (if repairable issues exist and --repair was NOT used):**
|
|
91
91
|
```
|
|
92
92
|
---
|
|
93
|
-
N issues can be auto-repaired. Run:
|
|
93
|
+
N issues can be auto-repaired. Run: $gsd-health --repair
|
|
94
94
|
```
|
|
95
95
|
</step>
|
|
96
96
|
|
|
@@ -100,7 +100,7 @@ N issues can be auto-repaired. Run: /gsd:health --repair
|
|
|
100
100
|
Ask user if they want to run repairs:
|
|
101
101
|
|
|
102
102
|
```
|
|
103
|
-
Would you like to run
|
|
103
|
+
Would you like to run $gsd-health --repair to fix N issues automatically?
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
If yes, re-run with --repair flag and display results.
|
|
@@ -9,9 +9,9 @@ Display the complete GSD command reference. Output ONLY the reference content. D
|
|
|
9
9
|
|
|
10
10
|
## Quick Start
|
|
11
11
|
|
|
12
|
-
1.
|
|
13
|
-
2.
|
|
14
|
-
3.
|
|
12
|
+
1. `$gsd-new-project` - Initialize project (includes research, requirements, roadmap)
|
|
13
|
+
2. `$gsd-plan-phase 1` - Create detailed plan for first phase
|
|
14
|
+
3. `$gsd-execute-phase 1` - Execute the phase
|
|
15
15
|
|
|
16
16
|
## Staying Updated
|
|
17
17
|
|
|
@@ -24,21 +24,23 @@ npx get-shit-done-cc@latest
|
|
|
24
24
|
## Core Workflow
|
|
25
25
|
|
|
26
26
|
```
|
|
27
|
-
|
|
27
|
+
$gsd-new-project → $gsd-plan-phase → $gsd-execute-phase → repeat
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
### Project Initialization
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
**`$gsd-new-project`**
|
|
33
33
|
Initialize new project through unified flow.
|
|
34
34
|
|
|
35
35
|
One command takes you from idea to ready-for-planning:
|
|
36
|
+
|
|
36
37
|
- Deep questioning to understand what you're building
|
|
37
38
|
- Optional domain research (spawns 4 parallel researcher agents)
|
|
38
39
|
- Requirements definition with v1/v2/out-of-scope scoping
|
|
39
40
|
- Roadmap creation with phase breakdown and success criteria
|
|
40
41
|
|
|
41
42
|
Creates all `.planning/` artifacts:
|
|
43
|
+
|
|
42
44
|
- `PROJECT.md` — vision and requirements
|
|
43
45
|
- `config.json` — workflow mode (interactive/yolo)
|
|
44
46
|
- `research/` — domain research (if selected)
|
|
@@ -46,30 +48,30 @@ Creates all `.planning/` artifacts:
|
|
|
46
48
|
- `ROADMAP.md` — phases mapped to requirements
|
|
47
49
|
- `STATE.md` — project memory
|
|
48
50
|
|
|
49
|
-
Usage:
|
|
51
|
+
Usage: `$gsd-new-project`
|
|
50
52
|
|
|
51
|
-
|
|
53
|
+
**`$gsd-map-codebase`**
|
|
52
54
|
Map an existing codebase for brownfield projects.
|
|
53
55
|
|
|
54
56
|
- Analyzes codebase with parallel Explore agents
|
|
55
57
|
- Creates `.planning/codebase/` with 7 focused documents
|
|
56
58
|
- Covers stack, architecture, structure, conventions, testing, integrations, concerns
|
|
57
|
-
- Use before
|
|
59
|
+
- Use before `$gsd-new-project` on existing codebases
|
|
58
60
|
|
|
59
|
-
Usage:
|
|
61
|
+
Usage: `$gsd-map-codebase`
|
|
60
62
|
|
|
61
63
|
### Phase Planning
|
|
62
64
|
|
|
63
|
-
|
|
65
|
+
**`$gsd-discuss-phase <number>`**
|
|
64
66
|
Help articulate your vision for a phase before planning.
|
|
65
67
|
|
|
66
68
|
- Captures how you imagine this phase working
|
|
67
69
|
- Creates CONTEXT.md with your vision, essentials, and boundaries
|
|
68
70
|
- Use when you have ideas about how something should look/feel
|
|
69
71
|
|
|
70
|
-
Usage:
|
|
72
|
+
Usage: `$gsd-discuss-phase 2`
|
|
71
73
|
|
|
72
|
-
|
|
74
|
+
**`$gsd-research-phase <number>`**
|
|
73
75
|
Comprehensive ecosystem research for niche/complex domains.
|
|
74
76
|
|
|
75
77
|
- Discovers standard stack, architecture patterns, pitfalls
|
|
@@ -77,18 +79,18 @@ Comprehensive ecosystem research for niche/complex domains.
|
|
|
77
79
|
- Use for 3D, games, audio, shaders, ML, and other specialized domains
|
|
78
80
|
- Goes beyond "which library" to ecosystem knowledge
|
|
79
81
|
|
|
80
|
-
Usage:
|
|
82
|
+
Usage: `$gsd-research-phase 3`
|
|
81
83
|
|
|
82
|
-
|
|
84
|
+
**`$gsd-list-phase-assumptions <number>`**
|
|
83
85
|
See what Codex is planning to do before it starts.
|
|
84
86
|
|
|
85
87
|
- Shows Codex's intended approach for a phase
|
|
86
88
|
- Lets you course-correct if Codex misunderstood your vision
|
|
87
89
|
- No files created - conversational output only
|
|
88
90
|
|
|
89
|
-
Usage:
|
|
91
|
+
Usage: `$gsd-list-phase-assumptions 3`
|
|
90
92
|
|
|
91
|
-
|
|
93
|
+
**`$gsd-plan-phase <number>`**
|
|
92
94
|
Create detailed execution plan for a specific phase.
|
|
93
95
|
|
|
94
96
|
- Generates `.planning/phases/XX-phase-name/XX-YY-PLAN.md`
|
|
@@ -96,14 +98,14 @@ Create detailed execution plan for a specific phase.
|
|
|
96
98
|
- Includes verification criteria and success measures
|
|
97
99
|
- Multiple plans per phase supported (XX-01, XX-02, etc.)
|
|
98
100
|
|
|
99
|
-
Usage:
|
|
101
|
+
Usage: `$gsd-plan-phase 1`
|
|
100
102
|
Result: Creates `.planning/phases/01-foundation/01-01-PLAN.md`
|
|
101
103
|
|
|
102
104
|
**PRD Express Path:** Pass `--prd path/to/requirements.md` to skip discuss-phase entirely. Your PRD becomes locked decisions in CONTEXT.md. Useful when you already have clear acceptance criteria.
|
|
103
105
|
|
|
104
106
|
### Execution
|
|
105
107
|
|
|
106
|
-
|
|
108
|
+
**`$gsd-execute-phase <phase-number>`**
|
|
107
109
|
Execute all plans in a phase.
|
|
108
110
|
|
|
109
111
|
- Groups plans by wave (from frontmatter), executes waves sequentially
|
|
@@ -111,45 +113,46 @@ Execute all plans in a phase.
|
|
|
111
113
|
- Verifies phase goal after all plans complete
|
|
112
114
|
- Updates REQUIREMENTS.md, ROADMAP.md, STATE.md
|
|
113
115
|
|
|
114
|
-
Usage:
|
|
116
|
+
Usage: `$gsd-execute-phase 5`
|
|
115
117
|
|
|
116
118
|
### Quick Mode
|
|
117
119
|
|
|
118
|
-
|
|
120
|
+
**`$gsd-quick`**
|
|
119
121
|
Execute small, ad-hoc tasks with GSD guarantees but skip optional agents.
|
|
120
122
|
|
|
121
123
|
Quick mode uses the same system with a shorter path:
|
|
124
|
+
|
|
122
125
|
- Spawns planner + executor (skips researcher, checker, verifier)
|
|
123
126
|
- Quick tasks live in `.planning/quick/` separate from planned phases
|
|
124
127
|
- Updates STATE.md tracking (not ROADMAP.md)
|
|
125
128
|
|
|
126
129
|
Use when you know exactly what to do and the task is small enough to not need research or verification.
|
|
127
130
|
|
|
128
|
-
Usage:
|
|
131
|
+
Usage: `$gsd-quick`
|
|
129
132
|
Result: Creates `.planning/quick/NNN-slug/PLAN.md`, `.planning/quick/NNN-slug/SUMMARY.md`
|
|
130
133
|
|
|
131
134
|
### Roadmap Management
|
|
132
135
|
|
|
133
|
-
|
|
136
|
+
**`$gsd-add-phase <description>`**
|
|
134
137
|
Add new phase to end of current milestone.
|
|
135
138
|
|
|
136
139
|
- Appends to ROADMAP.md
|
|
137
140
|
- Uses next sequential number
|
|
138
141
|
- Updates phase directory structure
|
|
139
142
|
|
|
140
|
-
Usage:
|
|
143
|
+
Usage: `$gsd-add-phase "Add admin dashboard"`
|
|
141
144
|
|
|
142
|
-
|
|
145
|
+
**`$gsd-insert-phase <after> <description>`**
|
|
143
146
|
Insert urgent work as decimal phase between existing phases.
|
|
144
147
|
|
|
145
148
|
- Creates intermediate phase (e.g., 7.1 between 7 and 8)
|
|
146
149
|
- Useful for discovered work that must happen mid-milestone
|
|
147
150
|
- Maintains phase ordering
|
|
148
151
|
|
|
149
|
-
Usage:
|
|
152
|
+
Usage: `$gsd-insert-phase 7 "Fix critical auth bug"`
|
|
150
153
|
Result: Creates Phase 7.1
|
|
151
154
|
|
|
152
|
-
|
|
155
|
+
**`$gsd-remove-phase <number>`**
|
|
153
156
|
Remove a future phase and renumber subsequent phases.
|
|
154
157
|
|
|
155
158
|
- Deletes phase directory and all references
|
|
@@ -157,12 +160,12 @@ Remove a future phase and renumber subsequent phases.
|
|
|
157
160
|
- Only works on future (unstarted) phases
|
|
158
161
|
- Git commit preserves historical record
|
|
159
162
|
|
|
160
|
-
Usage:
|
|
163
|
+
Usage: `$gsd-remove-phase 17`
|
|
161
164
|
Result: Phase 17 deleted, phases 18-20 become 17-19
|
|
162
165
|
|
|
163
166
|
### Milestone Management
|
|
164
167
|
|
|
165
|
-
|
|
168
|
+
**`$gsd-new-milestone <name>`**
|
|
166
169
|
Start a new milestone through unified flow.
|
|
167
170
|
|
|
168
171
|
- Deep questioning to understand what you're building next
|
|
@@ -170,11 +173,11 @@ Start a new milestone through unified flow.
|
|
|
170
173
|
- Requirements definition with scoping
|
|
171
174
|
- Roadmap creation with phase breakdown
|
|
172
175
|
|
|
173
|
-
Mirrors
|
|
176
|
+
Mirrors `$gsd-new-project` flow for brownfield projects (existing PROJECT.md).
|
|
174
177
|
|
|
175
|
-
Usage:
|
|
178
|
+
Usage: `$gsd-new-milestone "v2.0 Features"`
|
|
176
179
|
|
|
177
|
-
|
|
180
|
+
**`$gsd-complete-milestone <version>`**
|
|
178
181
|
Archive completed milestone and prepare for next version.
|
|
179
182
|
|
|
180
183
|
- Creates MILESTONES.md entry with stats
|
|
@@ -182,11 +185,11 @@ Archive completed milestone and prepare for next version.
|
|
|
182
185
|
- Creates git tag for the release
|
|
183
186
|
- Prepares workspace for next version
|
|
184
187
|
|
|
185
|
-
Usage:
|
|
188
|
+
Usage: `$gsd-complete-milestone 1.0.0`
|
|
186
189
|
|
|
187
190
|
### Progress Tracking
|
|
188
191
|
|
|
189
|
-
|
|
192
|
+
**`$gsd-progress`**
|
|
190
193
|
Check project status and intelligently route to next action.
|
|
191
194
|
|
|
192
195
|
- Shows visual progress bar and completion percentage
|
|
@@ -196,45 +199,45 @@ Check project status and intelligently route to next action.
|
|
|
196
199
|
- Offers to execute next plan or create it if missing
|
|
197
200
|
- Detects 100% milestone completion
|
|
198
201
|
|
|
199
|
-
Usage:
|
|
202
|
+
Usage: `$gsd-progress`
|
|
200
203
|
|
|
201
204
|
### Session Management
|
|
202
205
|
|
|
203
|
-
|
|
206
|
+
**`$gsd-resume-work`**
|
|
204
207
|
Resume work from previous session with full context restoration.
|
|
205
208
|
|
|
206
209
|
- Reads STATE.md for project context
|
|
207
210
|
- Shows current position and recent progress
|
|
208
211
|
- Offers next actions based on project state
|
|
209
212
|
|
|
210
|
-
Usage:
|
|
213
|
+
Usage: `$gsd-resume-work`
|
|
211
214
|
|
|
212
|
-
|
|
215
|
+
**`$gsd-pause-work`**
|
|
213
216
|
Create context handoff when pausing work mid-phase.
|
|
214
217
|
|
|
215
218
|
- Creates .continue-here file with current state
|
|
216
219
|
- Updates STATE.md session continuity section
|
|
217
220
|
- Captures in-progress work context
|
|
218
221
|
|
|
219
|
-
Usage:
|
|
222
|
+
Usage: `$gsd-pause-work`
|
|
220
223
|
|
|
221
224
|
### Debugging
|
|
222
225
|
|
|
223
|
-
|
|
226
|
+
**`$gsd-debug [issue description]`**
|
|
224
227
|
Systematic debugging with persistent state across context resets.
|
|
225
228
|
|
|
226
229
|
- Gathers symptoms through adaptive questioning
|
|
227
230
|
- Creates `.planning/debug/[slug].md` to track investigation
|
|
228
231
|
- Investigates using scientific method (evidence → hypothesis → test)
|
|
229
|
-
- Survives
|
|
232
|
+
- Survives session resets — run `$gsd-debug` with no args to resume
|
|
230
233
|
- Archives resolved issues to `.planning/debug/resolved/`
|
|
231
234
|
|
|
232
|
-
Usage:
|
|
233
|
-
Usage:
|
|
235
|
+
Usage: `$gsd-debug "login button doesn't work"`
|
|
236
|
+
Usage: `$gsd-debug` (resume active session)
|
|
234
237
|
|
|
235
238
|
### Todo Management
|
|
236
239
|
|
|
237
|
-
|
|
240
|
+
**`$gsd-add-todo [description]`**
|
|
238
241
|
Capture idea or task as todo from current conversation.
|
|
239
242
|
|
|
240
243
|
- Extracts context from conversation (or uses provided description)
|
|
@@ -243,24 +246,24 @@ Capture idea or task as todo from current conversation.
|
|
|
243
246
|
- Checks for duplicates before creating
|
|
244
247
|
- Updates STATE.md todo count
|
|
245
248
|
|
|
246
|
-
Usage:
|
|
247
|
-
Usage:
|
|
249
|
+
Usage: `$gsd-add-todo` (infers from conversation)
|
|
250
|
+
Usage: `$gsd-add-todo Add auth token refresh`
|
|
248
251
|
|
|
249
|
-
|
|
252
|
+
**`$gsd-check-todos [area]`**
|
|
250
253
|
List pending todos and select one to work on.
|
|
251
254
|
|
|
252
255
|
- Lists all pending todos with title, area, age
|
|
253
|
-
- Optional area filter (e.g.,
|
|
256
|
+
- Optional area filter (e.g., `$gsd-check-todos api`)
|
|
254
257
|
- Loads full context for selected todo
|
|
255
258
|
- Routes to appropriate action (work now, add to phase, brainstorm)
|
|
256
259
|
- Moves todo to done/ when work begins
|
|
257
260
|
|
|
258
|
-
Usage:
|
|
259
|
-
Usage:
|
|
261
|
+
Usage: `$gsd-check-todos`
|
|
262
|
+
Usage: `$gsd-check-todos api`
|
|
260
263
|
|
|
261
264
|
### User Acceptance Testing
|
|
262
265
|
|
|
263
|
-
|
|
266
|
+
**`$gsd-verify-work [phase]`**
|
|
264
267
|
Validate built features through conversational UAT.
|
|
265
268
|
|
|
266
269
|
- Extracts testable deliverables from SUMMARY.md files
|
|
@@ -268,11 +271,11 @@ Validate built features through conversational UAT.
|
|
|
268
271
|
- Automatically diagnoses failures and creates fix plans
|
|
269
272
|
- Ready for re-execution if issues found
|
|
270
273
|
|
|
271
|
-
Usage:
|
|
274
|
+
Usage: `$gsd-verify-work 3`
|
|
272
275
|
|
|
273
276
|
### Milestone Auditing
|
|
274
277
|
|
|
275
|
-
|
|
278
|
+
**`$gsd-audit-milestone [version]`**
|
|
276
279
|
Audit milestone completion against original intent.
|
|
277
280
|
|
|
278
281
|
- Reads all phase VERIFICATION.md files
|
|
@@ -280,41 +283,41 @@ Audit milestone completion against original intent.
|
|
|
280
283
|
- Spawns integration checker for cross-phase wiring
|
|
281
284
|
- Creates MILESTONE-AUDIT.md with gaps and tech debt
|
|
282
285
|
|
|
283
|
-
Usage:
|
|
286
|
+
Usage: `$gsd-audit-milestone`
|
|
284
287
|
|
|
285
|
-
|
|
288
|
+
**`$gsd-plan-milestone-gaps`**
|
|
286
289
|
Create phases to close gaps identified by audit.
|
|
287
290
|
|
|
288
291
|
- Reads MILESTONE-AUDIT.md and groups gaps into phases
|
|
289
292
|
- Prioritizes by requirement priority (must/should/nice)
|
|
290
293
|
- Adds gap closure phases to ROADMAP.md
|
|
291
|
-
- Ready for
|
|
294
|
+
- Ready for `$gsd-plan-phase` on new phases
|
|
292
295
|
|
|
293
|
-
Usage:
|
|
296
|
+
Usage: `$gsd-plan-milestone-gaps`
|
|
294
297
|
|
|
295
298
|
### Configuration
|
|
296
299
|
|
|
297
|
-
|
|
300
|
+
**`$gsd-settings`**
|
|
298
301
|
Configure workflow toggles and model profile interactively.
|
|
299
302
|
|
|
300
303
|
- Toggle researcher, plan checker, verifier agents
|
|
301
304
|
- Select model profile (quality/balanced/budget)
|
|
302
305
|
- Updates `.planning/config.json`
|
|
303
306
|
|
|
304
|
-
Usage:
|
|
307
|
+
Usage: `$gsd-settings`
|
|
305
308
|
|
|
306
|
-
|
|
309
|
+
**`$gsd-set-profile <profile>`**
|
|
307
310
|
Quick switch model profile for GSD agents.
|
|
308
311
|
|
|
309
312
|
- `quality` — Opus everywhere except verification
|
|
310
313
|
- `balanced` — Opus for planning, Sonnet for execution (default)
|
|
311
314
|
- `budget` — Sonnet for writing, Haiku for research/verification
|
|
312
315
|
|
|
313
|
-
Usage:
|
|
316
|
+
Usage: `$gsd-set-profile budget`
|
|
314
317
|
|
|
315
318
|
### Utility Commands
|
|
316
319
|
|
|
317
|
-
|
|
320
|
+
**`$gsd-cleanup`**
|
|
318
321
|
Archive accumulated phase directories from completed milestones.
|
|
319
322
|
|
|
320
323
|
- Identifies phases from completed milestones still in `.planning/phases/`
|
|
@@ -322,12 +325,12 @@ Archive accumulated phase directories from completed milestones.
|
|
|
322
325
|
- Moves phase dirs to `.planning/milestones/v{X.Y}-phases/`
|
|
323
326
|
- Use after multiple milestones to reduce `.planning/phases/` clutter
|
|
324
327
|
|
|
325
|
-
Usage:
|
|
328
|
+
Usage: `$gsd-cleanup`
|
|
326
329
|
|
|
327
|
-
|
|
330
|
+
**`$gsd-help`**
|
|
328
331
|
Show this command reference.
|
|
329
332
|
|
|
330
|
-
|
|
333
|
+
**`$gsd-update`**
|
|
331
334
|
Update GSD to latest version with changelog preview.
|
|
332
335
|
|
|
333
336
|
- Shows installed vs latest version comparison
|
|
@@ -336,15 +339,15 @@ Update GSD to latest version with changelog preview.
|
|
|
336
339
|
- Confirms before running install
|
|
337
340
|
- Better than raw `npx get-shit-done-cc`
|
|
338
341
|
|
|
339
|
-
Usage:
|
|
342
|
+
Usage: `$gsd-update`
|
|
340
343
|
|
|
341
|
-
|
|
344
|
+
**`$gsd-join-discord`**
|
|
342
345
|
Join the GSD Discord community.
|
|
343
346
|
|
|
344
347
|
- Get help, share what you're building, stay updated
|
|
345
348
|
- Connect with other GSD users
|
|
346
349
|
|
|
347
|
-
Usage:
|
|
350
|
+
Usage: `$gsd-join-discord`
|
|
348
351
|
|
|
349
352
|
## Files & Structure
|
|
350
353
|
|
|
@@ -363,7 +366,7 @@ Usage: `/gsd:join-discord`
|
|
|
363
366
|
├── milestones/
|
|
364
367
|
│ ├── v1.0-ROADMAP.md # Archived roadmap snapshot
|
|
365
368
|
│ ├── v1.0-REQUIREMENTS.md # Archived requirements
|
|
366
|
-
│ └── v1.0-phases/ # Archived phase dirs (via
|
|
369
|
+
│ └── v1.0-phases/ # Archived phase dirs (via $gsd-cleanup or --archive-phases)
|
|
367
370
|
│ ├── 01-foundation/
|
|
368
371
|
│ └── 02-core-features/
|
|
369
372
|
├── codebase/ # Codebase map (brownfield projects)
|
|
@@ -385,7 +388,7 @@ Usage: `/gsd:join-discord`
|
|
|
385
388
|
|
|
386
389
|
## Workflow Modes
|
|
387
390
|
|
|
388
|
-
Set during
|
|
391
|
+
Set during `$gsd-new-project`:
|
|
389
392
|
|
|
390
393
|
**Interactive Mode**
|
|
391
394
|
|
|
@@ -406,19 +409,23 @@ Change anytime by editing `.planning/config.json`
|
|
|
406
409
|
Configure how planning artifacts are managed in `.planning/config.json`:
|
|
407
410
|
|
|
408
411
|
**`planning.commit_docs`** (default: `true`)
|
|
412
|
+
|
|
409
413
|
- `true`: Planning artifacts committed to git (standard workflow)
|
|
410
414
|
- `false`: Planning artifacts kept local-only, not committed
|
|
411
415
|
|
|
412
416
|
When `commit_docs: false`:
|
|
417
|
+
|
|
413
418
|
- Add `.planning/` to your `.gitignore`
|
|
414
419
|
- Useful for OSS contributions, client projects, or keeping planning private
|
|
415
420
|
- All planning files still work normally, just not tracked in git
|
|
416
421
|
|
|
417
422
|
**`planning.search_gitignored`** (default: `false`)
|
|
423
|
+
|
|
418
424
|
- `true`: Add `--no-ignore` to broad ripgrep searches
|
|
419
425
|
- Only needed when `.planning/` is gitignored and you want project-wide searches to include it
|
|
420
426
|
|
|
421
427
|
Example config:
|
|
428
|
+
|
|
422
429
|
```json
|
|
423
430
|
{
|
|
424
431
|
"planning": {
|
|
@@ -433,51 +440,51 @@ Example config:
|
|
|
433
440
|
**Starting a new project:**
|
|
434
441
|
|
|
435
442
|
```
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
443
|
+
$gsd-new-project # Unified flow: questioning → research → requirements → roadmap
|
|
444
|
+
# start a new session
|
|
445
|
+
$gsd-plan-phase 1 # Create plans for first phase
|
|
446
|
+
# start a new session
|
|
447
|
+
$gsd-execute-phase 1 # Execute all plans in phase
|
|
441
448
|
```
|
|
442
449
|
|
|
443
450
|
**Resuming work after a break:**
|
|
444
451
|
|
|
445
452
|
```
|
|
446
|
-
|
|
453
|
+
$gsd-progress # See where you left off and continue
|
|
447
454
|
```
|
|
448
455
|
|
|
449
456
|
**Adding urgent mid-milestone work:**
|
|
450
457
|
|
|
451
458
|
```
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
459
|
+
$gsd-insert-phase 5 "Critical security fix"
|
|
460
|
+
$gsd-plan-phase 5.1
|
|
461
|
+
$gsd-execute-phase 5.1
|
|
455
462
|
```
|
|
456
463
|
|
|
457
464
|
**Completing a milestone:**
|
|
458
465
|
|
|
459
466
|
```
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
467
|
+
$gsd-complete-milestone 1.0.0
|
|
468
|
+
# start a new session
|
|
469
|
+
$gsd-new-milestone # Start next milestone (questioning → research → requirements → roadmap)
|
|
463
470
|
```
|
|
464
471
|
|
|
465
472
|
**Capturing ideas during work:**
|
|
466
473
|
|
|
467
474
|
```
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
475
|
+
$gsd-add-todo # Capture from conversation context
|
|
476
|
+
$gsd-add-todo Fix modal z-index # Capture with explicit description
|
|
477
|
+
$gsd-check-todos # Review and work on todos
|
|
478
|
+
$gsd-check-todos api # Filter by area
|
|
472
479
|
```
|
|
473
480
|
|
|
474
481
|
**Debugging an issue:**
|
|
475
482
|
|
|
476
483
|
```
|
|
477
|
-
|
|
484
|
+
$gsd-debug "form submission fails silently" # Start debug session
|
|
478
485
|
# ... investigation happens, context fills up ...
|
|
479
|
-
|
|
480
|
-
|
|
486
|
+
# start a new session
|
|
487
|
+
$gsd-debug # Resume from where you left off
|
|
481
488
|
```
|
|
482
489
|
|
|
483
490
|
## Getting Help
|
|
@@ -485,5 +492,5 @@ Example config:
|
|
|
485
492
|
- Read `.planning/PROJECT.md` for project vision
|
|
486
493
|
- Read `.planning/STATE.md` for current context
|
|
487
494
|
- Check `.planning/ROADMAP.md` for phase status
|
|
488
|
-
- Run
|
|
489
|
-
</reference>
|
|
495
|
+
- Run `$gsd-progress` to check where you're up to
|
|
496
|
+
</reference>
|