@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
|
@@ -1,14 +1,83 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"sourceRef": "3b680211feeb93508b3817546f37bee2291c402b",
|
|
3
|
+
"sourceInput": "DSMM-owned source-inputs/root snapshot; sourceRef is the Root baseline, overlayPaths are raw-byte differences including uncommitted/untracked inputs or checkout byte conversion, not a fabricated Root commit",
|
|
4
|
+
"sourceProvenance": {
|
|
5
|
+
"rootBaselineCommit": "3b680211feeb93508b3817546f37bee2291c402b",
|
|
6
|
+
"capture": "root-worktree",
|
|
7
|
+
"overlayPaths": [
|
|
8
|
+
"prompts/v1/agents/clarifier.md",
|
|
9
|
+
"prompts/v1/agents/orchestrator.md",
|
|
10
|
+
"prompts/v1/agents/plan-critic.md",
|
|
11
|
+
"prompts/v1/agents/planner.md",
|
|
12
|
+
"prompts/v1/agents/reviewer.md",
|
|
13
|
+
"prompts/v1/category/complex.md",
|
|
14
|
+
"prompts/v1/category/creative.md",
|
|
15
|
+
"prompts/v1/category/cross-cutting.md",
|
|
16
|
+
"prompts/v1/category/deep.md",
|
|
17
|
+
"prompts/v1/category/documenting.md",
|
|
18
|
+
"prompts/v1/category/frontend.md",
|
|
19
|
+
"prompts/v1/category/hard-reasoning.md",
|
|
20
|
+
"prompts/v1/category/research.md",
|
|
21
|
+
"prompts/v1/deepwork/claude-opus-5.md",
|
|
22
|
+
"prompts/v1/deepwork/default.md",
|
|
23
|
+
"prompts/v1/deepwork/gemini.md",
|
|
24
|
+
"prompts/v1/deepwork/glm.md",
|
|
25
|
+
"prompts/v1/deepwork/gpt.md",
|
|
26
|
+
"prompts/v1/deepwork/planner.md",
|
|
27
|
+
"skills/coding-agent-sessions/NOTICE.md",
|
|
28
|
+
"skills/coding-agent-sessions/SKILL.md",
|
|
29
|
+
"skills/coding-agent-sessions/references/all-platforms.md",
|
|
30
|
+
"skills/coding-agent-sessions/references/senpi.md",
|
|
31
|
+
"skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py",
|
|
32
|
+
"skills/coding-agent-sessions/scripts/tests/test_pi_family_scanners.py",
|
|
33
|
+
"skills/debugging/SKILL.md",
|
|
34
|
+
"skills/debugging/references/methodology/00-setup.md",
|
|
35
|
+
"skills/debugging/references/methodology/02-investigate.md",
|
|
36
|
+
"skills/debugging/references/methodology/03-flaky-triage.md",
|
|
37
|
+
"skills/debugging/references/methodology/04-hard-reasoning-escalation.md",
|
|
38
|
+
"skills/debugging/references/methodology/06-fix.md",
|
|
39
|
+
"skills/debugging/references/methodology/08-qa.md",
|
|
40
|
+
"skills/debugging/references/methodology/09-cleanup.md",
|
|
41
|
+
"skills/debugging/references/methodology/partial-runtime-evidence.md",
|
|
42
|
+
"skills/debugging/references/runtimes/bundled-js-binary.md",
|
|
43
|
+
"skills/debugging/references/runtimes/native-binary.md",
|
|
44
|
+
"skills/debugging/references/runtimes/node.md",
|
|
45
|
+
"skills/debugging/references/runtimes/python.md",
|
|
46
|
+
"skills/debugging/references/runtimes/rust.md",
|
|
47
|
+
"skills/debugging/references/tools/dap.md",
|
|
48
|
+
"skills/debugging/references/tools/ghidra.md",
|
|
49
|
+
"skills/debugging/references/tools/playwright-cli.md",
|
|
50
|
+
"skills/debugging/references/tools/pwntools.md",
|
|
51
|
+
"skills/remove-ai-slops/SKILL.md",
|
|
52
|
+
"skills/v1/brainstorming/SKILL.md",
|
|
53
|
+
"skills/v1/dispatching-parallel-agents/SKILL.md",
|
|
54
|
+
"skills/v1/receiving-code-review/SKILL.md",
|
|
55
|
+
"skills/v1/requesting-code-review/SKILL.md",
|
|
56
|
+
"skills/v1/requesting-code-review/code-reviewer.md",
|
|
57
|
+
"skills/v1/subagent-driven-development/SKILL.md",
|
|
58
|
+
"skills/v1/subagent-driven-development/implementer-prompt.md",
|
|
59
|
+
"skills/v1/subagent-driven-development/spec-reviewer-prompt.md",
|
|
60
|
+
"skills/v1/writing-plans/SKILL.md",
|
|
61
|
+
"skills/v1/writing-plans/plan-document-reviewer-prompt.md",
|
|
62
|
+
"src/data/agents.ts",
|
|
63
|
+
"src/data/categories.ts",
|
|
64
|
+
"src/hooks/config.ts",
|
|
65
|
+
"src/intent/model-family.ts",
|
|
66
|
+
"src/intent/prompt-loader.ts"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
3
69
|
"host": "DSH 0.2.0-rc.2",
|
|
4
70
|
"license": "LicenseRef-AAAPL; full package LICENSE applies to OCMM-derived modifications; original third-party notices retained per skill",
|
|
5
71
|
"attribution": "OCMM Hugefiver; v1 workflow forks retain obra/superpowers lineage; standalone notices/licenses copied recursively",
|
|
6
72
|
"rules": {
|
|
7
73
|
"native-skill-load": "Replace automatic/fulltext/slash-command skill assumptions with triggered native lazy skill loading.",
|
|
8
|
-
"native-dispatch": "Adapt
|
|
74
|
+
"native-dispatch": "Adapt OpenCode Task/team schemas to assignment text and actual per-role or parameterized DSH inventory; preserve target/caller/read-only/depth authority.",
|
|
9
75
|
"source-role-authority": "Preserve full role/category content and source terminal policies, with DSH capability conditions; no provider/model defaults copied.",
|
|
10
76
|
"dsh-common-scope": "Keep complete default common workflow inside effective mode; planner/family layers are additive and subordinate to persistent persona/terminal policy, explicit off withdraws common/skills only.",
|
|
11
|
-
"bounded-cleanup": "Retain all source cleanup categories and
|
|
77
|
+
"bounded-cleanup": "Retain all source cleanup categories and passing evidence for final valid requirements/committed contracts; use session coordination, bounded useful delegation and task-owned corrections, not text locks, mechanical fan-out or LOC quotas.",
|
|
78
|
+
"native-profile-selection": "Keep canonical role identity and ordinary root native model authority; only observed configured invocation levels and deployment-gated route overrides are usable, never inferred from source tiers.",
|
|
79
|
+
"native-lifecycle": "Use observed unique startup binding and wired controls only; same-run handoff, native jobs and same-ID continuable delivery retain ownership/capacity/depth/cancellation and conservative legacy evidence boundaries.",
|
|
80
|
+
"native-locale": "Shared visible-language priority covers every role/category; the exact Agent assembler adds immutable captured locale without Root preference, reasoning-language or host/project-locale claims.",
|
|
12
81
|
"authorization": "Resource commands never authorize installation, login, Git writes, private state access or destructive operations.",
|
|
13
82
|
"frontend-capabilities": "Authored React/Open Design routing inspects actual existing capabilities first; installation requires separate authorization and unverified surfaces are reported, not silently passed.",
|
|
14
83
|
"frontend-cli-context": "Verbatim UI/UX upstream commands are superseded by authored absolute resourceBase script paths, target-project cwd and explicit authorized output-dir; no ruleset-cwd persistence or assumed tool cwd API.",
|
|
@@ -291,6 +360,10 @@
|
|
|
291
360
|
"source": "prompts/codex/**",
|
|
292
361
|
"reason": "Separate Codex adapter; DSH adapts the v1 Codex-model compatibility variant without installing another host behavior layer."
|
|
293
362
|
},
|
|
363
|
+
{
|
|
364
|
+
"source": "AGENTS.md; .opencode/**; .codex/**; user/provider/model configuration",
|
|
365
|
+
"reason": "Host/session configuration and permissions are not shared resources; source synchronization never imports their authority or locale/model choices."
|
|
366
|
+
},
|
|
294
367
|
{
|
|
295
368
|
"source": "**/{__pycache__,node_modules,.git}/** and **/*.pyc",
|
|
296
369
|
"reason": "Interpreter caches, dependencies and VCS state are not skill resources."
|
|
@@ -313,7 +386,8 @@
|
|
|
313
386
|
"native-skill-load",
|
|
314
387
|
"native-dispatch",
|
|
315
388
|
"source-role-authority",
|
|
316
|
-
"dsh-common-scope"
|
|
389
|
+
"dsh-common-scope",
|
|
390
|
+
"native-lifecycle"
|
|
317
391
|
],
|
|
318
392
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
319
393
|
},
|
|
@@ -325,7 +399,8 @@
|
|
|
325
399
|
"native-skill-load",
|
|
326
400
|
"native-dispatch",
|
|
327
401
|
"source-role-authority",
|
|
328
|
-
"dsh-common-scope"
|
|
402
|
+
"dsh-common-scope",
|
|
403
|
+
"native-lifecycle"
|
|
329
404
|
],
|
|
330
405
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
331
406
|
},
|
|
@@ -337,7 +412,8 @@
|
|
|
337
412
|
"native-skill-load",
|
|
338
413
|
"native-dispatch",
|
|
339
414
|
"source-role-authority",
|
|
340
|
-
"dsh-common-scope"
|
|
415
|
+
"dsh-common-scope",
|
|
416
|
+
"native-lifecycle"
|
|
341
417
|
],
|
|
342
418
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
343
419
|
},
|
|
@@ -349,7 +425,8 @@
|
|
|
349
425
|
"native-skill-load",
|
|
350
426
|
"native-dispatch",
|
|
351
427
|
"source-role-authority",
|
|
352
|
-
"dsh-common-scope"
|
|
428
|
+
"dsh-common-scope",
|
|
429
|
+
"native-lifecycle"
|
|
353
430
|
],
|
|
354
431
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
355
432
|
},
|
|
@@ -361,7 +438,8 @@
|
|
|
361
438
|
"native-skill-load",
|
|
362
439
|
"native-dispatch",
|
|
363
440
|
"source-role-authority",
|
|
364
|
-
"dsh-common-scope"
|
|
441
|
+
"dsh-common-scope",
|
|
442
|
+
"native-lifecycle"
|
|
365
443
|
],
|
|
366
444
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
367
445
|
},
|
|
@@ -373,7 +451,8 @@
|
|
|
373
451
|
"native-skill-load",
|
|
374
452
|
"native-dispatch",
|
|
375
453
|
"source-role-authority",
|
|
376
|
-
"dsh-common-scope"
|
|
454
|
+
"dsh-common-scope",
|
|
455
|
+
"native-lifecycle"
|
|
377
456
|
],
|
|
378
457
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
379
458
|
},
|
|
@@ -385,7 +464,8 @@
|
|
|
385
464
|
"native-skill-load",
|
|
386
465
|
"native-dispatch",
|
|
387
466
|
"source-role-authority",
|
|
388
|
-
"dsh-common-scope"
|
|
467
|
+
"dsh-common-scope",
|
|
468
|
+
"native-lifecycle"
|
|
389
469
|
],
|
|
390
470
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
391
471
|
},
|
|
@@ -397,7 +477,8 @@
|
|
|
397
477
|
"native-skill-load",
|
|
398
478
|
"native-dispatch",
|
|
399
479
|
"source-role-authority",
|
|
400
|
-
"dsh-common-scope"
|
|
480
|
+
"dsh-common-scope",
|
|
481
|
+
"native-lifecycle"
|
|
401
482
|
],
|
|
402
483
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
403
484
|
},
|
|
@@ -409,7 +490,8 @@
|
|
|
409
490
|
"native-skill-load",
|
|
410
491
|
"native-dispatch",
|
|
411
492
|
"source-role-authority",
|
|
412
|
-
"dsh-common-scope"
|
|
493
|
+
"dsh-common-scope",
|
|
494
|
+
"native-lifecycle"
|
|
413
495
|
],
|
|
414
496
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
415
497
|
},
|
|
@@ -419,7 +501,9 @@
|
|
|
419
501
|
"consumer": "src/roles.ts: DSMM_ROLES.persona",
|
|
420
502
|
"rules": [
|
|
421
503
|
"source-role-authority",
|
|
422
|
-
"native-dispatch"
|
|
504
|
+
"native-dispatch",
|
|
505
|
+
"native-profile-selection",
|
|
506
|
+
"native-lifecycle"
|
|
423
507
|
],
|
|
424
508
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
425
509
|
},
|
|
@@ -429,7 +513,9 @@
|
|
|
429
513
|
"consumer": "src/roles.ts: DSMM_ROLES.persona",
|
|
430
514
|
"rules": [
|
|
431
515
|
"source-role-authority",
|
|
432
|
-
"native-dispatch"
|
|
516
|
+
"native-dispatch",
|
|
517
|
+
"native-profile-selection",
|
|
518
|
+
"native-lifecycle"
|
|
433
519
|
],
|
|
434
520
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
435
521
|
},
|
|
@@ -439,7 +525,9 @@
|
|
|
439
525
|
"consumer": "src/roles.ts: DSMM_ROLES.persona",
|
|
440
526
|
"rules": [
|
|
441
527
|
"source-role-authority",
|
|
442
|
-
"native-dispatch"
|
|
528
|
+
"native-dispatch",
|
|
529
|
+
"native-profile-selection",
|
|
530
|
+
"native-lifecycle"
|
|
443
531
|
],
|
|
444
532
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
445
533
|
},
|
|
@@ -449,7 +537,9 @@
|
|
|
449
537
|
"consumer": "src/roles.ts: DSMM_ROLES.persona",
|
|
450
538
|
"rules": [
|
|
451
539
|
"source-role-authority",
|
|
452
|
-
"native-dispatch"
|
|
540
|
+
"native-dispatch",
|
|
541
|
+
"native-profile-selection",
|
|
542
|
+
"native-lifecycle"
|
|
453
543
|
],
|
|
454
544
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
455
545
|
},
|
|
@@ -459,7 +549,9 @@
|
|
|
459
549
|
"consumer": "src/roles.ts: DSMM_ROLES.persona",
|
|
460
550
|
"rules": [
|
|
461
551
|
"source-role-authority",
|
|
462
|
-
"native-dispatch"
|
|
552
|
+
"native-dispatch",
|
|
553
|
+
"native-profile-selection",
|
|
554
|
+
"native-lifecycle"
|
|
463
555
|
],
|
|
464
556
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
465
557
|
},
|
|
@@ -583,229 +675,252 @@
|
|
|
583
675
|
{
|
|
584
676
|
"source": "src/hooks/config.ts: buildLocaleGuidance(default)",
|
|
585
677
|
"artifact": "prompts/source/shared/locale.md",
|
|
586
|
-
"consumer": "src/prompt-content.ts:
|
|
678
|
+
"consumer": "src/prompt-content.ts: all role/category persona prefix; src/prompts.ts: exact Agent captured locale",
|
|
587
679
|
"rules": [
|
|
588
|
-
"source-role-authority"
|
|
680
|
+
"source-role-authority",
|
|
681
|
+
"native-locale"
|
|
589
682
|
],
|
|
590
683
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
591
684
|
},
|
|
592
685
|
{
|
|
593
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
686
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
594
687
|
"artifact": "prompts/source/terminal/orchestrator.md",
|
|
595
688
|
"consumer": "src/roles.ts: persona",
|
|
596
689
|
"rules": [
|
|
597
690
|
"source-role-authority",
|
|
598
|
-
"native-dispatch"
|
|
691
|
+
"native-dispatch",
|
|
692
|
+
"native-lifecycle"
|
|
599
693
|
],
|
|
600
694
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
601
695
|
},
|
|
602
696
|
{
|
|
603
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
697
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
604
698
|
"artifact": "prompts/source/terminal/planner.md",
|
|
605
699
|
"consumer": "src/roles.ts: persona",
|
|
606
700
|
"rules": [
|
|
607
701
|
"source-role-authority",
|
|
608
|
-
"native-dispatch"
|
|
702
|
+
"native-dispatch",
|
|
703
|
+
"native-lifecycle"
|
|
609
704
|
],
|
|
610
705
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
611
706
|
},
|
|
612
707
|
{
|
|
613
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
708
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
614
709
|
"artifact": "prompts/source/terminal/plan-critic.md",
|
|
615
710
|
"consumer": "src/roles.ts: persona",
|
|
616
711
|
"rules": [
|
|
617
712
|
"source-role-authority",
|
|
618
|
-
"native-dispatch"
|
|
713
|
+
"native-dispatch",
|
|
714
|
+
"native-lifecycle"
|
|
619
715
|
],
|
|
620
716
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
621
717
|
},
|
|
622
718
|
{
|
|
623
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
719
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
624
720
|
"artifact": "prompts/source/terminal/builder.md",
|
|
625
721
|
"consumer": "src/roles.ts: persona",
|
|
626
722
|
"rules": [
|
|
627
723
|
"source-role-authority",
|
|
628
|
-
"native-dispatch"
|
|
724
|
+
"native-dispatch",
|
|
725
|
+
"native-lifecycle"
|
|
629
726
|
],
|
|
630
727
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
631
728
|
},
|
|
632
729
|
{
|
|
633
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
730
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
634
731
|
"artifact": "prompts/source/terminal/reviewer.md",
|
|
635
732
|
"consumer": "src/roles.ts: persona",
|
|
636
733
|
"rules": [
|
|
637
734
|
"source-role-authority",
|
|
638
|
-
"native-dispatch"
|
|
735
|
+
"native-dispatch",
|
|
736
|
+
"native-lifecycle"
|
|
639
737
|
],
|
|
640
738
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
641
739
|
},
|
|
642
740
|
{
|
|
643
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
741
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
644
742
|
"artifact": "prompts/source/terminal/oracle.md",
|
|
645
743
|
"consumer": "src/roles.ts: persona",
|
|
646
744
|
"rules": [
|
|
647
745
|
"source-role-authority",
|
|
648
|
-
"native-dispatch"
|
|
746
|
+
"native-dispatch",
|
|
747
|
+
"native-lifecycle"
|
|
649
748
|
],
|
|
650
749
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
651
750
|
},
|
|
652
751
|
{
|
|
653
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
752
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
654
753
|
"artifact": "prompts/source/terminal/oracle-2nd.md",
|
|
655
754
|
"consumer": "src/roles.ts: persona",
|
|
656
755
|
"rules": [
|
|
657
756
|
"source-role-authority",
|
|
658
|
-
"native-dispatch"
|
|
757
|
+
"native-dispatch",
|
|
758
|
+
"native-lifecycle"
|
|
659
759
|
],
|
|
660
760
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
661
761
|
},
|
|
662
762
|
{
|
|
663
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
763
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
664
764
|
"artifact": "prompts/source/terminal/creative.md",
|
|
665
765
|
"consumer": "src/roles.ts: persona",
|
|
666
766
|
"rules": [
|
|
667
767
|
"source-role-authority",
|
|
668
|
-
"native-dispatch"
|
|
768
|
+
"native-dispatch",
|
|
769
|
+
"native-lifecycle"
|
|
669
770
|
],
|
|
670
771
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
671
772
|
},
|
|
672
773
|
{
|
|
673
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
774
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
674
775
|
"artifact": "prompts/source/terminal/code-search.md",
|
|
675
776
|
"consumer": "src/roles.ts: persona",
|
|
676
777
|
"rules": [
|
|
677
778
|
"source-role-authority",
|
|
678
|
-
"native-dispatch"
|
|
779
|
+
"native-dispatch",
|
|
780
|
+
"native-lifecycle"
|
|
679
781
|
],
|
|
680
782
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
681
783
|
},
|
|
682
784
|
{
|
|
683
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
785
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
684
786
|
"artifact": "prompts/source/terminal/doc-search.md",
|
|
685
787
|
"consumer": "src/roles.ts: persona",
|
|
686
788
|
"rules": [
|
|
687
789
|
"source-role-authority",
|
|
688
|
-
"native-dispatch"
|
|
790
|
+
"native-dispatch",
|
|
791
|
+
"native-lifecycle"
|
|
689
792
|
],
|
|
690
793
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
691
794
|
},
|
|
692
795
|
{
|
|
693
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
796
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
694
797
|
"artifact": "prompts/source/terminal/clarifier.md",
|
|
695
798
|
"consumer": "src/roles.ts: persona",
|
|
696
799
|
"rules": [
|
|
697
800
|
"source-role-authority",
|
|
698
|
-
"native-dispatch"
|
|
801
|
+
"native-dispatch",
|
|
802
|
+
"native-lifecycle"
|
|
699
803
|
],
|
|
700
804
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
701
805
|
},
|
|
702
806
|
{
|
|
703
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
807
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
704
808
|
"artifact": "prompts/source/terminal/media-reader.md",
|
|
705
809
|
"consumer": "src/roles.ts: persona",
|
|
706
810
|
"rules": [
|
|
707
811
|
"source-role-authority",
|
|
708
|
-
"native-dispatch"
|
|
812
|
+
"native-dispatch",
|
|
813
|
+
"native-lifecycle"
|
|
709
814
|
],
|
|
710
815
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
711
816
|
},
|
|
712
817
|
{
|
|
713
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
818
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
714
819
|
"artifact": "prompts/source/terminal/frontend.md",
|
|
715
820
|
"consumer": "src/roles.ts: persona",
|
|
716
821
|
"rules": [
|
|
717
822
|
"source-role-authority",
|
|
718
|
-
"native-dispatch"
|
|
823
|
+
"native-dispatch",
|
|
824
|
+
"native-lifecycle"
|
|
719
825
|
],
|
|
720
826
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
721
827
|
},
|
|
722
828
|
{
|
|
723
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
829
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
724
830
|
"artifact": "prompts/source/terminal/hard-reasoning.md",
|
|
725
831
|
"consumer": "src/roles.ts: persona",
|
|
726
832
|
"rules": [
|
|
727
833
|
"source-role-authority",
|
|
728
|
-
"native-dispatch"
|
|
834
|
+
"native-dispatch",
|
|
835
|
+
"native-lifecycle"
|
|
729
836
|
],
|
|
730
837
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
731
838
|
},
|
|
732
839
|
{
|
|
733
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
840
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
734
841
|
"artifact": "prompts/source/terminal/research.md",
|
|
735
842
|
"consumer": "src/roles.ts: persona",
|
|
736
843
|
"rules": [
|
|
737
844
|
"source-role-authority",
|
|
738
|
-
"native-dispatch"
|
|
845
|
+
"native-dispatch",
|
|
846
|
+
"native-lifecycle"
|
|
739
847
|
],
|
|
740
848
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
741
849
|
},
|
|
742
850
|
{
|
|
743
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
851
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
744
852
|
"artifact": "prompts/source/terminal/quick.md",
|
|
745
853
|
"consumer": "src/roles.ts: persona",
|
|
746
854
|
"rules": [
|
|
747
855
|
"source-role-authority",
|
|
748
|
-
"native-dispatch"
|
|
856
|
+
"native-dispatch",
|
|
857
|
+
"native-lifecycle"
|
|
749
858
|
],
|
|
750
859
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
751
860
|
},
|
|
752
861
|
{
|
|
753
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
862
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
754
863
|
"artifact": "prompts/source/terminal/coding.md",
|
|
755
864
|
"consumer": "src/roles.ts: persona",
|
|
756
865
|
"rules": [
|
|
757
866
|
"source-role-authority",
|
|
758
|
-
"native-dispatch"
|
|
867
|
+
"native-dispatch",
|
|
868
|
+
"native-lifecycle"
|
|
759
869
|
],
|
|
760
870
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
761
871
|
},
|
|
762
872
|
{
|
|
763
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
873
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
764
874
|
"artifact": "prompts/source/terminal/normal-task.md",
|
|
765
875
|
"consumer": "src/roles.ts: persona",
|
|
766
876
|
"rules": [
|
|
767
877
|
"source-role-authority",
|
|
768
|
-
"native-dispatch"
|
|
878
|
+
"native-dispatch",
|
|
879
|
+
"native-lifecycle"
|
|
769
880
|
],
|
|
770
881
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
771
882
|
},
|
|
772
883
|
{
|
|
773
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
884
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
774
885
|
"artifact": "prompts/source/terminal/complex.md",
|
|
775
886
|
"consumer": "src/roles.ts: persona",
|
|
776
887
|
"rules": [
|
|
777
888
|
"source-role-authority",
|
|
778
|
-
"native-dispatch"
|
|
889
|
+
"native-dispatch",
|
|
890
|
+
"native-lifecycle"
|
|
779
891
|
],
|
|
780
892
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
781
893
|
},
|
|
782
894
|
{
|
|
783
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
895
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
784
896
|
"artifact": "prompts/source/terminal/deep.md",
|
|
785
897
|
"consumer": "src/roles.ts: persona",
|
|
786
898
|
"rules": [
|
|
787
899
|
"source-role-authority",
|
|
788
|
-
"native-dispatch"
|
|
900
|
+
"native-dispatch",
|
|
901
|
+
"native-lifecycle"
|
|
789
902
|
],
|
|
790
903
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
791
904
|
},
|
|
792
905
|
{
|
|
793
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
906
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
794
907
|
"artifact": "prompts/source/terminal/documenting.md",
|
|
795
908
|
"consumer": "src/roles.ts: persona",
|
|
796
909
|
"rules": [
|
|
797
910
|
"source-role-authority",
|
|
798
|
-
"native-dispatch"
|
|
911
|
+
"native-dispatch",
|
|
912
|
+
"native-lifecycle"
|
|
799
913
|
],
|
|
800
914
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
801
915
|
},
|
|
802
916
|
{
|
|
803
|
-
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor;
|
|
917
|
+
"source": "src/hooks/config.ts: terminalPromptSuffixFor/delegationContractFor; scripts/sync-source-assets.mjs: DSH identity adaptation",
|
|
804
918
|
"artifact": "prompts/source/terminal/cross-cutting.md",
|
|
805
919
|
"consumer": "src/roles.ts: persona",
|
|
806
920
|
"rules": [
|
|
807
921
|
"source-role-authority",
|
|
808
|
-
"native-dispatch"
|
|
922
|
+
"native-dispatch",
|
|
923
|
+
"native-lifecycle"
|
|
809
924
|
],
|
|
810
925
|
"test": "test/prompts.test.ts; test/roles.test.ts; test/source-sync.test.ts"
|
|
811
926
|
},
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
<dsmm-host-contract>
|
|
2
|
-
Use the current DSH 0.2.0-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.
|
|
3
|
-
Logical source role names map to dsmm-<name> (explore is only the code-search alias).
|
|
2
|
+
Use the current DSH 0.2.0-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.
|
|
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
|
+
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.
|
|
4
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
|
-
|
|
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
|
+
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.
|
|
6
8
|
</dsmm-host-contract>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<ocmm-locale-guidance>
|
|
2
2
|
Language and locale:
|
|
3
|
-
-
|
|
4
|
-
-
|
|
3
|
+
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
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.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<ocmm-review-session-efficiency-policy>
|
|
12
12
|
## Review Session Efficiency Policy
|
|
13
13
|
A review stage is one role, one authoritative artifact or decision target, and one review objective from initial dispatch through corrections until approval or receipt, abandonment, or handoff to another workflow phase.
|
|
14
|
-
Continue the same reviewer or plan-critic native
|
|
14
|
+
Continue the same reviewer or plan-critic child only when it was started in native continuable mode, its returned child ID is valid, and the exposed send_message surface permits that follow-up. A one-shot result has no continuation handle: start a fresh permitted focused child with the correction context. Never send task_id, resume or retry fields. Native message acceptance is not review completion.
|
|
15
15
|
A plan-critic rejection followed by a corrected version of the same plan remains the same stage; reviewer findings followed by fixes to the same implementation review also remain the same stage.
|
|
16
16
|
Start a fresh session at every stage boundary: design review to plan review, plan-critic approval to implementation, implementation to final acceptance, or any change of role, artifact, or review objective.
|
|
17
17
|
Also start fresh when prior context is unavailable or invalid for the current target, continuation fails, or intentionally independent evidence is required.
|
package/skills/ast-grep/SKILL.md
CHANGED
|
@@ -8,10 +8,13 @@ description: "Use ast-grep (sg) only when the task explicitly requires exact syn
|
|
|
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
|
|