get-shit-done-cc 1.3.21 → 1.3.23
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/README.md +9 -0
- package/package.json +1 -1
- package/commands/gsd/auto.md +0 -150
package/README.md
CHANGED
|
@@ -22,6 +22,15 @@ npx get-shit-done-cc
|
|
|
22
22
|
|
|
23
23
|
That's it. Works on Mac, Windows, and Linux.
|
|
24
24
|
|
|
25
|
+
### Non-interactive Install (Docker, CI, Scripts)
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npx get-shit-done-cc --global # Install to ~/.claude/
|
|
29
|
+
npx get-shit-done-cc --local # Install to ./.claude/
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Use `--global` (`-g`) or `--local` (`-l`) to skip the interactive prompt.
|
|
33
|
+
|
|
25
34
|
Verify: `/gsd:help`
|
|
26
35
|
|
|
27
36
|
---
|
package/package.json
CHANGED
package/commands/gsd/auto.md
DELETED
|
@@ -1,150 +0,0 @@
|
|
|
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>
|