@undeemed/get-shit-done-codex 1.6.11 → 1.20.2

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 (104) hide show
  1. package/README.md +22 -3
  2. package/agents/gsd-codebase-mapper.md +761 -0
  3. package/agents/gsd-debugger.md +1198 -0
  4. package/agents/gsd-executor.md +419 -0
  5. package/agents/gsd-integration-checker.md +423 -0
  6. package/agents/gsd-phase-researcher.md +469 -0
  7. package/agents/gsd-plan-checker.md +622 -0
  8. package/agents/gsd-planner.md +1159 -0
  9. package/agents/gsd-project-researcher.md +618 -0
  10. package/agents/gsd-research-synthesizer.md +236 -0
  11. package/agents/gsd-roadmapper.md +639 -0
  12. package/agents/gsd-verifier.md +541 -0
  13. package/bin/install.js +106 -100
  14. package/commands/gsd/add-phase.md +17 -185
  15. package/commands/gsd/add-todo.md +23 -163
  16. package/commands/gsd/audit-milestone.md +3 -219
  17. package/commands/gsd/check-todos.md +20 -196
  18. package/commands/gsd/cleanup.md +18 -0
  19. package/commands/gsd/debug.md +13 -0
  20. package/commands/gsd/discuss-phase.md +10 -3
  21. package/commands/gsd/execute-phase.md +3 -265
  22. package/commands/gsd/health.md +22 -0
  23. package/commands/gsd/help.md +8 -369
  24. package/commands/gsd/insert-phase.md +9 -203
  25. package/commands/gsd/join-discord.md +18 -0
  26. package/commands/gsd/new-milestone.md +12 -678
  27. package/commands/gsd/new-project.md +8 -862
  28. package/commands/gsd/new-project.md.bak +1041 -0
  29. package/commands/gsd/pause-work.md +17 -105
  30. package/commands/gsd/plan-milestone-gaps.md +3 -247
  31. package/commands/gsd/plan-phase.md +13 -444
  32. package/commands/gsd/progress.md +5 -337
  33. package/commands/gsd/quick.md +40 -0
  34. package/commands/gsd/reapply-patches.md +110 -0
  35. package/commands/gsd/remove-phase.md +9 -315
  36. package/commands/gsd/research-phase.md +26 -19
  37. package/commands/gsd/set-profile.md +34 -0
  38. package/commands/gsd/settings.md +36 -0
  39. package/commands/gsd/update.md +25 -160
  40. package/commands/gsd/verify-work.md +3 -183
  41. package/get-shit-done/bin/gsd-tools.cjs +5243 -0
  42. package/get-shit-done/bin/gsd-tools.test.cjs +2273 -0
  43. package/get-shit-done/references/checkpoints.md +254 -267
  44. package/get-shit-done/references/decimal-phase-calculation.md +65 -0
  45. package/get-shit-done/references/git-integration.md +3 -9
  46. package/get-shit-done/references/git-planning-commit.md +38 -0
  47. package/get-shit-done/references/model-profile-resolution.md +34 -0
  48. package/get-shit-done/references/model-profiles.md +92 -0
  49. package/get-shit-done/references/phase-argument-parsing.md +61 -0
  50. package/get-shit-done/references/planning-config.md +196 -0
  51. package/get-shit-done/references/questioning.md +4 -0
  52. package/get-shit-done/references/verification-patterns.md +17 -0
  53. package/get-shit-done/templates/UAT.md +1 -1
  54. package/get-shit-done/templates/codebase/structure.md +3 -3
  55. package/get-shit-done/templates/config.json +10 -0
  56. package/get-shit-done/templates/context.md +2 -10
  57. package/get-shit-done/templates/phase-prompt.md +18 -27
  58. package/get-shit-done/templates/planner-subagent-prompt.md +4 -4
  59. package/get-shit-done/templates/research-project/ARCHITECTURE.md +1 -1
  60. package/get-shit-done/templates/research.md +25 -2
  61. package/get-shit-done/templates/state.md +0 -30
  62. package/get-shit-done/templates/summary-complex.md +59 -0
  63. package/get-shit-done/templates/summary-minimal.md +41 -0
  64. package/get-shit-done/templates/summary-standard.md +48 -0
  65. package/get-shit-done/templates/summary.md +5 -28
  66. package/get-shit-done/templates/user-setup.md +1 -13
  67. package/get-shit-done/templates/verification-report.md +1 -1
  68. package/get-shit-done/workflows/add-phase.md +111 -0
  69. package/get-shit-done/workflows/add-todo.md +157 -0
  70. package/get-shit-done/workflows/audit-milestone.md +242 -0
  71. package/get-shit-done/workflows/check-todos.md +176 -0
  72. package/get-shit-done/workflows/cleanup.md +152 -0
  73. package/get-shit-done/workflows/complete-milestone.md +225 -301
  74. package/get-shit-done/workflows/diagnose-issues.md +3 -17
  75. package/get-shit-done/workflows/discovery-phase.md +6 -10
  76. package/get-shit-done/workflows/discuss-phase.md +99 -36
  77. package/get-shit-done/workflows/execute-phase.md +205 -349
  78. package/get-shit-done/workflows/execute-plan.md +179 -1569
  79. package/get-shit-done/workflows/health.md +156 -0
  80. package/get-shit-done/workflows/help.md +486 -0
  81. package/get-shit-done/workflows/insert-phase.md +129 -0
  82. package/get-shit-done/workflows/list-phase-assumptions.md +2 -2
  83. package/get-shit-done/workflows/map-codebase.md +55 -17
  84. package/get-shit-done/workflows/new-milestone.md +373 -0
  85. package/get-shit-done/workflows/new-project.md +1113 -0
  86. package/get-shit-done/workflows/pause-work.md +122 -0
  87. package/get-shit-done/workflows/plan-milestone-gaps.md +256 -0
  88. package/get-shit-done/workflows/plan-phase.md +448 -0
  89. package/get-shit-done/workflows/progress.md +393 -0
  90. package/get-shit-done/workflows/quick.md +444 -0
  91. package/get-shit-done/workflows/remove-phase.md +154 -0
  92. package/get-shit-done/workflows/research-phase.md +74 -0
  93. package/get-shit-done/workflows/resume-project.md +18 -23
  94. package/get-shit-done/workflows/set-profile.md +80 -0
  95. package/get-shit-done/workflows/settings.md +200 -0
  96. package/get-shit-done/workflows/transition.md +78 -103
  97. package/get-shit-done/workflows/update.md +214 -0
  98. package/get-shit-done/workflows/verify-phase.md +107 -494
  99. package/get-shit-done/workflows/verify-work.md +18 -11
  100. package/hooks/dist/gsd-check-update.js +66 -0
  101. package/hooks/dist/gsd-statusline.js +91 -0
  102. package/package.json +19 -3
  103. package/scripts/build-hooks.js +42 -0
  104. package/commands/gsd/whats-new.md +0 -124
