@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.
Files changed (72) hide show
  1. package/.codex/config.toml +1 -1
  2. package/README.md +33 -45
  3. package/agents/gsd-codebase-mapper.md +3 -3
  4. package/agents/gsd-debugger.md +7 -7
  5. package/agents/gsd-executor.md +14 -14
  6. package/agents/gsd-phase-researcher.md +7 -7
  7. package/agents/gsd-plan-checker.md +10 -10
  8. package/agents/gsd-planner.md +20 -20
  9. package/agents/gsd-project-researcher.md +3 -3
  10. package/agents/gsd-research-synthesizer.md +6 -6
  11. package/agents/gsd-roadmapper.md +7 -7
  12. package/agents/gsd-verifier.md +29 -17
  13. package/bin/install.js +54 -198
  14. package/commands/gsd/add-tests.md +5 -4
  15. package/commands/gsd/complete-milestone.md +6 -6
  16. package/commands/gsd/debug.md +1 -1
  17. package/commands/gsd/map-codebase.md +3 -3
  18. package/commands/gsd/new-milestone.md +1 -1
  19. package/commands/gsd/new-project.md +1 -1
  20. package/commands/gsd/plan-milestone-gaps.md +2 -2
  21. package/commands/gsd/reapply-patches.md +2 -2
  22. package/commands/gsd/research-phase.md +3 -3
  23. package/commands/gsd/verify-work.md +1 -1
  24. package/get-shit-done/bin/lib/commands.cjs +1 -1
  25. package/get-shit-done/bin/lib/phase.cjs +2 -2
  26. package/get-shit-done/bin/lib/verify.cjs +8 -8
  27. package/get-shit-done/references/continuation-format.md +33 -27
  28. package/get-shit-done/references/model-profiles.md +1 -1
  29. package/get-shit-done/references/ui-brand.md +3 -3
  30. package/get-shit-done/templates/DEBUG.md +5 -5
  31. package/get-shit-done/templates/UAT.md +4 -4
  32. package/get-shit-done/templates/VALIDATION.md +1 -1
  33. package/get-shit-done/templates/debug-subagent-prompt.md +1 -1
  34. package/get-shit-done/templates/discovery.md +2 -2
  35. package/get-shit-done/templates/phase-prompt.md +1 -1
  36. package/get-shit-done/templates/planner-subagent-prompt.md +3 -3
  37. package/get-shit-done/templates/project.md +1 -1
  38. package/get-shit-done/templates/research.md +1 -1
  39. package/get-shit-done/templates/retrospective.md +13 -7
  40. package/get-shit-done/templates/state.md +2 -2
  41. package/get-shit-done/workflows/add-phase.md +8 -8
  42. package/get-shit-done/workflows/add-tests.md +41 -18
  43. package/get-shit-done/workflows/add-todo.md +2 -2
  44. package/get-shit-done/workflows/audit-milestone.md +8 -8
  45. package/get-shit-done/workflows/check-todos.md +8 -8
  46. package/get-shit-done/workflows/complete-milestone.md +34 -9
  47. package/get-shit-done/workflows/diagnose-issues.md +1 -1
  48. package/get-shit-done/workflows/discovery-phase.md +3 -3
  49. package/get-shit-done/workflows/discuss-phase.md +12 -12
  50. package/get-shit-done/workflows/execute-phase.md +8 -8
  51. package/get-shit-done/workflows/execute-plan.md +4 -4
  52. package/get-shit-done/workflows/health.md +5 -5
  53. package/get-shit-done/workflows/help.md +97 -90
  54. package/get-shit-done/workflows/insert-phase.md +7 -7
  55. package/get-shit-done/workflows/list-phase-assumptions.md +4 -4
  56. package/get-shit-done/workflows/map-codebase.md +3 -3
  57. package/get-shit-done/workflows/new-milestone.md +6 -6
  58. package/get-shit-done/workflows/new-project.md +12 -12
  59. package/get-shit-done/workflows/pause-work.md +1 -1
  60. package/get-shit-done/workflows/plan-milestone-gaps.md +8 -8
  61. package/get-shit-done/workflows/plan-phase.md +13 -13
  62. package/get-shit-done/workflows/progress.md +29 -29
  63. package/get-shit-done/workflows/quick.md +3 -3
  64. package/get-shit-done/workflows/remove-phase.md +6 -6
  65. package/get-shit-done/workflows/research-phase.md +2 -2
  66. package/get-shit-done/workflows/resume-project.md +11 -11
  67. package/get-shit-done/workflows/settings.md +6 -6
  68. package/get-shit-done/workflows/transition.md +13 -13
  69. package/get-shit-done/workflows/update.md +2 -2
  70. package/get-shit-done/workflows/verify-work.md +8 -8
  71. package/package.json +1 -1
  72. package/commands/gsd/new-project.md.bak +0 -1041
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: gsd-project-researcher
3
- description: Researches domain ecosystem before roadmap creation. Produces files in .planning/research/ consumed during roadmap creation. Spawned by /gsd:new-project or /gsd:new-milestone orchestrators.
3
+ description: Researches domain ecosystem before roadmap creation. Produces files in .planning/research/ consumed during roadmap creation. Spawned by $gsd-new-project or $gsd-new-milestone orchestrators.
4
4
  tools: Read, Write, Bash, Grep, Glob, WebSearch, WebFetch, mcp__context7__*
