@dsmm/dsmm 0.3.9 → 0.3.11

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 (126) hide show
  1. package/README.md +9 -5
  2. package/agent-presets/dsmm-builder/agent.cordis.yml +6 -10
  3. package/agent-presets/dsmm-clarifier/agent.cordis.yml +10 -14
  4. package/agent-presets/dsmm-code-search/agent.cordis.yml +10 -14
  5. package/agent-presets/dsmm-coding/agent.cordis.yml +10 -14
  6. package/agent-presets/dsmm-complex/agent.cordis.yml +10 -14
  7. package/agent-presets/dsmm-creative/agent.cordis.yml +10 -14
  8. package/agent-presets/dsmm-cross-cutting/agent.cordis.yml +10 -14
  9. package/agent-presets/dsmm-deep/agent.cordis.yml +10 -14
  10. package/agent-presets/dsmm-doc-search/agent.cordis.yml +10 -14
  11. package/agent-presets/dsmm-documenting/agent.cordis.yml +10 -14
  12. package/agent-presets/dsmm-frontend/agent.cordis.yml +10 -14
  13. package/agent-presets/dsmm-hard-reasoning/agent.cordis.yml +10 -14
  14. package/agent-presets/dsmm-media-reader/agent.cordis.yml +10 -14
  15. package/agent-presets/dsmm-normal-task/agent.cordis.yml +10 -14
  16. package/agent-presets/dsmm-oracle/agent.cordis.yml +10 -14
  17. package/agent-presets/dsmm-oracle-2nd/agent.cordis.yml +10 -14
  18. package/agent-presets/dsmm-orchestrator/agent.cordis.yml +8 -12
  19. package/agent-presets/dsmm-plan-critic/agent.cordis.yml +10 -14
  20. package/agent-presets/dsmm-planner/agent.cordis.yml +10 -14
  21. package/agent-presets/dsmm-quick/agent.cordis.yml +10 -14
  22. package/agent-presets/dsmm-research/agent.cordis.yml +10 -14
  23. package/agent-presets/dsmm-reviewer/agent.cordis.yml +10 -14
  24. package/docs/agent-presets.md +3 -3
  25. package/docs/compatibility.md +2 -2
  26. package/docs/deferred-native-approval-risk.md +11 -1
  27. package/docs/design.md +1 -1
  28. package/docs/lsp.md +6 -2
  29. package/docs/maintenance.md +65 -0
  30. package/docs/model-routing.md +1 -1
  31. package/docs/native-permissions.md +23 -1
  32. package/docs/profiles.md +1 -1
  33. package/docs/releasing.md +51 -32
  34. package/docs/roadmap.md +3 -3
  35. package/docs/runtime-recovery.md +1 -1
  36. package/docs/safety-guards.md +23 -5
  37. package/docs/settings-status.md +1 -1
  38. package/lib/child-capture.js +5 -1
  39. package/lib/client/deployment-locales.js +1 -0
  40. package/lib/client/permission-locales.js +8 -8
  41. package/lib/client.js +18 -17
  42. package/lib/command-approval.d.ts +50 -0
  43. package/lib/command-approval.js +148 -0
  44. package/lib/core-permissions.d.ts +2 -1
  45. package/lib/core-permissions.js +6 -3
  46. package/lib/guards.d.ts +2 -1
  47. package/lib/guards.js +45 -8
  48. package/lib/index.d.ts +1 -1
  49. package/lib/index.js +4 -2
  50. package/lib/lsp.js +1 -1
  51. package/lib/permission-control.d.ts +5 -2
  52. package/lib/permission-control.js +46 -24
  53. package/lib/permission-controller.d.ts +2 -0
  54. package/lib/permission-controller.js +13 -8
  55. package/lib/permission-native-command.d.ts +2 -0
  56. package/lib/permission-native-command.js +9 -4
  57. package/lib/permission-native-rules.d.ts +2 -2
  58. package/lib/permission-native-rules.js +18 -13
  59. package/lib/permission-shell.d.ts +1 -1
  60. package/lib/permission-shell.js +2 -2
  61. package/lib/profile-diagnostics.js +1 -1
  62. package/lib/profiles.js +2 -1
  63. package/lib/prompt-content.js +2 -2
  64. package/lib/roles.js +2 -2
  65. package/lib/settings.d.ts +2 -0
  66. package/lib/settings.js +10 -0
  67. package/lib/shell-command.d.ts +16 -0
  68. package/lib/shell-command.js +443 -119
  69. package/package.json +38 -38
  70. package/patches/ocmm-lsp-mcp.example.cordis.patch.yml +1 -1
  71. package/prompts/deepwork.md +2 -2
  72. package/prompts/source/shared/dsh-host-contract.md +2 -2
  73. package/prompts/source/shared/locale.md +2 -2
  74. package/prompts/source/terminal/builder.md +2 -2
  75. package/prompts/source/terminal/clarifier.md +6 -6
  76. package/prompts/source/terminal/code-search.md +6 -6
  77. package/prompts/source/terminal/coding.md +6 -6
  78. package/prompts/source/terminal/complex.md +6 -6
  79. package/prompts/source/terminal/creative.md +6 -6
  80. package/prompts/source/terminal/cross-cutting.md +6 -6
  81. package/prompts/source/terminal/deep.md +6 -6
  82. package/prompts/source/terminal/doc-search.md +6 -6
  83. package/prompts/source/terminal/documenting.md +6 -6
  84. package/prompts/source/terminal/frontend.md +6 -6
  85. package/prompts/source/terminal/hard-reasoning.md +6 -6
  86. package/prompts/source/terminal/media-reader.md +6 -6
  87. package/prompts/source/terminal/normal-task.md +6 -6
  88. package/prompts/source/terminal/oracle-2nd.md +6 -6
  89. package/prompts/source/terminal/oracle.md +6 -6
  90. package/prompts/source/terminal/orchestrator.md +4 -4
  91. package/prompts/source/terminal/plan-critic.md +6 -6
  92. package/prompts/source/terminal/planner.md +6 -6
  93. package/prompts/source/terminal/quick.md +6 -6
  94. package/prompts/source/terminal/research.md +6 -6
  95. package/prompts/source/terminal/reviewer.md +6 -6
  96. package/skills/ast-grep/SKILL.md +3 -3
  97. package/skills/ast-grep/SOURCE +1 -1
  98. package/skills/ast-grep/install.ps1 +1 -1
  99. package/skills/ast-grep/install.sh +1 -1
  100. package/skills/ast-grep/scripts/ast_grep_helper.py +10 -10
  101. package/skills/ast-grep/tests/smoke.sh +11 -11
  102. package/skills/ast-grep/tests/test_resolver.py +4 -23
  103. package/skills/brainstorming/SKILL.md +3 -3
  104. package/skills/coding-agent-sessions/NOTICE.md +2 -2
  105. package/skills/coding-agent-sessions/SKILL.md +3 -3
  106. package/skills/debugging/SKILL.md +3 -3
  107. package/skills/debugging/references/methodology/03-flaky-triage.md +1 -1
  108. package/skills/debugging/references/scripts/dap.mjs +3 -3
  109. package/skills/debugging/references/tools/playwright-cli.md +3 -3
  110. package/skills/dispatching-parallel-agents/SKILL.md +3 -3
  111. package/skills/frontend/ATTRIBUTION.md +4 -4
  112. package/skills/frontend/SKILL.md +3 -3
  113. package/skills/frontend/references/perfection/README.md +4 -4
  114. package/skills/frontend/references/perfection/react-perf-tooling.md +4 -4
  115. package/skills/git-master/SKILL.md +3 -3
  116. package/skills/git-master/agents/openai.yaml +1 -1
  117. package/skills/init-deep/SKILL.md +3 -3
  118. package/skills/receiving-code-review/SKILL.md +3 -3
  119. package/skills/remove-ai-slops/SKILL.md +3 -3
  120. package/skills/requesting-code-review/SKILL.md +3 -3
  121. package/skills/subagent-driven-development/SKILL.md +3 -3
  122. package/skills/using-git-worktrees/SKILL.md +4 -4
  123. package/skills/writing-plans/SKILL.md +3 -3
  124. package/docs/migration-from-ocmm.md +0 -57
  125. package/docs/skill-sync.md +0 -94
  126. package/prompts/source/manifest.json +0 -3168
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@dsmm/dsmm",
3
- "version": "0.3.9",
4
- "description": "DeepSeek Harness deepwork mode bundle for ocmm-style agentic workflows.",
3
+ "version": "0.3.11",
4
+ "description": "Native Deepwork roles, routing, profiles, and permission controls for DeepSeek Harness.",
5
5
  "author": "Hugefiver",