@@ -0,0 +1,214 @@
1
+ <purpose>
2
+ Check for GSD updates via npm, display changelog for versions between installed and latest, obtain user confirmation, and execute clean installation with cache clearing.
3
+ </purpose>
4
+
5
+ <required_reading>
6
+ Read all files referenced by the invoking prompt's execution_context before starting.
7
+ </required_reading>
8
+
9
+ <process>
10
+
11
+ <step name="get_installed_version">
12
+ Detect whether GSD is installed locally or globally by checking both locations:
13
+
14
+ ```bash
15
+ # Check local first (takes priority)
16
+ # Paths templated at install time for runtime compatibility
17
+ if [ -f ./.claude/get-shit-done/VERSION ]; then
18
+ cat ./.claude/get-shit-done/VERSION
19
+ echo "LOCAL"
20
+ elif [ -f ~/.claude/get-shit-done/VERSION ]; then
21
+ cat ~/.claude/get-shit-done/VERSION
22
+ echo "GLOBAL"
23
+ else
24
+ echo "UNKNOWN"
25
+ fi
26
+ ```
27
+
28
+ Parse output:
29
+ - If last line is "LOCAL": installed version is first line, use `--local` flag for update
30
+ - If last line is "GLOBAL": installed version is first line, use `--global` flag for update
31
+ - If "UNKNOWN": proceed to install step (treat as version 0.0.0)
32
+
33
+ **If VERSION file missing:**
34
+ ```
35
+ ## GSD Update
36
+
37
+ **Installed version:** Unknown
38
+
39
+ Your installation doesn't include version tracking.
40
+
41
+ Running fresh install...
42
+ ```
43
+
44
+ Proceed to install step (treat as version 0.0.0 for comparison).
45
+ </step>
46
+
47
+ <step name="check_latest_version">
48
+ Check npm for latest version:
49
+
50
+ ```bash
51
+ npm view get-shit-done-cc version 2>/dev/null
52
+ ```
53
+
54
+ **If npm check fails:**
55
+ ```
56
+ Couldn't check for updates (offline or npm unavailable).
57
+
58
+ To update manually: `npx get-shit-done-cc --global`
59
+ ```
60
+
61
+ Exit.
62
+ </step>
63
+
64
+ <step name="compare_versions">
65
+ Compare installed vs latest:
66
+
67
+ **If installed == latest:**
68
+ ```
69
+ ## GSD Update
70
+
71
+ **Installed:** X.Y.Z
72
+ **Latest:** X.Y.Z
73
+
74
+ You're already on the latest version.
75
+ ```
76
+
77
+ Exit.
78
+
79
+ **If installed > latest:**
80
+ ```
81
+ ## GSD Update
82
+
83
+ **Installed:** X.Y.Z
84
+ **Latest:** A.B.C
85
+
86
+ You're ahead of the latest release (development version?).
87
+ ```
88
+
89
+ Exit.
90
+ </step>
91
+
92
+ <step name="show_changes_and_confirm">
93
+ **If update available**, fetch and show what's new BEFORE updating:
94
+
95
+ 1. Fetch changelog from GitHub raw URL
96
+ 2. Extract entries between installed and latest versions
97
+ 3. Display preview and ask for confirmation:
98
+
99
+ ```
100
+ ## GSD Update Available
101
+
102
+ **Installed:** 1.5.10
103
+ **Latest:** 1.5.15
104
+
105
+ ### What's New
106
+ ────────────────────────────────────────────────────────────
107
+
108
+ ## [1.5.15] - 2026-01-20
109
+
110
+ ### Added
111
+ - Feature X
112
+
113
+ ## [1.5.14] - 2026-01-18
114
+
115
+ ### Fixed
116
+ - Bug fix Y
117
+
118
+ ────────────────────────────────────────────────────────────
119
+
120
+ ⚠️ **Note:** The installer performs a clean install of GSD folders:
121
+ - `commands/gsd/` will be wiped and replaced
122
+ - `get-shit-done/` will be wiped and replaced
123
+ - `agents/gsd-*` files will be replaced
124
+
125
+ (Paths are relative to your install location: `~/.claude/` for global, `./.claude/` for local)
126
+
127
+ Your custom files in other locations are preserved:
128
+ - Custom commands not in `commands/gsd/` ✓
129
+ - Custom agents not prefixed with `gsd-` ✓
130
+ - Custom hooks ✓
131
+ - Your CLAUDE.md files ✓
132
+
133
+ If you've modified any GSD files directly, they'll be automatically backed up to `gsd-local-patches/` and can be reapplied with `/gsd:reapply-patches` after the update.
134
+ ```
135
+
136
+ Use AskUserQuestion:
137
+ - Question: "Proceed with update?"
138
+ - Options:
139
+ - "Yes, update now"
140
+ - "No, cancel"
141
+
142
+ **If user cancels:** Exit.
143
+ </step>
144
+
145
+ <step name="run_update">
146
+ Run the update using the install type detected in step 1:
147
+
148
+ **If LOCAL install:**
149
+ ```bash
150
+ npx get-shit-done-cc --local
151
+ ```
152
+
153
+ **If GLOBAL install (or unknown):**
154
+ ```bash
155
+ npx get-shit-done-cc --global
156
+ ```
157
+
158
+ Capture output. If install fails, show error and exit.
159
+
160
+ Clear the update cache so statusline indicator disappears:
161
+
162
+ **If LOCAL install:**
163
+ ```bash
164
+ rm -f ./.claude/cache/gsd-update-check.json
165
+ ```
166
+
167
+ **If GLOBAL install:**
168
+ ```bash
169
+ rm -f ~/.claude/cache/gsd-update-check.json
170
+ ```
171
+ (Paths are templated at install time for runtime compatibility)
172
+ </step>
173
+
174
+ <step name="display_result">
175
+ Format completion message (changelog was already shown in confirmation step):
176
+
177
+ ```
178
+ ╔═══════════════════════════════════════════════════════════╗
179
+ ║ GSD Updated: v1.5.10 → v1.5.15 ║
180
+ ╚═══════════════════════════════════════════════════════════╝
181
+
182
+ ⚠️ Restart Claude Code to pick up the new commands.
183
+
184
+ [View full changelog](https://github.com/glittercowboy/get-shit-done/blob/main/CHANGELOG.md)
185
+ ```
186
+ </step>
187
+
188
+
189
+ <step name="check_local_patches">
190
+ After update completes, check if the installer detected and backed up any locally modified files:
191
+
192
+ Check for gsd-local-patches/backup-meta.json in the config directory.
193
+
194
+ **If patches found:**
195
+
196
+ ```
197
+ Local patches were backed up before the update.
198
+ Run /gsd:reapply-patches to merge your modifications into the new version.
199
+ ```
200
+
201
+ **If no patches:** Continue normally.
202
+ </step>
203
+ </process>
204
+
205
+ <success_criteria>
206
+ - [ ] Installed version read correctly
207
+ - [ ] Latest version checked via npm
208
+ - [ ] Update skipped if already current
209
+ - [ ] Changelog fetched and displayed BEFORE update
210
+ - [ ] Clean install warning shown
211
+ - [ ] User confirmation obtained
212
+ - [ ] Update executed successfully
213
+ - [ ] Restart reminder shown
214
+ </success_criteria>