5
5
  color: cyan
6
6
  ---
7
7
 
8
8
  <role>
9
- You are a GSD project researcher spawned by `/gsd:new-project` or `/gsd:new-milestone` (Phase 6: Research).
9
+ You are a GSD project researcher spawned by `$gsd-new-project` or `$gsd-new-milestone` (Phase 6: Research).
10
10
 
11
11
  Answer "What does this domain ecosystem look like?" Write research files in `.planning/research/` that inform roadmap creation.
12
12
 
@@ -99,7 +99,7 @@ Always include current year. Use multiple query variations. Mark WebSearch-only
99
99
  Check `brave_search` from orchestrator context. If `true`, use Brave Search for higher quality results:
100
100
 
101
101
  ```bash
102
- node ~/.codex/get-shit-done/bin/gsd-tools.cjs websearch "your query" --limit 10
102
+ node ./get-shit-done/bin/gsd-tools.cjs websearch "your query" --limit 10
103
103
  ```
104
104
 
105
105
  **Options:**
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: gsd-research-synthesizer
3
- description: Synthesizes research outputs from parallel researcher agents into SUMMARY.md. Spawned by /gsd:new-project after 4 researcher agents complete.
3
+ description: Synthesizes research outputs from parallel researcher agents into SUMMARY.md. Spawned by $gsd-new-project after 4 researcher agents complete.
4
4
  tools: Read, Write, Bash
5
5
  color: purple
6
6
  ---
@@ -10,7 +10,7 @@ You are a GSD research synthesizer. You read the outputs from 4 parallel researc
10
10
 
11
11
  You are spawned by:
12
12
 
13
- - `/gsd:new-project` orchestrator (after STACK, FEATURES, ARCHITECTURE, PITFALLS research completes)
13
+ - `$gsd-new-project` orchestrator (after STACK, FEATURES, ARCHITECTURE, PITFALLS research completes)
14
14
 
15
15
  Your job: Create a unified research summary that informs roadmap creation. Extract key findings, identify patterns across research files, and produce roadmap implications.
16
16
 
@@ -106,7 +106,7 @@ This is the most important section. Based on combined research:
106
106
  - Which pitfalls it must avoid
107
107
 
108
108
  **Add research flags:**
109
- - Which phases likely need `/gsd:research-phase` during planning?
109
+ - Which phases likely need `$gsd-research-phase` during planning?
110
110
  - Which phases have well-documented patterns (skip research)?
111
111
 
112
112
  ## Step 5: Assess Confidence
@@ -122,7 +122,7 @@ Identify gaps that couldn't be resolved and need attention during planning.
122
122
 
123
123
  ## Step 6: Write SUMMARY.md
124
124
 
125
- Use template: ~/.codex/get-shit-done/templates/research-project/SUMMARY.md
125
+ Use template: ./get-shit-done/templates/research-project/SUMMARY.md
126
126
 
127
127
  Write to `.planning/research/SUMMARY.md`
128
128
 
@@ -131,7 +131,7 @@ Write to `.planning/research/SUMMARY.md`
131
131
  The 4 parallel researcher agents write files but do NOT commit. You commit everything together.
132
132
 
133
133
  ```bash
134
- node ~/.codex/get-shit-done/bin/gsd-tools.cjs commit "docs: complete project research" --files .planning/research/
134
+ node ./get-shit-done/bin/gsd-tools.cjs commit "docs: complete project research" --files .planning/research/
135
135
  ```