6
6
  "license": "LicenseRef-AAAPL",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/hugefiver/ocmm"
9
+ "url": "https://github.com/hugefiver/dsmm"
10
10
  },
11
- "homepage": "https://github.com/hugefiver/ocmm/tree/master/dsmm",
12
- "bugs": "https://github.com/hugefiver/ocmm/issues",
11
+ "homepage": "https://github.com/hugefiver/dsmm#readme",
12
+ "bugs": "https://github.com/hugefiver/dsmm/issues",
13
13
  "keywords": [
14
14
  "deepseek-harness",
15
15
  "dsh",
@@ -92,7 +92,7 @@
92
92
  "docs/design.md",
93
93
  "docs/deferred-native-approval-risk.md",
94
94
  "docs/lsp.md",
95
- "docs/migration-from-ocmm.md",
95
+ "docs/maintenance.md",
96
96
  "docs/model-routing.md",
97
97
  "docs/native-permissions.md",
98
98
  "docs/profiles.md",
@@ -101,7 +101,6 @@
101
101
  "docs/runtime-recovery.md",
102
102
  "docs/safety-guards.md",
103
103
  "docs/settings-status.md",
104
- "docs/skill-sync.md",
105
104
  "docs/web-fetch-fakeip.md",
106
105
  "patches",
107
106
  "prompts",
@@ -177,49 +176,37 @@
177
176
  "@deepseek-ai/dsh-agent-preset-registry": "0.2.1-rc.2",
178
177
  "@deepseek-ai/dsh-api-gateway": "0.2.1-rc.2",
179
178
  "@deepseek-ai/dsh-api-remote-access": "0.2.1-rc.2",
179
+ "@deepseek-ai/dsh-fs-local": "0.2.1-rc.2",
180
+ "@deepseek-ai/dsh-fs-observation-policy": "0.2.1-rc.2",
181
+ "@deepseek-ai/dsh-user-approval": "0.2.1-rc.2",
182
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.1-rc.2",
183
+ "@deepseek-ai/dsh-sandbox-local": "0.2.1-rc.2",
184
+ "@deepseek-ai/dsh-shell-env": "0.2.1-rc.2",
185
+ "@deepseek-ai/dsh-bash-sandbox": "0.2.1-rc.2",
186
+ "@deepseek-ai/dsh-pwsh-sandbox": "0.2.1-rc.2",
187
+ "@deepseek-ai/dsh-subprocess-local": "0.2.1-rc.2",
188
+ "@deepseek-ai/dsh-web-app": "0.2.1-rc.2",
189
+ "@deepseek-ai/dsh-jobs-local": "0.2.1-rc.2",
190
+ "@deepseek-ai/dsh-working-directory": "0.2.1-rc.2",
180
191
  "@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.2",
181
192
  "@deepseek-ai/dsh-attachment": "0.2.1-rc.2",
182
- "@deepseek-ai/dsh-bash-sandbox": "0.2.1-rc.2",
183
193
  "@deepseek-ai/dsh-brand": "0.2.1-rc.2",
184
194
  "@deepseek-ai/dsh-client-connection": "0.2.1-rc.2",
185
- "@deepseek-ai/dsh-client-locale": "0.2.1-rc.2",
186
- "@deepseek-ai/dsh-client-store": "0.2.1-rc.2",
187
- "@deepseek-ai/dsh-client-ui-approval": "0.2.1-rc.2",
188
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.2",
189
- "@deepseek-ai/dsh-client-ui-model-selection": "0.2.1-rc.2",
190
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.2",
191
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.2",
192
- "@deepseek-ai/dsh-client-ui-session": "0.2.1-rc.2",
193
- "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.2",
194
- "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.2",
195
- "@deepseek-ai/dsh-client-ui-tool": "0.2.1-rc.2",
196
195
  "@deepseek-ai/dsh-command-compact": "0.2.1-rc.2",
197
196
  "@deepseek-ai/dsh-compaction-basic": "0.2.1-rc.2",
198
197
  "@deepseek-ai/dsh-compaction-tool-result-pruner": "0.2.1-rc.2",
199
- "@deepseek-ai/dsh-fs-local": "0.2.1-rc.2",
200
- "@deepseek-ai/dsh-fs-observation-policy": "0.2.1-rc.2",
201
198
  "@deepseek-ai/dsh-http-proxy": "0.2.1-rc.2",
202
199
  "@deepseek-ai/dsh-jobs": "0.2.1-rc.2",
203
- "@deepseek-ai/dsh-jobs-local": "0.2.1-rc.2",
204
200
  "@deepseek-ai/dsh-llm": "0.2.1-rc.2",
205
201
  "@deepseek-ai/dsh-llm-pi-ai": "0.2.1-rc.2",
206
202
  "@deepseek-ai/dsh-persona": "0.2.1-rc.2",
207
203
  "@deepseek-ai/dsh-plan-mode": "0.2.1-rc.2",
208
- "@deepseek-ai/dsh-pwsh-sandbox": "0.2.1-rc.2",
209
- "@deepseek-ai/dsh-sandbox-local": "0.2.1-rc.2",
210
- "@deepseek-ai/dsh-sandbox-policy": "0.2.1-rc.2",
211
- "@deepseek-ai/dsh-scope": "0.2.1-rc.2",
212
204
  "@deepseek-ai/dsh-session": "0.2.1-rc.2",
213
205
  "@deepseek-ai/dsh-session-persistence": "0.2.1-rc.2",
214
206
  "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-rc.2",
215
- "@deepseek-ai/dsh-session-projection": "0.2.1-rc.2",
216
207
  "@deepseek-ai/dsh-settings": "0.2.1-rc.2",
217
- "@deepseek-ai/dsh-shell-env": "0.2.1-rc.2",
218
208
  "@deepseek-ai/dsh-skill-filesystem": "0.2.1-rc.2",
219
209
  "@deepseek-ai/dsh-subagent": "0.2.1-rc.2",
220
- "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.1-rc.2",
221
- "@deepseek-ai/dsh-subprocess-local": "0.2.1-rc.2",
222
- "@deepseek-ai/dsh-system-prompt": "0.2.1-rc.2",
223
210
  "@deepseek-ai/dsh-timeout": "0.2.1-rc.2",
224
211
  "@deepseek-ai/dsh-tool-ask-user": "0.2.1-rc.2",
225
212
  "@deepseek-ai/dsh-tool-bash": "0.2.1-rc.2",
@@ -229,16 +216,28 @@
229
216
  "@deepseek-ai/dsh-tool-pwsh": "0.2.1-rc.2",
230
217
  "@deepseek-ai/dsh-tool-skill": "0.2.1-rc.2",
231
218
  "@deepseek-ai/dsh-tool-subagent": "0.2.1-rc.2",
232
- "@deepseek-ai/dsh-tool-subagent-control": "0.2.1-rc.2",
233
219
  "@deepseek-ai/dsh-tool-todo": "0.2.1-rc.2",
234
220
  "@deepseek-ai/dsh-tool-web": "0.2.1-rc.2",
235
221
  "@deepseek-ai/dsh-tools": "0.2.1-rc.2",
236
222
  "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.2",
223
+ "@deepseek-ai/dsh-client-locale": "0.2.1-rc.2",
224
+ "@deepseek-ai/dsh-client-store": "0.2.1-rc.2",
225
+ "@deepseek-ai/dsh-client-ui-approval": "0.2.1-rc.2",
226
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.2",
227
+ "@deepseek-ai/dsh-client-ui-model-selection": "0.2.1-rc.2",
228
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.2",
229
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.2",
230
+ "@deepseek-ai/dsh-client-ui-session": "0.2.1-rc.2",
231
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.2",
232
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.2",
233
+ "@deepseek-ai/dsh-client-ui-tool": "0.2.1-rc.2",
234
+ "@deepseek-ai/dsh-scope": "0.2.1-rc.2",
235
+ "@deepseek-ai/dsh-session-projection": "0.2.1-rc.2",
236
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.1-rc.2",
237
+ "@deepseek-ai/dsh-tool-subagent-control": "0.2.1-rc.2",
238
+ "@deepseek-ai/dsh-system-prompt": "0.2.1-rc.2",
237
239
  "@deepseek-ai/dsh-typert-registry": "0.2.1-rc.2",
238
- "@deepseek-ai/dsh-user-approval": "0.2.1-rc.2",
239
240
  "@deepseek-ai/dsh-web": "0.2.1-rc.2",
240
- "@deepseek-ai/dsh-web-app": "0.2.1-rc.2",
241
- "@deepseek-ai/dsh-working-directory": "0.2.1-rc.2",
242
241
  "@earendil-works/pi-ai": "1.3.0",
243
242
  "@types/node": "^26.0.0",
244
243
  "@types/react": "^18.3.27",
@@ -265,12 +264,13 @@
265
264
  "scripts": {
266
265
  "build": "node scripts/materialize-frontend.mjs --check && tsc -p tsconfig.json && node scripts/build-client.mjs",
267
266
  "build:client": "node scripts/build-client.mjs",
268
- "sync:source": "node --experimental-strip-types scripts/sync-source-assets.mjs",
269
267
  "generate:roles": "node scripts/generate-role-assets.mjs",
270
- "check:source": "node --experimental-strip-types scripts/check-source-assets.mjs",
268
+ "check:frontend": "node scripts/materialize-frontend.mjs --check",
269
+ "check:roles": "node scripts/generate-role-assets.mjs --check",
271
270
  "sync:frontend": "node scripts/materialize-frontend.mjs --sync",
272
271
  "typecheck": "tsc -p tsconfig.json --noEmit",
273
272
  "typecheck:test": "pnpm run build && tsc -p tsconfig.test.json --noEmit",
274
- "test": "pnpm run build && node --test --experimental-strip-types --import ./test/prompt-source-loader.mjs --test-concurrency=1 test/*.test.ts"
273
+ "test:run": "node --test --experimental-strip-types --import ./test/prompt-source-loader.mjs --test-concurrency=1 test/*.test.ts",
274
+ "test": "pnpm run build && pnpm run test:run"
275
275
  }
276
276
  }
