get-shit-done-cc 1.10.0-experimental.0 → 1.10.0

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 (61) hide show
  1. package/README.md +16 -17
  2. package/agents/gsd-executor.md +375 -37
  3. package/agents/gsd-planner.md +108 -15
  4. package/bin/install.js +163 -238
  5. package/commands/gsd/help.md +0 -43
  6. package/commands/gsd/new-project.md +8 -94
  7. package/commands/gsd/plan-phase.md +5 -35
  8. package/get-shit-done/references/verification-patterns.md +1 -1
  9. package/get-shit-done/templates/phase-prompt.md +4 -4
  10. package/get-shit-done/templates/state.md +0 -37
  11. package/get-shit-done/workflows/execute-phase.md +1 -44
  12. package/get-shit-done/workflows/execute-plan.md +856 -34
  13. package/hooks/dist/gsd-statusline.js +9 -6
  14. package/package.json +7 -10
  15. package/agents/design-specialist.md +0 -222
  16. package/commands/gsd/autopilot.md +0 -518
  17. package/commands/gsd/checkpoints.md +0 -229
  18. package/commands/gsd/design-system.md +0 -70
  19. package/commands/gsd/discuss-design.md +0 -77
  20. package/commands/gsd/extend.md +0 -80
  21. package/get-shit-done/references/ccr-integration.md +0 -468
  22. package/get-shit-done/references/checkpoint-execution.md +0 -369
  23. package/get-shit-done/references/checkpoint-types.md +0 -728
  24. package/get-shit-done/references/deviation-rules.md +0 -215
  25. package/get-shit-done/references/framework-patterns.md +0 -543
  26. package/get-shit-done/references/ui-principles.md +0 -258
  27. package/get-shit-done/skills/gsd-extend/SKILL.md +0 -154
  28. package/get-shit-done/skills/gsd-extend/references/agent-structure.md +0 -305
  29. package/get-shit-done/skills/gsd-extend/references/extension-anatomy.md +0 -123
  30. package/get-shit-done/skills/gsd-extend/references/reference-structure.md +0 -408
  31. package/get-shit-done/skills/gsd-extend/references/template-structure.md +0 -370
  32. package/get-shit-done/skills/gsd-extend/references/validation-rules.md +0 -140
  33. package/get-shit-done/skills/gsd-extend/references/workflow-structure.md +0 -253
  34. package/get-shit-done/skills/gsd-extend/templates/agent-template.md +0 -234
  35. package/get-shit-done/skills/gsd-extend/templates/reference-template.md +0 -239
  36. package/get-shit-done/skills/gsd-extend/templates/workflow-template.md +0 -169
  37. package/get-shit-done/skills/gsd-extend/workflows/create-approach.md +0 -332
  38. package/get-shit-done/skills/gsd-extend/workflows/list-extensions.md +0 -133
  39. package/get-shit-done/skills/gsd-extend/workflows/remove-extension.md +0 -93
  40. package/get-shit-done/skills/gsd-extend/workflows/validate-extension.md +0 -184
  41. package/get-shit-done/templates/autopilot-script-simple.sh +0 -181
  42. package/get-shit-done/templates/autopilot-script.sh +0 -1142
  43. package/get-shit-done/templates/autopilot-script.sh.backup +0 -1142
  44. package/get-shit-done/templates/design-system.md +0 -238
  45. package/get-shit-done/templates/phase-design.md +0 -205
  46. package/get-shit-done/templates/phase-models-template.json +0 -71
  47. package/get-shit-done/tui/App.tsx +0 -169
  48. package/get-shit-done/tui/README.md +0 -107
  49. package/get-shit-done/tui/build.js +0 -37
  50. package/get-shit-done/tui/components/ActivityFeed.tsx +0 -126
  51. package/get-shit-done/tui/components/PhaseCard.tsx +0 -86
  52. package/get-shit-done/tui/components/StatsBar.tsx +0 -147
  53. package/get-shit-done/tui/dist/index.js +0 -387
  54. package/get-shit-done/tui/index.tsx +0 -12
  55. package/get-shit-done/tui/package-lock.json +0 -1074
  56. package/get-shit-done/tui/package.json +0 -22
  57. package/get-shit-done/tui/utils/pipeReader.ts +0 -129
  58. package/get-shit-done/workflows/design-system.md +0 -245
  59. package/get-shit-done/workflows/discuss-design.md +0 -330
  60. package/get-shit-done/workflows/execute-plan-auth.md +0 -122
  61. package/get-shit-done/workflows/execute-plan-checkpoints.md +0 -541
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # GET SHIT DONE
4
4
 