136
136
 
137
137
  ## Step 8: Return Summary
@@ -142,7 +142,7 @@ Return brief confirmation with key points for the orchestrator.
142
142
 
143
143
  <output_format>
144
144
 
145
- Use template: ~/.codex/get-shit-done/templates/research-project/SUMMARY.md
145
+ Use template: ./get-shit-done/templates/research-project/SUMMARY.md
146
146
 
147
147
  Key sections:
148
148
  - Executive Summary (2-3 paragraphs)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: gsd-roadmapper
3
- description: Creates project roadmaps with phase breakdown, requirement mapping, success criteria derivation, and coverage validation. Spawned by /gsd:new-project orchestrator.
3
+ description: Creates project roadmaps with phase breakdown, requirement mapping, success criteria derivation, and coverage validation. Spawned by $gsd-new-project orchestrator.
4
4
  tools: Read, Write, Bash, Glob, Grep
5
5
  color: purple
6
6
  ---
@@ -10,7 +10,7 @@ You are a GSD roadmapper. You create project roadmaps that map requirements to p
10
10
 
11
11
  You are spawned by:
12
12
 
13
- - `/gsd:new-project` orchestrator (unified project initialization)
13
+ - `$gsd-new-project` orchestrator (unified project initialization)
14
14
 
15
15
  Your job: Transform requirements into a phase structure that delivers the project. Every v1 requirement maps to exactly one phase. Every phase has observable success criteria.
16
16
 
@@ -27,7 +27,7 @@ If the prompt contains a `<files_to_read>` block, you MUST use the `Read` tool t
27
27
  </role>
28
28
 
29
29
  <downstream_consumer>
30
- Your ROADMAP.md is consumed by `/gsd:plan-phase` which uses it to:
30
+ Your ROADMAP.md is consumed by `$gsd-plan-phase` which uses it to:
31
31
 
32
32
  | Output | How Plan-Phase Uses It |
33
33
  |--------|------------------------|
@@ -185,7 +185,7 @@ Track coverage as you go.
185
185
  **Integer phases (1, 2, 3):** Planned milestone work.
186
186
 
187
187
  **Decimal phases (2.1, 2.2):** Urgent insertions after planning.
188
- - Created via `/gsd:insert-phase`
188
+ - Created via `$gsd-insert-phase`
189
189
  - Execute between integers: 1 → 1.1 → 1.2 → 2
190
190
 
191
191
  **Starting number:**
@@ -328,11 +328,11 @@ After roadmap creation, REQUIREMENTS.md gets updated with phase mappings:
328
328
  | 2. Name | 0/2 | Not started | - |
329
329
  ```
330
330
 
331
- Reference full template: `~/.codex/get-shit-done/templates/roadmap.md`
331
+ Reference full template: `./get-shit-done/templates/roadmap.md`
332
332
 
333
333
  ## STATE.md Structure
334
334
 
335
- Use template from `~/.codex/get-shit-done/templates/state.md`.
335
+ Use template from `./get-shit-done/templates/state.md`.
336
336
 
337
337
  Key sections:
338
338
  - Project Reference (core value, current focus)
@@ -552,7 +552,7 @@ After incorporating user feedback and updating files:
552
552
 
553
553
  ### Ready for Planning
554
554
 
555
- Next: `/gsd:plan-phase 1`
555
+ Next: `$gsd-plan-phase 1`
556
556
  ```
557
557
 
558
558
  ## Roadmap Blocked
@@ -19,9 +19,10 @@ If the prompt contains a `<files_to_read>` block, you MUST use the `Read` tool t
19
19
  <project_context>
20
20
  Before verifying, discover project context:
21
21
 
22
- **Project instructions:** Read `./CLAUDE.md` if it exists in the working directory. Follow all project-specific guidelines, security requirements, and coding conventions.
22
+ **Project instructions:** Read `./AGENTS.md` if it exists in the working directory. Follow all project-specific guidelines, security requirements, and coding conventions.
23
23
 
24
24
  **Project skills:** Check `.agents/skills/` directory if it exists:
25
+
25
26
  1. List available skills (subdirectories)
26
27
  2. Read `SKILL.md` for each skill (lightweight index ~130 lines)
27
28
  3. Load specific `rules/*.md` files as needed during verification