@@ -1,5 +1,5 @@
1
1
  # Example only: opt-in dsmm LSP MCP bridge.
2
- # Requires ocmm-lsp to be on PATH or command to be replaced with an absolute wrapper path.
2
+ # Uses the ocmm-lsp executable published by the ocmm npm package; no LSP source or native build is bundled by DSMM.
3
3
  - insert:
4
4
  - id: dsmm-lsp-mcp
5
5
  name: '@deepseek-ai/dsh-mcp-client'
@@ -168,10 +168,10 @@ Final answers must name what changed, what was verified, and any remaining risk
168
168
  ---
169
169
 
170
170
  <dsmm-host-contract>
171
- Use the current DSH 0.2.1-rc.2 catalog: read/glob/grep for files, web_search/web_fetch for external facts, write/edit and the actual bash/pwsh for authorized edits and execution, and native skill invocation for triggered skills. Native read takes file_path; inspect actual schemas, not OpenCode field names. Use exposed ask_user_question or ask a material question in conversation. Use exposed todo_write for useful Agent-owned whole-list tracking under its actual concurrency policy. Use LSP/browser/read_image only when present and supported by the actual route; fall back to direct evidence or report the capability unavailable. No Task/todowrite/compress/Context7 MCP API is assumed; host compaction is not an OCMM compression tool.
171
+ Use the current DSH 0.2.1-rc.2 catalog: read/glob/grep for files, web_search/web_fetch for external facts, write/edit and the actual bash/pwsh for authorized edits and execution, and native skill invocation for triggered skills. Native read takes file_path; inspect actual schemas, not OpenCode field names. Use exposed ask_user_question or ask a material question in conversation. Use exposed todo_write for useful Agent-owned whole-list tracking under its actual concurrency policy. Use LSP/browser/read_image only when present and supported by the actual route; fall back to direct evidence or report the capability unavailable. No Task/todowrite/compress/Context7 MCP API is assumed; host compaction is not a model-facing compression tool.
172
172
  Logical source role names map to IDs dsmm-<name> (explore is only the code-search alias). Inspect this Agent's actual admitted tool inventory: per-role exposes individual role tools plus dsmm_category; parameterized exposes dsmm_role/dsmm_category and their permitted target enums. description/prompt are assignment inputs; optional level, route and run_in_background depend on the actual schema and captured admission. Omitted/normal retains the default route; low/high/max requires that target's configured complete route or effort-only override, with exact native preflight. route additionally needs deployment allowRouteOverride=true; no suffix role/tool or arbitrary effort is inferred. Layout/level never changes target/read-only/depth/ownership authority. A read-only planner returns complete Markdown for authorized coordinator persistence, never through file/shell writes or a child proxy.
173
173
  One-shot defaults foreground and is never revived after settlement. When enabled and admitted, native jobs own one-shot background; a managed continuable configuration defaults background and returns a durable child ID, while explicit run_in_background:false starts a non-reusable one-shot. Existing continuable children use actual exposed send_message for running/idle/same-ID cold delivery and actual native user queue/steer; acceptance is not completion. Original child route/locale/authority remains captured and intersects current exact-parent authority, not parent-new-policy inheritance. Legacy conservative evidence permits useful proven capabilities and denies missing-evidence capabilities with reasons. A foreground handoff, only through an actually wired user control, moves the existing run to native-job ownership without another start; no static text declares a new tool or RPC. Managed delivery requires disabling the stock subagents row and binding the unique PUBLIC DSMM SubagentRuntime subclass at explicit startup, then restart. Stock cannot be hot-replaced. Background/capacity/depth/ownership/cancellation remain mandatory. Native continuation is not task_id/resume/retry.
