@dsmm/dsmm 0.2.0 → 0.2.2

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 (291) hide show
  1. package/README.md +38 -66
  2. package/agent-presets/dsmm-builder/agent.cordis.yml +10 -2015
  3. package/agent-presets/dsmm-clarifier/agent.cordis.yml +24 -343
  4. package/agent-presets/dsmm-code-search/agent.cordis.yml +19 -6
  5. package/agent-presets/dsmm-coding/agent.cordis.yml +19 -438
  6. package/agent-presets/dsmm-complex/agent.cordis.yml +23 -1009
  7. package/agent-presets/dsmm-creative/agent.cordis.yml +25 -442
  8. package/agent-presets/dsmm-cross-cutting/agent.cordis.yml +29 -1013
  9. package/agent-presets/dsmm-deep/agent.cordis.yml +24 -1008
  10. package/agent-presets/dsmm-doc-search/agent.cordis.yml +19 -6
  11. package/agent-presets/dsmm-documenting/agent.cordis.yml +26 -439
  12. package/agent-presets/dsmm-frontend/agent.cordis.yml +21 -440
  13. package/agent-presets/dsmm-hard-reasoning/agent.cordis.yml +22 -441
  14. package/agent-presets/dsmm-media-reader/agent.cordis.yml +19 -6
  15. package/agent-presets/dsmm-normal-task/agent.cordis.yml +19 -438
  16. package/agent-presets/dsmm-oracle/agent.cordis.yml +25 -340
  17. package/agent-presets/dsmm-oracle-2nd/agent.cordis.yml +25 -340
  18. package/agent-presets/dsmm-orchestrator/agent.cordis.yml +29 -2025
  19. package/agent-presets/dsmm-plan-critic/agent.cordis.yml +24 -341
  20. package/agent-presets/dsmm-planner/agent.cordis.yml +14 -344
  21. package/agent-presets/dsmm-quick/agent.cordis.yml +19 -6
  22. package/agent-presets/dsmm-research/agent.cordis.yml +23 -8
  23. package/agent-presets/dsmm-reviewer/agent.cordis.yml +25 -340
  24. package/docs/agent-presets.md +36 -52
  25. package/docs/compatibility.md +50 -108
  26. package/docs/deferred-native-approval-risk.md +19 -0
  27. package/docs/design.md +2 -2
  28. package/docs/lsp.md +11 -21
  29. package/docs/migration-from-ocmm.md +2 -2
  30. package/docs/model-routing.md +84 -59
  31. package/docs/native-permissions.md +35 -0
  32. package/docs/profiles.md +40 -87
  33. package/docs/releasing.md +83 -2
  34. package/docs/roadmap.md +71 -17
  35. package/docs/settings-status.md +34 -169
  36. package/docs/skill-sync.md +52 -15
  37. package/lib/child-admission-contract.d.ts +37 -0
  38. package/lib/child-admission-contract.js +2 -0
  39. package/lib/child-admission.d.ts +42 -0
  40. package/lib/child-admission.js +162 -0
  41. package/lib/child-capture.d.ts +81 -0
  42. package/lib/child-capture.js +203 -0
  43. package/lib/child-evidence.d.ts +17 -0
  44. package/lib/child-evidence.js +43 -0
  45. package/lib/client/ChildrenPanel.d.ts +43 -0
  46. package/lib/client/ChildrenPanel.js +82 -0
  47. package/lib/client/DeploymentPage.js +15 -8
  48. package/lib/client/EditableChoice.d.ts +17 -0
  49. package/lib/client/EditableChoice.js +49 -0
  50. package/lib/client/PermissionsPanel.d.ts +14 -0
  51. package/lib/client/PermissionsPanel.js +46 -0
  52. package/lib/client/ProfilesSection.js +30 -15
  53. package/lib/client/RoleAvailability.d.ts +7 -0
  54. package/lib/client/RoleAvailability.js +19 -0
  55. package/lib/client/SessionProfiles.js +27 -9
  56. package/lib/client/StructuredEditor.js +15 -7
  57. package/lib/client/children-controller.d.ts +98 -0
  58. package/lib/client/children-controller.js +296 -0
  59. package/lib/client/children-locales.d.ts +367 -0
  60. package/lib/client/children-locales.js +69 -0
  61. package/lib/client/controller.d.ts +6 -1
  62. package/lib/client/controller.js +14 -8
  63. package/lib/client/deployment-data.d.ts +2 -1
  64. package/lib/client/deployment-data.js +34 -5
  65. package/lib/client/deployment-locales.d.ts +4 -0
  66. package/lib/client/deployment-locales.js +11 -2
  67. package/lib/client/diagnostics.d.ts +14 -0
  68. package/lib/client/diagnostics.js +53 -0
  69. package/lib/client/index.d.ts +4 -0
  70. package/lib/client/index.js +96 -2
  71. package/lib/client/locales.d.ts +54 -0
  72. package/lib/client/locales.js +34 -16
  73. package/lib/client/permission-client.d.ts +16 -0
  74. package/lib/client/permission-client.js +38 -0
  75. package/lib/client/permission-controller.d.ts +62 -0
  76. package/lib/client/permission-controller.js +149 -0
  77. package/lib/client/permission-locales.d.ts +114 -0
  78. package/lib/client/permission-locales.js +75 -0
  79. package/lib/client/session-labels.js +4 -4
  80. package/lib/client/structured.js +19 -5
  81. package/lib/client/styles.d.ts +1 -1
  82. package/lib/client/styles.js +20 -0
  83. package/lib/client.js +5780 -1679
  84. package/lib/core-permission-authority.d.ts +18 -0
  85. package/lib/core-permission-authority.js +255 -0
  86. package/lib/core-permissions.d.ts +8 -0
  87. package/lib/core-permissions.js +33 -0
  88. package/lib/delivery-authority.d.ts +68 -0
  89. package/lib/delivery-authority.js +260 -0
  90. package/lib/deployment-config.d.ts +23 -0
  91. package/lib/deployment-config.js +61 -40
  92. package/lib/deployment-permission-rules.d.ts +55 -0
  93. package/lib/deployment-permission-rules.js +306 -0
  94. package/lib/dsh-types.d.ts +10 -4
  95. package/lib/guards.d.ts +1 -1
  96. package/lib/guards.js +29 -8
  97. package/lib/host-llm-startup.d.ts +41 -0
  98. package/lib/host-llm-startup.js +65 -0
  99. package/lib/host-llm.d.ts +92 -0
  100. package/lib/host-llm.js +325 -0
  101. package/lib/index.d.ts +15 -4
  102. package/lib/index.js +300 -47
  103. package/lib/legacy-child-policy.d.ts +51 -0
  104. package/lib/legacy-child-policy.js +123 -0
  105. package/lib/legacy-read-composition.d.ts +20 -0
  106. package/lib/legacy-read-composition.js +144 -0
  107. package/lib/legacy-read-contracts.d.ts +157 -0
  108. package/lib/legacy-read-contracts.js +39 -0
  109. package/lib/legacy-read-host.d.ts +19 -0
  110. package/lib/legacy-read-host.js +67 -0
  111. package/lib/legacy-read-integration.d.ts +121 -0
  112. package/lib/legacy-read-integration.js +522 -0
  113. package/lib/legacy-read-proxy.d.ts +26 -0
  114. package/lib/legacy-read-proxy.js +237 -0
  115. package/lib/live-pi-ai-owner.d.ts +18 -0
  116. package/lib/live-pi-ai-owner.js +144 -0
  117. package/lib/llm-runtime.d.ts +11 -0
  118. package/lib/llm-runtime.js +21 -0
  119. package/lib/managed-settings.d.ts +5 -0
  120. package/lib/managed-settings.js +14 -0
  121. package/lib/model-parameter-policy.d.ts +11 -0
  122. package/lib/model-parameter-policy.js +27 -0
  123. package/lib/model-routing.js +28 -17
  124. package/lib/modules.d.ts +13 -5
  125. package/lib/modules.js +17 -1
  126. package/lib/native-child-evidence.d.ts +42 -0
  127. package/lib/native-child-evidence.js +133 -0
  128. package/lib/native-pi-ai-wire.d.ts +37 -0
  129. package/lib/native-pi-ai-wire.js +261 -0
  130. package/lib/native-scope.js +1 -1
  131. package/lib/permission-bash.d.ts +6 -0
  132. package/lib/permission-bash.js +7 -0
  133. package/lib/permission-control.d.ts +73 -0
  134. package/lib/permission-control.js +205 -0
  135. package/lib/permission-controller.d.ts +68 -0
  136. package/lib/permission-controller.js +317 -0
  137. package/lib/permission-errors.d.ts +7 -0
  138. package/lib/permission-errors.js +21 -0
  139. package/lib/permission-fs-search.d.ts +5 -0
  140. package/lib/permission-fs-search.js +7 -0
  141. package/lib/permission-fs.d.ts +5 -0
  142. package/lib/permission-fs.js +7 -0
  143. package/lib/permission-native-access.d.ts +11 -0
  144. package/lib/permission-native-access.js +6 -0
  145. package/lib/permission-native-command.d.ts +10 -0
  146. package/lib/permission-native-command.js +93 -0
  147. package/lib/permission-native-rules.d.ts +75 -0
  148. package/lib/permission-native-rules.js +278 -0
  149. package/lib/permission-pwsh.d.ts +6 -0
  150. package/lib/permission-pwsh.js +7 -0
  151. package/lib/permission-remote.d.ts +26 -0
  152. package/lib/permission-remote.js +53 -0
  153. package/lib/permission-rpc.d.ts +29 -0
  154. package/lib/permission-rpc.js +152 -0
  155. package/lib/permission-rules.d.ts +115 -0
  156. package/lib/permission-rules.js +256 -0
  157. package/lib/permission-settings.d.ts +45 -0
  158. package/lib/permission-settings.js +48 -0
  159. package/lib/permission-shell.d.ts +38 -0
  160. package/lib/permission-shell.js +150 -0
  161. package/lib/permission-web.d.ts +5 -0
  162. package/lib/permission-web.js +7 -0
  163. package/lib/preset-registry.js +36 -25
  164. package/lib/profile-diagnostics.d.ts +45 -0
  165. package/lib/profile-diagnostics.js +148 -0
  166. package/lib/profile-locale.d.ts +3 -0
  167. package/lib/profile-locale.js +2 -0
  168. package/lib/profile-remote.d.ts +8 -0
  169. package/lib/profile-remote.js +163 -39
  170. package/lib/profile-rpc.d.ts +4 -3
  171. package/lib/profile-rpc.js +14 -12
  172. package/lib/profile-runtime.d.ts +40 -1
  173. package/lib/profile-runtime.js +368 -93
  174. package/lib/profile-store.d.ts +11 -0
  175. package/lib/profile-store.js +143 -11
  176. package/lib/profile-types.d.ts +70 -1
  177. package/lib/profile-types.js +1 -0
  178. package/lib/profiles.d.ts +16 -2
  179. package/lib/profiles.js +156 -79
  180. package/lib/prompt-content.js +1 -1
  181. package/lib/prompts.d.ts +37 -2
  182. package/lib/prompts.js +111 -9
  183. package/lib/recovery-policy.js +20 -7
  184. package/lib/role-control-remote.d.ts +38 -0
  185. package/lib/role-control-remote.js +211 -0
  186. package/lib/role-control-rpc.d.ts +51 -0
  187. package/lib/role-control-rpc.js +377 -0
  188. package/lib/role-control-types.d.ts +92 -0
  189. package/lib/role-control-types.js +8 -0
  190. package/lib/role-invocation.d.ts +47 -0
  191. package/lib/role-invocation.js +135 -0
  192. package/lib/role-llm-runtime.d.ts +17 -0
  193. package/lib/role-llm-runtime.js +62 -0
  194. package/lib/role-llm.d.ts +31 -0
  195. package/lib/role-llm.js +66 -0
  196. package/lib/role-policy.d.ts +49 -8
  197. package/lib/role-policy.js +437 -60
  198. package/lib/role-providers.d.ts +1 -1
  199. package/lib/role-providers.js +30 -35
  200. package/lib/role-routing.d.ts +11 -2
  201. package/lib/role-routing.js +42 -25
  202. package/lib/role-runs.d.ts +135 -0
  203. package/lib/role-runs.js +304 -0
  204. package/lib/role-subagents.d.ts +58 -3
  205. package/lib/role-subagents.js +169 -56
  206. package/lib/roles.d.ts +5 -6
  207. package/lib/roles.js +10 -39
  208. package/lib/route-json.d.ts +19 -0
  209. package/lib/route-json.js +129 -0
  210. package/lib/routing-policy.d.ts +2 -0
  211. package/lib/routing-policy.js +12 -2
  212. package/lib/runtime-integration.d.ts +112 -0
  213. package/lib/runtime-integration.js +784 -0
  214. package/lib/runtime-recovery.js +18 -8
  215. package/lib/settings.d.ts +47 -13
  216. package/lib/settings.js +217 -82
  217. package/lib/skills.js +2 -2
  218. package/lib/status.d.ts +10 -1
  219. package/lib/status.js +11 -8
  220. package/lib/subagent-runtime.d.ts +45 -0
  221. package/lib/subagent-runtime.js +131 -0
  222. package/package.json +106 -56
  223. package/patches/subagent-runtime.yml +15 -0
  224. package/prompts/deepseek-flash.md +1 -1
  225. package/prompts/deepseek-v4-pro.md +2 -2
  226. package/prompts/deepwork.md +27 -18
  227. package/prompts/source/agents/clarifier.md +5 -3
  228. package/prompts/source/agents/orchestrator.md +18 -9
  229. package/prompts/source/agents/plan-critic.md +5 -1
  230. package/prompts/source/agents/planner.md +4 -2
  231. package/prompts/source/agents/reviewer.md +6 -0
  232. package/prompts/source/category/complex.md +4 -4
  233. package/prompts/source/category/creative.md +6 -4
  234. package/prompts/source/category/cross-cutting.md +10 -8
  235. package/prompts/source/category/deep.md +5 -3
  236. package/prompts/source/category/documenting.md +7 -1
  237. package/prompts/source/category/frontend.md +2 -2
  238. package/prompts/source/category/hard-reasoning.md +3 -3
  239. package/prompts/source/category/research.md +4 -2
  240. package/prompts/source/deepwork/claude-opus-5.md +2 -2
  241. package/prompts/source/deepwork/codex.md +1 -1
  242. package/prompts/source/deepwork/default.md +22 -15
  243. package/prompts/source/deepwork/gemini.md +23 -16
  244. package/prompts/source/deepwork/glm.md +21 -14
  245. package/prompts/source/deepwork/gpt.md +12 -6
  246. package/prompts/source/deepwork/planner.md +8 -5
  247. package/prompts/source/manifest.json +178 -63
  248. package/prompts/source/shared/dsh-host-contract.md +5 -3
  249. package/prompts/source/shared/locale.md +2 -2
  250. package/prompts/source/terminal/orchestrator.md +1 -1
  251. package/scripts/cold-profile-composition.mjs +329 -0
  252. package/scripts/cold-profile-sources.mjs +238 -0
  253. package/scripts/migrate-cold-profile.mjs +315 -0
  254. package/skills/ast-grep/SKILL.md +7 -4
  255. package/skills/brainstorming/SKILL.md +43 -22
  256. package/skills/coding-agent-sessions/SKILL.md +7 -4
  257. package/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -46
  258. package/skills/coding-agent-sessions/scripts/tests/test_pi_family_scanners.py +130 -130
  259. package/skills/debugging/SKILL.md +14 -9
  260. package/skills/debugging/references/methodology/00-setup.md +14 -62
  261. package/skills/debugging/references/methodology/02-investigate.md +4 -4
  262. package/skills/debugging/references/methodology/03-flaky-triage.md +3 -3
  263. package/skills/debugging/references/methodology/04-hard-reasoning-escalation.md +2 -14
  264. package/skills/debugging/references/methodology/06-fix.md +6 -6
  265. package/skills/debugging/references/methodology/08-qa.md +5 -5
  266. package/skills/debugging/references/methodology/09-cleanup.md +15 -153
  267. package/skills/debugging/references/methodology/partial-runtime-evidence.md +3 -16
  268. package/skills/debugging/references/runtimes/bundled-js-binary.md +1 -16
  269. package/skills/debugging/references/runtimes/native-binary.md +9 -54
  270. package/skills/debugging/references/runtimes/node.md +4 -15
  271. package/skills/debugging/references/runtimes/python.md +3 -15
  272. package/skills/debugging/references/runtimes/rust.md +2 -18
  273. package/skills/debugging/references/tools/dap.md +1 -1
  274. package/skills/debugging/references/tools/ghidra.md +4 -15
  275. package/skills/debugging/references/tools/playwright-cli.md +3 -15
  276. package/skills/debugging/references/tools/pwntools.md +4 -16
  277. package/skills/dispatching-parallel-agents/SKILL.md +18 -16
  278. package/skills/frontend/SKILL.md +7 -4
  279. package/skills/frontend/references/design/react-dev-tooling-skill.md +1 -1
  280. package/skills/git-master/SKILL.md +7 -4
  281. package/skills/init-deep/SKILL.md +7 -4
  282. package/skills/receiving-code-review/SKILL.md +17 -12
  283. package/skills/remove-ai-slops/SKILL.md +39 -38
  284. package/skills/requesting-code-review/SKILL.md +19 -17
  285. package/skills/requesting-code-review/code-reviewer.md +13 -1
  286. package/skills/subagent-driven-development/SKILL.md +29 -26
  287. package/skills/subagent-driven-development/implementer-prompt.md +29 -11
  288. package/skills/subagent-driven-development/spec-reviewer-prompt.md +6 -1
  289. package/skills/using-git-worktrees/SKILL.md +7 -4
  290. package/skills/writing-plans/SKILL.md +29 -24
  291. package/skills/writing-plans/plan-document-reviewer-prompt.md +10 -1
