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
@@ -123,31 +123,6 @@ Execute all plans in a phase.
123
123
 
124
124
  Usage: `/gsd:execute-phase 5`
125
125
 
126
- ### Autonomous Execution
127
-
128
- **`/gsd:autopilot`**
129
- Fully automated milestone execution.
130
-
131
- - Generates shell script that runs in separate terminal
132
- - Each phase gets fresh 200k context via `claude -p`
133
- - Loops: plan → execute → verify → handle gaps → next phase
134
- - Safe to interrupt and resume (state persists in `.planning/`)
135
- - Tracks cost and enforces budget limits
136
-
137
- Usage: `/gsd:autopilot`
138
- Then run: `bash .planning/autopilot.sh`
139
-
140
- **`/gsd:checkpoints`**
141
- Review and complete pending checkpoints from autopilot.
142
-
143
- - Interactive guided flow (no flags needed)
144
- - Shows human tasks created when plans need manual intervention
145
- - Checkpoints give instructions ("add these env vars") not data requests
146
- - Options: Done / Skip / Later
147
- - Approved checkpoints continue on next autopilot run
148
-
149
- Usage: `/gsd:checkpoints`
150
-
151
126
  ### Quick Mode
152
127
 
153
128
  **`/gsd:quick`**
@@ -384,11 +359,6 @@ Usage: `/gsd:join-discord`
384
359
  │ └── done/ # Completed todos
385
360
  ├── debug/ # Active debug sessions
386
361
  │ └── resolved/ # Archived resolved issues
387
- ├── checkpoints/ # Autopilot checkpoint queue
388
- │ ├── pending/ # Awaiting human action
389
- │ ├── approved/ # Ready for continuation
390
- │ └── processed/ # Completed (audit trail)
391
- ├── logs/ # Autopilot execution logs
392
362
  ├── codebase/ # Codebase map (brownfield projects)
393
363
  │ ├── STACK.md # Languages, frameworks, dependencies
394
364
  │ ├── ARCHITECTURE.md # Patterns, layers, data flow
@@ -485,19 +455,6 @@ Example config:
485
455
  /gsd:new-milestone # Start next milestone (questioning → research → requirements → roadmap)
486
456
  ```
487
457
 
488
- **Running autonomously (fire and forget):**
489
-
490
- ```
491
- /gsd:autopilot # Generate autopilot script
492
- # In separate terminal:
493
- bash .planning/autopilot.sh # Run attached (see output live)
494
- # Or for overnight runs:
495
- nohup bash .planning/autopilot.sh > .planning/logs/autopilot.log 2>&1 &
496
-
497
- # Check on checkpoints anytime:
498
- /gsd:checkpoints # Handle any tasks needing human input
499
- ```
500
-
501
458
  **Capturing ideas during work:**
502
459
 
503
460
  ```
@@ -323,13 +323,13 @@ questions: [
323
323
  ]
324
324
  },
325
325
  {
326
- header: "Planning Quality",
327
- question: "How thorough should planning agents be?",
326
+ header: "Model Profile",
327
+ question: "Which AI models for planning agents?",
328
328
  multiSelect: false,
329
329
  options: [
330
- { label: "Balanced (Recommended)", description: "Good quality/cost for planning agents" },
331
- { label: "Quality", description: "Deeper analysis, higher cost" },
332
- { label: "Budget", description: "Faster, lower cost" }
330
+ { label: "Balanced (Recommended)", description: "Sonnet for most agents — good quality/cost ratio" },
331
+ { label: "Quality", description: "Opus for research/roadmap — higher cost, deeper analysis" },
332
+ { label: "Budget", description: "Haiku where possible — fastest, lowest cost" }
333
333
  ]
334
334
  }
335
335
  ]
@@ -343,43 +343,21 @@ Create `.planning/config.json` with all settings:
343
343
  "depth": "quick|standard|comprehensive",
344
344
  "parallelization": true|false,
345
345
  "commit_docs": true|false,