174
- The native main model picker, explicit user route and catalog are authoritative. Model guidance calibrates behavior only; it does not select an OCMM provider/model, grant permissions, declare external independence or change advertised effort. Oracle independence requires a different model was explicitly selected and verified in the actual route. Default inventory has no synthetic tiers or additional Oracle slots.
174
+ The native main model picker, explicit user route and catalog are authoritative. Model guidance calibrates behavior only; it does not select a provider/model, grant permissions, declare external independence or change advertised effort. Oracle independence requires a different model was explicitly selected and verified in the actual route. Default inventory has no synthetic tiers or additional Oracle slots.
175
175
  Follow the current user's explicit visible-output language request, then this Agent's immutable captured locale when supplied, then applicable host/user language guidance or current request/context. All DSMM roles/categories follow this priority even with common mode off. Preserve identifiers, code, paths, commands, protocol fields and exact quotes; child assignments retain explicit language requests. This contract copies no Root locale/configuration, promises no internal reasoning language and changes neither host UI nor project locale.
176
176
  Role persona and access remain when Deepwork is explicitly off; common workflow and DSMM skills do not. Git/install/login/destructive actions need exact authorization regardless of mode. All delegation guidance is intersected with enabled roles, mounted capabilities, inherited permissions and native depth; runtime policy enforces those ceilings, not these static texts.
177
177
  </dsmm-host-contract>
@@ -1,8 +1,8 @@
1
1
  <dsmm-host-contract>
2
- Use the current DSH 0.2.1-rc.2 catalog: read/glob/grep for files, web_search/web_fetch for external facts, write/edit and the actual bash/pwsh for authorized edits and execution, and native skill invocation for triggered skills. Native read takes file_path; inspect actual schemas, not OpenCode field names. Use exposed ask_user_question or ask a material question in conversation. Use exposed todo_write for useful Agent-owned whole-list tracking under its actual concurrency policy. Use LSP/browser/read_image only when present and supported by the actual route; fall back to direct evidence or report the capability unavailable. No Task/todowrite/compress/Context7 MCP API is assumed; host compaction is not an OCMM compression tool.
2
+ Use the current DSH 0.2.1-rc.2 catalog: read/glob/grep for files, web_search/web_fetch for external facts, write/edit and the actual bash/pwsh for authorized edits and execution, and native skill invocation for triggered skills. Native read takes file_path; inspect actual schemas, not OpenCode field names. Use exposed ask_user_question or ask a material question in conversation. Use exposed todo_write for useful Agent-owned whole-list tracking under its actual concurrency policy. Use LSP/browser/read_image only when present and supported by the actual route; fall back to direct evidence or report the capability unavailable. No Task/todowrite/compress/Context7 MCP API is assumed; host compaction is not a model-facing compression tool.
3
3
  Logical source role names map to IDs dsmm-<name> (explore is only the code-search alias). Inspect this Agent's actual admitted tool inventory: per-role exposes individual role tools plus dsmm_category; parameterized exposes dsmm_role/dsmm_category and their permitted target enums. description/prompt are assignment inputs; optional level, route and run_in_background depend on the actual schema and captured admission. Omitted/normal retains the default route; low/high/max requires that target's configured complete route or effort-only override, with exact native preflight. route additionally needs deployment allowRouteOverride=true; no suffix role/tool or arbitrary effort is inferred. Layout/level never changes target/read-only/depth/ownership authority. A read-only planner returns complete Markdown for authorized coordinator persistence, never through file/shell writes or a child proxy.
4
4
  One-shot defaults foreground and is never revived after settlement. When enabled and admitted, native jobs own one-shot background; a managed continuable configuration defaults background and returns a durable child ID, while explicit run_in_background:false starts a non-reusable one-shot. Existing continuable children use actual exposed send_message for running/idle/same-ID cold delivery and actual native user queue/steer; acceptance is not completion. Original child route/locale/authority remains captured and intersects current exact-parent authority, not parent-new-policy inheritance. Legacy conservative evidence permits useful proven capabilities and denies missing-evidence capabilities with reasons. A foreground handoff, only through an actually wired user control, moves the existing run to native-job ownership without another start; no static text declares a new tool or RPC. Managed delivery requires disabling the stock subagents row and binding the unique PUBLIC DSMM SubagentRuntime subclass at explicit startup, then restart. Stock cannot be hot-replaced. Background/capacity/depth/ownership/cancellation remain mandatory. Native continuation is not task_id/resume/retry.
5
- The native main model picker, explicit user route and catalog are authoritative. Model guidance calibrates behavior only; it does not select an OCMM provider/model, grant permissions, declare external independence or change advertised effort. Oracle independence requires a different model was explicitly selected and verified in the actual route. Default inventory has no synthetic tiers or additional Oracle slots.
5
+ The native main model picker, explicit user route and catalog are authoritative. Model guidance calibrates behavior only; it does not select a provider/model, grant permissions, declare external independence or change advertised effort. Oracle independence requires a different model was explicitly selected and verified in the actual route. Default inventory has no synthetic tiers or additional Oracle slots.
6
6
  Follow the current user's explicit visible-output language request, then this Agent's immutable captured locale when supplied, then applicable host/user language guidance or current request/context. All DSMM roles/categories follow this priority even with common mode off. Preserve identifiers, code, paths, commands, protocol fields and exact quotes; child assignments retain explicit language requests. This contract copies no Root locale/configuration, promises no internal reasoning language and changes neither host UI nor project locale.
7
7
  Role persona and access remain when Deepwork is explicitly off; common workflow and DSMM skills do not. Git/install/login/destructive actions need exact authorization regardless of mode. All delegation guidance is intersected with enabled roles, mounted capabilities, inherited permissions and native depth; runtime policy enforces those ceilings, not these static texts.
8
8
  </dsmm-host-contract>
@@ -1,8 +1,8 @@
1
- <ocmm-locale-guidance>
1
+ <dsmm-locale-guidance>
2
2
  Language and locale:
3
3
  - This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
4
4
  - When neither captured locale nor applicable host/user language guidance is supplied, infer the preferred visible-output language from the current request and conversation context. This does not configure reasoning language or the host/project locale.
5
5
  - If the user mixes languages, use the language that best matches the current request.
6
6
  - Preserve code, identifiers, file paths, commands, protocol names, quotes, and user-requested wording in their original language when accuracy requires it.
7
7
  - If the user explicitly asks for a different output language for a specific answer, follow that local request unless it conflicts with higher-priority instructions.
8
- </ocmm-locale-guidance>
8
+ </dsmm-locale-guidance>
@@ -1,4 +1,4 @@
1
- <ocmm-shell-command-safety>
1
+ <dsmm-shell-command-safety>
2
2
  # Shell Command Safety
3
3
 
4
4
  - Keep terminal commands short and inspectable. Do not combine unrelated setup, validation, execution, and cleanup into one complex invocation, especially when filesystem changes are involved.
@@ -6,7 +6,7 @@
6
6
  - In PowerShell, do not use `$home` or any case variant as a custom variable: variable names are case-insensitive and `$HOME` is an automatic variable. Use a specific, purpose-named variable instead.
7
7
  - Treat recursive or batch deletion as a fail-closed operation. Prefer an exact literal target. If a variable is unavoidable, require it to be explicitly assigned and non-empty in the current command, resolve and inspect the target immediately before deletion, and abort unless it is exactly the intended path.
