get-shit-done-cc 1.5.29 → 1.6.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.
@@ -334,28 +334,180 @@ Spawning parallel debug agents to investigate each issue.
334
334
  - Spawn parallel debug agents for each issue
335
335
  - Collect root causes
336
336
  - Update UAT.md with root causes
337
- - Proceed to `offer_gap_closure`
337
+ - Proceed to `plan_gap_closure`
338
338
 
339
339
  Diagnosis runs automatically - no user prompt. Parallel agents investigate simultaneously, so overhead is minimal and fixes are more accurate.
340
340
  </step>
341
341
 
342
- <step name="offer_gap_closure">
343
- **Offer next steps after diagnosis:**
342
+ <step name="plan_gap_closure">
343
+ **Auto-plan fixes from diagnosed gaps:**
344
344
 
345
+ Display:
346
+ ```
347
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
348
+ GSD ► PLANNING FIXES
349
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
350
+
351
+ ◆ Spawning planner for gap closure...
345
352
  ```
346
- ---
347
353
 
348
- ## Diagnosis Complete
354
+ Spawn gsd-planner in --gaps mode:
349
355
 
350
- | Gap | Root Cause |
351
- |-----|------------|
352
- | {truth 1} | {root_cause} |
353
- | {truth 2} | {root_cause} |
354
- ...
356
+ ```
357
+ Task(
358
+ prompt="""
359
+ <planning_context>
360
+
361
+ **Phase:** {phase_number}
362
+ **Mode:** gap_closure
363
+
364
+ **UAT with diagnoses:**
365
+ @.planning/phases/{phase_dir}/{phase}-UAT.md
366
+
367
+ **Project State:**
368
+ @.planning/STATE.md
369
+
370
+ **Roadmap:**
371
+ @.planning/ROADMAP.md
372
+
373
+ </planning_context>
374
+
375
+ <downstream_consumer>
376
+ Output consumed by /gsd:execute-phase
377
+ Plans must be executable prompts.
378
+ </downstream_consumer>
379
+ """,
380
+ subagent_type="gsd-planner",
381
+ description="Plan gap fixes for Phase {phase}"
382
+ )
383
+ ```
384
+
385
+ On return:
386
+ - **PLANNING COMPLETE:** Proceed to `verify_gap_plans`
387
+ - **PLANNING INCONCLUSIVE:** Report and offer manual intervention
388
+ </step>
389
+
390
+ <step name="verify_gap_plans">
391
+ **Verify fix plans with checker:**
392
+
393
+ Display:
394
+ ```
395
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
396
+ GSD ► VERIFYING FIX PLANS
397
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
398
+
399
+ ◆ Spawning plan checker...
400
+ ```
401
+
402
+ Initialize: `iteration_count = 1`
403
+
404
+ Spawn gsd-plan-checker:
405
+
406
+ ```
407
+ Task(
408
+ prompt="""
409
+ <verification_context>
410
+
411
+ **Phase:** {phase_number}
412
+ **Phase Goal:** Close diagnosed gaps from UAT
413
+
414
+ **Plans to verify:**
415
+ @.planning/phases/{phase_dir}/*-PLAN.md
416
+
417
+ </verification_context>
418
+
419
+ <expected_output>
420
+ Return one of:
421
+ - ## VERIFICATION PASSED — all checks pass
422
+ - ## ISSUES FOUND — structured issue list
423
+ </expected_output>
424
+ """,
425
+ subagent_type="gsd-plan-checker",
426
+ description="Verify Phase {phase} fix plans"
427
+ )
428
+ ```
429
+
430
+ On return:
431
+ - **VERIFICATION PASSED:** Proceed to `present_ready`
432
+ - **ISSUES FOUND:** Proceed to `revision_loop`
433
+ </step>
434
+
435
+ <step name="revision_loop">
436
+ **Iterate planner ↔ checker until plans pass (max 3):**
437
+
438
+ **If iteration_count < 3:**
439
+
440
+ Display: `Sending back to planner for revision... (iteration {N}/3)`
441
+
442
+ Spawn gsd-planner with revision context:
443
+
444
+ ```
445
+ Task(
446
+ prompt="""
447
+ <revision_context>
448
+
449
+ **Phase:** {phase_number}
450
+ **Mode:** revision
451
+
452
+ **Existing plans:**
453
+ @.planning/phases/{phase_dir}/*-PLAN.md
454
+
455
+ **Checker issues:**
456
+ {structured_issues_from_checker}
457
+
458
+ </revision_context>
459
+
460
+ <instructions>
461
+ Read existing PLAN.md files. Make targeted updates to address checker issues.
462
+ Do NOT replan from scratch unless issues are fundamental.
463
+ </instructions>
464
+ """,
465
+ subagent_type="gsd-planner",
466
+ description="Revise Phase {phase} plans"
467
+ )
468
+ ```
469
+
470
+ After planner returns → spawn checker again (verify_gap_plans logic)
471
+ Increment iteration_count
472
+
473
+ **If iteration_count >= 3:**
474
+
475
+ Display: `Max iterations reached. {N} issues remain.`
476
+
477
+ Offer options:
478
+ 1. Force proceed (execute despite issues)
479
+ 2. Provide guidance (user gives direction, retry)
480
+ 3. Abandon (exit, user runs /gsd:plan-phase manually)
481
+
482
+ Wait for user response.
483
+ </step>
484
+
485
+ <step name="present_ready">
486
+ **Present completion and next steps:**
487
+
488
+ ```
489
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
490
+ GSD ► FIXES READY ✓
491
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
492
+
493
+ **Phase {X}: {Name}** — {N} gap(s) diagnosed, {M} fix plan(s) created
494
+
495
+ | Gap | Root Cause | Fix Plan |
496
+ |-----|------------|----------|
497
+ | {truth 1} | {root_cause} | {phase}-04 |
498
+ | {truth 2} | {root_cause} | {phase}-04 |
499
+
500
+ Plans verified and ready for execution.
501
+
502
+ ───────────────────────────────────────────────────────────────
503
+
504
+ ## ▶ Next Up
505
+
506
+ **Execute fixes** — run fix plans
507
+
508
+ `/clear` then `/gsd:execute-phase {phase}`
355
509
 
356
- Next steps:
357
- - `/gsd:plan-phase {phase} --gaps` — Create fix plans from diagnosed gaps
358
- - `/gsd:verify-work {phase}` — Re-test after fixes
510
+ ───────────────────────────────────────────────────────────────
359
511
  ```