346
- "model_profile": "balanced|quality|budget",
346
+ "model_profile": "quality|balanced|budget",
347
347
  "workflow": {
348
348
  "research": true|false,
349
349
  "plan_check": true|false,
350
350
  "verifier": true|false
351
- },
352
- "autopilot": {
353
- "checkpoint_mode": "queue|skip",
354
- "max_retries": 3,
355
- "budget_limit_usd": 0,
356
- "notify_webhook": "",
357
- "model": "default"
358
351
  }
359
352
  }
360
353
  ```
361
354
 
362
- **Autopilot settings (defaults shown):**
363
- - `checkpoint_mode`: How to handle plans needing human input
364
- - `queue`: Write to `.planning/checkpoints/pending/`, continue with other work
365
- - `skip`: Skip non-autonomous plans entirely
366
- - `max_retries`: Retry count before marking phase as failed (default: 3)
367
- - `budget_limit_usd`: Stop if estimated cost exceeds this (0 = unlimited)
368
- - `notify_webhook`: URL to POST notifications (empty = disabled)
369
-
370
355
  **If commit_docs = No:**
371
356
  - Set `commit_docs: false` in config.json
372
357
  - Add `.planning/` to `.gitignore` (create if needed)
373
358
 
374
359
  **If commit_docs = Yes:**
375
- - Add autopilot transient files to `.gitignore`:
376
- ```
377
- # GSD autopilot (transient files)
378
- .planning/autopilot.sh
379
- .planning/autopilot.lock
380
- .planning/logs/
381
- .planning/checkpoints/
382
- ```
360
+ - No additional gitignore entries needed
383
361
 
384
362
  **Commit config.json:**
385
363
 
@@ -971,48 +949,6 @@ Present completion with next steps:
971
949
 
972
950
  ───────────────────────────────────────────────────────────────
973
951
 
974
- **Optional:** If your project has UI, establish design foundations first:
975
-
976
- /gsd:design-system — conversational design system creation
977
-
978
- ───────────────────────────────────────────────────────────────
979
- ```
980
-
981
- Use AskUserQuestion to offer next steps:
982
-
983
- - header: "Next"
984
- - question: "How would you like to proceed?"
985
- - options:
986
- - "Run autopilot" — Execute entire milestone autonomously (Recommended)
987
- - "Plan phase 1" — Start with manual phase-by-phase execution
988
- - "Discuss phase 1" — Gather context before planning
989
- - "Create design system" — Establish visual foundations first (UI projects)
990
-
991
- **If "Run autopilot":**
992
- ```
993
- /gsd:autopilot
994
- ```
995
- Route to autopilot command.
996
-
997
- **If "Plan phase 1":**
998
- ```
999
- ───────────────────────────────────────────────────────────────
1000
-
1001
- ## ▶ Next Up
1002
-
1003
- **Phase 1: [Phase Name]** — [Goal from ROADMAP.md]
1004
-
1005
- /gsd:plan-phase 1
1006
-
1007
- <sub>/clear first → fresh context window</sub>
1008
-
1009
- ───────────────────────────────────────────────────────────────
1010
- ```
1011
-
1012
- **If "Discuss phase 1":**
1013
- ```
1014
- ───────────────────────────────────────────────────────────────
1015
-
1016
952
  ## ▶ Next Up
1017
953
 
1018
954
  **Phase 1: [Phase Name]** — [Goal from ROADMAP.md]
@@ -1021,32 +957,10 @@ Route to autopilot command.
1021
957
 
1022
958
  <sub>/clear first → fresh context window</sub>
1023
959
 
1024
- ───────────────────────────────────────────────────────────────
960
+ ---
1025
961
 
1026
962
  **Also available:**
1027
963
  - /gsd:plan-phase 1 — skip discussion, plan directly
1028
- - /gsd:autopilot — execute entire milestone autonomously
1029
-
1030
- ───────────────────────────────────────────────────────────────
1031
- ```
1032
-
1033
- **If "Create design system":**
1034
- ```
1035
- ───────────────────────────────────────────────────────────────
1036
-
1037
- ## ▶ Design System
1038
-
1039
- Establish visual foundations before building UI phases.
1040
-
1041
- /gsd:design-system
1042
-
1043
- <sub>/clear first → fresh context window</sub>
1044
-
1045
- ───────────────────────────────────────────────────────────────
1046
-
1047
- After design system is created, continue with:
1048
- - /gsd:discuss-design 1 — design phase-specific UI
1049
- - /gsd:plan-phase 1 — plan the first phase
1050
964
 
1051
965
  ───────────────────────────────────────────────────────────────
1052
966
  ```
