get-shit-done-cc 1.4.26 → 1.4.27

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.
@@ -64,10 +64,83 @@ Phase: $ARGUMENTS
64
64
  - Update ROADMAP.md
65
65
 
66
66
  6. **Offer next steps**
67
- - More phases `/gsd:plan-phase {next}`
68
- - Milestone complete → `/gsd:complete-milestone`
67
+ - Route to next action (see `<offer_next>`)
69
68
  </process>
70
69
 
70
+ <offer_next>
71
+ **MANDATORY: Present copy/paste-ready next command.**
72
+
73
+ After phase completes, determine what's next:
74
+
75
+ **Step 1: Check milestone status**
76
+
77
+ Read ROADMAP.md. Find current phase number and highest phase in milestone.
78
+
79
+ | Condition | Action |
80
+ |-----------|--------|
81
+ | current < highest | More phases → Route A |
82
+ | current = highest | Milestone complete → Route B |
83
+
84
+ ---
85
+
86
+ **Route A: More phases remain in milestone**
87
+
88
+ ```
89
+ ## ✓ Phase {Z}: {Name} Complete
90
+
91
+ All {Y} plans finished.
92
+
93
+ ---
94
+
95
+ ## ▶ Next Up
96
+
97
+ **Phase {Z+1}: {Name}** — {Goal from ROADMAP.md}
98
+
99
+ `/gsd:plan-phase {Z+1}`
100
+
101
+ <sub>`/clear` first → fresh context window</sub>
102
+
103
+ ---
104
+
105
+ **Also available:**
106
+ - `/gsd:verify-work {Z}` — manual acceptance testing before continuing
107
+ - `/gsd:discuss-phase {Z+1}` — gather context first
108
+ - `/gsd:research-phase {Z+1}` — investigate unknowns
109
+
110
+ ---
111
+ ```
112
+
113
+ ---
114
+
115
+ **Route B: Milestone complete**
116
+
117
+ ```
118
+ 🎉 MILESTONE COMPLETE!
119
+
120
+ ## ✓ Phase {Z}: {Name} Complete
121
+
122
+ All {N} phases finished.
123
+
124
+ ---
125
+
126
+ ## ▶ Next Up
127
+
128
+ **Complete Milestone** — archive and prepare for next
129
+
130
+ `/gsd:complete-milestone`
131
+
132
+ <sub>`/clear` first → fresh context window</sub>
133
+
134
+ ---
135
+
136
+ **Also available:**
137
+ - `/gsd:verify-work` — manual acceptance testing before completing milestone
138
+ - `/gsd:add-phase <description>` — add another phase before completing
139
+
140
+ ---
141
+ ```
142
+ </offer_next>
143
+
71
144
  <wave_execution>
72
145
  **Parallel spawning:**
73
146
 
@@ -85,12 +85,111 @@ Plan path: $ARGUMENTS
85
85
  - If contains "## CHECKPOINT REACHED": Execute checkpoint_handling
86
86
  - If contains "## PLAN COMPLETE": Verify SUMMARY exists, report success
87
87
 
88
- 7. **Report completion**
88
+ 7. **Report completion and offer next steps**
89
89
  - Show SUMMARY path
90
90
  - Show commits from subagent return
91
- - Offer next steps
91
+ - Route to next action (see `<offer_next>`)
92
92
  </process>
93
93
 
94
+ <offer_next>
95
+ **MANDATORY: Present copy/paste-ready next command.**
96
+
97
+ After plan completes, determine what's next:
98
+
99
+ **Step 1: Count plans vs summaries in current phase**
100
+ ```bash
101
+ ls -1 .planning/phases/[phase-dir]/*-PLAN.md 2>/dev/null | wc -l
102
+ ls -1 .planning/phases/[phase-dir]/*-SUMMARY.md 2>/dev/null | wc -l
103
+ ```
104
+
105
+ **Step 2: Route based on counts**
106
+
107
+ | Condition | Action |
108
+ |-----------|--------|
109
+ | summaries < plans | More plans remain → Route A |
110
+ | summaries = plans | Phase complete → Check milestone (Step 3) |
111
+
112
+ ---
113
+
114
+ **Route A: More plans remain in phase**
115
+
116
+ Find next PLAN.md without matching SUMMARY.md. Present:
117
+
118
+ ```
119
+ Plan {phase}-{plan} complete.
120
+ Summary: .planning/phases/{phase-dir}/{phase}-{plan}-SUMMARY.md
121
+
122
+ {Y} of {X} plans complete for Phase {Z}.
123
+
124
+ ---
125
+
126
+ ## ▶ Next Up
127
+
128
+ **{phase}-{next-plan}: [Plan Name]** — [objective from PLAN.md]
129
+
130
+ `/gsd:execute-plan .planning/phases/{phase-dir}/{phase}-{next-plan}-PLAN.md`
131
+
132
+ <sub>`/clear` first → fresh context window</sub>
133
+
134
+ ---
135
+ ```
136
+
137
+ ---
138
+
139
+ **Step 3: Check milestone status (only when phase complete)**
140
+
141
+ Read ROADMAP.md. Find current phase number and highest phase in milestone.
142
+
143
+ | Condition | Action |
144
+ |-----------|--------|
145
+ | current < highest | More phases → Route B |
146
+ | current = highest | Milestone complete → Route C |
147
+
148
+ ---
149
+
150
+ **Route B: Phase complete, more phases remain**
151
+
152
+ ```
153
+ ## ✓ Phase {Z}: {Name} Complete
154
+
155
+ All {Y} plans finished.
156
+
157
+ ---
158
+
159
+ ## ▶ Next Up
160
+
161
+ **Phase {Z+1}: {Name}** — {Goal from ROADMAP.md}
162
+
163
+ `/gsd:plan-phase {Z+1}`
164
+
165
+ <sub>`/clear` first → fresh context window</sub>
166
+
167
+ ---
168
+ ```
169
+
170
+ ---
171
+
172
+ **Route C: Milestone complete**
173
+
174
+ ```
175
+ 🎉 MILESTONE COMPLETE!
176
+
177
+ ## ✓ Phase {Z}: {Name} Complete
178
+
179
+ All {N} phases finished.
180
+
181
+ ---
182
+
183
+ ## ▶ Next Up
184
+
185
+ `/gsd:complete-milestone`
186
+
187
+ <sub>`/clear` first → fresh context window</sub>
188
+
189
+ ---
190
+ ```
191
+ </offer_next>
192
+
94
193
  <checkpoint_handling>
95
194
  When subagent returns with checkpoint:
96
195
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "get-shit-done-cc",
3
- "version": "1.4.26",
3
+ "version": "1.4.27",
4
4
  "description": "A meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.",
5
5
  "bin": {
6
6
  "get-shit-done-cc": "bin/install.js"