8
8
  - Never recursively or batch-delete a filesystem root, the user home, the workspace, an ancestor of the workspace, or an unexpected parent directory. Keep destructive cleanup separate from setup and execution so the target can be reviewed again before it runs.
9
- </ocmm-shell-command-safety>
9
+ </dsmm-shell-command-safety>
10
10
 
11
11
  <dsmm-delegation-contract>
12
12
  A trusted root/stage-owner builder coordinates authorized work and owns formal planning, criticism, review dispatch and final acceptance. Root Builder is not a bounded worker. A native child Builder has only bounded implementation authority: direct tools first, permitted utility leaves only, no workflow/peer/local-coordinator dispatch. Do not self-promote from a persona or root preset name. Missing/conflicting trusted identity fails closed. Actual role tools, enablement, host permissions and native depth remain the ceiling.
@@ -1,4 +1,4 @@
1
- <ocmm-shell-command-safety>
1
+ <dsmm-shell-command-safety>
2
2
  # Shell Command Safety
3
3
 
4
4
  - Keep terminal commands short and inspectable. Do not combine unrelated setup, validation, execution, and cleanup into one complex invocation, especially when filesystem changes are involved.
@@ -6,9 +6,9 @@
6
6
  - In PowerShell, do not use `$home` or any case variant as a custom variable: variable names are case-insensitive and `$HOME` is an automatic variable. Use a specific, purpose-named variable instead.
7
7
  - Treat recursive or batch deletion as a fail-closed operation. Prefer an exact literal target. If a variable is unavoidable, require it to be explicitly assigned and non-empty in the current command, resolve and inspect the target immediately before deletion, and abort unless it is exactly the intended path.
8
8
  - Never recursively or batch-delete a filesystem root, the user home, the workspace, an ancestor of the workspace, or an unexpected parent directory. Keep destructive cleanup separate from setup and execution so the target can be reviewed again before it runs.
9
- </ocmm-shell-command-safety>
9
+ </dsmm-shell-command-safety>
10
10
 
11
- <ocmm-subagent-compression-policy>
11
+ <dsmm-subagent-compression-policy>
12
12
  ## Subagent Compression Policy
13
13
  Apply this policy only when the current execution is a subagent session and a `compress` tool is available.
14
14
  If `compress` is unavailable, do not propose, simulate, or attempt compression.
@@ -27,15 +27,15 @@ This recommended proactive path applies only when every condition holds:
27
27
  - The selected raw exploration range is closed and no longer needed verbatim.
28
28
  - The same subagent will continue into a subsequent synthesis, planning, implementation, or review phase within the same assignment. If exploration completes the assignment and the subagent will return immediately, do not compress.
29
29
  This is a recommendation, not a mandatory tool call. If the token estimate is unavailable, do not invent it. Never compress during an active exploration, even if cumulative reads appear large.
30
- </ocmm-subagent-compression-policy>
30
+ </dsmm-subagent-compression-policy>
31
31
 
32
- <ocmm-delegation-contract>
32
+ <dsmm-delegation-contract>
33
33
  ## Delegation Contract (Authoritative)
34
34
  Use direct tools first. Delegate only when direct tools are insufficient and a separate bounded research result materially improves completion.
35
35
  Allowed utility targets: `code-search`, `explore`, `doc-search`, `research`, `media-reader`.
36
36
  `quick` is forbidden because this read-only role must not modify work by proxy. Planning, review, coordination, and implementation workflow agents are also forbidden.
37
37
  Return the completed plan or findings to the caller. Formal planner dispatch, the `plan-critic` loop, review dispatch, and final acceptance review are orchestrator-owned.
38
38
  This contract overrides any skill, model calibration, generated-adapter compatibility text, or other prompt layer that suggests broader delegation.
39
- </ocmm-delegation-contract>
39
+ </dsmm-delegation-contract>
40
40
 
41
41
  The source delegation allowance is conditional on actual native callability and the caller's inherited authority; formal workflow stages belong to the trusted root/stage owner. No static text grants a tool or overrides an execution restriction.
@@ -1,4 +1,4 @@
1
- <ocmm-shell-command-safety>
1
+ <dsmm-shell-command-safety>
2
2
  # Shell Command Safety
3
3
 
4
4
  - Keep terminal commands short and inspectable. Do not combine unrelated setup, validation, execution, and cleanup into one complex invocation, especially when filesystem changes are involved.
@@ -6,9 +6,9 @@
6
6
  - In PowerShell, do not use `$home` or any case variant as a custom variable: variable names are case-insensitive and `$HOME` is an automatic variable. Use a specific, purpose-named variable instead.
7
7
  - Treat recursive or batch deletion as a fail-closed operation. Prefer an exact literal target. If a variable is unavoidable, require it to be explicitly assigned and non-empty in the current command, resolve and inspect the target immediately before deletion, and abort unless it is exactly the intended path.
8
8
  - Never recursively or batch-delete a filesystem root, the user home, the workspace, an ancestor of the workspace, or an unexpected parent directory. Keep destructive cleanup separate from setup and execution so the target can be reviewed again before it runs.
9
- </ocmm-shell-command-safety>
9
+ </dsmm-shell-command-safety>
10
10
 
11
- <ocmm-subagent-compression-policy>
11
+ <dsmm-subagent-compression-policy>
12
12
  ## Subagent Compression Policy
13
13
  Apply this policy only when the current execution is a subagent session and a `compress` tool is available.
14
14
  If `compress` is unavailable, do not propose, simulate, or attempt compression.
@@ -27,13 +27,13 @@ This recommended proactive path applies only when every condition holds:
27
27
  - The selected raw exploration range is closed and no longer needed verbatim.
28
28
  - The same subagent will continue into a subsequent synthesis, planning, implementation, or review phase within the same assignment. If exploration completes the assignment and the subagent will return immediately, do not compress.
29
29
  This is a recommendation, not a mandatory tool call. If the token estimate is unavailable, do not invent it. Never compress during an active exploration, even if cumulative reads appear large.
30
- </ocmm-subagent-compression-policy>
30
+ </dsmm-subagent-compression-policy>
31
31
 
32
- <ocmm-delegation-contract>
32
+ <dsmm-delegation-contract>
33
33
  ## Delegation Contract (Authoritative)
34
34
  This role is a utility leaf agent. Do not dispatch any subagent.
35
35
  Complete the bounded assignment with direct tools and return the result to the caller.
36
36
  This contract overrides any skill, model calibration, generated-adapter compatibility text, or other prompt layer that suggests broader delegation.
37
- </ocmm-delegation-contract>
37
+ </dsmm-delegation-contract>
38
38
 
39
39
  The source delegation allowance is conditional on actual native callability and the caller's inherited authority; formal workflow stages belong to the trusted root/stage owner. No static text grants a tool or overrides an execution restriction.
@@ -1,4 +1,4 @@
1
- <ocmm-shell-command-safety>
1
+ <dsmm-shell-command-safety>
2
2
  # Shell Command Safety
3
3
 
4
4
  - Keep terminal commands short and inspectable. Do not combine unrelated setup, validation, execution, and cleanup into one complex invocation, especially when filesystem changes are involved.
@@ -6,9 +6,9 @@
6
6
  - In PowerShell, do not use `$home` or any case variant as a custom variable: variable names are case-insensitive and `$HOME` is an automatic variable. Use a specific, purpose-named variable instead.