@@ -8,24 +8,24 @@ description: Use when an implemented change benefits from independent review bef
8
8
  This is a full OCMM source adaptation for DSH 0.2.0-rc.2, not an OpenCode or Codex runtime. Source product names in transcript formats, examples, paths and attribution remain descriptive; they are not a host switch.
9
9
 
10
10
  - Load this skill through the native skill tool only when its trigger matches. Resolve every relative reference/script/asset from the directory resourceBase returned with this skill, not from the project cwd or an OCMM checkout. Use available read/glob/grep to inspect resources; use write/edit and the active bash or pwsh only within the actual role and host permissions.
11
- - External documentation uses actual web_search/web_fetch or an available documentation service. Context7, GitHub MCP, browser, image and LSP tools are optional catalog capabilities, not bundled calls. Use a real available equivalent or report unavailable evidence; never invent an MCP, Task, todo or compression API.
12
- - Source role names are logical assignments: code-search/explore maps to dsmm-code-search, and other canonical roles/categories map to dsmm-<name>. Dispatch only through the actual role-specific native subagent tool in the current catalog, within the caller's effective policy, depth and authority. No generated file, metadata row or template proves callability. A missing permitted role is a blocker for a required formal stage, not permission to invent it or bypass planning.
13
- - Templates describe assignment content, not a callable argument schema. Native continuation, background, message/interrupt and result handling are used only when actually exposed and supported; do not send task_id, subagent_type or guessed timeout fields. Otherwise perform permitted direct work or return the dependency to the stage owner.
14
- - Use a concise response or an authorized project plan for tracking when no native tracking tool is exposed. Compression is unavailable unless a real tool is exposed; do not simulate it. Role responsibilities, explicit-off common/skill visibility, and the terminal delegation contract override broader examples in a resource.
11
+ - External documentation uses actual web_search/web_fetch or an available documentation service. Context7, GitHub MCP, browser, image and LSP tools are optional catalog capabilities, not bundled calls. Use a real available equivalent or report unavailable evidence; never invent an MCP, Task, todo or compression API. Native read uses file_path, not OpenCode filePath; inspect every actual schema before calling it. Use read_image only when exposed and the actual route supports its image result.
12
+ - Source role names are logical assignments: code-search/explore maps to role ID dsmm-code-search, and other canonical roles/categories map to dsmm-<name>. Use this Agent's observed admitted inventory: per-role topology has individual role tools (for example dsmm_plan_critic) plus dsmm_category; parameterized topology has dsmm_role and dsmm_category with their actual role/category enums. Never derive callability from generated files, names or templates. Both layouts preserve target, caller, read-only, inherited tool and depth ceilings; a missing required formal role returns to the stage owner, not a planning bypass.
13
+ - Templates describe assignment content, not callable schemas. Actual delegation takes description/prompt, an exposed level, a deployment-authorized exposed route, and an exposed run_in_background only. Omitted/normal retains the default; low/high/max must be configured at roleRouting.<id>.levels as a complete route or exact supported effort, never synthetic suffix roles or fixed max effort. A complete invocation route needs paired provider/model and cannot silently fall back; effort-only needs exact native preflight. Level/layout never change permissions or verification rigor. Reviewer/Oracle independence requires different observed native routes, not names.
14
+ - One-shot defaults foreground; permitted one-shot background is native-job-owned. A managed admitted continuable configuration defaults background; explicit run_in_background:false creates a non-reusable one-shot. Use only exposed job_output/job_list/job_kill or send_message/interrupt_agent and returned identities. Existing continuable children can receive nearest-step running messages, idle next turns or same-ID cold continuation; receipts mean inbox acceptance, not completion. Exposed native child-to-parent reporting retains exact-sender/adjacency semantics, not new parent-to-child authority. Settled one-shots never revive; reuse never reselects role/level/route or copies a parent's newer policy into the original child capture. Do not send OpenCode task_id/subagent_type/background/resume/retry or guessed control fields.
15
+ - Host observations alone establish lifecycle controls. Managed delivery requires explicit startup composition: disable the stock subagents row, bind the unique PUBLIC DSMM SubagentRuntime subclass and restart; never hot-replace/drain stock or add a shadow runtime. When actually wired and authorized, a user foreground handoff transfers the existing same run to native jobs without a second start; native user queue/steer follows its operator/connection/session/epoch gate. Do not announce unconnected tools/RPCs. Background enablement, capacity, ownership, depth, cancellation and provider support always gate execution. Legacy conservative evidence may permit useful proven capabilities under the same durable child ID; missing evidence denies that capability with a reason, not all legacy children and not an inheritance of current parent policy.
16
+ - When exposed, native todo_write replaces the owning Agent's whole list of content/status items; its schema and allowParallelInProgress policy govern updates. Otherwise use concise session coordination or an authorized plan. ask_user_question is conditional on exposure; otherwise ask in conversation. Native host compaction is not OCMM compress, and no model-facing compression call is assumed. A read-only planner returns complete Markdown; an authorized coordinator persists it, never the planner through shell or a proxy. Role responsibilities, explicit-off common/skill visibility, and the terminal delegation contract override broader examples in a resource.
17
+ - Follow the current user's explicit output-language request, otherwise this Agent's immutable captured DSMM locale when supplied, then applicable host/user language guidance or the current request/context. Supported configured locales are en/zh-Hans/zh-Hant/ja/ko/de/fr/es/pt-BR/ru; omission inherits, not an English default. Preserve code, identifiers, paths, commands, protocol fields and exact quotes, and pass explicit language instructions in child assignments. This resource imports no Root session preference, promises neither internal reasoning language nor UI translation, and never changes host/project locale. A later parent Apply does not rewrite a child's captured locale.
15
18
  - Installation, package-manager bootstrap, downloads, authentication/login, credential/profile access, Git writes and destructive actions require explicit authorization for the exact action. Reference commands are not automatic operations. Worktree consent does not authorize dependency installation or later branch deletion. Read before changing an existing file; preserve unrelated user work. Never silently restore/reset a working tree to repair a failed cleanup.
