@dsmm/dsmm 0.1.9 → 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 +46 -58
- package/agent-presets/dsmm-builder/agent.cordis.yml +91 -186
- package/agent-presets/dsmm-builder/preset.yml +1 -1
- package/agent-presets/dsmm-clarifier/agent.cordis.yml +120 -17
- package/agent-presets/dsmm-clarifier/preset.yml +1 -1
- package/agent-presets/dsmm-code-search/agent.cordis.yml +72 -17
- package/agent-presets/dsmm-code-search/preset.yml +1 -1
- package/agent-presets/dsmm-coding/agent.cordis.yml +169 -0
- package/agent-presets/dsmm-coding/preset.yml +3 -0
- package/agent-presets/dsmm-complex/agent.cordis.yml +154 -0
- package/agent-presets/dsmm-complex/preset.yml +3 -0
- package/agent-presets/dsmm-creative/agent.cordis.yml +122 -15
- package/agent-presets/dsmm-creative/preset.yml +1 -1
- package/agent-presets/dsmm-cross-cutting/agent.cordis.yml +179 -0
- package/agent-presets/dsmm-cross-cutting/preset.yml +3 -0
- package/agent-presets/dsmm-deep/agent.cordis.yml +189 -0
- package/agent-presets/dsmm-deep/preset.yml +3 -0
- package/agent-presets/dsmm-doc-search/agent.cordis.yml +72 -17
- package/agent-presets/dsmm-doc-search/preset.yml +1 -1
- package/agent-presets/dsmm-documenting/agent.cordis.yml +168 -0
- package/agent-presets/dsmm-documenting/preset.yml +3 -0
- package/agent-presets/dsmm-frontend/agent.cordis.yml +161 -0
- package/agent-presets/dsmm-frontend/preset.yml +3 -0
- package/agent-presets/dsmm-hard-reasoning/agent.cordis.yml +153 -0
- package/agent-presets/dsmm-hard-reasoning/preset.yml +3 -0
- package/agent-presets/dsmm-media-reader/agent.cordis.yml +72 -17
- package/agent-presets/dsmm-media-reader/preset.yml +1 -1
- package/agent-presets/dsmm-normal-task/agent.cordis.yml +127 -0
- package/agent-presets/dsmm-normal-task/preset.yml +3 -0
- package/agent-presets/dsmm-oracle/agent.cordis.yml +109 -15
- package/agent-presets/dsmm-oracle/preset.yml +1 -1
- package/agent-presets/dsmm-oracle-2nd/agent.cordis.yml +109 -15
- package/agent-presets/dsmm-oracle-2nd/preset.yml +1 -1
- package/agent-presets/dsmm-orchestrator/agent.cordis.yml +174 -190
- package/agent-presets/dsmm-orchestrator/preset.yml +1 -1
- package/agent-presets/dsmm-plan-critic/agent.cordis.yml +102 -16
- package/agent-presets/dsmm-plan-critic/preset.yml +1 -1
- package/agent-presets/dsmm-planner/agent.cordis.yml +134 -15
- package/agent-presets/dsmm-planner/preset.yml +1 -1
- package/agent-presets/dsmm-quick/agent.cordis.yml +132 -0
- package/agent-presets/dsmm-quick/preset.yml +3 -0
- package/agent-presets/dsmm-research/agent.cordis.yml +156 -0
- package/agent-presets/dsmm-research/preset.yml +3 -0
- package/agent-presets/dsmm-reviewer/agent.cordis.yml +108 -16
- package/agent-presets/dsmm-reviewer/preset.yml +1 -1
- package/cordis.patch.yml +1 -5
- package/docs/agent-presets.md +48 -15
- package/docs/compatibility.md +58 -68
- package/docs/deferred-native-approval-risk.md +19 -0
- package/docs/design.md +43 -2
- package/docs/lsp.md +12 -12
- package/docs/migration-from-ocmm.md +10 -2
- package/docs/model-routing.md +84 -59
- package/docs/native-permissions.md +35 -0
- package/docs/profiles.md +43 -64
- package/docs/releasing.md +159 -8
- package/docs/roadmap.md +77 -17
- package/docs/runtime-recovery.md +12 -0
- package/docs/safety-guards.md +7 -3
- package/docs/settings-status.md +46 -40
- package/docs/skill-sync.md +89 -14
- 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.d.ts +18 -0
- package/lib/client/DeploymentPage.js +127 -0
- 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 +32 -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.d.ts +50 -0
- package/lib/client/deployment-controller.js +193 -0
- package/lib/client/deployment-data.d.ts +17 -0
- package/lib/client/deployment-data.js +138 -0
- package/lib/client/deployment-locales.d.ts +70 -0
- package/lib/client/deployment-locales.js +81 -0
- 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 +145 -1
- package/lib/client/locales.d.ts +58 -0
- package/lib/client/locales.js +38 -18
- 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/plugins-contract.d.ts +27 -0
- package/lib/client/plugins-contract.js +2 -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 +36 -0
- package/lib/client.js +6724 -1604
- package/lib/commands.js +3 -0
- package/lib/config-file-store.d.ts +23 -0
- package/lib/config-file-store.js +67 -0
- 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 +60 -0
- package/lib/deployment-config.js +205 -0
- package/lib/deployment-permission-rules.d.ts +55 -0
- package/lib/deployment-permission-rules.js +306 -0
- package/lib/dsh-home.d.ts +3 -0
- package/lib/dsh-home.js +10 -0
- package/lib/dsh-types.d.ts +22 -69
- package/lib/guards.d.ts +3 -2
- package/lib/guards.js +44 -6
- 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 +23 -5
- package/lib/index.js +383 -40
- 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/lsp.d.ts +13 -0
- package/lib/lsp.js +60 -0
- package/lib/managed-settings.d.ts +5 -0
- package/lib/managed-settings.js +14 -0
- package/lib/mode.js +42 -47
- package/lib/model-parameter-policy.d.ts +11 -0
- package/lib/model-parameter-policy.js +27 -0
- package/lib/model-routing.js +33 -19
- package/lib/modules.d.ts +35 -0
- package/lib/modules.js +37 -0
- 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.d.ts +9 -0
- package/lib/native-scope.js +20 -0
- 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/plan-validation.js +6 -44
- package/lib/preset-materializer.js +2 -0
- package/lib/preset-registry.d.ts +1 -1
- package/lib/preset-registry.js +38 -24
- package/lib/preset-skills.d.ts +4 -1
- package/lib/preset-skills.js +60 -19
- 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 +22 -0
- package/lib/profile-remote.js +344 -27
- package/lib/profile-rpc.d.ts +25 -1
- package/lib/profile-rpc.js +143 -3
- package/lib/profile-runtime.d.ts +63 -0
- package/lib/profile-runtime.js +496 -77
- package/lib/profile-store.d.ts +56 -1
- package/lib/profile-store.js +377 -111
- package/lib/profile-types.d.ts +125 -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.d.ts +25 -0
- package/lib/prompt-content.js +27 -0
- package/lib/prompts.d.ts +45 -4
- package/lib/prompts.js +157 -43
- 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 +92 -0
- package/lib/role-policy.js +601 -0
- package/lib/role-providers.d.ts +7 -3
- package/lib/role-providers.js +74 -46
- 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 +63 -4
- package/lib/role-subagents.js +299 -47
- package/lib/roles.d.ts +20 -9
- package/lib/roles.js +87 -216
- 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 +34 -13
- package/lib/session-scope.js +2 -0
- package/lib/settings.d.ts +116 -14
- package/lib/settings.js +455 -149
- package/lib/skills.d.ts +24 -9
- package/lib/skills.js +114 -35
- package/lib/state.d.ts +10 -6
- package/lib/state.js +48 -49
- package/lib/status.d.ts +35 -1
- package/lib/status.js +58 -17
- package/lib/subagent-runtime.d.ts +45 -0
- package/lib/subagent-runtime.js +131 -0
- package/locale/en.json +2 -2
- package/locale/zh.json +2 -2
- package/package.json +112 -45
- 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 +153 -20
- package/prompts/source/agents/clarifier.md +47 -0
- package/prompts/source/agents/orchestrator.md +72 -0
- package/prompts/source/agents/plan-critic.md +29 -0
- package/prompts/source/agents/planner.md +21 -0
- package/prompts/source/agents/reviewer.md +23 -0
- package/prompts/source/catalog.json +548 -0
- package/prompts/source/category/coding.md +46 -0
- package/prompts/source/category/complex.md +29 -0
- package/prompts/source/category/creative.md +40 -0
- package/prompts/source/category/cross-cutting.md +54 -0
- package/prompts/source/category/deep.md +64 -0
- package/prompts/source/category/documenting.md +68 -0
- package/prompts/source/category/frontend.md +38 -0
- package/prompts/source/category/hard-reasoning.md +53 -0
- package/prompts/source/category/normal-task.md +27 -0
- package/prompts/source/category/quick.md +34 -0
- package/prompts/source/category/research.md +58 -0
- package/prompts/source/deepwork/claude-opus-5.md +28 -0
- package/prompts/source/deepwork/codex.md +9 -0
- package/prompts/source/deepwork/default.md +136 -0
- package/prompts/source/deepwork/gemini.md +191 -0
- package/prompts/source/deepwork/glm.md +263 -0
- package/prompts/source/deepwork/gpt.md +49 -0
- package/prompts/source/deepwork/kimi-k27.md +13 -0
- package/prompts/source/deepwork/planner.md +44 -0
- package/prompts/source/deepwork/swe-2.md +13 -0
- package/prompts/source/manifest.json +3233 -0
- package/prompts/source/shared/dsh-host-contract.md +8 -0
- package/prompts/source/shared/locale.md +8 -0
- package/prompts/source/shared/shell-safety.md +7 -0
- package/prompts/source/terminal/builder.md +13 -0
- package/prompts/source/terminal/clarifier.md +41 -0
- package/prompts/source/terminal/code-search.md +39 -0
- package/prompts/source/terminal/coding.md +41 -0
- package/prompts/source/terminal/complex.md +43 -0
- package/prompts/source/terminal/creative.md +41 -0
- package/prompts/source/terminal/cross-cutting.md +43 -0
- package/prompts/source/terminal/deep.md +43 -0
- package/prompts/source/terminal/doc-search.md +39 -0
- package/prompts/source/terminal/documenting.md +41 -0
- package/prompts/source/terminal/frontend.md +41 -0
- package/prompts/source/terminal/hard-reasoning.md +41 -0
- package/prompts/source/terminal/media-reader.md +39 -0
- package/prompts/source/terminal/normal-task.md +41 -0
- package/prompts/source/terminal/oracle-2nd.md +53 -0
- package/prompts/source/terminal/oracle.md +53 -0
- package/prompts/source/terminal/orchestrator.md +26 -0
- package/prompts/source/terminal/plan-critic.md +41 -0
- package/prompts/source/terminal/planner.md +42 -0
- package/prompts/source/terminal/quick.md +39 -0
- package/prompts/source/terminal/research.md +39 -0
- package/prompts/source/terminal/reviewer.md +53 -0
- 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/LICENSE +21 -0
- package/skills/ast-grep/README.md +138 -0
- package/skills/ast-grep/SKILL.md +287 -0
- package/skills/ast-grep/SOURCE +1 -0
- package/skills/ast-grep/install.ps1 +235 -0
- package/skills/ast-grep/install.sh +286 -0
- package/skills/ast-grep/references/cli.md +233 -0
- package/skills/ast-grep/references/install.md +168 -0
- package/skills/ast-grep/references/patterns.md +149 -0
- package/skills/ast-grep/references/pitfalls.md +305 -0
- package/skills/ast-grep/references/recipes.md +404 -0
- package/skills/ast-grep/references/sgconfig.md +250 -0
- package/skills/ast-grep/references/yaml-rules.md +511 -0
- package/skills/ast-grep/scripts/ast_grep_helper.py +760 -0
- package/skills/ast-grep/tests/smoke.ps1 +129 -0
- package/skills/ast-grep/tests/smoke.sh +212 -0
- package/skills/ast-grep/tests/test_resolver.py +154 -0
- package/skills/brainstorming/SKILL.md +123 -9
- package/skills/coding-agent-sessions/LICENSE-UPSTREAM.md +82 -0
- package/skills/coding-agent-sessions/NOTICE.md +24 -0
- package/skills/coding-agent-sessions/SKILL.md +147 -0
- package/skills/coding-agent-sessions/agents/openai.yaml +4 -0
- package/skills/coding-agent-sessions/pyrightconfig.json +5 -0
- package/skills/coding-agent-sessions/references/all-platforms.md +77 -0
- package/skills/coding-agent-sessions/references/claude.md +34 -0
- package/skills/coding-agent-sessions/references/codex.md +32 -0
- package/skills/coding-agent-sessions/references/opencode.md +45 -0
- package/skills/coding-agent-sessions/references/senpi.md +29 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/__init__.py +1 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +140 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/claude.py +66 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/cli.py +283 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/codex.py +105 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py +275 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/jsonio.py +55 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/kiro_scanner.py +91 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/opencode.py +289 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +104 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_optional_scanners.py +203 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_scanners.py +177 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/timeparse.py +51 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py +149 -0
- package/skills/coding-agent-sessions/scripts/agent_sessions/types.py +57 -0
- package/skills/coding-agent-sessions/scripts/find-agent-sessions.py +19 -0
- package/skills/coding-agent-sessions/scripts/tests/test_agent_sessions.py +322 -0
- package/skills/coding-agent-sessions/scripts/tests/test_aside_scanner.py +131 -0
- package/skills/coding-agent-sessions/scripts/tests/test_cli_contract.py +126 -0
- package/skills/coding-agent-sessions/scripts/tests/test_extended_scanners.py +262 -0
- package/skills/coding-agent-sessions/scripts/tests/test_optional_sqlite_scanners.py +79 -0
- package/skills/coding-agent-sessions/scripts/tests/test_pi_family_scanners.py +130 -0
- package/skills/debugging/SKILL.md +130 -4
- package/skills/debugging/references/logging.md +2 -0
- package/skills/debugging/references/methodology/00-setup.md +16 -62
- package/skills/debugging/references/methodology/02-investigate.md +11 -5
- package/skills/debugging/references/methodology/03-flaky-triage.md +6 -4
- package/skills/debugging/references/methodology/04-hard-reasoning-escalation.md +6 -16
- package/skills/debugging/references/methodology/05-escalate.md +2 -0
- package/skills/debugging/references/methodology/06-fix.md +8 -6
- package/skills/debugging/references/methodology/08-qa.md +7 -5
- package/skills/debugging/references/methodology/09-cleanup.md +16 -152
- package/skills/debugging/references/methodology/partial-runtime-evidence.md +7 -18
- package/skills/debugging/references/runtimes/bundled-js-binary.md +3 -16
- package/skills/debugging/references/runtimes/go.md +2 -0
- package/skills/debugging/references/runtimes/native-binary.md +11 -54
- package/skills/debugging/references/runtimes/node.md +6 -15
- package/skills/debugging/references/runtimes/python.md +5 -15
- package/skills/debugging/references/runtimes/rust.md +4 -18
- package/skills/debugging/references/scripts/dap.test.mjs +539 -0
- package/skills/debugging/references/scripts/fixture-adapter.mjs +164 -0
- package/skills/debugging/references/tools/dap.md +4 -2
- package/skills/debugging/references/tools/ghidra.md +6 -15
- package/skills/debugging/references/tools/playwright-cli.md +5 -15
- package/skills/debugging/references/tools/pwndbg.md +2 -0
- package/skills/debugging/references/tools/pwntools.md +6 -16
- package/skills/dispatching-parallel-agents/SKILL.md +96 -7
- package/skills/frontend/.frontend-materialized.json +856 -0
- package/skills/frontend/ATTRIBUTION.md +37 -0
- package/skills/frontend/LICENSE-Apache-2.0.txt +201 -0
- package/skills/frontend/LICENSE-taste-skill.txt +21 -0
- package/skills/frontend/LICENSE-ui-ux-pro-max.txt +21 -0
- package/skills/frontend/SKILL.md +145 -0
- package/skills/frontend/references/design/README.md +256 -0
- package/skills/frontend/references/design/_INDEX.md +206 -0
- package/skills/frontend/references/design/airbnb.md +393 -0
- package/skills/frontend/references/design/airtable.md +92 -0
- package/skills/frontend/references/design/apple.md +250 -0
- package/skills/frontend/references/design/aside.md +211 -0
- package/skills/frontend/references/design/binance.md +348 -0
- package/skills/frontend/references/design/bmw.md +183 -0
- package/skills/frontend/references/design/brutalist-skill.md +92 -0
- package/skills/frontend/references/design/bugatti.md +271 -0
- package/skills/frontend/references/design/cal.md +262 -0
- package/skills/frontend/references/design/claude.md +315 -0
- package/skills/frontend/references/design/clay.md +307 -0
- package/skills/frontend/references/design/clickhouse.md +284 -0
- package/skills/frontend/references/design/clone-from-url.md +69 -0
- package/skills/frontend/references/design/cohere.md +269 -0
- package/skills/frontend/references/design/coinbase.md +132 -0
- package/skills/frontend/references/design/composio.md +310 -0
- package/skills/frontend/references/design/cursor.md +312 -0
- package/skills/frontend/references/design/design-system-architecture.md +250 -0
- package/skills/frontend/references/design/elevenlabs.md +268 -0
- package/skills/frontend/references/design/expo.md +284 -0
- package/skills/frontend/references/design/ferrari.md +317 -0
- package/skills/frontend/references/design/figma.md +223 -0
- package/skills/frontend/references/design/framer.md +249 -0
- package/skills/frontend/references/design/gpt-tasteskill.md +74 -0
- package/skills/frontend/references/design/hashicorp.md +281 -0
- package/skills/frontend/references/design/ibm.md +335 -0
- package/skills/frontend/references/design/image-to-code-skill.md +1228 -0
- package/skills/frontend/references/design/imagegen-brandkit.md +798 -0
- package/skills/frontend/references/design/imagegen-frontend-mobile.md +1465 -0
- package/skills/frontend/references/design/imagegen-frontend-web.md +987 -0
- package/skills/frontend/references/design/interaction-skill.md +52 -0
- package/skills/frontend/references/design/intercom.md +149 -0
- package/skills/frontend/references/design/kraken.md +128 -0
- package/skills/frontend/references/design/lamborghini.md +291 -0
- package/skills/frontend/references/design/linear.app.md +370 -0
- package/skills/frontend/references/design/lovable.md +301 -0
- package/skills/frontend/references/design/mastercard.md +368 -0
- package/skills/frontend/references/design/meta.md +369 -0
- package/skills/frontend/references/design/minimalist-skill.md +85 -0
- package/skills/frontend/references/design/minimax.md +260 -0
- package/skills/frontend/references/design/mintlify.md +329 -0
- package/skills/frontend/references/design/miro.md +111 -0
- package/skills/frontend/references/design/mistral.ai.md +264 -0
- package/skills/frontend/references/design/mongodb.md +269 -0
- package/skills/frontend/references/design/nike.md +366 -0
- package/skills/frontend/references/design/notion.md +312 -0
- package/skills/frontend/references/design/nvidia.md +296 -0
- package/skills/frontend/references/design/ollama.md +270 -0
- package/skills/frontend/references/design/opencode.ai.md +284 -0
- package/skills/frontend/references/design/output-skill.md +49 -0
- package/skills/frontend/references/design/pinterest.md +233 -0
- package/skills/frontend/references/design/playstation.md +367 -0
- package/skills/frontend/references/design/posthog.md +259 -0
- package/skills/frontend/references/design/raycast.md +271 -0
- package/skills/frontend/references/design/react-dev-tooling-skill.md +232 -0
- package/skills/frontend/references/design/redesign-skill.md +178 -0
- package/skills/frontend/references/design/renault.md +314 -0
- package/skills/frontend/references/design/replicate.md +264 -0
- package/skills/frontend/references/design/resend.md +306 -0
- package/skills/frontend/references/design/revolut.md +188 -0
- package/skills/frontend/references/design/runwayml.md +247 -0
- package/skills/frontend/references/design/sanity.md +360 -0
- package/skills/frontend/references/design/sentry.md +265 -0
- package/skills/frontend/references/design/shopify.md +353 -0
- package/skills/frontend/references/design/soft-skill.md +98 -0
- package/skills/frontend/references/design/spacex.md +197 -0
- package/skills/frontend/references/design/spotify.md +249 -0
- package/skills/frontend/references/design/starbucks.md +583 -0
- package/skills/frontend/references/design/stitch-design-example.md +121 -0
- package/skills/frontend/references/design/stitch-skill.md +184 -0
- package/skills/frontend/references/design/stripe.md +325 -0
- package/skills/frontend/references/design/supabase.md +258 -0
- package/skills/frontend/references/design/superhuman.md +255 -0
- package/skills/frontend/references/design/taste-skill.md +1206 -0
- package/skills/frontend/references/design/tesla.md +289 -0
- package/skills/frontend/references/design/theverge.md +342 -0
- package/skills/frontend/references/design/together.ai.md +266 -0
- package/skills/frontend/references/design/uber.md +298 -0
- package/skills/frontend/references/design/vercel.md +313 -0
- package/skills/frontend/references/design/vodafone.md +426 -0
- package/skills/frontend/references/design/voltagent.md +326 -0
- package/skills/frontend/references/design/warp.md +256 -0
- package/skills/frontend/references/design/webflow.md +95 -0
- package/skills/frontend/references/design/wired.md +281 -0
- package/skills/frontend/references/design/wise.md +176 -0
- package/skills/frontend/references/design/x.ai.md +260 -0
- package/skills/frontend/references/design/zapier.md +331 -0
- package/skills/frontend/references/perfection/README.md +264 -0
- package/skills/frontend/references/perfection/react-perf-tooling.md +234 -0
- package/skills/frontend/references/ui-ux-db/README.md +659 -0
- package/skills/frontend/references/ui-ux-db/data/app-interface.csv +31 -0
- package/skills/frontend/references/ui-ux-db/data/charts.csv +26 -0
- package/skills/frontend/references/ui-ux-db/data/colors.csv +162 -0
- package/skills/frontend/references/ui-ux-db/data/google-fonts.csv +1924 -0
- package/skills/frontend/references/ui-ux-db/data/icons.csv +106 -0
- package/skills/frontend/references/ui-ux-db/data/landing.csv +35 -0
- package/skills/frontend/references/ui-ux-db/data/products.csv +162 -0
- package/skills/frontend/references/ui-ux-db/data/react-performance.csv +45 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/angular.csv +51 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/astro.csv +54 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/flutter.csv +53 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/html-tailwind.csv +56 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/jetpack-compose.csv +53 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/laravel.csv +51 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/nextjs.csv +53 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/nuxt-ui.csv +51 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/nuxtjs.csv +59 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/react-native.csv +52 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/react.csv +54 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/shadcn.csv +61 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/svelte.csv +54 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/swiftui.csv +51 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/threejs.csv +54 -0
- package/skills/frontend/references/ui-ux-db/data/stacks/vue.csv +50 -0
- package/skills/frontend/references/ui-ux-db/data/styles.csv +85 -0
- package/skills/frontend/references/ui-ux-db/data/typography.csv +74 -0
- package/skills/frontend/references/ui-ux-db/data/ui-reasoning.csv +162 -0
- package/skills/frontend/references/ui-ux-db/data/ux-guidelines.csv +100 -0
- package/skills/frontend/references/ui-ux-db/data/web-interface.csv +31 -0
- package/skills/frontend/references/ui-ux-db/scripts/core.py +262 -0
- package/skills/frontend/references/ui-ux-db/scripts/design_system.py +1148 -0
- package/skills/frontend/references/ui-ux-db/scripts/search.py +114 -0
- package/skills/frontend/scripts/perfection/lighthouse-audit.py +201 -0
- package/skills/git-master/SKILL.md +115 -0
- package/skills/git-master/agents/openai.yaml +13 -0
- package/skills/init-deep/SKILL.md +282 -0
- package/skills/receiving-code-review/SKILL.md +117 -7
- package/skills/remove-ai-slops/SKILL.md +160 -8
- package/skills/requesting-code-review/SKILL.md +98 -3
- package/skills/requesting-code-review/code-reviewer.md +59 -0
- package/skills/subagent-driven-development/SKILL.md +179 -6
- package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +23 -0
- package/skills/subagent-driven-development/implementer-prompt.md +87 -0
- package/skills/subagent-driven-development/spec-reviewer-prompt.md +37 -0
- package/skills/using-git-worktrees/SKILL.md +144 -0
- package/skills/writing-plans/SKILL.md +126 -7
- package/skills/writing-plans/plan-document-reviewer-prompt.md +47 -0
package/docs/profiles.md
CHANGED
|
@@ -1,21 +1,27 @@
|
|
|
1
|
-
# Deepwork runtime profiles
|
|
1
|
+
# Deepwork runtime profiles
|
|
2
2
|
|
|
3
|
-
This guide describes the
|
|
3
|
+
This guide describes the built source configuration. A published `@dsmm/dsmm@0.2.0` package doesn't automatically contain uncommitted source features; check the actual artifact before using these interfaces. Package availability and Host compatibility are separate from configuration validity. See [compatibility](compatibility.md) and [releasing](releasing.md).
|
|
4
4
|
|
|
5
|
-
A Deepwork
|
|
5
|
+
A named Deepwork profile is a runtime-policy document, not a native deployment profile or Agent preset. Open **Settings → Deepwork Profiles** to browse and edit it. Native **Plugins → DSMM** edits deployment layers instead, as described in [settings and status](settings-status.md).
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Four independent states
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
| File | Purpose |
|
|
9
|
+
| State | What it means |
|
|
12
10
|
| --- | --- |
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
|
|
|
16
|
-
|
|
|
11
|
+
| Draft | Unsaved JSONC in the editor, including invalid input and comments |
|
|
12
|
+
| Saved revision | Validated bytes in the named document; Save changes only these bytes |
|
|
13
|
+
| Future-default pin | An immutable saved revision selected for new unscoped Agents |
|
|
14
|
+
| Current admission | The actual session's captured settings, profile revision and admission epoch |
|
|
15
|
+
|
|
16
|
+
Browsing doesn't activate anything. **Save profile** doesn't select or apply it, even when its ID is already selected. **Set as future default** pins the saved revision, not the dirty draft, and leaves existing Agents unchanged. **Use baseline for future sessions** clears that default without deleting documents.
|
|
17
|
+
|
|
18
|
+
**Apply profile to current session** and **Pin baseline for current session** are separate actions. They target the native view's exact session ID, reserve a truly idle ordinary root, and require both selection CAS and the current admission epoch. Busy, maintenance-owned, disposed, replaced, child or unauthorized targets refuse; nothing is queued. A successful change updates only that root and future children. Existing children keep their original captures.
|
|
19
|
+
|
|
20
|
+
The compact Conversation header menu switches the current-session profile while preserving the native model. Its separate **Use profile model** action asks native model selection to use the current admitted immutable profile's declared main model. It doesn't apply a later saved draft. Native model-default persistence follows the Models tab; newer manual model or effort intent wins. Sessionless controls never create a session.
|
|
17
21
|
|
|
18
|
-
|
|
22
|
+
## Document format
|
|
23
|
+
|
|
24
|
+
A document contains exactly `version: 1`, a filename-matching `id`, optional `label`, and `settings`. IDs contain 1 to 64 lowercase ASCII letters, digits, hyphens or underscores, start with a letter or digit, and can't be Windows reserved names. Labels are bounded text without control characters.
|
|
19
25
|
|
|
20
26
|
```jsonc
|
|
21
27
|
{
|
|
@@ -23,79 +29,52 @@ IDs are filename-safe identifiers, not paths; reserved names, case collisions an
|
|
|
23
29
|
"id": "careful",
|
|
24
30
|
"label": "Careful review",
|
|
25
31
|
"settings": {
|
|
26
|
-
//
|
|
27
|
-
"
|
|
28
|
-
"
|
|
32
|
+
// Omitted fields inherit the captured deployment baseline.
|
|
33
|
+
"locale": "en",
|
|
34
|
+
"roles": { "dsmm-quick": false },
|
|
35
|
+
"subagents": { "toolTopology": "parameterized" },
|
|
29
36
|
"roleRouting": {
|
|
30
37
|
"dsmm-reviewer": {
|
|
31
|
-
"primary": {
|
|
32
|
-
|
|
33
|
-
"model": "my-existing-model",
|
|
34
|
-
"reasoningEffort": "high"
|
|
35
|
-
},
|
|
38
|
+
"primary": { "provider": "my-provider", "model": "review-model" },
|
|
39
|
+
"levels": { "high": { "reasoningEffort": "high" } },
|
|
36
40
|
"fallbackRoutes": [],
|
|
37
|
-
"strategy": "startup-lock"
|
|
38
|
-
"rateLimit": { "maxRetries": 3, "maxTotalDelayMs": 30000 }
|
|
41
|
+
"strategy": "startup-lock"
|
|
39
42
|
}
|
|
40
|
-
}
|
|
41
|
-
"runtimeRecovery": { "enabled": false }
|
|
43
|
+
}
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
```
|
|
45
47
|
|
|
46
|
-
The
|
|
47
|
-
|
|
48
|
-
## Supported settings and precedence
|
|
49
|
-
|
|
50
|
-
The exact top-level `settings` allowlist is:
|
|
51
|
-
|
|
52
|
-
- `defaultActive`
|
|
53
|
-
- `roleRouting`
|
|
54
|
-
- `runtimePolicy` (optional inherited strategy and finite `rateLimit` defaults)
|
|
55
|
-
- `workflow`
|
|
56
|
-
- `guards`
|
|
57
|
-
- `runtimeRecovery`
|
|
58
|
-
- `deepseekV4ProCalibration`, `deepseekV4ProDefaultReasoningEffort`, `deepseekV4ProMaxReasoningPresets`
|
|
59
|
-
- `deepseekFlashCalibration`, `deepseekFlashDefaultReasoningEffort`, `deepseekFlashMaxReasoningPresets`
|
|
60
|
-
|
|
61
|
-
Existing nested validation and finite bounds still apply. Profiles reject deployment-only `roles`, `skills`, `modeName`, `promptOrder`, `section`, `presets`, `lsp`, and `sessionPersistence`, as well as embedded profiles, native provider/account/auth/header/env/install fields, arbitrary Cordis rows, and unknown fields. Structural changes belong in deployment configuration and require restart. A guard setting cannot enable tools forbidden by a canonical read-only role composition.
|
|
62
|
-
|
|
63
|
-
Effective settings resolve in this order: **built-in DSMM defaults → deployment DSMM configuration → selected immutable runtime revision**. Structural settings always come from deployment configuration. No selection means the unchanged deployment baseline, not a synthetic default profile. Omitted fallback policy and explicit empty policy remain distinct through resolution. See [model routing](model-routing.md) and [settings/status](settings-status.md).
|
|
64
|
-
|
|
65
|
-
## Save versus apply
|
|
66
|
-
|
|
67
|
-
Create or open a draft in native Settings and use the role-specific primary provider/model/exact-effort controls, ordered fallback rows, strategy and bounded retry fields. Each role can choose `startup-lock` or `rate-limit-fallback` independently; blank policy fields inherit, zero is explicit, and an empty fallback chain is not inheritance. Provider/model changes clear stale explicit effort. Catalog refresh preserves configured/manual values and does not select the native/global model default. Advanced JSONC remains available for custom routes and other supported settings.
|
|
68
|
-
|
|
69
|
-
Saving validates the draft and preserves edited raw JSONC/comments, but does not activate it—even if the same ID is currently selected. Structured changes edit only their JSONC paths; invalid raw text remains visible and cannot be silently normalized by returning to the form. Unsaved edits must be saved or explicitly discarded before switching away.
|
|
48
|
+
The provider/model must resolve through native DSH, and an exact effort must be supported. Catalog listings are advisory, not authentication or network-health checks. Manual/unlisted routes remain editable. See [model routing](model-routing.md) for level selection and route precedence.
|
|
70
49
|
|
|
71
|
-
|
|
50
|
+
Allowed runtime fields are `defaultActive`, `locale`, `roles`, `roleRouting`, `runtimePolicy`, `workflow`, `guards`, `runtimeRecovery`, `subagents.toolTopology`, and the `deepseekV4Pro`/`deepseekFlash` Calibration and DefaultReasoningEffort fields. Skills, prompt content, preset installation, LSP, session persistence, provider/account credentials, background/depth settings and `subagents.allowRouteOverride` remain deployment-only. `modules` is global-only. Unknown fields are rejected.
|
|
72
51
|
|
|
73
|
-
|
|
52
|
+
`deepseekV4ProMaxReasoningPresets` and `deepseekFlashMaxReasoningPresets` are rejected with `deprecated-field`. They aren't silently ignored or migrated. Configure explicit `roleRouting[id].levels.low/high/max` instead; `normal` is the invocation default, not a configurable level entry. Orchestrator levels aren't supported.
|
|
74
53
|
|
|
75
|
-
|
|
54
|
+
## Inheritance and ceilings
|
|
76
55
|
|
|
77
|
-
|
|
56
|
+
Effective policy resolves from **built-in defaults → sparse global deployment → explicit native entry/profile override → immutable named overlay**. Missing members inherit, arrays replace, and explicit empty fallback chains remain empty. A named primary or level route replaces that route value, including removal of omitted effort, rather than retaining an old route's effort.
|
|
78
57
|
|
|
79
|
-
|
|
58
|
+
Named `roles` can narrow availability, not lift the captured deployment or startup ceiling. Orchestrator, Planner and Plan Critic can't be disabled by a named profile. Under legacy workflow policy, Reviewer is also required when final review isn't off, and Oracle is required for `simple-oracle-complex-reviewer`. Required status doesn't create missing startup capabilities. The editor shows required reason, startup availability, deployment enablement, admitted state, and source/capture separately; routing remains editable for disabled roles.
|
|
80
59
|
|
|
81
|
-
|
|
60
|
+
`locale` supports `en`, `zh-Hans`, `zh-Hant`, `ja`, `ko`, `de`, `fr`, `es`, `pt-BR`, and `ru`. Omission inherits deployment preference, then applicable native/user language guidance or conversation context. A current user's explicit output-language request wins and should be preserved in child assignments. Locale affects visible replies, plans and role output only, not internal reasoning, UI/project locale, identifiers, commands or exact quotations. A parent's later profile change doesn't rewrite a child's captured preference.
|
|
82
61
|
|
|
83
|
-
|
|
62
|
+
## JSONC, diagnostics and concurrency
|
|
84
63
|
|
|
85
|
-
|
|
64
|
+
Structured controls and Advanced JSONC edit the same draft. Path edits preserve unrelated bytes and comments. Invalid raw input stays visible and isn't normalized by switching back to the form. Save or explicitly discard dirty changes before changing the editor's document or selecting its saved revision.
|
|
86
65
|
|
|
87
|
-
|
|
66
|
+
The only nonblocking warning is `blank-label`: the profile ID is used for display, and the original document can still be saved and selected. Saved, draft, future-pin and current-admission warnings are distinct. Validation errors carry a stable reason, schema-safe field and, when available, JSONC offset/length and line/column. Unknown key names aren't echoed as trusted diagnostic fields. Duplicate keys, unsafe keys, malformed routes, unsupported values and retired fields block validation.
|
|
88
67
|
|
|
89
|
-
|
|
68
|
+
Saves and selections require expected revisions. Cooperative writers share a lock, recheck the revision before commit, and use same-directory atomic replacement. A conflict retains the draft and prior selection: refresh and reconcile explicitly. A non-cooperating editor can still race between the final recheck and rename; this isn't a universal external-editor transaction. Failed pointer commits retain the prior selection, though an unused immutable revision may remain.
|
|
90
69
|
|
|
91
|
-
|
|
70
|
+
## Storage and lifetime
|
|
92
71
|
|
|
93
|
-
|
|
72
|
+
The central store is `<resolvedDshHome>/plugins/dsmm/profiles/`, a DSMM convention. Trusted home resolution uses explicit `profileContext.home`, then `DSH_HOME`, then the official `~/.dsh` default. Shared named drafts and immutable revisions are separate from selection/session state scoped to canonical native profile identity and the actual DSMM entry ID. Reads don't create files or locks. Clients and models can't choose arbitrary roots or entry identities.
|
|
94
73
|
|
|
95
|
-
|
|
74
|
+
An existing exact `<profileContext.dir>/dsmm-profiles` library binds that runtime to strict read-only legacy storage. Its original pins and session records remain authoritative; a same-name central document isn't a fallback. Invalid, missing, linked, unstable or digest-mismatched references refuse. There is no automatic copy, migration or source deletion. Explicit import needs separate source authority and must preserve the reference graph without overwriting conflicts.
|
|
96
75
|
|
|
97
|
-
|
|
76
|
+
Startup freezes deployment and mounted capabilities before consumers install. New ordinary roots capture current valid desired deployment plus the selected immutable overlay. Existing roots, including blank ones, keep their full captures; idle profile Apply replaces only the allowed overlay on that root's old deployment baseline. `getSettings(agent)` is authoritative for an existing Agent. Cold resume creates a new live admission from current valid deployment and its committed sidecar, or the scoped future default when no sidecar exists; it doesn't restore an exited process's memory snapshot.
|
|
98
77
|
|
|
99
|
-
|
|
78
|
+
Profile Apply never changes the native root model, remounts startup services or upgrades role permissions. Deepwork mode intent is separately saved and survives profile changes. Children retain their original route/locale/authority evidence, intersected with current exact-parent authority for delivery; see [Agent presets and child control](agent-presets.md).
|
|
100
79
|
|
|
101
|
-
|
|
80
|
+
*Author's note: For a DSH operator editing named policy; save first, then choose the intended future or current-session scope explicitly.*
|
package/docs/releasing.md
CHANGED
|
@@ -1,4 +1,155 @@
|
|
|
1
|
-
#
|
|
1
|
+
# DSMM Source Readiness, Release and Rollback
|
|
2
|
+
|
|
3
|
+
## 0.2.2 stable native release contract
|
|
4
|
+
|
|
5
|
+
The reviewed source identity is **@dsmm/dsmm@0.2.2**, tag **dsmm-scoped-v0.2.2**, artifact **dsmm-dsmm-0.2.2.tgz**. This is a distinct source and acceptance contract, not a relabelled 0.2.1 or 0.2.0 receipt or an inferred later-version override. Every historical tag, package, asset and receipt remains immutable. Separately authorized parent-owned Git operations select the final committed source; a working checkout or local smoke receipt is not release completion or publication authorization.
|
|
6
|
+
|
|
7
|
+
### Stable delivery boundary
|
|
8
|
+
|
|
9
|
+
The sixteen public exports are `.`, `./preset-skills`, `./session-persistence`, `./subagent-runtime`, `./legacy-read-host`, `./managed-settings`, `./llm-runtime`, `./permission-bash`, `./permission-pwsh`, `./permission-fs`, `./permission-fs-search`, `./permission-web`, `./client`, `./package.json`, `./locale/en.json` and `./locale/zh.json`. The `./subagent-runtime` entry resolves to the real **Host-owned native plugin** `lib/runtime-integration.{js,d.ts}`, not the internal runtime class alone. `./legacy-read-host` exposes a **programmatic library factory**, not a Loader plugin or automatic migration facility. The seven managed-settings/LLM/permission entries resolve to their matching `lib/<entry>.{js,d.ts}` files. `permission-native-command` is a required internal compiled module, not a public export. Runtime JS and declarations, compiled client, packaged locales, skills, licenses and source provenance must all be present and match the frozen tarball and registry installation.
|
|
10
|
+
|
|
11
|
+
Stable acceptance covers configuration levels and topology, locale selection, Profiles draft/global-default/root-overlay/captured-child state, sanitized diagnostics, and native child controls. Saving a draft is not activation; global Apply affects future ordinary roots; current-session Apply is owner-authorized, idle-only and CAS-fenced; captured children retain their original immutable metadata and route. Read-only child policy, lifecycle ownership, before-inbox admission/delivery cutoffs, strict operator/Gateway authority and revision/epoch fences remain mandatory. Core stays mounted cold-off and exposes global/native-profile editors without creating sessions, remounting or silently restarting. A profile cannot bypass the global module master or startup substrate.
|
|
12
|
+
|
|
13
|
+
`experimentalLegacyRead` is **OFF unless explicitly configured through programmatic composition**. The removed `legacyRead` option is not consumed. Automatic legacy migration/rollout and the unfinished experimental legacy surface are not required release gates. The complete 375px/theme/Lighthouse matrix and production authenticated Web/Desktop activation are not claimed by the bounded first-usable browser acceptance.
|
|
14
|
+
|
|
15
|
+
The accepted native Allow/parent admission-epoch deferral is limited to the [documented approval scenario](deferred-native-approval-risk.md). It is not a fix or a waiver of other tests or release checks.
|
|
16
|
+
|
|
17
|
+
DSMM-managed external LSP stays off in this version, including with `lsp.enabled:true`, and its settings controls are hidden. The retained implementation, original configuration and historical manual patch aren't a supported activation entry. DSH's own LSP and independently configured MCP remain unaffected. The current `dsmm-release.mjs` validator still requires a completed `receipt.lsp` with `directNativeDiagnosticsAndFormat` and `nativeDshMcpClient`; `docker-smoke.mjs` independently exercises the retained interface. These requirements apply to the current release contract, not only historical versions. The unresolved Windows workspace-path diagnosis isn't a prerequisite for implementing this version's features and doesn't waive release validation. See [LSP boundary](lsp.md).
|
|
18
|
+
|
|
19
|
+
### Explicit source and receipt APIs
|
|
20
|
+
|
|
21
|
+
The DSMM-local `release-contract.mjs` exposes exact `isSource022`, `sourceContractForVersion`, `startupProfileContract`, `COMPILED_NAMES_022`, `PUBLIC_RUNTIME_EXPORTS_022` and `STABLE_UI_CHECKS_022` policies. `startupProfileContract("0.2.2", {sourceContract: "0.2.2"})` selects **`stable-native-first-022`**. It does not select the 0.2.0 central startup proof or the old menu/mode grammar. An omitted source contract retains the historical default interpretation; an explicit mismatched or unreviewed source contract fails closed. Historical picker/session-profile producers refuse explicit stable native identities rather than fabricate old UI proof. Only exact reviewed versions enter release validators; unknown future versions are refused, never admitted through a SemVer range.
|
|
22
|
+
|
|
23
|
+
`dsmm-release.mjs` selects the shared six-check stable UI grammar only for exact reviewed 0.2.1/0.2.2 identities and binds it to installed version, artifact SHA256, genuine native Gateway/operator, observed RPC/stream activity, actual native bootstrap and cleanup. The 0.2.2 browser receipt kind is `native-client-stable-first-022`; Core, Web and headless native proofs must carry the actual `sourceContract`, installed `packageVersion` and frozen artifact SHA256. `dsmm-registry-install-probe.mjs` selects sixteen exports for 0.2.2 and nine for 0.2.1, with each version's own compiled inventory. `COMPILED_NAMES_022` adds `llm-runtime`, `managed-settings`, `permission-bash`, `permission-pwsh`, `permission-native-command`, `permission-fs`, `permission-fs-search` and `permission-web` JS/declaration pairs. Exact executable skill-resource white lists include packaged helpers and self-tests such as `dap.test.mjs` and `pi_family.py`; unlisted executable skill resources remain refused. `check-dsmm-release-completion.mjs` consumes these local validators; Root controls and all historical metadata, roles, mode, startup, receipt and default interpretations remain unchanged. The 0.2.2 exports and compiled additions do not expand historical inventories. Shared behavior never permits adopting or relabelling another version's proof, digest, commit, run or attempt.
|
|
24
|
+
|
|
25
|
+
`COLD_PROFILE_SCRIPTS_022` requires `scripts/migrate-cold-profile.mjs`, `scripts/cold-profile-composition.mjs` and `scripts/cold-profile-sources.mjs` in the 0.2.2 tarball, in addition to the existing repair-session scripts. The registry probe verifies their installed bytes and requires its `coldMigrationResources` check. These are exact 0.2.2 resources, not additions to the 0.2.1/0.2.0 script white lists. Their delivery does not authorize running a migration or installing into a user profile.
|
|
26
|
+
|
|
27
|
+
The source `check:release` command invokes `check-release-readiness.mjs` for exact 0.2.2. It requires the manifest's sixteen-export and package-files contracts, offline frontend resources, every source-derived compiled JS/declaration pair, required resource trees and operator scripts, including the three cold-profile scripts. It also requires `docs/native-permissions.md` and `docs/deferred-native-approval-risk.md`, license parity, DSMM locale metadata, native client registration and the profile deployment boundary, using a script-free npm pack preview. This source readiness receipt is not frozen-artifact acceptance, registry installation or terminal completion; the dedicated release validator's exact tarball whitelist must also accept the complete package.
|
|
28
|
+
|
|
29
|
+
### Explicit source-test application fixtures
|
|
30
|
+
|
|
31
|
+
Cold-profile source tests require an explicit `DSMM_COLD_PROFILE_SDK_ANCHOR` pointing to the fixed rc.2 SDK manifest and `DSMM_COLD_PROFILE_GENUINE_SEED` pointing to a prepared, platform-matching application seed. Prepare that seed once in a new task-owned temporary directory:
|
|
32
|
+
|
|
33
|
+
```powershell
|
|
34
|
+
$env:DSMM_COLD_PROFILE_SDK_ANCHOR = "<absolute path to the isolated rc.2 SDK package.json>"
|
|
35
|
+
$env:DSMM_COLD_PROFILE_GENUINE_SEED = "<new absolute task-owned temporary directory>"
|
|
36
|
+
node dsmm/test/prepare-cold-profile-genuine-seed.mjs --destination $env:DSMM_COLD_PROFILE_GENUINE_SEED
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
This explicit preparation installs TUI `0.13.0` in an isolated profile and verifies the fixed Desktop source against its Git blob identities. It requires separately authorized network/package provisioning, refuses an existing destination and does not install into user profiles. Source-test consumption is offline: each case receives a physical, independently writable copy of the read-only seed. Missing or invalid inputs fail rather than falling back to a host SDK, downloading implicitly or skipping genuine application checks. Desktop tests invoke its actual `createPluginProfile`; they do not establish Electron activation.
|
|
40
|
+
|
|
41
|
+
CI extracts the fixed SDK into task storage, exposes the same manifest through `DSMM_TEST_DSH_ENTRY` and `DSMM_COLD_PROFILE_SDK_ANCHOR`, prepares one native-platform seed before source tests, and supplies `DSMM_COLD_PROFILE_GENUINE_SEED`. A Windows seed is not a Linux dependency closure. These fixtures do not replace frozen-artifact installation or native browser acceptance.
|
|
42
|
+
|
|
43
|
+
### Fresh frozen-byte CI acceptance
|
|
44
|
+
|
|
45
|
+
The required dedicated workflow sequence is:
|
|
46
|
+
|
|
47
|
+
1. Resolve the exact tag, peeled source, workflow/control commit, event, fixed run/attempt and trusted default-branch ancestry. Verify source inputs in a fresh cold checkout with the fixed offline source snapshot; no old-Root fallback, skip or developer-cache substitution is accepted.
|
|
48
|
+
2. Run source checks and build. Materialize only the explicitly authorized fixed third-party resources before build-bearing commands. Preserve unchanged Root package/lock/dependency policy; missing SDK/native/language-server tools fail and require reporting, not workstation installation.
|
|
49
|
+
3. Pack **once with pinned pnpm**, between pre/post `assert-source` guards. Freeze the exact `dsmm-dsmm-0.2.2.tgz` bytes. Only the checked generated outputs and fixed materialized resources may accompany tracked tagged inputs.
|
|
50
|
+
4. Independently install the frozen artifact into fresh native Web/headless homes. Bind the tarball and every trusted acceptance/support script read-only. No checkout import, repack, receipt adoption or fake callback-only UI is acceptance.
|
|
51
|
+
5. Recheck cold Core, native readonly/persistence/history/lifecycle gates, retained LSP interface smoke checks and real stable browser behavior. The cold public native composition must load base/web/DSMM bundles, explicitly disable stock subagent, load exactly one custom Host-owned runtime and Main, observe binding `dsmm`, `deliveryFenceReady: true`, `restartRequired: false`, and experimental legacy unconfigured/unavailable. Independent LSP smoke isn't activation of DSMM's automatic integration.
|
|
52
|
+
6. Publish those unchanged accepted bytes through GitHub Actions OIDC with genuine CI provenance. No local publish token/static-auth fallback, publish retry or overwrite is permitted.
|
|
53
|
+
7. Verify public registry digests, genuine provenance, exact registry bytes and a fresh profile-owned native headless installation; only then finalize non-overwriting public GitHub assets/checksums.
|
|
54
|
+
8. Run the DSMM-local terminal checker for the exact terminated run/attempt from the released checkout.
|
|
55
|
+
|
|
56
|
+
The real compiled browser gate uses the native Renderer and supported composition-owned operator/Gateway at **1280×900**, with a local deterministic SDK provider and no online account, credentials or quota. Its exact six checks are `publicNativeCapturedChild`, `browserEditSaveWarning`, `browserFutureApplyAndStaleCas`, `browserCurrentApplyAndStaleCas`, `browserChildrenNativeInboxReceipt` and `browserChildrenNativeMessage`. The same receipt also requires a browser-triggered foreground-to-background transition for the exact published native run/child, one idempotent native job, actual job completion/output, read-only child denials and no-event/no-model-call cutoff refusals. Page errors and external requests must be empty; the producer must observe genuine native child message delivery and captured metadata, not merely return completion callbacks. No pre-CI local smoke receipt satisfies this gate: each new frozen CI tarball must exercise these surfaces again.
|
|
57
|
+
|
|
58
|
+
The required read-only hook support set is `profile-ui-harness-{server,browser,native}.mjs`, `native-picker-{harness,browser,proof}.mjs`, `release-contract.mjs`, `stable-native-acceptance.mjs` and `profile-ui-harness-stable021{,-native}.mjs`. The stable021-named files are shared behavior producers, not fixed receipt identities: exact 0.2.2 dispatches to `runStableNativeAcceptance` with `sourceContract: "0.2.2"`, checks the installed manifest and passes that identity into the native browser producer. The historical hook remains available for its own identities. The owned shell renders actual installed Profiles/Children contributions using the native Renderer and native UiSession scope, without replacing vendor bundles or manufacturing a session binding.
|
|
59
|
+
|
|
60
|
+
The owned native root uses the supported `standard` preset composition, including a Jobs controller serving its actual owner scope. Captured child identity binds the native session ID, admission epoch, route and immutable capture; start-count evidence compares the native child catalog. Background request-count evidence binds the original child model and fixture invocation, while native parent completion handling retains the parent's model authority.
|
|
61
|
+
|
|
62
|
+
The 0.2.2 registry visibility budget is **120,000 ms** by default, with at most **300,000 ms** explicitly permitted. Metadata, archive and provenance share one deadline; only post-publication HTTP 404 reads may wait. The special 20-minute policy remains exclusive to historical 0.1.9. Wrong bytes/provenance/identities and non-404 transport failures fail closed; publisher absence checks stay single-shot.
|
|
63
|
+
|
|
64
|
+
### Terminal authority and immutable failure handling
|
|
65
|
+
|
|
66
|
+
After the authorized matching workflow terminates, use the released checkout and a new receipt path:
|
|
67
|
+
|
|
68
|
+
```powershell
|
|
69
|
+
node dsmm/scripts/check-dsmm-release-completion.mjs terminal --run-id <actual-run> --run-attempt <actual-attempt> --control-sha <tagged-control-sha> --receipt <new-022-terminal-receipt.json>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Only exit **0** with receipt outcome **COMPLETED** proves release completion. The five exact jobs (`import-bootstrap` skipped/NOT_APPLICABLE on the future lane), source/tag/control, fixed run/attempt, fresh Docker acceptance, registry install/provenance and public assets/checksums must agree. Workflow success, source tests, local packed smoke or an installed package alone are insufficient. Exit 1/FAILED or 2/UNRESOLVED preserves partial publication: report it, do not move/delete/recreate the tag, adopt another run's proof, repack, overwrite packages/assets or repair in place. A new version or same-identity rerun needs its applicable separate authorization.
|
|
73
|
+
|
|
74
|
+
Actual production login and Electron/Desktop activation remain unexercised; local installation or global/session migration is not authorized by the release proof. Rollback uses supported carrier operations and reviewed immutable versions with CAS/ownership checks, never credential/session restoration or overwriting later user changes.
|
|
75
|
+
|
|
76
|
+
## Historical 0.2.1 source and proof authority
|
|
77
|
+
|
|
78
|
+
The exact **@dsmm/dsmm@0.2.1**, **dsmm-scoped-v0.2.1**, **dsmm-dsmm-0.2.1.tgz** identity retains its first-usable stable native interpretation. Its explicit `isSource021`, `COMPILED_NAMES_021`, `PUBLIC_RUNTIME_EXPORTS_021` and `STABLE_UI_CHECKS_021` policies select `stable-native-first-021` and browser receipt kind `native-client-stable-first-021`. The nine exports, six browser checks, Host-owned runtime, cold Core, CAS/captured-child/readonly/cutoff/background/bootstrap gates, OIDC/frozen-byte/registry/provenance and terminal requirements above apply to its own bytes and identity. Its native subproof interpretation and historical omitted-selector defaults remain unchanged; the 0.2.2 native version/digest fields are not retroactive requirements on old 0.2.1 receipts. The default visibility deadline remains 120,000 ms with a 300,000 ms maximum. `runStable021Acceptance` remains an exact 0.2.1 producer and refuses a 0.2.2 installation. No 0.2.1 artifact or receipt establishes 0.2.2 acceptance or completion.
|
|
79
|
+
|
|
80
|
+
## Historical 0.2.0 source and proof authority
|
|
81
|
+
|
|
82
|
+
The following exact 0.2.0 contract retains its own metadata, catalog, mode/startup and receipt interpretation. It does not define 0.2.1 acceptance or authorize reuse of 0.2.0 bytes.
|
|
83
|
+
|
|
84
|
+
### 0.2.0 working-source authority
|
|
85
|
+
|
|
86
|
+
The reviewed source candidate is **@dsmm/dsmm@0.2.0**, tag **dsmm-scoped-v0.2.0**, artifact **dsmm-dsmm-0.2.0.tgz**. Native parity stages A/B/C0/C/D0/D change the working source; this is not the earlier release-only/menu-visibility candidate. Source readiness is not publication or installation completion. Only separately authorized parent-owned commit/push/tag/release operations may publish these bytes; installation waits for terminal completion. The historical proposal below preserves old identities, installed-state facts and proof contracts; it is not the current product specification or an executable release checklist for these changed bytes.
|
|
87
|
+
|
|
88
|
+
Current native metadata is `{meta: {title: "DSMM", description: <localized nonempty text>}}` in both exported locales. Package `@dsmm/dsmm`, Loader row `dsmm`, commands, public exports and technical role IDs are unchanged. Deepwork is the module/mode name, not the package/Core title. The catalog contains 22 canonical roles/categories (11 base roles and 11 categories) and fourteen configurable Agent-scoped native skills with metadata discovery and lazy resource/body loading. DW Orchestrator, DW Builder and DW Planner are eligible standing roots when enabled; the other 19 are auxiliary, and cross-cutting defaults off. Availability must be established by the actual native catalog/substrate, not template files.
|
|
89
|
+
|
|
90
|
+
### Configuration, mode and captured state
|
|
91
|
+
|
|
92
|
+
The global-only `modules.deepwork.enabled` master defaults `true`; ordinary session mode defaults `false`. A profile's `defaultActive` is not the global master and cannot bypass it. Saved explicit `deepwork/mode` intent wins over the profile mode default, including same-default intent. DW presets default on but are not locked: explicit off retains persona, read-only and Git/Host permissions. Module availability, mode intent and profile selection are separate state, not interchangeable switches.
|
|
93
|
+
|
|
94
|
+
Core stays mounted when Deepwork is cold-off: official native **Plugins → DSMM**, the real bundle/entry Config page and the fixed `dsmmConfig` RPC remain available without creating a session. **Save Global DSMM** edits only central sparse `config.json`; **Save current DSH profile override** edits only the exact entry's native volatile form/patch under Host authorization and revision checks. Named JSONC **Deepwork Profiles** is independent, not a replacement deployment store. `DSMM_CONFIG_SCHEMA` remains the plain/sparse public interface; optional volatile `DSMM_NATIVE_CONFIG_SCHEMA` is separate native transport, not expanded business defaults.
|
|
95
|
+
|
|
96
|
+
Inspection projects schema-allowlisted safe desired/startup/next-root/captured state; arbitrary raw config, paths, provider errors and credentials are not status output. The authorized configuration editor is the explicit raw-editor exception, not a model capability. Every Core RPC still requires actual invocation peer identity equal to `connection.operator`, public `webServer.host === '127.0.0.1'`, Host writability and final owner/lifetime checks; a loopback-looking client URL is not authority. Reads create no files or locks.
|
|
97
|
+
|
|
98
|
+
Saves do not restart, remount, cancel, reapply a named profile or fake a hot switch. Existing busy/blank parents and their future children keep captured deployment/epoch. A new ordinary root admits current valid desired values only within the startup substrate and original permission intersection. An explicit idle session-profile Apply changes only that old root's overlay; existing children remain old. Startup-only or absent module capability is **restart-required**. Desired-on after cold-off remains pending until an independent supported restart; profiles cannot overcome the master ceiling. See [settings/status](settings-status.md), [profiles](profiles.md) and [compatibility](compatibility.md).
|
|
99
|
+
|
|
100
|
+
### Cold tracked source and offline distribution checks
|
|
101
|
+
|
|
102
|
+
A cold tracked checkout has the authored OCMM source inputs, DSMM source-sync assets and generated role presets, but not the gitignored third-party frontend bodies/data/Python or provenance inventory. Default build, source check and readiness remain offline and fail closed until those fixed resources exist. Missing-resource refusal is expected cold-source evidence, not permission for a build to download implicitly.
|
|
103
|
+
|
|
104
|
+
From the repository root, after dependencies have been separately provisioned, run the one explicit source-materialization operation before **any** DSMM build (including `typecheck:test` and `test`, which build internally):
|
|
105
|
+
|
|
106
|
+
```powershell
|
|
107
|
+
node dsmm/scripts/materialize-frontend.mjs --sync
|
|
108
|
+
node dsmm/scripts/materialize-frontend.mjs --check
|
|
109
|
+
node --experimental-strip-types dsmm/scripts/check-source-assets.mjs
|
|
110
|
+
pnpm --dir dsmm build
|
|
111
|
+
pnpm --dir dsmm check:release
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
`--sync` alone permits network access to declared immutable GitHub trees/blobs and LICENSE texts at the three commits in `scripts/frontend-recipe.mjs`. It validates exact mapped paths and Git blob bytes before writing; no third-party Python/script is executed, HEAD substituted or missing path dropped. Offline readiness covers all **118** frontend resources plus provenance, **158** source-sync records and **47** generated role assets. A second sync of a ready tree reports zero requests and zero differences. Keep original Root prompts/skills available for the source validator; do not hand-write generated assets or substitute existing repo caches for cold-source evidence.
|
|
115
|
+
|
|
116
|
+
For byte-preserving tracked-snapshot QA on Windows, use command-local `git -c core.autocrlf=false archive --format=tar --output <owned-snapshot.tar> HEAD`, then extract into a fresh marked directory. This does not change Git configuration. A default archive can apply checkout CRLF conversion even when HEAD's fixed LICENSE blobs are correct; such non-verbatim unowned bytes are deliberately refused by the materializer. Do not normalize or delete a license to bypass that guard. Neither this exact-blob snapshot nor read-only access to already installed dependencies proves a clean Linux `pnpm install`/`allowBuilds` path.
|
|
117
|
+
|
|
118
|
+
The future-source CI step now explicitly runs `node dsmm/scripts/materialize-frontend.mjs --sync` before DSMM build-bearing commands. All normal build/check commands remain offline. This source preparation changes no fixed tag/control identity, publish authentication, retry/deadline, cache, job conclusion, registry lane or immutable receipt policy; it is not evidence that CI or publication is green.
|
|
119
|
+
|
|
120
|
+
Linux source tests require a native Linux dependency closure from the unchanged frozen Root lock and the built Root `dist/bin/ocmm-lsp`. The POSIX session verifier dynamically imports the real `@deepseek-ai/node-addon-system/flock` wrapper, holds its native writer lease, and checks Linux `/proc` for carrier quiescence. A Windows `node_modules` bind is not that closure. CI builds the required frozen-artifact runtime first, records its immutable image ID, and copies its already-installed `@deepseek-ai/dsh@0.2.0-rc.2` directory from a never-started extraction container into fresh `RUNNER_TEMP` storage. The extractor validates SDK identity and contained native preset inputs, removes exactly its created container, and supplies the real manifest through the test-only `DSMM_TEST_DSH_ENTRY` resolver. Source fixtures retain their own scoped registry identity and all source tests run on the host with its normal Linux dependencies, built LSP and independently verified Go and `gopls` executables. The cold-cache Go definition/references test requires both tools; a cached Go SDK alone is not the language-server closure. Additional software provisioning requires separate explicit authorization. No second npm installation, Root manifest/lock change or local diagnostic hook is used. The frozen-artifact gate reuses the same immutable runtime image; workflow-owned tag cleanup is required before the prepare job succeeds. Missing native-addon/platform or language-server tools must remain failures; do not skip tests, forge writer exclusion or relax quiescence. Source SDK/container diagnostics are separate from acceptance of the fixed frozen artifact.
|
|
121
|
+
|
|
122
|
+
Source-validation software provisioning is authorized only for task-owned Docker/CI environments: Go **1.27.2** and gopls **v0.23.0**. CI keeps the toolchain, GOBIN, GOPATH, module/build caches and temporary Go files under a dedicated `RUNNER_TEMP` prefix, disables shared cache restoration and automatic toolchain switching, verifies both exact versions, and adds only the task-owned gopls directory to the job's PATH. No local installation, global Go configuration or Root lock mutation is authorized by this provision.
|
|
123
|
+
|
|
124
|
+
Development distribution acceptance additionally requires script-free `npm pack --dry-run --json --ignore-scripts` and a **real** `npm pack --json --ignore-scripts --pack-destination <marked-temporary-directory>` from the same built source, followed by unpacking and exact path/byte comparison with the preview. The current set is **459 files**, including compiled client/Core outputs, seven public exports, locales, complete skills/vendor resources, attribution/licenses and provenance. Resolve exports and exercise the unpacked module through real pinned rc.2 Cordis Loader, Settings and Gateway lifecycle in a keyless owned fixture: Core read/save/status remains usable cold-off, desired-on is pending, and no model request/job/install occurs. A preview, exports alone or importing checkout runtime does not prove standalone packed behavior. This development npm pack is not the release publisher's frozen pnpm artifact or installed-registry proof.
|
|
125
|
+
|
|
126
|
+
### Three distinct native evidence surfaces
|
|
127
|
+
|
|
128
|
+
1. **Actual Windows rc.2 Web**: real official native Config/Main entry paths and two isolated same-Home profile cases establish native Plugins discovery, independent saves, safe inspection and captured/restart behavior. Stable D evidence may be reused when those inputs are unchanged. A community tab is not the official primary entry point.
|
|
129
|
+
2. **Official Desktop fixed source**: `deepseek-ai/deepseek-harness@5badb15009ae1756c3afe0ae0cef1faafc290ccc` (`0.2.1-alpha.1`) is a shared-contract compatibility target, not an installed SDK upgrade or actual Desktop execution.
|
|
130
|
+
3. **Actual Electron/Desktop**: no executable is installed or run in this acceptance environment. Web/component/packed Loader evidence does not establish Electron activation, private profile migration or production installation.
|
|
131
|
+
|
|
132
|
+
### DSMM-local reviewed release controls
|
|
133
|
+
|
|
134
|
+
The Root controls remain unchanged historical authorities. `.github/workflows/dsmm-release.yml` invokes the source-owned `dsmm/scripts/dsmm-release.mjs`, `dsmm/scripts/check-dsmm-release-completion.mjs`, and `dsmm/scripts/dsmm-registry-install-probe.mjs`. These local controls preserve the original identity checks, frozen bootstrap policy, exact assets/checksums, registry/provenance checks, static-auth refusal, OIDC-only publishing, no repack/retry/overwrite policy and terminal five-job gate. An explicit **0.2.0** contract selects DSMM locale/native metadata, the exact 22-role catalog, current Core compiled outputs and mutable standing DW mode proof; no later version inherits this grammar without review. Shared picker helpers require the DSMM-local caller's `sourceContract: "0.2.0"` argument bound to that exact trusted package version. Default Root consumers reject 0.2.0 picker proof rather than infer the new grammar from a version or receipt flag; default mode-step validation retains the historical eight-scenario grammar. Historical 0.1.x titles, compiled inventories, locked-mode receipts and continuation identities remain valid only for their own identities. Never relabel old receipts as new acceptance.
|
|
135
|
+
|
|
136
|
+
CI packs once with pinned pnpm between local `assert-source` guards from the exact tracked tagged checkout after source/build checks. HEAD, peeled tag, event, workflow/control SHA, package version and trusted default-branch ancestry must agree before and after packing. Dirty tracked DSMM bytes (including a local roadmap edit), nonignored untracked package files, or dirty Root build manifests/lock/workspace/TypeScript configuration refuse packing. The Root inputs are read-only authority checks, not permission to edit them. Build outputs and verified materialized resources are the only generated package surfaces. Do not pack the concurrently edited developer checkout for publication; a fresh tagged Actions checkout includes only the committed roadmap version. Leave unrelated Root work and local plans/journals outside the release artifact.
|
|
137
|
+
|
|
138
|
+
The independent frozen-artifact Docker lane installs the unchanged tarball in fresh native Web/headless homes and drives actual delegation, read-only denials, profile CAS/epoch/history/recovery/model-selection and installed native metadata. The browser menu contract is `native-menu-mode-020`: retain every prior native picker/menu race, geometry, cleanup and authentication nonclaim, plus actual persisted **standing DW off/on** writes. The old locked label is not 0.2.0 proof. A separate cold-off real native Core Host proves strict operator-owned `dsmmConfig`, native entry SettingsForms, independent global/profile saves, no remount/session creation from saves, desired-on restart-required state and the master ceiling. Source tests or a boolean completion label cannot replace this native proof.
|
|
139
|
+
|
|
140
|
+
For 0.2.0, retain the default **120,000 ms** post-publication metadata visibility policy and **300,000 ms maximum** permitted override; the special shared 20-minute visibility policy remains exclusive to historical 0.1.9. Publisher absence checks remain single-shot and no visibility wait authorizes a publish retry. Wrong bytes, identities, provenance or install evidence fail closed. Do not extend budgets or skip proof because CI failed.
|
|
141
|
+
|
|
142
|
+
After the authorized tag's exact workflow run terminates, use the released checkout and a new receipt path:
|
|
143
|
+
|
|
144
|
+
```powershell
|
|
145
|
+
node dsmm/scripts/check-dsmm-release-completion.mjs terminal --run-id <actual-run> --run-attempt <actual-attempt> --control-sha <tagged-control-sha> --receipt <new-020-terminal-receipt.json>
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
Only exit `0` with receipt outcome `COMPLETED` proves release completion. The fixed run/attempt, all five exact job conclusions (`import-bootstrap` skipped for the future lane), tagged source, accepted Docker/package bytes, fresh registry install, genuine provenance and public GitHub assets/checksums must all match. Workflow success alone is insufficient. Exit `1` (`FAILED`) or `2` (`UNRESOLVED`) preserves immutable partial publication: report it, never move/recreate the tag, repack, overwrite assets, adopt another run's receipt, or repair in place. No 0.2.0 publication, production login or Desktop execution is claimed by this source-readiness document.
|
|
149
|
+
|
|
150
|
+
## Historical release-only 0.1.9 proposal (not current authorization)
|
|
151
|
+
|
|
152
|
+
The following procedure and historical facts are retained for audit. References to Deepwork metadata, twelve roles and standing DW locked mode belong to the old proof contract, **not** the current DSMM product above. They must not be applied to new changed bytes or adopted as current completion evidence.
|
|
2
153
|
|
|
3
154
|
This is a prospective procedure for the explicitly authorized 0.1.9 commit, new release and later local Desktop installation, not a completed-release receipt. The new identities are `@dsmm/dsmm@0.1.9`, tag `dsmm-scoped-v0.1.9`, and `dsmm-dsmm-0.1.9.tgz`. Deepwork/DW display names do not rename package or protocol IDs. Existing 0.1.1 and older releases remain immutable. The stopped 0.1.2 tag, frozen artifact and draft Release remain untouched and unpublished: do not dispatch its bootstrap publisher, finalize its draft, overwrite its bytes or move/delete/recreate its tag.
|
|
4
155
|
|
|
@@ -12,7 +163,7 @@ The completed 0.1.4 publication and its separately authorized continuation remai
|
|
|
12
163
|
|
|
13
164
|
The mandatory sequence is **fresh CI pack → independent frozen-byte Docker acceptance → verified OIDC npm/GitHub publication and terminal completion → authorized official-carrier Desktop rollout**. No global/system DSH, Desktop configuration, account/provider, credential, or real-session writes may occur before terminal verified publication. Local readiness alone does not authorize publication or migration.
|
|
14
165
|
|
|
15
|
-
|
|
166
|
+
### Preflight
|
|
16
167
|
|
|
17
168
|
Run these checks from the exact source selected for review; they are readiness evidence, not publication steps. Confirm pinned DSH 0.2.0-rc.2 package/CLI identity, seven exact public exports, both metadata locale resources, peer/client exports, license parity and the exact packed file set. Recheck scoped npm authority and absence of the new version/tag before authorized publication; a registry lookup cannot reserve ownership. Do not change root ocmm/LSP versions or regenerate the unrelated Codex adapter.
|
|
18
169
|
|
|
@@ -37,7 +188,7 @@ Use pnpm for actual install/build/test/**pack/publish**. The `npm pack --dry-run
|
|
|
37
188
|
|
|
38
189
|
For 0.1.9, clean Linux install/build verification must exercise the reviewed pnpm `allowBuilds` policy for exactly `esbuild@0.25.12` and `koffi@3.1.1`, with `strictDepBuilds: true`. A cached native binary or pre-existing `lib` tree cannot establish that the ignored-script failure is repaired. This is distinct from the deliberately script-free metadata dry-run above; do not weaken that diagnostic's lifecycle-script protection or approve all dependency scripts.
|
|
39
190
|
|
|
40
|
-
|
|
191
|
+
### Phase 1: frozen artifact and independent Docker gate
|
|
41
192
|
|
|
42
193
|
Use the dedicated `.github/workflows/dsmm-release.yml` **future tag path** for the authorized `dsmm-scoped-v0.1.9` push, not the old bootstrap dispatch. Tag/version, peeled source commit, control commit and event identity must agree. CI uses pinned Node 24 / pnpm 11.9.0, checks/builds the exact source, verifies generated assets, and packs **one new actual tarball** with pnpm. Inspect `dsmm-dsmm-0.1.9.tgz`, record its actual size/SHA256/SHA1/SHA512 integrity, and freeze it. Never reuse the old 0.1.2 hash/receipt/artifact or any completed successor's bytes.
|
|
43
194
|
|
|
@@ -67,7 +218,7 @@ Bind the hook and every trusted support module explicitly, including `profile-ui
|
|
|
67
218
|
|
|
68
219
|
The native component/RPC/storage test uses a supported composition-owned in-process carrier, not an anonymous production route or copied login. It is distinct from authenticated Desktop activation. Preserve sanitized scenario evidence and inspect the full intended diff before parent-owned authorized release operations. If any required scenario fails or the frozen bytes change, stop before publication/global migration.
|
|
69
220
|
|
|
70
|
-
|
|
221
|
+
### Phase 2: authorized immutable publication
|
|
71
222
|
|
|
72
223
|
Publication requires explicit authorization for the new identity. Recheck `@dsmm/dsmm@0.1.9` and `dsmm-scoped-v0.1.9` are absent. Confirm the one-time npm Trusted Publisher registration for repository `hugefiver/ocmm`, workflow filename `dsmm-release.yml`, with direct publish allowed. If supported setup/MFA is still missing, request that step; do not add a static token fallback or recurring manual release gate. The main ocmm workflow/checker does not cover DSMM: its dedicated workflow and DSMM terminal checker do.
|
|
73
224
|
|
|
@@ -77,7 +228,7 @@ The future publish job revalidates the accepted run/attempt-bound bytes and publ
|
|
|
77
228
|
|
|
78
229
|
Treat both identities as immutable: never overwrite an npm version and never move, delete, or recreate an immutable tag. Readiness documentation and a local tarball do not authorize a publish.
|
|
79
230
|
|
|
80
|
-
|
|
231
|
+
#### Publication identity verification
|
|
81
232
|
|
|
82
233
|
The prospective 0.1.9 release Action verifier gives public metadata, the exact tarball URL and genuine provenance one shared 20-minute (1,200-second / `1200000` ms) visibility deadline, with the `verify` job bounded to 45 minutes. The visibility budget is shared across all three read surfaces, never reset for each stage. Only HTTP 404 reads may wait within that budget; transport failures, other HTTP statuses, wrong bytes, altered source/run identities and invalid provenance still fail closed. This never retries publishing or weakens publisher absence checks. Failures expose only finite stage/code/HTTP-status diagnostics, never raw credentials or provider errors. The old 0.1.8 300-second budget and failed receipt stay immutable; the new controls apply only to the separately authorized new 0.1.9 identity. The original 0.1.7 CI cause remains unproven; this visibility hardening does not repair or reinterpret its failed receipt.
|
|
83
234
|
|
|
@@ -94,7 +245,7 @@ dsh --profile dsmm-0.1.9-verify --dump-config
|
|
|
94
245
|
npm view @dsmm/dsmm@0.1.9 dist.integrity --registry "https://registry.npmjs.org/"
|
|
95
246
|
```
|
|
96
247
|
|
|
97
|
-
|
|
248
|
+
#### Published 0.1.6 continuation (separately authorized)
|
|
98
249
|
|
|
99
250
|
Historical audit reference only: this completed 0.1.6 publication/continuation remains immutable. Do not dispatch it again, republish its package or substitute its completion for the prospective 0.1.9 gate. The preserved identities and original failed history below belong only to 0.1.6.
|
|
100
251
|
|
|
@@ -110,7 +261,7 @@ node scripts/check-dsmm-release-completion.mjs terminal-continuation --origin-ve
|
|
|
110
261
|
|
|
111
262
|
Only exit `0` with `COMPLETED` establishes that historical two-run terminal proof for 0.1.6, not permission for the new 0.1.9 rollout below. A green supplemental run alone is insufficient; `FAILED`/`UNRESOLVED` preserve immutable partial state. The omitted-selector APIs/CLI and old continuation workflow remain fixed to historical 0.1.4; neither that receipt nor its archive/provenance can establish 0.1.6 completion.
|
|
112
263
|
|
|
113
|
-
|
|
264
|
+
### Phase 3: official installed-carrier Desktop rollout
|
|
114
265
|
|
|
115
266
|
Only after terminal 0.1.9 completion may authorized global migration begin. First perform the separately bounded isolated real-model/tool check against the exact registry package. Coordinate a fully quit Desktop, recheck concurrent edits, and preserve a recoverable local snapshot of only task-changed package-manager/DSMM-owned files—not the entire credential or session store. Use the exact installed official Desktop carrier to install `@dsmm/dsmm@0.1.9`. It may manage packages while the app is quit; it may **not** boot/dump the reserved Desktop profile. Never substitute standalone npm DSH, a renamed/copied profile, checkout imports, `app.asar` patches, global PATH/pnpm changes, or auth bypasses. Preserve the enabled state and do not repeat unrelated CLI/TUI installation.
|
|
116
267
|
|
|
@@ -120,7 +271,7 @@ Any old unmarked-log repair remains a separately authorized exact private target
|
|
|
120
271
|
|
|
121
272
|
After a supported restart, verify actual Desktop package 0.1.9 activation, native Deepwork metadata, healthy selectable DW root names, retained auxiliary delegation/read-only denial, and actual Deepwork Profiles UI create/edit/save/apply/reset with independent file/pointer bytes. Verify live even-blank Agents remain unchanged on global Apply and current pinned selection persists across restart. Check one icon-only native profile menu in sessionless, blank and active views, safe refusal feedback and explicit model/effort authority: one normal profile list, one admitted-revision **Use profile model** action, durable Deepwork toggle intent on other presets, and standing DW locked enabled. Confirm accessible-only successes and short sanitized errors. Check unrelated deployment/provider/account/UI state remained intact. If authenticated native Desktop behavior cannot be observed, report that pending boundary; disk files, native metadata reads, headless tests and Docker component proof alone are insufficient for complete integration.
|
|
122
273
|
|
|
123
|
-
|
|
274
|
+
### Rollback
|
|
124
275
|
|
|
125
276
|
Runtime rollback resets to the deployment baseline or explicitly reapplies a reviewed prior configuration with concurrency/revision checks. Never mutate immutable files or restore drafts over later user edits. Existing live Agents retain their snapshots.
|
|
126
277
|
|
package/docs/roadmap.md
CHANGED
|
@@ -101,24 +101,9 @@ Port the highest-value ocmm safety policies into dsh tool events.
|
|
|
101
101
|
- Implemented guard behavior is scoped to dsmm mode or dsmm-managed agents by default, with `always` and `off` settings coverage.
|
|
102
102
|
- Every implemented guard has a settings toggle and documented `[dsmm safety]` failure message in `docs/safety-guards.md`.
|
|
103
103
|
|
|
104
|
-
##
|
|
104
|
+
## LSP boundary for this version
|
|
105
105
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
### Goal
|
|
109
|
-
|
|
110
|
-
Expose ocmm's LSP value through dsh MCP mechanisms.
|
|
111
|
-
|
|
112
|
-
### Deliverables
|
|
113
|
-
|
|
114
|
-
- dsh MCP client configuration for `ocmm-lsp` or a renamed `dsmm-lsp` wrapper.
|
|
115
|
-
- LSP tool documentation for diagnostics, symbols, definitions, references, and rename.
|
|
116
|
-
- Docker smoke test that verifies the MCP server lists tools.
|
|
117
|
-
|
|
118
|
-
### Acceptance
|
|
119
|
-
|
|
120
|
-
- A disposable dsh profile can call at least one LSP diagnostic tool through MCP.
|
|
121
|
-
- Users can keep MCP/LSP disabled while using only dsmm mode prompts.
|
|
106
|
+
DSMM-managed external LSP isn't enabled in this version and has no scheduled delivery here. The implementation, interfaces, original configuration and historical manual patch are retained, but `lsp.enabled:true` doesn't activate automatic MCP mounting and LSP controls are hidden in DSMM's settings UI. DSH's own LSP and independently configured MCP remain unaffected. Existing release checks still independently validate the retained LSP interface; they don't make automatic integration a delivered feature. See [LSP boundary](lsp.md).
|
|
122
107
|
|
|
123
108
|
## v0.6 — Model routing and DeepSeek V4 Pro calibration
|
|
124
109
|
|
|
@@ -184,8 +169,83 @@ Expose dsmm settings ergonomically in dsh web-compatible surfaces while keeping
|
|
|
184
169
|
- Headless users can configure dsmm through files.
|
|
185
170
|
- Web users can inspect effective dsmm settings without editing YAML manually.
|
|
186
171
|
|
|
172
|
+
## Planned directions: Adaptive invocation, Profiles, and child lifecycle
|
|
173
|
+
|
|
174
|
+
Status: **draft directions awaiting detailed planning.** Some underlying capabilities already exist; confirm each gap against the implementation and published package before defining work. These themes aren't the next npm version or a single release batch. The published package version `0.2.0` is separate from the older roadmap stage numbers, which remain unchanged.
|
|
175
|
+
|
|
176
|
+
### Goal and boundaries
|
|
177
|
+
|
|
178
|
+
Let a caller select suitable resources for one role invocation, make Profiles easier to understand, and support task-appropriate delegation and child interaction. This section records candidate goals, not approval to change behavior, public APIs or safety policy.
|
|
179
|
+
|
|
180
|
+
All directions preserve role identity, read-only, tool-filter, depth and permission boundaries, the root native model, immutable revisions and session admission authority. No role enumeration, schema fields or state machine is defined here. Future settings, tools, visible status, prompt guidance and documentation must agree on the eventual contract.
|
|
181
|
+
|
|
182
|
+
### Directions
|
|
183
|
+
|
|
184
|
+
#### Role invocation and routing
|
|
185
|
+
|
|
186
|
+
- Configure multiple resource levels for each eligible role and choose a level for one invocation without duplicating the role. Omission keeps the existing effective route. Whether that default is named `normal`, whether a level declares a complete route or a local effort override, and the override precedence remain to be defined.
|
|
187
|
+
- Show the level actually used in human-readable invocation status. Under either delegation layout, an explicitly authorized provider/model/`reasoningEffort` override applies only to that invocation: it doesn't persist, rewrite the role preset or change the root native model.
|
|
188
|
+
- Plan to remove `deepseekV4ProMaxReasoningPresets` and `deepseekFlashMaxReasoningPresets`, including their consuming paths. Old configurations need a clear diagnostic or an explicit migration; the choice is pending, and silent ignoring isn't acceptable.
|
|
189
|
+
- Keep resource level, adapter `reasoningEffort` and workflow process distinct. Retain the goal of reducing pointless process for small tasks, but a low resource level doesn't automatically cancel verification. Whether process needs a separate setting remains open.
|
|
190
|
+
|
|
191
|
+
#### Delegation-tool topology
|
|
192
|
+
|
|
193
|
+
Retain two candidate layouts: per-workflow-role tools plus one merged category-parameter tool, or two parameterized tools separating workflow roles from categories. This changes entry points, not the identity or permissions of the selected targets. Tool names, role/category classification and the default layout remain open.
|
|
194
|
+
|
|
195
|
+
Both layouts need clear invocation guidance matching the actual callable inventory and parameters, not guidance only for the split layout.
|
|
196
|
+
|
|
197
|
+
#### Locale
|
|
198
|
+
|
|
199
|
+
A global/profile language preference should apply consistently to visible planning and conversation from applicable DSMM roles. Define its inheritance path, supported values and precedence against the user's current language request; report unsupported values clearly. This preference isn't the host UI locale and doesn't change role identity, permissions or routing.
|
|
200
|
+
|
|
201
|
+
Prompt guidance may express an intended thinking language, but can't promise an unobservable internal reasoning language. Preserve code, identifiers, paths, commands, protocol names and quotations in their original form.
|
|
202
|
+
|
|
203
|
+
#### Profiles experience and policy
|
|
204
|
+
|
|
205
|
+
Distinguish the native deployment profile, a named Deepwork runtime profile and an agent role preset. These are conceptual labels, not new configuration fields. Here, "global default" means the named-profile default in the current runtime/deployment-entry scope, not deployment-wide `config.json` or a default shared by every native profile.
|
|
206
|
+
|
|
207
|
+
**Presentation.** User feedback describes controls and explanations as crowded, with existing status cues insufficient or scattered, not wholly absent. Make browsing, an unsaved draft and its saved revision, the global-default pin for future sessions, and the current session's admitted pin and epoch easy to distinguish. With no session, show current-session information as unavailable rather than guessing.
|
|
208
|
+
|
|
209
|
+
Saving isn't selecting the global default or explicitly applying to the current session. Explain these actions, including baseline/reset actions, and show why an action is disabled. Keep long explanations available on demand without hiding blocking reasons or the existence of warnings. Primary actions should remain reachable in a narrow panel. Preserve the native model catalog and Advanced JSONC capabilities without fixing a particular layout. Presentation changes alone don't change document format, storage, revisions, CAS or admission semantics.
|
|
210
|
+
|
|
211
|
+
**Agent availability.** Consider allowing a named runtime profile to disable optional agents and their DSMM-owned functionality, tools and delegation choices. Define the DW-required set before deciding which agents can't be disabled; report disallowed attempts explicitly. This policy can narrow, never exceed, deployment availability. It doesn't rewrite native deployment switches, affect other profiles or promise physical unloading of all inherited Host services. Make disabled-agent reasons visible.
|
|
212
|
+
|
|
213
|
+
Saving or changing the future-session default doesn't automatically change already-admitted sessions. Preserve explicit Apply as a capability governed by existing session authority; define its interaction with this policy rather than removing it or treating it as an implicit save effect.
|
|
214
|
+
|
|
215
|
+
**Diagnostics and tolerance.** Some load/save/apply diagnostics already exist. Improve their precision and availability at configuration surfaces: identify the specific field and reason, with sanitized output that doesn't expose secrets. Retain the user's goal of loading profiles with inconsequential problems as a candidate warning policy, with warnings continuously visible in profile state. Which problems qualify remains open; unknown fields and legacy fields aren't tolerated by default. Don't weaken permission, routing, version, revision or integrity rejection, silently ignore defects, or automatically rewrite the original file.
|
|
216
|
+
|
|
217
|
+
#### Background and child lifecycle
|
|
218
|
+
|
|
219
|
+
Retain four goals: model-chosen background delegation, user-requested foreground-to-background transition, reuse of an existing child, and messages to a running child. Some `run_in_background`, jobs, continuable-child and `send_message` foundations exist. Check what the published package actually exposes and where gaps remain instead of treating all four as missing.
|
|
220
|
+
|
|
221
|
+
Autonomous background choice must respect configuration limits and native ownership, capacity, depth and cancellation boundaries. Define continuable follow-up separately from revival of a terminated one-shot child or recovery across a cold restart; message delivery timing also needs confirmation. An existing child doesn't gain new permissions when its parent changes profile. These goals don't introduce an independent retry scheduler.
|
|
222
|
+
|
|
223
|
+
### Candidate acceptance
|
|
224
|
+
|
|
225
|
+
These are future acceptance targets, not claims of current delivery. Items with pending semantics become assessable only after those decisions are defined.
|
|
226
|
+
|
|
227
|
+
- **Levels, overrides and legacy fields:** configured levels select the effective model/effort for one invocation; omission preserves the existing route, and visible status names the actual level. Authorized overrides don't persist or alter the root native model. The two max-reasoning preset fields have no consuming paths after removal, and old configurations receive the agreed diagnostic or explicit migration. Resource selection alone doesn't waive verification.
|
|
228
|
+
- **Topology:** both candidate layouts can be selected, with invocation guidance matching their callable inventory and parameters. Entry-point changes preserve target role identity and permissions; exact names, classification and default require definition first.
|
|
229
|
+
- **Locale:** supported preferences follow the defined global/profile and current-request precedence consistently across applicable visible role output. Unsupported values are diagnosed; preserved literals aren't translated, and no internal-reasoning or host-UI-language guarantee is implied.
|
|
230
|
+
- **Profile UI states:** browsing, draft/saved revision, future-session default pin and current admitted pin/epoch are distinguishable. No-session state is explicit; save, default selection, Apply and baseline actions have clear effects and visible disabled reasons. Narrow panels retain usable controls, catalog and Advanced JSONC access, with blocking reasons and warning presence visible and existing storage/CAS/admission semantics intact.
|
|
231
|
+
- **Agent disabling:** once the required set and policy are defined, optional-agent disabling narrows admitted availability within deployment limits, with attributable disabled reasons. Required-agent rejection remains explicit. Saves/default changes don't mutate admitted sessions; explicit Apply follows existing authority and doesn't grant old children new permissions.
|
|
232
|
+
- **Diagnostics and tolerance:** field-specific, sanitized diagnostics are available where profiles are configured. Any approved inconsequential defect remains a visible warning while the profile is usable; undefined classes, including unknown or legacy fields, gain no implicit tolerance. Protected rejection and original files remain intact.
|
|
233
|
+
- **Child lifecycle:** verify all four goals through the published invocation surface: autonomous background choice, user foreground-to-background transition, existing-child reuse and running-child messaging. Defined continuation and delivery semantics respect ownership, capacity, depth, cancellation and permissions, without an independent retry scheduler.
|
|
234
|
+
|
|
235
|
+
### Pending decisions
|
|
236
|
+
|
|
237
|
+
- **Invocation contract:** eligible roles and level composition/default naming; full-route versus effort-only precedence; a separate process preference, if needed; diagnostic versus explicit migration for legacy fields; topology names, classification and default.
|
|
238
|
+
- **Language and Profiles policy:** locale values, inheritance and current-request precedence; the DW-required agent set and optional-agent disabling under explicit Apply authority; which inconsequential defects can receive persistent warnings without weakening protected rejection.
|
|
239
|
+
- **Child interaction:** published-package exposure and remaining gaps; autonomous background ownership/capacity/cancellation policy; foreground transition semantics; continuable reuse versus terminated or cold-restart recovery; message timing.
|
|
240
|
+
|
|
187
241
|
## v1.0 — Stable dsmm release
|
|
188
242
|
|
|
243
|
+
### Planned: abstract capabilities and Plugins management
|
|
244
|
+
|
|
245
|
+
**Planned, not implemented.** Introduce default, reusable capability policies and a Plugins management surface with global/profile/role-scoped enablement and tuning, rather than hard-coding another role-specific switch framework. The current role-sized native standard defaults are a bounded composition increment, not that management API or UI.
|
|
246
|
+
|
|
247
|
+
The design must bind each source baseline to an actually inspected version and frozen revision, distinguish Host services from role-owned rows and inherited native child composition, and retain fail-closed read-only/tool/delegation policy when new tools appear. DSH rc.2 is not claimed to provide preset `extends` or automatic standard inheritance. Saves should affect newly admitted roots, without remounting existing roots or rewriting their captured runtime services; any future profile policy must preserve the existing native model, caller-filter, immutable admission and module-off boundaries. No new schema, configuration controls or UI source implement these switches in this increment.
|
|
248
|
+
|
|
189
249
|
Status: the initial scoped package is `@dsmm/dsmm@0.1.0`; `0.1.1` adds native per-role model/effort policies and ordered role fallbacks. The v1.0 stable milestone remains future work and does not imply all OpenCode hooks or client surfaces are compatible.
|
|
190
250
|
|
|
191
251
|
### Goal
|