360
512
  </step>
361
513
 
@@ -403,5 +555,9 @@ Default to **major** if unclear. User can correct if needed.
403
555
  - [ ] Severity inferred from description (never asked)
404
556
  - [ ] Batched writes: on issue, every 5 passes, or completion
405
557
  - [ ] Committed on completion
406
- - [ ] Clear next steps based on results (plan-phase --gaps if issues)
558
+ - [ ] If issues: parallel debug agents diagnose root causes
559
+ - [ ] If issues: gsd-planner creates fix plans (gap_closure mode)
560
+ - [ ] If issues: gsd-plan-checker verifies fix plans
561
+ - [ ] If issues: revision loop until plans pass (max 3 iterations)
562
+ - [ ] Ready for `/gsd:execute-phase` when complete
407
563
  </success_criteria>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "get-shit-done-cc",
3
- "version": "1.5.29",
3
+ "version": "1.6.0",
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"
@@ -1,145 +0,0 @@
1
- ---
2
- name: gsd:create-roadmap
3
- description: Create roadmap with phases for the project
4
- allowed-tools:
5
- - Read
6
- - Write
7
- - Bash
8
- - AskUserQuestion
9
- - Glob
10
- - Task
11
- ---
12
-
13
- <!--
14
- DEPRECATED: This command is now integrated into /gsd:new-project
15
-
16
- The unified /gsd:new-project flow includes roadmap creation as Phase 8,
17
- using the gsd-roadmapper agent for heavy lifting.
18
-
19
- This standalone command is kept for users who want to:
20
- - Recreate roadmap after significant scope changes
21
- - Create roadmap for a project initialized before this integration
22
- - Replace an existing roadmap
23
-
24
- For new projects, use /gsd:new-project instead.
25
-
26
- Deprecated: 2026-01-16
27
- -->
28
-
29
- <objective>
30
- Create project roadmap with phase breakdown.
31
-
32
- Roadmaps define what work happens in what order. Phases map to requirements.
33
-
34
- **Note:** For new projects, `/gsd:new-project` includes roadmap creation. Use this command to recreate roadmap later.
35
- </objective>
36
-
37
- <execution_context>
38
- @~/.claude/get-shit-done/workflows/create-roadmap.md
39
- @~/.claude/get-shit-done/templates/roadmap.md
40
- @~/.claude/get-shit-done/templates/state.md
41
- </execution_context>
42
-
43
- <context>
44
- @.planning/PROJECT.md
45
- @.planning/config.json
46
- @.planning/REQUIREMENTS.md
47
- @.planning/research/SUMMARY.md (if exists)
48
- </context>
49
-
50
- <process>
51
-
52
- <step name="validate">
53
- ```bash
54
- # Verify project exists
55
- [ -f .planning/PROJECT.md ] || { echo "ERROR: No PROJECT.md found. Run /gsd:new-project first."; exit 1; }
56
-
57
- # Verify requirements exist
58
- [ -f .planning/REQUIREMENTS.md ] || { echo "ERROR: No REQUIREMENTS.md found. Run /gsd:define-requirements first."; exit 1; }
59
- ```
60
- </step>
61
-
62
- <step name="check_existing">
63
- Check if roadmap already exists:
64
-
65
- ```bash
66
- [ -f .planning/ROADMAP.md ] && echo "ROADMAP_EXISTS" || echo "NO_ROADMAP"
67
- ```
68
-
69
- **If ROADMAP_EXISTS:**
70
- Use AskUserQuestion:
71
- - header: "Roadmap exists"
72
- - question: "A roadmap already exists. What would you like to do?"
73
- - options:
74
- - "View existing" - Show current roadmap
75
- - "Replace" - Create new roadmap (will overwrite)
76
- - "Cancel" - Keep existing roadmap
77
-
78
- If "View existing": `cat .planning/ROADMAP.md` and exit
79
- If "Cancel": Exit
80
- If "Replace": Continue with workflow
81
- </step>
82
-
83
- <step name="create_roadmap">
84
- Follow the create-roadmap.md workflow starting from identify_phases step.
85
-
86
- The workflow handles:
87
- - Loading requirements
88
- - Phase identification mapped to requirements
89
- - Requirement coverage validation (no orphaned requirements)
90
- - Research flags for each phase
91
- - Confirmation gates (respecting config mode)
92
- - ROADMAP.md creation with requirement mappings
93
- - STATE.md initialization
94
- - REQUIREMENTS.md traceability update
95
- - Phase directory creation
96
- - Git commit
97
- </step>
98
-
99
- <step name="done">
100
- ```
101
- Roadmap created:
102
- - Roadmap: .planning/ROADMAP.md
103
- - State: .planning/STATE.md
104
- - [N] phases defined
105
-
106
- ---
107
-
108
- ## ▶ Next Up
109
-
110
- **Phase 1: [Name]** — [Goal from ROADMAP.md]
111
-
112
- `/gsd:plan-phase 1`
113
-
114
- <sub>`/clear` first → fresh context window</sub>
115
-
116
- ---
117
-
118
- **Also available:**
119
- - `/gsd:discuss-phase 1` — gather context first
120
- - Review roadmap
121
-
122
- ---
123
- ```
124
- </step>
125
-
126
- </process>
127
-
128
- <output>
129
- - `.planning/ROADMAP.md`
130
- - `.planning/STATE.md`
131
- - `.planning/phases/XX-name/` directories
132
- </output>
133
-
134
- <success_criteria>
135
- - [ ] PROJECT.md validated
136
- - [ ] REQUIREMENTS.md validated
137
- - [ ] All v1 requirements mapped to phases (no orphans)
138
- - [ ] Success criteria derived for each phase (2-5 observable behaviors)
139
- - [ ] Success criteria cross-checked against requirements (gaps resolved)
140
- - [ ] ROADMAP.md created with phases, requirement mappings, and success criteria
141
- - [ ] STATE.md initialized
142
- - [ ] REQUIREMENTS.md traceability section updated
143
- - [ ] Phase directories created
144
- - [ ] Changes committed
145
- </success_criteria>
@@ -1,134 +0,0 @@
1
- ---
2
- name: gsd:define-requirements
3
- description: Define what "done" looks like with checkable requirements
4
- allowed-tools:
5
- - Read
6
- - Write
7
- - Bash
8
- - Glob
9
- - AskUserQuestion
10
- ---
11
-
12
- <!--
13
- DEPRECATED: This command is now integrated into /gsd:new-project
14
-
15
- The unified /gsd:new-project flow includes requirements definition as Phase 7.
16
- This standalone command is kept for users who want to:
17
- - Redefine requirements mid-project
18
- - Add new requirements after initial project setup
19
- - Adjust v1/v2 scope boundaries
20
-
21
- For new projects, use /gsd:new-project instead.
22
-
23
- Deprecated: 2026-01-16
24
- -->
25
-
26
- <objective>
27
- Define concrete, checkable requirements for v1.
28
-
29
- Two modes:
30
- 1. **With research** — Transform FEATURES.md into scoped requirements
31
- 2. **Without research** — Gather requirements through questioning
32
-
33
- Output: `.planning/REQUIREMENTS.md`
34
-
35
- **Note:** For new projects, `/gsd:new-project` includes requirements definition. Use this command to redefine requirements later.
36
- </objective>
37
-
38
- <execution_context>
39
- @~/.claude/get-shit-done/workflows/define-requirements.md
40
- @~/.claude/get-shit-done/templates/requirements.md
41
- </execution_context>
42
-
43
- <context>
44
- @.planning/PROJECT.md
45
- @.planning/research/FEATURES.md (if exists)
46
- @.planning/research/SUMMARY.md (if exists)
47
- </context>
48
-
49
- <process>
50
-
51
- <step name="validate">
52
- ```bash
53
- # Verify project exists
54
- [ -f .planning/PROJECT.md ] || { echo "ERROR: No PROJECT.md found. Run /gsd:new-project first."; exit 1; }
55
-
56
- # Check for research
57
- [ -f .planning/research/FEATURES.md ] && echo "HAS_RESEARCH" || echo "NO_RESEARCH"
58
-
59
- # Check if requirements already exist
60
- [ -f .planning/REQUIREMENTS.md ] && echo "REQUIREMENTS_EXISTS" || echo "NO_REQUIREMENTS"
61
- ```
62
- </step>
63
-
64
- <step name="check_existing">
65
- **If REQUIREMENTS_EXISTS:**
66
-
67
- Use AskUserQuestion:
68
- - header: "Requirements exist"
69
- - question: "Requirements already defined. What would you like to do?"
70
- - options:
71
- - "View existing" — Show current requirements
72
- - "Replace" — Define requirements fresh (will overwrite)
73
- - "Cancel" — Keep existing requirements
74
-
75
- If "View existing": Read and display `.planning/REQUIREMENTS.md`, then exit
76
- If "Cancel": Exit
77
- If "Replace": Continue with workflow
78
- </step>
79
-
80
- <step name="execute">
81
- **If HAS_RESEARCH:**
82
- Follow the define-requirements.md workflow:
83
- - Load research features from FEATURES.md
84
- - Present features by category
85
- - Ask user to scope each category (v1 / v2 / out of scope)
86
- - Capture any additions research missed
87
- - Generate REQUIREMENTS.md with checkable list
88
-
89
- **If NO_RESEARCH:**
90
- Gather requirements through questioning:
91
- - Read PROJECT.md for core value and context
92
- - Ask: "What are the main things users need to be able to do?"
93
- - For each capability mentioned, probe for specifics
94
- - Group into categories (Authentication, Content, etc.)
95
- - For each category, ask what's v1 vs v2 vs out of scope
96
- - Generate REQUIREMENTS.md with checkable list
97
-
98
- Same output format either way — the difference is source (research vs conversation).
99
- </step>
100
-
101
- <step name="done">
102
- ```
103
- Requirements defined:
104
-
105
- - Requirements: .planning/REQUIREMENTS.md
106
- - v1 scope: [N] requirements across [M] categories
107
- - v2 scope: [X] requirements deferred
108
- - Out of scope: [Y] requirements excluded
109
-
110
- ---
111
-
112
- ## ▶ Next Up
113
-
114
- **Create roadmap** — phases mapped to requirements
115
-
116
- `/gsd:create-roadmap`
117
-
118
- <sub>`/clear` first → fresh context window</sub>
119
-
120
- ---
121
- ```
122
- </step>
123
-
124
- </process>
125
-
126
- <success_criteria>
127
- - [ ] PROJECT.md validated
128
- - [ ] Features gathered (from research OR questioning)
129
- - [ ] User scoped each category (v1/v2/out of scope)
130
- - [ ] User had opportunity to add missing requirements
131
- - [ ] REQUIREMENTS.md created with checkable list
132
- - [ ] Requirements committed to git
133
- - [ ] User knows next step (create-roadmap)
134
- </success_criteria>
@@ -1,47 +0,0 @@
1
- ---
2
- name: gsd:discuss-milestone
3
- description: Gather context for next milestone through adaptive questioning
4
- ---
5
-
6
- <objective>
7
- Help you figure out what to build in the next milestone through collaborative thinking.
8
-
9
- Purpose: After completing a milestone, explore what features you want to add, improve, or fix. Features first — scope and phases derive from what you want to build.
10
- Output: Context gathered, then routes to /gsd:new-milestone
11
- </objective>
12
-
13
- <execution_context>
14
- @~/.claude/get-shit-done/workflows/discuss-milestone.md
15
- </execution_context>
16
-
17
- <context>
18
- **Load project state first:**
19
- @.planning/STATE.md
20
-
21
- **Load project:**
22
- @.planning/PROJECT.md
23
-
24
- **Load milestones (if exists):**
25
- @.planning/MILESTONES.md
26
- </context>
27
-
28
- <process>
29
- 1. Verify previous milestone complete (or acknowledge active milestone)
30
- 2. Present context from previous milestone (accomplishments, phase count)
31
- 3. Follow discuss-milestone.md workflow with **ALL questions using AskUserQuestion**:
32
- - Use AskUserQuestion: "What do you want to add, improve, or fix?" with feature categories
33
- - Use AskUserQuestion to dig into features they mention
34
- - Use AskUserQuestion to help them articulate what matters most
35
- - Use AskUserQuestion for decision gate (ready / ask more / let me add context)
36
- 4. Hand off to /gsd:new-milestone with gathered context
37
-
38
- **CRITICAL: ALL questions use AskUserQuestion. Never ask inline text questions.**
39
- </process>
40
-
41
- <success_criteria>
42
-
43
- - Project state loaded and presented
44
- - Previous milestone context summarized
45
- - Milestone scope gathered through adaptive questioning
46
- - Context handed off to /gsd:new-milestone
47
- </success_criteria>