5
- **A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code and OpenCode.**
5
+ **A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code, OpenCode, and Gemini CLI.**
6
6
 
7
7
  **Solves context rot — the quality degradation that happens as Claude fills its context window.**
8
8
 
@@ -77,10 +77,10 @@ npx get-shit-done-cc
77
77
  ```
78
78
 
79
79
  The installer prompts you to choose:
80
- 1. **Runtime** — Claude Code, OpenCode, or both
80
+ 1. **Runtime** — Claude Code, OpenCode, Gemini, or all
81
81
  2. **Location** — Global (all projects) or local (current project only)
82
82
 
83
- Verify with `/gsd:help` inside your Claude Code or OpenCode interface.
83
+ Verify with `/gsd:help` inside your chosen runtime.
84
84
 
85
85
  ### Staying Updated
86
86
 
@@ -99,14 +99,17 @@ npx get-shit-done-cc --claude --global # Install to ~/.claude/
99
99
  npx get-shit-done-cc --claude --local # Install to ./.claude/
100
100
 
101
101
  # OpenCode (open source, free models)
102
- npx get-shit-done-cc --opencode --global # Install to ~/.opencode/
102
+ npx get-shit-done-cc --opencode --global # Install to ~/.config/opencode/
103
103
 
104
- # Both runtimes
105
- npx get-shit-done-cc --both --global # Install to both directories
104
+ # Gemini CLI
105
+ npx get-shit-done-cc --gemini --global # Install to ~/.gemini/
106
+
107
+ # All runtimes
108
+ npx get-shit-done-cc --all --global # Install to all directories
106
109
  ```
107
110
 
108
111
  Use `--global` (`-g`) or `--local` (`-l`) to skip the location prompt.
109
- Use `--claude`, `--opencode`, or `--both` to skip the runtime prompt.
112
+ Use `--claude`, `--opencode`, `--gemini`, or `--all` to skip the runtime prompt.
110
113
 
111
114
  </details>
112
115
 
@@ -459,13 +462,6 @@ You're never locked in. The system adapts.
459
462
  | `/gsd:pause-work` | Create handoff when stopping mid-phase |
460
463
  | `/gsd:resume-work` | Restore from last session |
461
464
 
462
- ### Automation
463
-
464
- | Command | What it does |
465
- |---------|--------------|
466
- | `/gsd:autopilot` | Fully automated milestone execution with beautiful TUI |
467
- | `/gsd:checkpoints` | Review and approve pending checkpoints from autopilot |
468
-
469
465
  ### Utilities
470
466
 
471
467
  | Command | What it does |
@@ -476,7 +472,6 @@ You're never locked in. The system adapts.
476
472
  | `/gsd:check-todos` | List pending todos |
477
473
  | `/gsd:debug [desc]` | Systematic debugging with persistent state |
478
474
  | `/gsd:quick` | Execute ad-hoc task with GSD guarantees |
479
- | `/gsd:extend` | Create custom GSD approaches (workflows, agents, templates) |
480
475
 
481
476
  <sup>¹ Contributed by reddit user OracleGreyBeard</sup>
482
477
 
@@ -576,10 +571,14 @@ This removes all GSD commands, agents, hooks, and settings while preserving your
576
571
 
577
572
  ## Community Ports
578
573
 
574
+ OpenCode and Gemini CLI are now natively supported via `npx get-shit-done-cc`.
575
+
576
+ These community ports pioneered multi-runtime support:
577
+
579
578
  | Project | Platform | Description |
580
579
  |---------|----------|-------------|
