@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
@@ -116,7 +116,7 @@ Reference: `skills/shared/config-loading.md` for the tooling shortcut (`state lo
116
116
 
117
117
  1. Parse `$ARGUMENTS` for phase number and flags
118
118
  2. Read `.planning/config.json` for settings (see config-loading.md for field reference)
119
- **CRITICAL: Write .active-skill NOW.** Write the text "plan" to `.planning/.active-skill` using the Write tool.
119
+ **CRITICAL (hook-enforced): Write .active-skill NOW.** Write the text "plan" to `.planning/.active-skill` using the Write tool.
120
120
  3. Resolve depth profile: run `node ${CLAUDE_PLUGIN_ROOT}/scripts/pbr-tools.js config resolve-depth` to get the effective feature/gate settings for the current depth. Store the result for use in later gating decisions.
121
121
  4. Validate:
122
122
  - Phase exists in ROADMAP.md
@@ -210,7 +210,7 @@ Read `skills/plan/templates/researcher-prompt.md.tmpl` and use it as the prompt
210
210
  **Prepend this block to the researcher prompt before sending:**
211
211
  ```
212
212
  <files_to_read>
213
- CRITICAL: Read these files BEFORE any other action:
213
+ CRITICAL (no hook): Read these files BEFORE any other action:
214
214
  1. .planning/ROADMAP.md — phase goals, dependencies, and structure
215
215
  2. .planning/REQUIREMENTS.md — scoped requirements for this phase (if exists)
216
216
  </files_to_read>
@@ -333,7 +333,7 @@ Read `skills/plan/templates/planner-prompt.md.tmpl` and use it as the prompt tem
333
333
 
334
334
  ```
335
335
  <files_to_read>
336
- CRITICAL: Read these files BEFORE any other action:
336
+ CRITICAL (no hook): Read these files BEFORE any other action:
337
337
  1. .planning/CONTEXT.md — locked decisions and constraints (if exists)
338
338
  2. .planning/ROADMAP.md — phase goals, dependencies, and structure
339
339
  3. .planning/phases/{NN}-{slug}/RESEARCH.md — research findings (if exists)
@@ -355,7 +355,7 @@ Where `{N}` is the number of PLAN.md files written and `{M}` is the number of di
355
355
 
356
356
  ### Step 5b: Spot-Check Planner Output
357
357
 
358
- CRITICAL: Verify planner output before proceeding.
358
+ CRITICAL (no hook): Verify planner output before proceeding.
359
359
 
360
360
  1. **PLAN files exist**: Check `.planning/phases/{NN}-{slug}/PLAN-*.md` files exist on disk
361
361
  2. **Valid frontmatter**: Read first 20 lines of each PLAN file — verify `depends_on`, `files_modified`, `must_haves` fields present
@@ -400,7 +400,7 @@ Read `skills/plan/templates/checker-prompt.md.tmpl` and use it as the prompt tem
400
400
  **Prepend this block to the checker prompt before sending:**
401
401
  ```
402
402
  <files_to_read>
403
- CRITICAL: Read these files BEFORE any other action:
403
+ CRITICAL (no hook): Read these files BEFORE any other action:
404
404
  1. .planning/phases/{NN}-{slug}/PLAN-*.md — plan files to validate
405
405
  2. .planning/CONTEXT.md — locked decisions to check against (if exists)
406
406
  </files_to_read>
@@ -470,7 +470,7 @@ Use AskUserQuestion (pattern: approve-revise-abort from `skills/shared/gate-prom
470
470
  4. Update the `Plans Complete` column to `0/{N}` where N = number of plan files just created
471
471
  5. Update the `Status` column to `planned`
472
472
  6. Save the file — do NOT skip this step
473
- - Update STATE.md via CLI **(CRITICAL — update BOTH frontmatter AND body)**: set `status: "planned"`, `plans_total`, `last_command` in frontmatter AND update `Status:`, `Plan:` lines in body `## Current Position`
473
+ - Update STATE.md via CLI **(CRITICAL (no hook) — update BOTH frontmatter AND body)**: set `status: "planned"`, `plans_total`, `last_command` in frontmatter AND update `Status:`, `Plan:` lines in body `## Current Position`
474
474
 
475
475
  **Tooling shortcut**: `node ${CLAUDE_PLUGIN_ROOT}/scripts/pbr-tools.js state patch '{"status":"planned","last_command":"/pbr:plan {N}"}'`
476
476
  - **If `features.auto_advance` is `true` AND `mode` is `autonomous`:** Chain directly to build: `Skill({ skill: "pbr:build", args: "{N}" })`. This continues the build→review→plan→build cycle automatically.
@@ -482,7 +482,7 @@ Use AskUserQuestion (pattern: approve-revise-abort from `skills/shared/gate-prom
482
482
 
483
483
  ### Subcommand: `add`
484
484
 
485
- **CRITICAL: Write .active-skill NOW.** Write the text "plan" to `.planning/.active-skill` using the Write tool.
485
+ **CRITICAL (hook-enforced): Write .active-skill NOW.** Write the text "plan" to `.planning/.active-skill` using the Write tool.
486
486
 
487
487
  1. Read `.planning/ROADMAP.md`
488
488
  2. Calculate next phase number (last phase + 1)
@@ -499,7 +499,7 @@ Use AskUserQuestion (pattern: approve-revise-abort from `skills/shared/gate-prom
499
499
 
500
500
  Reference: `skills/plan/decimal-phase-calc.md` for decimal numbering rules.
501
501
 
502
- **CRITICAL: Write .active-skill NOW.** Write the text "plan" to `.planning/.active-skill` using the Write tool.
502
+ **CRITICAL (hook-enforced): Write .active-skill NOW.** Write the text "plan" to `.planning/.active-skill` using the Write tool.
503
503
 
504
504
  1. Read `.planning/ROADMAP.md`
505
505
  2. Calculate decimal phase number:
@@ -520,7 +520,7 @@ Reference: `skills/plan/decimal-phase-calc.md` for decimal numbering rules.
520
520
  - Phase must exist
521
521
  - Phase must be in `pending` or `not started` status (cannot remove completed/in-progress phases)
522
522
  - No other phases depend on this phase (or user confirms breaking dependencies)
523
- 3. **CRITICAL: Write .active-skill NOW.** Write the text "plan" to `.planning/.active-skill` using the Write tool.
523
+ 3. **CRITICAL (hook-enforced): Write .active-skill NOW.** Write the text "plan" to `.planning/.active-skill` using the Write tool.
524
524
  4. Confirm with user: "Remove Phase {N}: {name}? This will delete the phase directory and renumber subsequent phases."
525
525
  5. If confirmed:
526
526
  - Delete `.planning/phases/{NN}-{slug}/` directory
@@ -94,7 +94,7 @@ If user types something else (freeform): interpret their response and proceed ac
94
94
 
95
95
  ### Step 4: Generate Slug and Task Number
96
96
 
97
- **CRITICAL: You MUST complete Steps 4, 5, and 6 before any executor is spawned. If you skip these steps, the quick task will have no tracking artifacts and no PLAN.md for the executor to follow. This is the #1 failure mode of this skill.**
97
+ **CRITICAL (no hook): You MUST complete Steps 4, 5, and 6 before any executor is spawned. If you skip these steps, the quick task will have no tracking artifacts and no PLAN.md for the executor to follow. This is the #1 failure mode of this skill.**
98
98
 
99
99
  **Generate slug:**
100
100
  - Take the first 4-5 meaningful words from the description
@@ -176,7 +176,7 @@ Spawn a `Task(subagent_type: "pbr:executor")` with the following prompt:
176
176
  You are executor. Execute the following quick task plan.
177
177
 
178
178
  <files_to_read>
179
- CRITICAL: Read these files BEFORE any other action:
179
+ CRITICAL (no hook): Read these files BEFORE any other action:
180
180
  1. .planning/quick/{NNN}-{slug}/PLAN.md — the quick task plan with task details
181
181
  2. .planning/STATE.md — current project state and progress (if exists)
182
182
  </files_to_read>
@@ -205,7 +205,7 @@ After the executor completes:
205
205
 
206
206
  ### Step 8b: Spot-Check Executor Output
207
207
 
208
- CRITICAL: Verify executor output before proceeding.
208
+ CRITICAL (no hook): Verify executor output before proceeding.
209
209
 
210
210
  1. **SUMMARY.md exists**: Check `.planning/quick/{NNN}-{slug}/SUMMARY.md` exists
211
211
  2. **Key files exist**: Verify first 2 files from SUMMARY.md `key_files` frontmatter exist on disk
@@ -68,7 +68,7 @@ Execute these steps in order.
68
68
 
69
69
  1. Parse `$ARGUMENTS` for phase number and `--auto-fix` flag
70
70
  2. Read `.planning/config.json`
71
- **CRITICAL: Write .active-skill NOW.** Write the text "review" to `.planning/.active-skill` using the Write tool.
71
+ **CRITICAL (hook-enforced): Write .active-skill NOW.** Write the text "review" to `.planning/.active-skill` using the Write tool.
72
72
  3. Resolve depth profile: run `node ${CLAUDE_PLUGIN_ROOT}/scripts/pbr-tools.js config resolve-depth` to get the effective feature/gate settings for the current depth. Store the result for use in later gating decisions.
73
73
  4. Validate:
74
74
  - Phase directory exists at `.planning/phases/{NN}-{slug}/`
@@ -180,7 +180,7 @@ Read `skills/review/templates/verifier-prompt.md.tmpl` and use its content as th
180
180
  **Prepend this block to the verifier prompt before sending:**
181
181
  ```
182
182
  <files_to_read>
183
- CRITICAL: Read these files BEFORE any other action:
183
+ CRITICAL (no hook): Read these files BEFORE any other action:
184
184
  1. .planning/phases/{NN}-{slug}/PLAN-*.md — must-haves to verify against
185
185
  2. .planning/phases/{NN}-{slug}/SUMMARY-*.md — executor build summaries
186
186
  3. .planning/phases/{NN}-{slug}/VERIFICATION.md — prior verification results (if exists)
@@ -215,7 +215,7 @@ Then display the overall verdict (`PASSED`, `GAPS FOUND`, or `HUMAN NEEDED`) bef
215
215
 
216
216
  ### Step 3a: Spot-Check Verifier Output
217
217
 
218
- CRITICAL: Verify verifier output before proceeding.
218
+ CRITICAL (no hook): Verify verifier output before proceeding.
219
219
 
220
220
  1. **VERIFICATION.md exists**: Check `.planning/phases/{NN}-{slug}/VERIFICATION.md` exists on disk
221
221
  2. **Status field present**: Read VERIFICATION.md frontmatter — verify `status` field is present and is one of: pass, fail, partial
@@ -369,7 +369,7 @@ If all automated checks and UAT items passed:
369
369
  4. Update the `Status` column to `verified`
370
370
  5. Update the `Completed` column to the current date (YYYY-MM-DD)
371
371
  6. Save the file — do NOT skip this step
372
- 2. Update `.planning/STATE.md` **(CRITICAL — update BOTH frontmatter AND body):**
372
+ 2. Update `.planning/STATE.md` **(CRITICAL (no hook) — update BOTH frontmatter AND body):**
373
373
  - Frontmatter: `status: "verified"`, `progress_percent`, `last_activity`, `last_command`
374
374
  - Body `## Current Position`: `Status:` line, `Last activity:` line, `Progress:` bar
375
375
  - These MUST stay in sync — see `skills/shared/state-update.md`
@@ -422,7 +422,7 @@ Read `skills/review/templates/debugger-prompt.md.tmpl` and use its content as th
422
422
  **Prepend this block to the debugger prompt before sending:**
423
423
  ```
424
424
  <files_to_read>
425
- CRITICAL: Read these files BEFORE any other action:
425
+ CRITICAL (no hook): Read these files BEFORE any other action:
426
426
  1. .planning/phases/{NN}-{slug}/VERIFICATION.md — gaps and failure details
427
427
  2. .planning/phases/{NN}-{slug}/SUMMARY-*.md — what was built
428
428
  3. .planning/phases/{NN}-{slug}/PLAN-*.md — original plan must-haves
@@ -454,7 +454,7 @@ Read `skills/review/templates/gap-planner-prompt.md.tmpl` and use its content as
454
454
  **Prepend this block to the gap planner prompt before sending:**
455
455
  ```
456
456
  <files_to_read>
457
- CRITICAL: Read these files BEFORE any other action:
457
+ CRITICAL (no hook): Read these files BEFORE any other action:
458
458
  1. .planning/phases/{NN}-{slug}/VERIFICATION.md — gaps to close
459
459
  2. .planning/phases/{NN}-{slug}/PLAN-*.md — existing plans for context
460
460
  3. .planning/CONTEXT.md — locked decisions and constraints (if exists)