@dsmm/dsmm 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -66
- 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/docs/agent-presets.md +36 -52
- package/docs/compatibility.md +50 -108
- 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 +83 -2
- package/docs/roadmap.md +71 -17
- package/docs/settings-status.md +34 -169
- package/docs/skill-sync.md +52 -15
- package/lib/child-admission-contract.d.ts +37 -0
- package/lib/child-admission-contract.js +2 -0
- package/lib/child-admission.d.ts +42 -0
- package/lib/child-admission.js +162 -0
- package/lib/child-capture.d.ts +81 -0
- package/lib/child-capture.js +203 -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-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 +68 -0
- package/lib/delivery-authority.js +260 -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 +300 -47
- package/lib/legacy-child-policy.d.ts +51 -0
- package/lib/legacy-child-policy.js +123 -0
- package/lib/legacy-read-composition.d.ts +20 -0
- package/lib/legacy-read-composition.js +144 -0
- package/lib/legacy-read-contracts.d.ts +157 -0
- package/lib/legacy-read-contracts.js +39 -0
- package/lib/legacy-read-host.d.ts +19 -0
- package/lib/legacy-read-host.js +67 -0
- package/lib/legacy-read-integration.d.ts +121 -0
- package/lib/legacy-read-integration.js +522 -0
- package/lib/legacy-read-proxy.d.ts +26 -0
- package/lib/legacy-read-proxy.js +237 -0
- 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 +42 -0
- package/lib/native-child-evidence.js +133 -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 +14 -12
- 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 +377 -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 +49 -8
- package/lib/role-policy.js +437 -60
- package/lib/role-providers.d.ts +1 -1
- package/lib/role-providers.js +30 -35
- package/lib/role-routing.d.ts +11 -2
- package/lib/role-routing.js +42 -25
- package/lib/role-runs.d.ts +135 -0
- package/lib/role-runs.js +304 -0
- package/lib/role-subagents.d.ts +58 -3
- package/lib/role-subagents.js +169 -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 +112 -0
- package/lib/runtime-integration.js +784 -0
- package/lib/runtime-recovery.js +18 -8
- 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 +45 -0
- package/lib/subagent-runtime.js +131 -0
- package/package.json +106 -56
- 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/scripts/cold-profile-composition.mjs +329 -0
- package/scripts/cold-profile-sources.mjs +238 -0
- package/scripts/migrate-cold-profile.mjs +315 -0
- 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/docs/compatibility.md
CHANGED
|
@@ -1,118 +1,76 @@
|
|
|
1
|
-
# DSMM
|
|
1
|
+
# DSMM compatibility and upgrade boundaries
|
|
2
2
|
|
|
3
|
-
This document describes the
|
|
3
|
+
This document describes the **local source candidate**, not a newly published release. The manifest remains `@dsmm/dsmm@0.2.0`, which is an existing registry version; that version string doesn't prove the registry artifact contains these source features. Evaluate the actual local packed artifact. Formal package/smoke checks and authorized installed-host acceptance are separate evidence, and neither is declared complete here.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Supported integration
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Fresh owned keyless Web Hosts proved actual native discovery and central-only versus profile-only writes, same-Home A/B inheritance/override/unset, unchanged refs/fiber, source/revision state, default pins, invalid-number retention, conflict refusal with dirty preservation, cold-off desired-on pending and user-independent restart to mounted-on. Busy-root native fixture proof covers role/skill/recovery changes: old parent/future child stay captured, new root adopts permitted changes, and saves do not cancel/reconcile/remount/respawn LSP. rc.2 emits native compatibility partial-dispose signals on profile patch; actual scope updates, disposal and request cancellation remain zero. Signals are not suppressed or represented as absent.
|
|
20
|
-
|
|
21
|
-
The installed SDK/runtime stays `0.2.0-rc.2` (official source `639ed015397290b3745d163aafe02ffee4aa3f84`). The separate latest official Desktop **source compatibility target** is `deepseek-ai/deepseek-harness` commit `5badb15009ae1756c3afe0ae0cef1faafc290ccc`, `dsh-v0.2.1-alpha.1`. Its shared PluginManager contracts retain `view: 'summary' | 'page'` and optional `form`; the Desktop carrier uses the shared Web Host, Host-issued cookie and `dsh-app://app` origin forwarding. This is source compatibility, not permission inferred from a loopback-looking URL. The actual invocation peer/operator, public bound host, Host writability and precommit owner/lifetime checks remain required.
|
|
22
|
-
|
|
23
|
-
No official Desktop executable is installed in this acceptance environment. No Electron activation is claimed and no Web screenshot substitutes for it. No SDK upgrade, package/audit tooling installation, account/sign-in, imported browser state or private profile migration occurred. Native host typography/tokens were verified at 375/768/1280 and native dark/light colors; Lighthouse/React audit packages are unavailable, so no audit scores are claimed. Publication, frozen Linux artifact acceptance and authorized Desktop execution remain later gates.
|
|
24
|
-
|
|
25
|
-
### C0 storage and lifecycle contract (source, not C/D completion)
|
|
26
|
-
|
|
27
|
-
The [native parity plan §3.3 and C0](../../docs/superpowers/plans/2026-10-07-dsmm-native-parity.md#33-settings--effective-state) governs the implemented foundation. Version remains 0.1.9. C's role graph/continuation and D's React Config pages/browser acceptance aren't completed by this checkpoint.
|
|
28
|
-
|
|
29
|
-
`src/dsh-home.ts` resolves public `resolveDshHome` through `createRequire` rooted at the declared `dsh-skill-filesystem` peer. Explicit trusted `profileContext.home` wins over `DSH_HOME`, then the official `~/.dsh` default. The fixed `<resolvedDshHome>/plugins/dsmm` directory is DSMM's convention, not an official mandated plugin layout. Missing peer capability fails explicitly; no global developer SDK path or profile-dir-derived home is substituted.
|
|
30
|
-
|
|
31
|
-
The global `config.json` is sparse JSON. Native active-entry/profile overrides use flat optional volatile transport via `DSMM_NATIVE_CONFIG_SCHEMA`; `DSMM_CONFIG_SCHEMA` remains the plain sparse public ABI. Full defaults and business validation are separate. Legacy raw flat input retains explicit values even when equal to defaults. Resolution is defaults → global → explicit native entry/profile → applied immutable named/session overlay. Plain objects merge recursively, arrays replace and unset removes only the current layer's key. Missing values inherit; unknown/prototype keys, non-JSON data and raw refs are rejected. Named overlays still reject roles/skills and startup-only fields.
|
|
32
|
-
|
|
33
|
-
Startup awaits complete global/profile validation before consumer mount and freezes its snapshot; late install doesn't reread desired. New ordinary roots await latest valid desired deployment and the applied immutable overlay. Old roots and their future children retain the full captured snapshot/epoch. An old idle root's explicit profile switch replaces only its runtime overlay on its old deployment baseline. `getSettings(agent)` remains authoritative, and no-argument `getSettings()` is the validated runtime named default, not desired. `modeName`, `promptOrder`, standing presets/materialization and LSP remain startup-scoped. Role policy intersects startup substrate and original permissions; absent startup capability is restart-required. There is no automatic queue, remount or cancellation on save.
|
|
34
|
-
|
|
35
|
-
`ProfileStore.fromCentral(home, profiledir, entryId)` shares central `profiles/` drafts/revisions while `.state/<sha256(canonical-profile-identity+actual-entry)>/` isolates default selections and session sidecars. All central writers share the documents lock. The old explicit `.../dsmm-profiles` public constructor is unchanged. If the current profile's exact old path exists, runtime compatibility is strictly read-only without locks/writes; full immutable pins and origin remain authoritative. Corruption refuses instead of using a central same-name draft. No reads create storage. Explicit non-destructive copy/import is fixture-verified only, not a production migration framework or completed private migration; auth and native sessionPersistence aren't moved.
|
|
36
|
-
|
|
37
|
-
The fixed `dsmmConfig` Remote `describe`/`save` backend accepts exact edits, not file/root/entry arguments. Both require the native invocation peer to equal `connection.operator`, public current `webServer.host === '127.0.0.1'` and `settings.writable === true`. Unknown/remote carriers are unavailable, client `isLoopback` isn't trusted, and reverse proxies/tunnels aren't automatically safe. Lifetime and connection are fenced again before commit. This is only for local writable control operators, not a model tool or anonymous endpoint.
|
|
7
|
+
| Surface | Contract | Boundary |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| Node.js | 22 or later | Required runtime |
|
|
10
|
+
| DSH SDK/component peers | `0.2.0-rc.2` | Current native integration target, not a future-version guarantee |
|
|
11
|
+
| Cordis / Schemastery | `~4.0.4` / `~3.18.4` | Declared package contracts |
|
|
12
|
+
| Native Web UI | Plugins item/bundle/row forms, Settings Profiles and Conversation controls | Actual Host identity and capabilities still required |
|
|
13
|
+
| Desktop source | Official `0.2.1-alpha.1` shared PluginManager/Web Host contracts | Source compatibility only, not executable/Electron activation |
|
|
14
|
+
| CLI/headless | Native deployment configuration and delegation tools | One-shot headless doesn't select Agent presets |
|
|
15
|
+
| TUI | Independent native deployment profile | Package installation doesn't prove every Web client control is exposed in TUI |
|
|
16
|
+
| Managed child runtime | Explicit cold `./subagent-runtime` composition | Not installed by the default bundle |
|
|
17
|
+
| DSMM-managed external LSP | Not enabled in this version; interfaces and original config retained | Automatic MCP mounting stays off even with `lsp.enabled:true`; DSMM settings UI hides LSP controls |
|
|
38
18
|
|
|
39
|
-
|
|
19
|
+
DSMM is the localized package/Core title; Deepwork names its optional module. Deepwork Profiles and `DW …` role labels don't rename package, Loader, command, role, provider or persistence IDs. Native metadata uses exported `locale/en.json` and `locale/zh.json`, not an invented manifest `displayName`.
|
|
40
20
|
|
|
41
|
-
|
|
21
|
+
The LSP restriction doesn't affect DSH's own LSP or independently configured MCP. The retained historical manual patch isn't a supported DSMM activation entry. Existing release checks still independently validate the retained LSP interface; they don't establish automatic integration availability. See [LSP boundary](lsp.md).
|
|
42
22
|
|
|
43
|
-
|
|
23
|
+
## Stable configuration and admission
|
|
44
24
|
|
|
45
|
-
|
|
25
|
+
Core settings remain available without a session and with Deepwork cold-off. Native Global and current-profile saves are independent: Global writes only central `config.json`; the exact native profile form writes only its own patch. Invalid or dirty input remains visible after refusal. There is no Save-all, second configuration store or implicit restart.
|
|
46
26
|
|
|
47
|
-
|
|
27
|
+
The sparse resolution order is defaults → global deployment → explicit native entry/profile → admitted immutable named overlay. Explicit same-default values remain overrides, objects merge, arrays replace, and unset removes only its own layer's key. Runtime profiles may narrow `roles` and select routing, topology and visible-output locale, but can't grant deployment-only route-override permission, mount services, change accounts or replace persistence. Required-role rules don't create missing startup capability. See [profiles](profiles.md) and [settings/status](settings-status.md).
|
|
48
28
|
|
|
49
|
-
|
|
29
|
+
Draft, saved revision, future-default pin and current admission are separate states. Save activates neither scope. Future-default changes leave existing Agents, including blank ones, unchanged. Current-session Apply requires an exact idle ordinary root, selection CAS and admission epoch; it commits only that root's immutable overlay on its existing deployment baseline. Existing children retain their original captures, and later children inherit the new parent admission. Busy or stale targets aren't queued.
|
|
50
30
|
|
|
51
|
-
|
|
31
|
+
Global CAS uses actual-byte revision, cooperative locking, final recheck and atomic replacement. Native profile saves have separate native authorization/CAS, not a cross-layer transaction. These safeguards don't promise a universal transaction against non-cooperating external editors. Configuration RPC requires native invocation peer equal to the operator, public loopback bind, writable Host and owner/lifetime rechecks. Remote or unknown carriers refuse; a client `isLoopback` claim, tunnel or loopback-looking URL isn't authority.
|
|
52
32
|
|
|
53
|
-
|
|
33
|
+
Cold resume creates a new admission using valid deployment and the exact committed sidecar, or the scoped future default when no sidecar exists. Corrupt/unavailable sidecars don't silently fall back. Clear/compact doesn't transfer choices through inferred lineage. An exact old `<profileContext.dir>/dsmm-profiles` library remains strictly read-only with its original immutable pins; central same-name documents aren't substitutes. Nothing is automatically copied or migrated.
|
|
54
34
|
|
|
55
|
-
|
|
35
|
+
## Models, roles and native controls
|
|
56
36
|
|
|
57
|
-
|
|
37
|
+
Ordinary roots preserve native provider/model/exact effort across activation, Save, profile Apply, later turns and cold resume. **Use profile model** is a separate explicit native action using the current admitted immutable revision. A newer manual selection wins. Locale is captured visible-output preference, subordinate to an explicit user language request, not a change to internal reasoning or technical identifiers.
|
|
58
38
|
|
|
59
|
-
|
|
39
|
+
Eligible child targets use normal by default; low/high/max require explicit exact-target levels. Unsupported effort refuses without downgrade. Per-role and parameterized topologies preserve canonical target filters, definition/provider identity, role matrix, depth and permission checks at execution. Disabled roles remain diagnosable and routing-editable without becoming callable. Orchestrator isn't a child target. `modelSelectionSettings:false` remains unchanged. See [model routing](model-routing.md).
|
|
60
40
|
|
|
61
|
-
|
|
41
|
+
Native child capture records original role, invocation route, locale and authority. Descendants intersect parent allow-lists and accumulate deny-lists. A later parent profile doesn't rewrite child history, lift startup ceilings or recover missing capture. Current exact-parent authority is checked again for delivery, so a retained child capture isn't permission to bypass a newer cutoff. Route comparison uses initial invocation capture and that child's own request header; absent evidence stays unknown.
|
|
62
42
|
|
|
63
|
-
|
|
43
|
+
With background explicitly enabled and native jobs available, a published running foreground one-shot can transfer to background as the **same native run**. This doesn't replay a prompt, create a second child or revive settled work. Run receipts distinguish background, already-background, already-settled and cancelled outcomes.
|
|
64
44
|
|
|
65
|
-
|
|
45
|
+
Only an admitted direct continuable child with ready delivery fencing can accept Queue/Steer or interrupt. Descendant inspection is read-only and doesn't grant non-direct control. Idle/cold continuation keeps the durable child ID. Accepted inbox delivery isn't completion; interrupt acknowledgment isn't completion or proof queued work was removed. Unknown send outcomes retain the draft and disable automatic resend, including after refresh/reconnection. See [Agent presets and child control](agent-presets.md).
|
|
66
46
|
|
|
67
|
-
|
|
47
|
+
`startup-lock` is the default role strategy; bounded `rate-limit-fallback` is explicit. Every retry or switch requires correlated positive no-output evidence. Partial text, reasoning or tool fragments forbid replay, even on the same route. Process-local retry state isn't revived from old headers and generic failures don't authorize hopping. Native lifecycle, model authentication and cancellation stay Host-owned. See [runtime recovery](runtime-recovery.md).
|
|
68
48
|
|
|
69
|
-
|
|
70
|
-
| --- | --- | --- |
|
|
71
|
-
| Node.js | `>=22` | required; final artifact check pending |
|
|
72
|
-
| DSH | `0.2.0-rc.2` | pinned authority; final native acceptance required |
|
|
73
|
-
| Cordis | `~4.0.4` | supported by contract |
|
|
74
|
-
| DSH component peers | `0.2.0-rc.2` | supported by contract |
|
|
75
|
-
| Linux container | `Node 22 Bookworm` | independent frozen-artifact gate required |
|
|
76
|
-
| Windows Desktop | official `0.2.1-alpha.1` fixed source target | shared contract compatibility only; executable absent, Electron unverified |
|
|
77
|
-
| macOS | `Node >=22` | supported by contract |
|
|
78
|
-
| Native Settings | additive Deepwork Profiles client and authenticated RPC | compiled UI/RPC/storage and actual Desktop are separate proofs |
|
|
79
|
-
| Headless | deployment config and native role tools | no Agent preset selection in the one-shot runner |
|
|
80
|
-
| TUI | `DSH 0.2.0-rc.2` | existing official 0.1.6 CLI/TUI installation verified; new 0.1.9 menu proof is Web/Desktop only |
|
|
81
|
-
| LSP/MCP | `external ocmm-lsp mcp` | optional |
|
|
82
|
-
| Runtime recovery | `process-local` | optional |
|
|
83
|
-
| Per-role model/effort/fallback policy | native request, subagent and descriptor seams | opt-in; exact configured capability required |
|
|
84
|
-
| C0 deployment layers | sparse central global base and explicit native entry/profile transport | backend storage/capture plus D real native Web form/CAS proof |
|
|
85
|
-
| Native Plugins | rc.2 item/bundle/row public slots and Host forms | real keyless Web acceptance; independent Global/profile saves and explicit restart |
|
|
86
|
-
| Runtime profiles | central shared drafts/revisions, scoped default/sidecars; strict read-only legacy origin | new-root defaults; explicit idle overlay epochs; origin-pinned cold resume |
|
|
87
|
-
| Durable DSMM metadata | deployment-only `sessionPersistence` on main DSMM entry | explicit startup integration; frozen-artifact/production acceptance pending |
|
|
88
|
-
| DeepSeek V4 Pro calibration | `deepseek-official/deepseek-v4-pro` | optional |
|
|
89
|
-
| DeepSeek V41 Flash calibration | `native DeepSeek providers/deepseek-flash` | optional |
|
|
49
|
+
## Explicit managed runtime composition
|
|
90
50
|
|
|
91
|
-
|
|
51
|
+
The default `cordis.patch.yml` is unchanged and adds only the main DSMM entry. It doesn't replace the stock `subagents` service. Managed delivery needs the explicit cold overlay [patches/subagent-runtime.yml](../patches/subagent-runtime.yml) and an independent restart.
|
|
92
52
|
|
|
93
|
-
|
|
53
|
+
The patch targets stock ID `subagent` with name `@deepseek-ai/dsh-subagent`, disables that row, adds `@dsmm/dsmm/subagent-runtime`, and makes the main DSMM entry depend on `subagents`. Native `name` asserts the target identity; it isn't a rename. Check the actual Host composition before applying it. Preserve spawn/fork/model/Gateway services in the same scope and copy explicit stock capacity/depth configuration into the new runtime row. Keep one active runtime; don't hot-shadow or replace a running stock service.
|
|
94
54
|
|
|
95
|
-
The
|
|
55
|
+
The public `./subagent-runtime` export maps to `lib/runtime-integration.js`. Its default export is `subagentRuntimePlugin`, the Host-owned startup entry that constructs the public DSMM runtime subclass. A separately constructed class isn't proof of Host admission ownership. Runtime projection separates `binding: stock | dsmm | unavailable`, `deliveryFenceReady` and `restartRequired`. Missing native history, providers or admission fencing can't be replaced by an availability flag. Core stays usable, while unavailable controls return a refusal rather than a successful-looking receipt.
|
|
96
56
|
|
|
97
|
-
|
|
57
|
+
## Experimental legacy read
|
|
98
58
|
|
|
99
|
-
|
|
59
|
+
Old children without complete original capture expose conservative evidence, `provenFields` and per-field limitations. Neither the current parent's settings nor a role label proves their old configuration. Legacy child evidence and read-only legacy profile storage are separate mechanisms.
|
|
100
60
|
|
|
101
|
-
The
|
|
61
|
+
The legacy read adapter is **default off**. The consumed programmatic interface is `DsmmHostStartupOptions.experimentalLegacyRead`, passed to the main package's `createDsmmHostPlugin(startup)` or named `apply(ctx, config, hostStartup)` third argument. The old `legacyRead` option isn't consumed. It isn't a deployment/profile YAML field or an RPC switch.
|
|
102
62
|
|
|
103
|
-
|
|
63
|
+
Cold composition requires actual closed Host callbacks for composition capture, read bindings, call context, audit/retirement fault reporting and revocation. The constructor checks those collaborators; serializable assertions aren't a substitute for real Host operation/approval/audit ownership. Export resolution alone doesn't certify that a carrier supplies them.
|
|
104
64
|
|
|
105
|
-
|
|
65
|
+
Cross-process **known-retained-owner cleanup**, **B await/pre-drain ordering** and **published replay** aren't fully verified. This adapter isn't a stable general legacy-execution or cross-process guarantee. An unproven capability remains unavailable, never supplied by a fabricated attestation, inferred approval or permissive fallback. Keep it off for the stable captured-child path; don't weaken existing Core saves, CAS, model intent or permission cutoffs to accommodate it.
|
|
106
66
|
|
|
107
67
|
## Session persistence compatibility
|
|
108
68
|
|
|
109
|
-
DSH 0.2.0-rc.2's
|
|
69
|
+
DSH `0.2.0-rc.2`'s stock `Session.append` can't attach the `ignorable` envelope marker needed for unknown custom events. DSMM's public companion delegates to native JSONL in a separate Context and marks only validated `deepwork/mode` and `dsmm/role-policy` records. DSMM-aware readers retain them; stock readers can skip the marked records. Other event types and malformed metadata aren't broadly declared safe.
|
|
110
70
|
|
|
111
|
-
|
|
71
|
+
Use the **main** `@dsmm/dsmm` entry's deployment-only `sessionPersistence`. The `./session-persistence` export is a library building block, not a second Loader entry. Set the unchanged effective absolute root and effective `zstd` or `none` compression, disable the exact existing native provider at startup, and wait for the companion to become ready. No root is guessed, migrated or hot-replaced. Incompatible durable providers block custom DSMM appends; ephemeral Hosts without persistence remain allowed.
|
|
112
72
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
For the proven stock base Web/headless/Desktop bundle row, the exact target is ID `session-persistence-jsonl` with name `@deepseek-ai/dsh-session-persistence-jsonl`. This is a **conceptual partial patch**, not a ready-to-copy replacement: substitute the actual effective root/compression and include every existing DSMM config value under `config` before use.
|
|
73
|
+
For a composition using the stock row below, this is a **partial template**, not a ready-to-copy replacement:
|
|
116
74
|
|
|
117
75
|
```yaml
|
|
118
76
|
- id: session-persistence-jsonl
|
|
@@ -121,40 +79,24 @@ For the proven stock base Web/headless/Desktop bundle row, the exact target is I
|
|
|
121
79
|
- id: dsmm
|
|
122
80
|
name: '@dsmm/dsmm'
|
|
123
81
|
config:
|
|
124
|
-
# Retain
|
|
82
|
+
# Retain every existing DSMM config value here.
|
|
125
83
|
sessionPersistence:
|
|
126
84
|
root: '<unchanged-effective-absolute-root>'
|
|
127
85
|
compression: '<unchanged-effective-zstd-or-none>'
|
|
128
86
|
```
|
|
129
87
|
|
|
130
|
-
Native
|
|
131
|
-
|
|
132
|
-
This startup contract is not a completed final Docker or global-release result. The frozen-artifact gate must still prove the binding, marked durable writes and native/stock read behavior before authorized rollout. Do not weaken the known-vocabulary guard or treat an export resolving as proof that the service owns durable persistence.
|
|
133
|
-
|
|
134
|
-
This prevents future unsafe DSMM writes but does not repair existing unmarked logs. Any repair needs explicit authorization, a targeted recoverable backup, validation and metadata-only changes. There is no automatic log rewriting, history deletion or general unknown-event bypass. Preserve existing logs and report a failed stock-reader restore instead of silently resetting the session.
|
|
135
|
-
|
|
136
|
-
## Upgrade limits before global rollout
|
|
137
|
-
|
|
138
|
-
DSMM runtime profiles are independent central JSONC drafts, not additional DSH deployment profiles. An existing current-profile legacy library retains its strict read-only origin and pins. Named overlays can't change roles/skills, preset composition, LSP, provider/account/install or `sessionPersistence`. Deployment roles/skills policy can be captured for new ordinary roots only within startup substrate; standing registrations and startup-only consumers require restart. Saving a draft never activates it or rewrites deployment configuration. Apply pins immutable bytes and updates only the scoped selection pointer. See [profiles](profiles.md).
|
|
139
|
-
|
|
140
|
-
Every existing live Agent, **including a blank Agent**, retains its admitted settings when desired deployment is saved or the scoped named default is applied/reset. Explicit current-session selection is separate: native idle maintenance and CAS/epoch checks commit only that ordinary root's sidecar before publishing its immutable admission on the old deployment baseline. Existing children keep their old epoch; later genuinely owned children inherit the new one. Cold resume uses the origin-pinned revision/baseline with current valid desired deployment in a new admission, not the old process's memory snapshot. Sessions without a sidecar keep scoped-global-current behavior. Corrupt/unavailable sidecars never silently fall back; native clear/compact doesn't transfer choices by inferred lineage.
|
|
141
|
-
|
|
142
|
-
Old profile documents remain loadable, but omitted strategy now means safer `startup-lock`: a legacy generic chain no longer causes later generic automatic hopping. `runtimeRecovery.enabled` remains parse-compatible and controls legacy continuation concerns, not the two role strategies. Explicitly opt in per role to bounded `rate-limit-fallback` where desired. Every DSMM retry, including same-route retry, requires correlated native no-output evidence; partial text, reasoning or tool fragments refuse terminally without invoking a competing always-retry owner. See [runtime recovery](runtime-recovery.md).
|
|
143
|
-
|
|
144
|
-
Older sessions directly selected into now-auxiliary roles can fail native cold resume because their root preset ID is no longer registered. This is a known native compatibility limitation, not permission to silently replace the persona, reset a session, or erase its history. Disclose it before rollout and preserve historical data; if restoring such sessions is required, stop and obtain direction rather than substituting a root. Package rollback does not authorize history or credential changes.
|
|
145
|
-
|
|
146
|
-
Global/system Desktop migration is the **third phase**: independent frozen-artifact Docker acceptance first, verified immutable npm/GitHub publication second, and only then authorized Desktop package/configuration changes. Preserve unrelated deployment rows, account/provider catalog, role policies (including disabled Builder), active mode, and UI preferences. Use the installation-owned carrier with the app fully quit; neither standalone CLI nor a renamed/copied Desktop profile is a supported substitute.
|
|
88
|
+
Native patch `config` replaces the whole object. Preserve all existing settings and unrelated rows; another provider ID or a provider-free composition requires its own exact check. Keep one main DSMM Loader source to avoid conflicting native client registrations. Binding, marked durable writes and native/stock read behavior need artifact verification; an export existing isn't proof of persistence ownership.
|
|
147
89
|
|
|
148
|
-
|
|
90
|
+
This prevents unsafe future writes but doesn't repair existing unmarked logs. Any metadata-only repair needs separate authorization, a recoverable targeted backup and validation. Don't bypass unknown-event guards, delete history or silently reset a failed restore.
|
|
149
91
|
|
|
150
|
-
|
|
92
|
+
## Installing or upgrading a real Host
|
|
151
93
|
|
|
152
|
-
|
|
94
|
+
Use a checked local candidate artifact for evaluation, following the [isolated example](../README.md#use-a-local-artifact). Installing registry `0.2.0` isn't a way to obtain these new source interfaces. Publication follows separate [release controls](releasing.md); no new npm publication or automatic Desktop installation is claimed here.
|
|
153
95
|
|
|
154
|
-
|
|
96
|
+
Desktop and CLI/TUI use independent native deployment profiles. A separately authorized real installation must use the correct installation-owned carrier, preserve unrelated Loader rows, provider/account catalogs, role policies and UI preferences, and follow explicit startup requirements. Desktop must be fully quit for package handling. Neither a standalone CLI nor a renamed/copied Desktop profile proves supported Desktop activation. Confirm native inventory and actual UI only with authorization; don't use anonymous RPC as a shortcut.
|
|
155
97
|
|
|
156
|
-
|
|
98
|
+
Old `deepseekV4ProMaxReasoningPresets` and `deepseekFlashMaxReasoningPresets` fields fail with `deprecated-field`. Don't silently rewrite them; explicit levels need a deliberate configuration edit. Older sessions rooted directly in now-auxiliary roles can fail native cold resume because the root preset isn't registered. Preserve their history and obtain direction rather than substituting another persona. Rollback doesn't authorize credential or history changes.
|
|
157
99
|
|
|
158
|
-
|
|
100
|
+
No package operation here authorizes changing real Desktop/TUI configuration, accounts, credentials or history. Do not copy credentials for keyless artifact checks. Platform, packed-runtime, Web and Electron evidence aren't interchangeable; local source capability isn't a release-completion or installed-host certificate.
|
|
159
101
|
|
|
160
|
-
|
|
102
|
+
*Author's note: For a DSH operator upgrading an existing installation; check the exact artifact and Host composition, then authorize only the intended carrier and data-preserving changes.*
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# 原生审批期间切换准入配置:已接受的暂缓风险
|
|
2
|
+
|
|
3
|
+
**状态:风险已接受,暂缓修复;不代表功能已修复。** 适用基线为 DSH `0.2.0-rc.2`,仅豁免下述场景的阶段性验收,不豁免其他测试失败或发布检查。
|
|
4
|
+
|
|
5
|
+
## 触发条件与影响
|
|
6
|
+
|
|
7
|
+
DSMM one-shot 委托等待原生审批期间,父 Agent 成功切换 profile 并发布新的 admission epoch;随后用户点击 Allow,DSMM 仍可能因准入代次不一致返回 `UNAUTHORIZED`。
|
|
8
|
+
|
|
9
|
+
实际 SDK 集成测试已复现:Agent、owner、工具定义和 provider 注册保持不变,批准发生一次,但子任务模型 HTTP 请求尚未发出。该问题是条件触发的可用性及审批语义缺陷,并非所有审批必然失败。暂缓不改变运行时权限,不引入跨调用授权,也不放宽取消、归属或请求撤销保护。
|
|
10
|
+
|
|
11
|
+
临时使用时避免在审批等待期间切换父 Agent 的 profile。需要切换时,先取消待审批调用,再按当前配置重新发起委托;不要无条件重跑整个父任务。
|
|
12
|
+
|
|
13
|
+
## 保留的验证与修复条件
|
|
14
|
+
|
|
15
|
+
完整回归保留在 `test/native-core-review-regressions.test.mjs`,默认以明确原因跳过;设置 `DSMM_TEST_DEFERRED_APPROVAL=1` 可重新执行。测试跳过不能计作该场景通过。
|
|
16
|
+
|
|
17
|
+
当前 one-shot 接口不公开可用于准确关联初始输入与本次启动的消息身份或 dispatch 回执。后续 DSH 版本若提供此类公开接口,或其他可验证的等效机制,应重新评估 DSMM 内部修复,优先不修改外部代码。
|
|
18
|
+
|
|
19
|
+
解除暂缓须验证:原调用在准入更新后获准并完成;采用原始调用对应的配置;后台延迟执行仍能准确关联;其他输入和后续调用不能继承豁免;取消、owner/realm、工具及 provider 身份、既有请求撤销和历史子 Agent 边界均保持有效。升级、安装、修改外部 SDK 或发布仍需单独授权。
|
package/docs/design.md
CHANGED
|
@@ -47,7 +47,7 @@ uninstalled/unverified here. Web screenshots are not Desktop acceptance.
|
|
|
47
47
|
|
|
48
48
|
Build `dsmm` as a dsh-native subtree project that brings ocmm's deepwork workflow, role prompts, skills, model calibration, and safety conventions to DeepSeek Harness without globally enabling them for every session.
|
|
49
49
|
|
|
50
|
-
The first deliverable is an MVP dsh bundle that installs into a profile, registers a `deepwork` mode through dsmm's own Host plugin, and makes the mode's behavior configurable. Later versions add full role/category coverage, guard hooks,
|
|
50
|
+
The first deliverable is an MVP dsh bundle that installs into a profile, registers a `deepwork` mode through dsmm's own Host plugin, and makes the mode's behavior configurable. Later versions add full role/category coverage, guard hooks, model routing, and runtime recovery. DSMM-managed external LSP isn't enabled in this version: the implementation, interfaces and original configuration remain, automatic MCP mounting stays off even with `lsp.enabled:true`, and DSMM's settings UI hides LSP controls. This doesn't affect DSH's own LSP or independently configured MCP. The retained manual patch isn't a supported DSMM activation entry; no LSP delivery is scheduled here.
|
|
51
51
|
|
|
52
52
|
## Non-goals
|
|
53
53
|
|
|
@@ -245,7 +245,7 @@ Every dsmm feature should have a clear control surface:
|
|
|
245
245
|
| workflow skills | on for MVP set | settings |
|
|
246
246
|
| role presets | on when dsh agent presets available | composition config |
|
|
247
247
|
| safety guards | staged, mostly off until implemented | settings |
|
|
248
|
-
|
|
|
248
|
+
| DSMM-managed external LSP | always off in this version | original configuration retained; settings UI hidden; no activation entry |
|
|
249
249
|
|
|
250
250
|
## Docker debugging strategy
|
|
251
251
|
|
package/docs/lsp.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
#
|
|
1
|
+
# DSMM LSP boundary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This version doesn't enable DSMM-managed external LSP. The integration implementation, public interfaces and original `lsp` configuration are retained, but automatic MCP mounting stays off even when stored configuration contains `lsp.enabled:true`. Saving settings, enabling Deepwork or restarting the Host doesn't provide an activation path. DSMM's settings UI hides LSP controls.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The default `cordis.patch.yml` doesn't add an MCP client row. This restriction applies only to DSMM's automatic integration: it doesn't disable DSH's own LSP services or an MCP server independently configured by the operator. DSMM doesn't download servers or native binaries.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Retained manual example
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
The historical [manual patch](../patches/ocmm-lsp-mcp.example.cordis.patch.yml) remains available as a native-host configuration reference, not a supported DSMM activation entry for this version. Independently managed MCP composition remains the operator's responsibility, including executable availability, namespace uniqueness and native lifecycle ownership.
|
|
10
10
|
|
|
11
|
-
The example
|
|
11
|
+
The retained example describes:
|
|
12
12
|
|
|
13
13
|
- `serverName: dsmm_lsp`
|
|
14
14
|
- `command: ocmm-lsp`
|
|
@@ -17,11 +17,9 @@ The example patch uses these LSP/MCP settings:
|
|
|
17
17
|
- `failOnStartupError: true`
|
|
18
18
|
- `toolCallTimeoutMs: 60000`
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
## Retained tool interface
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
With `serverName: dsmm_lsp`, the dsh MCP client exposes these public tool names to the model:
|
|
22
|
+
An independently mounted native MCP client using `serverName: dsmm_lsp` uses the following tool names. This inventory describes the retained interface, not tools automatically available from DSMM in this version:
|
|
25
23
|
|
|
26
24
|
- `mcp__dsmm_lsp__status`
|
|
27
25
|
- `mcp__dsmm_lsp__diagnostics`
|
|
@@ -35,16 +33,8 @@ With `serverName: dsmm_lsp`, the dsh MCP client exposes these public tool names
|
|
|
35
33
|
|
|
36
34
|
`format` applies the language server's document edits to the source file atomically. The debug adapter protocol (DAP) remains a separate debugging surface and is not an MCP tool.
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
The keyless native test mounts the installed `ocmm-lsp` through real MCP, checks all nine actual names including symbol-related, calls status, exercises cancellation/read-only rejection, confirms desired off does not remount, and awaits owned process exit/tool withdrawal. rc.2's auto protocol negotiation may close an initial stdio probe and start the negotiated transport; this is native-equivalent, not multiple simultaneous established servers or a DSMM retry scheduler.
|
|
41
|
-
|
|
42
|
-
## Verification
|
|
43
|
-
|
|
44
|
-
The Windows native cold-query proof uses the unchanged test and a byte-identical, already-installed executable copied into a run-owned temporary fixture. Its first empty-cache request returns one definition and two references; no warm-up, retry, request rewriting or opaque-target parsing is involved. This is isolated bridge verification, not a production relocation policy.
|
|
45
|
-
|
|
46
|
-
The original workspace executable entry still fails in this environment: an owned managed child can read its marker but receives `EPERM` when creating an owned log. The same executable bytes at the temporary entry complete the native query. The underlying protection/permission mechanism has not been identified; this is not proof of a URI or compilation defect, and the default entry has not been repaired. DSMM does not copy binaries persistently, install servers or change system protection/permissions to bypass that restriction. Report actual server failure rather than treating tool discovery or bridge-ready as a successful symbol query.
|
|
36
|
+
DSMM's read-only role restrictions don't grant rename or format permission. The retained `lspRuntime` status interface reports bounded state, diagnostic codes and tool names, not executable paths, arguments or environment values. Tool discovery alone doesn't prove language-server availability or a successful symbol query.
|
|
47
37
|
|
|
48
|
-
|
|
38
|
+
DSMM's automatic external LSP integration isn't a delivered feature in this version. The existing release validator still requires a completed `receipt.lsp` with `directNativeDiagnosticsAndFormat` and `nativeDshMcpClient`; Docker smoke independently exercises the retained interface. These release checks remain required and don't establish a supported DSMM activation path or certify an independently configured server.
|
|
49
39
|
|
|
50
|
-
|
|
40
|
+
The workspace executable entry has an unresolved `EPERM` failure creating a child log in the inspected Windows environment. Repairing that path isn't a prerequisite for implementing this version's DSMM features, but it doesn't waive required release checks. Independently managed MCP users must check their actual server entry; this version doesn't certify or repair that environment.
|
|
@@ -23,7 +23,7 @@ Model selection, authentication, permissions, session ownership, and package loa
|
|
|
23
23
|
| Twelve role presets | Native definitions plus role-specific delegation composition, including builder, creative, reviewer, oracle, and oracle-2nd. | redesigned for DSH |
|
|
24
24
|
| Per-role model/effort and DeepSeek calibration | Explicit `roleRouting`, fixed native child options, direct-role request policy, exact configured efforts, and compatible legacy calibration. | redesigned for DSH |
|
|
25
25
|
| Safety guards | Native pre/post tool policies; host approval/cancellation remain authoritative. | redesigned for DSH |
|
|
26
|
-
| LSP/MCP |
|
|
26
|
+
| LSP/MCP | Implementation, interfaces and original config retained, but DSMM automatic MCP mounting stays off even with `lsp.enabled:true`; LSP settings UI is hidden. DSH's own LSP and independently configured MCP are unaffected. | not enabled in this version |
|
|
27
27
|
| Runtime fallback | Host-first, opt-in role/global ordered chains with exact efforts, cancellation, duplicate, and step fences. | redesigned for DSH |
|
|
28
28
|
| Idle continuation | Separately enabled, bounded steering from durable unfinished work. | redesigned for DSH |
|
|
29
29
|
| Subagent interruption recovery | Native durable child/session control and explicit continuation; no guessed task IDs, synthesized parent messages, or independent automatic retry dispatcher. | redesigned for DSH |
|
|
@@ -46,7 +46,7 @@ The role set includes `dsmm-orchestrator`, `dsmm-planner`, `dsmm-plan-critic`, `
|
|
|
46
46
|
4. Move DSMM settings into the `id: dsmm` profile patch's `config` object and restart; do not copy old settings.yaml into the new home.
|
|
47
47
|
5. Use `workflow.policy: risk-based` for the current workflow. Explicit legacy controls remain supported; inspect normalized status instead of assuming omitted and explicit defaults are equivalent.
|
|
48
48
|
6. Inspect native roles and role-specific tools; do not configure removed `roots/includeUserRoot` or count exported template directories as discovery.
|
|
49
|
-
7.
|
|
49
|
+
7. Don't use `lsp.enabled:true` or the retained historical manual patch as a DSMM activation entry in this version. Existing release checks still independently validate the retained LSP interface; see [LSP boundary](lsp.md). Recovery stays disabled unless explicitly configured.
|
|
50
50
|
8. Validate the packed profile and the real specified model's read/write/tool-result round-trip before changing your default workflow.
|
|
51
51
|
|
|
52
52
|
Model IDs belong to their native provider routes: `deepseek-account/deepseek-flash` and a custom `hoo/deepseek-v4.1-flash` are distinct routes. Configure custom routes through DSH's pi-ai adapter, using credential references rather than literal keys. Provider SDK identity alone is not wire-protocol proof. For the inspected Anthropic gateway, terminal `/v1` must be removed from its source SDK baseURL to retain the same native request path; adaptive thinking compatibility and exact high/max declarations preserve effort. This rule is not a global URL rewrite for other protocols.
|