get-shit-done-cc 1.6.2 → 1.6.3
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/agents/gsd-planner.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsd:execute-phase
|
|
3
3
|
description: Execute all plans in a phase with wave-based parallelization
|
|
4
|
-
argument-hint: "<phase-number>"
|
|
4
|
+
argument-hint: "<phase-number> [--gaps-only]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
7
7
|
- Write
|
|
@@ -30,6 +30,9 @@ Context budget: ~15% orchestrator, 100% fresh per subagent.
|
|
|
30
30
|
<context>
|
|
31
31
|
Phase: $ARGUMENTS
|
|
32
32
|
|
|
33
|
+
**Flags:**
|
|
34
|
+
- `--gaps-only` — Execute only gap closure plans (plans with `gap_closure: true` in frontmatter). Use after verify-work creates fix plans.
|
|
35
|
+
|
|
33
36
|
@.planning/ROADMAP.md
|
|
34
37
|
@.planning/STATE.md
|
|
35
38
|
</context>
|
|
@@ -43,6 +46,7 @@ Phase: $ARGUMENTS
|
|
|
43
46
|
2. **Discover plans**
|
|
44
47
|
- List all *-PLAN.md files in phase directory
|
|
45
48
|
- Check which have *-SUMMARY.md (already complete)
|
|
49
|
+
- If `--gaps-only`: filter to only plans with `gap_closure: true`
|
|
46
50
|
- Build list of incomplete plans
|
|
47
51
|
|
|
48
52
|
3. **Group by wave**
|
|
@@ -71,15 +71,21 @@ ls -1 "$PHASE_DIR"/*-SUMMARY.md 2>/dev/null | sort
|
|
|
71
71
|
For each plan, read frontmatter to extract:
|
|
72
72
|
- `wave: N` - Execution wave (pre-computed)
|
|
73
73
|
- `autonomous: true/false` - Whether plan has checkpoints
|
|
74
|
+
- `gap_closure: true/false` - Whether plan closes gaps from verification/UAT
|
|
74
75
|
|
|
75
76
|
Build plan inventory:
|
|
76
77
|
- Plan path
|
|
77
78
|
- Plan ID (e.g., "03-01")
|
|
78
79
|
- Wave number
|
|
79
80
|
- Autonomous flag
|
|
81
|
+
- Gap closure flag
|
|
80
82
|
- Completion status (SUMMARY exists = complete)
|
|
81
83
|
|
|
82
|
-
|
|
84
|
+
**Filtering:**
|
|
85
|
+
- Skip completed plans (have SUMMARY.md)
|
|
86
|
+
- If `--gaps-only` flag: also skip plans where `gap_closure` is not `true`
|
|
87
|
+
|
|
88
|
+
If all plans filtered out, report "No matching incomplete plans" and exit.
|
|
83
89
|
</step>
|
|
84
90
|
|
|
85
91
|
<step name="group_by_wave">
|
|
@@ -433,9 +439,9 @@ Present gaps and offer next command:
|
|
|
433
439
|
|
|
434
440
|
User runs `/gsd:plan-phase {X} --gaps` which:
|
|
435
441
|
1. Reads VERIFICATION.md gaps
|
|
436
|
-
2. Creates additional plans (04, 05, etc.) to close gaps
|
|
437
|
-
3. User then runs `/gsd:execute-phase {X}`
|
|
438
|
-
4. Execute-phase runs
|
|
442
|
+
2. Creates additional plans (04, 05, etc.) with `gap_closure: true` to close gaps
|
|
443
|
+
3. User then runs `/gsd:execute-phase {X} --gaps-only`
|
|
444
|
+
4. Execute-phase runs only gap closure plans (04-05)
|
|
439
445
|
5. Verifier runs again after new plans complete
|
|
440
446
|
|
|
441
447
|
User stays in control at each decision point.
|
|
@@ -505,7 +505,7 @@ Plans verified and ready for execution.
|
|
|
505
505
|
|
|
506
506
|
**Execute fixes** — run fix plans
|
|
507
507
|
|
|
508
|
-
`/clear` then `/gsd:execute-phase {phase}`
|
|
508
|
+
`/clear` then `/gsd:execute-phase {phase} --gaps-only`
|
|
509
509
|
|
|
510
510
|
───────────────────────────────────────────────────────────────
|
|
511
511
|
```
|
|
@@ -559,5 +559,5 @@ Default to **major** if unclear. User can correct if needed.
|
|
|
559
559
|
- [ ] If issues: gsd-planner creates fix plans (gap_closure mode)
|
|
560
560
|
- [ ] If issues: gsd-plan-checker verifies fix plans
|
|
561
561
|
- [ ] If issues: revision loop until plans pass (max 3 iterations)
|
|
562
|
-
- [ ] Ready for `/gsd:execute-phase` when complete
|
|
562
|
+
- [ ] Ready for `/gsd:execute-phase --gaps-only` when complete
|
|
563
563
|
</success_criteria>
|
package/package.json
CHANGED