get-shit-done-cc 1.3.15 → 1.3.16

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.
@@ -0,0 +1,150 @@
1
+ ---
2
+ description: Autonomous mode - reads state, executes next step, spawns next Claude.
3
+ allowed-tools:
4
+ - Read
5
+ - Bash
6
+ - Grep
7
+ - Glob
8
+ - SlashCommand
9
+ ---
10
+
11
+ <objective>
12
+ Autonomous execution with self-spawning. Run once:
13
+ ```bash
14
+ claude --dangerously-skip-permissions '/gsd:auto'
15
+ ```
16
+
17
+ Reads STATE.md, determines next action, executes it, then spawns a fresh Claude to continue.
18
+ Chains until milestone complete. All gates auto-approved.
19
+ </objective>
20
+
21
+ <process>
22
+
23
+ <step name="verify_yolo">
24
+ **Check yolo mode is enabled:**
25
+
26
+ ```bash
27
+ cat .planning/config.json 2>/dev/null
28
+ ```
29
+
30
+ Parse the JSON. If `mode` is not `"yolo"`, refuse:
31
+
32
+ ```
33
+ ⚠ Auto mode requires yolo mode.
34
+
35
+ Set in .planning/config.json:
36
+ {"mode": "yolo"}
37
+
38
+ Then run:
39
+ while true; do claude -p --dangerously-skip-permissions '/gsd:auto'; done
40
+ ```
41
+
42
+ Exit without executing anything.
43
+
44
+ If no `.planning/` directory exists:
45
+
46
+ ```
47
+ No planning structure found.
48
+ Run /gsd:new-project first.
49
+ ```
50
+
51
+ Exit.
52
+ </step>
53
+
54
+ <step name="load_state">
55
+ **Load minimal state:**
56
+
57
+ - Read `.planning/STATE.md` - current position
58
+ - Read `.planning/ROADMAP.md` - phase structure
59
+
60
+ Extract:
61
+ - Current phase number
62
+ - Current plan number (or "none")
63
+ - Phase status (planning/executing/complete)
64
+ - Total phases in milestone
65
+ </step>
66
+
67
+ <step name="determine_action">
68
+ **Determine next action based on state:**
69
+
70
+ Check what exists in `.planning/phases/`:
71
+
72
+ 1. **No PLAN.md for current phase** → need to plan
73
+ 2. **PLAN.md exists, no SUMMARY.md** → need to execute
74
+ 3. **SUMMARY.md exists for all plans in phase** → phase complete, check next
75
+ 4. **All phases complete** → milestone complete
76
+
77
+ Logic:
78
+ ```
79
+ if current_phase has no PLAN.md:
80
+ action = plan-phase
81
+ elif current_phase has unexecuted PLAN.md:
82
+ action = execute-plan
83
+ elif current_phase complete AND more phases exist:
84
+ action = plan-phase (next phase)
85
+ elif all phases complete:
86
+ action = complete-milestone
87
+ ```
88
+ </step>
89
+
90
+ <step name="execute">
91
+ **Execute the determined action immediately:**
92
+
93
+ No status report. No "Next Up" display. Just execute.
94
+
95
+ **If action = plan-phase:**
96
+ ```
97
+ ▶ AUTO: /gsd:plan-phase [N]
98
+ ```
99
+ Invoke: `SlashCommand("/gsd:plan-phase [N]")`
100
+
101
+ **If action = execute-plan:**
102
+ ```
103
+ ▶ AUTO: /gsd:execute-plan [path]
104
+ ```
105
+ Invoke: `SlashCommand("/gsd:execute-plan [full-path-to-PLAN.md]")`
106
+
107
+ **If action = complete-milestone:**
108
+ ```
109
+ ▶ AUTO: /gsd:complete-milestone
110
+ ```
111
+ Invoke: `SlashCommand("/gsd:complete-milestone")`
112
+
113
+ **If milestone already complete:**
114
+ ```
115
+ ✅ Milestone complete. Nothing to do.
116
+ ```
117
+ Exit cleanly (loop will restart, hit this again, user can Ctrl+C).
118
+ </step>
119
+
120
+ </process>
121
+
122
+ <auto_approve_context>
123
+ **CRITICAL: ALL HUMAN CHECKPOINTS ARE AUTO-APPROVED IN /gsd:auto**
124
+
125
+ When executing via /gsd:auto, treat ALL checkpoint types as auto-approved:
126
+
127
+ - `checkpoint:human-verify` → AUTO-APPROVED, log "Auto-verified in yolo mode"
128
+ - `checkpoint:decision` → AUTO-APPROVED, pick the most sensible default
129
+ - `checkpoint:human-action` → SKIP if possible, or simulate completion
130
+ - Any "Type approved to continue" → AUTO-APPROVED
131
+ - Any "Does this look right?" → YES
132
+ - Any confirmation prompt → CONFIRMED
133
+
134
+ **DO NOT STOP AND WAIT FOR INPUT. EVER.**
135
+
136
+ If a checkpoint would normally block, instead:
137
+ 1. Log: "⚡ Auto-approved: [checkpoint description]"
138
+ 2. Continue execution immediately
139
+
140
+ The invoked commands should detect yolo mode from config.json and apply this behavior.
141
+ </auto_approve_context>
142
+
143
+ <success_criteria>
144
+ - [ ] Refuses to run if mode != yolo
145
+ - [ ] Reads state, determines action
146
+ - [ ] Executes exactly one action via SlashCommand
147
+ - [ ] No prompts, no waiting, no "Next Up" display
148
+ - [ ] Exits cleanly after action completes
149
+ - [ ] Works with: while true; do claude -p --dangerously-skip-permissions '/gsd:auto'; done
150
+ </success_criteria>
@@ -32,7 +32,7 @@ Milestone name: $ARGUMENTS (optional - will prompt if not provided)
32
32
  1. Load project context (STATE.md, ROADMAP.md, MILESTONES.md)