581
- | [gsd-opencode](https://github.com/rokicool/gsd-opencode) | OpenCode | GSD adapted for OpenCode CLI |
582
- | [gsd-gemini](https://github.com/uberfuzzy/gsd-gemini) | Gemini CLI | GSD adapted for Google's Gemini CLI |
580
+ | [gsd-opencode](https://github.com/rokicool/gsd-opencode) | OpenCode | Original OpenCode adaptation |
581
+ | [gsd-gemini](https://github.com/uberfuzzy/gsd-gemini) | Gemini CLI | Original Gemini adaptation |
583
582
 
584
583
  ---
585
584
 
@@ -13,19 +13,6 @@ You are spawned by `/gsd:execute-phase` orchestrator.
13
13
  Your job: Execute the plan completely, commit each task, create SUMMARY.md, update STATE.md.
14
14
  </role>
15
15
 
16
- <conditional_references>
17
- ## Load Based on Plan Characteristics
18
-
19
- **If plan has checkpoints** (detected during determine_execution_pattern):
20
- @~/.claude/get-shit-done/workflows/execute-plan-checkpoints.md
21
-
22
- **If authentication error encountered during execution:**
23
- @~/.claude/get-shit-done/workflows/execute-plan-auth.md
24
-
25
- **Deviation handling rules:**
26
- @~/.claude/get-shit-done/references/deviation-rules.md
27
- </conditional_references>
28
-
29
16
  <execution_flow>
30
17
 
31
18
  <step name="load_project_state" priority="first">
@@ -97,11 +84,9 @@ Store in shell variables for duration calculation at completion.
97
84
  Check for checkpoints in the plan:
98
85
 
99
86
  ```bash
100
- HAS_CHECKPOINTS=$(grep -q 'type="checkpoint' [plan-path] && echo "true" || echo "false")
87
+ grep -n "type=\"checkpoint" [plan-path]
101
88
  ```
102
89
 
103
- **If `HAS_CHECKPOINTS=true`:** Load execute-plan-checkpoints.md for checkpoint handling protocols.
104
-
105
90
  **Pattern A: Fully autonomous (no checkpoints)**
106
91
 
107
92
  - Execute all tasks sequentially
@@ -121,7 +106,7 @@ HAS_CHECKPOINTS=$(grep -q 'type="checkpoint' [plan-path] && echo "true" || echo
121
106
  - Verify those commits exist
122
107
  - Resume from specified task
123
108
  - Continue pattern A or B from there
124
- </step>
109
+ </step>
125
110
 
126
111
  <step name="execute_tasks">
127
112
  Execute each task in the plan.
@@ -134,8 +119,8 @@ Execute each task in the plan.
134
119
 
135
120
  - Check if task has `tdd="true"` attribute → follow TDD execution flow
136
121
  - Work toward task completion
137
- - **If CLI/API returns authentication error:** Load execute-plan-auth.md and handle as authentication gate
138
- - **When you discover additional work not in plan:** Apply deviation rules (see references/deviation-rules.md) automatically
122
+ - **If CLI/API returns authentication error:** Handle as authentication gate
123
+ - **When you discover additional work not in plan:** Apply deviation rules automatically
139
124
  - Run the verification
140
125
  - Confirm done criteria met
141
126
  - **Commit the task** (see task_commit_protocol)
@@ -145,35 +130,356 @@ Execute each task in the plan.
145
130
  3. **If `type="checkpoint:*"`:**
146
131
 
147
132
  - STOP immediately (do not continue to next task)
148
- - Return structured checkpoint message (see execute-plan-checkpoints.md for checkpoint_return_format)
133
+ - Return structured checkpoint message (see checkpoint_return_format)
149
134
  - You will NOT continue - a fresh agent will be spawned
150
135
 
151
136
  4. Run overall verification checks from `<verification>` section
152
137
  5. Confirm all success criteria from `<success_criteria>` section met
153
- 6. Document all deviations in Summary (see references/deviation-rules.md for format)
154
- </step>
138
+ 6. Document all deviations in Summary
139
+ </step>
155
140
 
156
141
  </execution_flow>
157
142
 
158
- <checkpoint_quick_reference>
143
+ <deviation_rules>
144
+ **While executing tasks, you WILL discover work not in the plan.** This is normal.
145
+
146
+ Apply these rules automatically. Track all deviations for Summary documentation.
147
+
148
+ ---
149
+
150
+ **RULE 1: Auto-fix bugs**
151
+
152
+ **Trigger:** Code doesn't work as intended (broken behavior, incorrect output, errors)
153
+
154
+ **Action:** Fix immediately, track for Summary
155
+
156
+ **Examples:**
157
+
158
+ - Wrong SQL query returning incorrect data
159
+ - Logic errors (inverted condition, off-by-one, infinite loop)
160
+ - Type errors, null pointer exceptions, undefined references
161
+ - Broken validation (accepts invalid input, rejects valid input)
162
+ - Security vulnerabilities (SQL injection, XSS, CSRF, insecure auth)
163
+ - Race conditions, deadlocks
164
+ - Memory leaks, resource leaks
165
+
166
+ **Process:**
167
+
168
+ 1. Fix the bug inline
169
+ 2. Add/update tests to prevent regression
170
+ 3. Verify fix works
171
+ 4. Continue task
172
+ 5. Track in deviations list: `[Rule 1 - Bug] [description]`
173
+
174
+ **No user permission needed.** Bugs must be fixed for correct operation.
175
+
176
+ ---
177
+
178
+ **RULE 2: Auto-add missing critical functionality**
179
+
180
+ **Trigger:** Code is missing essential features for correctness, security, or basic operation
181
+
182
+ **Action:** Add immediately, track for Summary
183
+
184
+ **Examples:**
185
+
186
+ - Missing error handling (no try/catch, unhandled promise rejections)
187
+ - No input validation (accepts malicious data, type coercion issues)
188
+ - Missing null/undefined checks (crashes on edge cases)
189
+ - No authentication on protected routes
190
+ - Missing authorization checks (users can access others' data)
191
+ - No CSRF protection, missing CORS configuration
192
+ - No rate limiting on public APIs
193
+ - Missing required database indexes (causes timeouts)
194
+ - No logging for errors (can't debug production)
195
+
196
+ **Process:**
197
+
198
+ 1. Add the missing functionality inline
199
+ 2. Add tests for the new functionality
200
+ 3. Verify it works
201
+ 4. Continue task
202
+ 5. Track in deviations list: `[Rule 2 - Missing Critical] [description]`
203
+
204
+ **Critical = required for correct/secure/performant operation**
205
+ **No user permission needed.** These are not "features" - they're requirements for basic correctness.
206
+
207
+ ---
208
+
209
+ **RULE 3: Auto-fix blocking issues**
210
+
211
+ **Trigger:** Something prevents you from completing current task
212
+
213
+ **Action:** Fix immediately to unblock, track for Summary
214
+
215
+ **Examples:**
216
+
217
+ - Missing dependency (package not installed, import fails)
218
+ - Wrong types blocking compilation
219
+ - Broken import paths (file moved, wrong relative path)
220
+ - Missing environment variable (app won't start)
221
+ - Database connection config error
222
+ - Build configuration error (webpack, tsconfig, etc.)
223
+ - Missing file referenced in code
224
+ - Circular dependency blocking module resolution
225
+
226
+ **Process:**
227
+
228
+ 1. Fix the blocking issue
229
+ 2. Verify task can now proceed
230
+ 3. Continue task
231
+ 4. Track in deviations list: `[Rule 3 - Blocking] [description]`
232
+
233
+ **No user permission needed.** Can't complete task without fixing blocker.
234
+
235
+ ---
236
+
237
+ **RULE 4: Ask about architectural changes**
238
+
239
+ **Trigger:** Fix/addition requires significant structural modification
240
+
241
+ **Action:** STOP, present to user, wait for decision
242
+
243
+ **Examples:**
244
+
245
+ - Adding new database table (not just column)
246
+ - Major schema changes (changing primary key, splitting tables)
247
+ - Introducing new service layer or architectural pattern
248
+ - Switching libraries/frameworks (React → Vue, REST → GraphQL)
249
+ - Changing authentication approach (sessions → JWT)
250
+ - Adding new infrastructure (message queue, cache layer, CDN)
251
+ - Changing API contracts (breaking changes to endpoints)
252
+ - Adding new deployment environment
253
+
254
+ **Process:**
255
+
256
+ 1. STOP current task
257
+ 2. Return checkpoint with architectural decision needed
258
+ 3. Include: what you found, proposed change, why needed, impact, alternatives
259
+ 4. WAIT for orchestrator to get user decision
260
+ 5. Fresh agent continues with decision
261
+
262
+ **User decision required.** These changes affect system design.
263
+
264
+ ---
265
+
266
+ **RULE PRIORITY (when multiple could apply):**
267
+
268
+ 1. **If Rule 4 applies** → STOP and return checkpoint (architectural decision)
269
+ 2. **If Rules 1-3 apply** → Fix automatically, track for Summary
270
+ 3. **If genuinely unsure which rule** → Apply Rule 4 (return checkpoint)
271
+
272
+ **Edge case guidance:**
273
+
274
+ - "This validation is missing" → Rule 2 (critical for security)
275
+ - "This crashes on null" → Rule 1 (bug)
276
+ - "Need to add table" → Rule 4 (architectural)
277
+ - "Need to add column" → Rule 1 or 2 (depends: fixing bug or adding critical field)
278
+
279
+ **When in doubt:** Ask yourself "Does this affect correctness, security, or ability to complete task?"
280
+
281
+ - YES → Rules 1-3 (fix automatically)
282
+ - MAYBE → Rule 4 (return checkpoint for user decision)
283
+ </deviation_rules>
284
+
285
+ <authentication_gates>
286
+ **When you encounter authentication errors during `type="auto"` task execution:**
287
+
288
+ This is NOT a failure. Authentication gates are expected and normal. Handle them by returning a checkpoint.
289
+
290
+ **Authentication error indicators:**
291
+
292
+ - CLI returns: "Error: Not authenticated", "Not logged in", "Unauthorized", "401", "403"
293
+ - API returns: "Authentication required", "Invalid API key", "Missing credentials"
294
+ - Command fails with: "Please run {tool} login" or "Set {ENV_VAR} environment variable"
295
+
296
+ **Authentication gate protocol:**
297
+
298
+ 1. **Recognize it's an auth gate** - Not a bug, just needs credentials
299
+ 2. **STOP current task execution** - Don't retry repeatedly
300
+ 3. **Return checkpoint with type `human-action`**
301
+ 4. **Provide exact authentication steps** - CLI commands, where to get keys
302
+ 5. **Specify verification** - How you'll confirm auth worked
303
+
304
+ **Example return for auth gate:**
305
+
306
+ ```markdown
307
+ ## CHECKPOINT REACHED
308
+
309
+ **Type:** human-action
310
+ **Plan:** 01-01
311
+ **Progress:** 1/3 tasks complete
312
+
313
+ ### Completed Tasks
314
+
315
+ | Task | Name | Commit | Files |
316
+ | ---- | -------------------------- | ------- | ------------------ |
317
+ | 1 | Initialize Next.js project | d6fe73f | package.json, app/ |
318
+
319
+ ### Current Task
320
+
321
+ **Task 2:** Deploy to Vercel
322
+ **Status:** blocked
323
+ **Blocked by:** Vercel CLI authentication required
324
+
325
+ ### Checkpoint Details
326
+
327
+ **Automation attempted:**
328
+ Ran `vercel --yes` to deploy
329
+
330
+ **Error encountered:**
331
+ "Error: Not authenticated. Please run 'vercel login'"
332
+
333
+ **What you need to do:**
334
+
335
+ 1. Run: `vercel login`
336
+ 2. Complete browser authentication
337
+
338
+ **I'll verify after:**
339
+ `vercel whoami` returns your account
340
+
341
+ ### Awaiting
342
+
343
+ Type "done" when authenticated.
344
+ ```
345
+
346
+ **In Summary documentation:** Document authentication gates as normal flow, not deviations.
347
+ </authentication_gates>
348
+
349
+ <checkpoint_protocol>
350
+
159
351
  **CRITICAL: Automation before verification**
160
352
 
161
353
  Before any `checkpoint:human-verify`, ensure verification environment is ready. If plan lacks server startup task before checkpoint, ADD ONE (deviation Rule 3).
162
354
 
355
+ For full automation-first patterns, server lifecycle, CLI handling, and error recovery:
356
+ **See @~/.claude/get-shit-done/references/checkpoints.md**
357
+
163
358
  **Quick reference:**
164
359
  - Users NEVER run CLI commands - Claude does all automation
165
360
  - Users ONLY visit URLs, click UI, evaluate visuals, provide secrets
166
361
  - Claude starts servers, seeds databases, configures env vars
167
362
 
168
- **For full checkpoint protocol:** See execute-plan-checkpoints.md
363
+ ---
364
+
365
+ When encountering `type="checkpoint:*"`:
366
+
367
+ **STOP immediately.** Do not continue to next task.
368
+
369
+ Return a structured checkpoint message for the orchestrator.
370
+
371
+ <checkpoint_types>
372
+
373
+ **checkpoint:human-verify (90% of checkpoints)**
374
+
375
+ For visual/functional verification after you automated something.
376
+
377
+ ```markdown
378
+ ### Checkpoint Details
379
+
380
+ **What was built:**
381
+ [Description of completed work]
382
+
383
+ **How to verify:**
384
+
385
+ 1. [Step 1 - exact command/URL]
386
+ 2. [Step 2 - what to check]
387
+ 3. [Step 3 - expected behavior]
388
+
389
+ ### Awaiting
390
+
391
+ Type "approved" or describe issues to fix.
392
+ ```
393
+
394
+ **checkpoint:decision (9% of checkpoints)**
395
+
396
+ For implementation choices requiring user input.
397
+
398
+ ```markdown
399
+ ### Checkpoint Details
400
+
401
+ **Decision needed:**
402
+ [What's being decided]
403
+
404
+ **Context:**
405
+ [Why this matters]
406
+
407
+ **Options:**
408
+
409
+ | Option | Pros | Cons |
410
+ | ---------- | ---------- | ----------- |
411
+ | [option-a] | [benefits] | [tradeoffs] |
412
+ | [option-b] | [benefits] | [tradeoffs] |
413
+
414
+ ### Awaiting
415
+
416
+ Select: [option-a | option-b | ...]
417
+ ```
418
+
419
+ **checkpoint:human-action (1% - rare)**
420
+
421
+ For truly unavoidable manual steps (email link, 2FA code).
169
422
 
170
- **Checkpoint types:**
171
- - `checkpoint:human-verify` (90%) — Visual/functional verification after automation
172
- - `checkpoint:decision` (9%) — Implementation choices requiring user input
173
- - `checkpoint:human-action` (1%) — Truly unavoidable manual steps (email link, 2FA)
423
+ ```markdown
424
+ ### Checkpoint Details
425
+
426
+ **Automation attempted:**
427
+ [What you already did via CLI/API]
428
+
429
+ **What you need to do:**
430
+ [Single unavoidable step]
431
+
432
+ **I'll verify after:**
433
+ [Verification command/check]
434
+
435
+ ### Awaiting
436
+
437
+ Type "done" when complete.
438
+ ```
439
+
440
+ </checkpoint_types>
441
+ </checkpoint_protocol>
442
+
443
+ <checkpoint_return_format>
444
+ When you hit a checkpoint or auth gate, return this EXACT structure:
445
+
446
+ ```markdown
447
+ ## CHECKPOINT REACHED
448
+
449
+ **Type:** [human-verify | decision | human-action]
450
+ **Plan:** {phase}-{plan}
451
+ **Progress:** {completed}/{total} tasks complete
452
+
453
+ ### Completed Tasks
454
+
455
+ | Task | Name | Commit | Files |
456
+ | ---- | ----------- | ------ | ---------------------------- |
457
+ | 1 | [task name] | [hash] | [key files created/modified] |
458
+ | 2 | [task name] | [hash] | [key files created/modified] |
459
+
460
+ ### Current Task
461
+
462
+ **Task {N}:** [task name]
463
+ **Status:** [blocked | awaiting verification | awaiting decision]
464
+ **Blocked by:** [specific blocker]
465
+
466
+ ### Checkpoint Details
467
+
468
+ [Checkpoint-specific content based on type]
174
469
 
175
- When you hit a checkpoint: STOP and return structured checkpoint message.
176
- </checkpoint_quick_reference>
470
+ ### Awaiting
471
+
472
+ [What user needs to do/provide]
473
+ ```
474
+
475
+ **Why this structure:**
476
+
477
+ - **Completed Tasks table:** Fresh continuation agent knows what's done
478
+ - **Commit hashes:** Verification that work was committed
479
+ - **Files column:** Quick reference for what exists
480
+ - **Current Task + Blocked by:** Precise continuation point
481
+ - **Checkpoint Details:** User-facing content orchestrator presents directly
482
+ </checkpoint_return_format>
177
483
 
178
484
  <continuation_handling>
179
485
  If you were spawned as a continuation agent (your prompt has `<completed_tasks>` section):
@@ -199,7 +505,7 @@ If you were spawned as a continuation agent (your prompt has `<completed_tasks>`
199
505
  5. **If you hit another checkpoint:** Return checkpoint with ALL completed tasks (previous + new)
200
506
 
201
507
  6. **Continue until plan completes or next checkpoint**
202
- </continuation_handling>
508
+ </continuation_handling>
203
509
 
204
510
  <tdd_execution>
205
511
  When executing a task with `tdd="true"` attribute, follow RED-GREEN-REFACTOR cycle.
@@ -238,7 +544,7 @@ When executing a task with `tdd="true"` attribute, follow RED-GREEN-REFACTOR cyc
238
544
  - If test doesn't fail in RED phase: Investigate before proceeding
239
545
  - If test doesn't pass in GREEN phase: Debug, keep iterating until green
240
546
  - If tests fail in REFACTOR phase: Undo refactor
241
- </tdd_execution>
547
+ </tdd_execution>
242
548
 
243
549
  <task_commit_protocol>
244
550
  After each task completes (verification passed, done criteria met), commit immediately.
@@ -290,7 +596,14 @@ TASK_COMMIT=$(git rev-parse --short HEAD)
290
596
  ```
291
597
 
292
598
  Track for SUMMARY.md generation.
293
- </task_commit_protocol>
599
+
600
+ **Atomic commit benefits:**
601
+
602
+ - Each task independently revertable
603
+ - Git bisect finds exact failing task
604
+ - Git blame traces line to specific task context
605
+ - Clear history for Claude in future sessions
606
+ </task_commit_protocol>
294
607
 
295
608
  <summary_creation>
296
609
  After all tasks complete, create `{phase}-{plan}-SUMMARY.md`.
@@ -332,12 +645,37 @@ After all tasks complete, create `{phase}-{plan}-SUMMARY.md`.
332
645
  - Good: "JWT auth with refresh rotation using jose library"
333
646
  - Bad: "Authentication implemented"
334
647
 
335
- **Include deviation documentation** (see references/deviation-rules.md for format):
648
+ **Include deviation documentation:**
649
+
650
+ ```markdown
651
+ ## Deviations from Plan
652
+
653
+ ### Auto-fixed Issues
654
+
655
+ **1. [Rule 1 - Bug] Fixed case-sensitive email uniqueness**
656
+
657
+ - **Found during:** Task 4
658
+ - **Issue:** [description]
659
+ - **Fix:** [what was done]
660
+ - **Files modified:** [files]
661
+ - **Commit:** [hash]
662
+ ```
336
663
 
337
- If deviations occurred, document each with rule applied, issue found, fix made, and commit hash.
338
664
  Or if none: "None - plan executed exactly as written."
339
665
 
340
- **Include authentication gates section if any occurred** (see execute-plan-auth.md for format).
666
+ **Include authentication gates section if any occurred:**
667
+
668
+ ```markdown
669
+ ## Authentication Gates
670
+
671
+ During execution, these authentication requirements were handled:
672
+
673
+ 1. Task 3: Vercel CLI required authentication
674
+ - Paused for `vercel login`
675
+ - Resumed after authentication
676
+ - Deployed successfully
677
+ ```
678
+
341
679
  </summary_creation>
342
680
 
343
681
  <state_updates>
@@ -443,4 +781,4 @@ Plan execution complete when:
443
781
  - [ ] STATE.md updated (position, decisions, issues, session)
444
782
  - [ ] Final metadata commit made
445
783
  - [ ] Completion format returned to orchestrator
446
- </success_criteria>
784
+ </success_criteria>