@dsmm/dsmm 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -67
- package/agent-presets/dsmm-builder/agent.cordis.yml +10 -2015
- package/agent-presets/dsmm-clarifier/agent.cordis.yml +24 -343
- package/agent-presets/dsmm-code-search/agent.cordis.yml +19 -6
- package/agent-presets/dsmm-coding/agent.cordis.yml +19 -438
- package/agent-presets/dsmm-complex/agent.cordis.yml +23 -1009
- package/agent-presets/dsmm-creative/agent.cordis.yml +25 -442
- package/agent-presets/dsmm-cross-cutting/agent.cordis.yml +29 -1013
- package/agent-presets/dsmm-deep/agent.cordis.yml +24 -1008
- package/agent-presets/dsmm-doc-search/agent.cordis.yml +19 -6
- package/agent-presets/dsmm-documenting/agent.cordis.yml +26 -439
- package/agent-presets/dsmm-frontend/agent.cordis.yml +21 -440
- package/agent-presets/dsmm-hard-reasoning/agent.cordis.yml +22 -441
- package/agent-presets/dsmm-media-reader/agent.cordis.yml +19 -6
- package/agent-presets/dsmm-normal-task/agent.cordis.yml +19 -438
- package/agent-presets/dsmm-oracle/agent.cordis.yml +25 -340
- package/agent-presets/dsmm-oracle-2nd/agent.cordis.yml +25 -340
- package/agent-presets/dsmm-orchestrator/agent.cordis.yml +29 -2025
- package/agent-presets/dsmm-plan-critic/agent.cordis.yml +24 -341
- package/agent-presets/dsmm-planner/agent.cordis.yml +14 -344
- package/agent-presets/dsmm-quick/agent.cordis.yml +19 -6
- package/agent-presets/dsmm-research/agent.cordis.yml +23 -8
- package/agent-presets/dsmm-reviewer/agent.cordis.yml +25 -340
- package/cordis.patch.yml +14 -0
- package/docs/agent-presets.md +36 -52
- package/docs/compatibility.md +47 -110
- package/docs/deferred-native-approval-risk.md +19 -0
- package/docs/design.md +2 -2
- package/docs/lsp.md +11 -21
- package/docs/migration-from-ocmm.md +2 -2
- package/docs/model-routing.md +84 -59
- package/docs/native-permissions.md +35 -0
- package/docs/profiles.md +40 -87
- package/docs/releasing.md +123 -2
- package/docs/roadmap.md +71 -17
- package/docs/settings-status.md +34 -169
- package/docs/skill-sync.md +52 -15
- package/lib/agent-registry.d.ts +36 -0
- package/lib/agent-registry.js +75 -0
- package/lib/child-admission-contract.d.ts +37 -0
- package/lib/child-admission-contract.js +2 -0
- package/lib/child-admission.d.ts +40 -0
- package/lib/child-admission.js +151 -0
- package/lib/child-capture.d.ts +85 -0
- package/lib/child-capture.js +205 -0
- package/lib/child-evidence.d.ts +17 -0
- package/lib/child-evidence.js +43 -0
- package/lib/client/ChildrenPanel.d.ts +43 -0
- package/lib/client/ChildrenPanel.js +82 -0
- package/lib/client/DeploymentPage.js +15 -8
- package/lib/client/EditableChoice.d.ts +17 -0
- package/lib/client/EditableChoice.js +49 -0
- package/lib/client/PermissionsPanel.d.ts +14 -0
- package/lib/client/PermissionsPanel.js +46 -0
- package/lib/client/ProfilesSection.js +30 -15
- package/lib/client/RoleAvailability.d.ts +7 -0
- package/lib/client/RoleAvailability.js +19 -0
- package/lib/client/SessionProfiles.js +27 -9
- package/lib/client/StructuredEditor.js +15 -7
- package/lib/client/children-controller.d.ts +98 -0
- package/lib/client/children-controller.js +296 -0
- package/lib/client/children-locales.d.ts +367 -0
- package/lib/client/children-locales.js +69 -0
- package/lib/client/controller.d.ts +6 -1
- package/lib/client/controller.js +14 -8
- package/lib/client/deployment-controller.js +1 -1
- package/lib/client/deployment-data.d.ts +2 -1
- package/lib/client/deployment-data.js +34 -5
- package/lib/client/deployment-locales.d.ts +4 -0
- package/lib/client/deployment-locales.js +11 -2
- package/lib/client/diagnostics.d.ts +14 -0
- package/lib/client/diagnostics.js +53 -0
- package/lib/client/index.d.ts +4 -0
- package/lib/client/index.js +96 -2
- package/lib/client/locales.d.ts +54 -0
- package/lib/client/locales.js +34 -16
- package/lib/client/permission-client.d.ts +16 -0
- package/lib/client/permission-client.js +38 -0
- package/lib/client/permission-controller.d.ts +62 -0
- package/lib/client/permission-controller.js +149 -0
- package/lib/client/permission-locales.d.ts +114 -0
- package/lib/client/permission-locales.js +75 -0
- package/lib/client/session-labels.js +4 -4
- package/lib/client/structured.js +19 -5
- package/lib/client/styles.d.ts +1 -1
- package/lib/client/styles.js +20 -0
- package/lib/client.js +5780 -1679
- package/lib/core-permission-authority.d.ts +18 -0
- package/lib/core-permission-authority.js +255 -0
- package/lib/core-permissions.d.ts +8 -0
- package/lib/core-permissions.js +33 -0
- package/lib/delivery-authority.d.ts +83 -0
- package/lib/delivery-authority.js +397 -0
- package/lib/deployment-config.d.ts +23 -0
- package/lib/deployment-config.js +61 -40
- package/lib/deployment-permission-rules.d.ts +55 -0
- package/lib/deployment-permission-rules.js +306 -0
- package/lib/dsh-types.d.ts +10 -4
- package/lib/guards.d.ts +1 -1
- package/lib/guards.js +29 -8
- package/lib/host-llm-startup.d.ts +41 -0
- package/lib/host-llm-startup.js +65 -0
- package/lib/host-llm.d.ts +92 -0
- package/lib/host-llm.js +325 -0
- package/lib/index.d.ts +15 -4
- package/lib/index.js +288 -48
- package/lib/live-pi-ai-owner.d.ts +18 -0
- package/lib/live-pi-ai-owner.js +144 -0
- package/lib/llm-runtime.d.ts +11 -0
- package/lib/llm-runtime.js +21 -0
- package/lib/managed-settings.d.ts +5 -0
- package/lib/managed-settings.js +14 -0
- package/lib/model-parameter-policy.d.ts +11 -0
- package/lib/model-parameter-policy.js +27 -0
- package/lib/model-routing.js +28 -17
- package/lib/modules.d.ts +13 -5
- package/lib/modules.js +17 -1
- package/lib/native-child-evidence.d.ts +40 -0
- package/lib/native-child-evidence.js +104 -0
- package/lib/native-pi-ai-wire.d.ts +37 -0
- package/lib/native-pi-ai-wire.js +261 -0
- package/lib/native-scope.js +1 -1
- package/lib/permission-bash.d.ts +6 -0
- package/lib/permission-bash.js +7 -0
- package/lib/permission-control.d.ts +73 -0
- package/lib/permission-control.js +205 -0
- package/lib/permission-controller.d.ts +68 -0
- package/lib/permission-controller.js +317 -0
- package/lib/permission-errors.d.ts +7 -0
- package/lib/permission-errors.js +21 -0
- package/lib/permission-fs-search.d.ts +5 -0
- package/lib/permission-fs-search.js +7 -0
- package/lib/permission-fs.d.ts +5 -0
- package/lib/permission-fs.js +7 -0
- package/lib/permission-native-access.d.ts +11 -0
- package/lib/permission-native-access.js +6 -0
- package/lib/permission-native-command.d.ts +10 -0
- package/lib/permission-native-command.js +93 -0
- package/lib/permission-native-rules.d.ts +75 -0
- package/lib/permission-native-rules.js +278 -0
- package/lib/permission-pwsh.d.ts +6 -0
- package/lib/permission-pwsh.js +7 -0
- package/lib/permission-remote.d.ts +26 -0
- package/lib/permission-remote.js +53 -0
- package/lib/permission-rpc.d.ts +29 -0
- package/lib/permission-rpc.js +152 -0
- package/lib/permission-rules.d.ts +115 -0
- package/lib/permission-rules.js +256 -0
- package/lib/permission-settings.d.ts +45 -0
- package/lib/permission-settings.js +48 -0
- package/lib/permission-shell.d.ts +38 -0
- package/lib/permission-shell.js +150 -0
- package/lib/permission-web.d.ts +5 -0
- package/lib/permission-web.js +7 -0
- package/lib/preset-registry.js +36 -25
- package/lib/profile-diagnostics.d.ts +45 -0
- package/lib/profile-diagnostics.js +148 -0
- package/lib/profile-locale.d.ts +3 -0
- package/lib/profile-locale.js +2 -0
- package/lib/profile-remote.d.ts +8 -0
- package/lib/profile-remote.js +163 -39
- package/lib/profile-rpc.d.ts +4 -3
- package/lib/profile-rpc.js +20 -16
- package/lib/profile-runtime.d.ts +40 -1
- package/lib/profile-runtime.js +368 -93
- package/lib/profile-store.d.ts +11 -0
- package/lib/profile-store.js +143 -11
- package/lib/profile-types.d.ts +70 -1
- package/lib/profile-types.js +1 -0
- package/lib/profiles.d.ts +16 -2
- package/lib/profiles.js +156 -79
- package/lib/prompt-content.js +1 -1
- package/lib/prompts.d.ts +37 -2
- package/lib/prompts.js +111 -9
- package/lib/recovery-policy.js +20 -7
- package/lib/role-control-remote.d.ts +38 -0
- package/lib/role-control-remote.js +211 -0
- package/lib/role-control-rpc.d.ts +51 -0
- package/lib/role-control-rpc.js +381 -0
- package/lib/role-control-types.d.ts +92 -0
- package/lib/role-control-types.js +8 -0
- package/lib/role-invocation.d.ts +47 -0
- package/lib/role-invocation.js +135 -0
- package/lib/role-llm-runtime.d.ts +17 -0
- package/lib/role-llm-runtime.js +62 -0
- package/lib/role-llm.d.ts +31 -0
- package/lib/role-llm.js +66 -0
- package/lib/role-policy.d.ts +46 -8
- package/lib/role-policy.js +421 -61
- package/lib/role-providers.d.ts +2 -2
- package/lib/role-providers.js +27 -72
- package/lib/role-routing.d.ts +11 -2
- package/lib/role-routing.js +42 -25
- package/lib/role-runs.d.ts +138 -0
- package/lib/role-runs.js +335 -0
- package/lib/role-subagents.d.ts +58 -3
- package/lib/role-subagents.js +179 -56
- package/lib/roles.d.ts +5 -6
- package/lib/roles.js +10 -39
- package/lib/route-json.d.ts +19 -0
- package/lib/route-json.js +129 -0
- package/lib/routing-policy.d.ts +2 -0
- package/lib/routing-policy.js +12 -2
- package/lib/runtime-integration.d.ts +81 -0
- package/lib/runtime-integration.js +702 -0
- package/lib/runtime-recovery.js +18 -8
- package/lib/session-persistence.d.ts +2 -1
- package/lib/session-persistence.js +1 -1
- package/lib/session-scope.js +4 -1
- package/lib/settings.d.ts +47 -13
- package/lib/settings.js +217 -82
- package/lib/skills.js +2 -2
- package/lib/status.d.ts +10 -1
- package/lib/status.js +11 -8
- package/lib/subagent-runtime.d.ts +57 -0
- package/lib/subagent-runtime.js +257 -0
- package/package.json +149 -89
- package/patches/subagent-runtime.yml +15 -0
- package/prompts/deepseek-flash.md +1 -1
- package/prompts/deepseek-v4-pro.md +2 -2
- package/prompts/deepwork.md +27 -18
- package/prompts/source/agents/clarifier.md +5 -3
- package/prompts/source/agents/orchestrator.md +18 -9
- package/prompts/source/agents/plan-critic.md +5 -1
- package/prompts/source/agents/planner.md +4 -2
- package/prompts/source/agents/reviewer.md +6 -0
- package/prompts/source/category/complex.md +4 -4
- package/prompts/source/category/creative.md +6 -4
- package/prompts/source/category/cross-cutting.md +10 -8
- package/prompts/source/category/deep.md +5 -3
- package/prompts/source/category/documenting.md +7 -1
- package/prompts/source/category/frontend.md +2 -2
- package/prompts/source/category/hard-reasoning.md +3 -3
- package/prompts/source/category/research.md +4 -2
- package/prompts/source/deepwork/claude-opus-5.md +2 -2
- package/prompts/source/deepwork/codex.md +1 -1
- package/prompts/source/deepwork/default.md +22 -15
- package/prompts/source/deepwork/gemini.md +23 -16
- package/prompts/source/deepwork/glm.md +21 -14
- package/prompts/source/deepwork/gpt.md +12 -6
- package/prompts/source/deepwork/planner.md +8 -5
- package/prompts/source/manifest.json +178 -63
- package/prompts/source/shared/dsh-host-contract.md +5 -3
- package/prompts/source/shared/locale.md +2 -2
- package/prompts/source/terminal/orchestrator.md +1 -1
- package/skills/ast-grep/SKILL.md +7 -4
- package/skills/brainstorming/SKILL.md +43 -22
- package/skills/coding-agent-sessions/SKILL.md +7 -4
- package/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -46
- package/skills/coding-agent-sessions/scripts/tests/test_pi_family_scanners.py +130 -130
- package/skills/debugging/SKILL.md +14 -9
- package/skills/debugging/references/methodology/00-setup.md +14 -62
- package/skills/debugging/references/methodology/02-investigate.md +4 -4
- package/skills/debugging/references/methodology/03-flaky-triage.md +3 -3
- package/skills/debugging/references/methodology/04-hard-reasoning-escalation.md +2 -14
- package/skills/debugging/references/methodology/06-fix.md +6 -6
- package/skills/debugging/references/methodology/08-qa.md +5 -5
- package/skills/debugging/references/methodology/09-cleanup.md +15 -153
- package/skills/debugging/references/methodology/partial-runtime-evidence.md +3 -16
- package/skills/debugging/references/runtimes/bundled-js-binary.md +1 -16
- package/skills/debugging/references/runtimes/native-binary.md +9 -54
- package/skills/debugging/references/runtimes/node.md +4 -15
- package/skills/debugging/references/runtimes/python.md +3 -15
- package/skills/debugging/references/runtimes/rust.md +2 -18
- package/skills/debugging/references/tools/dap.md +1 -1
- package/skills/debugging/references/tools/ghidra.md +4 -15
- package/skills/debugging/references/tools/playwright-cli.md +3 -15
- package/skills/debugging/references/tools/pwntools.md +4 -16
- package/skills/dispatching-parallel-agents/SKILL.md +18 -16
- package/skills/frontend/SKILL.md +7 -4
- package/skills/frontend/references/design/react-dev-tooling-skill.md +1 -1
- package/skills/git-master/SKILL.md +7 -4
- package/skills/init-deep/SKILL.md +7 -4
- package/skills/receiving-code-review/SKILL.md +17 -12
- package/skills/remove-ai-slops/SKILL.md +39 -38
- package/skills/requesting-code-review/SKILL.md +19 -17
- package/skills/requesting-code-review/code-reviewer.md +13 -1
- package/skills/subagent-driven-development/SKILL.md +29 -26
- package/skills/subagent-driven-development/implementer-prompt.md +29 -11
- package/skills/subagent-driven-development/spec-reviewer-prompt.md +6 -1
- package/skills/using-git-worktrees/SKILL.md +7 -4
- package/skills/writing-plans/SKILL.md +29 -24
- package/skills/writing-plans/plan-document-reviewer-prompt.md +10 -1
- package/scripts/repair-session-log.mjs +0 -476
- package/scripts/session-repair-native-verifier.mjs +0 -367
|
@@ -44,7 +44,7 @@ The breakpoint list will happily display it, so you think it's set. It isn't.
|
|
|
44
44
|
| **Chrome DevTools GUI** (`chrome://inspect`) | CLI not required, faster iteration | Not usable if user specifically asked for CLI |
|
|
45
45
|
| **Debug the built `dist/` JS** | Source maps are working end-to-end | Requires `npm run build` on every source change |
|
|
46
46
|
|
|
47
|
-
The `debugger;` statement is the most reliable.
|
|
47
|
+
The `debugger;` statement is the most reliable. List the exact temporary hunk in the resource checklist and remove only that hunk at Phase 9.
|
|
48
48
|
|
|
49
49
|
---
|
|
50
50
|
|
|
@@ -206,7 +206,7 @@ These are the patterns that most commonly look like success but aren't. Always c
|
|
|
206
206
|
| Callback-style API where callback never fires | Error happened before callback scheduled |
|
|
207
207
|
| Handler returns `res.json(...)` twice | Second call is silent on some Express versions |
|
|
208
208
|
|
|
209
|
-
When you find one,
|
|
209
|
+
When you find one, use temporary instrumentation to expose it. List the exact owned hunk in the resource checklist and remove it at Phase 9 without discarding existing edits.
|
|
210
210
|
|
|
211
211
|
---
|
|
212
212
|
|
|
@@ -225,7 +225,7 @@ tmux send-keys -t debug-client 'node inspect 127.0.0.1:9229' Enter
|
|
|
225
225
|
tmux capture-pane -p -t debug-server -S -50
|
|
226
226
|
```
|
|
227
227
|
|
|
228
|
-
|
|
228
|
+
List both task-owned session identities in the temporary resource checklist. Close only those owned sessions at Phase 9:
|
|
229
229
|
|
|
230
230
|
```bash
|
|
231
231
|
tmux kill-session -t debug-server
|
|
@@ -248,15 +248,4 @@ Phrase as a note, not a request: "I can push through with `debugger;` statements
|
|
|
248
248
|
|
|
249
249
|
## Phase 9 cleanup specifics
|
|
250
250
|
|
|
251
|
-
|
|
252
|
-
# Revert source-level debug statements
|
|
253
|
-
git diff | grep -E '(debugger;|console\.log\(.*DEBUG|\[ARBITER-DEBUG|\[DEBUG)'
|
|
254
|
-
# Revert any matching files:
|
|
255
|
-
git checkout <file>
|
|
256
|
-
|
|
257
|
-
# Kill inspector-attached processes
|
|
258
|
-
pkill -f 'node --inspect' || true
|
|
259
|
-
pkill -f 'bun --inspect' || true
|
|
260
|
-
pkill -f 'deno.*--inspect' || true
|
|
261
|
-
lsof -iTCP:9229 -sTCP:LISTEN -nP 2>/dev/null
|
|
262
|
-
```
|
|
251
|
+
Follow [central cleanup rules](../methodology/09-cleanup.md). Register this task's temporary `debugger;` and logging hunks, inspector process PIDs and start identities, listener ports, and debugger/tmux session identities in the temporary resource checklist. Remove only those source hunks, never restore whole files. Close only owned sessions; verify the recorded PID and start identity before terminating a process. A listener on port 9229 isn't ownership evidence.
|
|
@@ -58,7 +58,7 @@ export PYTHONBREAKPOINT=ipdb.set_trace
|
|
|
58
58
|
export PYTHONBREAKPOINT=0
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
Capture this environment variable's prior value in the temporary resource checklist and restore it at Phase 9.
|
|
62
62
|
|
|
63
63
|
---
|
|
64
64
|
|
|
@@ -192,7 +192,7 @@ debugpy.wait_for_client() # blocks until attached
|
|
|
192
192
|
debugpy.breakpoint() # programmatic breakpoint
|
|
193
193
|
```
|
|
194
194
|
|
|
195
|
-
|
|
195
|
+
List the owned listener/process identity, port, and temporary source hunk in the resource checklist; close the owned listener and remove only that hunk at Phase 9.
|
|
196
196
|
|
|
197
197
|
---
|
|
198
198
|
|
|
@@ -235,16 +235,4 @@ Add these to Phase 8's silent-failure check:
|
|
|
235
235
|
|
|
236
236
|
## Phase 9 cleanup specifics
|
|
237
237
|
|
|
238
|
-
|
|
239
|
-
# Remove breakpoint() / ipdb / pudb lines from source
|
|
240
|
-
git diff | grep -E '(breakpoint\(\)|import ipdb|import pudb|import pdb; pdb\.set_trace)'
|
|
241
|
-
# If the above has output, revert those files:
|
|
242
|
-
git checkout <file>
|
|
243
|
-
|
|
244
|
-
# Unset the global breakpoint override
|
|
245
|
-
unset PYTHONBREAKPOINT
|
|
246
|
-
|
|
247
|
-
# Kill any leftover debugpy listeners
|
|
248
|
-
pkill -f 'debugpy' || true
|
|
249
|
-
lsof -iTCP:5678 -sTCP:LISTEN -nP 2>/dev/null # confirm free
|
|
250
|
-
```
|
|
238
|
+
Follow [central cleanup rules](../methodology/09-cleanup.md). Register this task's temporary breakpoint/import hunks, debugpy listener ports, process PIDs and start identities, and the exact prior `PYTHONBREAKPOINT` state (including whether it was unset). Remove only owned source hunks, never restore whole files. Restore the captured environment state and close only owned listeners after verifying PID and start identity; port 5678 alone doesn't establish ownership.
|
|
@@ -62,7 +62,7 @@ Multiple values at once:
|
|
|
62
62
|
dbg!(&user, &request, elapsed.as_millis());
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
`dbg!` writes to stderr, so it won't corrupt stdout-based pipelines.
|
|
65
|
+
`dbg!` writes to stderr, so it won't corrupt stdout-based pipelines. List each temporary owned hunk in the resource checklist and remove only those hunks at Phase 9.
|
|
66
66
|
|
|
67
67
|
---
|
|
68
68
|
|
|
@@ -217,20 +217,4 @@ Now `rust-gdb ./target/release/my_binary` works on release builds. This is requi
|
|
|
217
217
|
|
|
218
218
|
## Phase 9 cleanup specifics
|
|
219
219
|
|
|
220
|
-
|
|
221
|
-
# Revert dbg! macro additions
|
|
222
|
-
git diff | grep -E 'dbg!\('
|
|
223
|
-
# For any file with dbg! additions:
|
|
224
|
-
git checkout <file>
|
|
225
|
-
|
|
226
|
-
# Unset env vars
|
|
227
|
-
unset RUST_LOG RUST_BACKTRACE
|
|
228
|
-
|
|
229
|
-
# Kill any rust-gdb/lldb sessions
|
|
230
|
-
pkill -f 'rust-gdb' || true
|
|
231
|
-
pkill -f 'rust-lldb' || true
|
|
232
|
-
pkill -f '^lldb ' || true
|
|
233
|
-
|
|
234
|
-
# tokio-console binds 6669 by default
|
|
235
|
-
lsof -iTCP:6669 -sTCP:LISTEN -nP 2>/dev/null
|
|
236
|
-
```
|
|
220
|
+
Follow [central cleanup rules](../methodology/09-cleanup.md). Register this task's temporary `dbg!` hunks, debugger and tokio-console process PIDs and start identities, listener ports, and exact prior `RUST_LOG`/`RUST_BACKTRACE` states (including whether each was unset). Remove only owned source hunks, never restore whole files. Restore the captured environment states and close only owned sessions after verifying process identity; port 6669 alone doesn't establish ownership.
|
|
@@ -88,4 +88,4 @@ terminate
|
|
|
88
88
|
quit
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
Cleanup is part of the session: terminate the debuggee, then quit the REPL. `quit` destroys a socket transport or kills an adapter process started by this client
|
|
91
|
+
Cleanup is part of the session: terminate the owned debuggee, then quit the REPL. `quit` destroys a socket transport or kills an adapter process started by this client. List wrapper scripts in the task-owned temporary resource checklist and remove only exact owned paths according to Phase 9.
|
|
@@ -33,7 +33,7 @@ Ghidra is a Java Swing app. Looks dated, works well.
|
|
|
33
33
|
## First-time workflow (memorize this — it's not obvious)
|
|
34
34
|
|
|
35
35
|
1. **Start Ghidra**: `ghidraRun`
|
|
36
|
-
2. **Create a project**: File → New Project → Non-Shared →
|
|
36
|
+
2. **Create a project**: File → New Project → Non-Shared → create it in the task-owned temporary root and put its exact path in the resource checklist for Phase 9.
|
|
37
37
|
3. **Import the binary**: File → Import File → pick your target. Accept default format detection.
|
|
38
38
|
4. **Double-click the imported binary** in the project listing. Ghidra asks to analyze it — say **yes**, accept defaults for the first pass. This takes anywhere from seconds (small binary) to tens of minutes (large binary).
|
|
39
39
|
5. **Once analysis completes**, you're in the CodeBrowser view.
|
|
@@ -168,12 +168,12 @@ The community has a large collection: https://github.com/NationalSecurityAgency/
|
|
|
168
168
|
|
|
169
169
|
## Bookmarks + Notes
|
|
170
170
|
|
|
171
|
-
Ghidra has built-in bookmarks and comments. Use them
|
|
171
|
+
Ghidra has built-in bookmarks and comments. Use them for current analysis facts in a task-owned scratch project:
|
|
172
172
|
|
|
173
173
|
- Right-click an address → `Set Bookmark` → tag as `Note`. Attach a description.
|
|
174
174
|
- Right-click → `Comments → Set EOL Comment` (shows up inline in decompiler).
|
|
175
175
|
|
|
176
|
-
|
|
176
|
+
Don't preserve hypothesis trials or decision history in a retained project. If retention is authorized, keep only final findings, current mechanism, and supporting evidence; otherwise remove the task-owned scratch project during cleanup.
|
|
177
177
|
|
|
178
178
|
---
|
|
179
179
|
|
|
@@ -200,15 +200,4 @@ Ghidra is the right tool when you need to **read the logic** of a binary you don
|
|
|
200
200
|
|
|
201
201
|
## Phase 9 cleanup specifics
|
|
202
202
|
|
|
203
|
-
|
|
204
|
-
# If you created a scratch project just for this debug session, journal path and remove:
|
|
205
|
-
# (the journal should have the exact path)
|
|
206
|
-
# Example:
|
|
207
|
-
ls ~/ghidra-projects/ 2>/dev/null
|
|
208
|
-
# rm -rf ~/ghidra-projects/debug-<binary-name>
|
|
209
|
-
|
|
210
|
-
# If you promoted the project (kept it), it's not cleanup — note it in the final summary to the user
|
|
211
|
-
|
|
212
|
-
# Kill any running Ghidra headless processes
|
|
213
|
-
pkill -f 'analyzeHeadless' || true
|
|
214
|
-
```
|
|
203
|
+
Follow Phase 9 using the temporary resource checklist: remove only the exact owned scratch project and terminate only an identity-verified task-owned headless process. Never delete another project or use process-name-wide kills. Report any authorized retained analysis artifact with final findings only.
|
|
@@ -60,11 +60,11 @@ npx playwright codegen --viewport-size=375,667 https://your-app.local # iPhon
|
|
|
60
60
|
npx playwright codegen --device="iPhone 14" https://your-app.local
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
Use the run-owned empty browser context and save the reproduction script in the task-owned temporary root for Phase 8. Put its exact path in the resource checklist, not a repository journal.
|
|
64
64
|
|
|
65
65
|
### 2. A one-shot Playwright script — reproduce + capture
|
|
66
66
|
|
|
67
|
-
Usually the Phase 8 QA artifact. Save
|
|
67
|
+
Usually the Phase 8 QA artifact. Save under the task-owned temporary root and list its exact path for cleanup (replace illustrative `/tmp/` paths below):
|
|
68
68
|
|
|
69
69
|
```ts
|
|
70
70
|
// /tmp/debug-repro.spec.ts
|
|
@@ -303,16 +303,4 @@ Remove-Item -LiteralPath $resolvedRunRoot -Recurse -Force
|
|
|
303
303
|
|
|
304
304
|
## Phase 9 cleanup specifics
|
|
305
305
|
|
|
306
|
-
|
|
307
|
-
# Remove trace files from debug runs
|
|
308
|
-
rm -rf playwright-report/ test-results/ trace.zip
|
|
309
|
-
|
|
310
|
-
# Remove debug spec files from /tmp
|
|
311
|
-
rm -f /tmp/debug-*.spec.ts
|
|
312
|
-
|
|
313
|
-
# Remove screenshot captures
|
|
314
|
-
rm -f /tmp/debug-*.png
|
|
315
|
-
|
|
316
|
-
# If you installed browsers just for this session (rare):
|
|
317
|
-
# Don't remove them — they're useful for future sessions. They live in ~/Library/Caches/ms-playwright (macOS) or ~/.cache/ms-playwright (Linux).
|
|
318
|
-
```
|
|
306
|
+
Follow [central cleanup rules](../methodology/09-cleanup.md) and the profile-marker and process-identity checks above. Register exact paths under the task-owned temporary root for reports, test results, traces, debug specs, and screenshots, plus owned browser/context identities and process PIDs and start identities. Delete only resolved, verified owned paths, not shared relative directories or `/tmp` filename patterns. Existing browser caches and profiles aren't cleanup targets; any authorized task-created browser installation needs its exact owned path recorded before cleanup.
|
|
@@ -161,7 +161,7 @@ assert p.poll() is not None and p.poll() != 0, 'expected crash, got clean exit'
|
|
|
161
161
|
log.success(f'confirmed crash (exit {p.poll()})')
|
|
162
162
|
```
|
|
163
163
|
|
|
164
|
-
|
|
164
|
+
Put this script's exact owned path in the temporary resource checklist. Run it as your failing reproduction:
|
|
165
165
|
|
|
166
166
|
```bash
|
|
167
167
|
python /tmp/debug-repro.py
|
|
@@ -244,24 +244,12 @@ This is the best way to debug a specific crash repeatably — pwntools drives in
|
|
|
244
244
|
|
|
245
245
|
- **Python version**: pwntools supports Python 3.8+. Very old distros may not have it.
|
|
246
246
|
- **`p.interactive()` blocks.** It's for manual exploration; remove it from automated scripts.
|
|
247
|
-
- **ASLR on local runs**:
|
|
247
|
+
- **ASLR on local runs**: changing system ASLR needs specific authorization. If authorized, capture its prior state and exact restoration action in the temporary resource checklist before changing it; restore that state at cleanup.
|
|
248
248
|
- **`gdb.debug()` requires `gdb-multiarch`** for cross-arch binaries.
|
|
249
|
-
- **Subprocess cleanup**: if your script crashes,
|
|
249
|
+
- **Subprocess cleanup**: if your script crashes, task-owned target processes may linger. Phase 9 or `atexit` cleanup must verify each recorded PID and start identity before terminating it; a binary name alone doesn't establish ownership.
|
|
250
250
|
|
|
251
251
|
---
|
|
252
252
|
|
|
253
253
|
## Phase 9 cleanup specifics
|
|
254
254
|
|
|
255
|
-
|
|
256
|
-
# Remove pwntools debug scripts
|
|
257
|
-
rm -f /tmp/debug-*.py
|
|
258
|
-
rm -f /tmp/debug-crashes.txt
|
|
259
|
-
|
|
260
|
-
# Kill orphan target processes from failed runs
|
|
261
|
-
pkill -f './target' || true # adjust to actual binary name
|
|
262
|
-
|
|
263
|
-
# Restore ASLR if disabled
|
|
264
|
-
# echo 2 | sudo tee /proc/sys/kernel/randomize_va_space # Linux default
|
|
265
|
-
|
|
266
|
-
# Revert any binary patches applied for testing (see native-binary.md for details)
|
|
267
|
-
```
|
|
255
|
+
Follow [central cleanup rules](../methodology/09-cleanup.md). Register exact owned script/crash-output paths, target and debugger process PIDs and start identities, and any specifically authorized ASLR change's captured prior value and restoration action. Verify process identity before terminating an orphan; a binary name isn't ownership evidence. Restore ASLR to its captured value, not an assumed default. Restore only this task's temporary binary patches using the recorded target identity, offsets, and original bytes, preserving the authorized final fix.
|
|
@@ -8,19 +8,19 @@ description: Use when facing 2+ independent tasks that can be worked on without
|
|
|
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>.
|
|
13
|
-
- Templates describe assignment content, not
|
|
14
|
-
-
|
|
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
|
-
<!--
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
briefs, evidence, integration, and escalation are outcome-oriented and do
|
|
22
|
-
not impose mandatory review or Git ceremony. See docs/v1-maintenance.md for
|
|
23
|
-
sync rules. -->
|
|
21
|
+
<!-- Local fork of obra/superpowers/dispatching-parallel-agents v6.2.0.
|
|
22
|
+
Independent file/resource ownership and outcome-oriented evidence integration.
|
|
23
|
+
Source and maintenance contract: docs/v1-maintenance.md. -->
|
|
24
24
|
|
|
25
25
|
# Dispatching Parallel Agents
|
|
26
26
|
|
|
@@ -46,18 +46,18 @@ Do not parallelize related failures, exploratory debugging with an unknown share
|
|
|
46
46
|
|
|
47
47
|
## Create Focused Worker Briefs
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
Explain enough for each worker to act safely; these are useful prompts, not required fields or an exhaustive resource inventory:
|
|
50
50
|
|
|
51
51
|
- its goal and ideal end state;
|
|
52
52
|
- acceptance criteria and useful evidence;
|
|
53
53
|
- current context, dependencies, and interfaces;
|
|
54
|
-
- exclusive
|
|
54
|
+
- material exclusive ownership or scope boundaries;
|
|
55
55
|
- global constraints and permissions;
|
|
56
|
-
-
|
|
56
|
+
- current constraints, authorization boundaries, or material risks.
|
|
57
57
|
|
|
58
|
-
Do not paste session history or require a fixed response format. Ask for actual changed and new files, evidence/results,
|
|
58
|
+
Workers may discover corresponding resources inside their authorized domain; don't require exhaustive file lists or per-item revision/hash/receipt locks. Discovery never expands permissions or shared-state ownership. Keep actual safety, irreversible-operation, and protocol/integrity identities explicit when needed. Do not paste session history or require a fixed response format. Ask for actual changed and new files, local evidence/results, current constraints, and material risks or unverified coverage in conversation, not a ruling log or workspace report. A status label or acknowledgement is informational, not evidence.
|
|
59
59
|
|
|
60
|
-
Workers may choose minimal evidence-based equivalent changes when repository reality supports them, provided the approved goal, constraints, permissions, and acceptance criteria do not change.
|
|
60
|
+
Workers may choose minimal evidence-based equivalent changes when repository reality supports them, provided the approved goal, constraints, permissions, and acceptance criteria do not change. Their reports describe final outcomes, constraints, evidence, and unresolved risks, not deviations or decision histories. They escalate changes to scope/acceptance, security or data guarantees, public APIs/protocols, permissions, irreversible actions, or decisions that would be pure guesses.
|
|
61
61
|
|
|
62
62
|
## Dispatch Concurrently
|
|
63
63
|
|
|
@@ -67,13 +67,15 @@ Before dispatch, verify ownership boundaries and side-effect isolation. Do not a
|
|
|
67
67
|
|
|
68
68
|
## Reconcile and Integrate
|
|
69
69
|
|
|
70
|
+
Workers run lightweight local checks for their substantive changes, not full suites per small task. The parent coordinates integration and global verification, consolidating necessary heavy checks at task completion or important phase boundaries. Reuse evidence by material relevance under brainstorming: unrelated parallel code, dependency, or environment changes don't stale it; rerun affected or missing checks and report uncovered risks. Required safety, release, pre-commit, and user checks remain binding.
|
|
71
|
+
|
|
70
72
|
As workers return:
|
|
71
73
|
|
|
72
74
|
- inspect each result's actual diff and newly created files;
|
|
73
75
|
- compare it to that worker's goal and acceptance criteria;
|
|
74
76
|
- evaluate or run useful targeted evidence;
|
|
75
77
|
- check cross-result interfaces, assumptions, and conflicts;
|
|
76
|
-
-
|
|
78
|
+
- carry forward current integration constraints and unresolved risks;
|
|
77
79
|
- verify the combined result against the overall ideal end state.
|
|
78
80
|
|
|
79
81
|
This is an integration check, not a mandatory full review per worker or wave. Request focused or whole-change review only when risk, uncertainty, user instruction, or a governing process makes it useful.
|
package/skills/frontend/SKILL.md
CHANGED
|
@@ -8,10 +8,13 @@ description: "MUST USE for ANY frontend, web UI, UX, or visual work — building
|
|
|
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>.
|
|
13
|
-
- Templates describe assignment content, not
|
|
14
|
-
-
|
|
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
|
|
|
@@ -224,7 +224,7 @@ If any of those leak into production, the dev gate is broken. Fix the gate befor
|
|
|
224
224
|
## Cross-skill references
|
|
225
225
|
|
|
226
226
|
- For **render performance / Lighthouse 100** work, see `../perfection/react-perf-tooling.md` — Playwright + `react-scan/lite` integration used during automated audits.
|
|
227
|
-
- For **debugging an in-flight React bug**,
|
|
227
|
+
- For **debugging an in-flight React bug**, load the native debugging skill when available and resolve its actual references/runtimes/node.md and references/tools/playwright-cli.md from that skill's returned resourceBase. Use already available React/browser tooling; no cross-skill relative path or unbundled react-devtools resource is assumed. If debugging is unavailable, report that limitation.
|
|
228
228
|
- The Phase 0 Design System Gate (in `README.md`) and this React Dev Tooling Gate are both pre-implementation gates. Run Phase 0 first (design system must exist), then inspect existing tooling and its development gate; absent tooling is a reported coverage limitation, not installation authority.
|
|
229
229
|
|
|
230
230
|
## Mantra
|
|
@@ -8,10 +8,13 @@ description: "MUST USE whenever a task needs a commit or git-history investigati
|
|
|
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>.
|
|
13
|
-
- Templates describe assignment content, not
|
|
14
|
-
-
|
|
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
|
|
|
@@ -8,10 +8,13 @@ description: "(builtin) Initialize hierarchical AGENTS.md knowledge base"
|
|
|
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>.
|
|
13
|
-
- Templates describe assignment content, not
|
|
14
|
-
-
|
|
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
|
|
|
@@ -8,18 +8,19 @@ description: Use when receiving code review feedback, before implementing sugges
|
|
|
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>.
|
|
13
|
-
- Templates describe assignment content, not
|
|
14
|
-
-
|
|
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
|
-
<!--
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
evidence, not fixed verdict/receipt gates, and follow-up review is limited to
|
|
22
|
-
substantively changed inputs. See docs/v1-maintenance.md for sync rules. -->
|
|
21
|
+
<!-- Local fork of obra/superpowers/receiving-code-review v6.2.0.
|
|
22
|
+
Evidence-based technical evaluation and affected-input follow-up review.
|
|
23
|
+
Source and maintenance contract: docs/v1-maintenance.md. -->
|
|
23
24
|
|
|
24
25
|
# Code Review Reception
|
|
25
26
|
|
|
@@ -46,7 +47,7 @@ Clarify an item before implementing it when ambiguity would materially change th
|
|
|
46
47
|
|
|
47
48
|
Escalate instead of deciding when a proposed response changes scope or acceptance, weakens security or data guarantees, changes a public API/protocol, expands permissions, requires an irreversible action, conflicts with the user's approved direction, or would otherwise be a pure guess.
|
|
48
49
|
|
|
49
|
-
For a non-material ambiguity, choose a safe reversible interpretation from repository evidence.
|
|
50
|
+
For a non-material ambiguity, choose a safe reversible interpretation from repository evidence. Keep only the resulting current constraint or unresolved verification limit, not a ruling history.
|
|
50
51
|
|
|
51
52
|
## Source-Specific Handling
|
|
52
53
|
|
|
@@ -62,7 +63,7 @@ For a non-material ambiguity, choose a safe reversible interpretation from repos
|
|
|
62
63
|
Check whether the suggestion:
|
|
63
64
|
|
|
64
65
|
- is correct for this codebase and supported platforms;
|
|
65
|
-
- breaks
|
|
66
|
+
- breaks committed contracts or final approved acceptance criteria;
|
|
66
67
|
- overlooks why the current implementation exists;
|
|
67
68
|
- adds unused or speculative functionality;
|
|
68
69
|
- conflicts with global constraints or user decisions.
|
|
@@ -82,7 +83,11 @@ Keep real security, data-loss, protocol/API, compatibility, release, and irrever
|
|
|
82
83
|
|
|
83
84
|
Group related findings when one coherent correction and evidence path covers them. Use focused deterministic tests at real regression seams, or other useful evidence such as typechecks, builds, runtime probes, and inspection where those better prove the outcome. There is no universal RED transcript, scenario count, one-review-per-finding, or full-suite requirement.
|
|
84
85
|
|
|
85
|
-
|
|
86
|
+
Correction workers run lightweight checks for their substantive local changes and return changes, local evidence, and material risks. The orchestrator consolidates necessary global/heavy checks at task completion or important phase boundaries. Reuse still-applicable evidence by material relevance; supplement affected or missing coverage without waiving required safety, release, pre-commit, or user checks.
|
|
87
|
+
|
|
88
|
+
Deep workers and implementers may choose a minimal evidence-based equivalent correction when it preserves the approved goal, constraints, permissions, and acceptance criteria. Report the resulting correction, current constraints, evidence, and unresolved risks. Don't preserve decision or development history.
|
|
89
|
+
|
|
90
|
+
Judge tests against final valid requirements, functionality, and external interfaces. Don't require descriptive-text locks, decision-counterexample tests, or tests asserting that deleted components are absent. Update tests when requirements change and delete tests dedicated to removed components. Uncommitted intermediate behavior needn't be preserved; existing committed contracts and API/security/data/permission authorization remain binding.
|
|
86
91
|
|
|
87
92
|
## Follow-Up Review
|
|
88
93
|
|