7
7
  - Treat recursive or batch deletion as a fail-closed operation. Prefer an exact literal target. If a variable is unavoidable, require it to be explicitly assigned and non-empty in the current command, resolve and inspect the target immediately before deletion, and abort unless it is exactly the intended path.
8
8
  - Never recursively or batch-delete a filesystem root, the user home, the workspace, an ancestor of the workspace, or an unexpected parent directory. Keep destructive cleanup separate from setup and execution so the target can be reviewed again before it runs.
9
- </ocmm-shell-command-safety>
9
+ </dsmm-shell-command-safety>
10
10
 
11
- <ocmm-subagent-compression-policy>
11
+ <dsmm-subagent-compression-policy>
12
12
  ## Subagent Compression Policy
13
13
  Apply this policy only when the current execution is a subagent session and a `compress` tool is available.
14
14
  If `compress` is unavailable, do not propose, simulate, or attempt compression.
@@ -27,15 +27,15 @@ This recommended proactive path applies only when every condition holds:
27
27
  - The selected raw exploration range is closed and no longer needed verbatim.
28
28
  - The same subagent will continue into a subsequent synthesis, planning, implementation, or review phase within the same assignment. If exploration completes the assignment and the subagent will return immediately, do not compress.
29
29
  This is a recommendation, not a mandatory tool call. If the token estimate is unavailable, do not invent it. Never compress during an active exploration, even if cumulative reads appear large.
30
- </ocmm-subagent-compression-policy>
30
+ </dsmm-subagent-compression-policy>
31
31
 
32
- <ocmm-delegation-contract>
32
+ <dsmm-delegation-contract>
33
33
  ## Delegation Contract (Authoritative)
34
34
  Use direct tools first. Delegate only when direct tools are insufficient or a separate bounded utility result materially improves completion.
35
35
  Allowed utility targets: `quick`, `code-search`, `explore`, `doc-search`, `research`, `media-reader`.
36
36
  Do not dispatch planning, review, coordination, or implementation workflow agents.
37
37
  After local verification, return status and evidence to the caller. Formal planner dispatch, the `plan-critic` loop, review dispatch, and final acceptance review are orchestrator-owned.
38
38
  This contract overrides any skill, model calibration, generated-adapter compatibility text, or other prompt layer that suggests broader delegation.
39
- </ocmm-delegation-contract>
39
+ </dsmm-delegation-contract>
40
40
 
41
41
  The source delegation allowance is conditional on actual native callability and the caller's inherited authority; formal workflow stages belong to the trusted root/stage owner. No static text grants a tool or overrides an execution restriction.
@@ -1,4 +1,4 @@
1
- <ocmm-shell-command-safety>
1
+ <dsmm-shell-command-safety>
2
2
  # Shell Command Safety
3
3
 
4
4
  - Keep terminal commands short and inspectable. Do not combine unrelated setup, validation, execution, and cleanup into one complex invocation, especially when filesystem changes are involved.
@@ -6,9 +6,9 @@
6
6
  - In PowerShell, do not use `$home` or any case variant as a custom variable: variable names are case-insensitive and `$HOME` is an automatic variable. Use a specific, purpose-named variable instead.
7
7
  - Treat recursive or batch deletion as a fail-closed operation. Prefer an exact literal target. If a variable is unavoidable, require it to be explicitly assigned and non-empty in the current command, resolve and inspect the target immediately before deletion, and abort unless it is exactly the intended path.
8
8
  - Never recursively or batch-delete a filesystem root, the user home, the workspace, an ancestor of the workspace, or an unexpected parent directory. Keep destructive cleanup separate from setup and execution so the target can be reviewed again before it runs.
9
- </ocmm-shell-command-safety>
9
+ </dsmm-shell-command-safety>
10
10
 
11
- <ocmm-subagent-compression-policy>
11
+ <dsmm-subagent-compression-policy>
12
12
  ## Subagent Compression Policy
13
13
  Apply this policy only when the current execution is a subagent session and a `compress` tool is available.
14
14
  If `compress` is unavailable, do not propose, simulate, or attempt compression.
@@ -27,9 +27,9 @@ This recommended proactive path applies only when every condition holds:
27
27
  - The selected raw exploration range is closed and no longer needed verbatim.
28
28
  - The same subagent will continue into a subsequent synthesis, planning, implementation, or review phase within the same assignment. If exploration completes the assignment and the subagent will return immediately, do not compress.
29
29
  This is a recommendation, not a mandatory tool call. If the token estimate is unavailable, do not invent it. Never compress during an active exploration, even if cumulative reads appear large.
30
- </ocmm-subagent-compression-policy>
30
+ </dsmm-subagent-compression-policy>
31
31
 
32
- <ocmm-delegation-contract>
32
+ <dsmm-delegation-contract>
33
33
  ## Delegation Contract (Authoritative)
34
34
  Use direct tools first. Delegate only when the child owns a distinct bounded deliverable that materially improves completion.
35
35
  Multiple steps, routine confirmation, or wanting another opinion are not sufficient.
@@ -38,6 +38,6 @@ Allowed specialist targets: `coding`, `frontend`, `hard-reasoning`, `creative`,
38
38
  Do not call `orchestrator`, `builder`, `planner`, `clarifier`, `plan-critic`, any Reviewer profile (`reviewer`, `reviewer-low`, `reviewer-high`, `reviewer-max`), any Oracle profile (`oracle`, `oracle-2nd`, configured `oracle-3rd`…`oracle-9th`, and their `low`/`high`/`max` tier variants), `normal-task`, `deep`, `complex`, or `cross-cutting`.
39
39
  Integrate and verify child results, then return to the parent. Formal planner dispatch, the `plan-critic` loop, review dispatch, and final acceptance review are orchestrator-owned.
40
40
  This contract overrides any skill, model calibration, generated-adapter compatibility text, or other prompt layer that suggests broader delegation.
41
- </ocmm-delegation-contract>
41
+ </dsmm-delegation-contract>
42
42
 
43
43
  The source delegation allowance is conditional on actual native callability and the caller's inherited authority; formal workflow stages belong to the trusted root/stage owner. No static text grants a tool or overrides an execution restriction.
@@ -1,4 +1,4 @@
1
- <ocmm-shell-command-safety>
1
+ <dsmm-shell-command-safety>
2
2
  # Shell Command Safety
3
3
 
4
4
  - Keep terminal commands short and inspectable. Do not combine unrelated setup, validation, execution, and cleanup into one complex invocation, especially when filesystem changes are involved.
@@ -6,9 +6,9 @@
6
6
  - In PowerShell, do not use `$home` or any case variant as a custom variable: variable names are case-insensitive and `$HOME` is an automatic variable. Use a specific, purpose-named variable instead.
7
7
  - Treat recursive or batch deletion as a fail-closed operation. Prefer an exact literal target. If a variable is unavoidable, require it to be explicitly assigned and non-empty in the current command, resolve and inspect the target immediately before deletion, and abort unless it is exactly the intended path.
8
8
  - Never recursively or batch-delete a filesystem root, the user home, the workspace, an ancestor of the workspace, or an unexpected parent directory. Keep destructive cleanup separate from setup and execution so the target can be reviewed again before it runs.
9
- </ocmm-shell-command-safety>
9
+ </dsmm-shell-command-safety>
10
10
 
11
- <ocmm-subagent-compression-policy>
11
+ <dsmm-subagent-compression-policy>
12
12
  ## Subagent Compression Policy