@@ -246,17 +246,11 @@ REQUIREMENTS_CONTENT=$(cat .planning/REQUIREMENTS.md 2>/dev/null)
246
246
  CONTEXT_CONTENT=$(cat "${PHASE_DIR}"/*-CONTEXT.md 2>/dev/null)
247
247
  RESEARCH_CONTENT=$(cat "${PHASE_DIR}"/*-RESEARCH.md 2>/dev/null)
248
248
 
249
- # Design context (from /gsd:discuss-design)
250
- DESIGN_CONTENT=$(cat "${PHASE_DIR}"/*-DESIGN.md 2>/dev/null)
251
- DESIGN_SYSTEM_CONTENT=$(cat .planning/DESIGN-SYSTEM.md 2>/dev/null)
252
-
253
249
  # Gap closure files (only if --gaps mode)
254
250
  VERIFICATION_CONTENT=$(cat "${PHASE_DIR}"/*-VERIFICATION.md 2>/dev/null)
255
251
  UAT_CONTENT=$(cat "${PHASE_DIR}"/*-UAT.md 2>/dev/null)
256
252
  ```
257
253
 
258
- **If DESIGN.md exists:** Display `Using phase design: ${PHASE_DIR}/${PHASE}-DESIGN.md`
259
-
260
254
  ## 8. Spawn gsd-planner Agent
261
255
 
262
256
  Display stage banner:
@@ -291,12 +285,6 @@ Fill prompt with inlined content and spawn:
291
285
  **Research (if exists):**
292
286
  {research_content}
293
287
 
294
- **Design System (if exists):**
295
- {design_system_content}
296
-
297
- **Phase Design (if exists):**
298
- {design_content}
299
-
300
288
  **Gap Closure (if --gaps mode):**
301
289
  {verification_content}
302
290
  {uat_content}
@@ -486,24 +474,6 @@ Route to `<offer_next>`.
486
474
  </process>
487
475
 
488
476
  <offer_next>
489
- **Check autopilot mode first:**
490
-
491
- ```bash
492
- echo $GSD_AUTOPILOT
493
- ```
494
-
495
- **If GSD_AUTOPILOT=1 (autopilot mode):**
496
-
497
- Output minimal plain text confirmation:
498
-
499
- ```
500
- Phase {X} planned: {N} plan(s) ready
501
- ```
502
-
503
- Then stop. Do NOT output the "Next Up" section or any guidance.
504
-
505
- **Otherwise (interactive mode):**
506
-
507
477
  Output this markdown directly (not as a code block):
508
478
 
509
479
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -526,15 +496,15 @@ Verification: {Passed | Passed with override | Skipped}
526
496
 
527
497
  **Execute Phase {X}** — run all {N} plans
528
498
 
529
- `/gsd:execute-phase {X}`
499
+ /gsd:execute-phase {X}
530
500
 
531
- <sub>`/clear` first → fresh context window</sub>
501
+ <sub>/clear first → fresh context window</sub>
532
502
 
533
503
  ───────────────────────────────────────────────────────────────
534
504
 
535
505
  **Also available:**
536
- - `cat .planning/phases/{phase-dir}/*-PLAN.md` — review plans
537
- - `/gsd:plan-phase {X} --research` — re-research first
506
+ - cat .planning/phases/{phase-dir}/*-PLAN.md — review plans
507
+ - /gsd:plan-phase {X} --research — re-research first
538
508
 
539
509
  ───────────────────────────────────────────────────────────────
540
510
  </offer_next>
@@ -546,7 +516,7 @@ Verification: {Passed | Passed with override | Skipped}
546
516
  - [ ] Research completed (unless --skip-research or --gaps or exists)
547
517
  - [ ] gsd-phase-researcher spawned if research needed
548
518
  - [ ] Existing plans checked
549
- - [ ] gsd-planner spawned with context (including RESEARCH.md, DESIGN.md if available)
519
+ - [ ] gsd-planner spawned with context (including RESEARCH.md if available)
550
520
  - [ ] Plans created (PLANNING COMPLETE or CHECKPOINT handled)
551
521
  - [ ] gsd-plan-checker spawned (unless --skip-verify)
552
522
  - [ ] Verification passed OR user override OR max iterations with user decision
@@ -600,7 +600,7 @@ Some things can't be verified programmatically. Flag these for human testing:
600
600
 
601
601
  For automation-first checkpoint patterns, server lifecycle management, CLI installation handling, and error recovery protocols, see:
602
602
 
603
- **@~/.claude/get-shit-done/references/checkpoint-execution.md** → `<automation_reference>` section
603
+ **@~/.claude/get-shit-done/references/checkpoints.md** → `<automation_reference>` section
604
604
 
605
605
  Key principles:
606
606
  - Claude sets up verification environment BEFORE presenting checkpoints
@@ -40,7 +40,7 @@ Output: [What artifacts will be created]
40
40
  @~/.claude/get-shit-done/workflows/execute-plan.md
41
41
  @~/.claude/get-shit-done/templates/summary.md
42
42
  [If plan contains checkpoint tasks (type="checkpoint:*"), add:]
43
- @~/.claude/get-shit-done/references/checkpoint-types.md
43
+ @~/.claude/get-shit-done/references/checkpoints.md
44
44
  </execution_context>
45
45
 
46
46
  <context>
@@ -75,7 +75,7 @@ Output: [What artifacts will be created]
75
75
  <done>[Acceptance criteria]</done>
76
76
  </task>
77
77
 
78
- <!-- For checkpoint task examples and patterns, see @~/.claude/get-shit-done/references/checkpoint-types.md -->
78
+ <!-- For checkpoint task examples and patterns, see @~/.claude/get-shit-done/references/checkpoints.md -->
79
79
  <!-- Key rule: Claude starts dev server BEFORE human-verify checkpoints. User only visits URLs. -->
80
80
 
81
81
  <task type="checkpoint:decision" gate="blocking">
@@ -374,7 +374,7 @@ Output: Working dashboard component.
374
374
  <execution_context>
375
375
  @~/.claude/get-shit-done/workflows/execute-plan.md
376
376
  @~/.claude/get-shit-done/templates/summary.md
377
- @~/.claude/get-shit-done/references/checkpoint-types.md
377
+ @~/.claude/get-shit-done/references/checkpoints.md
378
378
  </execution_context>
379
379
 
380
380
  <context>
@@ -393,7 +393,7 @@ Output: Working dashboard component.
393
393
  <done>Dashboard renders without errors</done>
394
394
  </task>
395
395
 
396
- <!-- Checkpoint pattern: Claude starts server, user visits URL. See checkpoint-types.md for full patterns. -->
396
+ <!-- Checkpoint pattern: Claude starts server, user visits URL. See checkpoints.md for full patterns. -->
397
397
  <task type="auto">
398
398
  <name>Start dev server</name>
399
399
  <action>Run `npm run dev` in background, wait for ready</action>
@@ -71,23 +71,6 @@ None yet.
71
71
  Last session: [YYYY-MM-DD HH:MM]
72
72
  Stopped at: [Description of last completed action]
73
73
  Resume file: [Path to .continue-here*.md if exists, otherwise "None"]
74
-
75
- ## Autopilot
76
-
77
- - **Mode:** [idle | running | paused | completed | failed]
78
- - **Started:** [timestamp or "—"]
79
- - **Current Phase:** [phase number or "—"]
80
- - **Phases Remaining:** [list or "none"]
81
- - **Checkpoints Pending:** [count or "none"]
82
- - **Last Error:** [error description or "none"]
83
- - **Updated:** [timestamp]
84
-
85
- ## Cost Tracking
86
-
87
- | Phase | Tokens | Est. Cost |
88
- |-------|--------|-----------|
89
- | — | — | — |
90
- | **Total** | 0 | $0.00 |
91
74
  ```
92
75
 
93
76
  <purpose>
@@ -178,26 +161,6 @@ Enables instant resumption:
178
161
  - What was last completed
179
162
  - Is there a .continue-here file to resume from
180
163
 
181
- ### Autopilot
182
- Tracks autonomous execution state:
183
- - **Mode:** idle (not running), running (actively executing), paused (budget/checkpoint), completed, failed
184
- - **Started:** When autopilot began
185
- - **Current Phase:** Which phase is being executed
186
- - **Phases Remaining:** Phases yet to execute
187
- - **Checkpoints Pending:** Count of checkpoints awaiting human approval
188
- - **Last Error:** Most recent error if failed/paused
189
- - **Updated:** Last state change timestamp
190
-
191
- Updated by autopilot script during execution.
192
-
193
- ### Cost Tracking
194
- Tracks token usage and estimated cost:
195
- - Per-phase breakdown
196
- - Running total
197
- - Used for budget enforcement
198
-
199
- Updated after each phase completes.
200
-
201
164
  </sections>
202
165
 
203
166
  <size_constraint>
@@ -143,21 +143,6 @@ waves = {
143
143
 
144
144
  **No dependency analysis needed.** Wave numbers are pre-computed during `/gsd:plan-phase`.
145
145
 
146
- **Check autopilot mode:**
147
-
148
- ```bash
149
- echo $GSD_AUTOPILOT
150
- ```
151
-
152
- **If GSD_AUTOPILOT=1 (autopilot mode):**
153
-
154
- Report minimal plain text:
155
- ```
156
- Phase {X}: {total_plans} plans, {wave_count} waves
157
- ```
158
-
159
- **Otherwise (interactive mode):**
160
-
161
146
  Report wave structure with context:
162
147
  ```
163
148
  ## Execution Plan
@@ -228,7 +213,7 @@ Execute each wave in sequence. Autonomous plans within a wave run in parallel.
228
213
  <execution_context>
229
214
  @~/.claude/get-shit-done/workflows/execute-plan.md
230
215
  @~/.claude/get-shit-done/templates/summary.md
231
- @~/.claude/get-shit-done/references/checkpoint-execution.md
216
+ @~/.claude/get-shit-done/references/checkpoints.md
232
217
  @~/.claude/get-shit-done/references/tdd.md
233
218
  </execution_context>
234
219
 
@@ -471,16 +456,6 @@ If user reports issues → treat as gaps_found.
471
456
 
472
457
  **If gaps_found:**
473
458
 
474
- **Check autopilot mode:**
475
-
476
- ```bash
477
- echo $GSD_AUTOPILOT
478
- ```
479
-
480
- **If GSD_AUTOPILOT=1:** Output `Phase {X} verification: gaps_found` and stop. Autopilot script handles gap closure.
481
-
482
- **Otherwise (interactive mode):**
483
-
484
459
  Present gaps and offer next command:
485
460
 
486
461
  ```markdown
@@ -549,24 +524,6 @@ git commit -m "docs(phase-{X}): complete phase execution"
549
524
  </step>
550
525
 
551
526
  <step name="offer_next">
552
- **Check autopilot mode first:**
553
-
554
- ```bash
555
- echo $GSD_AUTOPILOT
556
- ```
557
-
558
- **If GSD_AUTOPILOT=1 (autopilot mode):**
559
-
560
- Output minimal plain text confirmation:
561
-
562
- ```
563
- Phase {X} complete: {N} plans executed, verification {passed|gaps_found|human_needed}
564
- ```
565
-
566
- Then stop. Do NOT output the "Next Up" section or any guidance.
567
-
568
- **Otherwise (interactive mode):**
569
-
570
527
  Present next steps based on milestone status:
571
528
 
572
529
  **If more phases remain:**