@sienklogic/plan-build-run 2.21.0 → 2.21.1
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 +24 -0
- package/CLAUDE.md +2 -2
- package/package.json +1 -1
- package/plugins/copilot-pbr/agents/codebase-mapper.agent.md +1 -1
- package/plugins/copilot-pbr/agents/debugger.agent.md +2 -0
- package/plugins/copilot-pbr/agents/executor.agent.md +3 -1
- package/plugins/copilot-pbr/agents/general.agent.md +2 -1
- package/plugins/copilot-pbr/agents/integration-checker.agent.md +2 -0
- package/plugins/copilot-pbr/agents/plan-checker.agent.md +1 -1
- package/plugins/copilot-pbr/agents/planner.agent.md +3 -1
- package/plugins/copilot-pbr/agents/researcher.agent.md +5 -3
- package/plugins/copilot-pbr/agents/synthesizer.agent.md +1 -1
- package/plugins/copilot-pbr/agents/verifier.agent.md +3 -3
- package/plugins/copilot-pbr/hooks/hooks.json +13 -13
- package/plugins/copilot-pbr/plugin.json +1 -1
- package/plugins/copilot-pbr/skills/audit/SKILL.md +1 -1
- package/plugins/copilot-pbr/skills/build/SKILL.md +4 -5
- package/plugins/copilot-pbr/skills/config/SKILL.md +1 -1
- package/plugins/copilot-pbr/skills/debug/SKILL.md +1 -1
- package/plugins/copilot-pbr/skills/import/SKILL.md +1 -1
- package/plugins/copilot-pbr/skills/plan/SKILL.md +1 -1
- package/plugins/copilot-pbr/skills/review/SKILL.md +4 -4
- package/plugins/copilot-pbr/skills/scan/SKILL.md +4 -4
- package/plugins/copilot-pbr/skills/shared/config-loading.md +1 -1
- package/plugins/copilot-pbr/skills/shared/context-budget.md +3 -3
- package/plugins/copilot-pbr/skills/shared/state-loading.md +1 -1
- package/plugins/copilot-pbr/skills/shared/state-update.md +12 -4
- package/plugins/copilot-pbr/skills/shared/universal-anti-patterns.md +1 -1
- package/plugins/copilot-pbr/templates/ROADMAP.md.tmpl +7 -0
- package/plugins/cursor-pbr/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor-pbr/agents/codebase-mapper.md +1 -1
- package/plugins/cursor-pbr/agents/debugger.md +2 -0
- package/plugins/cursor-pbr/agents/executor.md +3 -1
- package/plugins/cursor-pbr/agents/general.md +2 -1
- package/plugins/cursor-pbr/agents/integration-checker.md +2 -0
- package/plugins/cursor-pbr/agents/plan-checker.md +1 -1
- package/plugins/cursor-pbr/agents/planner.md +3 -1
- package/plugins/cursor-pbr/agents/researcher.md +5 -3
- package/plugins/cursor-pbr/agents/synthesizer.md +1 -1
- package/plugins/cursor-pbr/agents/verifier.md +3 -3
- package/plugins/cursor-pbr/skills/audit/SKILL.md +1 -1
- package/plugins/cursor-pbr/skills/build/SKILL.md +4 -5
- package/plugins/cursor-pbr/skills/config/SKILL.md +1 -1
- package/plugins/cursor-pbr/skills/debug/SKILL.md +1 -1
- package/plugins/cursor-pbr/skills/import/SKILL.md +1 -1
- package/plugins/cursor-pbr/skills/plan/SKILL.md +1 -1
- package/plugins/cursor-pbr/skills/review/SKILL.md +4 -4
- package/plugins/cursor-pbr/skills/scan/SKILL.md +4 -4
- package/plugins/cursor-pbr/skills/shared/config-loading.md +1 -1
- package/plugins/cursor-pbr/skills/shared/context-budget.md +3 -3
- package/plugins/cursor-pbr/skills/shared/state-loading.md +1 -1
- package/plugins/cursor-pbr/skills/shared/state-update.md +12 -4
- package/plugins/cursor-pbr/skills/shared/universal-anti-patterns.md +1 -1
- package/plugins/cursor-pbr/templates/ROADMAP.md.tmpl +7 -0
- package/plugins/pbr/.claude-plugin/plugin.json +1 -1
- package/plugins/pbr/agents/codebase-mapper.md +1 -1
- package/plugins/pbr/agents/debugger.md +2 -0
- package/plugins/pbr/agents/executor.md +3 -1
- package/plugins/pbr/agents/general.md +2 -1
- package/plugins/pbr/agents/integration-checker.md +2 -0
- package/plugins/pbr/agents/plan-checker.md +0 -1
- package/plugins/pbr/agents/planner.md +2 -1
- package/plugins/pbr/agents/researcher.md +2 -0
- package/plugins/pbr/agents/synthesizer.md +0 -1
- package/plugins/pbr/agents/verifier.md +1 -1
- package/plugins/pbr/commands/do.md +5 -0
- package/plugins/pbr/scripts/check-phase-boundary.js +2 -8
- package/plugins/pbr/scripts/check-plan-format.js +78 -2
- package/plugins/pbr/scripts/check-skill-workflow.js +3 -11
- package/plugins/pbr/scripts/check-state-sync.js +18 -8
- package/plugins/pbr/scripts/check-subagent-output.js +78 -6
- package/plugins/pbr/scripts/log-tool-failure.js +1 -4
- package/plugins/pbr/scripts/pre-write-dispatch.js +0 -1
- package/plugins/pbr/scripts/status-line.js +44 -11
- package/plugins/pbr/scripts/validate-commit.js +8 -7
- package/plugins/pbr/scripts/validate-skill-args.js +2 -1
- package/plugins/pbr/scripts/validate-task.js +0 -5
- package/plugins/pbr/skills/build/SKILL.md +4 -5
- package/plugins/pbr/skills/health/SKILL.md +0 -2
- package/plugins/pbr/skills/plan/SKILL.md +1 -1
- package/plugins/pbr/skills/review/SKILL.md +4 -4
- package/plugins/pbr/skills/shared/state-update.md +10 -2
- package/plugins/pbr/templates/ROADMAP.md.tmpl +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ All notable changes to Plan-Build-Run will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.21.1](https://github.com/SienkLogic/plan-build-run/compare/plan-build-run-v2.21.0...plan-build-run-v2.21.1) (2026-02-23)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **23-01:** register /pbr:do command and fix critical audit findings ([274f324](https://github.com/SienkLogic/plan-build-run/commit/274f3247ea32557954c45eb321f5551bc3d8b3de))
|
|
14
|
+
* **23-02:** replace CLAUDE_PLUGIN_ROOT with PLUGIN_ROOT in cursor-pbr ([7fa53be](https://github.com/SienkLogic/plan-build-run/commit/7fa53beafaba95ab4c36499e7fb333ec83c58ecc))
|
|
15
|
+
* **23-03:** replace CLAUDE_PLUGIN_ROOT with PLUGIN_ROOT in copilot-pbr ([071f739](https://github.com/SienkLogic/plan-build-run/commit/071f739eab3854e03a68f6b93ad7de40854c8b72))
|
|
16
|
+
* **23-04:** replace subagents terminology with agents in cursor-pbr ([444765f](https://github.com/SienkLogic/plan-build-run/commit/444765f3277d077fba200c6d5f5fde594abdaf9a))
|
|
17
|
+
* **23-05:** fix subagents terminology in copilot-pbr and sync ROADMAP template ([e019e83](https://github.com/SienkLogic/plan-build-run/commit/e019e832b4c2808cec951eda44f0f57cb8755b8c))
|
|
18
|
+
* **23-07:** strip hookSpecificOutput wrapper from check-phase-boundary and pre-write-dispatch ([61e4e1e](https://github.com/SienkLogic/plan-build-run/commit/61e4e1ec7a7db3bc8ac4184e58c94ab5c324eb38))
|
|
19
|
+
* **23-09:** reorder copilot-pbr hooks.json postToolUseFailure before preToolUse to match pbr canonical ordering ([1180c9d](https://github.com/SienkLogic/plan-build-run/commit/1180c9d4ffb2c1bbbe4bc201a5dab126aee43ded))
|
|
20
|
+
* **23-09:** use decision:block in validate-skill-args.js, remove orphaned JSDoc in validate-task.js ([ec8c1d2](https://github.com/SienkLogic/plan-build-run/commit/ec8c1d24f9436c1dee703ec3509eb065fb2c4c92))
|
|
21
|
+
* **23-10:** correct dispatch table — move check-doc-sprawl and check-skill-workflow to pre-write-dispatch ([c6acc27](https://github.com/SienkLogic/plan-build-run/commit/c6acc2791ba652d5f81da231d301afcc90ab5c57))
|
|
22
|
+
* **23-10:** remove dead body from checkStatuslineRules in check-skill-workflow.js ([5a518ec](https://github.com/SienkLogic/plan-build-run/commit/5a518ec4772de1cf2991201e2657f5737efe2ebd))
|
|
23
|
+
* **23-10:** remove redundant allowed-tools Note from health SKILL.md Auto-Fix section ([7dcd549](https://github.com/SienkLogic/plan-build-run/commit/7dcd549bbd0e11b6eb4177e5ed1d4fd5eddc7d9b))
|
|
24
|
+
* **23-12:** fix remaining subagents terminology in scan SKILL.md derivatives ([67b15e8](https://github.com/SienkLogic/plan-build-run/commit/67b15e881d752ad1eb66bfb31496f634cb3c1768))
|
|
25
|
+
* **23-12:** fix test property paths and heredoc extraction to achieve 70% branch coverage ([4b857fe](https://github.com/SienkLogic/plan-build-run/commit/4b857fe73b8d82e6efe05114a7b09737c65dee12))
|
|
26
|
+
* **23-12:** remove excess tool grants from synthesizer and plan-checker agents ([04432b3](https://github.com/SienkLogic/plan-build-run/commit/04432b35dde761e95d14ca98353091bc936512a6))
|
|
27
|
+
* **quick-001:** fix agent prompt issues from audit (items 4-7) ([2772154](https://github.com/SienkLogic/plan-build-run/commit/27721547694686e2f425e95a7257b9cc48316c86))
|
|
28
|
+
* **quick-001:** fix agent prompt issues from audit (items 8-10) ([1c41a8f](https://github.com/SienkLogic/plan-build-run/commit/1c41a8f29a5069f4bb7cec612875b59dc6a22b22))
|
|
29
|
+
* **quick-001:** fix STATE.md body drift, stale status line, and ROADMAP sync gaps ([896494d](https://github.com/SienkLogic/plan-build-run/commit/896494d1215a7aadb7aa5b28c050db282cdcd784))
|
|
30
|
+
* **tools:** fix CI lint errors and macOS symlink test failure ([e5294a0](https://github.com/SienkLogic/plan-build-run/commit/e5294a0e0eefde674203ef0ed587d5def5c0f865))
|
|
31
|
+
|
|
8
32
|
## [2.21.0](https://github.com/SienkLogic/plan-build-run/compare/plan-build-run-v2.20.0...plan-build-run-v2.21.0) (2026-02-23)
|
|
9
33
|
|
|
10
34
|
|
package/CLAUDE.md
CHANGED
|
@@ -59,13 +59,13 @@ Markdown files with YAML frontmatter defining specialized subagent prompts. Agen
|
|
|
59
59
|
|------------|-------------|-------------|
|
|
60
60
|
| SessionStart | progress-tracker.js | — (injects project state) |
|
|
61
61
|
| PostToolUse (Write\|Edit) | post-write-dispatch.js | check-plan-format.js, check-roadmap-sync.js, check-state-sync.js |
|
|
62
|
-
| PostToolUse (Write\|Edit) | post-write-quality.js |
|
|
62
|
+
| PostToolUse (Write\|Edit) | post-write-quality.js | — (autoFormat, typeCheck, detectConsoleLogs) |
|
|
63
63
|
| PostToolUse (Task) | check-subagent-output.js | — (validates agent output) |
|
|
64
64
|
| PostToolUse (Write\|Edit) | suggest-compact.js | — (context budget warnings) |
|
|
65
65
|
| PostToolUse (Read) | track-context-budget.js | — (tracks reads for budget) |
|
|
66
66
|
| PostToolUseFailure | log-tool-failure.js | — (logs failures) |
|
|
67
67
|
| PreToolUse (Bash) | pre-bash-dispatch.js | validate-commit.js, check-dangerous-commands.js, check-phase-boundary.js |
|
|
68
|
-
| PreToolUse (Write\|Edit) | pre-write-dispatch.js |
|
|
68
|
+
| PreToolUse (Write\|Edit) | pre-write-dispatch.js | check-skill-workflow.js, check-summary-gate.js, check-phase-boundary.js, check-doc-sprawl.js |
|
|
69
69
|
| PreCompact | context-budget-check.js | — (preserves STATE.md) |
|
|
70
70
|
| Stop | auto-continue.js | — (chains next command) |
|
|
71
71
|
| SubagentStart/Stop | log-subagent.js | — (tracks lifecycle) |
|
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@ You are **codebase-mapper**, the codebase analysis agent for the Plan-Build-Run
|
|
|
22
22
|
|
|
23
23
|
### Forbidden Files
|
|
24
24
|
|
|
25
|
-
When exploring, NEVER
|
|
25
|
+
When exploring, NEVER write to or include in your output:
|
|
26
26
|
- `.env` files (except `.env.example` or `.env.template`)
|
|
27
27
|
- `*.key`, `*.pem`, `*.pfx`, `*.p12` — private keys and certificates
|
|
28
28
|
- Files containing `credential` or `secret` in their name
|
|
@@ -8,6 +8,8 @@ target: "github-copilot"
|
|
|
8
8
|
|
|
9
9
|
# Plan-Build-Run Debugger
|
|
10
10
|
|
|
11
|
+
> **Memory note:** Project memory is enabled to provide debugging continuity across investigation sessions.
|
|
12
|
+
|
|
11
13
|
You are **debugger**, the systematic debugging agent. Investigate bugs using the scientific method: hypothesize, test, collect evidence, narrow the search space.
|
|
12
14
|
|
|
13
15
|
## Output Budget
|
|
@@ -8,6 +8,8 @@ target: "github-copilot"
|
|
|
8
8
|
|
|
9
9
|
# Plan-Build-Run Executor
|
|
10
10
|
|
|
11
|
+
> **Memory note:** Project memory is enabled to provide build history context for deviation awareness.
|
|
12
|
+
|
|
11
13
|
You are **executor**, the code execution agent for Plan-Build-Run. You receive verified plans and execute them task-by-task, producing working code with atomic commits, deviation handling, and self-verification.
|
|
12
14
|
|
|
13
15
|
**You are a builder, not a designer.** Plans tell you WHAT to build. You figure out HOW at the code level. You do NOT redesign, skip, reorder, or add scope.
|
|
@@ -175,7 +177,7 @@ must_haves:
|
|
|
175
177
|
### Completeness Checklist
|
|
176
178
|
|
|
177
179
|
Before deleting `.PROGRESS-{plan_id}`, verify SUMMARY.md has:
|
|
178
|
-
- [ ] YAML frontmatter with `
|
|
180
|
+
- [ ] YAML frontmatter with `plan`, `status`, `tasks_completed`, `tasks_total`
|
|
179
181
|
- [ ] Deviations section (use "None" if empty)
|
|
180
182
|
- [ ] Files Changed listing at least one file
|
|
181
183
|
- [ ] At least one commit hash reference
|
|
@@ -12,7 +12,8 @@ You are **general**, a lightweight utility agent for the Plan-Build-Run developm
|
|
|
12
12
|
|
|
13
13
|
## When You're Used
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
This agent is available for ad-hoc `Task()` calls from skills or custom orchestration. It is not currently spawned by any built-in PBR skill automatically — it must be invoked explicitly.
|
|
16
|
+
|
|
16
17
|
- Simple file generation or formatting tasks
|
|
17
18
|
- Tasks that need Plan-Build-Run context but not specialized methodology
|
|
18
19
|
- Fallback when a specialized agent would be overkill
|
|
@@ -36,6 +36,8 @@ You MUST perform all applicable categories (skip only if zero items exist for th
|
|
|
36
36
|
4. **E2E Flow Completeness** — Critical user workflows must trace from UI through API to data layer and back without breaks.
|
|
37
37
|
5. **Cross-Phase Dependency Satisfaction** — Phase N's declared dependencies on Phase M must be actually satisfied in code.
|
|
38
38
|
|
|
39
|
+
> **First-phase edge case**: If no completed phases exist yet, focus on verifying the current phase's internal consistency — exports match imports within the phase, API contracts are self-consistent. Cross-phase checks are not applicable and should be skipped.
|
|
40
|
+
|
|
39
41
|
### Agent Contract Compliance
|
|
40
42
|
|
|
41
43
|
Read `references/agent-contracts.md` to validate agent-to-agent handoffs. Verify that each agent's actual output matches its declared contract schema — especially `provides`/`consumes` fields in SUMMARY.md and status enums in VERIFICATION.md.
|
|
@@ -140,7 +140,7 @@ Code-producing tasks should include test expectations. Check that tasks creating
|
|
|
140
140
|
|
|
141
141
|
## Verification Process
|
|
142
142
|
|
|
143
|
-
1. **Load Plans** — Read all plan files. Parse YAML frontmatter and XML tasks. Use `node ${
|
|
143
|
+
1. **Load Plans** — Read all plan files. Parse YAML frontmatter and XML tasks. Use `node ${PLUGIN_ROOT}/scripts/pbr-tools.js frontmatter {path}` and `plan-index {phase}` for frontmatter; read body for XML.
|
|
144
144
|
2. **Load Context** — If CONTEXT.md provided, extract locked decisions, deferred ideas, user constraints.
|
|
145
145
|
3. **Load Phase Goal** — From input instruction, phase directory, or plan frontmatter must_haves.
|
|
146
146
|
4. **Run All 10 Dimensions** — Evaluate each plan against all dimensions. Collect issues.
|
|
@@ -8,6 +8,8 @@ target: "github-copilot"
|
|
|
8
8
|
|
|
9
9
|
# Plan-Build-Run Planner
|
|
10
10
|
|
|
11
|
+
> **Memory note:** Project memory is enabled to provide planning continuity and awareness of prior phase decisions.
|
|
12
|
+
|
|
11
13
|
You are **planner**, the planning agent for the Plan-Build-Run development system. You transform research, phase goals, and user requirements into executable plans that the executor agent can follow mechanically.
|
|
12
14
|
|
|
13
15
|
## Core Principle: Context Fidelity
|
|
@@ -30,7 +32,7 @@ Invoked with a VERIFICATION.md containing gaps. Read the report, identify gaps,
|
|
|
30
32
|
Invoked with plan-checker feedback containing issues. Revise flagged plan(s) to address all blockers and warnings. See Revision Mode below.
|
|
31
33
|
|
|
32
34
|
### Mode 4: Roadmap Mode
|
|
33
|
-
Invoked with a request to create/update the project roadmap. Produce `.planning/ROADMAP.md` using the template at `${
|
|
35
|
+
Invoked with a request to create/update the project roadmap. Produce `.planning/ROADMAP.md` using the template at `${PLUGIN_ROOT}/templates/ROADMAP.md.tmpl`.
|
|
34
36
|
|
|
35
37
|
#### Fallback Format: ROADMAP.md (if template unreadable)
|
|
36
38
|
|
|
@@ -52,6 +52,8 @@ All claims must be attributed to a source level. Higher levels override lower le
|
|
|
52
52
|
|
|
53
53
|
**Attribution rules**: Every factual claim needs a source tag (`[S1]`, `[S2]`, etc.). Version-sensitive information (API signatures, config syntax) MUST come from S1-S3. When citing S2, note the version: `[S2-v14.2]`. Contradictions resolve in favor of higher source level.
|
|
54
54
|
|
|
55
|
+
**Offline Fallback**: If web tools are unavailable (air-gapped environment, MCP not configured), rely on local sources: codebase analysis via Glob/Grep, existing documentation, and README files. Assign these S3-S4 confidence levels. Do not attempt WebFetch or WebSearch — note in the output header that external sources were unavailable.
|
|
56
|
+
|
|
55
57
|
---
|
|
56
58
|
|
|
57
59
|
## Confidence Levels
|
|
@@ -101,15 +103,15 @@ Before writing output, verify: every claim has source attribution, every recomme
|
|
|
101
103
|
## Output Formats
|
|
102
104
|
|
|
103
105
|
### Project Research
|
|
104
|
-
Read `${
|
|
106
|
+
Read `${PLUGIN_ROOT}/templates/research-outputs/project-research.md.tmpl` for format.
|
|
105
107
|
Key sections: User Constraints, Executive Summary, Standard Stack, Architecture Patterns, Common Pitfalls, Code Examples, Integration Points, Coverage Assessment, Open Questions, Sources.
|
|
106
108
|
|
|
107
109
|
### Phase Research
|
|
108
|
-
Read `${
|
|
110
|
+
Read `${PLUGIN_ROOT}/templates/research-outputs/phase-research.md.tmpl` for format.
|
|
109
111
|
Key sections: User Constraints, Phase Goal, Implementation Approach, Dependencies, Pitfalls, Testing Strategy, Coverage Assessment, Sources.
|
|
110
112
|
|
|
111
113
|
### Synthesis
|
|
112
|
-
Read `${
|
|
114
|
+
Read `${PLUGIN_ROOT}/templates/research-outputs/synthesis.md.tmpl` for format.
|
|
113
115
|
Key sections: Executive Summary, Key Findings, Contradictions Resolved, Recommended Approach, Risks and Mitigations, Sources.
|
|
114
116
|
|
|
115
117
|
### Fallback Format (if templates unreadable)
|
|
@@ -54,7 +54,7 @@ Output to `.planning/research/SUMMARY.md` (or specified path).
|
|
|
54
54
|
|
|
55
55
|
## Output Format
|
|
56
56
|
|
|
57
|
-
Read `${
|
|
57
|
+
Read `${PLUGIN_ROOT}/templates/RESEARCH-SUMMARY.md.tmpl` for the complete output format.
|
|
58
58
|
|
|
59
59
|
Key sections: Executive Summary (3-5 sentences), Recommended Stack (table), Architecture Recommendations, Key Patterns, Pitfalls & Warnings, Contradictions Resolved, Open Questions, Sources.
|
|
60
60
|
|
|
@@ -48,8 +48,8 @@ Look for an existing `VERIFICATION.md` in the phase directory.
|
|
|
48
48
|
|
|
49
49
|
Use `pbr-tools.js` CLI to efficiently load phase data (saves ~500-800 tokens vs. manual parsing):
|
|
50
50
|
```bash
|
|
51
|
-
node ${
|
|
52
|
-
node ${
|
|
51
|
+
node ${PLUGIN_ROOT}/scripts/pbr-tools.js must-haves {phase_number}
|
|
52
|
+
node ${PLUGIN_ROOT}/scripts/pbr-tools.js phase-info {phase_number}
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
Stop and report error if pbr-tools CLI is unavailable. Also read CONTEXT.md for locked decisions and deferred ideas, and ROADMAP.md for the phase goal and dependencies.
|
|
@@ -216,7 +216,7 @@ Read `references/stub-patterns.md` for stub detection patterns by technology. Re
|
|
|
216
216
|
|
|
217
217
|
### Verifier-Specific Anti-Patterns
|
|
218
218
|
1. DO NOT trust SUMMARY.md claims without verifying the actual codebase
|
|
219
|
-
2. DO NOT attempt to fix issues — you have no
|
|
219
|
+
2. DO NOT attempt to fix issues — you have no Edit tool and that is intentional; Write access is only for VERIFICATION.md output
|
|
220
220
|
3. DO NOT mark stubs as SUBSTANTIVE — if it has a TODO, it's a stub
|
|
221
221
|
4. DO NOT mark orphaned code as WIRED — if nothing imports it, it's orphaned
|
|
222
222
|
5. DO NOT skip Level 2 or Level 3 checks — existence alone is insufficient
|
|
@@ -77,6 +77,19 @@
|
|
|
77
77
|
]
|
|
78
78
|
}
|
|
79
79
|
],
|
|
80
|
+
"postToolUseFailure": [
|
|
81
|
+
{
|
|
82
|
+
"hooks": [
|
|
83
|
+
{
|
|
84
|
+
"type": "command",
|
|
85
|
+
"bash": "node \"$(cd \"$(dirname \"$0\")\" && pwd)/../../pbr/scripts/run-hook.js\" log-tool-failure.js",
|
|
86
|
+
"powershell": "node (Join-Path (Split-Path -Parent $PSScriptRoot) 'pbr\\scripts\\run-hook.js') log-tool-failure.js",
|
|
87
|
+
"cwd": ".",
|
|
88
|
+
"timeoutSec": 15
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
],
|
|
80
93
|
"preToolUse": [
|
|
81
94
|
{
|
|
82
95
|
"matcher": "Bash",
|
|
@@ -139,19 +152,6 @@
|
|
|
139
152
|
]
|
|
140
153
|
}
|
|
141
154
|
],
|
|
142
|
-
"postToolUseFailure": [
|
|
143
|
-
{
|
|
144
|
-
"hooks": [
|
|
145
|
-
{
|
|
146
|
-
"type": "command",
|
|
147
|
-
"bash": "node \"$(cd \"$(dirname \"$0\")\" && pwd)/../../pbr/scripts/run-hook.js\" log-tool-failure.js",
|
|
148
|
-
"powershell": "node (Join-Path (Split-Path -Parent $PSScriptRoot) 'pbr\\scripts\\run-hook.js') log-tool-failure.js",
|
|
149
|
-
"cwd": ".",
|
|
150
|
-
"timeoutSec": 15
|
|
151
|
-
}
|
|
152
|
-
]
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
155
|
"preCompact": [
|
|
156
156
|
{
|
|
157
157
|
"hooks": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pbr",
|
|
3
3
|
"displayName": "Plan-Build-Run",
|
|
4
|
-
"version": "2.21.
|
|
4
|
+
"version": "2.21.1",
|
|
5
5
|
"description": "Plan-Build-Run — Structured development workflow for GitHub Copilot CLI. Solves context rot through disciplined agent delegation, structured planning, atomic execution, and goal-backward verification.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "SienkLogic",
|
|
@@ -85,7 +85,7 @@ find ~/.claude/projects/{encoded-path}/ -name "*.jsonl" -maxdepth 1 \
|
|
|
85
85
|
|
|
86
86
|
For each session file found, also check for subagent logs:
|
|
87
87
|
```bash
|
|
88
|
-
ls ~/.claude/projects/{encoded-path}/{session-id}/
|
|
88
|
+
ls ~/.claude/projects/{encoded-path}/{session-id}/agents/*.jsonl 2>/dev/null
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
Display discovery results:
|
|
@@ -718,11 +718,10 @@ These return `{ success, old_status, new_status }` or `{ success, old_plans, new
|
|
|
718
718
|
|
|
719
719
|
**CRITICAL: Update STATE.md NOW with phase completion status. Do NOT skip this step.**
|
|
720
720
|
|
|
721
|
-
**8b. Update STATE.md:**
|
|
722
|
-
-
|
|
723
|
-
- Plan
|
|
724
|
-
-
|
|
725
|
-
- Progress bar
|
|
721
|
+
**8b. Update STATE.md (CRITICAL — update BOTH frontmatter AND body):**
|
|
722
|
+
- Frontmatter: `status`, `plans_complete`, `last_activity`, `progress_percent`, `last_command`
|
|
723
|
+
- Body `## Current Position`: `Phase:` line, `Plan:` line, `Status:` line, `Last activity:` line, `Progress:` bar
|
|
724
|
+
- These MUST stay in sync — the status line reads frontmatter, humans read the body
|
|
726
725
|
|
|
727
726
|
**8c. Commit planning docs (if configured):**
|
|
728
727
|
Reference: `skills/shared/commit-planning-docs.md` for the standard commit pattern.
|
|
@@ -133,7 +133,7 @@ After setting depth, the profile is automatically resolved. Show the user the ef
|
|
|
133
133
|
"Depth set to {value}. Effective profile:"
|
|
134
134
|
Then display the profile summary (research, plan-check, verify, scan mappers, debug rounds, inline verify).
|
|
135
135
|
|
|
136
|
-
To resolve the profile, run: `node ${
|
|
136
|
+
To resolve the profile, run: `node ${PLUGIN_ROOT}/scripts/pbr-tools.js config resolve-depth`
|
|
137
137
|
|
|
138
138
|
If the user wants to override a specific profile setting, they can set `depth_profiles.{depth}.{key}` directly.
|
|
139
139
|
For example: to use quick mode but keep plan-checking, the user would set depth to quick and then override:
|
|
@@ -54,7 +54,7 @@ This handles the case where neither `.planning/` nor `.planning/debug/` exist ye
|
|
|
54
54
|
|
|
55
55
|
### Step 2: Check for Active Debug Sessions
|
|
56
56
|
|
|
57
|
-
**Load depth profile:** Run `node ${
|
|
57
|
+
**Load depth profile:** Run `node ${PLUGIN_ROOT}/scripts/pbr-tools.js config resolve-depth` to get `debug.max_hypothesis_rounds`. If the command fails (no config.json or CLI error), default to 5 rounds. Initialize a round counter at 0. This counter increments each time a continuation debugger is spawned.
|
|
58
58
|
|
|
59
59
|
Scan `.planning/debug/` for existing debug files:
|
|
60
60
|
|
|
@@ -359,7 +359,7 @@ If the import process surfaced new locked decisions (from blocker resolutions in
|
|
|
359
359
|
**8e. Emit workflow event (conditional):**
|
|
360
360
|
If the event-logger script is available:
|
|
361
361
|
```bash
|
|
362
|
-
node ${
|
|
362
|
+
node ${PLUGIN_ROOT}/scripts/pbr-tools.js event workflow plan-import --phase {N} --plans {count} --source {filepath_or_user_input}
|
|
363
363
|
```
|
|
364
364
|
Falls back silently if the command is not available.
|
|
365
365
|
|
|
@@ -462,7 +462,7 @@ Use the approve-revise-abort pattern from `skills/shared/gate-prompts.md`:
|
|
|
462
462
|
4. Update the `Plans Complete` column to `0/{N}` where N = number of plan files just created
|
|
463
463
|
5. Update the `Status` column to `planned`
|
|
464
464
|
6. Save the file — do NOT skip this step
|
|
465
|
-
- Update STATE.md
|
|
465
|
+
- Update STATE.md **(CRITICAL — update BOTH frontmatter AND body)**: set `status: "planned"`, `plans_total`, `last_command` in frontmatter AND update `Status:`, `Plan:` lines in body `## Current Position`
|
|
466
466
|
- **If `features.auto_advance` is `true` AND `mode` is `autonomous`:** Chain directly to build. This continues the build->review->plan->build cycle automatically.
|
|
467
467
|
- **Otherwise:** Suggest next action: `/pbr:build {N}`
|
|
468
468
|
|
|
@@ -311,10 +311,10 @@ If all automated checks and UAT items passed:
|
|
|
311
311
|
4. Update the `Status` column to `verified`
|
|
312
312
|
5. Update the `Completed` column to the current date (YYYY-MM-DD)
|
|
313
313
|
6. Save the file — do NOT skip this step
|
|
314
|
-
2. Update `.planning/STATE.md
|
|
315
|
-
-
|
|
316
|
-
- Progress
|
|
317
|
-
-
|
|
314
|
+
2. Update `.planning/STATE.md` **(CRITICAL — update BOTH frontmatter AND body):**
|
|
315
|
+
- Frontmatter: `status: "verified"`, `progress_percent`, `last_activity`, `last_command`
|
|
316
|
+
- Body `## Current Position`: `Status:` line, `Last activity:` line, `Progress:` bar
|
|
317
|
+
- These MUST stay in sync — see `skills/shared/state-update.md`
|
|
318
318
|
- **STATE.md size limit:** Follow size limit enforcement rules in `skills/shared/state-update.md` (150 lines max).
|
|
319
319
|
3. Update VERIFICATION.md with UAT results (append UAT section)
|
|
320
320
|
3. Present completion:
|
|
@@ -28,9 +28,9 @@ This skill **spawns 4 parallel Task(subagent_type: "pbr:codebase-mapper")** agen
|
|
|
28
28
|
Reference: `skills/shared/context-budget.md` for the universal orchestrator rules.
|
|
29
29
|
|
|
30
30
|
Additionally for this skill:
|
|
31
|
-
- **Never** analyze the codebase yourself — delegate ALL analysis to the 4 parallel codebase-mapper
|
|
31
|
+
- **Never** analyze the codebase yourself — delegate ALL analysis to the 4 parallel codebase-mapper agents
|
|
32
32
|
- **Minimize** reading mapper outputs — read only frontmatter or first 20 lines of each output document
|
|
33
|
-
- **Delegate** all file reading, pattern analysis, and architecture mapping to the codebase-mapper
|
|
33
|
+
- **Delegate** all file reading, pattern analysis, and architecture mapping to the codebase-mapper agents
|
|
34
34
|
|
|
35
35
|
---
|
|
36
36
|
|
|
@@ -50,7 +50,7 @@ Check if `.planning/codebase/` directory exists:
|
|
|
50
50
|
|
|
51
51
|
First, resolve the depth profile so you know which areas are available:
|
|
52
52
|
```bash
|
|
53
|
-
node ${
|
|
53
|
+
node ${PLUGIN_ROOT}/scripts/pbr-tools.js config resolve-depth
|
|
54
54
|
```
|
|
55
55
|
Read `profile["scan.mapper_areas"]` to determine available areas (quick: tech, arch; standard/comprehensive: tech, arch, quality, concerns).
|
|
56
56
|
|
|
@@ -93,7 +93,7 @@ Refer to the "Reconnaissance Detection Reference" section of `skills/scan/templa
|
|
|
93
93
|
|
|
94
94
|
**Resolve mapper configuration:** Before spawning, resolve the depth profile:
|
|
95
95
|
```bash
|
|
96
|
-
node ${
|
|
96
|
+
node ${PLUGIN_ROOT}/scripts/pbr-tools.js config resolve-depth
|
|
97
97
|
```
|
|
98
98
|
|
|
99
99
|
Read `profile["scan.mapper_count"]` and `profile["scan.mapper_areas"]` to determine how many mappers to spawn and which focus areas to cover.
|
|
@@ -11,7 +11,7 @@ Standard pattern for loading `.planning/config.json` fields at the start of a sk
|
|
|
11
11
|
|
|
12
12
|
Instead of reading and parsing STATE.md, ROADMAP.md, and config.json manually, run:
|
|
13
13
|
```bash
|
|
14
|
-
node ${
|
|
14
|
+
node ${PLUGIN_ROOT}/scripts/pbr-tools.js state load
|
|
15
15
|
```
|
|
16
16
|
This returns a JSON object with `config`, `state`, `roadmap`, `current_phase`, and `progress`. Falls back gracefully if the script is missing -- parse files manually in that case.
|
|
17
17
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- canonical: ../../../pbr/skills/shared/context-budget.md -->
|
|
2
2
|
# Context Budget Rules
|
|
3
3
|
|
|
4
|
-
Standard rules for keeping orchestrator context lean. Reference this fragment in skills that spawn Task()
|
|
4
|
+
Standard rules for keeping orchestrator context lean. Reference this fragment in skills that spawn Task() agents.
|
|
5
5
|
|
|
6
6
|
See also: `skills/shared/universal-anti-patterns.md` for the complete set of universal rules (context budget + file reading + behavioral rules).
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ Every skill that spawns agents or reads significant content must follow these ru
|
|
|
14
14
|
1. **Never** read agent definition files (`agents/*.md`) — `subagent_type` auto-loads them
|
|
15
15
|
2. **Never** inline large files into Task() prompts — tell agents to read files from disk instead
|
|
16
16
|
3. **Minimize** reading subagent output into main context — read only frontmatter, not full content
|
|
17
|
-
4. **Delegate** heavy work to
|
|
17
|
+
4. **Delegate** heavy work to agents — the orchestrator routes, it doesn't execute
|
|
18
18
|
5. **Before spawning agents**: If you've already consumed significant context (large file reads, multiple subagent results), warn the user: "Context budget is getting heavy. Consider running `/pbr:pause` to checkpoint progress." Suggest pause proactively rather than waiting for compaction.
|
|
19
19
|
|
|
20
20
|
## Customization
|
|
@@ -24,7 +24,7 @@ Skills should add skill-specific rules below the reference line. Common skill-sp
|
|
|
24
24
|
- **build**: "Minimize reading executor output — read only SUMMARY.md frontmatter, not full content"
|
|
25
25
|
- **plan**: "Minimize reading subagent output — read only plan frontmatter for summaries"
|
|
26
26
|
- **review**: "Minimize reading subagent output — read only VERIFICATION.md frontmatter for summaries"
|
|
27
|
-
- **scan**: "Delegate ALL analysis to the 4 parallel codebase-mapper
|
|
27
|
+
- **scan**: "Delegate ALL analysis to the 4 parallel codebase-mapper agents"
|
|
28
28
|
- **quick**: "Never implement the task yourself — ALL code changes go through a spawned executor"
|
|
29
29
|
- **debug**: "Never perform investigation work yourself — delegate ALL analysis to the debugger subagent"
|
|
30
30
|
|
|
@@ -42,7 +42,7 @@ Reading order (always this sequence):
|
|
|
42
42
|
- Do NOT read HISTORY.md for normal build/plan/review operations
|
|
43
43
|
- Read ONLY when: debugging a regression that may trace to a prior phase,
|
|
44
44
|
or when a milestone audit needs historical context
|
|
45
|
-
- Use: `node ${
|
|
45
|
+
- Use: `node ${PLUGIN_ROOT}/scripts/pbr-tools.js history load`
|
|
46
46
|
- This returns structured JSON -- do not read the raw file
|
|
47
47
|
```
|
|
48
48
|
|
|
@@ -5,12 +5,17 @@ Standard pattern for updating `.planning/STATE.md`. Include this fragment in ski
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
**CRITICAL: STATE.md has TWO representations — YAML frontmatter AND markdown body. You MUST update BOTH when changing state. The status line reads frontmatter; humans and hooks read the body. If you only update frontmatter, the body goes stale and the status line shows wrong data. Do NOT skip body updates under any circumstances.**
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
8
12
|
## When to Update STATE.md
|
|
9
13
|
|
|
10
14
|
| Event | What to Update |
|
|
11
15
|
|-------|---------------|
|
|
12
|
-
| Phase status changes (planned, building, verified) | Current Position section |
|
|
13
|
-
| Plan completes or fails | Plan counter, status, last activity |
|
|
16
|
+
| Phase status changes (planned, building, verified) | Frontmatter fields AND Current Position section |
|
|
17
|
+
| Plan completes or fails | Frontmatter fields AND Plan counter, status, last activity |
|
|
18
|
+
| Phase advances to next phase | Frontmatter fields AND Phase line, Status, Last activity, Progress bar |
|
|
14
19
|
| New decision made | Accumulated Context > Decisions |
|
|
15
20
|
| Blocker discovered or resolved | Accumulated Context > Blockers/Concerns |
|
|
16
21
|
| Session starts or ends | Session Continuity section |
|
|
@@ -32,6 +37,9 @@ See: .planning/PROJECT.md (updated {date})
|
|
|
32
37
|
Update `Current focus` when phase changes.
|
|
33
38
|
|
|
34
39
|
### 2. Current Position (lines 9-14)
|
|
40
|
+
|
|
41
|
+
**CRITICAL: This section MUST match the frontmatter fields above it. When you update `current_phase` or `status` in frontmatter, you MUST also update the corresponding lines below. A hook will auto-fix drift, but do not rely on it.**
|
|
42
|
+
|
|
35
43
|
```
|
|
36
44
|
## Current Position
|
|
37
45
|
Phase: {N} of {total} ({Phase name})
|
|
@@ -113,8 +121,8 @@ When a milestone completes or a phase is verified, archive historical context to
|
|
|
113
121
|
|
|
114
122
|
Use `pbr-tools.js history append`:
|
|
115
123
|
```
|
|
116
|
-
node ${
|
|
117
|
-
node ${
|
|
124
|
+
node ${PLUGIN_ROOT}/scripts/pbr-tools.js history append phase "Phase 3 (Auth)" "Verified 2026-02-10. Key decisions: JWT + httpOnly cookies, Discord OAuth."
|
|
125
|
+
node ${PLUGIN_ROOT}/scripts/pbr-tools.js history append milestone "v1.0 User Auth" "Phases 1-4. All verified. Core auth flow complete."
|
|
118
126
|
```
|
|
119
127
|
|
|
120
128
|
### After Archiving
|
|
@@ -14,7 +14,7 @@ These rules prevent context rot -- quality degradation as the context window fil
|
|
|
14
14
|
1. **Never** read agent definition files (`agents/*.md`) -- `subagent_type` auto-loads them. Reading agent definitions into the orchestrator wastes main context for content that is automatically injected into subagent sessions.
|
|
15
15
|
2. **Never** inline large files into Task() prompts -- tell agents to read files from disk instead. Agents have their own 200k token context windows.
|
|
16
16
|
3. **Minimize** reading subagent output into main context -- read only frontmatter, status fields, or summaries. Never read full SUMMARY.md, VERIFICATION.md, or RESEARCH.md bodies into the orchestrator unless specifically needed for inline presentation.
|
|
17
|
-
4. **Delegate** heavy work to Task()
|
|
17
|
+
4. **Delegate** heavy work to Task() agents -- the orchestrator routes, it does not build, analyze, research, investigate, or verify.
|
|
18
18
|
5. **Proactive pause warning**: If you have already consumed significant context (large file reads, multiple subagent results), warn the user: "Context budget is getting heavy. Consider running `/pbr:pause` to checkpoint progress." Suggest pause proactively rather than waiting for compaction.
|
|
19
19
|
|
|
20
20
|
## File Reading Rules (apply to every skill)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pbr",
|
|
3
3
|
"displayName": "Plan-Build-Run",
|
|
4
|
-
"version": "2.21.
|
|
4
|
+
"version": "2.21.1",
|
|
5
5
|
"description": "Plan-Build-Run — Structured development workflow for Cursor. Solves context rot through disciplined subagent delegation, structured planning, atomic execution, and goal-backward verification.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "SienkLogic",
|
|
@@ -21,7 +21,7 @@ You are **codebase-mapper**, the codebase analysis agent for the Plan-Build-Run
|
|
|
21
21
|
|
|
22
22
|
### Forbidden Files
|
|
23
23
|
|
|
24
|
-
When exploring, NEVER
|
|
24
|
+
When exploring, NEVER write to or include in your output:
|
|
25
25
|
- `.env` files (except `.env.example` or `.env.template`)
|
|
26
26
|
- `*.key`, `*.pem`, `*.pfx`, `*.p12` — private keys and certificates
|
|
27
27
|
- Files containing `credential` or `secret` in their name
|
|
@@ -7,6 +7,8 @@ readonly: false
|
|
|
7
7
|
|
|
8
8
|
# Plan-Build-Run Debugger
|
|
9
9
|
|
|
10
|
+
> **Memory note:** Project memory is enabled to provide debugging continuity across investigation sessions.
|
|
11
|
+
|
|
10
12
|
You are **debugger**, the systematic debugging agent. Investigate bugs using the scientific method: hypothesize, test, collect evidence, narrow the search space.
|
|
11
13
|
|
|
12
14
|
## Output Budget
|
|
@@ -7,6 +7,8 @@ readonly: false
|
|
|
7
7
|
|
|
8
8
|
# Plan-Build-Run Executor
|
|
9
9
|
|
|
10
|
+
> **Memory note:** Project memory is enabled to provide build history context for deviation awareness.
|
|
11
|
+
|
|
10
12
|
You are **executor**, the code execution agent for Plan-Build-Run. You receive verified plans and execute them task-by-task, producing working code with atomic commits, deviation handling, and self-verification.
|
|
11
13
|
|
|
12
14
|
**You are a builder, not a designer.** Plans tell you WHAT to build. You figure out HOW at the code level. You do NOT redesign, skip, reorder, or add scope.
|
|
@@ -174,7 +176,7 @@ must_haves:
|
|
|
174
176
|
### Completeness Checklist
|
|
175
177
|
|
|
176
178
|
Before deleting `.PROGRESS-{plan_id}`, verify SUMMARY.md has:
|
|
177
|
-
- [ ] YAML frontmatter with `
|
|
179
|
+
- [ ] YAML frontmatter with `plan`, `status`, `tasks_completed`, `tasks_total`
|
|
178
180
|
- [ ] Deviations section (use "None" if empty)
|
|
179
181
|
- [ ] Files Changed listing at least one file
|
|
180
182
|
- [ ] At least one commit hash reference
|
|
@@ -11,7 +11,8 @@ You are **general**, a lightweight utility agent for the Plan-Build-Run developm
|
|
|
11
11
|
|
|
12
12
|
## When You're Used
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
This agent is available for ad-hoc `Task()` calls from skills or custom orchestration. It is not currently spawned by any built-in PBR skill automatically — it must be invoked explicitly.
|
|
15
|
+
|
|
15
16
|
- Simple file generation or formatting tasks
|
|
16
17
|
- Tasks that need Plan-Build-Run context but not specialized methodology
|
|
17
18
|
- Fallback when a specialized agent would be overkill
|
|
@@ -35,6 +35,8 @@ You MUST perform all applicable categories (skip only if zero items exist for th
|
|
|
35
35
|
4. **E2E Flow Completeness** — Critical user workflows must trace from UI through API to data layer and back without breaks.
|
|
36
36
|
5. **Cross-Phase Dependency Satisfaction** — Phase N's declared dependencies on Phase M must be actually satisfied in code.
|
|
37
37
|
|
|
38
|
+
> **First-phase edge case**: If no completed phases exist yet, focus on verifying the current phase's internal consistency — exports match imports within the phase, API contracts are self-consistent. Cross-phase checks are not applicable and should be skipped.
|
|
39
|
+
|
|
38
40
|
### Agent Contract Compliance
|
|
39
41
|
|
|
40
42
|
Read `references/agent-contracts.md` to validate agent-to-agent handoffs. Verify that each agent's actual output matches its declared contract schema — especially `provides`/`consumes` fields in SUMMARY.md and status enums in VERIFICATION.md.
|
|
@@ -139,7 +139,7 @@ Code-producing tasks should include test expectations. Check that tasks creating
|
|
|
139
139
|
|
|
140
140
|
## Verification Process
|
|
141
141
|
|
|
142
|
-
1. **Load Plans** — Read all plan files. Parse YAML frontmatter and XML tasks. Use `node ${
|
|
142
|
+
1. **Load Plans** — Read all plan files. Parse YAML frontmatter and XML tasks. Use `node ${PLUGIN_ROOT}/scripts/pbr-tools.js frontmatter {path}` and `plan-index {phase}` for frontmatter; read body for XML.
|
|
143
143
|
2. **Load Context** — If CONTEXT.md provided, extract locked decisions, deferred ideas, user constraints.
|
|
144
144
|
3. **Load Phase Goal** — From input instruction, phase directory, or plan frontmatter must_haves.
|
|
145
145
|
4. **Run All 10 Dimensions** — Evaluate each plan against all dimensions. Collect issues.
|
|
@@ -7,6 +7,8 @@ readonly: false
|
|
|
7
7
|
|
|
8
8
|
# Plan-Build-Run Planner
|
|
9
9
|
|
|
10
|
+
> **Memory note:** Project memory is enabled to provide planning continuity and awareness of prior phase decisions.
|
|
11
|
+
|
|
10
12
|
You are **planner**, the planning agent for the Plan-Build-Run development system. You transform research, phase goals, and user requirements into executable plans that the executor agent can follow mechanically.
|
|
11
13
|
|
|
12
14
|
## Core Principle: Context Fidelity
|
|
@@ -29,7 +31,7 @@ Invoked with a VERIFICATION.md containing gaps. Read the report, identify gaps,
|
|
|
29
31
|
Invoked with plan-checker feedback containing issues. Revise flagged plan(s) to address all blockers and warnings. See Revision Mode below.
|
|
30
32
|
|
|
31
33
|
### Mode 4: Roadmap Mode
|
|
32
|
-
Invoked with a request to create/update the project roadmap. Produce `.planning/ROADMAP.md` using the template at `${
|
|
34
|
+
Invoked with a request to create/update the project roadmap. Produce `.planning/ROADMAP.md` using the template at `${PLUGIN_ROOT}/templates/ROADMAP.md.tmpl`.
|
|
33
35
|
|
|
34
36
|
#### Fallback Format: ROADMAP.md (if template unreadable)
|
|
35
37
|
|