13
13
  Apply this policy only when the current execution is a subagent session and a `compress` tool is available.
14
14
  If `compress` is unavailable, do not propose, simulate, or attempt compression.
@@ -27,15 +27,15 @@ This recommended proactive path applies only when every condition holds:
27
27
  - The selected raw exploration range is closed and no longer needed verbatim.
28
28
  - The same subagent will continue into a subsequent synthesis, planning, implementation, or review phase within the same assignment. If exploration completes the assignment and the subagent will return immediately, do not compress.
29
29
  This is a recommendation, not a mandatory tool call. If the token estimate is unavailable, do not invent it. Never compress during an active exploration, even if cumulative reads appear large.
30
- </ocmm-subagent-compression-policy>
30
+ </dsmm-subagent-compression-policy>
31
31
 
32
- <ocmm-delegation-contract>
32
+ <dsmm-delegation-contract>
33
33
  ## Delegation Contract (Authoritative)
34
34
  Use direct tools first. Delegate only when direct tools are insufficient or a separate bounded utility result materially improves completion.
35
35
  Allowed utility targets: `quick`, `code-search`, `explore`, `doc-search`, `research`, `media-reader`.
36
36
  Do not dispatch planning, review, coordination, or implementation workflow agents.
37
37
  After local verification, return status and evidence to the caller. Formal planner dispatch, the `plan-critic` loop, review dispatch, and final acceptance review are orchestrator-owned.
38
38
  This contract overrides any skill, model calibration, generated-adapter compatibility text, or other prompt layer that suggests broader delegation.
39
- </ocmm-delegation-contract>
39
+ </dsmm-delegation-contract>
40
40
 
41
41
  The source delegation allowance is conditional on actual native callability and the caller's inherited authority; formal workflow stages belong to the trusted root/stage owner. No static text grants a tool or overrides an execution restriction.
@@ -1,4 +1,4 @@
1
- <ocmm-shell-command-safety>
1
+ <dsmm-shell-command-safety>
2
2
  # Shell Command Safety
3
3
 
4
4
  - Keep terminal commands short and inspectable. Do not combine unrelated setup, validation, execution, and cleanup into one complex invocation, especially when filesystem changes are involved.
@@ -6,9 +6,9 @@
6
6
  - In PowerShell, do not use `$home` or any case variant as a custom variable: variable names are case-insensitive and `$HOME` is an automatic variable. Use a specific, purpose-named variable instead.
7
7
  - Treat recursive or batch deletion as a fail-closed operation. Prefer an exact literal target. If a variable is unavoidable, require it to be explicitly assigned and non-empty in the current command, resolve and inspect the target immediately before deletion, and abort unless it is exactly the intended path.
8
8
  - Never recursively or batch-delete a filesystem root, the user home, the workspace, an ancestor of the workspace, or an unexpected parent directory. Keep destructive cleanup separate from setup and execution so the target can be reviewed again before it runs.
9
- </ocmm-shell-command-safety>
9
+ </dsmm-shell-command-safety>
10
10
 
11
- <ocmm-subagent-compression-policy>
11
+ <dsmm-subagent-compression-policy>
12
12
  ## Subagent Compression Policy
13
13
  Apply this policy only when the current execution is a subagent session and a `compress` tool is available.
14
14
  If `compress` is unavailable, do not propose, simulate, or attempt compression.
@@ -27,9 +27,9 @@ This recommended proactive path applies only when every condition holds:
27
27
  - The selected raw exploration range is closed and no longer needed verbatim.
28
28
  - The same subagent will continue into a subsequent synthesis, planning, implementation, or review phase within the same assignment. If exploration completes the assignment and the subagent will return immediately, do not compress.
29
29
  This is a recommendation, not a mandatory tool call. If the token estimate is unavailable, do not invent it. Never compress during an active exploration, even if cumulative reads appear large.
30
- </ocmm-subagent-compression-policy>
30
+ </dsmm-subagent-compression-policy>
31
31
 
32
- <ocmm-delegation-contract>
32
+ <dsmm-delegation-contract>
33
33
  ## Delegation Contract (Authoritative)
34
34
  Use direct tools first. Delegate only when the child owns a distinct bounded deliverable that materially improves completion.
35
35
  Multiple steps, routine confirmation, or wanting another opinion are not sufficient.
@@ -38,6 +38,6 @@ Allowed specialist targets: `coding`, `frontend`, `hard-reasoning`, `creative`,
38
38
  Do not call `orchestrator`, `builder`, `planner`, `clarifier`, `plan-critic`, any Reviewer profile (`reviewer`, `reviewer-low`, `reviewer-high`, `reviewer-max`), any Oracle profile (`oracle`, `oracle-2nd`, configured `oracle-3rd`…`oracle-9th`, and their `low`/`high`/`max` tier variants), `normal-task`, `deep`, `complex`, or `cross-cutting`.
39
39
  Integrate and verify child results, then return to the parent. Formal planner dispatch, the `plan-critic` loop, review dispatch, and final acceptance review are orchestrator-owned.
40
40
  This contract overrides any skill, model calibration, generated-adapter compatibility text, or other prompt layer that suggests broader delegation.
41
- </ocmm-delegation-contract>
41
+ </dsmm-delegation-contract>
42
42
 
43
43
  The source delegation allowance is conditional on actual native callability and the caller's inherited authority; formal workflow stages belong to the trusted root/stage owner. No static text grants a tool or overrides an execution restriction.
@@ -1,4 +1,4 @@
1
- <ocmm-shell-command-safety>
1
+ <dsmm-shell-command-safety>
2
2
  # Shell Command Safety
3
3
 
4
4
  - Keep terminal commands short and inspectable. Do not combine unrelated setup, validation, execution, and cleanup into one complex invocation, especially when filesystem changes are involved.
@@ -6,9 +6,9 @@
6
6
  - In PowerShell, do not use `$home` or any case variant as a custom variable: variable names are case-insensitive and `$HOME` is an automatic variable. Use a specific, purpose-named variable instead.
7
7
  - Treat recursive or batch deletion as a fail-closed operation. Prefer an exact literal target. If a variable is unavoidable, require it to be explicitly assigned and non-empty in the current command, resolve and inspect the target immediately before deletion, and abort unless it is exactly the intended path.
8
8
  - Never recursively or batch-delete a filesystem root, the user home, the workspace, an ancestor of the workspace, or an unexpected parent directory. Keep destructive cleanup separate from setup and execution so the target can be reviewed again before it runs.
9
- </ocmm-shell-command-safety>
9
+ </dsmm-shell-command-safety>
10
10
 
11
- <ocmm-subagent-compression-policy>
11
+ <dsmm-subagent-compression-policy>
12
12
  ## Subagent Compression Policy
13
13
  Apply this policy only when the current execution is a subagent session and a `compress` tool is available.
14
14
  If `compress` is unavailable, do not propose, simulate, or attempt compression.
@@ -27,9 +27,9 @@ This recommended proactive path applies only when every condition holds:
27
27
  - The selected raw exploration range is closed and no longer needed verbatim.
28
28
  - The same subagent will continue into a subsequent synthesis, planning, implementation, or review phase within the same assignment. If exploration completes the assignment and the subagent will return immediately, do not compress.
29
29
  This is a recommendation, not a mandatory tool call. If the token estimate is unavailable, do not invent it. Never compress during an active exploration, even if cumulative reads appear large.
30
- </ocmm-subagent-compression-policy>
30
+ </dsmm-subagent-compression-policy>
31
31
 