16
19
  - Browser/debug QA uses run-owned isolated state, no imported credentials or browser profile, and only already available software unless separately authorized. Keep commands in the active shell dialect. Report unverified surfaces honestly.
17
20
 
18
- <!-- v1 fork of superpowers/requesting-code-review.
19
- Upstream: obra/superpowers v6.3.0.
20
- Adjustments: review is risk- and evidence-driven rather than unconditional;
21
- requests carry the current change, goals, criteria, evidence, and constraints
22
- without fixed packet fields, receipts, or verdict formats.
23
- Reviewer-seat discipline remains: reviewers do not spawn additional review
24
- seats. See docs/v1-maintenance.md for sync rules. -->
21
+ <!-- Local fork of obra/superpowers/requesting-code-review v6.3.0.
22
+ Risk/evidence-driven implementation review of current changes and contracts.
23
+ Reviewers don't spawn additional review seats.
24
+ Source and maintenance contract: docs/v1-maintenance.md. -->
25
25
 
26
26
  # Requesting Code Review
27
27
 
28
- Request independent code review when it provides useful evidence about an implemented change. Give the reviewer the work product and decision context, not the session transcript.
28
+ Request independent code review when it provides useful evidence about an implemented change. Give the reviewer the current work product, requirements, constraints, and evidence, not a decision history or session transcript.
29
29
 
30
30
  **Core principle:** Review current implemented code against the approved outcome. Reviewer and Oracle profiles are not research, ideation, architecture-design, root-cause debugging, plan review, or implementation workers.
31
31
 
@@ -49,23 +49,23 @@ Provide the reviewer, in whatever order is clearest:
49
49
  - acceptance criteria;
50
50
  - the current working-tree diff or committed range, including newly created files;
51
51
  - relevant verification evidence and any intentionally unverified item;
52
- - global constraints, permissions, and material approved rulings;
52
+ - current global constraints and permissions;
53
53
  - focused dependency/interface or risk context needed to evaluate the change.
54
54
 
55
55
  Use the actual current diff or range rather than a prose-only summary. If output is large or sensitive, provide a safe reviewable artifact or focused slices plus a complete file manifest, without omitting changes material to the criteria.
56
56
 
57
57
  Do not require a fixed packet schema, first-line verdict, receipt, or transcript. Do not paste accumulated conversation history. Do not tell the reviewer what conclusion to reach or add open-ended directions unrelated to the change.
58
58
 
59
- The reviewer evaluates supplied evidence and may request missing evidence. They should not rerun expensive checks without a reason, and they do not dispatch other reviewers, workers, or evidence-gathering subagents.
59
+ The reviewer evaluates supplied evidence by material relevance and requests missing or affected coverage, not blanket reruns for unrelated code, dependency, or environment changes. The orchestrator coordinates consolidated global/heavy checks; reviewers do not duplicate them or dispatch other reviewers, workers, or evidence-gathering subagents. Required safety, release, pre-commit, and user checks remain binding.
60
60
 
61
61
  ## Reviewer Selection
62
62
 
63
63
  Select only the lanes that add useful independent evidence. Available profiles do not cause automatic fan-out.
64
64
 
65
65
  - `reviewer` is the primary-model or primary-lane self-review profile.
66
- - Oracle slots are external-model cross-check choices in configured priority order: `oracle`, `oracle-2nd`, then later configured slots.
66
+ - Oracle roles are cross-check choices in order: dsmm-oracle, then dsmm-oracle-2nd only when enabled, permitted and useful. Verify different actual native routes before claiming external-model independence; this inventory supplies no later slots.
67
67
  - Later Oracle slots indicate selection order, not greater capability.
68
- - Logical tiers are `low`, unsuffixed `normal`, `high`, and `max`, subject to actual configuration and model support.
68
+ - Keep one canonical native role identity. Omitted/normal preserves its default route; low/high/max can be selected only when listed in the actual target's configured roleRouting levels and exposed schema. Levels are complete routes or exact supported effort-only choices, never suffix tools or guaranteed model effort. Arbitrary route overrides need deployment opt-in, exposed parameters and exact preflight. All levels retain review rigor and authority ceilings.
69
69
  - Explicit user model configuration and effective routing policy remain authoritative.
70
70
 
71
71
  Typical choices:
@@ -76,6 +76,8 @@ Typical choices:
76
76
 
77
77
  Review roles inspect implementation; they do not approve plans or decide unapproved product scope.
78
78
 
79
+ Review against final valid requirements and committed contracts, not uncommitted intermediate behavior. Documents, code/comments, tests, and commit messages state only the concise final design and behavior. Tests must protect functionality and external interfaces, not lock descriptive documentation, commit messages, package information, or non-contractual error/log wording through strings, regex, snapshots, or parsed content. Don't require decision-counterexample or removed-component absence tests. Changed requirements update tests; removed components lose their dedicated tests. API, security, data, permission, and irreversible-operation authorization still applies.
80
+
79
81
  ## Interpret the Result
80
82
 
81
83
  Read the reviewer's analysis, cited code, and evidence. A status label, acknowledgement, dispatch success, or unsupported approval/rejection is informational rather than proof.