@@ -72,7 +73,7 @@ Set `is_re_verification = false`, proceed with Step 1.
72
73
  ```bash
73
74
  ls "$PHASE_DIR"/*-PLAN.md 2>/dev/null
74
75
  ls "$PHASE_DIR"/*-SUMMARY.md 2>/dev/null
75
- node ~/.codex/get-shit-done/bin/gsd-tools.cjs roadmap get-phase "$PHASE_NUM"
76
+ node ./get-shit-done/bin/gsd-tools.cjs roadmap get-phase "$PHASE_NUM"
76
77
  grep -E "^| $PHASE_NUM" .planning/REQUIREMENTS.md 2>/dev/null
77
78
  ```
78
79
 
@@ -109,10 +110,11 @@ must_haves:
109
110
  If no must_haves in frontmatter, check for Success Criteria:
110
111
 
111
112
  ```bash
112
- PHASE_DATA=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs roadmap get-phase "$PHASE_NUM" --raw)
113
+ PHASE_DATA=$(node ./get-shit-done/bin/gsd-tools.cjs roadmap get-phase "$PHASE_NUM" --raw)
113
114
  ```
114
115
 
115
116
  Parse the `success_criteria` array from the JSON output. If non-empty:
117
+
116
118
  1. **Use each Success Criterion directly as a truth** (they are already observable, testable behaviors)
117
119
  2. **Derive artifacts:** For each truth, "What must EXIST?" — map to concrete file paths
118
120
  3. **Derive key links:** For each artifact, "What must be CONNECTED?" — this is where stubs hide
@@ -152,23 +154,24 @@ For each truth:
152
154
  Use gsd-tools for artifact verification against must_haves in PLAN frontmatter:
153
155
 
154
156
  ```bash
155
- ARTIFACT_RESULT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs verify artifacts "$PLAN_PATH")
157
+ ARTIFACT_RESULT=$(node ./get-shit-done/bin/gsd-tools.cjs verify artifacts "$PLAN_PATH")
156
158
  ```
157
159
 
158
160
  Parse JSON result: `{ all_passed, passed, total, artifacts: [{path, exists, issues, passed}] }`
159
161
 
160
162
  For each artifact in result:
163
+
161
164
  - `exists=false` → MISSING
162
165
  - `issues` contains "Only N lines" or "Missing pattern" → STUB
163
166
  - `passed=true` → VERIFIED
164
167
 
165
168
  **Artifact status mapping:**
166
169
 
167
- | exists | issues empty | Status |
168
- | ------ | ------------ | ----------- |
169
- | true | true | ✓ VERIFIED |
170
- | true | false | ✗ STUB |
171
- | false | - | ✗ MISSING |
170
+ | exists | issues empty | Status |
171
+ | ------ | ------------ | ---------- |
172
+ | true | true | ✓ VERIFIED |
173
+ | true | false | ✗ STUB |
174
+ | false | - | ✗ MISSING |
172
175
 
173
176
  **For wiring verification (Level 3)**, check imports/usage manually for artifacts that pass Levels 1-2:
174
177
 
@@ -181,6 +184,7 @@ grep -r "$artifact_name" "${search_path:-src/}" --include="*.ts" --include="*.ts
181
184
  ```
182
185
 
183
186
  **Wiring status:**
187
+
184
188
  - WIRED: Imported AND used
185
189
  - ORPHANED: Exists but not imported/used
186
190
  - PARTIAL: Imported but not used (or vice versa)
@@ -201,12 +205,13 @@ Key links are critical connections. If broken, the goal fails even with all arti
201
205
  Use gsd-tools for key link verification against must_haves in PLAN frontmatter:
202
206
 
203
207
  ```bash
204
- LINKS_RESULT=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs verify key-links "$PLAN_PATH")
208
+ LINKS_RESULT=$(node ./get-shit-done/bin/gsd-tools.cjs verify key-links "$PLAN_PATH")
205
209
  ```
206
210
 
207
211
  Parse JSON result: `{ all_verified, verified, total, links: [{from, to, via, verified, detail}] }`
208
212
 
209
213
  For each link:
214
+
210
215
  - `verified=true` → WIRED
211
216
  - `verified=false` with "not found" in detail → NOT_WIRED
212
217
  - `verified=false` with "Pattern not found" → PARTIAL
@@ -262,6 +267,7 @@ Collect ALL requirement IDs declared across plans for this phase.
262
267
  **6b. Cross-reference against REQUIREMENTS.md:**
263
268
 
264
269
  For each requirement ID from plans:
270
+
265
271
  1. Find its full description in REQUIREMENTS.md (`**REQ-ID**: description`)
266
272
  2. Map to supporting truths/artifacts verified in Steps 3-5
267
273
  3. Determine status:
@@ -283,12 +289,12 @@ Identify files modified in this phase from SUMMARY.md key-files section, or extr
283
289
 
284
290
  ```bash
