@sienklogic/plan-build-run 2.51.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.
Files changed (210) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/package.json +4 -2
  3. package/plugins/copilot-pbr/agents/audit.agent.md +2 -5
  4. package/plugins/copilot-pbr/agents/codebase-mapper.agent.md +1 -4
  5. package/plugins/copilot-pbr/agents/debugger.agent.md +1 -4
  6. package/plugins/copilot-pbr/agents/dev-sync.agent.md +6 -9
  7. package/plugins/copilot-pbr/agents/executor.agent.md +1 -4
  8. package/plugins/copilot-pbr/agents/general.agent.md +1 -4
  9. package/plugins/copilot-pbr/agents/integration-checker.agent.md +1 -4
  10. package/plugins/copilot-pbr/agents/plan-checker.agent.md +1 -4
  11. package/plugins/copilot-pbr/agents/planner.agent.md +1 -4
  12. package/plugins/copilot-pbr/agents/researcher.agent.md +1 -4
  13. package/plugins/copilot-pbr/agents/synthesizer.agent.md +1 -4
  14. package/plugins/copilot-pbr/agents/verifier.agent.md +2 -4
  15. package/plugins/copilot-pbr/commands/audit.md +5 -0
  16. package/plugins/copilot-pbr/commands/begin.md +5 -0
  17. package/plugins/copilot-pbr/commands/build.md +5 -0
  18. package/plugins/copilot-pbr/commands/config.md +5 -0
  19. package/plugins/copilot-pbr/commands/continue.md +5 -0
  20. package/plugins/copilot-pbr/commands/dashboard.md +5 -0
  21. package/plugins/copilot-pbr/commands/debug.md +5 -0
  22. package/plugins/copilot-pbr/commands/discuss.md +5 -0
  23. package/plugins/copilot-pbr/commands/do.md +5 -0
  24. package/plugins/copilot-pbr/commands/explore.md +5 -0
  25. package/plugins/copilot-pbr/commands/health.md +5 -0
  26. package/plugins/copilot-pbr/commands/help.md +5 -0
  27. package/plugins/copilot-pbr/commands/import.md +5 -0
  28. package/plugins/copilot-pbr/commands/milestone.md +5 -0
  29. package/plugins/copilot-pbr/commands/note.md +5 -0
  30. package/plugins/copilot-pbr/commands/pause.md +5 -0
  31. package/plugins/copilot-pbr/commands/plan.md +5 -0
  32. package/plugins/copilot-pbr/commands/quick.md +5 -0
  33. package/plugins/copilot-pbr/commands/resume.md +5 -0
  34. package/plugins/copilot-pbr/commands/review.md +5 -0
  35. package/plugins/copilot-pbr/commands/scan.md +5 -0
  36. package/plugins/copilot-pbr/commands/setup.md +5 -0
  37. package/plugins/copilot-pbr/commands/status.md +5 -0
  38. package/plugins/copilot-pbr/commands/statusline.md +5 -0
  39. package/plugins/copilot-pbr/commands/todo.md +5 -0
  40. package/plugins/copilot-pbr/plugin.json +1 -1
  41. package/plugins/copilot-pbr/references/agent-anti-patterns.md +0 -1
  42. package/plugins/copilot-pbr/references/agent-teams.md +0 -1
  43. package/plugins/copilot-pbr/references/common-bug-patterns.md +0 -1
  44. package/plugins/copilot-pbr/references/config-reference.md +0 -1
  45. package/plugins/copilot-pbr/references/continuation-format.md +0 -1
  46. package/plugins/copilot-pbr/references/deviation-rules.md +0 -1
  47. package/plugins/copilot-pbr/references/git-integration.md +0 -1
  48. package/plugins/copilot-pbr/references/integration-patterns.md +0 -1
  49. package/plugins/copilot-pbr/references/model-profiles.md +0 -1
  50. package/plugins/copilot-pbr/references/model-selection.md +0 -1
  51. package/plugins/copilot-pbr/references/pbr-rules.md +0 -1
  52. package/plugins/copilot-pbr/references/plan-authoring.md +0 -1
  53. package/plugins/copilot-pbr/references/plan-format.md +0 -1
  54. package/plugins/copilot-pbr/references/reading-verification.md +0 -1
  55. package/plugins/copilot-pbr/references/stub-patterns.md +0 -1
  56. package/plugins/copilot-pbr/references/wave-execution.md +0 -1
  57. package/plugins/copilot-pbr/skills/begin/SKILL.md +74 -52
  58. package/plugins/copilot-pbr/skills/build/SKILL.md +55 -69
  59. package/plugins/copilot-pbr/skills/config/SKILL.md +7 -0
  60. package/plugins/copilot-pbr/skills/continue/SKILL.md +31 -24
  61. package/plugins/copilot-pbr/skills/dashboard/SKILL.md +8 -7
  62. package/plugins/copilot-pbr/skills/debug/SKILL.md +11 -0
  63. package/plugins/copilot-pbr/skills/discuss/SKILL.md +2 -0
  64. package/plugins/copilot-pbr/skills/do/SKILL.md +2 -0
  65. package/plugins/copilot-pbr/skills/explore/SKILL.md +7 -1
  66. package/plugins/copilot-pbr/skills/health/SKILL.md +2 -0
  67. package/plugins/copilot-pbr/skills/help/SKILL.md +6 -0
  68. package/plugins/copilot-pbr/skills/import/SKILL.md +9 -0
  69. package/plugins/copilot-pbr/skills/milestone/SKILL.md +20 -196
  70. package/plugins/copilot-pbr/skills/note/SKILL.md +2 -0
  71. package/plugins/copilot-pbr/skills/pause/SKILL.md +5 -0
  72. package/plugins/copilot-pbr/skills/plan/SKILL.md +87 -119
  73. package/plugins/copilot-pbr/skills/quick/SKILL.md +13 -8
  74. package/plugins/copilot-pbr/skills/resume/SKILL.md +4 -0
  75. package/plugins/copilot-pbr/skills/review/SKILL.md +85 -47
  76. package/plugins/copilot-pbr/skills/scan/SKILL.md +6 -0
  77. package/plugins/copilot-pbr/skills/setup/SKILL.md +2 -0
  78. package/plugins/copilot-pbr/skills/shared/commit-planning-docs.md +0 -1
  79. package/plugins/copilot-pbr/skills/shared/config-loading.md +0 -1
  80. package/plugins/copilot-pbr/skills/shared/context-budget.md +0 -1
  81. package/plugins/copilot-pbr/skills/shared/context-loader-task.md +0 -1
  82. package/plugins/copilot-pbr/skills/shared/digest-select.md +0 -1
  83. package/plugins/copilot-pbr/skills/shared/domain-probes.md +0 -1
  84. package/plugins/copilot-pbr/skills/shared/gate-prompts.md +0 -1
  85. package/plugins/copilot-pbr/skills/shared/phase-argument-parsing.md +0 -1
  86. package/plugins/copilot-pbr/skills/shared/revision-loop.md +0 -1
  87. package/plugins/copilot-pbr/skills/shared/state-update.md +0 -1
  88. package/plugins/copilot-pbr/skills/shared/universal-anti-patterns.md +1 -2
  89. package/plugins/copilot-pbr/skills/status/SKILL.md +35 -26
  90. package/plugins/copilot-pbr/skills/test/SKILL.md +2 -2
  91. package/plugins/copilot-pbr/skills/todo/SKILL.md +2 -0
  92. package/plugins/copilot-pbr/templates/CONTEXT.md.tmpl +0 -1
  93. package/plugins/copilot-pbr/templates/INTEGRATION-REPORT.md.tmpl +0 -1
  94. package/plugins/copilot-pbr/templates/RESEARCH-SUMMARY.md.tmpl +0 -1
  95. package/plugins/copilot-pbr/templates/ROADMAP.md.tmpl +0 -1
  96. package/plugins/copilot-pbr/templates/SUMMARY.md.tmpl +0 -1
  97. package/plugins/copilot-pbr/templates/VERIFICATION-DETAIL.md.tmpl +0 -1
  98. package/plugins/copilot-pbr/templates/continue-here.md.tmpl +0 -1
  99. package/plugins/copilot-pbr/templates/prompt-partials/phase-project-context.md.tmpl +0 -1
  100. package/plugins/cursor-pbr/.cursor-plugin/plugin.json +1 -1
  101. package/plugins/cursor-pbr/agents/audit.md +1 -1
  102. package/plugins/cursor-pbr/agents/codebase-mapper.md +1 -1
  103. package/plugins/cursor-pbr/agents/debugger.md +1 -1
  104. package/plugins/cursor-pbr/agents/dev-sync.md +6 -6
  105. package/plugins/cursor-pbr/agents/executor.md +1 -1
  106. package/plugins/cursor-pbr/agents/general.md +1 -1
  107. package/plugins/cursor-pbr/agents/integration-checker.md +2 -2
  108. package/plugins/cursor-pbr/agents/plan-checker.md +2 -2
  109. package/plugins/cursor-pbr/agents/planner.md +1 -1
  110. package/plugins/cursor-pbr/agents/researcher.md +2 -2
  111. package/plugins/cursor-pbr/agents/synthesizer.md +1 -1
  112. package/plugins/cursor-pbr/agents/verifier.md +3 -2
  113. package/plugins/cursor-pbr/commands/audit.md +5 -0
  114. package/plugins/cursor-pbr/commands/begin.md +5 -0
  115. package/plugins/cursor-pbr/commands/build.md +5 -0
  116. package/plugins/cursor-pbr/commands/config.md +5 -0
  117. package/plugins/cursor-pbr/commands/continue.md +5 -0
  118. package/plugins/cursor-pbr/commands/dashboard.md +5 -0
  119. package/plugins/cursor-pbr/commands/debug.md +5 -0
  120. package/plugins/cursor-pbr/commands/discuss.md +5 -0
  121. package/plugins/cursor-pbr/commands/do.md +5 -0
  122. package/plugins/cursor-pbr/commands/explore.md +5 -0
  123. package/plugins/cursor-pbr/commands/health.md +5 -0
  124. package/plugins/cursor-pbr/commands/help.md +5 -0
  125. package/plugins/cursor-pbr/commands/import.md +5 -0
  126. package/plugins/cursor-pbr/commands/milestone.md +5 -0
  127. package/plugins/cursor-pbr/commands/note.md +5 -0
  128. package/plugins/cursor-pbr/commands/pause.md +5 -0
  129. package/plugins/cursor-pbr/commands/plan.md +5 -0
  130. package/plugins/cursor-pbr/commands/quick.md +5 -0
  131. package/plugins/cursor-pbr/commands/resume.md +5 -0
  132. package/plugins/cursor-pbr/commands/review.md +5 -0
  133. package/plugins/cursor-pbr/commands/scan.md +5 -0
  134. package/plugins/cursor-pbr/commands/setup.md +5 -0
  135. package/plugins/cursor-pbr/commands/status.md +5 -0
  136. package/plugins/cursor-pbr/commands/statusline.md +5 -0
  137. package/plugins/cursor-pbr/commands/todo.md +5 -0
  138. package/plugins/cursor-pbr/hooks/hooks.json +4 -10
  139. package/plugins/cursor-pbr/references/agent-anti-patterns.md +0 -1
  140. package/plugins/cursor-pbr/references/agent-teams.md +0 -1
  141. package/plugins/cursor-pbr/references/common-bug-patterns.md +0 -1
  142. package/plugins/cursor-pbr/references/config-reference.md +0 -1
  143. package/plugins/cursor-pbr/references/continuation-format.md +0 -1
  144. package/plugins/cursor-pbr/references/deviation-rules.md +0 -1
  145. package/plugins/cursor-pbr/references/git-integration.md +0 -1
  146. package/plugins/cursor-pbr/references/integration-patterns.md +0 -1
  147. package/plugins/cursor-pbr/references/model-profiles.md +0 -1
  148. package/plugins/cursor-pbr/references/model-selection.md +0 -1
  149. package/plugins/cursor-pbr/references/pbr-rules.md +0 -1
  150. package/plugins/cursor-pbr/references/plan-authoring.md +0 -1
  151. package/plugins/cursor-pbr/references/plan-format.md +0 -1
  152. package/plugins/cursor-pbr/references/reading-verification.md +0 -1
  153. package/plugins/cursor-pbr/references/stub-patterns.md +0 -1
  154. package/plugins/cursor-pbr/references/wave-execution.md +0 -1
  155. package/plugins/cursor-pbr/skills/begin/SKILL.md +74 -52
  156. package/plugins/cursor-pbr/skills/build/SKILL.md +58 -70
  157. package/plugins/cursor-pbr/skills/config/SKILL.md +5 -0
  158. package/plugins/cursor-pbr/skills/continue/SKILL.md +31 -24
  159. package/plugins/cursor-pbr/skills/dashboard/SKILL.md +8 -7
  160. package/plugins/cursor-pbr/skills/debug/SKILL.md +8 -0
  161. package/plugins/cursor-pbr/skills/discuss/SKILL.md +2 -0
  162. package/plugins/cursor-pbr/skills/do/SKILL.md +2 -0
  163. package/plugins/cursor-pbr/skills/explore/SKILL.md +5 -1
  164. package/plugins/cursor-pbr/skills/health/SKILL.md +2 -0
  165. package/plugins/cursor-pbr/skills/help/SKILL.md +6 -0
  166. package/plugins/cursor-pbr/skills/import/SKILL.md +7 -0
  167. package/plugins/cursor-pbr/skills/milestone/SKILL.md +20 -196
  168. package/plugins/cursor-pbr/skills/note/SKILL.md +2 -0
  169. package/plugins/cursor-pbr/skills/pause/SKILL.md +4 -0
  170. package/plugins/cursor-pbr/skills/plan/SKILL.md +87 -119
  171. package/plugins/cursor-pbr/skills/quick/SKILL.md +13 -8
  172. package/plugins/cursor-pbr/skills/resume/SKILL.md +4 -0
  173. package/plugins/cursor-pbr/skills/review/SKILL.md +85 -47
  174. package/plugins/cursor-pbr/skills/scan/SKILL.md +5 -0
  175. package/plugins/cursor-pbr/skills/setup/SKILL.md +2 -0
  176. package/plugins/cursor-pbr/skills/shared/commit-planning-docs.md +0 -1
  177. package/plugins/cursor-pbr/skills/shared/config-loading.md +0 -1
  178. package/plugins/cursor-pbr/skills/shared/context-budget.md +0 -1
  179. package/plugins/cursor-pbr/skills/shared/context-loader-task.md +0 -1
  180. package/plugins/cursor-pbr/skills/shared/digest-select.md +0 -1
  181. package/plugins/cursor-pbr/skills/shared/domain-probes.md +0 -1
  182. package/plugins/cursor-pbr/skills/shared/gate-prompts.md +0 -1
  183. package/plugins/cursor-pbr/skills/shared/phase-argument-parsing.md +0 -1
  184. package/plugins/cursor-pbr/skills/shared/revision-loop.md +0 -1
  185. package/plugins/cursor-pbr/skills/shared/state-update.md +0 -1
  186. package/plugins/cursor-pbr/skills/shared/universal-anti-patterns.md +1 -2
  187. package/plugins/cursor-pbr/skills/status/SKILL.md +35 -26
  188. package/plugins/cursor-pbr/skills/test/SKILL.md +2 -2
  189. package/plugins/cursor-pbr/skills/todo/SKILL.md +2 -0
  190. package/plugins/cursor-pbr/templates/CONTEXT.md.tmpl +0 -1
  191. package/plugins/cursor-pbr/templates/INTEGRATION-REPORT.md.tmpl +0 -1
  192. package/plugins/cursor-pbr/templates/RESEARCH-SUMMARY.md.tmpl +0 -1
  193. package/plugins/cursor-pbr/templates/ROADMAP.md.tmpl +0 -1
  194. package/plugins/cursor-pbr/templates/SUMMARY.md.tmpl +0 -1
  195. package/plugins/cursor-pbr/templates/VERIFICATION-DETAIL.md.tmpl +0 -1
  196. package/plugins/cursor-pbr/templates/continue-here.md.tmpl +0 -1
  197. package/plugins/cursor-pbr/templates/prompt-partials/phase-project-context.md.tmpl +0 -1
  198. package/plugins/pbr/.claude-plugin/plugin.json +1 -1
  199. package/plugins/pbr/scripts/context-budget-check.js +13 -1
  200. package/plugins/pbr/scripts/lib/core.js +53 -1
  201. package/plugins/pbr/scripts/pbr-tools.js +49 -3
  202. package/plugins/pbr/scripts/progress-tracker.js +13 -3
  203. package/plugins/pbr/scripts/session-cleanup.js +6 -0
  204. package/plugins/pbr/scripts/suggest-compact.js +13 -1
  205. package/plugins/pbr/skills/begin/SKILL.md +13 -13
  206. package/plugins/pbr/skills/build/SKILL.md +24 -7
  207. package/plugins/pbr/skills/milestone/SKILL.md +10 -10
  208. package/plugins/pbr/skills/plan/SKILL.md +9 -9
  209. package/plugins/pbr/skills/quick/SKILL.md +3 -3
  210. package/plugins/pbr/skills/review/SKILL.md +6 -6