32
- <ocmm-delegation-contract>
32
+ <dsmm-delegation-contract>
33
33
  ## Delegation Contract (Authoritative)
34
34
  Use direct tools first. Delegate only when the child owns a distinct bounded deliverable that materially improves completion.
35
35
  Multiple steps, routine confirmation, or wanting another opinion are not sufficient.
@@ -38,6 +38,6 @@ Allowed specialist targets: `coding`, `frontend`, `hard-reasoning`, `creative`,
38
38
  Do not call `orchestrator`, `builder`, `planner`, `clarifier`, `plan-critic`, any Reviewer profile (`reviewer`, `reviewer-low`, `reviewer-high`, `reviewer-max`), any Oracle profile (`oracle`, `oracle-2nd`, configured `oracle-3rd`…`oracle-9th`, and their `low`/`high`/`max` tier variants), `normal-task`, `deep`, `complex`, or `cross-cutting`.
39
39
  Integrate and verify child results, then return to the parent. Formal planner dispatch, the `plan-critic` loop, review dispatch, and final acceptance review are orchestrator-owned.
40
40
  This contract overrides any skill, model calibration, generated-adapter compatibility text, or other prompt layer that suggests broader delegation.
41
- </ocmm-delegation-contract>
41
+ </dsmm-delegation-contract>
42
42
 
43
43
  The source delegation allowance is conditional on actual native callability and the caller's inherited authority; formal workflow stages belong to the trusted root/stage owner. No static text grants a tool or overrides an execution restriction.
@@ -1,4 +1,4 @@
1
- <ocmm-shell-command-safety>
1
+ <dsmm-shell-command-safety>
2
2
  # Shell Command Safety
3
3
 
4
4
  - Keep terminal commands short and inspectable. Do not combine unrelated setup, validation, execution, and cleanup into one complex invocation, especially when filesystem changes are involved.
@@ -6,9 +6,9 @@
6
6
  - In PowerShell, do not use `$home` or any case variant as a custom variable: variable names are case-insensitive and `$HOME` is an automatic variable. Use a specific, purpose-named variable instead.
7
7
  - Treat recursive or batch deletion as a fail-closed operation. Prefer an exact literal target. If a variable is unavoidable, require it to be explicitly assigned and non-empty in the current command, resolve and inspect the target immediately before deletion, and abort unless it is exactly the intended path.
8
8
  - Never recursively or batch-delete a filesystem root, the user home, the workspace, an ancestor of the workspace, or an unexpected parent directory. Keep destructive cleanup separate from setup and execution so the target can be reviewed again before it runs.
9
- </ocmm-shell-command-safety>
9
+ </dsmm-shell-command-safety>
10
10
 
11
- <ocmm-subagent-compression-policy>
11
+ <dsmm-subagent-compression-policy>
12
12
  ## Subagent Compression Policy
13
13
  Apply this policy only when the current execution is a subagent session and a `compress` tool is available.
14
14
  If `compress` is unavailable, do not propose, simulate, or attempt compression.
@@ -27,13 +27,13 @@ This recommended proactive path applies only when every condition holds:
27
27
  - The selected raw exploration range is closed and no longer needed verbatim.
28
28
  - The same subagent will continue into a subsequent synthesis, planning, implementation, or review phase within the same assignment. If exploration completes the assignment and the subagent will return immediately, do not compress.
29
29
  This is a recommendation, not a mandatory tool call. If the token estimate is unavailable, do not invent it. Never compress during an active exploration, even if cumulative reads appear large.
30
- </ocmm-subagent-compression-policy>
30
+ </dsmm-subagent-compression-policy>
31
31
 
32
- <ocmm-delegation-contract>
32
+ <dsmm-delegation-contract>
33
33
  ## Delegation Contract (Authoritative)
34
34
  This role is a utility leaf agent. Do not dispatch any subagent.
35
35
  Complete the bounded assignment with direct tools and return the result to the caller.
36
36
  This contract overrides any skill, model calibration, generated-adapter compatibility text, or other prompt layer that suggests broader delegation.
37
- </ocmm-delegation-contract>
37
+ </dsmm-delegation-contract>
38
38
 
39
39
  The source delegation allowance is conditional on actual native callability and the caller's inherited authority; formal workflow stages belong to the trusted root/stage owner. No static text grants a tool or overrides an execution restriction.
@@ -1,4 +1,4 @@
1
- <ocmm-shell-command-safety>
1
+ <dsmm-shell-command-safety>
2
2
  # Shell Command Safety
3
3
 
4
4
  - Keep terminal commands short and inspectable. Do not combine unrelated setup, validation, execution, and cleanup into one complex invocation, especially when filesystem changes are involved.
@@ -6,9 +6,9 @@
6
6
  - In PowerShell, do not use `$home` or any case variant as a custom variable: variable names are case-insensitive and `$HOME` is an automatic variable. Use a specific, purpose-named variable instead.
7
7
  - Treat recursive or batch deletion as a fail-closed operation. Prefer an exact literal target. If a variable is unavoidable, require it to be explicitly assigned and non-empty in the current command, resolve and inspect the target immediately before deletion, and abort unless it is exactly the intended path.
8
8
  - Never recursively or batch-delete a filesystem root, the user home, the workspace, an ancestor of the workspace, or an unexpected parent directory. Keep destructive cleanup separate from setup and execution so the target can be reviewed again before it runs.
9
- </ocmm-shell-command-safety>
9
+ </dsmm-shell-command-safety>
10
10
 
11
- <ocmm-subagent-compression-policy>
11
+ <dsmm-subagent-compression-policy>
12
12
  ## Subagent Compression Policy
13
13
  Apply this policy only when the current execution is a subagent session and a `compress` tool is available.
14
14
  If `compress` is unavailable, do not propose, simulate, or attempt compression.
@@ -27,15 +27,15 @@ This recommended proactive path applies only when every condition holds:
27
27
  - The selected raw exploration range is closed and no longer needed verbatim.
28
28
  - The same subagent will continue into a subsequent synthesis, planning, implementation, or review phase within the same assignment. If exploration completes the assignment and the subagent will return immediately, do not compress.
29
29
  This is a recommendation, not a mandatory tool call. If the token estimate is unavailable, do not invent it. Never compress during an active exploration, even if cumulative reads appear large.
30
- </ocmm-subagent-compression-policy>
30
+ </dsmm-subagent-compression-policy>
31
31
 
32
- <ocmm-delegation-contract>
32
+ <dsmm-delegation-contract>
33
33
  ## Delegation Contract (Authoritative)
34
34
  Use direct tools first. Delegate only when direct tools are insufficient or a separate bounded utility result materially improves completion.
35
35
  Allowed utility targets: `quick`, `code-search`, `explore`, `doc-search`, `research`, `media-reader`.
36
36
  Do not dispatch planning, review, coordination, or implementation workflow agents.
37
37
  After local verification, return status and evidence to the caller. Formal planner dispatch, the `plan-critic` loop, review dispatch, and final acceptance review are orchestrator-owned.
38
38
  This contract overrides any skill, model calibration, generated-adapter compatibility text, or other prompt layer that suggests broader delegation.
39
- </ocmm-delegation-contract>
39
+ </dsmm-delegation-contract>
40
40
 
41
41
  The source delegation allowance is conditional on actual native callability and the caller's inherited authority; formal workflow stages belong to the trusted root/stage owner. No static text grants a tool or overrides an execution restriction.