33
33
  2. Calculate next milestone version and starting phase number
34
34
  3. If milestone name provided in arguments, use it; otherwise prompt
35
- 4. Gather phases (3-6 recommended):
35
+ 4. Gather phases (per depth setting: quick 3-5, standard 5-8, comprehensive 8-12):
36
36
  - If called from /gsd:discuss-milestone, use provided context
37
37
  - Otherwise, prompt for phase breakdown
38
38
  5. Detect research needs for each phase
@@ -48,7 +48,7 @@ Milestone name: $ARGUMENTS (optional - will prompt if not provided)
48
48
  <success_criteria>
49
49
 
50
50
  - Next phase number calculated correctly (continues from previous milestone)
51
- - 3-6 phases defined with clear names
51
+ - Phases defined per depth setting (quick: 3-5, standard: 5-8, comprehensive: 8-12)
52
52
  - Research flags assigned for each phase
53
53
  - ROADMAP.md updated with new milestone section
54
54
  - Phase directories created
@@ -230,7 +230,24 @@ Use AskUserQuestion:
230
230
  - "Interactive" — Confirm at each step
231
231
  - "YOLO" — Auto-approve, just execute
232
232
 
233
- Create `.planning/config.json` with chosen mode using `templates/config.json` structure.
233
+ </step>
234
+
235
+ <step name="depth">
236
+
237
+ Ask planning depth preference:
238
+
239
+ Use AskUserQuestion:
240
+
241
+ - header: "Depth"
242
+ - question: "How thorough should planning be?"
243
+ - options:
244
+ - "Quick" — Ship fast, minimal phases/plans (3-5 phases, 1-3 plans each)
245
+ - "Standard" — Balanced scope and speed (5-8 phases, 3-5 plans each)
246
+ - "Comprehensive" — Thorough coverage, more phases/plans (8-12 phases, 5-10 plans each)
247
+
248
+ **Depth controls quantity, not quality.** All depths use 2-3 tasks per plan. Depth determines how many plans get created—more depth means more plans, not bigger plans.
249
+
250
+ Create `.planning/config.json` with chosen mode and depth using `templates/config.json` structure.
234
251
 
235
252
  </step>
236
253
 