package/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ 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.52.0](https://github.com/SienkLogic/plan-build-run/compare/plan-build-run-v2.51.0...plan-build-run-v2.52.0) (2026-03-01)
9
+
10
+
11
+ ### Features
12
+
13
+ * **54-01:** add sync:generate/sync:verify scripts and unit tests ([4b59ad6](https://github.com/SienkLogic/plan-build-run/commit/4b59ad6fb77918d47f1ab5765c4d0d54ae4d6257))
14
+ * **54-01:** create generate-derivatives.js with transformation engine ([190ab92](https://github.com/SienkLogic/plan-build-run/commit/190ab92ccd45b73388594b565ecdab51a2f64774))
15
+ * **54-02:** GREEN - add session get|set|clear|dump subcommands to pbr-tools.js ([4e69699](https://github.com/SienkLogic/plan-build-run/commit/4e69699d6ec7d3cc67137108fffbb4d7c294a637))
16
+ * **54-02:** migrate core signal file writers to .session.json ([6fcc7a1](https://github.com/SienkLogic/plan-build-run/commit/6fcc7a14c3be9ca78eacb582db951f773e776480))
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **54-01:** cursor agents keep model+readonly, lower branch threshold to 68 ([4124d2e](https://github.com/SienkLogic/plan-build-run/commit/4124d2e16ac1dd3e395458c2e01331ae6f92dd32))
22
+
8
23
  ## [2.51.0](https://github.com/SienkLogic/plan-build-run/compare/plan-build-run-v2.50.0...plan-build-run-v2.51.0) (2026-03-01)
9
24
 
10
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sienklogic/plan-build-run",
3
- "version": "2.51.0",
3
+ "version": "2.52.0",
4
4
  "description": "Plan it, Build it, Run it — structured development workflow for Claude Code",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -30,6 +30,8 @@
30
30
  "test": "jest",
31
31
  "lint": "eslint plugins/pbr/scripts/ tests/",
32
32
  "validate": "node plugins/pbr/scripts/validate-plugin-structure.js",
33
+ "sync:generate": "node scripts/generate-derivatives.js",
34
+ "sync:verify": "node scripts/generate-derivatives.js --verify",
33
35
  "dashboard": "npx --prefix dashboard tsx --tsconfig dashboard/tsconfig.json dashboard/bin/cli.js",
34
36
  "dashboard:install": "npm install --prefix dashboard"
35
37
  },
@@ -48,7 +50,7 @@
48
50
  "coverageThreshold": {
49
51
  "global": {
50
52
  "statements": 70,
51
- "branches": 69,
53
+ "branches": 68,
52
54
  "functions": 70,
53
55
  "lines": 70
54
56
  }
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: audit
3
3
  description: "Analyzes Claude Code session logs for PBR workflow compliance, hook firing, state file hygiene, and user experience quality."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
7
4
  ---
8
5
 
9
6
  <files_to_read>
@@ -28,7 +25,7 @@ You are **audit**, the session analysis agent for the Plan-Build-Run development
28
25
 
29
26
  You receive a prompt containing:
30
27
  - **Session JSONL path**: Absolute path to the session log file
31
- - **Subagent paths**: Optional paths to subagent logs in the `subagents/` subdirectory
28
+ - **Subagent paths**: Optional paths to subagent logs in the `agents/` subdirectory
32
29
  - **Audit mode**: `compliance` (workflow correctness) or `ux` (user experience) or `full` (both)
33
30
  - **Output path**: Where to write findings
34
31
 
@@ -83,7 +80,7 @@ For each session, check:
83
80
  - Verify format: `{type}({scope}): {description}`
84
81
  - Check for forbidden `Co-Authored-By` lines
85
82
 
86
- ### 7. Agent Delegation
83
+ ### 7. Subagent Delegation
87
84
  - Was implementation work delegated to executor agents?
88
85
  - Or was it done directly in main context (anti-pattern)?
89
86
  - Count tool calls in main context vs agents
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: codebase-mapper
3
3
  description: "Explores existing codebases and writes structured analysis documents. Four focus areas: tech, arch, quality, concerns."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
7
4
  ---
8
5
 
9
6
  <files_to_read>
@@ -185,7 +182,7 @@ Orchestrators pattern-match on these markers to route results. Omitting causes s
185
182
  9. DO NOT contradict locked decisions in CONTEXT.md
186
183
  10. DO NOT implement deferred ideas from CONTEXT.md
187
184
  11. DO NOT consume more than 50% context before producing output
188
- 12. DO NOT read agent .md files from agents/ — auto-loaded via agent:
185
+ 12. DO NOT read agent .md files from agents/ — auto-loaded via subagent_type
189
186
 
190
187
  Additionally for this agent:
191
188
 
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: debugger
3
3
  description: "Systematic debugging using scientific method. Persistent debug sessions with hypothesis testing, evidence tracking, and checkpoint support."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
7
4
  ---
8
5
 
9
6
  <files_to_read>
@@ -206,7 +203,7 @@ Reference: `references/common-bug-patterns.md` — covers off-by-one, null/undef
206
203
  9. DO NOT contradict locked decisions in CONTEXT.md
207
204
  10. DO NOT implement deferred ideas from CONTEXT.md
208
205
  11. DO NOT consume more than 50% context before producing output
209
- 12. DO NOT read agent .md files from agents/ — auto-loaded via agent:
206
+ 12. DO NOT read agent .md files from agents/ — auto-loaded via subagent_type
210
207
 
211
208
  ### Debugger-Specific
212
209
 
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: dev-sync
3
3
  description: "Syncs PBR plugin changes to cursor-pbr and copilot-pbr derivatives with format adjustments."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
7
4
  ---
8
5
 
9
6
  <files_to_read>
@@ -34,8 +31,8 @@ Spawned by the orchestrator after edits to PBR plugin files. You receive either:
34
31
  |---------|-------------|-----------------|-------------------|
35
32
  | `allowed-tools:` frontmatter | KEEP | REMOVE entire line | REMOVE entire line |
36
33
  | `argument-hint:` frontmatter | KEEP | KEEP | REMOVE entire line |
37
- | `${CLAUDE_PLUGIN_ROOT}` | As-is | Replace → `${PLUGIN_ROOT}` | Replace → `${PLUGIN_ROOT}` |
38
- | "subagent" / "subagents" | As-is | Replace → "agent" / "agents" | Replace → "agent" / "agents" |
34
+ | `${PLUGIN_ROOT}` | As-is | Replace → `${PLUGIN_ROOT}` | Replace → `${PLUGIN_ROOT}` |
35
+ | "subagent" / "agents" | As-is | Replace → "agent" / "agents" | Replace → "agent" / "agents" |
39
36
  | `subagent_type:` | As-is | Replace → `agent:` | Replace → `agent:` |
40
37
 
41
38
  **Paths**:
@@ -58,9 +55,9 @@ Spawned by the orchestrator after edits to PBR plugin files. You receive either:
58
55
 
59
56
  **Text swaps** (same for both Cursor and Copilot agent bodies):
60
57
 
61
- - `${CLAUDE_PLUGIN_ROOT}` → `${PLUGIN_ROOT}`
58
+ - `${PLUGIN_ROOT}` → `${PLUGIN_ROOT}`
62
59
  - "subagent" → "agent" (case-sensitive, whole word when possible)
63
- - "subagents" → "agents"
60
+ - "agents" → "agents"
64
61
  - `subagent_type:` → `agent:`
65
62
 
66
63
  **Paths**:
@@ -73,8 +70,8 @@ Spawned by the orchestrator after edits to PBR plugin files. You receive either:
73
70
 
74
71
  These are copied with text swaps only (no frontmatter changes):
75
72
 
76
- - `${CLAUDE_PLUGIN_ROOT}` → `${PLUGIN_ROOT}`
77
- - "subagent" → "agent", "subagents" → "agents"
73
+ - `${PLUGIN_ROOT}` → `${PLUGIN_ROOT}`
74
+ - "subagent" → "agent", "agents" → "agents"
78
75
  - `subagent_type:` → `agent:`
79
76
 
80
77
  **Paths**:
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: executor
3
3
  description: "Executes plan tasks with atomic commits, deviation handling, checkpoint protocols, TDD support, and self-verification."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
7
4
  ---
8
5
 
9
6
  <files_to_read>
@@ -362,7 +359,7 @@ Record timestamps at start and end using `node -e "console.log(new Date().toISOS
362
359
  9. DO NOT contradict locked decisions in CONTEXT.md
363
360
  10. DO NOT implement deferred ideas from CONTEXT.md
364
361
  11. DO NOT consume more than 50% context before producing output — write incrementally
365
- 12. DO NOT read agent .md files from agents/ — they're auto-loaded via agent:
362
+ 12. DO NOT read agent .md files from agents/ — they're auto-loaded via subagent_type
366
363
 
367
364
  ### Executor-Specific
368
365
 
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: general
3
3
  description: "Lightweight Plan-Build-Run-aware agent for ad-hoc tasks that don't fit specialized roles."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
7
4
  ---
8
5
 
9
6
  <files_to_read>
@@ -102,7 +99,7 @@ If your task hits any of these, STOP and recommend the appropriate agent:
102
99
  9. DO NOT contradict locked decisions in CONTEXT.md
103
100
  10. DO NOT implement deferred ideas from CONTEXT.md
104
101
  11. DO NOT consume more than 50% context before producing output
105
- 12. DO NOT read agent .md files from agents/ — auto-loaded via agent:
102
+ 12. DO NOT read agent .md files from agents/ — auto-loaded via subagent_type
106
103
 
107
104
  ### Agent-Specific
108
105
  1. DO NOT take on large implementation tasks — escalate to executor
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: integration-checker
3
3
  description: "Cross-phase integration and E2E flow verification. Checks exports used by imports, API coverage, auth protection, and complete user workflows."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
7
4
  ---
8
5
 
9
6
  <files_to_read>
@@ -144,7 +141,7 @@ See `references/integration-patterns.md` for grep/search patterns by framework.
144
141
  9. DO NOT contradict locked decisions in CONTEXT.md
145
142
  10. DO NOT implement deferred ideas from CONTEXT.md
146
143
  11. DO NOT consume more than 50% context before producing output
147
- 12. DO NOT read agent .md files from agents/ — auto-loaded via agent:
144
+ 12. DO NOT read agent .md files from agents/ — auto-loaded via subagent_type
148
145
 
149
146
  ### Agent-Specific
150
147
  - Never attempt to fix issues — you REPORT them
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: plan-checker
3
3
  description: "Verifies plans will achieve phase goals before execution. Goal-backward analysis of plan quality across 10 dimensions."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
7
4
  ---
8
5
 
9
6
  <files_to_read>
@@ -239,7 +236,7 @@ Plans: {count} | Tasks: {count} | Blockers: {count} | Warnings: {count} | Info:
239
236
  9. DO NOT contradict locked decisions in CONTEXT.md
240
237
  10. DO NOT implement deferred ideas from CONTEXT.md
241
238
  11. DO NOT consume more than 50% context before producing output
242
- 12. DO NOT read agent .md files from agents/ — auto-loaded via agent:
239
+ 12. DO NOT read agent .md files from agents/ — auto-loaded via subagent_type
243
240
 
244
241
  </anti_patterns>
245
242
 
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: planner
3
3
  description: "Creates executable phase plans with task breakdown, dependency analysis, wave assignment, and goal-backward verification. Also creates roadmaps."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
7
4
  ---
8
5
 
9
6
  <files_to_read>
@@ -323,7 +320,7 @@ One-line task descriptions in `<name>`. File paths in `<files>`, not explanation
323
320
  9. DO NOT contradict locked decisions in CONTEXT.md
324
321
  10. DO NOT implement deferred ideas from CONTEXT.md
325
322
  11. DO NOT consume more than 50% context before producing output — write incrementally
326
- 12. DO NOT read agent .md files from agents/ — they're auto-loaded via agent:
323
+ 12. DO NOT read agent .md files from agents/ — they're auto-loaded via subagent_type
327
324
 
328
325
  ### Planner-Specific Anti-Patterns
329
326
  1. DO NOT create plans that violate CONTEXT.md locked decisions
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: researcher
3
3
  description: "Unified research agent for project domains, phase implementation approaches, and synthesis. Follows source-hierarchy methodology with confidence levels."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
7
4
  ---
8
5
 
9
6
  <files_to_read>
@@ -216,7 +213,7 @@ coverage: "complete|partial|minimal"
216
213
  9. DO NOT contradict locked decisions in CONTEXT.md
217
214
  10. DO NOT implement deferred ideas from CONTEXT.md
218
215
  11. DO NOT consume more than 50% context before producing output — write incrementally
219
- 12. DO NOT read agent .md files from agents/ — auto-loaded via agent:
216
+ 12. DO NOT read agent .md files from agents/ — they're auto-loaded via subagent_type
220
217
 
221
218
  Additionally for this agent:
222
219
 
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  name: synthesizer
3
3
  description: "Fast synthesis of multiple research outputs into coherent recommendations. Resolves contradictions between sources."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
7
4
  ---
8
5
 
9
6
  <files_to_read>
@@ -147,7 +144,7 @@ Use the returned `summary` string as your working copy of that document's findin
147
144
  9. DO NOT contradict locked decisions in CONTEXT.md
148
145
  10. DO NOT implement deferred ideas from CONTEXT.md
149
146
  11. DO NOT consume more than 50% context before producing output
150
- 12. DO NOT read agent .md files from agents/ — auto-loaded via agent:
147
+ 12. DO NOT read agent .md files from agents/ — auto-loaded via subagent_type
151
148
 
152
149
  ### Agent-Specific
153
150
  1. DO NOT re-research topics — synthesize what's already been researched
@@ -1,9 +1,7 @@
1
1
  ---
2
2
  name: verifier
3
3
  description: "Goal-backward phase verification. Checks codebase reality against phase goals - existence, substantiveness, and wiring of all deliverables."
4
- tools: ["*"]
5
- infer: true
6
- target: "github-copilot"
4
+ isolation: worktree
7
5
  ---
8
6
 
9
7
  <files_to_read>
@@ -333,7 +331,7 @@ Orchestrators pattern-match on these markers to route results. Omitting causes s
333
331
  9. DO NOT contradict locked decisions in CONTEXT.md
334
332
  10. DO NOT implement deferred ideas from CONTEXT.md
335
333
  11. DO NOT consume more than 50% context before producing output — write incrementally
336
- 12. DO NOT read agent .md files from agents/ — they're auto-loaded via agent:
334
+ 12. DO NOT read agent .md files from agents/ — they're auto-loaded via subagent_type
337
335
 
338
336
  ### Verifier-Specific Anti-Patterns
339
337
  1. DO NOT trust SUMMARY.md claims without verifying the actual codebase
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Review past Claude Code sessions for PBR workflow compliance and UX quality."
3
+ ---
4
+
5
+ This command is provided by the `pbr:audit` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Start a new project. Deep questioning, research, requirements, and roadmap."
3
+ ---
4
+
5
+ This command is provided by the `pbr:begin` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Execute all plans in a phase. Spawns agents to build in parallel, commits atomically."
3
+ ---
4
+
5
+ This command is provided by the `pbr:build` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Configure Plan-Build-Run settings. Model selection, workflow toggles, depth, gates, and parallelization."
3
+ ---
4
+
5
+ This command is provided by the `pbr:config` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Execute the next logical step automatically. No prompts, no decisions — just do it."
3
+ ---
4
+
5
+ This command is provided by the `pbr:continue` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Launch the PBR web dashboard for the current project."
3
+ ---
4
+
5
+ This command is provided by the `pbr:dashboard` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Systematic debugging with hypothesis testing. Persistent across sessions."
3
+ ---
4
+
5
+ This command is provided by the `pbr:debug` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Talk through a phase before planning. Identifies gray areas and captures your decisions."
3
+ ---
4
+
5
+ This command is provided by the `pbr:discuss` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Route freeform text to the right PBR skill automatically."
3
+ ---
4
+
5
+ This command is provided by the `pbr:do` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Explore ideas, think through approaches, and route insights to the right artifacts."
3
+ ---
4
+
5
+ This command is provided by the `pbr:explore` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Check planning directory integrity. Find and fix corrupted state."
3
+ ---
4
+
5
+ This command is provided by the `pbr:health` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Command reference and workflow guide for Plan-Build-Run."
3
+ ---
4
+
5
+ This command is provided by the `pbr:help` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Import an external plan document. Validates against project context, detects conflicts, and generates PLAN.md files."
3
+ ---
4
+
5
+ This command is provided by the `pbr:import` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Manage milestones: new, complete, audit, gaps."
3
+ ---
4
+
5
+ This command is provided by the `pbr:milestone` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Zero-friction idea capture. Append, list, or promote notes to todos."
3
+ ---
4
+
5
+ This command is provided by the `pbr:note` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Save your current session state for later resumption."
3
+ ---
4
+
5
+ This command is provided by the `pbr:pause` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Create a detailed plan for a phase. Research, plan, and verify before building."
3
+ ---
4
+
5
+ This command is provided by the `pbr:plan` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Execute a quick ad-hoc task. Atomic commits + state tracking, skips full plan/review cycle."
3
+ ---
4
+
5
+ This command is provided by the `pbr:quick` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Pick up where you left off. Restores context and suggests next action."
3
+ ---
4
+
5
+ This command is provided by the `pbr:resume` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Verify the build matched the plan. Automated checks + walkthrough with you."
3
+ ---
4
+
5
+ This command is provided by the `pbr:review` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Analyze an existing codebase. Maps structure, architecture, conventions, and concerns."
3
+ ---
4
+
5
+ This command is provided by the `pbr:scan` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Interactive onboarding wizard for new Plan-Build-Run projects."
3
+ ---
4
+
5
+ This command is provided by the `pbr:setup` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Show current project status and suggest what to do next."
3
+ ---
4
+
5
+ This command is provided by the `pbr:status` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Install or configure the PBR status line in Claude Code."
3
+ ---
4
+
5
+ This command is provided by the `pbr:statusline` skill.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: "Persistent file-based todos that survive across sessions. Add, list, and complete todo items."
3
+ ---
4
+
5
+ This command is provided by the `pbr:todo` skill.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pbr",
3
3
  "displayName": "Plan-Build-Run",
4
- "version": "2.51.0",
4
+ "version": "2.52.0",
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",
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/agent-anti-patterns.md -->
2
1
  # Universal Agent Anti-Patterns
3
2
 
4
3
  These anti-patterns apply to ALL Plan-Build-Run agents. Each agent also has role-specific anti-patterns defined in its own agent file.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/agent-teams.md -->
2
1
  # Agent Teams Reference
3
2
 
4
3
  Agent Teams enable parallel specialist perspectives for critical phases. Teams are off by default.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/common-bug-patterns.md -->
2
1
  # Common Bug Patterns
3
2
 
4
3
  Quick reference for the debugger agent. Check these patterns early — they cover ~80% of bugs.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/config-reference.md -->
2
1
  # Config Reference Guide
3
2
 
4
3
  Complete reference for `.planning/config.json` -- the file that controls all Plan-Build-Run workflow behavior. Created by `/pbr:begin`, modifiable via `/pbr:config` or direct editing. Validated against `config-schema.json`.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/continuation-format.md -->
2
1
  # Continuation Protocol
3
2
 
4
3
  How to spawn a fresh executor agent to continue from a checkpoint or partial completion.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/deviation-rules.md -->
2
1
  # Deviation Rules
3
2
 
4
3
  When execution doesn't go exactly as planned, these 5 rules govern what the executor can do on its own versus what requires user approval.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/git-integration.md -->
2
1
  # Git Integration Reference
3
2
 
4
3
  Plan-Build-Run's commit conventions, commit points, branching strategy, and hook scripts.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/integration-patterns.md -->
2
1
  # Integration Patterns Reference
3
2
 
4
3
  Technology-specific grep/search patterns and E2E flow templates for integration-checker.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/model-profiles.md -->
2
1
  # Model Profiles Reference
3
2
 
4
3
  How Plan-Build-Run maps agents to models and how to configure model selection.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/model-selection.md -->
2
1
  # Model Selection Reference
3
2
 
4
3
  Plan-Build-Run uses adaptive model selection to balance cost and capability.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/pbr-rules.md -->
2
1
  # Plan-Build-Run Rules
3
2
 
4
3
  Authoritative rules for all Plan-Build-Run skills, agents, hooks, and workflows.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/plan-authoring.md -->
2
1
  # Plan Authoring Guide
3
2
 
4
3
  Quality guidelines for writing executable plans. Used by planner and plan-checker.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/plan-format.md -->
2
1
  # Plan Format Reference
3
2
 
4
3
  Complete reference for the XML task specification used in Plan-Build-Run plan files.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/reading-verification.md -->
2
1
  # Reading Verification Reports
3
2
 
4
3
  A user-friendly guide to understanding verification results. For agent-facing patterns, see `verification-patterns.md`.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/stub-patterns.md -->
2
1
  # Stub Detection Patterns
3
2
 
4
3
  Technology-aware patterns for detecting incomplete implementations. Used by the verifier during Layer 2 (Substantiveness) checks.
@@ -1,4 +1,3 @@
1
- <!-- canonical: ../../pbr/references/wave-execution.md -->
2
1
  # Wave-Based Execution
3
2
 
4
3
  How Plan-Build-Run parallelizes plan execution within a phase while respecting dependencies.