gsd-opencode 1.3.31
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/bin/install.js +222 -0
- package/command/gsd/add-phase.md +207 -0
- package/command/gsd/complete-milestone.md +105 -0
- package/command/gsd/consider-issues.md +201 -0
- package/command/gsd/create-roadmap.md +115 -0
- package/command/gsd/discuss-milestone.md +47 -0
- package/command/gsd/discuss-phase.md +60 -0
- package/command/gsd/execute-plan.md +128 -0
- package/command/gsd/help.md +315 -0
- package/command/gsd/insert-phase.md +227 -0
- package/command/gsd/list-phase-assumptions.md +50 -0
- package/command/gsd/map-codebase.md +84 -0
- package/command/gsd/new-milestone.md +59 -0
- package/command/gsd/new-project.md +316 -0
- package/command/gsd/pause-work.md +122 -0
- package/command/gsd/plan-fix.md +205 -0
- package/command/gsd/plan-phase.md +67 -0
- package/command/gsd/progress.md +316 -0
- package/command/gsd/remove-phase.md +338 -0
- package/command/gsd/research-phase.md +91 -0
- package/command/gsd/resume-work.md +40 -0
- package/command/gsd/verify-work.md +71 -0
- package/get-shit-done/references/checkpoints.md +287 -0
- package/get-shit-done/references/continuation-format.md +255 -0
- package/get-shit-done/references/git-integration.md +254 -0
- package/get-shit-done/references/plan-format.md +428 -0
- package/get-shit-done/references/principles.md +157 -0
- package/get-shit-done/references/questioning.md +162 -0
- package/get-shit-done/references/research-pitfalls.md +215 -0
- package/get-shit-done/references/scope-estimation.md +172 -0
- package/get-shit-done/references/tdd.md +263 -0
- package/get-shit-done/templates/codebase/architecture.md +255 -0
- package/get-shit-done/templates/codebase/concerns.md +310 -0
- package/get-shit-done/templates/codebase/conventions.md +307 -0
- package/get-shit-done/templates/codebase/integrations.md +280 -0
- package/get-shit-done/templates/codebase/stack.md +186 -0
- package/get-shit-done/templates/codebase/structure.md +285 -0
- package/get-shit-done/templates/codebase/testing.md +480 -0
- package/get-shit-done/templates/config.json +18 -0
- package/get-shit-done/templates/context.md +161 -0
- package/get-shit-done/templates/continue-here.md +78 -0
- package/get-shit-done/templates/discovery.md +146 -0
- package/get-shit-done/templates/issues.md +32 -0
- package/get-shit-done/templates/milestone-archive.md +123 -0
- package/get-shit-done/templates/milestone-context.md +93 -0
- package/get-shit-done/templates/milestone.md +115 -0
- package/get-shit-done/templates/phase-prompt.md +303 -0
- package/get-shit-done/templates/project.md +184 -0
- package/get-shit-done/templates/research.md +529 -0
- package/get-shit-done/templates/roadmap.md +196 -0
- package/get-shit-done/templates/state.md +210 -0
- package/get-shit-done/templates/summary.md +273 -0
- package/get-shit-done/templates/uat-issues.md +143 -0
- package/get-shit-done/workflows/complete-milestone.md +643 -0
- package/get-shit-done/workflows/create-milestone.md +416 -0
- package/get-shit-done/workflows/create-roadmap.md +481 -0
- package/get-shit-done/workflows/discovery-phase.md +293 -0
- package/get-shit-done/workflows/discuss-milestone.md +236 -0
- package/get-shit-done/workflows/discuss-phase.md +247 -0
- package/get-shit-done/workflows/execute-phase.md +1625 -0
- package/get-shit-done/workflows/list-phase-assumptions.md +178 -0
- package/get-shit-done/workflows/map-codebase.md +434 -0
- package/get-shit-done/workflows/plan-phase.md +488 -0
- package/get-shit-done/workflows/research-phase.md +436 -0
- package/get-shit-done/workflows/resume-project.md +287 -0
- package/get-shit-done/workflows/transition.md +580 -0
- package/get-shit-done/workflows/verify-work.md +202 -0
- package/package.json +38 -0
|
@@ -0,0 +1,580 @@
|
|
|
1
|
+
<required_reading>
|
|
2
|
+
|
|
3
|
+
**Read these files NOW:**
|
|
4
|
+
|
|
5
|
+
1. `.planning/STATE.md`
|
|
6
|
+
2. `.planning/PROJECT.md`
|
|
7
|
+
3. `.planning/ROADMAP.md`
|
|
8
|
+
4. Current phase's plan files (`*-PLAN.md`)
|
|
9
|
+
5. Current phase's summary files (`*-SUMMARY.md`)
|
|
10
|
+
|
|
11
|
+
</required_reading>
|
|
12
|
+
|
|
13
|
+
<purpose>
|
|
14
|
+
|
|
15
|
+
Mark current phase complete and advance to next. This is the natural point where progress tracking and PROJECT.md evolution happen.
|
|
16
|
+
|
|
17
|
+
"Planning next phase" = "current phase is done"
|
|
18
|
+
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<process>
|
|
22
|
+
|
|
23
|
+
<step name="load_project_state" priority="first">
|
|
24
|
+
|
|
25
|
+
Before transition, read project state:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
cat .planning/STATE.md 2>/dev/null
|
|
29
|
+
cat .planning/PROJECT.md 2>/dev/null
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Parse current position to verify we're transitioning the right phase.
|
|
33
|
+
Note accumulated context that may need updating after transition.
|
|
34
|
+
|
|
35
|
+
</step>
|
|
36
|
+
|
|
37
|
+
<step name="verify_completion">
|
|
38
|
+
|
|
39
|
+
Check current phase has all plan summaries:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
ls .planning/phases/XX-current/*-PLAN.md 2>/dev/null | sort
|
|
43
|
+
ls .planning/phases/XX-current/*-SUMMARY.md 2>/dev/null | sort
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**Verification logic:**
|
|
47
|
+
|
|
48
|
+
- Count PLAN files
|
|
49
|
+
- Count SUMMARY files
|
|
50
|
+
- If counts match: all plans complete
|
|
51
|
+
- If counts don't match: incomplete
|
|
52
|
+
|
|
53
|
+
<config-check>
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
cat .planning/config.json 2>/dev/null
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
</config-check>
|
|
60
|
+
|
|
61
|
+
**If all plans complete:**
|
|
62
|
+
|
|
63
|
+
<if mode="yolo">
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
⚡ Auto-approved: Transition Phase [X] → Phase [X+1]
|
|
67
|
+
Phase [X] complete — all [Y] plans finished.
|
|
68
|
+
|
|
69
|
+
Proceeding to mark done and advance...
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Proceed directly to cleanup_handoff step.
|
|
73
|
+
|
|
74
|
+
</if>
|
|
75
|
+
|
|
76
|
+
<if mode="interactive" OR="custom with gates.confirm_transition true">
|
|
77
|
+
|
|
78
|
+
Ask: "Phase [X] complete — all [Y] plans finished. Ready to mark done and move to Phase [X+1]?"
|
|
79
|
+
|
|
80
|
+
Wait for confirmation before proceeding.
|
|
81
|
+
|
|
82
|
+
</if>
|
|
83
|
+
|
|
84
|
+
**If plans incomplete:**
|
|
85
|
+
|
|
86
|
+
**SAFETY RAIL: always_confirm_destructive applies here.**
|
|
87
|
+
Skipping incomplete plans is destructive — ALWAYS prompt regardless of mode.
|
|
88
|
+
|
|
89
|
+
Present:
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
Phase [X] has incomplete plans:
|
|
93
|
+
- {phase}-01-SUMMARY.md ✓ Complete
|
|
94
|
+
- {phase}-02-SUMMARY.md ✗ Missing
|
|
95
|
+
- {phase}-03-SUMMARY.md ✗ Missing
|
|
96
|
+
|
|
97
|
+
⚠️ Safety rail: Skipping plans requires confirmation (destructive action)
|
|
98
|
+
|
|
99
|
+
Options:
|
|
100
|
+
1. Continue current phase (execute remaining plans)
|
|
101
|
+
2. Mark complete anyway (skip remaining plans)
|
|
102
|
+
3. Review what's left
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Wait for user decision.
|
|
106
|
+
|
|
107
|
+
</step>
|
|
108
|
+
|
|
109
|
+
<step name="cleanup_handoff">
|
|
110
|
+
|
|
111
|
+
Check for lingering handoffs:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
ls .planning/phases/XX-current/.continue-here*.md 2>/dev/null
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
If found, delete them — phase is complete, handoffs are stale.
|
|
118
|
+
|
|
119
|
+
</step>
|
|
120
|
+
|
|
121
|
+
<step name="update_roadmap">
|
|
122
|
+
|
|
123
|
+
Update the roadmap file:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
ROADMAP_FILE=".planning/ROADMAP.md"
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
Update the file:
|
|
130
|
+
|
|
131
|
+
- Mark current phase: `[x] Complete`
|
|
132
|
+
- Add completion date
|
|
133
|
+
- Update plan count to final (e.g., "3/3 plans complete")
|
|
134
|
+
- Update Progress table
|
|
135
|
+
- Keep next phase as `[ ] Not started`
|
|
136
|
+
|
|
137
|
+
**Example:**
|
|
138
|
+
|
|
139
|
+
```markdown
|
|
140
|
+
## Phases
|
|
141
|
+
|
|
142
|
+
- [x] Phase 1: Foundation (completed 2025-01-15)
|
|
143
|
+
- [ ] Phase 2: Authentication ← Next
|
|
144
|
+
- [ ] Phase 3: Core Features
|
|
145
|
+
|
|
146
|
+
## Progress
|
|
147
|
+
|
|
148
|
+
| Phase | Plans Complete | Status | Completed |
|
|
149
|
+
| ----------------- | -------------- | ----------- | ---------- |
|
|
150
|
+
| 1. Foundation | 3/3 | Complete | 2025-01-15 |
|
|
151
|
+
| 2. Authentication | 0/2 | Not started | - |
|
|
152
|
+
| 3. Core Features | 0/1 | Not started | - |
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
</step>
|
|
156
|
+
|
|
157
|
+
<step name="archive_prompts">
|
|
158
|
+
|
|
159
|
+
If prompts were generated for the phase, they stay in place.
|
|
160
|
+
The `completed/` subfolder pattern from create-meta-prompts handles archival.
|
|
161
|
+
|
|
162
|
+
</step>
|
|
163
|
+
|
|
164
|
+
<step name="evolve_project">
|
|
165
|
+
|
|
166
|
+
Evolve PROJECT.md to reflect learnings from completed phase.
|
|
167
|
+
|
|
168
|
+
**Read phase summaries:**
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
cat .planning/phases/XX-current/*-SUMMARY.md
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
**Assess requirement changes:**
|
|
175
|
+
|
|
176
|
+
1. **Requirements validated?**
|
|
177
|
+
- Any Active requirements shipped in this phase?
|
|
178
|
+
- Move to Validated with phase reference: `- ✓ [Requirement] — Phase X`
|
|
179
|
+
|
|
180
|
+
2. **Requirements invalidated?**
|
|
181
|
+
- Any Active requirements discovered to be unnecessary or wrong?
|
|
182
|
+
- Move to Out of Scope with reason: `- [Requirement] — [why invalidated]`
|
|
183
|
+
|
|
184
|
+
3. **Requirements emerged?**
|
|
185
|
+
- Any new requirements discovered during building?
|
|
186
|
+
- Add to Active: `- [ ] [New requirement]`
|
|
187
|
+
|
|
188
|
+
4. **Decisions to log?**
|
|
189
|
+
- Extract decisions from SUMMARY.md files
|
|
190
|
+
- Add to Key Decisions table with outcome if known
|
|
191
|
+
|
|
192
|
+
5. **"What This Is" still accurate?**
|
|
193
|
+
- If the product has meaningfully changed, update the description
|
|
194
|
+
- Keep it current and accurate
|
|
195
|
+
|
|
196
|
+
**Update PROJECT.md:**
|
|
197
|
+
|
|
198
|
+
Make the edits inline. Update "Last updated" footer:
|
|
199
|
+
|
|
200
|
+
```markdown
|
|
201
|
+
---
|
|
202
|
+
*Last updated: [date] after Phase [X]*
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**Example evolution:**
|
|
206
|
+
|
|
207
|
+
Before:
|
|
208
|
+
|
|
209
|
+
```markdown
|
|
210
|
+
### Active
|
|
211
|
+
|
|
212
|
+
- [ ] JWT authentication
|
|
213
|
+
- [ ] Real-time sync < 500ms
|
|
214
|
+
- [ ] Offline mode
|
|
215
|
+
|
|
216
|
+
### Out of Scope
|
|
217
|
+
|
|
218
|
+
- OAuth2 — complexity not needed for v1
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
After (Phase 2 shipped JWT auth, discovered rate limiting needed):
|
|
222
|
+
|
|
223
|
+
```markdown
|
|
224
|
+
### Validated
|
|
225
|
+
|
|
226
|
+
- ✓ JWT authentication — Phase 2
|
|
227
|
+
|
|
228
|
+
### Active
|
|
229
|
+
|
|
230
|
+
- [ ] Real-time sync < 500ms
|
|
231
|
+
- [ ] Offline mode
|
|
232
|
+
- [ ] Rate limiting on sync endpoint
|
|
233
|
+
|
|
234
|
+
### Out of Scope
|
|
235
|
+
|
|
236
|
+
- OAuth2 — complexity not needed for v1
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
**Step complete when:**
|
|
240
|
+
|
|
241
|
+
- [ ] Phase summaries reviewed for learnings
|
|
242
|
+
- [ ] Validated requirements moved from Active
|
|
243
|
+
- [ ] Invalidated requirements moved to Out of Scope with reason
|
|
244
|
+
- [ ] Emerged requirements added to Active
|
|
245
|
+
- [ ] New decisions logged with rationale
|
|
246
|
+
- [ ] "What This Is" updated if product changed
|
|
247
|
+
- [ ] "Last updated" footer reflects this transition
|
|
248
|
+
|
|
249
|
+
</step>
|
|
250
|
+
|
|
251
|
+
<step name="update_current_position_after_transition">
|
|
252
|
+
|
|
253
|
+
Update Current Position section in STATE.md to reflect phase completion and transition.
|
|
254
|
+
|
|
255
|
+
**Format:**
|
|
256
|
+
|
|
257
|
+
```markdown
|
|
258
|
+
Phase: [next] of [total] ([Next phase name])
|
|
259
|
+
Plan: Not started
|
|
260
|
+
Status: Ready to plan
|
|
261
|
+
Last activity: [today] — Phase [X] complete, transitioned to Phase [X+1]
|
|
262
|
+
|
|
263
|
+
Progress: [updated progress bar]
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
**Instructions:**
|
|
267
|
+
|
|
268
|
+
- Increment phase number to next phase
|
|
269
|
+
- Reset plan to "Not started"
|
|
270
|
+
- Set status to "Ready to plan"
|
|
271
|
+
- Update last activity to describe transition
|
|
272
|
+
- Recalculate progress bar based on completed plans
|
|
273
|
+
|
|
274
|
+
**Example — transitioning from Phase 2 to Phase 3:**
|
|
275
|
+
|
|
276
|
+
Before:
|
|
277
|
+
|
|
278
|
+
```markdown
|
|
279
|
+
## Current Position
|
|
280
|
+
|
|
281
|
+
Phase: 2 of 4 (Authentication)
|
|
282
|
+
Plan: 2 of 2 in current phase
|
|
283
|
+
Status: Phase complete
|
|
284
|
+
Last activity: 2025-01-20 — Completed 02-02-PLAN.md
|
|
285
|
+
|
|
286
|
+
Progress: ███████░░░ 60%
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
After:
|
|
290
|
+
|
|
291
|
+
```markdown
|
|
292
|
+
## Current Position
|
|
293
|
+
|
|
294
|
+
Phase: 3 of 4 (Core Features)
|
|
295
|
+
Plan: Not started
|
|
296
|
+
Status: Ready to plan
|
|
297
|
+
Last activity: 2025-01-20 — Phase 2 complete, transitioned to Phase 3
|
|
298
|
+
|
|
299
|
+
Progress: ███████░░░ 60%
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
**Step complete when:**
|
|
303
|
+
|
|
304
|
+
- [ ] Phase number incremented to next phase
|
|
305
|
+
- [ ] Plan status reset to "Not started"
|
|
306
|
+
- [ ] Status shows "Ready to plan"
|
|
307
|
+
- [ ] Last activity describes the transition
|
|
308
|
+
- [ ] Progress bar reflects total completed plans
|
|
309
|
+
|
|
310
|
+
</step>
|
|
311
|
+
|
|
312
|
+
<step name="update_project_reference">
|
|
313
|
+
|
|
314
|
+
Update Project Reference section in STATE.md.
|
|
315
|
+
|
|
316
|
+
```markdown
|
|
317
|
+
## Project Reference
|
|
318
|
+
|
|
319
|
+
See: .planning/PROJECT.md (updated [today])
|
|
320
|
+
|
|
321
|
+
**Core value:** [Current core value from PROJECT.md]
|
|
322
|
+
**Current focus:** [Next phase name]
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
Update the date and current focus to reflect the transition.
|
|
326
|
+
|
|
327
|
+
</step>
|
|
328
|
+
|
|
329
|
+
<step name="review_accumulated_context">
|
|
330
|
+
|
|
331
|
+
Review and update Accumulated Context section in STATE.md.
|
|
332
|
+
|
|
333
|
+
**Decisions:**
|
|
334
|
+
|
|
335
|
+
- Note recent decisions from this phase (3-5 max)
|
|
336
|
+
- Full log lives in PROJECT.md Key Decisions table
|
|
337
|
+
|
|
338
|
+
**Blockers/Concerns:**
|
|
339
|
+
|
|
340
|
+
- Review blockers from completed phase
|
|
341
|
+
- If addressed in this phase: Remove from list
|
|
342
|
+
- If still relevant for future: Keep with "Phase X" prefix
|
|
343
|
+
- Add any new concerns from completed phase's summaries
|
|
344
|
+
|
|
345
|
+
**Deferred Issues:**
|
|
346
|
+
|
|
347
|
+
- Count open issues in ISSUES.md
|
|
348
|
+
- Update count: "[N] open issues — see ISSUES.md"
|
|
349
|
+
- If many accumulated, note: "Consider addressing ISS-XXX, ISS-YYY in next phase"
|
|
350
|
+
|
|
351
|
+
**Example:**
|
|
352
|
+
|
|
353
|
+
Before:
|
|
354
|
+
|
|
355
|
+
```markdown
|
|
356
|
+
### Blockers/Concerns
|
|
357
|
+
|
|
358
|
+
- ⚠️ [Phase 1] Database schema not indexed for common queries
|
|
359
|
+
- ⚠️ [Phase 2] WebSocket reconnection behavior on flaky networks unknown
|
|
360
|
+
|
|
361
|
+
### Deferred Issues
|
|
362
|
+
|
|
363
|
+
- ISS-001: Rate limiting on sync endpoint (Phase 2) — Medium
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
After (if database indexing was addressed in Phase 2):
|
|
367
|
+
|
|
368
|
+
```markdown
|
|
369
|
+
### Blockers/Concerns
|
|
370
|
+
|
|
371
|
+
- ⚠️ [Phase 2] WebSocket reconnection behavior on flaky networks unknown
|
|
372
|
+
|
|
373
|
+
### Deferred Issues
|
|
374
|
+
|
|
375
|
+
- ISS-001: Rate limiting on sync endpoint (Phase 2) — Medium
|
|
376
|
+
- ISS-002: Better sync error messages (Phase 2) — Quick
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
**Step complete when:**
|
|
380
|
+
|
|
381
|
+
- [ ] Recent decisions noted (full log in PROJECT.md)
|
|
382
|
+
- [ ] Resolved blockers removed from list
|
|
383
|
+
- [ ] Unresolved blockers kept with phase prefix
|
|
384
|
+
- [ ] New concerns from completed phase added
|
|
385
|
+
- [ ] Deferred issues count updated
|
|
386
|
+
|
|
387
|
+
</step>
|
|
388
|
+
|
|
389
|
+
<step name="update_session_continuity_after_transition">
|
|
390
|
+
|
|
391
|
+
Update Session Continuity section in STATE.md to reflect transition completion.
|
|
392
|
+
|
|
393
|
+
**Format:**
|
|
394
|
+
|
|
395
|
+
```markdown
|
|
396
|
+
Last session: [today]
|
|
397
|
+
Stopped at: Phase [X] complete, ready to plan Phase [X+1]
|
|
398
|
+
Resume file: None
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
**Step complete when:**
|
|
402
|
+
|
|
403
|
+
- [ ] Last session timestamp updated to current date and time
|
|
404
|
+
- [ ] Stopped at describes phase completion and next phase
|
|
405
|
+
- [ ] Resume file confirmed as None (transitions don't use resume files)
|
|
406
|
+
|
|
407
|
+
</step>
|
|
408
|
+
|
|
409
|
+
<step name="offer_next_phase">
|
|
410
|
+
|
|
411
|
+
**MANDATORY: Verify milestone status before presenting next steps.**
|
|
412
|
+
|
|
413
|
+
**Step 1: Read ROADMAP.md and identify phases in current milestone**
|
|
414
|
+
|
|
415
|
+
Read the ROADMAP.md file and extract:
|
|
416
|
+
1. Current phase number (the phase just transitioned from)
|
|
417
|
+
2. All phase numbers in the current milestone section
|
|
418
|
+
|
|
419
|
+
To find phases, look for:
|
|
420
|
+
- Phase headers: lines starting with `### Phase` or `#### Phase`
|
|
421
|
+
- Phase list items: lines like `- [ ] **Phase X:` or `- [x] **Phase X:`
|
|
422
|
+
|
|
423
|
+
Count total phases and identify the highest phase number in the milestone.
|
|
424
|
+
|
|
425
|
+
State: "Current phase is {X}. Milestone has {N} phases (highest: {Y})."
|
|
426
|
+
|
|
427
|
+
**Step 2: Route based on milestone status**
|
|
428
|
+
|
|
429
|
+
| Condition | Meaning | Action |
|
|
430
|
+
|-----------|---------|--------|
|
|
431
|
+
| current phase < highest phase | More phases remain | Go to **Route A** |
|
|
432
|
+
| current phase = highest phase | Milestone complete | Go to **Route B** |
|
|
433
|
+
|
|
434
|
+
---
|
|
435
|
+
|
|
436
|
+
**Route A: More phases remain in milestone**
|
|
437
|
+
|
|
438
|
+
Read ROADMAP.md to get the next phase's name and goal.
|
|
439
|
+
|
|
440
|
+
**If next phase exists:**
|
|
441
|
+
|
|
442
|
+
<if mode="yolo">
|
|
443
|
+
|
|
444
|
+
```
|
|
445
|
+
Phase [X] marked complete.
|
|
446
|
+
|
|
447
|
+
Next: Phase [X+1] — [Name]
|
|
448
|
+
|
|
449
|
+
⚡ Auto-continuing: Plan Phase [X+1] in detail
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
Exit skill and invoke SlashCommand("/gsd:plan-phase [X+1]")
|
|
453
|
+
|
|
454
|
+
</if>
|
|
455
|
+
|
|
456
|
+
<if mode="interactive" OR="custom with gates.confirm_transition true">
|
|
457
|
+
|
|
458
|
+
```
|
|
459
|
+
## ✓ Phase [X] Complete
|
|
460
|
+
|
|
461
|
+
---
|
|
462
|
+
|
|
463
|
+
## ▶ Next Up
|
|
464
|
+
|
|
465
|
+
**Phase [X+1]: [Name]** — [Goal from ROADMAP.md]
|
|
466
|
+
|
|
467
|
+
`/gsd:plan-phase [X+1]`
|
|
468
|
+
|
|
469
|
+
<sub>`/clear` first → fresh context window</sub>
|
|
470
|
+
|
|
471
|
+
---
|
|
472
|
+
|
|
473
|
+
**Also available:**
|
|
474
|
+
- `/gsd:discuss-phase [X+1]` — gather context first
|
|
475
|
+
- `/gsd:research-phase [X+1]` — investigate unknowns
|
|
476
|
+
- Review roadmap
|
|
477
|
+
|
|
478
|
+
---
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
</if>
|
|
482
|
+
|
|
483
|
+
---
|
|
484
|
+
|
|
485
|
+
**Route B: Milestone complete (all phases done)**
|
|
486
|
+
|
|
487
|
+
<if mode="yolo">
|
|
488
|
+
|
|
489
|
+
```
|
|
490
|
+
Phase {X} marked complete.
|
|
491
|
+
|
|
492
|
+
🎉 Milestone {version} is 100% complete — all {N} phases finished!
|
|
493
|
+
|
|
494
|
+
⚡ Auto-continuing: Complete milestone and archive
|
|
495
|
+
```
|
|
496
|
+
|
|
497
|
+
Exit skill and invoke SlashCommand("/gsd:complete-milestone {version}")
|
|
498
|
+
|
|
499
|
+
</if>
|
|
500
|
+
|
|
501
|
+
<if mode="interactive" OR="custom with gates.confirm_transition true">
|
|
502
|
+
|
|
503
|
+
```
|
|
504
|
+
## ✓ Phase {X}: {Phase Name} Complete
|
|
505
|
+
|
|
506
|
+
🎉 Milestone {version} is 100% complete — all {N} phases finished!
|
|
507
|
+
|
|
508
|
+
---
|
|
509
|
+
|
|
510
|
+
## ▶ Next Up
|
|
511
|
+
|
|
512
|
+
**Complete Milestone {version}** — archive and prepare for next
|
|
513
|
+
|
|
514
|
+
`/gsd:complete-milestone {version}`
|
|
515
|
+
|
|
516
|
+
<sub>`/clear` first → fresh context window</sub>
|
|
517
|
+
|
|
518
|
+
---
|
|
519
|
+
|
|
520
|
+
**Also available:**
|
|
521
|
+
- Review accomplishments before archiving
|
|
522
|
+
|
|
523
|
+
---
|
|
524
|
+
```
|
|
525
|
+
|
|
526
|
+
</if>
|
|
527
|
+
|
|
528
|
+
</step>
|
|
529
|
+
|
|
530
|
+
</process>
|
|
531
|
+
|
|
532
|
+
<implicit_tracking>
|
|
533
|
+
|
|
534
|
+
Progress tracking is IMPLICIT:
|
|
535
|
+
|
|
536
|
+
- "Plan phase 2" → Phase 1 must be done (or ask)
|
|
537
|
+
- "Plan phase 3" → Phases 1-2 must be done (or ask)
|
|
538
|
+
- Transition workflow makes it explicit in ROADMAP.md
|
|
539
|
+
|
|
540
|
+
No separate "update progress" step. Forward motion IS progress.
|
|
541
|
+
|
|
542
|
+
</implicit_tracking>
|
|
543
|
+
|
|
544
|
+
<partial_completion>
|
|
545
|
+
|
|
546
|
+
If user wants to move on but phase isn't fully complete:
|
|
547
|
+
|
|
548
|
+
```
|
|
549
|
+
Phase [X] has incomplete plans:
|
|
550
|
+
- {phase}-02-PLAN.md (not executed)
|
|
551
|
+
- {phase}-03-PLAN.md (not executed)
|
|
552
|
+
|
|
553
|
+
Options:
|
|
554
|
+
1. Mark complete anyway (plans weren't needed)
|
|
555
|
+
2. Defer work to later phase
|
|
556
|
+
3. Stay and finish current phase
|
|
557
|
+
```
|
|
558
|
+
|
|
559
|
+
Respect user judgment — they know if work matters.
|
|
560
|
+
|
|
561
|
+
**If marking complete with incomplete plans:**
|
|
562
|
+
|
|
563
|
+
- Update ROADMAP: "2/3 plans complete" (not "3/3")
|
|
564
|
+
- Note in transition message which plans were skipped
|
|
565
|
+
|
|
566
|
+
</partial_completion>
|
|
567
|
+
|
|
568
|
+
<success_criteria>
|
|
569
|
+
|
|
570
|
+
Transition is complete when:
|
|
571
|
+
|
|
572
|
+
- [ ] Current phase plan summaries verified (all exist or user chose to skip)
|
|
573
|
+
- [ ] Any stale handoffs deleted
|
|
574
|
+
- [ ] ROADMAP.md updated with completion status and plan count
|
|
575
|
+
- [ ] PROJECT.md evolved (requirements, decisions, description if needed)
|
|
576
|
+
- [ ] STATE.md updated (position, project reference, context, session)
|
|
577
|
+
- [ ] Progress table updated
|
|
578
|
+
- [ ] User knows next steps
|
|
579
|
+
|
|
580
|
+
</success_criteria>
|