@@ -102,6 +102,33 @@ Each: 30-40% context, peak quality, focused commits
102
102
  **3 tasks:** Simple ~45%, Medium ~75% (risky), Complex 120% (impossible)
103
103
  </estimating_context>
104
104
 
105
+ <depth_calibration>
106
+ **Depth controls plan count, not plan size.**
107
+
108
+ | Depth | Phases | Plans/Phase | Tasks/Plan |
109
+ |-------|--------|-------------|------------|
110
+ | Quick | 3-5 | 1-3 | 2-3 |
111
+ | Standard | 5-8 | 3-5 | 2-3 |
112
+ | Comprehensive | 8-12 | 5-10 | 2-3 |
113
+
114
+ Tasks/plan is CONSTANT at 2-3. The 50% context rule applies universally.
115
+
116
+ Depth determines thoroughness by creating more phases and more plans—never by cramming more into each plan.
117
+
118
+ **Comprehensive depth example:**
119
+ Auth system at comprehensive depth = 8 plans (not 3 big ones):
120
+ - 01: DB models (2 tasks)
121
+ - 02: Password hashing (2 tasks)
122
+ - 03: JWT generation (2 tasks)
123
+ - 04: JWT validation middleware (2 tasks)
124
+ - 05: Login endpoint (2 tasks)
125
+ - 06: Register endpoint (2 tasks)
126
+ - 07: Protected route patterns (2 tasks)
127
+ - 08: Auth UI components (3 tasks)
128
+
129
+ Each plan: fresh context, peak quality. More plans = more thoroughness, same quality per plan.
130
+ </depth_calibration>
131
+
105
132
  <summary>
106
133
  **2-3 tasks, 50% context target:**
107
134
  - All tasks: Peak quality
@@ -111,5 +138,7 @@ Each: 30-40% context, peak quality, focused commits
111
138
  **The principle:** Aggressive atomicity. More plans, smaller scope, consistent quality.
112
139
 
113
140
  **The rule:** If in doubt, split. Quality over consolidation. Always.
141
+
142
+ **Depth rule:** Depth increases plan COUNT, never plan SIZE.
114
143
  </summary>