@@ -100,4 +102,4 @@ Review does not require a commit. A working-tree diff plus new files is valid re
100
102
 
101
103
  Git writes require authorization for the specific operation. A clear user request can authorize that exact operation without re-asking, but implement/fix does not mean commit, and commit does not mean push, tag, rebase, or release. Authorization never expands to a different operation or repository.
102
104
 
103
- See template at: `requesting-code-review/code-reviewer.md`
105
+ See template at: `./code-reviewer.md`
@@ -19,7 +19,7 @@ Assignment content (not a tool-call schema; send through a permitted callable na
19
19
  - acceptance criteria;
20
20
  - current working-tree diff or committed range, including new files;
21
21
  - relevant verification evidence and intentionally unverified items;
22
- - global constraints, permissions, and material approved rulings;
22
+ - current global constraints and permissions;
23
23
  - focused dependency, interface, or risk context when needed.
24
24
 
25
25
  Inspect the actual change rather than relying on an implementer summary or
@@ -28,11 +28,23 @@ Assignment content (not a tool-call schema; send through a permitted callable na
28
28
  security, performance, data, compatibility, protocol/API, migration, release,
29
29
  or irreversible-operation risks.
30
30
 
31
+ Assess existing evidence by material relevance. Request missing or affected
32
+ coverage; don't duplicate global/heavy checks coordinated by the controller.
33
+ Unrelated code, dependency, or environment changes aren't automatic invalidation.
34
+ Keep required safety, release, pre-commit, and explicit user checks intact.
35
+
31
36
  Allow minimal evidence-based equivalent implementations when they preserve the
32
37
  approved goal, constraints, permissions, and acceptance criteria. Flag a
33
38
  proposed change to approved scope or behavior as a decision for the controller,
34
39
  not an automatic fix.
35
40
 
41
+ Review final valid requirements and committed contracts, not uncommitted
42
+ intermediate behavior or decision history. Reject descriptive-text locks,
43
+ decision-counterexample tests, and tests asserting removed components are
44
+ absent. Requirements changes update corresponding tests; removed components
45
+ lose their dedicated tests. Keep valid safety, protocol, and input-handling
46
+ negatives and the applicable API/security/data/permission authorization.
47
+
36
48
  Report concrete findings with severity, file/line location when available,
37
49
  impact, supporting evidence, and a practical correction when useful. Separate
38
50
  product defects from missing evidence. Mention specific strengths only when
@@ -8,21 +8,20 @@ description: Use when executing implementation plans with independent tasks in t
8
8
  This is a full OCMM source adaptation for DSH 0.2.0-rc.2, not an OpenCode or Codex runtime. Source product names in transcript formats, examples, paths and attribution remain descriptive; they are not a host switch.
9
9
 
10
10
  - Load this skill through the native skill tool only when its trigger matches. Resolve every relative reference/script/asset from the directory resourceBase returned with this skill, not from the project cwd or an OCMM checkout. Use available read/glob/grep to inspect resources; use write/edit and the active bash or pwsh only within the actual role and host permissions.
11
- - External documentation uses actual web_search/web_fetch or an available documentation service. Context7, GitHub MCP, browser, image and LSP tools are optional catalog capabilities, not bundled calls. Use a real available equivalent or report unavailable evidence; never invent an MCP, Task, todo or compression API.
12
- - Source role names are logical assignments: code-search/explore maps to dsmm-code-search, and other canonical roles/categories map to dsmm-<name>. Dispatch only through the actual role-specific native subagent tool in the current catalog, within the caller's effective policy, depth and authority. No generated file, metadata row or template proves callability. A missing permitted role is a blocker for a required formal stage, not permission to invent it or bypass planning.
13
- - Templates describe assignment content, not a callable argument schema. Native continuation, background, message/interrupt and result handling are used only when actually exposed and supported; do not send task_id, subagent_type or guessed timeout fields. Otherwise perform permitted direct work or return the dependency to the stage owner.
14
- - Use a concise response or an authorized project plan for tracking when no native tracking tool is exposed. Compression is unavailable unless a real tool is exposed; do not simulate it. Role responsibilities, explicit-off common/skill visibility, and the terminal delegation contract override broader examples in a resource.
11
+ - External documentation uses actual web_search/web_fetch or an available documentation service. Context7, GitHub MCP, browser, image and LSP tools are optional catalog capabilities, not bundled calls. Use a real available equivalent or report unavailable evidence; never invent an MCP, Task, todo or compression API. Native read uses file_path, not OpenCode filePath; inspect every actual schema before calling it. Use read_image only when exposed and the actual route supports its image result.
12
+ - Source role names are logical assignments: code-search/explore maps to role ID dsmm-code-search, and other canonical roles/categories map to dsmm-<name>. Use this Agent's observed admitted inventory: per-role topology has individual role tools (for example dsmm_plan_critic) plus dsmm_category; parameterized topology has dsmm_role and dsmm_category with their actual role/category enums. Never derive callability from generated files, names or templates. Both layouts preserve target, caller, read-only, inherited tool and depth ceilings; a missing required formal role returns to the stage owner, not a planning bypass.
13
+ - Templates describe assignment content, not callable schemas. Actual delegation takes description/prompt, an exposed level, a deployment-authorized exposed route, and an exposed run_in_background only. Omitted/normal retains the default; low/high/max must be configured at roleRouting.<id>.levels as a complete route or exact supported effort, never synthetic suffix roles or fixed max effort. A complete invocation route needs paired provider/model and cannot silently fall back; effort-only needs exact native preflight. Level/layout never change permissions or verification rigor. Reviewer/Oracle independence requires different observed native routes, not names.
14
+ - One-shot defaults foreground; permitted one-shot background is native-job-owned. A managed admitted continuable configuration defaults background; explicit run_in_background:false creates a non-reusable one-shot. Use only exposed job_output/job_list/job_kill or send_message/interrupt_agent and returned identities. Existing continuable children can receive nearest-step running messages, idle next turns or same-ID cold continuation; receipts mean inbox acceptance, not completion. Exposed native child-to-parent reporting retains exact-sender/adjacency semantics, not new parent-to-child authority. Settled one-shots never revive; reuse never reselects role/level/route or copies a parent's newer policy into the original child capture. Do not send OpenCode task_id/subagent_type/background/resume/retry or guessed control fields.
15
+ - Host observations alone establish lifecycle controls. Managed delivery requires explicit startup composition: disable the stock subagents row, bind the unique PUBLIC DSMM SubagentRuntime subclass and restart; never hot-replace/drain stock or add a shadow runtime. When actually wired and authorized, a user foreground handoff transfers the existing same run to native jobs without a second start; native user queue/steer follows its operator/connection/session/epoch gate. Do not announce unconnected tools/RPCs. Background enablement, capacity, ownership, depth, cancellation and provider support always gate execution. Legacy conservative evidence may permit useful proven capabilities under the same durable child ID; missing evidence denies that capability with a reason, not all legacy children and not an inheritance of current parent policy.
16
+ - When exposed, native todo_write replaces the owning Agent's whole list of content/status items; its schema and allowParallelInProgress policy govern updates. Otherwise use concise session coordination or an authorized plan. ask_user_question is conditional on exposure; otherwise ask in conversation. Native host compaction is not OCMM compress, and no model-facing compression call is assumed. A read-only planner returns complete Markdown; an authorized coordinator persists it, never the planner through shell or a proxy. Role responsibilities, explicit-off common/skill visibility, and the terminal delegation contract override broader examples in a resource.
17
+ - Follow the current user's explicit output-language request, otherwise this Agent's immutable captured DSMM locale when supplied, then applicable host/user language guidance or the current request/context. Supported configured locales are en/zh-Hans/zh-Hant/ja/ko/de/fr/es/pt-BR/ru; omission inherits, not an English default. Preserve code, identifiers, paths, commands, protocol fields and exact quotes, and pass explicit language instructions in child assignments. This resource imports no Root session preference, promises neither internal reasoning language nor UI translation, and never changes host/project locale. A later parent Apply does not rewrite a child's captured locale.
15
18
  - Installation, package-manager bootstrap, downloads, authentication/login, credential/profile access, Git writes and destructive actions require explicit authorization for the exact action. Reference commands are not automatic operations. Worktree consent does not authorize dependency installation or later branch deletion. Read before changing an existing file; preserve unrelated user work. Never silently restore/reset a working tree to repair a failed cleanup.
16
19
  - Browser/debug QA uses run-owned isolated state, no imported credentials or browser profile, and only already available software unless separately authorized. Keep commands in the active shell dialect. Report unverified surfaces honestly.
17
20
 
18
- <!-- v1 fork of superpowers/subagent-driven-development.
19
- Upstream: obra/superpowers v6.3.0 (synced 2026-08-15).
20
- Adjustments: removed excluded-skill references and Git-writing workers;
21
- delegation, evidence, and review now scale with the work rather than forming
22
- mandatory per-task or final gates. Workers may make bounded evidence-based
23
- equivalent changes while preserving approved outcomes. Existing background
24
- waiting and no-ledger/no-automatic-cleanup boundaries remain. See
25
- docs/v1-maintenance.md for sync rules. -->
21
+ <!-- Local fork of obra/superpowers/subagent-driven-development v6.3.0.
22
+ Optional delegation after applicable planning; current outcomes and evidence.
23
+ Worker permissions, ownership, and host continuation remain bounded.
24
+ Source and maintenance contract: docs/v1-maintenance.md. -->
26
25
 
27
26
  # Subagent-Driven Development
28
27
 
@@ -32,11 +31,11 @@ Use focused workers when delegation materially improves implementation of an app
32
31
 
33
32
  Delegation is optional. Direct execution is valid when a task is small, tightly coupled to controller context, or cheaper to complete than to brief and reconcile. When delegation helps, give each worker self-contained context rather than session history.
34
33
 
35
- This skill begins at implementation. For complex business or behavior work, the orchestrator must first complete the `planner` → `plan-critic` sequence and resolve every substantive plan blocker. A recorded exception is valid only for a limited, simple, low-risk, clearly bounded change or an explicit user request. Direct execution here chooses an implementer; it does not bypass required planning.
34
+ This skill begins at implementation. For complex implementation of product business logic or behavior, the orchestrator must first complete the `planner` → `plan-critic` sequence and resolve every substantive plan blocker. An exception applies only to a limited, simple, low-risk, clearly bounded change or an explicit user request. Non-product routine operations, docs, maintenance, and release preparation do not inherit that sequence: execute directly when resolvable, otherwise ask or delegate a bounded `complex`/specialist task. Explicit process requirements and concrete major safety verification still apply. Direct execution does not bypass required product planning.
36
35
 
37
36
  **Continuous execution:** Do not pause between ordinary tasks merely to ask whether to continue. Stop for a decision that changes scope or acceptance, weakens security or data guarantees, changes a public API/protocol, expands permissions, requires an irreversible/destructive operation, triggers an external side effect requiring authorization, or leaves only pure guesses. Otherwise make a bounded ruling and continue.
38
37
 
39
- **Rulings, not stalls:** Resolve non-material plan defects or ambiguities from approved requirements and repository evidence. Record significant rulings and assumptions in the active tracking surface or final report, including the reason and cost if wrong. Do not create a separate ledger solely for this purpose.
38
+ **Bounded execution:** Resolve non-material plan defects or ambiguities from approved requirements and repository evidence. Carry only current constraints, necessary assumptions, unresolved risks, and evidence into coordination and reports. Don't create a ruling ledger or preserve decision history.
40
39
 
41
40
  **Narration discipline:** Between tool calls, keep narration brief. Use prose for decisions, blockers, and questions rather than duplicating tool output.
42
41
 
@@ -51,26 +50,26 @@ For two or more independent tasks with no shared state or overlapping files, con
51
50
  ## Outcome-Oriented Process
52
51
 
53
52
  1. Understand the goal, ideal end state, acceptance criteria, dependencies/interfaces, relevant evidence, and global constraints.
54
- 2. Scan planned file/interface overlaps and material risks. Record significant rulings or assumptions.
53
+ 2. Scan planned file/interface overlaps, current constraints, and material risks.
55
54
  3. Choose direct execution or a useful worker boundary for each task or wave.
56
- 4. After work returns, inspect the actual changes and evidence, resolve integration issues, and update tracking based on the demonstrated outcome.
55
+ 4. After work returns, inspect the actual changes and evidence and resolve integration issues. Keep short-lived coordination in session; synchronize useful results at delivery or major phase boundaries, not every checklist update.
57
56
  5. Request focused or whole-change review only when risk, uncertainty, change shape, or user instruction makes independent review useful.
58
- 6. Verify the integrated result with evidence proportionate to the plausible regression and report any unverified item.
57
+ 6. Coordinate integrated/global verification, consolidating necessary heavy checks at task completion or important phase boundaries; report any unverified item.
59
58
 
60
- The plan is guidance, not an immutable script. A worker may use a minimal evidence-based equivalent when repository reality makes a planned detail unnecessary or inferior, provided the approved goal, constraints, permissions, and acceptance criteria remain unchanged. Significant deviations require a recorded ruling with reasons and cost if wrong. Decisions in the stop classes above return to the controller or user.
59
+ The plan is guidance, not an immutable script. A worker may use a minimal evidence-based equivalent when repository reality makes a planned detail unnecessary or inferior, provided the approved goal, constraints, permissions, and acceptance criteria remain unchanged. Describe the resulting current implementation and any unresolved risk, not a deviation history. Decisions in the stop classes above return to the controller or user.
61
60
 
62
61
  ## Worker Briefs
63
62
 
64
- Give a worker, in whatever order is clearest:
63
+ Explain only what the worker needs to act safely toward the outcome; these are useful prompts, not required fields or an exhaustive inventory:
65
64
 
66
65
  - the task/wave goal and ideal end state;
67
66
  - acceptance criteria and useful evidence;
68
67
  - relevant current state, dependencies, and interfaces;
69
- - owned files or explicit boundaries;
68
+ - material scope and ownership boundaries;
70
69
  - global constraints and permissions;
71
- - significant prior rulings or known risks.
70
+ - current constraints, authorization boundaries, or known risks.
72
71
 
73
- Do not make a worker read an entire plan when a self-contained excerpt is available. Do not prescribe fixed report fields, a first-line status, test transcript, scenario count, commit, or reviewer approval. Ask for the changed files, substantive decisions, verification evidence, and unresolved risks needed for integration.
72
+ Workers may discover corresponding resources within the authorized scope; the brief need not name every file, revision, hash, or receipt. Discovery does not expand permissions or bypass ownership, irreversible-operation, or protocol-identity boundaries. Do not make a worker read an entire plan when a clear bounded brief is sufficient. Do not prescribe fixed report fields, a first-line status, test transcript, scenario count, commit, or reviewer approval. Ask for the resulting implementation, changed files, local verification evidence/results, and material risks or unverified coverage needed for integration.
74
73
 
75
74
  ### Recommended Executor Decision
76
75
 
@@ -90,7 +89,7 @@ A clear user request can authorize the exact Git operation without a redundant c
90
89
 
91
90
  ## Local Workflow Boundaries
92
91
 
93
- No automatic workspace or ledger scripts, automatic cleanup, routine full review after each task or wave, or default worker Git write is permitted. Use the active todo list, plan notes, notepad, or final response for rulings and handoffs; do not introduce upstream ledger files or cleanup scripts.
92
+ No automatic workspace or ledger scripts, automatic cleanup, routine full review after each task or wave, or default worker Git write is permitted. Return worker reports in conversation, not workspace plan/report/evidence files unless explicitly requested as deliverables. Use session-level coordination for short-lived state without repeated stability/hash checks or completion writes before deleting disposable checklists; safe ownership cleanup and authorization remain binding. Product specs/plans describe only final product deliverables; other tasks never write to the superpowers directories.
94
93
 
95
94
  ## Plan and Integration Scan
96
95
 
@@ -101,11 +100,11 @@ Before work that spans tasks or waves:
101
100
  - Confirm planned evidence relates to observable acceptance criteria.
102
101
  - Keep security, data-loss, protocol/API, compatibility, and irreversible-operation safeguards intact.
103
102
 
104
- When a conflict is non-material, record the significant decision, its evidence or reason, and the cost if wrong in whatever form is useful, then proceed. Escalate when resolving it would change scope, acceptance, safety, data guarantees, public interfaces/protocols, permissions, irreversible effects, or would be a pure guess.
103
+ Resolve non-material conflicts from evidence and proceed with the resulting current constraints. Escalate when resolving a conflict would change scope, acceptance, safety, data guarantees, public interfaces/protocols, permissions, irreversible effects, or would be a pure guess.
105
104
 
106
105
  ## Batch Small Same-Shape Work
107
106
 
108
- Several independent, low-judgment edits of the same kind may share one brief. List every owned area and expected outcome, then inspect the result area-by-area. Keep separate work where judgment, dependencies, tests, or integration risk differ.
107
+ Several independent, low-judgment edits of the same kind may share one brief. State the shared outcome and material scope/ownership boundaries; workers can discover corresponding resources inside them without an exhaustive file list or per-item identity lock. Inspect actual changes against that scope. Keep separate work where judgment, dependencies, tests, or integration risk differ.
109
108
 
110
109
  ## Corrections and Changed Inputs
111
110
 
@@ -138,8 +137,12 @@ Do not poll aggressively, sleep, or repeatedly ask for status. While you have lo
138
137
 
139
138
  Choose evidence that can demonstrate the requested behavior or invariant. Depending on the change, this can include focused deterministic tests, existing regression tests, typechecks, builds, runtime probes, inspection of generated output, or protocol/security checks.
140
139
 
140
+ Workers run lightweight local checks for their substantive changes; the controller owns integration and consolidated global/heavy verification, not a full-suite run per small task. Apply brainstorming's material-relevance reuse rule: unrelated code, dependency, or environment changes don't invalidate passing evidence; changes affecting tested behavior or interfaces require only affected checks and explicit coverage gaps. Required safety, release, pre-commit, and user-mandated checks remain binding.
141
+
141
142
  Do not impose a universal RED gate, test transcript, scenario count, or full-suite run for every task. Add or run tests where a plausible deterministic regression seam warrants them. Never weaken real safeguards or substitute an acknowledgement for evidence.
142
143
 
144
+ Tests protect final valid requirements, functionality, and external interfaces. Don't lock descriptive documentation, commit messages, package information, or non-contractual error/log wording through string, regex, snapshot, or parsed-content assertions. Don't test decision counterexamples or the absence of removed components. Update tests with requirements and delete tests dedicated to removed components. Uncommitted intermediate behavior needn't be preserved; committed contracts and authorization boundaries still apply.
145
+
143
146
  ## Completion and Integration Check
144
147
 
145
148
  For each worker result or direct-execution wave:
@@ -148,7 +151,7 @@ For each worker result or direct-execution wave:
148
151
  - compare the result to the goal and acceptance criteria;
149
152
  - evaluate the reported evidence and run additional targeted checks when needed;
150
153
  - check shared interfaces and assumptions against other work;
151
- - record significant rulings, unresolved risks, and intentionally unverified items.
154
+ - report current constraints, unresolved risks, and intentionally unverified items.
152
155
 
153
156
  This is outcome verification, not a mandatory full reviewer pass after each task or wave.
154
157
 
@@ -10,14 +10,15 @@ Assignment content (not a tool-call schema; send through a permitted callable na
10
10
  prompt: |
11
11
  Implement the supplied task or wave toward its approved ideal end state.
12
12
 
13
- Provide, in whatever order is clearest:
13
+ Provide only the context needed for safe execution; these are prompts, not
14
+ required fields or an exhaustive resource list:
14
15
  - goal and acceptance criteria;
15
16
  - relevant current state and context;
16
17
  - dependencies and interfaces;
17
- - owned files or scope boundaries;
18
- - useful verification evidence;
18
+ - material scope and ownership boundaries;
19
+ - useful lightweight local verification evidence;
19
20
  - global constraints and permissions;
20
- - significant prior rulings or known risks.
21
+ - current constraints, authorization boundaries, or known risks.
21
22
 
22
23
  Work from: [directory]
23
24
 
@@ -28,8 +29,13 @@ Assignment content (not a tool-call schema; send through a permitted callable na
28
29
  detail when repository evidence supports it, but do not change the approved
29
30
  goal, constraints, permissions, or acceptance criteria.
30
31
 
31
- Record significant rulings, assumptions, and deviations with the evidence or
32
- reason, plus the cost if wrong. Escalate instead of choosing when a decision
32
+ Discover relevant files, tests, docs, and resources within that authorized scope.
33
+ No exhaustive file list or per-item revision/hash/receipt lock is required.
34
+ Resource discovery does not expand permissions; honor material ownership,
35
+ irreversible-operation, and required protocol/integrity identity boundaries.
36
+
37
+ Report the resulting implementation, current constraints, unresolved risks,
38
+ and evidence, not a ruling or development history. Escalate when a decision
33
39
  changes scope or acceptance, weakens security or data guarantees, changes a
34
40
  public API/protocol, expands permissions, requires an irreversible action, or
35
41
  would otherwise be a pure guess.
@@ -53,17 +59,29 @@ Assignment content (not a tool-call schema; send through a permitted callable na
53
59
  Follow established local patterns and keep changes within scope. Preserve real
54
60
  security, data-loss, protocol/API, compatibility, and irreversible-operation
55
61
  safeguards. Add or run deterministic tests where a plausible regression seam
56
- warrants them; otherwise use the smallest useful evidence such as existing
57
- tests, typechecks, builds, runtime probes, or focused inspection.
62
+ warrants them; run lightweight local checks relevant to your substantive changes.
63
+ The controller owns integration and consolidated global/heavy checks; do not run
64
+ a full suite per small task. Reuse still-applicable evidence under brainstorming's
65
+ material-relevance rule and rerun only affected or missing checks. Required safety,
66
+ release, pre-commit, and explicit user checks remain binding.
58
67
 
59
68
  There is no universal RED gate, transcript, scenario count, per-task reviewer,
60
69
  or commit requirement. Verification must demonstrate the relevant behavior or
61
70
  invariant rather than merely report that a command ran.
62
71
 
72
+ Documents, code/comments, tests, and commit messages describe only concise final
73
+ requirements, design, and behavior. Update intermediate text directly. Tests
74
+ protect valid requirements and functional/external contracts, not descriptive
75
+ text, decision counterexamples, or the absence of removed components. Update
76
+ tests with requirements and delete tests dedicated to removed components.
77
+ Uncommitted intermediate behavior may change incompatibly for final requirements;
78
+ existing committed contracts and API/security/data/permission authorization remain.
79
+
63
80
  ## Return
64
81
 
65
- Report the implemented outcome, changed and new files, evidence and results,
66
- significant rulings/assumptions, and unresolved concerns. Status labels such as
67
- DONE, DONE_WITH_CONCERNS, BLOCKED, or NEEDS_CONTEXT are optional and
82
+ Return the implemented outcome, changed and new files, local evidence/results,
83
+ current constraints, material risks and unverified coverage in conversation, not workspace
84
+ plan/report/evidence files unless explicitly requested as deliverables.
85
+ Status labels such as DONE, DONE_WITH_CONCERNS, BLOCKED, or NEEDS_CONTEXT are optional and
68
86
  informational; an acknowledgement or label alone is not evidence.
69
87
  ```
@@ -15,7 +15,7 @@ Assignment content (not a tool-call schema; send through a permitted callable na
15
15
 
16
16
  Supply the goal, acceptance criteria, current diff or committed range including
17
17
  new files, relevant verification evidence, and global constraints. Add only the
18
- context needed to understand dependencies, interfaces, and approved rulings.
18
+ context needed to understand dependencies, interfaces, and current constraints.
19
19
  No fixed field order is required.
20
20
 
21
21
  Compare the actual code and new files to the criteria. Identify missing behavior,
@@ -24,6 +24,11 @@ Assignment content (not a tool-call schema; send through a permitted callable na
24
24
  implementations that preserve the approved goal, constraints, permissions, and
25
25
  acceptance criteria.
26
26
 
27
+ Evaluate final valid requirements and committed contracts, not intermediate
28
+ behavior or decision history. Tests cover functionality and external interfaces,
29
+ not descriptive-text locks, decision counterexamples, or removed-component
30
+ absence. Update tests with requirements and delete removed components' tests.
31
+
27
32
  Report concrete findings and supporting evidence. Do not rely on an implementer
28
33
  status or acknowledgement, and do not require a fixed first-line verdict or
29
34
  receipt. If the supplied material is insufficient, identify the missing evidence.
@@ -8,10 +8,13 @@ description: Use ONLY when the user explicitly asks to use a git worktree for is
8
8
  This is a full OCMM source adaptation for DSH 0.2.0-rc.2, not an OpenCode or Codex runtime. Source product names in transcript formats, examples, paths and attribution remain descriptive; they are not a host switch.
9
9
 
10
10
  - Load this skill through the native skill tool only when its trigger matches. Resolve every relative reference/script/asset from the directory resourceBase returned with this skill, not from the project cwd or an OCMM checkout. Use available read/glob/grep to inspect resources; use write/edit and the active bash or pwsh only within the actual role and host permissions.
11
- - External documentation uses actual web_search/web_fetch or an available documentation service. Context7, GitHub MCP, browser, image and LSP tools are optional catalog capabilities, not bundled calls. Use a real available equivalent or report unavailable evidence; never invent an MCP, Task, todo or compression API.
12
- - Source role names are logical assignments: code-search/explore maps to dsmm-code-search, and other canonical roles/categories map to dsmm-<name>. Dispatch only through the actual role-specific native subagent tool in the current catalog, within the caller's effective policy, depth and authority. No generated file, metadata row or template proves callability. A missing permitted role is a blocker for a required formal stage, not permission to invent it or bypass planning.
13
- - Templates describe assignment content, not a callable argument schema. Native continuation, background, message/interrupt and result handling are used only when actually exposed and supported; do not send task_id, subagent_type or guessed timeout fields. Otherwise perform permitted direct work or return the dependency to the stage owner.
14
- - Use a concise response or an authorized project plan for tracking when no native tracking tool is exposed. Compression is unavailable unless a real tool is exposed; do not simulate it. Role responsibilities, explicit-off common/skill visibility, and the terminal delegation contract override broader examples in a resource.
11
+ - External documentation uses actual web_search/web_fetch or an available documentation service. Context7, GitHub MCP, browser, image and LSP tools are optional catalog capabilities, not bundled calls. Use a real available equivalent or report unavailable evidence; never invent an MCP, Task, todo or compression API. Native read uses file_path, not OpenCode filePath; inspect every actual schema before calling it. Use read_image only when exposed and the actual route supports its image result.
12
+ - Source role names are logical assignments: code-search/explore maps to role ID dsmm-code-search, and other canonical roles/categories map to dsmm-<name>. Use this Agent's observed admitted inventory: per-role topology has individual role tools (for example dsmm_plan_critic) plus dsmm_category; parameterized topology has dsmm_role and dsmm_category with their actual role/category enums. Never derive callability from generated files, names or templates. Both layouts preserve target, caller, read-only, inherited tool and depth ceilings; a missing required formal role returns to the stage owner, not a planning bypass.
13
+ - Templates describe assignment content, not callable schemas. Actual delegation takes description/prompt, an exposed level, a deployment-authorized exposed route, and an exposed run_in_background only. Omitted/normal retains the default; low/high/max must be configured at roleRouting.<id>.levels as a complete route or exact supported effort, never synthetic suffix roles or fixed max effort. A complete invocation route needs paired provider/model and cannot silently fall back; effort-only needs exact native preflight. Level/layout never change permissions or verification rigor. Reviewer/Oracle independence requires different observed native routes, not names.
14
+ - One-shot defaults foreground; permitted one-shot background is native-job-owned. A managed admitted continuable configuration defaults background; explicit run_in_background:false creates a non-reusable one-shot. Use only exposed job_output/job_list/job_kill or send_message/interrupt_agent and returned identities. Existing continuable children can receive nearest-step running messages, idle next turns or same-ID cold continuation; receipts mean inbox acceptance, not completion. Exposed native child-to-parent reporting retains exact-sender/adjacency semantics, not new parent-to-child authority. Settled one-shots never revive; reuse never reselects role/level/route or copies a parent's newer policy into the original child capture. Do not send OpenCode task_id/subagent_type/background/resume/retry or guessed control fields.
15
+ - Host observations alone establish lifecycle controls. Managed delivery requires explicit startup composition: disable the stock subagents row, bind the unique PUBLIC DSMM SubagentRuntime subclass and restart; never hot-replace/drain stock or add a shadow runtime. When actually wired and authorized, a user foreground handoff transfers the existing same run to native jobs without a second start; native user queue/steer follows its operator/connection/session/epoch gate. Do not announce unconnected tools/RPCs. Background enablement, capacity, ownership, depth, cancellation and provider support always gate execution. Legacy conservative evidence may permit useful proven capabilities under the same durable child ID; missing evidence denies that capability with a reason, not all legacy children and not an inheritance of current parent policy.
16
+ - When exposed, native todo_write replaces the owning Agent's whole list of content/status items; its schema and allowParallelInProgress policy govern updates. Otherwise use concise session coordination or an authorized plan. ask_user_question is conditional on exposure; otherwise ask in conversation. Native host compaction is not OCMM compress, and no model-facing compression call is assumed. A read-only planner returns complete Markdown; an authorized coordinator persists it, never the planner through shell or a proxy. Role responsibilities, explicit-off common/skill visibility, and the terminal delegation contract override broader examples in a resource.
17
+ - Follow the current user's explicit output-language request, otherwise this Agent's immutable captured DSMM locale when supplied, then applicable host/user language guidance or the current request/context. Supported configured locales are en/zh-Hans/zh-Hant/ja/ko/de/fr/es/pt-BR/ru; omission inherits, not an English default. Preserve code, identifiers, paths, commands, protocol fields and exact quotes, and pass explicit language instructions in child assignments. This resource imports no Root session preference, promises neither internal reasoning language nor UI translation, and never changes host/project locale. A later parent Apply does not rewrite a child's captured locale.
15
18
  - Installation, package-manager bootstrap, downloads, authentication/login, credential/profile access, Git writes and destructive actions require explicit authorization for the exact action. Reference commands are not automatic operations. Worktree consent does not authorize dependency installation or later branch deletion. Read before changing an existing file; preserve unrelated user work. Never silently restore/reset a working tree to repair a failed cleanup.
16
19
  - Browser/debug QA uses run-owned isolated state, no imported credentials or browser profile, and only already available software unless separately authorized. Keep commands in the active shell dialect. Report unverified surfaces honestly.
17
20
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: writing-plans
3
- description: Use when you have a spec or requirements for a multi-step task, before touching code
3
+ description: Use before complex product behavior implementation, or when an explicit planning request or concrete major risk requires a plan; not for routine non-product multi-step work
4
4
  ---
5
5
 
6
6
  ## DSH resource and authority contract
@@ -8,37 +8,36 @@ description: Use when you have a spec or requirements for a multi-step task, bef
8
8
  This is a full OCMM source adaptation for DSH 0.2.0-rc.2, not an OpenCode or Codex runtime. Source product names in transcript formats, examples, paths and attribution remain descriptive; they are not a host switch.
9
9
 
10
10
  - Load this skill through the native skill tool only when its trigger matches. Resolve every relative reference/script/asset from the directory resourceBase returned with this skill, not from the project cwd or an OCMM checkout. Use available read/glob/grep to inspect resources; use write/edit and the active bash or pwsh only within the actual role and host permissions.
11
- - External documentation uses actual web_search/web_fetch or an available documentation service. Context7, GitHub MCP, browser, image and LSP tools are optional catalog capabilities, not bundled calls. Use a real available equivalent or report unavailable evidence; never invent an MCP, Task, todo or compression API.
12
- - Source role names are logical assignments: code-search/explore maps to dsmm-code-search, and other canonical roles/categories map to dsmm-<name>. Dispatch only through the actual role-specific native subagent tool in the current catalog, within the caller's effective policy, depth and authority. No generated file, metadata row or template proves callability. A missing permitted role is a blocker for a required formal stage, not permission to invent it or bypass planning.
13
- - Templates describe assignment content, not a callable argument schema. Native continuation, background, message/interrupt and result handling are used only when actually exposed and supported; do not send task_id, subagent_type or guessed timeout fields. Otherwise perform permitted direct work or return the dependency to the stage owner.
14
- - Use a concise response or an authorized project plan for tracking when no native tracking tool is exposed. Compression is unavailable unless a real tool is exposed; do not simulate it. Role responsibilities, explicit-off common/skill visibility, and the terminal delegation contract override broader examples in a resource.
11
+ - External documentation uses actual web_search/web_fetch or an available documentation service. Context7, GitHub MCP, browser, image and LSP tools are optional catalog capabilities, not bundled calls. Use a real available equivalent or report unavailable evidence; never invent an MCP, Task, todo or compression API. Native read uses file_path, not OpenCode filePath; inspect every actual schema before calling it. Use read_image only when exposed and the actual route supports its image result.
12
+ - Source role names are logical assignments: code-search/explore maps to role ID dsmm-code-search, and other canonical roles/categories map to dsmm-<name>. Use this Agent's observed admitted inventory: per-role topology has individual role tools (for example dsmm_plan_critic) plus dsmm_category; parameterized topology has dsmm_role and dsmm_category with their actual role/category enums. Never derive callability from generated files, names or templates. Both layouts preserve target, caller, read-only, inherited tool and depth ceilings; a missing required formal role returns to the stage owner, not a planning bypass.
13
+ - Templates describe assignment content, not callable schemas. Actual delegation takes description/prompt, an exposed level, a deployment-authorized exposed route, and an exposed run_in_background only. Omitted/normal retains the default; low/high/max must be configured at roleRouting.<id>.levels as a complete route or exact supported effort, never synthetic suffix roles or fixed max effort. A complete invocation route needs paired provider/model and cannot silently fall back; effort-only needs exact native preflight. Level/layout never change permissions or verification rigor. Reviewer/Oracle independence requires different observed native routes, not names.
14
+ - One-shot defaults foreground; permitted one-shot background is native-job-owned. A managed admitted continuable configuration defaults background; explicit run_in_background:false creates a non-reusable one-shot. Use only exposed job_output/job_list/job_kill or send_message/interrupt_agent and returned identities. Existing continuable children can receive nearest-step running messages, idle next turns or same-ID cold continuation; receipts mean inbox acceptance, not completion. Exposed native child-to-parent reporting retains exact-sender/adjacency semantics, not new parent-to-child authority. Settled one-shots never revive; reuse never reselects role/level/route or copies a parent's newer policy into the original child capture. Do not send OpenCode task_id/subagent_type/background/resume/retry or guessed control fields.
15
+ - Host observations alone establish lifecycle controls. Managed delivery requires explicit startup composition: disable the stock subagents row, bind the unique PUBLIC DSMM SubagentRuntime subclass and restart; never hot-replace/drain stock or add a shadow runtime. When actually wired and authorized, a user foreground handoff transfers the existing same run to native jobs without a second start; native user queue/steer follows its operator/connection/session/epoch gate. Do not announce unconnected tools/RPCs. Background enablement, capacity, ownership, depth, cancellation and provider support always gate execution. Legacy conservative evidence may permit useful proven capabilities under the same durable child ID; missing evidence denies that capability with a reason, not all legacy children and not an inheritance of current parent policy.
16
+ - When exposed, native todo_write replaces the owning Agent's whole list of content/status items; its schema and allowParallelInProgress policy govern updates. Otherwise use concise session coordination or an authorized plan. ask_user_question is conditional on exposure; otherwise ask in conversation. Native host compaction is not OCMM compress, and no model-facing compression call is assumed. A read-only planner returns complete Markdown; an authorized coordinator persists it, never the planner through shell or a proxy. Role responsibilities, explicit-off common/skill visibility, and the terminal delegation contract override broader examples in a resource.
17
+ - Follow the current user's explicit output-language request, otherwise this Agent's immutable captured DSMM locale when supplied, then applicable host/user language guidance or the current request/context. Supported configured locales are en/zh-Hans/zh-Hant/ja/ko/de/fr/es/pt-BR/ru; omission inherits, not an English default. Preserve code, identifiers, paths, commands, protocol fields and exact quotes, and pass explicit language instructions in child assignments. This resource imports no Root session preference, promises neither internal reasoning language nor UI translation, and never changes host/project locale. A later parent Apply does not rewrite a child's captured locale.
15
18
  - Installation, package-manager bootstrap, downloads, authentication/login, credential/profile access, Git writes and destructive actions require explicit authorization for the exact action. Reference commands are not automatic operations. Worktree consent does not authorize dependency installation or later branch deletion. Read before changing an existing file; preserve unrelated user work. Never silently restore/reset a working tree to repair a failed cleanup.
16
19
  - Browser/debug QA uses run-owned isolated state, no imported credentials or browser profile, and only already available software unless separately authorized. Keep commands in the active shell dialect. Report unverified surfaces honestly.
17
20
 
18
- <!-- v1 fork of superpowers/writing-plans.
19
- Upstream: obra/superpowers v6.3.0 (synced 2026-08-15).
20
- Adjustments: removed executing-plans and using-git-worktrees references;
21
- plans are outcome-oriented and scale with uncertainty, dependencies, and
22
- risk rather than prescribing fixed steps, commits, or review receipts.
23
- Complex implementation receives blocker-focused plan criticism without a
24
- fixed receipt or repeated approval loop. See docs/v1-maintenance.md for
25
- sync rules. -->
21
+ <!-- Local fork of obra/superpowers/writing-plans v6.3.0.
22
+ Outcome-oriented final product plans; temporary coordination for other work.
23
+ Complex implementation receives orchestrator-owned blocker-focused criticism.
24
+ Source and maintenance contract: docs/v1-maintenance.md. -->
26
25
 
27
26
  # Writing Plans
28
27
 
29
28
  ## Overview
30
29
 
31
- Write an implementation plan that lets a capable engineer reach the approved outcome without rediscovering important context. Capture the goal, ideal end state, dependencies, interfaces, risks, constraints, and evidence that would demonstrate success. Prefer useful decision support over procedural ceremony.
30
+ Produce an implementation plan that lets a capable engineer reach the approved outcome without rediscovering important context. A native read-only planner returns complete Markdown; an authorized coordinator writes any required artifact within its own permissions. Capture the goal, ideal end state, dependencies, interfaces, risks, constraints, and evidence that would demonstrate success. Prefer useful decision support over procedural ceremony.
32
31
 
33
32
  Assume the engineer is skilled but unfamiliar with this codebase and problem domain. Explain local conventions or non-obvious constraints that materially affect the work; do not prescribe details that repository evidence leaves safely open.
34
33
 
35
- **Default location for durable plans:** `docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md`
34
+ **Product plan location:** `docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md`, only for final product requirements to be delivered. The same restriction applies to `docs/superpowers/specs/`. Each document describes its final deliverable; changed requirements use separate plans, not appended development or decision history. Other tasks use conversation-level coordination or a task-owned temporary plan, never these directories.
36
35
 
37
36
  ## When to Write a File-Backed Plan
38
37
 
39
- Do not write a plan merely because work has multiple steps. Use a durable plan for complex business or behavior implementation, or when discovery shows unclear boundaries or dependencies, cross-module coordination, novel behavior, migration/security/performance risk, or enough work that downstream executors need a shared artifact.
38
+ Do not write a plan merely because work has multiple steps. Use a durable plan for complex implementation of product business logic or behavior, or when an explicit planning request or concrete major risk requires one. Non-product routine operations, docs, maintenance, and release preparation stay in conversation: resolve them directly, ask for material missing input, or use a useful `complex`/specialist worker without default planner/critic/review cycles. Dependencies or multiple files alone do not trigger a file-backed plan.
40
39
 
41
- Skip the planner/critic sequence only when the change is limited, simple, low risk, and clearly bounded, or when the user explicitly requests the skip. Record the short reason. Clear requirements, multiple familiar files, strong model capability, or sufficient evidence do not exempt complex work. A user-requested skip does not authorize changes to security/data guarantees, public APIs/protocols, permissions, or irreversible behavior.
40
+ For complex product implementation, skip the planner/critic sequence only when the change is limited, simple, low risk, and clearly bounded, or when the user explicitly requests the skip. State the applicable condition in conversation. Clear requirements, multiple familiar files, strong model capability, or sufficient evidence do not exempt that work. A user-requested skip does not authorize changes to security/data guarantees, public APIs/protocols, permissions, or irreversible behavior. Planning complexity doesn't expand the product-plan directory's purpose.
42
41
 
43
42
  ## Scope and Discovery
44
43
 
@@ -52,7 +51,7 @@ Before decomposing work:
52
51
 
53
52
  If the work contains independent subsystems, split it into independently valuable plans or waves. If a material choice would alter scope, acceptance, safety, data, a public API/protocol, permissions, or an irreversible action, return it for approval rather than guessing.
54
53
 
55
- For a non-material open choice, choose a safe reversible default. Record a significant ruling or assumption with the evidence behind it, why it was chosen, and the cost if it is wrong.
54
+ For a non-material open choice, choose a safe reversible default from evidence. Express only the resulting current constraint or unresolved risk needed for execution, not the choice history.
56
55
 
57
56
  ## Plan Shape
58
57
 
@@ -62,11 +61,11 @@ Use the structure that best explains the work. A useful plan normally makes thes
62
61
  - Source requirements/design and global constraints
63
62
  - Relevant current state
64
63
  - Dependencies and interfaces, including what each unit consumes and produces
65
- - Risks, assumptions, and significant rulings
64
+ - Current risks, necessary assumptions, and authorization boundaries
66
65
  - Waves or tasks with clear outcome boundaries
67
66
  - Useful acceptance evidence for each wave and for the integrated result
68
67
 
69
- Do not turn the plan into a transcript. Include commands, code sketches, file paths, or signatures when they prevent ambiguity; omit them when repository patterns and acceptance criteria already make the implementation obvious.
68
+ Describe the concise final requirements, design, and behavior. Update intermediate text directly; don't retain development history, rejected alternatives, or decision counterexamples. Include commands, code sketches, file paths, or signatures when they prevent ambiguity; omit them when repository patterns and acceptance criteria already make the implementation obvious.
70
69
 
71
70
  ## Waves and Tasks
72
71
 
@@ -85,18 +84,22 @@ A task should be cohesive enough to produce meaningful progress and small enough
85
84
 
86
85
  Plans need not prescribe one executor action every 2-5 minutes. They also need not mandate a failing-test transcript, scenario count, per-task full review, or commit. Use deterministic tests at real regression-prone seams; use typechecks, builds, focused inspection, runtime probes, or other evidence when those better demonstrate the outcome. Keep real security, data-loss, protocol, compatibility, and irreversible-operation safeguards explicit.
87
86
 
87
+ Separate lightweight worker checks for substantive local changes from orchestrator-owned integration/global verification. Consolidate necessary heavy checks at task completion or important phase boundaries, not per small task; plan affected or missing evidence under brainstorming's material-relevance reuse rule without waiving required safety, release, pre-commit, or user checks.
88
+
88
89
  ## Executor Flexibility
89
90
 
90
91
  The plan defines the approved goal, constraints, permissions, and acceptance criteria. It may recommend an approach, task boundary, executor profile, or evidence path without freezing incidental mechanics.
91
92
 
92
- Deep workers and implementers may choose a minimal evidence-based equivalent when repository reality makes a planned detail unnecessary or inferior, provided they do not change the approved goal, constraints, permissions, or acceptance criteria. They record significant deviations, rulings, and assumptions with reasons and the cost if wrong.
93
+ Deep workers and implementers may choose a minimal evidence-based equivalent when repository reality makes a planned detail unnecessary or inferior, provided they do not change the approved goal, constraints, permissions, or acceptance criteria. Handoffs describe the resulting implementation, current constraints, unresolved risks, and evidence, not a deviation or ruling log.
93
94
 
94
95
  They escalate instead of choosing when the decision changes scope or acceptance, weakens safety or data guarantees, changes a public API/protocol, expands permissions, introduces an irreversible action, or would otherwise be a pure guess.
95
96
 
96
- Executor recommendations are hints, not dispatch commands. The orchestrator selects a currently callable profile based on actual complexity and policy. Direct execution describes who performs implementation after applicable planning; it is not a way to skip the complex-work planner/critic sequence.
97
+ Executor recommendations are hints, not dispatch commands. The orchestrator selects a currently callable profile based on actual complexity and policy. Direct execution describes who performs implementation after applicable planning; it is not a way to skip the complex product-implementation planner/critic sequence.
97
98
 
98
99
  ## Git Boundaries
99
100
 
101
+ Git commits are the compatibility boundary. Uncommitted intermediate behavior may change incompatibly to satisfy final requirements without transition shims or tests preserving it. Existing committed contracts remain binding even in files with uncommitted edits; API, security, data, permission, and irreversible-operation changes still need their applicable authorization.
102
+
100
103
  Do not include routine commit steps or a default separate spec/plan commit. Git writes require authorization for the specific operation. A clear user request can authorize that exact operation without a second confirmation, but authorization never expands beyond its semantics:
101
104
 
102
105
  - implement or fix does not mean commit;
@@ -115,9 +118,11 @@ Review the completed plan against its source:
115
118
 
116
119
  Fix issues inline. Do not require a second review simply because wording or formatting changed.
117
120
 
121
+ Tests cover valid requirements, functionality, and external interfaces, not descriptive-text locks or decision counterexamples. Don't lock documentation, commit messages, package information, or non-contractual error/log wording through strings, regex, snapshots, or parsed content. Changed requirements update their tests; removed components lose their dedicated tests, with no replacement absence tests. Keep valid negative safety, protocol, and input-handling tests.
122
+
118
123
  ## Blocker-Focused Plan Review
119
124
 
120
- For complex business or behavior implementation, return the completed plan to the orchestrator for `plan-critic` review before implementation. The orchestrator owns dispatch; the planner never invokes the critic. For a valid narrow skip, state the reason instead. Give the critic the goal, acceptance criteria, current plan, source requirements, relevant evidence, and global constraints. No fixed field order, first-line verdict, receipt, hash, or repeated approval ritual is required.
125
+ For complex implementation of product business logic or behavior, return the completed plan to the orchestrator for `plan-critic` review before implementation. The orchestrator owns dispatch; the planner never invokes the critic. Non-product work receives criticism only when explicitly required or warranted by a concrete major risk, not merely because a plan exists. For a valid skip, state the reason instead. Give the critic the goal, acceptance criteria, current plan, source requirements, relevant evidence, and global constraints. No fixed field order, first-line verdict, receipt, hash, or repeated approval ritual is required.
121
126
 
122
127
  Treat acknowledgements and status labels as informational, not evidence. Judge the returned analysis and cited evidence. Correct a substantive blocker, rebut it with concrete evidence, or escalate it for clarification before implementation. Non-blocking improvements do not hold implementation, and an unavailable, timed-out, or merely acknowledging critic does not manufacture approval or erase an unresolved blocker.
123
128
 
@@ -125,4 +130,4 @@ If review finds a substantive issue, update the plan and rerun only the affected
125
130
 
126
131
  ## Execution Handoff
127
132
 
128
- Hand off the approved outcome, reviewed plan or recorded narrow-skip reason, dependencies/interfaces, relevant evidence, global constraints, and recorded rulings. Use subagent-driven development or parallel dispatch only when delegation materially helps; otherwise implement directly through the appropriate workflow.
133
+ Hand off the approved outcome, current reviewed plan or applicable narrow-skip condition, dependencies/interfaces, relevant evidence, global constraints, and unresolved risks. Use subagent-driven development or parallel dispatch only when delegation materially helps; otherwise implement directly through the appropriate workflow.