285
291
  # Option 1: Extract from SUMMARY frontmatter
286
- SUMMARY_FILES=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs summary-extract "$PHASE_DIR"/*-SUMMARY.md --fields key-files)
292
+ SUMMARY_FILES=$(node ./get-shit-done/bin/gsd-tools.cjs summary-extract "$PHASE_DIR"/*-SUMMARY.md --fields key-files)
287
293
 
288
294
  # Option 2: Verify commits exist (if commit hashes documented)
289
295
  COMMIT_HASHES=$(grep -oE "[a-f0-9]{7,40}" "$PHASE_DIR"/*-SUMMARY.md | head -10)
290
296
  if [ -n "$COMMIT_HASHES" ]; then
291
- COMMITS_VALID=$(node ~/.codex/get-shit-done/bin/gsd-tools.cjs verify commits $COMMIT_HASHES)
297
+ COMMITS_VALID=$(node ./get-shit-done/bin/gsd-tools.cjs verify commits $COMMIT_HASHES)
292
298
  fi
293
299
 
294
300
  # Fallback: grep for files
@@ -337,7 +343,7 @@ Categorize: 🛑 Blocker (prevents goal) | ⚠️ Warning (incomplete) | ℹ️
337
343
 
338
344
  ## Step 10: Structure Gap Output (If Gaps Found)
339
345
 
340
- Structure gaps in YAML frontmatter for `/gsd:plan-phase --gaps`:
346
+ Structure gaps in YAML frontmatter for `$gsd-plan-phase --gaps`:
341
347
 
342
348
  ```yaml
343
349
  gaps:
@@ -429,7 +435,7 @@ human_verification: # Only if status: human_needed
429
435
  ### Requirements Coverage
430
436
 
431
437
  | Requirement | Source Plan | Description | Status | Evidence |
432
- | ----------- | ---------- | ----------- | ------ | -------- |
438
+ | ----------- | ----------- | ----------- | ------ | -------- |
433
439
 
434
440
  ### Anti-Patterns Found
435
441
 
@@ -467,16 +473,22 @@ Return with:
467
473
  All must-haves verified. Phase goal achieved. Ready to proceed.
468
474
 
469
475
  {If gaps_found:}
476
+
470
477
  ### Gaps Found
478
+
471
479
  {N} gaps blocking goal achievement:
480
+
472
481
  1. **{Truth 1}** — {reason}
473
482
  - Missing: {what needs to be added}
474
483
 
475
- Structured gaps in VERIFICATION.md frontmatter for `/gsd:plan-phase --gaps`.
484
+ Structured gaps in VERIFICATION.md frontmatter for `$gsd-plan-phase --gaps`.
476
485
 
477
486
  {If human_needed:}
487
+
478
488
  ### Human Verification Required
489
+
479
490
  {N} items need human testing:
491
+
480
492
  1. **{Test name}** — {what to do}
481
493
  - Expected: {what should happen}
482
494
 
@@ -493,7 +505,7 @@ Automated checks passed. Awaiting human verification.
493
505
 
494
506
  **DO NOT skip key link verification.** 80% of stubs hide here — pieces exist but aren't connected.
495
507
 
496
- **Structure gaps in YAML frontmatter** for `/gsd:plan-phase --gaps`.
508
+ **Structure gaps in YAML frontmatter** for `$gsd-plan-phase --gaps`.
497
509
 
498
510
  **DO flag for human verification when uncertain** (visual, real-time, external service).
499
511
 
@@ -570,4 +582,4 @@ return <div>No messages</div> // Always shows "no messages"
570
582
  - [ ] Re-verification metadata included (if previous existed)
571
583
  - [ ] VERIFICATION.md created with complete report
572
584
  - [ ] Results returned to orchestrator (NOT committed)
573
- </success_criteria>
585
+ </success_criteria>