115
144
  </scope_estimation>
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "mode": "interactive",
3
+ "depth": "standard",
3
4
  "gates": {
4
5
  "confirm_project": true,
5
6
  "confirm_phases": true,
@@ -100,7 +100,7 @@ Phases execute in numeric order: 2 → 2.1 → 2.2 → 3 → 3.1 → 4
100
100
 
101
101
  <guidelines>
102
102
  **Initial planning (v1.0):**
103
- - 3-6 phases total (more = scope creep)
103
+ - Phase count depends on depth setting (quick: 3-5, standard: 5-8, comprehensive: 8-12)
104
104
  - Each phase delivers something coherent
105
105
  - Phases can have 1+ plans (split if >3 tasks or multiple subsystems)
106
106
  - Plans use naming: {phase}-{plan}-PLAN.md (e.g., 01-02-PLAN.md)
@@ -71,7 +71,17 @@ grep -E "^### Phase [0-9]+" .planning/ROADMAP.md | tail -1
71
71
 
72
72
  Next phase starts at: [last_phase + 1]
73
73
 
74
- **Gather phases (3-6 recommended):**
74
+ **Check depth setting and gather phases accordingly:**
75
+
76
+ ```bash
77
+ cat .planning/config.json 2>/dev/null | grep depth
78
+ ```
79
+
80
+ | Depth | Phases/Milestone |
81
+ |-------|------------------|
82
+ | Quick | 3-5 |
83
+ | Standard | 5-8 |
84
+ | Comprehensive | 8-12 |
75
85
 
76
86
  If context from discuss-milestone provided, use that scope.
77
87
 
@@ -359,7 +369,7 @@ Numbers continue from previous milestone. Names describe content.
359
369
  - Don't restart phase numbering at 01 (continue sequence)
360
370
  - Don't add time estimates
361
371
  - Don't create Gantt charts
362
- - Don't plan more than 6 phases per milestone (scope creep)
372
+ - Respect depth setting for phase count (quick: 3-5, standard: 5-8, comprehensive: 8-12)
363
373
  - Don't modify completed milestone sections
364
374
 
365
375
  Milestones are coherent chunks of work, not project management artifacts.
@@ -368,7 +378,7 @@ Milestones are coherent chunks of work, not project management artifacts.
368
378
  <success_criteria>
369
379
  Milestone creation is complete when:
370
380
  - [ ] Next phase number calculated correctly (continues from previous)
371
- - [ ] 3-6 phases defined with clear names
381
+ - [ ] Phases defined per depth setting (quick: 3-5, standard: 5-8, comprehensive: 8-12)
372
382
  - [ ] Research flags assigned for each phase
373
383
  - [ ] ROADMAP.md updated with new milestone section
374
384
  - [ ] Phase directories created
@@ -81,7 +81,35 @@ Select (comma-separate for multiple):
81
81
  </step>
82
82
 
83
83
  <step name="identify_phases">
84
- Derive phases from the actual work needed. The phase count emerges from the project—don't impose a number.
84
+ Derive phases from the actual work needed.
85
+
86
+ **Check depth setting:**
87
+ ```bash
88
+ cat .planning/config.json 2>/dev/null | grep depth
89
+ ```
90
+
91
+ <depth_guidance>
92
+ **Phase count targets by depth:**
93
+
94
+ | Depth | Target Phases | Plans/Phase | Tasks/Plan |
95
+ |-------|---------------|-------------|------------|
96
+ | Quick | 3-5 | 1-3 | 2-3 |
97
+ | Standard | 5-8 | 3-5 | 2-3 |
98
+ | Comprehensive | 8-12 | 5-10 | 2-3 |
99
+
100
+ **Tasks/plan is constant (2-3). Depth scales phases and plans, not task density.**
101
+
102
+ For comprehensive depth:
103
+ - Don't compress multiple features into single phases
104
+ - Each major capability gets its own phase
105
+ - "Too many phases" is NOT a concern—thoroughness is the goal
106
+ - If you're tempted to combine two things, make them separate phases instead
107
+
108
+ For quick depth:
109
+ - Combine related work aggressively
110
+ - Focus on critical path only
111
+ - Defer nice-to-haves to future milestones
112
+ </depth_guidance>
85
113
 
86
114
  **Phase Numbering System:**
87
115
 
@@ -226,6 +226,34 @@ See ~/.claude/get-shit-done/references/checkpoints.md for checkpoint structure.
226
226
  <step name="estimate_scope">
227
227
  After tasks, assess against quality degradation curve.
228
228
 
229
+ **Check depth setting:**
230
+ ```bash
231
+ cat .planning/config.json 2>/dev/null | grep depth
232
+ ```
233
+
234
+ <depth_aware_splitting>
235
+ **Plan count targets by depth:**
236
+
237
+ | Depth | Plans/Phase | Tasks/Plan |
238
+ |-------|-------------|------------|
239
+ | Quick | 1-3 | 2-3 |
240
+ | Standard | 3-5 | 2-3 |
241
+ | Comprehensive | 5-10 | 2-3 |
242
+
243
+ **Tasks/plan is ALWAYS 2-3. Depth determines how many plans you create, not how big each plan is.**
244
+
245
+ For comprehensive depth:
246
+ - Create MORE plans, not bigger ones
247
+ - If a phase has 15 tasks, that's 5-8 plans (not 3 plans with 5 tasks each)
248
+ - Don't compress to look efficient—thoroughness is the goal
249
+ - Each plan stays focused: 2-3 tasks, single concern
250
+
251
+ For quick depth:
252
+ - Combine aggressively into fewer plans
253
+ - 1-3 plans per phase is fine
254
+ - Focus on critical path
255
+ </depth_aware_splitting>
256
+
229
257
  **ALWAYS split if:** >3 tasks, multiple subsystems, >5 files in any task, complex domains (auth, payments).
230
258
 
231
259
  **If scope appropriate (2-3 tasks, single subsystem, <5 files/task):** Proceed to confirm_breakdown.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "get-shit-done-cc",
3
- "version": "1.3.15",
3
+ "version": "1.3.16",
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"