@sienklogic/plan-build-run 2.10.0 → 2.12.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.
- package/CHANGELOG.md +51 -0
- package/package.json +1 -1
- package/plugins/copilot-pbr/agents/codebase-mapper.agent.md +42 -0
- package/plugins/copilot-pbr/agents/debugger.agent.md +4 -1
- package/plugins/copilot-pbr/agents/executor.agent.md +31 -1
- package/plugins/copilot-pbr/agents/integration-checker.agent.md +33 -2
- package/plugins/copilot-pbr/agents/planner.agent.md +58 -1
- package/plugins/copilot-pbr/agents/researcher.agent.md +23 -0
- package/plugins/copilot-pbr/agents/synthesizer.agent.md +24 -0
- package/plugins/copilot-pbr/agents/verifier.agent.md +35 -1
- package/plugins/copilot-pbr/plugin.json +1 -1
- package/plugins/copilot-pbr/references/agent-contracts.md +297 -0
- package/plugins/copilot-pbr/references/ui-formatting.md +38 -56
- package/plugins/copilot-pbr/skills/begin/SKILL.md +30 -7
- package/plugins/copilot-pbr/skills/build/SKILL.md +28 -31
- package/plugins/copilot-pbr/skills/config/SKILL.md +9 -12
- package/plugins/copilot-pbr/skills/continue/SKILL.md +6 -6
- package/plugins/copilot-pbr/skills/dashboard/SKILL.md +3 -3
- package/plugins/copilot-pbr/skills/debug/SKILL.md +23 -26
- package/plugins/copilot-pbr/skills/discuss/SKILL.md +20 -10
- package/plugins/copilot-pbr/skills/do/SKILL.md +3 -3
- package/plugins/copilot-pbr/skills/explore/SKILL.md +11 -14
- package/plugins/copilot-pbr/skills/health/SKILL.md +75 -19
- package/plugins/copilot-pbr/skills/help/SKILL.md +6 -6
- package/plugins/copilot-pbr/skills/import/SKILL.md +22 -18
- package/plugins/copilot-pbr/skills/milestone/SKILL.md +90 -48
- package/plugins/copilot-pbr/skills/note/SKILL.md +3 -3
- package/plugins/copilot-pbr/skills/pause/SKILL.md +11 -10
- package/plugins/copilot-pbr/skills/plan/SKILL.md +22 -9
- package/plugins/copilot-pbr/skills/plan/templates/planner-prompt.md.tmpl +1 -1
- package/plugins/copilot-pbr/skills/quick/SKILL.md +9 -12
- package/plugins/copilot-pbr/skills/resume/SKILL.md +9 -9
- package/plugins/copilot-pbr/skills/review/SKILL.md +17 -12
- package/plugins/copilot-pbr/skills/scan/SKILL.md +9 -11
- package/plugins/copilot-pbr/skills/setup/SKILL.md +31 -8
- package/plugins/copilot-pbr/skills/shared/error-reporting.md +2 -1
- package/plugins/copilot-pbr/skills/shared/progress-display.md +0 -1
- package/plugins/copilot-pbr/skills/shared/universal-anti-patterns.md +10 -6
- package/plugins/copilot-pbr/skills/status/SKILL.md +3 -3
- package/plugins/copilot-pbr/skills/statusline/SKILL.md +12 -8
- package/plugins/copilot-pbr/skills/todo/SKILL.md +51 -28
- package/plugins/cursor-pbr/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor-pbr/agents/codebase-mapper.md +42 -0
- package/plugins/cursor-pbr/agents/debugger.md +4 -1
- package/plugins/cursor-pbr/agents/executor.md +31 -1
- package/plugins/cursor-pbr/agents/integration-checker.md +33 -2
- package/plugins/cursor-pbr/agents/planner.md +58 -1
- package/plugins/cursor-pbr/agents/researcher.md +23 -0
- package/plugins/cursor-pbr/agents/synthesizer.md +24 -0
- package/plugins/cursor-pbr/agents/verifier.md +35 -1
- package/plugins/cursor-pbr/references/agent-contracts.md +297 -0
- package/plugins/cursor-pbr/references/ui-formatting.md +38 -56
- package/plugins/cursor-pbr/skills/begin/SKILL.md +30 -7
- package/plugins/cursor-pbr/skills/build/SKILL.md +28 -31
- package/plugins/cursor-pbr/skills/config/SKILL.md +9 -10
- package/plugins/cursor-pbr/skills/continue/SKILL.md +6 -6
- package/plugins/cursor-pbr/skills/dashboard/SKILL.md +3 -3
- package/plugins/cursor-pbr/skills/debug/SKILL.md +23 -23
- package/plugins/cursor-pbr/skills/discuss/SKILL.md +20 -10
- package/plugins/cursor-pbr/skills/do/SKILL.md +3 -3
- package/plugins/cursor-pbr/skills/explore/SKILL.md +11 -12
- package/plugins/cursor-pbr/skills/health/SKILL.md +75 -19
- package/plugins/cursor-pbr/skills/help/SKILL.md +6 -6
- package/plugins/cursor-pbr/skills/import/SKILL.md +22 -16
- package/plugins/cursor-pbr/skills/milestone/SKILL.md +90 -48
- package/plugins/cursor-pbr/skills/note/SKILL.md +3 -3
- package/plugins/cursor-pbr/skills/pause/SKILL.md +11 -9
- package/plugins/cursor-pbr/skills/plan/SKILL.md +22 -9
- package/plugins/cursor-pbr/skills/plan/templates/planner-prompt.md.tmpl +1 -1
- package/plugins/cursor-pbr/skills/quick/SKILL.md +9 -12
- package/plugins/cursor-pbr/skills/resume/SKILL.md +9 -9
- package/plugins/cursor-pbr/skills/review/SKILL.md +17 -12
- package/plugins/cursor-pbr/skills/scan/SKILL.md +9 -10
- package/plugins/cursor-pbr/skills/setup/SKILL.md +31 -8
- package/plugins/cursor-pbr/skills/shared/error-reporting.md +2 -1
- package/plugins/cursor-pbr/skills/shared/progress-display.md +0 -1
- package/plugins/cursor-pbr/skills/shared/universal-anti-patterns.md +10 -6
- package/plugins/cursor-pbr/skills/status/SKILL.md +3 -3
- package/plugins/cursor-pbr/skills/statusline/SKILL.md +12 -8
- package/plugins/cursor-pbr/skills/todo/SKILL.md +51 -28
- package/plugins/pbr/.claude-plugin/plugin.json +1 -1
- package/plugins/pbr/agents/codebase-mapper.md +42 -0
- package/plugins/pbr/agents/debugger.md +4 -1
- package/plugins/pbr/agents/executor.md +31 -1
- package/plugins/pbr/agents/integration-checker.md +34 -2
- package/plugins/pbr/agents/planner.md +58 -1
- package/plugins/pbr/agents/researcher.md +23 -0
- package/plugins/pbr/agents/synthesizer.md +24 -0
- package/plugins/pbr/agents/verifier.md +36 -1
- package/plugins/pbr/references/agent-contracts.md +297 -0
- package/plugins/pbr/references/ui-formatting.md +37 -54
- package/plugins/pbr/scripts/check-roadmap-sync.js +9 -1
- package/plugins/pbr/scripts/check-skill-workflow.js +11 -0
- package/plugins/pbr/scripts/check-state-sync.js +58 -0
- package/plugins/pbr/scripts/check-subagent-output.js +75 -6
- package/plugins/pbr/scripts/log-tool-failure.js +1 -1
- package/plugins/pbr/scripts/progress-tracker.js +14 -0
- package/plugins/pbr/scripts/track-context-budget.js +10 -1
- package/plugins/pbr/scripts/validate-task.js +81 -17
- package/plugins/pbr/skills/begin/SKILL.md +36 -11
- package/plugins/pbr/skills/build/SKILL.md +37 -25
- package/plugins/pbr/skills/config/SKILL.md +12 -10
- package/plugins/pbr/skills/continue/SKILL.md +11 -9
- package/plugins/pbr/skills/dashboard/SKILL.md +3 -3
- package/plugins/pbr/skills/debug/SKILL.md +29 -23
- package/plugins/pbr/skills/discuss/SKILL.md +20 -10
- package/plugins/pbr/skills/do/SKILL.md +3 -3
- package/plugins/pbr/skills/explore/SKILL.md +14 -12
- package/plugins/pbr/skills/health/SKILL.md +76 -20
- package/plugins/pbr/skills/help/SKILL.md +8 -6
- package/plugins/pbr/skills/import/SKILL.md +25 -16
- package/plugins/pbr/skills/milestone/SKILL.md +88 -45
- package/plugins/pbr/skills/note/SKILL.md +3 -3
- package/plugins/pbr/skills/pause/SKILL.md +13 -9
- package/plugins/pbr/skills/plan/SKILL.md +28 -13
- package/plugins/pbr/skills/plan/templates/planner-prompt.md.tmpl +1 -1
- package/plugins/pbr/skills/quick/SKILL.md +12 -10
- package/plugins/pbr/skills/resume/SKILL.md +11 -9
- package/plugins/pbr/skills/review/SKILL.md +35 -24
- package/plugins/pbr/skills/scan/SKILL.md +12 -10
- package/plugins/pbr/skills/setup/SKILL.md +30 -7
- package/plugins/pbr/skills/shared/error-reporting.md +2 -0
- package/plugins/pbr/skills/shared/universal-anti-patterns.md +10 -6
- package/plugins/pbr/skills/status/SKILL.md +8 -6
- package/plugins/pbr/skills/statusline/SKILL.md +12 -8
- package/plugins/pbr/skills/todo/SKILL.md +51 -28
|
@@ -23,9 +23,9 @@ Additionally for this skill:
|
|
|
23
23
|
**Before ANY tool calls**, display this banner:
|
|
24
24
|
|
|
25
25
|
```
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
27
|
+
║ PLAN-BUILD-RUN ► BUILDING PHASE {N} ║
|
|
28
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Where `{N}` is the phase number from `$ARGUMENTS`. Then proceed to Step 1.
|
|
@@ -64,7 +64,7 @@ Reference: `skills/shared/config-loading.md` for the tooling shortcut and config
|
|
|
64
64
|
1. Parse `$ARGUMENTS` for phase number and flags
|
|
65
65
|
2. Read `.planning/config.json` for parallelization, model, and gate settings (see config-loading.md for field reference)
|
|
66
66
|
3. Resolve depth profile: run `node ${PLUGIN_ROOT}/scripts/pbr-tools.js config resolve-depth` to get the effective feature/gate settings for the current depth. Store the result for use in later gating decisions.
|
|
67
|
-
4. Write `.planning/.active-skill` with the content `build` (registers with workflow enforcement hook)
|
|
67
|
+
4. **CRITICAL: Write .active-skill NOW.** Write `.planning/.active-skill` with the content `build` (registers with workflow enforcement hook)
|
|
68
68
|
5. Validate:
|
|
69
69
|
- Phase directory exists at `.planning/phases/{NN}-{slug}/`
|
|
70
70
|
- PLAN.md files exist in the directory
|
|
@@ -197,6 +197,8 @@ Validate wave consistency:
|
|
|
197
197
|
|
|
198
198
|
### Step 5b: Write Checkpoint Manifest (inline)
|
|
199
199
|
|
|
200
|
+
**CRITICAL: Write .checkpoint-manifest.json NOW before entering the wave loop.**
|
|
201
|
+
|
|
200
202
|
Before entering the wave loop, write `.planning/phases/{NN}-{slug}/.checkpoint-manifest.json`:
|
|
201
203
|
|
|
202
204
|
```json
|
|
@@ -692,6 +694,8 @@ If triggered:
|
|
|
692
694
|
```
|
|
693
695
|
4. Do NOT block on this — use `run_in_background: true` and continue to Step 8a. Report completion in Step 8f if it finishes in time.
|
|
694
696
|
|
|
697
|
+
**CRITICAL: Update ROADMAP.md progress table NOW. Do NOT skip this step.**
|
|
698
|
+
|
|
695
699
|
**8a. Update ROADMAP.md Progress table** (REQUIRED — do this BEFORE updating STATE.md):
|
|
696
700
|
|
|
697
701
|
**Tooling shortcut**: Use the CLI for atomic ROADMAP.md table updates instead of manual editing:
|
|
@@ -708,6 +712,8 @@ These return `{ success, old_status, new_status }` or `{ success, old_plans, new
|
|
|
708
712
|
5. Update the `Status` column to the final_status determined in Step 8-pre
|
|
709
713
|
6. Save the file — do NOT skip this step
|
|
710
714
|
|
|
715
|
+
**CRITICAL: Update STATE.md NOW with phase completion status. Do NOT skip this step.**
|
|
716
|
+
|
|
711
717
|
**8b. Update STATE.md:**
|
|
712
718
|
- Phase status: {final_status from Step 8-pre}
|
|
713
719
|
- Plan completion count
|
|
@@ -802,18 +808,18 @@ Then present the appropriate branded banner:
|
|
|
802
808
|
|
|
803
809
|
**If `passed` + more phases:**
|
|
804
810
|
```
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
811
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
812
|
+
║ PLAN-BUILD-RUN ► PHASE {N} COMPLETE ✓ ║
|
|
813
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
808
814
|
|
|
809
815
|
**Phase {N}: {Name}**
|
|
810
816
|
|
|
811
817
|
{X} plans executed
|
|
812
818
|
Goal verified ✓
|
|
813
819
|
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
820
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
821
|
+
║ ▶ NEXT UP ║
|
|
822
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
817
823
|
|
|
818
824
|
**Phase {N+1}: {Name}** — {Goal from ROADMAP.md}
|
|
819
825
|
|
|
@@ -821,28 +827,25 @@ Goal verified ✓
|
|
|
821
827
|
|
|
822
828
|
<sub>`/clear` first → fresh context window</sub>
|
|
823
829
|
|
|
824
|
-
───────────────────────────────────────────────────────────────
|
|
825
|
-
|
|
826
830
|
**Also available:**
|
|
827
831
|
- `/pbr:review {N}` — manual acceptance testing before continuing
|
|
828
832
|
- `/pbr:discuss {N+1}` — talk through the next phase before planning
|
|
829
833
|
- `/pbr:status` — see full project status
|
|
830
834
|
|
|
831
|
-
───────────────────────────────────────────────────────────────
|
|
832
835
|
```
|
|
833
836
|
|
|
834
837
|
**If `passed` + last phase:**
|
|
835
838
|
```
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
840
|
+
║ PLAN-BUILD-RUN ► MILESTONE COMPLETE 🎉 ║
|
|
841
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
839
842
|
|
|
840
843
|
{N} phases completed
|
|
841
844
|
All phase goals verified ✓
|
|
842
845
|
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
847
|
+
║ ▶ NEXT UP ║
|
|
848
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
846
849
|
|
|
847
850
|
**Audit milestone** — verify requirements, cross-phase integration, E2E flows
|
|
848
851
|
|
|
@@ -850,20 +853,17 @@ All phase goals verified ✓
|
|
|
850
853
|
|
|
851
854
|
<sub>`/clear` first → fresh context window</sub>
|
|
852
855
|
|
|
853
|
-
───────────────────────────────────────────────────────────────
|
|
854
|
-
|
|
855
856
|
**Also available:**
|
|
856
857
|
- `/pbr:review` — manual acceptance testing
|
|
857
858
|
- `/pbr:milestone complete` — archive milestone after audit passes
|
|
858
859
|
|
|
859
|
-
───────────────────────────────────────────────────────────────
|
|
860
860
|
```
|
|
861
861
|
|
|
862
862
|
**If `gaps_found`:**
|
|
863
863
|
```
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
864
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
865
|
+
║ PLAN-BUILD-RUN ► PHASE {N} GAPS FOUND ⚠ ║
|
|
866
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
867
867
|
|
|
868
868
|
**Phase {N}: {Name}**
|
|
869
869
|
|
|
@@ -874,9 +874,9 @@ Report: .planning/phases/{phase_dir}/VERIFICATION.md
|
|
|
874
874
|
|
|
875
875
|
{Extract gap summaries from VERIFICATION.md}
|
|
876
876
|
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
877
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
878
|
+
║ ▶ NEXT UP ║
|
|
879
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
880
880
|
|
|
881
881
|
**Plan gap closure** — create additional plans to complete the phase
|
|
882
882
|
|
|
@@ -884,13 +884,10 @@ Report: .planning/phases/{phase_dir}/VERIFICATION.md
|
|
|
884
884
|
|
|
885
885
|
<sub>`/clear` first → fresh context window</sub>
|
|
886
886
|
|
|
887
|
-
───────────────────────────────────────────────────────────────
|
|
888
|
-
|
|
889
887
|
**Also available:**
|
|
890
888
|
- `cat .planning/phases/{phase_dir}/VERIFICATION.md` — see full report
|
|
891
889
|
- `/pbr:review {N}` — manual testing before planning
|
|
892
890
|
|
|
893
|
-
───────────────────────────────────────────────────────────────
|
|
894
891
|
```
|
|
895
892
|
|
|
896
893
|
**8g. Display USER-SETUP.md (conditional):**
|
|
@@ -8,9 +8,9 @@ description: "Configure settings: depth, model profiles, features, git, and gate
|
|
|
8
8
|
**Before ANY tool calls**, display this banner:
|
|
9
9
|
|
|
10
10
|
```
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
12
|
+
║ PLAN-BUILD-RUN ► CONFIGURATION ║
|
|
13
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
Then proceed to Step 1.
|
|
@@ -184,17 +184,18 @@ If user types something else (freeform): interpret as a direct setting command a
|
|
|
184
184
|
|
|
185
185
|
Update config.json with new values. Show what changed with a branded completion:
|
|
186
186
|
```
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
188
|
+
║ PLAN-BUILD-RUN ► CONFIG UPDATED ✓ ║
|
|
189
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
190
190
|
|
|
191
191
|
Updated:
|
|
192
192
|
depth: standard → quick
|
|
193
193
|
models.executor: inherit → sonnet
|
|
194
194
|
|
|
195
|
-
───────────────────────────────────────────────────────────────
|
|
196
195
|
|
|
197
|
-
|
|
196
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
197
|
+
║ ▶ NEXT UP ║
|
|
198
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
198
199
|
|
|
199
200
|
**Continue your workflow** — settings saved
|
|
200
201
|
|
|
@@ -202,13 +203,11 @@ Updated:
|
|
|
202
203
|
|
|
203
204
|
<sub>`/clear` first → fresh context window</sub>
|
|
204
205
|
|
|
205
|
-
───────────────────────────────────────────────────────────────
|
|
206
206
|
|
|
207
207
|
**Also available:**
|
|
208
208
|
- `/pbr:continue` — execute next logical step
|
|
209
209
|
- `/pbr:config` — change more settings
|
|
210
210
|
|
|
211
|
-
───────────────────────────────────────────────────────────────
|
|
212
211
|
```
|
|
213
212
|
|
|
214
213
|
## Config Schema
|
|
@@ -16,9 +16,9 @@ This skill runs **inline** and may delegate to other skills via agent invocation
|
|
|
16
16
|
**Before ANY tool calls**, display this banner:
|
|
17
17
|
|
|
18
18
|
```
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
20
|
+
║ PLAN-BUILD-RUN ► NEXT STEP ║
|
|
21
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
Then proceed to Step 1.
|
|
@@ -115,9 +115,9 @@ Where `{N}` is the current phase number determined from STATE.md in Step 1.
|
|
|
115
115
|
|
|
116
116
|
After execution completes, display a branded completion:
|
|
117
117
|
```
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
119
|
+
║ PLAN-BUILD-RUN ► STEP COMPLETE ║
|
|
120
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
121
121
|
|
|
122
122
|
Completed: {what was done}
|
|
123
123
|
|
|
@@ -9,9 +9,9 @@ argument-hint: "[--port N]"
|
|
|
9
9
|
**Before ANY tool calls**, display this banner:
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
13
|
+
║ PLAN-BUILD-RUN ► DASHBOARD ║
|
|
14
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Then proceed to Step 1.
|
|
@@ -9,9 +9,9 @@ argument-hint: "[issue description]"
|
|
|
9
9
|
**Before ANY tool calls**, display this banner:
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
13
|
+
║ PLAN-BUILD-RUN ► DEBUGGING ║
|
|
14
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Then proceed to Step 1.
|
|
@@ -65,9 +65,11 @@ Scan `.planning/debug/` for existing debug files:
|
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
Read each file's frontmatter to check status:
|
|
68
|
-
- `status:
|
|
69
|
-
- `status:
|
|
70
|
-
- `status:
|
|
68
|
+
- `status: gathering` — collecting symptoms from user
|
|
69
|
+
- `status: investigating` — testing hypotheses
|
|
70
|
+
- `status: fixing` — applying fix
|
|
71
|
+
- `status: verifying` — confirming fix works
|
|
72
|
+
- `status: resolved` — session complete
|
|
71
73
|
|
|
72
74
|
**If active sessions found:**
|
|
73
75
|
|
|
@@ -126,7 +128,7 @@ Create `.planning/debug/{NNN}-{slug}.md`:
|
|
|
126
128
|
---
|
|
127
129
|
id: "{NNN}"
|
|
128
130
|
title: "{issue title}"
|
|
129
|
-
status:
|
|
131
|
+
status: gathering
|
|
130
132
|
created: "{ISO date}"
|
|
131
133
|
updated: "{ISO date}"
|
|
132
134
|
severity: "{critical|high|medium|low}"
|
|
@@ -230,18 +232,19 @@ Actions:
|
|
|
230
232
|
3. Report to user with branded output:
|
|
231
233
|
|
|
232
234
|
```
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
235
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
236
|
+
║ PLAN-BUILD-RUN ► BUG RESOLVED ✓ ║
|
|
237
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
236
238
|
|
|
237
239
|
**Session #{NNN}:** {title}
|
|
238
240
|
**Root cause:** {cause}
|
|
239
241
|
**Fix:** {description}
|
|
240
242
|
**Commit:** {hash}
|
|
241
243
|
|
|
242
|
-
───────────────────────────────────────────────────────────────
|
|
243
244
|
|
|
244
|
-
|
|
245
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
246
|
+
║ ▶ NEXT UP ║
|
|
247
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
245
248
|
|
|
246
249
|
**Continue your workflow** — the bug is fixed
|
|
247
250
|
|
|
@@ -249,13 +252,11 @@ Actions:
|
|
|
249
252
|
|
|
250
253
|
<sub>`/clear` first → fresh context window</sub>
|
|
251
254
|
|
|
252
|
-
───────────────────────────────────────────────────────────────
|
|
253
255
|
|
|
254
256
|
**Also available:**
|
|
255
257
|
- `/pbr:continue` — execute next logical step
|
|
256
258
|
- `/pbr:review {N}` — verify the current phase
|
|
257
259
|
|
|
258
|
-
───────────────────────────────────────────────────────────────
|
|
259
260
|
```
|
|
260
261
|
|
|
261
262
|
#### ROOT CAUSE FOUND (no fix)
|
|
@@ -275,9 +276,10 @@ Actions:
|
|
|
275
276
|
2. Suggest next steps to user:
|
|
276
277
|
|
|
277
278
|
```
|
|
278
|
-
───────────────────────────────────────────────────────────────
|
|
279
279
|
|
|
280
|
-
|
|
280
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
281
|
+
║ ▶ NEXT UP ║
|
|
282
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
281
283
|
|
|
282
284
|
**Apply the fix** — root cause identified, fix needed
|
|
283
285
|
|
|
@@ -285,13 +287,11 @@ Actions:
|
|
|
285
287
|
|
|
286
288
|
<sub>`/clear` first → fresh context window</sub>
|
|
287
289
|
|
|
288
|
-
───────────────────────────────────────────────────────────────
|
|
289
290
|
|
|
290
291
|
**Also available:**
|
|
291
292
|
- `/pbr:plan` — for complex fixes that need planning
|
|
292
293
|
- `/pbr:status` — see project status
|
|
293
294
|
|
|
294
|
-
───────────────────────────────────────────────────────────────
|
|
295
295
|
```
|
|
296
296
|
|
|
297
297
|
#### CHECKPOINT
|
|
@@ -401,7 +401,7 @@ Use AskUserQuestion:
|
|
|
401
401
|
- label: "Escalate" description: "Save context for manual debugging"
|
|
402
402
|
|
|
403
403
|
- If "Extend": double the limit and continue
|
|
404
|
-
- If "Wrap up": update debug file status
|
|
404
|
+
- If "Wrap up": update debug file `status: resolved` with `resolution: abandoned`, record all findings, suggest next steps
|
|
405
405
|
- If "Escalate": write a detailed handoff document to the debug file with all hypotheses, evidence, and suggested manual investigation steps
|
|
406
406
|
|
|
407
407
|
---
|
|
@@ -411,15 +411,15 @@ Use AskUserQuestion:
|
|
|
411
411
|
### Lifecycle
|
|
412
412
|
|
|
413
413
|
```
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
414
|
+
gathering → investigating → fixing → verifying → resolved
|
|
415
|
+
(any non-resolved) → resolved (with resolution: abandoned, if 7+ days stale)
|
|
416
|
+
(any non-resolved) → (same) (resumed after pause)
|
|
417
417
|
```
|
|
418
418
|
|
|
419
419
|
### Staleness Detection
|
|
420
420
|
|
|
421
421
|
When scanning for active sessions, check the `updated` date. If more than 7 days old:
|
|
422
|
-
-
|
|
422
|
+
- Set `status: resolved` with `resolution: abandoned` in frontmatter
|
|
423
423
|
- Still offer to resume, but warn: "This session is {N} days old. Context may have changed."
|
|
424
424
|
|
|
425
425
|
### Cleanup
|
|
@@ -9,9 +9,9 @@ argument-hint: "<phase-number>"
|
|
|
9
9
|
**Before ANY tool calls**, display this banner:
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
13
|
+
║ PLAN-BUILD-RUN ► DISCUSSION ║
|
|
14
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Then proceed to Step 1.
|
|
@@ -150,17 +150,23 @@ If more than 3 concrete options exist for a gray area, present only the top 3 pl
|
|
|
150
150
|
|
|
151
151
|
For each gray area where the user made a decision (not "Let Claude decide"), ask **4 follow-up questions** to fully capture their intent.
|
|
152
152
|
|
|
153
|
+
**CRITICAL — STOP: Do NOT skip ANY of the 4 follow-up areas below. All 4 MUST be asked for each gray area where the user made a decision.**
|
|
154
|
+
|
|
153
155
|
**Follow-up question types:**
|
|
154
156
|
|
|
157
|
+
**CRITICAL — STOP: Do NOT skip this follow-up area.**
|
|
155
158
|
1. **Scope boundary**: "Should {feature} also handle {edge case}?"
|
|
156
159
|
Use the **yes-no** pattern — this is a binary decision.
|
|
157
160
|
|
|
161
|
+
**CRITICAL — STOP: Do NOT skip this follow-up area.**
|
|
158
162
|
2. **Quality level**: "How polished should this be?"
|
|
159
163
|
Do NOT use AskUserQuestion — this is freeform. Let the user describe their quality expectations in their own words.
|
|
160
164
|
|
|
165
|
+
**CRITICAL — STOP: Do NOT skip this follow-up area.**
|
|
161
166
|
3. **Integration**: "How should this interact with {existing component}?"
|
|
162
167
|
Do NOT use AskUserQuestion — this is freeform. The answer depends on the specific component and context.
|
|
163
168
|
|
|
169
|
+
**CRITICAL — STOP: Do NOT skip this follow-up area.**
|
|
164
170
|
4. **Future-proofing**: "Should we design this to support {potential future need}, or keep it simple?"
|
|
165
171
|
Use the **yes-no** pattern:
|
|
166
172
|
question: "Design {feature} to support {future need}, or keep it simple for now?"
|
|
@@ -174,6 +180,8 @@ For each gray area where the user made a decision (not "Let Claude decide"), ask
|
|
|
174
180
|
- If the user gives a short answer, capture it as-is
|
|
175
181
|
- If the user says "you decide" on a follow-up, move that specific sub-decision to Claude's Discretion
|
|
176
182
|
|
|
183
|
+
**Completion check:** After all follow-up questions for all gray areas, verify that all 4 follow-up areas produced output for each decided gray area. If any area was missed, go back and ask it before proceeding to Step 6.
|
|
184
|
+
|
|
177
185
|
### Step 6: Capture Deferred Ideas
|
|
178
186
|
|
|
179
187
|
During the conversation, the user may mention ideas they want but not in this phase. Track these separately:
|
|
@@ -218,17 +226,19 @@ This creates a pointer so `/pbr:resume` and `progress-tracker.js` know that phas
|
|
|
218
226
|
After writing CONTEXT.md, display branded output:
|
|
219
227
|
|
|
220
228
|
```
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
229
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
230
|
+
║ PLAN-BUILD-RUN ► DISCUSSION CAPTURED ✓ ║
|
|
231
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
224
232
|
|
|
225
233
|
**Phase {N}: {name}**
|
|
226
234
|
|
|
227
235
|
Decisions: {count} locked, {count} deferred, {count} discretion
|
|
228
236
|
|
|
229
|
-
───────────────────────────────────────────────────────────────
|
|
230
237
|
|
|
231
|
-
|
|
238
|
+
|
|
239
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
240
|
+
║ ▶ NEXT UP ║
|
|
241
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
232
242
|
|
|
233
243
|
**Plan this phase** — your decisions will be honored
|
|
234
244
|
|
|
@@ -236,13 +246,13 @@ Decisions: {count} locked, {count} deferred, {count} discretion
|
|
|
236
246
|
|
|
237
247
|
<sub>`/clear` first → fresh context window</sub>
|
|
238
248
|
|
|
239
|
-
|
|
249
|
+
|
|
240
250
|
|
|
241
251
|
**Also available:**
|
|
242
252
|
- `/pbr:status` — see project status
|
|
243
253
|
- `/pbr:explore` — explore ideas further
|
|
244
254
|
|
|
245
|
-
|
|
255
|
+
|
|
246
256
|
```
|
|
247
257
|
|
|
248
258
|
---
|
|
@@ -13,9 +13,9 @@ You are running the **do** skill. Your job is to analyze freeform text from the
|
|
|
13
13
|
**Before ANY tool calls**, display this banner:
|
|
14
14
|
|
|
15
15
|
```
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
17
|
+
║ PLAN-BUILD-RUN ► ROUTING ║
|
|
18
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Then proceed to Step 1.
|
|
@@ -9,9 +9,9 @@ argument-hint: "[topic]"
|
|
|
9
9
|
**Before ANY tool calls**, display this banner:
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
13
|
+
║ PLAN-BUILD-RUN ► EXPLORING ║
|
|
14
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Then proceed to Step 1.
|
|
@@ -175,7 +175,7 @@ Suggest specific outputs with reasoning. Present no more than 4 suggestions —
|
|
|
175
175
|
| Phase decision | Clarifies an existing phase | Write/append to phase `CONTEXT.md` |
|
|
176
176
|
| Research question | Needs deeper investigation | `.planning/research/questions.md` |
|
|
177
177
|
| New phase | Big enough for its own phase | Append to `ROADMAP.md` |
|
|
178
|
-
| Note | Not actionable yet, worth remembering | `.planning/notes/{slug}.md` |
|
|
178
|
+
| Note | Not actionable yet, worth remembering | `.planning/notes/{YYYY-MM-DD}-{slug}.md` |
|
|
179
179
|
| Quick capture | One-liner idea, no context needed | Suggest `/pbr:note <text>` to the user |
|
|
180
180
|
| Seed | Idea with trigger conditions | `.planning/seeds/SEED-{NNN}-{slug}.md` |
|
|
181
181
|
|
|
@@ -215,15 +215,16 @@ Create only the approved artifacts. A single explore session can produce multipl
|
|
|
215
215
|
After creating artifacts (or if user chose "Skip"), display:
|
|
216
216
|
|
|
217
217
|
```
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
218
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
219
|
+
║ PLAN-BUILD-RUN ► EXPLORATION CAPTURED ✓ ║
|
|
220
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
221
221
|
|
|
222
222
|
{count} artifacts created: {list of artifact types}
|
|
223
223
|
|
|
224
|
-
───────────────────────────────────────────────────────────────
|
|
225
224
|
|
|
226
|
-
|
|
225
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
226
|
+
║ ▶ NEXT UP ║
|
|
227
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
227
228
|
|
|
228
229
|
**{Primary route based on what was created}**
|
|
229
230
|
|
|
@@ -239,14 +240,12 @@ After creating artifacts (or if user chose "Skip"), display:
|
|
|
239
240
|
|
|
240
241
|
<sub>`/clear` first → fresh context window</sub>
|
|
241
242
|
|
|
242
|
-
───────────────────────────────────────────────────────────────
|
|
243
243
|
|
|
244
244
|
**Also available:**
|
|
245
245
|
- `/pbr:status` — see project status
|
|
246
246
|
- `/pbr:continue` — execute next logical step
|
|
247
247
|
- `/pbr:milestone new` — start a new milestone with new phases
|
|
248
248
|
|
|
249
|
-
───────────────────────────────────────────────────────────────
|
|
250
249
|
```
|
|
251
250
|
|
|
252
251
|
---
|
|
@@ -289,7 +288,7 @@ Append to `.planning/ROADMAP.md` following the existing phase format. Assign the
|
|
|
289
288
|
|
|
290
289
|
### Note
|
|
291
290
|
|
|
292
|
-
Write to `.planning/notes/{
|
|
291
|
+
Write to `.planning/notes/{YYYY-MM-DD}-{slug}.md` where the date prefix is today's date in ISO format. Scan `.planning/notes/` to avoid filename collisions — if a file with the same date and slug exists, append `-2` (or increment).
|
|
293
292
|
|
|
294
293
|
```markdown
|
|
295
294
|
---
|