@sienklogic/plan-build-run 2.50.0 → 2.52.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 +27 -0
- package/package.json +4 -2
- package/plugins/copilot-pbr/agents/audit.agent.md +2 -5
- package/plugins/copilot-pbr/agents/codebase-mapper.agent.md +1 -4
- package/plugins/copilot-pbr/agents/debugger.agent.md +1 -4
- package/plugins/copilot-pbr/agents/dev-sync.agent.md +6 -9
- package/plugins/copilot-pbr/agents/executor.agent.md +1 -4
- package/plugins/copilot-pbr/agents/general.agent.md +1 -4
- package/plugins/copilot-pbr/agents/integration-checker.agent.md +1 -4
- package/plugins/copilot-pbr/agents/plan-checker.agent.md +1 -4
- package/plugins/copilot-pbr/agents/planner.agent.md +1 -4
- package/plugins/copilot-pbr/agents/researcher.agent.md +1 -4
- package/plugins/copilot-pbr/agents/synthesizer.agent.md +1 -4
- package/plugins/copilot-pbr/agents/verifier.agent.md +2 -4
- package/plugins/copilot-pbr/commands/audit.md +5 -0
- package/plugins/copilot-pbr/commands/begin.md +5 -0
- package/plugins/copilot-pbr/commands/build.md +5 -0
- package/plugins/copilot-pbr/commands/config.md +5 -0
- package/plugins/copilot-pbr/commands/continue.md +5 -0
- package/plugins/copilot-pbr/commands/dashboard.md +5 -0
- package/plugins/copilot-pbr/commands/debug.md +5 -0
- package/plugins/copilot-pbr/commands/discuss.md +5 -0
- package/plugins/copilot-pbr/commands/do.md +5 -0
- package/plugins/copilot-pbr/commands/explore.md +5 -0
- package/plugins/copilot-pbr/commands/health.md +5 -0
- package/plugins/copilot-pbr/commands/help.md +5 -0
- package/plugins/copilot-pbr/commands/import.md +5 -0
- package/plugins/copilot-pbr/commands/milestone.md +5 -0
- package/plugins/copilot-pbr/commands/note.md +5 -0
- package/plugins/copilot-pbr/commands/pause.md +5 -0
- package/plugins/copilot-pbr/commands/plan.md +5 -0
- package/plugins/copilot-pbr/commands/quick.md +5 -0
- package/plugins/copilot-pbr/commands/resume.md +5 -0
- package/plugins/copilot-pbr/commands/review.md +5 -0
- package/plugins/copilot-pbr/commands/scan.md +5 -0
- package/plugins/copilot-pbr/commands/setup.md +5 -0
- package/plugins/copilot-pbr/commands/status.md +5 -0
- package/plugins/copilot-pbr/commands/statusline.md +5 -0
- package/plugins/copilot-pbr/commands/todo.md +5 -0
- package/plugins/copilot-pbr/plugin.json +1 -1
- package/plugins/copilot-pbr/references/agent-anti-patterns.md +0 -1
- package/plugins/copilot-pbr/references/agent-teams.md +0 -1
- package/plugins/copilot-pbr/references/common-bug-patterns.md +0 -1
- package/plugins/copilot-pbr/references/config-reference.md +0 -1
- package/plugins/copilot-pbr/references/continuation-format.md +0 -1
- package/plugins/copilot-pbr/references/deviation-rules.md +0 -1
- package/plugins/copilot-pbr/references/git-integration.md +0 -1
- package/plugins/copilot-pbr/references/integration-patterns.md +0 -1
- package/plugins/copilot-pbr/references/model-profiles.md +0 -1
- package/plugins/copilot-pbr/references/model-selection.md +0 -1
- package/plugins/copilot-pbr/references/pbr-rules.md +0 -1
- package/plugins/copilot-pbr/references/plan-authoring.md +0 -1
- package/plugins/copilot-pbr/references/plan-format.md +0 -1
- package/plugins/copilot-pbr/references/reading-verification.md +0 -1
- package/plugins/copilot-pbr/references/stub-patterns.md +0 -1
- package/plugins/copilot-pbr/references/wave-execution.md +0 -1
- package/plugins/copilot-pbr/skills/begin/SKILL.md +74 -52
- package/plugins/copilot-pbr/skills/build/SKILL.md +79 -93
- package/plugins/copilot-pbr/skills/config/SKILL.md +7 -0
- package/plugins/copilot-pbr/skills/continue/SKILL.md +31 -24
- package/plugins/copilot-pbr/skills/dashboard/SKILL.md +8 -7
- package/plugins/copilot-pbr/skills/debug/SKILL.md +11 -0
- package/plugins/copilot-pbr/skills/discuss/SKILL.md +2 -0
- package/plugins/copilot-pbr/skills/do/SKILL.md +2 -0
- package/plugins/copilot-pbr/skills/explore/SKILL.md +7 -1
- package/plugins/copilot-pbr/skills/health/SKILL.md +2 -0
- package/plugins/copilot-pbr/skills/help/SKILL.md +6 -0
- package/plugins/copilot-pbr/skills/import/SKILL.md +9 -0
- package/plugins/copilot-pbr/skills/milestone/SKILL.md +20 -196
- package/plugins/copilot-pbr/skills/note/SKILL.md +2 -0
- package/plugins/copilot-pbr/skills/pause/SKILL.md +5 -0
- package/plugins/copilot-pbr/skills/plan/SKILL.md +87 -119
- package/plugins/copilot-pbr/skills/quick/SKILL.md +13 -8
- package/plugins/copilot-pbr/skills/resume/SKILL.md +4 -0
- package/plugins/copilot-pbr/skills/review/SKILL.md +85 -47
- package/plugins/copilot-pbr/skills/scan/SKILL.md +6 -0
- package/plugins/copilot-pbr/skills/setup/SKILL.md +2 -0
- package/plugins/copilot-pbr/skills/shared/commit-planning-docs.md +0 -1
- package/plugins/copilot-pbr/skills/shared/config-loading.md +0 -1
- package/plugins/copilot-pbr/skills/shared/context-budget.md +0 -1
- package/plugins/copilot-pbr/skills/shared/context-loader-task.md +0 -1
- package/plugins/copilot-pbr/skills/shared/digest-select.md +0 -1
- package/plugins/copilot-pbr/skills/shared/domain-probes.md +0 -1
- package/plugins/copilot-pbr/skills/shared/gate-prompts.md +0 -1
- package/plugins/copilot-pbr/skills/shared/phase-argument-parsing.md +0 -1
- package/plugins/copilot-pbr/skills/shared/revision-loop.md +0 -1
- package/plugins/copilot-pbr/skills/shared/state-update.md +0 -1
- package/plugins/copilot-pbr/skills/shared/universal-anti-patterns.md +1 -2
- package/plugins/copilot-pbr/skills/status/SKILL.md +35 -26
- package/plugins/copilot-pbr/skills/test/SKILL.md +2 -2
- package/plugins/copilot-pbr/skills/todo/SKILL.md +2 -0
- package/plugins/copilot-pbr/templates/CONTEXT.md.tmpl +0 -1
- package/plugins/copilot-pbr/templates/INTEGRATION-REPORT.md.tmpl +0 -1
- package/plugins/copilot-pbr/templates/RESEARCH-SUMMARY.md.tmpl +0 -1
- package/plugins/copilot-pbr/templates/ROADMAP.md.tmpl +0 -1
- package/plugins/copilot-pbr/templates/SUMMARY.md.tmpl +0 -1
- package/plugins/copilot-pbr/templates/VERIFICATION-DETAIL.md.tmpl +0 -1
- package/plugins/copilot-pbr/templates/continue-here.md.tmpl +0 -1
- package/plugins/copilot-pbr/templates/prompt-partials/phase-project-context.md.tmpl +0 -1
- package/plugins/cursor-pbr/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor-pbr/agents/audit.md +1 -1
- package/plugins/cursor-pbr/agents/codebase-mapper.md +1 -1
- package/plugins/cursor-pbr/agents/debugger.md +1 -1
- package/plugins/cursor-pbr/agents/dev-sync.md +6 -6
- package/plugins/cursor-pbr/agents/executor.md +1 -1
- package/plugins/cursor-pbr/agents/general.md +1 -1
- package/plugins/cursor-pbr/agents/integration-checker.md +2 -2
- package/plugins/cursor-pbr/agents/plan-checker.md +2 -2
- package/plugins/cursor-pbr/agents/planner.md +1 -1
- package/plugins/cursor-pbr/agents/researcher.md +2 -2
- package/plugins/cursor-pbr/agents/synthesizer.md +1 -1
- package/plugins/cursor-pbr/agents/verifier.md +3 -2
- package/plugins/cursor-pbr/commands/audit.md +5 -0
- package/plugins/cursor-pbr/commands/begin.md +5 -0
- package/plugins/cursor-pbr/commands/build.md +5 -0
- package/plugins/cursor-pbr/commands/config.md +5 -0
- package/plugins/cursor-pbr/commands/continue.md +5 -0
- package/plugins/cursor-pbr/commands/dashboard.md +5 -0
- package/plugins/cursor-pbr/commands/debug.md +5 -0
- package/plugins/cursor-pbr/commands/discuss.md +5 -0
- package/plugins/cursor-pbr/commands/do.md +5 -0
- package/plugins/cursor-pbr/commands/explore.md +5 -0
- package/plugins/cursor-pbr/commands/health.md +5 -0
- package/plugins/cursor-pbr/commands/help.md +5 -0
- package/plugins/cursor-pbr/commands/import.md +5 -0
- package/plugins/cursor-pbr/commands/milestone.md +5 -0
- package/plugins/cursor-pbr/commands/note.md +5 -0
- package/plugins/cursor-pbr/commands/pause.md +5 -0
- package/plugins/cursor-pbr/commands/plan.md +5 -0
- package/plugins/cursor-pbr/commands/quick.md +5 -0
- package/plugins/cursor-pbr/commands/resume.md +5 -0
- package/plugins/cursor-pbr/commands/review.md +5 -0
- package/plugins/cursor-pbr/commands/scan.md +5 -0
- package/plugins/cursor-pbr/commands/setup.md +5 -0
- package/plugins/cursor-pbr/commands/status.md +5 -0
- package/plugins/cursor-pbr/commands/statusline.md +5 -0
- package/plugins/cursor-pbr/commands/todo.md +5 -0
- package/plugins/cursor-pbr/hooks/hooks.json +4 -10
- package/plugins/cursor-pbr/references/agent-anti-patterns.md +0 -1
- package/plugins/cursor-pbr/references/agent-teams.md +0 -1
- package/plugins/cursor-pbr/references/common-bug-patterns.md +0 -1
- package/plugins/cursor-pbr/references/config-reference.md +0 -1
- package/plugins/cursor-pbr/references/continuation-format.md +0 -1
- package/plugins/cursor-pbr/references/deviation-rules.md +0 -1
- package/plugins/cursor-pbr/references/git-integration.md +0 -1
- package/plugins/cursor-pbr/references/integration-patterns.md +0 -1
- package/plugins/cursor-pbr/references/model-profiles.md +0 -1
- package/plugins/cursor-pbr/references/model-selection.md +0 -1
- package/plugins/cursor-pbr/references/pbr-rules.md +0 -1
- package/plugins/cursor-pbr/references/plan-authoring.md +0 -1
- package/plugins/cursor-pbr/references/plan-format.md +0 -1
- package/plugins/cursor-pbr/references/reading-verification.md +0 -1
- package/plugins/cursor-pbr/references/stub-patterns.md +0 -1
- package/plugins/cursor-pbr/references/wave-execution.md +0 -1
- package/plugins/cursor-pbr/skills/begin/SKILL.md +74 -52
- package/plugins/cursor-pbr/skills/build/SKILL.md +81 -93
- package/plugins/cursor-pbr/skills/config/SKILL.md +5 -0
- package/plugins/cursor-pbr/skills/continue/SKILL.md +31 -24
- package/plugins/cursor-pbr/skills/dashboard/SKILL.md +8 -7
- package/plugins/cursor-pbr/skills/debug/SKILL.md +8 -0
- package/plugins/cursor-pbr/skills/discuss/SKILL.md +2 -0
- package/plugins/cursor-pbr/skills/do/SKILL.md +2 -0
- package/plugins/cursor-pbr/skills/explore/SKILL.md +5 -1
- package/plugins/cursor-pbr/skills/health/SKILL.md +2 -0
- package/plugins/cursor-pbr/skills/help/SKILL.md +6 -0
- package/plugins/cursor-pbr/skills/import/SKILL.md +7 -0
- package/plugins/cursor-pbr/skills/milestone/SKILL.md +20 -196
- package/plugins/cursor-pbr/skills/note/SKILL.md +2 -0
- package/plugins/cursor-pbr/skills/pause/SKILL.md +4 -0
- package/plugins/cursor-pbr/skills/plan/SKILL.md +87 -119
- package/plugins/cursor-pbr/skills/quick/SKILL.md +13 -8
- package/plugins/cursor-pbr/skills/resume/SKILL.md +4 -0
- package/plugins/cursor-pbr/skills/review/SKILL.md +85 -47
- package/plugins/cursor-pbr/skills/scan/SKILL.md +5 -0
- package/plugins/cursor-pbr/skills/setup/SKILL.md +2 -0
- package/plugins/cursor-pbr/skills/shared/commit-planning-docs.md +0 -1
- package/plugins/cursor-pbr/skills/shared/config-loading.md +0 -1
- package/plugins/cursor-pbr/skills/shared/context-budget.md +0 -1
- package/plugins/cursor-pbr/skills/shared/context-loader-task.md +0 -1
- package/plugins/cursor-pbr/skills/shared/digest-select.md +0 -1
- package/plugins/cursor-pbr/skills/shared/domain-probes.md +0 -1
- package/plugins/cursor-pbr/skills/shared/gate-prompts.md +0 -1
- package/plugins/cursor-pbr/skills/shared/phase-argument-parsing.md +0 -1
- package/plugins/cursor-pbr/skills/shared/revision-loop.md +0 -1
- package/plugins/cursor-pbr/skills/shared/state-update.md +0 -1
- package/plugins/cursor-pbr/skills/shared/universal-anti-patterns.md +1 -2
- package/plugins/cursor-pbr/skills/status/SKILL.md +35 -26
- package/plugins/cursor-pbr/skills/test/SKILL.md +2 -2
- package/plugins/cursor-pbr/skills/todo/SKILL.md +2 -0
- package/plugins/cursor-pbr/templates/CONTEXT.md.tmpl +0 -1
- package/plugins/cursor-pbr/templates/INTEGRATION-REPORT.md.tmpl +0 -1
- package/plugins/cursor-pbr/templates/RESEARCH-SUMMARY.md.tmpl +0 -1
- package/plugins/cursor-pbr/templates/ROADMAP.md.tmpl +0 -1
- package/plugins/cursor-pbr/templates/SUMMARY.md.tmpl +0 -1
- package/plugins/cursor-pbr/templates/VERIFICATION-DETAIL.md.tmpl +0 -1
- package/plugins/cursor-pbr/templates/continue-here.md.tmpl +0 -1
- package/plugins/cursor-pbr/templates/prompt-partials/phase-project-context.md.tmpl +0 -1
- package/plugins/pbr/.claude-plugin/plugin.json +1 -1
- package/plugins/pbr/scripts/context-budget-check.js +13 -1
- package/plugins/pbr/scripts/lib/core.js +53 -1
- package/plugins/pbr/scripts/pbr-tools.js +49 -3
- package/plugins/pbr/scripts/progress-tracker.js +13 -3
- package/plugins/pbr/scripts/session-cleanup.js +6 -0
- package/plugins/pbr/scripts/suggest-compact.js +13 -1
- package/plugins/pbr/skills/begin/SKILL.md +13 -13
- package/plugins/pbr/skills/build/SKILL.md +48 -31
- package/plugins/pbr/skills/milestone/SKILL.md +10 -10
- package/plugins/pbr/skills/plan/SKILL.md +9 -9
- package/plugins/pbr/skills/quick/SKILL.md +3 -3
- package/plugins/pbr/skills/review/SKILL.md +6 -6
|
@@ -3,6 +3,9 @@ name: milestone
|
|
|
3
3
|
description: "Manage milestones: new, complete, audit, gaps."
|
|
4
4
|
argument-hint: "new|complete|audit|gaps [version]"
|
|
5
5
|
---
|
|
6
|
+
<!-- markdownlint-disable MD012 MD046 -->
|
|
7
|
+
|
|
8
|
+
**STOP — DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Using the Read tool on this SKILL.md file wastes ~7,600 tokens. Begin executing Step 1 immediately.**
|
|
6
9
|
|
|
7
10
|
## Step 0 — Immediate Output
|
|
8
11
|
|
|
@@ -29,9 +32,9 @@ This skill runs **inline** for most subcommands, but spawns agents for `audit`.
|
|
|
29
32
|
Reference: `skills/shared/context-budget.md` for the universal orchestrator rules.
|
|
30
33
|
|
|
31
34
|
Additionally for this skill:
|
|
32
|
-
- **Never** perform integration checks yourself — delegate to the integration-checker
|
|
35
|
+
- **Never** perform integration checks yourself — delegate to the integration-checker subagent
|
|
33
36
|
- **Minimize** reading audit and verification outputs — read only frontmatter and status fields
|
|
34
|
-
- **Delegate** all cross-phase integration analysis to the integration-checker
|
|
37
|
+
- **Delegate** all cross-phase integration analysis to the integration-checker subagent
|
|
35
38
|
|
|
36
39
|
---
|
|
37
40
|
|
|
@@ -147,7 +150,7 @@ Start a new milestone cycle with new phases.
|
|
|
147
150
|
- **Status:** In progress
|
|
148
151
|
```
|
|
149
152
|
|
|
150
|
-
**CRITICAL -- DO NOT SKIP: Update STATE.md frontmatter AND body with new milestone info.**
|
|
153
|
+
**CRITICAL (no hook) -- DO NOT SKIP: Update STATE.md frontmatter AND body with new milestone info.**
|
|
151
154
|
|
|
152
155
|
8. **Update STATE.md:**
|
|
153
156
|
- Set current phase to the first new phase
|
|
@@ -158,39 +161,7 @@ Start a new milestone cycle with new phases.
|
|
|
158
161
|
docs(planning): start milestone "{name}" (phases {start}-{end})
|
|
159
162
|
```
|
|
160
163
|
|
|
161
|
-
10. **Confirm** with branded output
|
|
162
|
-
```
|
|
163
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
164
|
-
║ PLAN-BUILD-RUN ► MILESTONE CREATED ✓ ║
|
|
165
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
166
|
-
|
|
167
|
-
**Milestone: {name}** — {count} phases
|
|
168
|
-
|
|
169
|
-
Phases:
|
|
170
|
-
{N}. {name}
|
|
171
|
-
{N+1}. {name}
|
|
172
|
-
...
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
177
|
-
║ ▶ NEXT UP ║
|
|
178
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
179
|
-
|
|
180
|
-
**Phase {N}: {name}** — start with discussion or planning
|
|
181
|
-
|
|
182
|
-
`/pbr:discuss {N}`
|
|
183
|
-
|
|
184
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
**Also available:**
|
|
189
|
-
- `/pbr:plan {N}` — skip discussion, plan directly
|
|
190
|
-
- `/pbr:status` — see project status
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
```
|
|
164
|
+
10. **Confirm** with branded output — read `skills/milestone/templates/new-output.md.tmpl` and fill in `{name}` (milestone name), `{count}` (phase count), `{N}` (first phase number).
|
|
194
165
|
|
|
195
166
|
---
|
|
196
167
|
|
|
@@ -249,7 +220,7 @@ Dry-run of milestone completion — shows what would happen without making any c
|
|
|
249
220
|
Ready to complete? Run: /pbr:milestone complete v{version}
|
|
250
221
|
```
|
|
251
222
|
|
|
252
|
-
**CRITICAL**: This subcommand is READ-ONLY. Do not create directories, move files, modify STATE.md, modify ROADMAP.md, or create git tags. Only read and display.
|
|
223
|
+
**CRITICAL (no hook)**: This subcommand is READ-ONLY. Do not create directories, move files, modify STATE.md, modify ROADMAP.md, or create git tags. Only read and display.
|
|
253
224
|
|
|
254
225
|
---
|
|
255
226
|
|
|
@@ -325,7 +296,7 @@ Archive a completed milestone and prepare for the next one.
|
|
|
325
296
|
|
|
326
297
|
5. **Archive milestone documents:**
|
|
327
298
|
|
|
328
|
-
**CRITICAL: Pre-flight safety checks BEFORE archiving. Do NOT skip this step.**
|
|
299
|
+
**CRITICAL (no hook): Pre-flight safety checks BEFORE archiving. Do NOT skip this step.**
|
|
329
300
|
|
|
330
301
|
Before creating or moving anything, verify the destination is safe:
|
|
331
302
|
- Check if `.planning/milestones/{version}/` already exists
|
|
@@ -345,19 +316,19 @@ Archive a completed milestone and prepare for the next one.
|
|
|
345
316
|
- Verify each source phase directory exists before attempting to move it
|
|
346
317
|
- If any source phase directory is missing, warn but continue with the phases that do exist
|
|
347
318
|
|
|
348
|
-
**CRITICAL: Create the archive directory .planning/milestones/{version}/ NOW. Do NOT skip this step.**
|
|
319
|
+
**CRITICAL (no hook): Create the archive directory .planning/milestones/{version}/ NOW. Do NOT skip this step.**
|
|
349
320
|
|
|
350
321
|
Create a versioned archive directory and move phase directories into it:
|
|
351
322
|
- `.planning/milestones/{version}/ROADMAP.md` — snapshot of ROADMAP.md at completion
|
|
352
|
-
- `.planning/milestones/{version}/REQUIREMENTS.md` — **CRITICAL: Copy REQUIREMENTS.md to archive NOW. Do NOT skip this step.** Snapshot of REQUIREMENTS.md
|
|
323
|
+
- `.planning/milestones/{version}/REQUIREMENTS.md` — **CRITICAL (no hook): Copy REQUIREMENTS.md to archive NOW. Do NOT skip this step.** Snapshot of REQUIREMENTS.md
|
|
353
324
|
- `.planning/milestones/{version}/STATS.md` — milestone statistics
|
|
354
325
|
- `.planning/milestones/{version}/phases/{NN}-{slug}/` — move each milestone phase directory from `.planning/phases/` into the archive
|
|
355
326
|
|
|
356
|
-
**CRITICAL: Move phase directories from .planning/phases/ to archive NOW. Do NOT skip this step.**
|
|
327
|
+
**CRITICAL (no hook): Move phase directories from .planning/phases/ to archive NOW. Do NOT skip this step.**
|
|
357
328
|
|
|
358
329
|
**Move phases:** For each phase belonging to this milestone, move (not copy) its directory from `.planning/phases/{NN}-{slug}/` to `.planning/milestones/{version}/phases/{NN}-{slug}/`. This keeps the active phases directory clean for the next milestone.
|
|
359
330
|
|
|
360
|
-
**CRITICAL: Write STATS.md to .planning/milestones/{version}/STATS.md NOW. Do NOT skip this step.**
|
|
331
|
+
**CRITICAL (no hook): Write STATS.md to .planning/milestones/{version}/STATS.md NOW. Do NOT skip this step.**
|
|
361
332
|
|
|
362
333
|
**Stats file content:**
|
|
363
334
|
|
|
@@ -378,7 +349,7 @@ Archive a completed milestone and prepare for the next one.
|
|
|
378
349
|
|
|
379
350
|
- Move validated requirements from active to completed section
|
|
380
351
|
|
|
381
|
-
**CRITICAL: Update ROADMAP.md with collapsed milestone section NOW. Do NOT skip this step.**
|
|
352
|
+
**CRITICAL (no hook): Update ROADMAP.md with collapsed milestone section NOW. Do NOT skip this step.**
|
|
382
353
|
|
|
383
354
|
7. **Collapse completed phases in ROADMAP.md:**
|
|
384
355
|
Replace detailed phase entries with collapsed summaries:
|
|
@@ -394,7 +365,7 @@ Archive a completed milestone and prepare for the next one.
|
|
|
394
365
|
| {N+1}. {name} | Completed |
|
|
395
366
|
```
|
|
396
367
|
|
|
397
|
-
**CRITICAL: Update STATE.md to mark milestone as complete NOW. Do NOT skip this step.**
|
|
368
|
+
**CRITICAL (no hook): Update STATE.md to mark milestone as complete NOW. Do NOT skip this step.**
|
|
398
369
|
|
|
399
370
|
7b. **Update STATE.md:**
|
|
400
371
|
- Update `.planning/STATE.md` to mark the milestone as complete
|
|
@@ -415,7 +386,7 @@ Archive a completed milestone and prepare for the next one.
|
|
|
415
386
|
|
|
416
387
|
7d. **Aggregate learnings from milestone phases:**
|
|
417
388
|
|
|
418
|
-
**CRITICAL: Run learnings aggregation NOW. Do NOT skip this step.**
|
|
389
|
+
**CRITICAL (no hook): Run learnings aggregation NOW. Do NOT skip this step.**
|
|
419
390
|
|
|
420
391
|
```bash
|
|
421
392
|
node ${PLUGIN_ROOT}/scripts/milestone-learnings.js .planning/milestones/{version} --project {project-name-from-STATE.md}
|
|
@@ -478,42 +449,7 @@ If `config.deployment.smoke_test_command` is set and non-empty:
|
|
|
478
449
|
|
|
479
450
|
This is advisory only — the milestone is already archived. Surface it as a potential issue for the user to investigate.
|
|
480
451
|
|
|
481
|
-
10. **Confirm** with branded output
|
|
482
|
-
```
|
|
483
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
484
|
-
║ PLAN-BUILD-RUN ► MILESTONE COMPLETE 🎉 ║
|
|
485
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
486
|
-
|
|
487
|
-
**{version}**
|
|
488
|
-
|
|
489
|
-
Stats:
|
|
490
|
-
- {count} phases, {count} plans
|
|
491
|
-
- {count} commits, {lines} lines of code
|
|
492
|
-
- {duration} days
|
|
493
|
-
|
|
494
|
-
Archived to: .planning/milestones/{version}/
|
|
495
|
-
Git tag: {version}
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
500
|
-
║ ▶ NEXT UP ║
|
|
501
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
502
|
-
|
|
503
|
-
**Start the next milestone** — plan new features
|
|
504
|
-
|
|
505
|
-
`/pbr:milestone new`
|
|
506
|
-
|
|
507
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
**Also available:**
|
|
512
|
-
- `/pbr:status` — see project status
|
|
513
|
-
- `/pbr:help` — see all commands
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
```
|
|
452
|
+
10. **Confirm** with branded output — read `skills/milestone/templates/complete-output.md.tmpl` and fill in `{version}`, `{count}` (phases, plans, commits), `{lines}`, `{duration}`.
|
|
517
453
|
|
|
518
454
|
---
|
|
519
455
|
|
|
@@ -536,7 +472,7 @@ Verify milestone completion with cross-phase integration checks.
|
|
|
536
472
|
|
|
537
473
|
Display to the user: `◐ Spawning integration checker...`
|
|
538
474
|
|
|
539
|
-
Spawn `Task(
|
|
475
|
+
Spawn `Task(subagent_type: "pbr:integration-checker")`. Read `skills/milestone/templates/integration-checker-prompt.md.tmpl`, fill in `{version or "current"}`, `{list of phase directories}`, and `{phase SUMMARY.md paths}`, then use the filled template as the Task() prompt.
|
|
540
476
|
|
|
541
477
|
4. **Check integration-checker completion:**
|
|
542
478
|
|
|
@@ -557,91 +493,7 @@ Verify milestone completion with cross-phase integration checks.
|
|
|
557
493
|
|
|
558
494
|
**Spot-check:** After writing, verify `.planning/{version}-MILESTONE-AUDIT.md` exists on disk using Glob. If missing, re-attempt the write. If still missing, display an error and include findings inline.
|
|
559
495
|
|
|
560
|
-
7. **Report to user** using branded banners
|
|
561
|
-
|
|
562
|
-
**If PASSED:**
|
|
563
|
-
```
|
|
564
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
565
|
-
║ PLAN-BUILD-RUN ► MILESTONE AUDIT PASSED ✓ ║
|
|
566
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
567
|
-
|
|
568
|
-
All phases verified, integration checks passed, requirements covered.
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
573
|
-
║ ▶ NEXT UP ║
|
|
574
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
575
|
-
|
|
576
|
-
**Complete the milestone** — archive and tag
|
|
577
|
-
|
|
578
|
-
`/pbr:milestone complete {version}`
|
|
579
|
-
|
|
580
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
**Also available:**
|
|
585
|
-
- `/pbr:milestone gaps` — address any minor issues first
|
|
586
|
-
- `/pbr:status` — see project status
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
```
|
|
590
|
-
|
|
591
|
-
**If GAPS FOUND:**
|
|
592
|
-
```
|
|
593
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
594
|
-
║ PLAN-BUILD-RUN ► MILESTONE AUDIT — GAPS FOUND ⚠ ║
|
|
595
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
596
|
-
|
|
597
|
-
Found {count} gaps:
|
|
598
|
-
- {gap 1}
|
|
599
|
-
- {gap 2}
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
604
|
-
║ ▶ NEXT UP ║
|
|
605
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
606
|
-
|
|
607
|
-
**Close the gaps** — create fix phases
|
|
608
|
-
|
|
609
|
-
`/pbr:milestone gaps`
|
|
610
|
-
|
|
611
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
**Also available:**
|
|
616
|
-
- `/pbr:milestone complete` — proceed despite gaps
|
|
617
|
-
- `/pbr:status` — see project status
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
```
|
|
621
|
-
|
|
622
|
-
**If TECH DEBT:**
|
|
623
|
-
```
|
|
624
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
625
|
-
║ PLAN-BUILD-RUN ► MILESTONE AUDIT — TECH DEBT ⚠ ║
|
|
626
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
627
|
-
|
|
628
|
-
Milestone functional but has {count} tech debt items.
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
633
|
-
║ ▶ NEXT UP ║
|
|
634
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
635
|
-
|
|
636
|
-
**Address tech debt or proceed**
|
|
637
|
-
|
|
638
|
-
`/pbr:milestone gaps` — create cleanup phases
|
|
639
|
-
`/pbr:milestone complete` — proceed as-is
|
|
640
|
-
|
|
641
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
```
|
|
496
|
+
7. **Report to user** using branded banners — read `skills/milestone/templates/audit-output.md.tmpl`. The template contains all 3 variants (PASSED, GAPS FOUND, TECH DEBT). Select the appropriate section based on audit result. Fill in `{version}`, `{count}`, `{gap 1}`, `{gap 2}` as applicable.
|
|
645
497
|
|
|
646
498
|
---
|
|
647
499
|
|
|
@@ -721,35 +573,7 @@ Create phases to close gaps found during an audit.
|
|
|
721
573
|
docs(planning): add gap-closure phases from milestone audit
|
|
722
574
|
```
|
|
723
575
|
|
|
724
|
-
9. **Confirm** with branded output
|
|
725
|
-
```
|
|
726
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
727
|
-
║ PLAN-BUILD-RUN ► GAP PHASES CREATED ✓ ║
|
|
728
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
729
|
-
|
|
730
|
-
Created {count} gap-closure phase(s):
|
|
731
|
-
- Phase {N}: {name}
|
|
732
|
-
- Phase {N+1}: {name}
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
737
|
-
║ ▶ NEXT UP ║
|
|
738
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
739
|
-
|
|
740
|
-
**Plan the first gap-closure phase**
|
|
741
|
-
|
|
742
|
-
`/pbr:plan {N}`
|
|
743
|
-
|
|
744
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
**Also available:**
|
|
749
|
-
- `/pbr:status` — see project status
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
```
|
|
576
|
+
9. **Confirm** with branded output — read `skills/milestone/templates/gaps-output.md.tmpl` and fill in `{count}` (gap-closure phases created), `{N}` (first gap phase number), `{name}` (phase name).
|
|
753
577
|
|
|
754
578
|
---
|
|
755
579
|
|
|
@@ -4,6 +4,8 @@ description: "Zero-friction idea capture. Append, list, or promote notes to todo
|
|
|
4
4
|
argument-hint: "<text> | list | promote <index> [--global]"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
**STOP — DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Using the Read tool on this SKILL.md file wastes ~7,600 tokens. Begin executing Step 1 immediately.**
|
|
8
|
+
|
|
7
9
|
## Step 0 — Immediate Output
|
|
8
10
|
|
|
9
11
|
**Before ANY tool calls**, display this banner:
|
|
@@ -3,6 +3,8 @@ name: pause
|
|
|
3
3
|
description: "Save your current session state for later resumption."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
**STOP — DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Using the Read tool on this SKILL.md file wastes ~7,600 tokens. Begin executing Step 1 immediately.**
|
|
7
|
+
|
|
6
8
|
## Step 0 — Immediate Output
|
|
7
9
|
|
|
8
10
|
**Before ANY tool calls**, display this banner:
|
|
@@ -181,6 +183,7 @@ Completed: {count} plans this session
|
|
|
181
183
|
Remaining: {count} plans in this phase
|
|
182
184
|
|
|
183
185
|
|
|
186
|
+
|
|
184
187
|
╔══════════════════════════════════════════════════════════════╗
|
|
185
188
|
║ ▶ NEXT UP ║
|
|
186
189
|
╚══════════════════════════════════════════════════════════════╝
|
|
@@ -191,6 +194,7 @@ Remaining: {count} plans in this phase
|
|
|
191
194
|
|
|
192
195
|
<sub>`/clear` first → fresh context window</sub>
|
|
193
196
|
|
|
197
|
+
|
|
194
198
|
```
|
|
195
199
|
|
|
196
200
|
---
|