@dsmm/dsmm 0.3.0 → 0.3.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.
Files changed (245) hide show
  1. package/README.md +26 -40
  2. package/cordis.patch.yml +9 -13
  3. package/docs/agent-presets.md +26 -14
  4. package/docs/compatibility.md +24 -68
  5. package/docs/deferred-native-approval-risk.md +8 -12
  6. package/docs/design.md +25 -254
  7. package/docs/lsp.md +2 -2
  8. package/docs/migration-from-ocmm.md +38 -51
  9. package/docs/model-routing.md +21 -21
  10. package/docs/native-permissions.md +17 -7
  11. package/docs/profiles.md +13 -9
  12. package/docs/releasing.md +25 -311
  13. package/docs/roadmap.md +52 -241
  14. package/docs/runtime-recovery.md +29 -91
  15. package/docs/safety-guards.md +19 -16
  16. package/docs/settings-status.md +23 -11
  17. package/docs/skill-sync.md +17 -17
  18. package/docs/web-fetch-fakeip.md +82 -0
  19. package/lib/child-capture.d.ts +12 -2
  20. package/lib/child-capture.js +22 -5
  21. package/lib/client/ChildPermissions.d.ts +43 -0
  22. package/lib/client/ChildPermissions.js +100 -0
  23. package/lib/client/ChildrenPanel.d.ts +5 -5
  24. package/lib/client/ChildrenPanel.js +6 -18
  25. package/lib/client/DeploymentFields.d.ts +32 -0
  26. package/lib/client/DeploymentFields.js +70 -0
  27. package/lib/client/DeploymentPage.d.ts +21 -6
  28. package/lib/client/DeploymentPage.js +80 -112
  29. package/lib/client/HistoryContinuation.d.ts +7 -0
  30. package/lib/client/HistoryContinuation.js +22 -0
  31. package/lib/client/NativeCommandEntries.d.ts +17 -0
  32. package/lib/client/NativeCommandEntries.js +68 -0
  33. package/lib/client/PermissionPanelEntry.d.ts +8 -0
  34. package/lib/client/PermissionPanelEntry.js +11 -0
  35. package/lib/client/PermissionsPanel.d.ts +3 -1
  36. package/lib/client/PermissionsPanel.js +10 -9
  37. package/lib/client/ProfilesSection.js +8 -6
  38. package/lib/client/RoleAvailability.js +1 -1
  39. package/lib/client/RoleToolView-data.d.ts +35 -0
  40. package/lib/client/RoleToolView-data.js +52 -0
  41. package/lib/client/RoleToolView-locales.d.ts +36 -0
  42. package/lib/client/RoleToolView-locales.js +20 -0
  43. package/lib/client/RoleToolView.d.ts +10 -0
  44. package/lib/client/RoleToolView.js +47 -0
  45. package/lib/client/SessionProfiles.js +51 -24
  46. package/lib/client/TemporaryPermissions.d.ts +21 -0
  47. package/lib/client/TemporaryPermissions.js +94 -0
  48. package/lib/client/children-controller.d.ts +2 -8
  49. package/lib/client/children-controller.js +1 -26
  50. package/lib/client/children-locales.d.ts +27 -52
  51. package/lib/client/children-locales.js +8 -12
  52. package/lib/client/configuration-display.d.ts +5 -0
  53. package/lib/client/configuration-display.js +11 -0
  54. package/lib/client/controller.d.ts +18 -0
  55. package/lib/client/controller.js +118 -28
  56. package/lib/client/deployment-controller.d.ts +13 -1
  57. package/lib/client/deployment-controller.js +84 -24
  58. package/lib/client/deployment-data.d.ts +1 -0
  59. package/lib/client/deployment-data.js +4 -1
  60. package/lib/client/deployment-locales.d.ts +43 -0
  61. package/lib/client/deployment-locales.js +45 -19
  62. package/lib/client/deployment-modules.d.ts +9 -0
  63. package/lib/client/deployment-modules.js +24 -0
  64. package/lib/client/deployment-workspace.d.ts +48 -0
  65. package/lib/client/deployment-workspace.js +123 -0
  66. package/lib/client/history-controller.d.ts +29 -0
  67. package/lib/client/history-controller.js +111 -0
  68. package/lib/client/history-entry.d.ts +11 -0
  69. package/lib/client/history-entry.js +106 -0
  70. package/lib/client/history-locales.d.ts +95 -0
  71. package/lib/client/history-locales.js +41 -0
  72. package/lib/client/index.js +26 -76
  73. package/lib/client/locales.d.ts +13 -0
  74. package/lib/client/locales.js +104 -86
  75. package/lib/client/permission-controller.d.ts +1 -0
  76. package/lib/client/permission-controller.js +3 -2
  77. package/lib/client/permission-locales.d.ts +51 -0
  78. package/lib/client/permission-locales.js +59 -19
  79. package/lib/client/session-labels.js +4 -3
  80. package/lib/client/styles.d.ts +1 -1
  81. package/lib/client/styles.js +9 -8
  82. package/lib/client/temporary-permission-client.d.ts +20 -0
  83. package/lib/client/temporary-permission-client.js +52 -0
  84. package/lib/client/temporary-permission-entry.d.ts +6 -0
  85. package/lib/client/temporary-permission-entry.js +56 -0
  86. package/lib/client.js +5691 -3439
  87. package/lib/commands.js +2 -0
  88. package/lib/config-file-store.d.ts +3 -0
  89. package/lib/config-file-store.js +4 -2
  90. package/lib/config-revision.d.ts +5 -0
  91. package/lib/config-revision.js +11 -0
  92. package/lib/core-permission-authority.js +11 -41
  93. package/lib/deployment-config.d.ts +9 -2
  94. package/lib/deployment-config.js +35 -8
  95. package/lib/deployment-permission-rules.js +19 -7
  96. package/lib/dsh-types.d.ts +1 -1
  97. package/lib/history-candidates.d.ts +30 -0
  98. package/lib/history-candidates.js +176 -0
  99. package/lib/history-codec.d.ts +11 -0
  100. package/lib/history-codec.js +102 -0
  101. package/lib/history-contract.d.ts +44 -0
  102. package/lib/history-contract.js +2 -0
  103. package/lib/history-controller.d.ts +42 -0
  104. package/lib/history-controller.js +329 -0
  105. package/lib/history-policy.d.ts +4 -0
  106. package/lib/history-policy.js +8 -0
  107. package/lib/history-remote.d.ts +28 -0
  108. package/lib/history-remote.js +17 -0
  109. package/lib/history-rpc.d.ts +24 -0
  110. package/lib/history-rpc.js +136 -0
  111. package/lib/history-support.d.ts +15 -0
  112. package/lib/history-support.js +21 -0
  113. package/lib/history-types.d.ts +67 -0
  114. package/lib/history-types.js +2 -0
  115. package/lib/host-llm-startup.js +3 -3
  116. package/lib/host-llm.d.ts +9 -3
  117. package/lib/host-llm.js +48 -8
  118. package/lib/index.d.ts +18 -20
  119. package/lib/index.js +147 -415
  120. package/lib/lifetime.d.ts +4 -0
  121. package/lib/lifetime.js +22 -0
  122. package/lib/live-pi-ai-owner.d.ts +1 -0
  123. package/lib/live-pi-ai-owner.js +8 -4
  124. package/lib/mode.d.ts +3 -2
  125. package/lib/mode.js +28 -41
  126. package/lib/model-routing.d.ts +2 -8
  127. package/lib/model-routing.js +59 -175
  128. package/lib/native-admission.d.ts +77 -0
  129. package/lib/native-admission.js +503 -0
  130. package/lib/native-pi-ai-wire.d.ts +3 -1
  131. package/lib/native-pi-ai-wire.js +47 -13
  132. package/lib/permission-child-control.d.ts +36 -0
  133. package/lib/permission-child-control.js +164 -0
  134. package/lib/permission-control.d.ts +2 -3
  135. package/lib/permission-control.js +7 -0
  136. package/lib/permission-controller.js +2 -2
  137. package/lib/permission-exec-argv.d.ts +32 -0
  138. package/lib/permission-exec-argv.js +171 -0
  139. package/lib/permission-fs-search.js +2 -1
  140. package/lib/permission-fs.js +2 -1
  141. package/lib/permission-native-rules.js +3 -3
  142. package/lib/permission-temporary-files.d.ts +19 -0
  143. package/lib/permission-temporary-files.js +248 -0
  144. package/lib/permission-temporary-grants.d.ts +106 -0
  145. package/lib/permission-temporary-grants.js +198 -0
  146. package/lib/permission-temporary-install.d.ts +25 -0
  147. package/lib/permission-temporary-install.js +86 -0
  148. package/lib/permission-temporary-remote.d.ts +19 -0
  149. package/lib/permission-temporary-remote.js +75 -0
  150. package/lib/permission-temporary-rpc.d.ts +37 -0
  151. package/lib/permission-temporary-rpc.js +154 -0
  152. package/lib/permission-temporary-types.d.ts +47 -0
  153. package/lib/permission-temporary-types.js +2 -0
  154. package/lib/permission-temporary-web.d.ts +11 -0
  155. package/lib/permission-temporary-web.js +154 -0
  156. package/lib/permission-web.js +2 -1
  157. package/lib/preset-registry.js +3 -2
  158. package/lib/preset-skills.d.ts +3 -12
  159. package/lib/preset-skills.js +28 -58
  160. package/lib/profile-diagnostics.d.ts +1 -1
  161. package/lib/profile-diagnostics.js +2 -2
  162. package/lib/profile-remote.js +61 -22
  163. package/lib/profile-rpc.d.ts +4 -3
  164. package/lib/profile-rpc.js +35 -37
  165. package/lib/profile-runtime.d.ts +42 -74
  166. package/lib/profile-runtime.js +314 -617
  167. package/lib/profile-store.d.ts +20 -8
  168. package/lib/profile-store.js +112 -63
  169. package/lib/profile-types.d.ts +19 -4
  170. package/lib/profiles.d.ts +3 -1
  171. package/lib/profiles.js +9 -7
  172. package/lib/prompt-content.d.ts +1 -0
  173. package/lib/prompt-content.js +4 -1
  174. package/lib/prompts.d.ts +2 -12
  175. package/lib/prompts.js +11 -66
  176. package/lib/role-control-remote.d.ts +1 -4
  177. package/lib/role-control-remote.js +8 -36
  178. package/lib/role-control-rpc.d.ts +10 -36
  179. package/lib/role-control-rpc.js +112 -269
  180. package/lib/role-control-types.d.ts +3 -26
  181. package/lib/role-control-types.js +3 -4
  182. package/lib/role-identity.d.ts +5 -0
  183. package/lib/role-identity.js +10 -0
  184. package/lib/role-invocation.d.ts +3 -3
  185. package/lib/role-invocation.js +2 -2
  186. package/lib/role-llm-runtime.js +5 -11
  187. package/lib/role-policy.d.ts +19 -50
  188. package/lib/role-policy.js +136 -508
  189. package/lib/role-providers.d.ts +5 -8
  190. package/lib/role-providers.js +20 -86
  191. package/lib/role-routing.d.ts +1 -3
  192. package/lib/role-routing.js +24 -34
  193. package/lib/role-subagents.d.ts +5 -14
  194. package/lib/role-subagents.js +163 -108
  195. package/lib/runtime-integration.d.ts +5 -78
  196. package/lib/runtime-integration.js +11 -697
  197. package/lib/session-metadata.d.ts +13 -12
  198. package/lib/session-metadata.js +6 -31
  199. package/lib/session-scope.js +2 -1
  200. package/lib/settings.d.ts +5 -18
  201. package/lib/settings.js +19 -43
  202. package/lib/skills.d.ts +1 -0
  203. package/lib/skills.js +5 -1
  204. package/lib/state.d.ts +3 -2
  205. package/lib/state.js +26 -10
  206. package/lib/status.d.ts +1 -9
  207. package/lib/status.js +3 -55
  208. package/lib/web-fetch-address-policy.d.ts +24 -0
  209. package/lib/web-fetch-address-policy.js +189 -0
  210. package/lib/web-fetch-fakeip.d.ts +25 -0
  211. package/lib/web-fetch-fakeip.js +107 -0
  212. package/package.json +124 -106
  213. package/patches/dsh-approval-settlement/@deepseek-ai__dsh-api-gateway@0.2.1-rc.2.patch +13291 -0
  214. package/patches/dsh-approval-settlement/@deepseek-ai__dsh-api-remotes@0.2.1-rc.2.patch +9133 -0
  215. package/patches/dsh-approval-settlement/@deepseek-ai__dsh-client-ui-approval@0.2.1-rc.2.patch +156 -0
  216. package/patches/dsh-approval-settlement/@deepseek-ai__dsh-subagent@0.2.1-rc.2.patch +3546 -0
  217. package/patches/dsh-approval-settlement/@deepseek-ai__dsh-user-approval@0.2.1-rc.2.patch +431 -0
  218. package/patches/dsh-approval-settlement/@deepseek-ai__dsh-web@0.2.1-rc.2.patch +119 -0
  219. package/patches/dsh-approval-settlement/README.md +41 -0
  220. package/patches/dsh-approval-settlement/metadata.json +10 -0
  221. package/patches/dsh-session-activation/@deepseek-ai__dsh-agent-loop@0.2.1-rc.2.patch +383 -0
  222. package/patches/dsh-session-activation/@deepseek-ai__dsh-agent-preset-registry@0.2.1-rc.2.patch +55 -0
  223. package/patches/dsh-session-activation/@deepseek-ai__dsh-api-session-controller@0.2.1-rc.2.patch +16673 -0
  224. package/patches/dsh-session-activation/@deepseek-ai__dsh-client-ui-subagent@0.2.1-rc.2.patch +29 -0
  225. package/patches/dsh-session-activation/@deepseek-ai__dsh-client-ui-workspace@0.2.1-rc.2.patch +196 -0
  226. package/patches/dsh-session-activation/@deepseek-ai__dsh-session-persistence-jsonl@0.2.1-rc.2.patch +35 -0
  227. package/patches/dsh-session-activation/@deepseek-ai__dsh-session-persistence@0.2.1-rc.2.patch +40 -0
  228. package/docs/research/deepseek-v4-pro.md +0 -74
  229. package/docs/research/oh-dsh.md +0 -96
  230. package/lib/agent-registry.d.ts +0 -36
  231. package/lib/agent-registry.js +0 -75
  232. package/lib/child-admission.d.ts +0 -40
  233. package/lib/child-admission.js +0 -151
  234. package/lib/delivery-authority.d.ts +0 -83
  235. package/lib/delivery-authority.js +0 -397
  236. package/lib/native-child-evidence.d.ts +0 -40
  237. package/lib/native-child-evidence.js +0 -104
  238. package/lib/role-runs.d.ts +0 -138
  239. package/lib/role-runs.js +0 -335
  240. package/lib/session-persistence.d.ts +0 -36
  241. package/lib/session-persistence.js +0 -304
  242. package/lib/subagent-runtime.d.ts +0 -57
  243. package/lib/subagent-runtime.js +0 -257
  244. package/prompts/deepseek-flash.md +0 -11
  245. package/prompts/deepseek-v4-pro.md +0 -14
package/docs/releasing.md CHANGED
@@ -1,320 +1,34 @@
1
- # DSMM Source Readiness, Release and Rollback
1
+ # DSMM release
2
2
 
3
- ## 0.3.0 pure compatibility release contract
3
+ Push a `dsmm-scoped-vX.Y.Z` tag to trigger `.github/workflows/dsmm-release.yml`.
4
+ The workflow sets the DSMM package version from the tag, builds DSMM, packs it once,
5
+ publishes that archive to npm, and attaches it to the matching GitHub Release.
4
6
 
5
- The reviewed identity is **@dsmm/dsmm@0.3.0**, tag **dsmm-scoped-v0.3.0**, artifact **dsmm-dsmm-0.3.0.tgz**. This release carries the current 0.2.2 product behavior onto exact DSH `0.2.1-rc.1`, with the required public `./agent-registry` entry. It does not support or package old DSH cohorts, old capture/history formats, session-repair entrypoints, or Desktop/TUI cold-profile migration. It never reads, rewrites, or auto-migrates those user resources. Unified deployment/role UI, automatic runtime selection, and the unrelated six-job publication redesign remain outside 0.3.0. Historical tags, packages, assets, receipts, rc.2 SDK/runtime policy, and recovery authority remain immutable.
7
+ ## Build and publication
6
8
 
7
- The manifest pins DSH peers and development SDK packages to exact `0.2.1-rc.1` and declares engine range `>=0.2.1-rc.1 <0.3.0-0`. The 0.3.0 release lane builds and packs the source without running test suites, test typechecks, source snapshot comparisons, Docker/browser acceptance, or post-publication native installation tests. Build compilation and resource generation remain required. Historical 0.1.x–0.2.2 receipt validation retains its own native acceptance requirements.
9
+ The workflow uses Node.js 24 and pnpm 11.9.0. It installs the locked dependencies,
10
+ materializes the declared frontend resources, builds DSMM and generates its role
11
+ assets. It does not build root OCMM, its native LSP binary or the Codex adapter.
8
12
 
9
- The sixteen public exports replace the retired `./legacy-read-host` compatibility entry with `./agent-registry` → `lib/agent-registry.{js,d.ts}`. `COMPILED_NAMES_030` removes the six legacy-read/capture compatibility modules and adds `agent-registry`; the package file policy excludes those compiled compatibility outputs and all repair/cold-migration operator scripts. Release receipts do not claim browser, history, permission, or other runtime tests passed.
13
+ The tag path does not invoke custom release contracts, version allowlists,
14
+ Docker acceptance, bootstrap imports, recovery selectors or receipt controllers.
15
+ The target runtime remains exactly DSH `0.2.1-rc.2`; publishing DSMM does not upgrade DSH.
10
16
 
11
- The packaged startup patch is explicit: disable the exact stock Agent and Subagent rows, load one `DsmmAgentRegistry`, one `DsmmSubagentRuntime`, and Main, then restart the Host. The release neither hot-replaces stock services nor uses `runtime.enabled` or automatic composition.
17
+ npm publication uses GitHub Actions Trusted Publishing and provenance. Lifecycle
18
+ scripts are disabled for publication. GitHub Release receives the same packed
19
+ archive retained by the workflow. Published package versions and Release assets
20
+ are not overwritten.
12
21
 
13
- The 0.3.0 transport records `sourceChecks: NOT_RUN_RELEASE_POLICY`, native acceptance and fresh installation as `NOT_RUN_RELEASE_POLICY`, and receipt scope `artifact-integrity-only`. The existing receipt asset filename is retained for transport compatibility; its content is package-integrity evidence, not a Docker test result. Artifact digests, trusted tag/run/attempt identity, registry provenance, and non-overwriting publication remain required. The terminal checker verifies these publication surfaces without executing functional tests or asserting they passed.
22
+ ## Completion
14
23
 
15
- The workflow retains the existing mutually exclusive ordinary `import-bootstrap` / `prepare` / `publish` lane and `prepare-recovery-022` / `publish-recovery-022` lane, followed by shared `verify` and `github-release`. The completion authority and immutable-failure rules below are unchanged. After the authorized `dsmm-scoped-v0.3.0` run terminates, ordinary completion uses the released checkout and exact run identity:
24
+ Inspect the workflow run for the exact tag. npm publication and GitHub Release
25
+ delivery are separate steps: success at npm does not prove GitHub delivery.
26
+ Report a failed or partial publication as such; do not move its tag or overwrite
27
+ published artifacts to repair it in place.
16
28
 
17
- ```powershell
18
- node dsmm/scripts/check-dsmm-release-completion.mjs terminal --run-id <run> --run-attempt <attempt> --control-sha <released-commit> --receipt <new-030-terminal-receipt.json>
19
- ```
29
+ ## Installation
20
30
 
21
- Only exit 0 with receipt outcome `COMPLETED` establishes completion. A workflow conclusion, producer boolean, local build, registry visibility, or browser receipt alone does not.
22
-
23
- ## Historical 0.2.2 stable native release contract
24
-
25
- The reviewed source identity is **@dsmm/dsmm@0.2.2**, tag **dsmm-scoped-v0.2.2**, artifact **dsmm-dsmm-0.2.2.tgz**. The tag is permanently fixed to **dff1ac8ffd58316455256ef1c64c19d6e73e1293**. 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. A working checkout or local smoke receipt is not release completion or publication authorization.
26
-
27
- ### Restricted unpublished recovery
28
-
29
- The same trusted `.github/workflows/dsmm-release.yml` accepts only the explicit dispatch selector `recovery=unpublished-0.2.2` on `master` for recovery. An omitted or empty selector retains the frozen 0.1.2 bootstrap entry; unknown selectors or additional inputs fail closed. This is a new run with genuine new workflow/event/control identity, not a rerun of the original source-tag workflow. Only the recovery prepare/publish pair has `contents: write` for authenticated read-only draft-aware Release admission; the ordinary prepare/publish pair retains `contents: read`. OIDC write permission remains confined to the two mutually exclusive publishers.
30
-
31
- `release-recovery-022.mjs` admits only original workflow ID **374825007**, run **38822000490**, current and fixed attempt **1**, terminal `prepare=failure` and the four other original jobs skipped, with no accepted artifact. At recovery entry and immediately before the sole irreversible publish, it rechecks that history, trusted master ancestry, the unchanged remote tag, exact npm version 404, and authenticated complete paginated absence of public or draft Releases. Network ambiguity, another attempt, an existing package/Release, incomplete pagination or partial publication stops without repair, overwrite or publish retry. Post-publication verification and terminal checks do not require absence.
32
-
33
- Control is checked out at the actual new `github.workflow_sha`; product source is independently checked out at the fixed original commit. Runtime image context, SDK extraction, dependency installation, source tests, materialization, build, generation and the single pnpm pack all use **source**, not control. `assert-source`, `pack` and recovery `freeze` require `--source-root <independent-source-checkout>` as a per-job CLI argument. Guards bind real independent paths, original source HEAD/tag/version and clean `PACK_INPUTS`, plus the new control HEAD and required control files. Absolute checkout paths and dynamic absence observations are never persisted in cross-job context. Control script fixes and this document must not be copied into the original product package. Any native gate failure requiring product changes must stop and be reported.
34
-
35
- Automatic OIDC provenance truthfully describes `.github/workflows/dsmm-release.yml@refs/heads/master`, its new control commit, actual `workflow_dispatch`, hosted builder and new run/attempt. The attestation's SHA512 subject must equal the frozen package. The receipt distinguishes `productSourceSha` from `attestedControlSha`; it does not claim that the original source tag is the attested workflow checkout. Fixed policy, source guards, artifact identity and independent remote-tag verification bind that product source. No GitHub environment identity or provenance is synthesized.
36
-
37
- The parent-owned release invocation, after its integration gates and explicitly authorized Git delivery, is:
38
-
39
- ```powershell
40
- gh workflow run dsmm-release.yml --repo hugefiver/ocmm --ref master -f recovery=unpublished-0.2.2
41
- ```
42
-
43
- Dispatch is not completion. Preserve the original tag and any partially published package or assets on every failure; any subsequent same-identity rerun needs separate authorization.
44
-
45
- ### Stable delivery boundary
46
-
47
- 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.
48
-
49
- 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.
50
-
51
- `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.
52
-
53
- 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.
54
-
55
- 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).
56
-
57
- ### Explicit source and receipt APIs
58
-
59
- 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.
60
-
61
- `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.
62
-
63
- `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.
64
-
65
- 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.
66
-
67
- ### Explicit source-test application fixtures
68
-
69
- 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:
70
-
71
- ```powershell
72
- $env:DSMM_COLD_PROFILE_SDK_ANCHOR = "<absolute path to the isolated rc.2 SDK package.json>"
73
- $env:DSMM_COLD_PROFILE_GENUINE_SEED = "<new absolute task-owned temporary directory>"
74
- node dsmm/test/prepare-cold-profile-genuine-seed.mjs --destination $env:DSMM_COLD_PROFILE_GENUINE_SEED
75
- ```
76
-
77
- 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.
78
-
79
- 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.
80
-
81
- ### Fresh frozen-byte CI acceptance
82
-
83
- The required dedicated workflow sequence is:
84
-
85
- 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.
86
- 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.
87
- 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.
88
- 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.
89
- 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.
90
- 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.
91
- 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.
92
- 8. Run the DSMM-local terminal checker for the exact terminated run/attempt from the released checkout.
93
-
94
- 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.
95
-
96
- 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`, `profile-ui-harness-stable021{,-native}.mjs` and `native-preset-smoke.mjs`. Both prepare paths call the executable `release-native-gate.mjs` seam, which supplies and validates the complete explicit support set before invoking Docker. 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.
97
-
98
- 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.
99
-
100
- 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.
101
-
102
- ### Terminal authority and immutable failure handling
103
-
104
- After the authorized matching workflow terminates, use the exact **new control HEAD** checkout and a new receipt path for recovery:
105
-
106
- ```powershell
107
- node dsmm/scripts/check-dsmm-release-completion.mjs terminal --recovery unpublished-0.2.2 --run-id <new-run> --run-attempt <actual-attempt> --control-sha <new-control-head> --receipt <new-022-terminal-receipt.json>
108
- ```
109
-
110
- Only exit **0** with receipt outcome **COMPLETED** proves release completion. New controls fix the topology to `split-recovery-022-v1` in a dedicated context field, separate from the standard workflow object. Exactly seven jobs are required: `import-bootstrap`, `prepare`, `publish`, `prepare-recovery-022`, `publish-recovery-022`, `verify`, `github-release`. Recovery requires the first three skipped and the last four successful; ordinary runs require the recovery pair skipped and the original mode-specific conclusions. The terminal checker pins topology from the exact trusted control HEAD, not an artifact's self-description or observed job count. Historical five-job validation and fixed published-continuation identities remain separate and unchanged. Ordinary new-control terminal invocations omit `--recovery`.
111
-
112
- The product source/tag, genuine new control/event/ref, fixed new run/attempt, fresh complete Docker/native/UI/LSP acceptance, registry bytes/provenance, fresh native install, accepted/proof artifacts bound to `head_sha=<new-control>` and `head_branch=master`, and exactly three public Release assets with checksums must agree. `verify` and `github-release` directly depend on both pairs and explicitly accept only the selected pair's success with the other skipped. Accepted artifact ID selection rejects empty or dual outputs **before** download. 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.
113
-
114
- 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.
115
-
116
- ## Historical 0.2.1 source and proof authority
117
-
118
- 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.
119
-
120
- ## Historical 0.2.0 source and proof authority
121
-
122
- 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.
123
-
124
- ### 0.2.0 working-source authority
125
-
126
- 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.
127
-
128
- 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.
129
-
130
- ### Configuration, mode and captured state
131
-
132
- 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.
133
-
134
- 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.
135
-
136
- 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.
137
-
138
- 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).
139
-
140
- ### Cold tracked source and offline distribution checks
141
-
142
- 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.
143
-
144
- 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):
145
-
146
- ```powershell
147
- node dsmm/scripts/materialize-frontend.mjs --sync
148
- node dsmm/scripts/materialize-frontend.mjs --check
149
- node --experimental-strip-types dsmm/scripts/check-source-assets.mjs
150
- pnpm --dir dsmm build
151
- pnpm --dir dsmm check:release
152
- ```
153
-
154
- `--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.
155
-
156
- 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.
157
-
158
- 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.
159
-
160
- 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.
161
-
162
- 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.
163
-
164
- 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.
165
-
166
- ### Three distinct native evidence surfaces
167
-
168
- 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.
169
- 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.
170
- 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.
171
-
172
- ### DSMM-local reviewed release controls
173
-
174
- 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.
175
-
176
- 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.
177
-
178
- 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.
179
-
180
- 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.
181
-
182
- After the authorized tag's exact workflow run terminates, use the released checkout and a new receipt path:
183
-
184
- ```powershell
185
- 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>
186
- ```
187
-
188
- 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.
189
-
190
- ## Historical release-only 0.1.9 proposal (not current authorization)
191
-
192
- 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.
193
-
194
- 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.
195
-
196
- 0.1.7 is already npm published and locally installed in Desktop, but not a completed GitHub Release. Preserve immutable `@dsmm/dsmm@0.1.7`, tag `dsmm-scoped-v0.1.7` and source `1ca0bf6e89916d17ddc663e1e06f6c15256cf453`. Original run `37312038470/1` failed verification, the GitHub job was skipped, and terminal evidence remained `UNRESOLVED`/`FAILED`. Do not move/delete/recreate that tag, overwrite package/assets, repair the release in place or relabel installation as completion. New 0.1.9 authority does not authorize a 0.1.7 continuation/rerun. Local Desktop upgrade waits for the new terminal completion; CLI/TUI 0.1.6 stays untouched.
197
-
198
- 0.1.8 is genuinely npm published, but not a completed GitHub Release. Its immutable `dsmm-scoped-v0.1.8` source is `569eb8398cd6082d2c59679a0adc0198aeeb883e`, with confirmed published tarball SHA256 `803117222bff06af977752a3a421f4975bc3a511a61e7914960219132e31e301`. Original run `37350981167/1` ended terminal `FAILED`, with GitHub skipped: the old shared 300-second visibility budget expired before npm's record `2026-10-05T18:01:24.500Z`, after the publication job at `17:52:09` on 2026-10-05. Preserve its tag, source, package, provenance, bytes and failed receipt; no old-tag mutation, republishing, rerun, receipt adoption or in-place repair is authorized. Desktop remains on 0.1.7 and CLI/TUI on 0.1.6, unchanged. The prospective 0.1.9 keeps the same plugin behavior as 0.1.8 and changes only release Action verification visibility/deadline controls; its Desktop rollout still waits for its own terminal `COMPLETED`.
199
-
200
- The `dsmm-scoped-v0.1.3` tag at `2bdea4b` is immutable too. Run `37235817488` failed **before pack/publish** because pnpm 11 ignored esbuild/koffi build scripts. Preserve that tag and its historical plan; do not reroute it to the successor. 0.1.9 must obtain its own fresh source, clean Linux build, packed bytes and receipt.
201
-
202
- The completed 0.1.4 publication and its separately authorized continuation remain historical evidence: original run `37240470628/1` and continuation `37243216939/1` are not 0.1.9 proof. Their exact fourteen UI checks and nine installed compiled-file checks remain unchanged. The completed 0.1.5 publication and completed 0.1.6 publication/continuation, immutable packages/tags/accepted bytes and their own terminal completion evidence also remain historical; do not republish them or relabel their receipts as 0.1.9 acceptance. New proof requirements are version-gated, never retroactively applied to completed identities. The 0.1.6 SELECT receipt grammar remains valid for that historical identity, not for the new native-menu proof.
203
-
204
- 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.
205
-
206
- ### Preflight
207
-
208
- 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.
209
-
210
- ```powershell
211
- git rev-parse HEAD
212
- git status --short
213
- pnpm --dir dsmm typecheck:test
214
- pnpm --dir dsmm test
215
- pnpm --dir dsmm build
216
- node dsmm/scripts/generate-role-assets.mjs
217
- pnpm --dir dsmm check:release
218
- npm pack ".\dsmm" --dry-run --json
219
- pnpm --dir dsmm smoke:docker
220
- pnpm run typecheck
221
- pnpm test
222
- pnpm run build
223
- ```
224
-
225
- The root typecheck, test and build must pass before committing. Build before generating static role assets, then verify generation is idempotent and the committed assets match. Inspect the preview for client/profile assets and exported `locale/en.json` / `locale/zh.json` with `{meta: {title: "Deepwork", description: <localized nonempty text>}}`; exclude secrets, test homes, tests, plans, sourcemaps and nested tarballs. Prove native `readPluginMeta` consumes the installed resources and all twelve DW display labels preserve IDs, mode, access and tool restrictions.
226
-
227
- Use pnpm for actual install/build/test/**pack/publish**. The `npm pack --dry-run --json` above is only the existing read-only, size-rich metadata diagnostic, not release packaging. Do not blindly substitute pnpm's differently shaped preview JSON or fabricate missing size fields. Source-checkout Docker runs are development evidence; final acceptance must use the CI-frozen artifact and expected SHA256 without building or repacking. A checker or successful install is not runtime, UI, publication or Desktop proof.
228
-
229
- 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.
230
-
231
- ### Phase 1: frozen artifact and independent Docker gate
232
-
233
- 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.
234
-
235
- Run the full independent Docker runner with that **explicit artifact path and expected SHA256**, required compiled-UI hook and trusted support files. It must fail closed if required inputs are missing/mismatched and must not build, repack, or silently choose another tarball. The new completed receipt's `packedSha256` must match the fresh frozen file and its run/attempt/source identity. Only these accepted unchanged bytes may proceed to publish.
236
-
237
- Use a fresh image/process/home and exact pinned DSH, installing the packed package rather than importing checkout code. Do not mount or copy Desktop/global configuration, sessions, credentials, account records, browser storage or user authentication. A deterministic test-owned no-auth model fixture may drive actual runtime operations; paid chat and schema inventories alone cannot replace these scenarios:
238
-
239
- - Native metadata reader yields Deepwork from both packaged locales; all twelve DW display names and unchanged technical IDs are correct; settled healthy root audit includes enabled DW Orchestrator/Builder/Planner only, disabled Builder absent, auxiliary roles excluded; actual blank-session Agent preset selection.
240
- - Actual enabled auxiliary delegation and native read-only denials, with exact role route/effort and aliased-parent `llm.resolveCallConfig` preflight against the fixture catalog.
241
- - Same packaged compiled Deepwork Profiles UI through native client/slots and supported in-process operator/Gateway RPC into real profile storage: create/read/edit/save/apply/reset, explicit deployment-only validation errors, revision conflict, pointer failure, and exact draft/immutable-revision/pointer bytes.
242
- - Save without activation; new-Agent-only apply; existing even-blank Agent retention; inherited child/recovery settings; fresh-process pinned current selection despite a subsequently edited draft; truthful cold-resume/removed auxiliary-root limitations.
243
- - Existing native web/headless, session-persistence/history compatibility, LSP, sentinel and cleanup scenarios remain required; naming checks do not replace these runtime contracts.
244
-
245
- Successor acceptance additionally requires the compiled structured editor's native catalog round-trip, comment/unrelated-setting preservation, ordered fallback controls, unlisted native-resolvable routes, and invalid raw retention. Exercise real current-session UI apply, two independent roots, sidecar CAS and fresh epochs, busy/maintenance/child refusal, old/new child isolation and same-revision reapply. Cold-resume the exact pinned sidecar after changing the global default, then compare stock native visible history and request headers. Place an owned regular profile lock **before** a second real native Loader starts; prove visible refusal and unchanged pointer/lock ownership, with a truthful observed root-roster disposition.
246
-
247
- Actual native `followup/whenIdle` requests must prove primary/first-available startup locks, finite same-route rate-limit exhaustion, threshold-ordered rollover, same-profile/different-role and different-profile isolation, first-request unavailable versus partial/later refusal, and both strategies' partial-text/tool-fragment no-retry fences. Bind each real provider call to its native request header, live attempt ID, matching durable stream and settlement; successful outputs and terminal outcomes must agree. A competing native always-retry handler must remain unused and tools must not replay. The added native model-selection scenario must invoke strict public `session/selectModel`, demonstrate a route different from the Orchestrator profile primary, exact effort-only changes and subsequent-request retention, and validate the final native headers rather than an acknowledgement alone.
248
-
249
- Ordinary roots remain native-owned in 0.1.9: their initial provider/model/exact effort remain authoritative even before any explicit model-selection event. Profile-role primary and fallback chains apply to genuinely owned delegated children, not silently to the root. Prove this with actual native request headers before and after explicit model/effort changes, profile reapply and cold resume; retain supported explicit child overrides and native read-only permissions. Startup failure evidence must identify the failed `installProfiles` child through its public parent-fiber ownership of the actual Loader entry, preserve the native failure exit, and observe absent runtime/zero request preparations/tools; never fabricate an outer Loader failure or accept a foreign failed fiber.
250
-
251
- Exercise one icon-only native profile menu in sessionless, blank and active native conversation views, with one profile list and exactly one `@use-model` **Use profile model** action. Normal profile switching keeps the current model and native model default unchanged, with zero `session/selectModel` calls; successful profile CAS remains its authority. The independent model action reads the current admitted immutable profile's main model without reapplying a later saved draft revision, changing its epoch or writing a profile sidecar. It calls native `session/selectModel` and has the same native-default persistence consequence as the Models tab, with existing manual-model-intent race fencing. Prove later-draft isolation, missing profile primary, unconfirmed model changes and newer native choices, including effort-only/same-value intent, without undoing an admitted profile or silently overriding the newer choice. Successes use accessible live announcements only; visible errors are short sanitized codes/fields. Remove the old duplicate profile-model list and verbose normal-menu descriptions. Global-default Apply and draft Save retain their separate scopes. Owned component/endpoint proof does not establish authenticated Desktop or production model-picker interaction; retain explicit nonclaims for any unexercised surface.
252
-
253
- Prove the **Deepwork** toggle on other native presets: official minimal mode defaults off without saved explicit `deepwork/mode`; saved intent wins over profile `defaultActive`, including explicit same-default choices that persist intent. Real native durable events, profile changes and fresh-process reopen must agree. Standing DW presets are locked enabled with a clear label, never an actionable off choice. Exercise sessionless/busy/unavailable refusals and preserve admission, model and mode on failed writes; no session creation or global-default change belongs to this action.
254
-
255
- The trusted artifact version alone chooses the proof contract: historical 0.1.6 SELECT and 0.1.7 native-menu grammars remain unchanged; compact-menu/mode proof is version-gated to reviewed 0.1.8 and 0.1.9 only, never applied retroactively. The 0.1.9 successor requires its own fresh identity-bound evidence for that unchanged plugin contract; 0.1.8 bytes or receipts are not adopted. Later versions require their own explicitly reviewed proof contract and fail closed until reviewed. Reject a relabelled old receipt, SELECT-only/old-slot evidence, missing states or mismatched digest/version; retain every native request/header/projection, CAS-ordering, race, busy, partial-model-failure, no-model and cleanup check. Use the installed native `Menu` through pointer and keyboard open/close/focus/arrow actions and refresh/session withdrawal. At widths 375, 768 and 1280, require one visible icon trigger, zero header SELECTs, one profile list, exactly one model action, bounded focus/header geometry, readable long labels/errors in a viewport-contained portal, and sessionless/blank coverage before any request. Pending CAS and refusals preserve admission/model and show only allowlisted codes/fields with refresh/retry guidance, never arbitrary wire messages, provider/credential identifiers or paths. Successful actions must have accessible live announcements without visible success prose.
256
-
257
- Bind the hook and every trusted support module explicitly, including `profile-ui-harness-server.mjs`, `profile-ui-harness-browser.mjs`, `profile-ui-harness-native.mjs` and the `native-picker-{harness,browser,proof}.mjs` modules. The successor receipt's exact check and installed compiled-file inventories are version-gated; historical receipt grammars are not expanded. CI source/pack/publish/installed verification uses Node 24 / pnpm 11.9.0; the independent borrowed Docker runtime uses its recorded Node 22 / pnpm 12.8.1 environment. These are distinct evidence surfaces, not interchangeable build claims. Use supported native artifact installation and normal public dependency provisioning in owned Docker homes; offline exploratory A–F startup limitations are not the final gate or native browser proof.
258
-
259
- 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.
260
-
261
- ### Phase 2: authorized immutable publication
262
-
263
- 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.
264
-
265
- The earlier unscoped `dsmm-v0.1.0` GitHub release, scoped 0.1.0 release and scoped 0.1.1 release stay intact. A new-release authorization covers ordinary parent-owned commit/push/tag/npm/GitHub actions for 0.1.9 only, not rewriting prior publications, the old 0.1.2 draft, app upgrades, global package-manager changes or authentication workarounds. The separately authorized official-carrier Desktop DSMM upgrade still waits for terminal completion of this exact new identity; the already verified official CLI/TUI 0.1.6 installation is not unfinished rollout work.
266
-
267
- The future publish job revalidates the accepted run/attempt-bound bytes and publishes **that exact tarball with native pnpm**, public npmjs access, lifecycle scripts ignored, OIDC and genuine provenance enabled. Do not forge GitHub identity variables, use the old bootstrap's `provenance=false`, or repack after acceptance. Preserve non-canceling package-wide publication concurrency and least-permission separated jobs. Registry byte/integrity and fresh installed-package verification precede non-overwriting public GitHub finalization with the same tarball and `SHA256SUMS.txt`.
268
-
269
- 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.
270
-
271
- #### Publication identity verification
272
-
273
- 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.
274
-
275
- Verify the tag's peeled commit, exact npm name/version and `dist.integrity`, genuine provenance, downloaded registry archive bytes, GitHub asset bytes and checksum list against the frozen artifact. Use a fresh isolated `DSH_HOME` for exact registry installation. Check all seven exports, including both metadata JSON resources, resolve and match bytes from the **installed registry package**, never the checkout. Native `readPluginMeta` must yield Deepwork; JSON resources are metadata, not executable code. The Loader row remains `id: dsmm`. Initialize a fresh headless deployment profile first; `/deepwork` and `/dsmm-status` are not headless task text.
276
-
277
- After the matching workflow terminates, run `scripts/check-dsmm-release-completion.mjs` for its exact run ID, attempt and control SHA. It must bind source/Docker proof, tag/commit, frozen bytes, registry/provenance/install evidence, GitHub assets/checksums and every required job. The future path has `import-bootstrap` **skipped / NOT_APPLICABLE**, `bootstrapImport: null` and no bootstrap import artifact; this is not missing evidence. Only terminal outcome `COMPLETED` authorizes later rollout. Workflow success alone is insufficient. Preserve any partial or ambiguous publication; do not overwrite assets, move/delete/recreate the tag, implicitly retry uploads or repair in place.
278
-
279
- ```powershell
280
- $env:DSH_HOME = "<fresh-task-owned-verification-home>"
281
- dsh --profile dsmm-0.1.9-verify --from-default-profile headless --dump-config
282
- dsh plugin --profile dsmm-0.1.9-verify add @dsmm/dsmm@0.1.9
283
- dsh plugin --profile dsmm-0.1.9-verify list
284
- dsh --profile dsmm-0.1.9-verify --dump-config
285
- npm view @dsmm/dsmm@0.1.9 dist.integrity --registry "https://registry.npmjs.org/"
286
- ```
287
-
288
- #### Published 0.1.6 continuation (separately authorized)
289
-
290
- 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.
291
-
292
- The original `dsmm-scoped-v0.1.6` publication run `37281521750/1` published the immutable npm bytes but failed its verify job; its GitHub Release job was skipped. Preserve that failed history, original source/tag at `d2e499b3a61ef76033d417efbec3402a4739a8fe`, and original npm provenance. Supplemental verification does not rerun that workflow or republish npm.
293
-
294
- Only the dedicated no-input `.github/workflows/dsmm-published-continuation-016.yml` may continue this separately authorized identity. Its fixed `--origin-version 0.1.6` policy binds accepted artifact `11332299033`, archive size `359262`, archive digest `sha256:3fedc92c35a88f0a75fdfc6ac8ef9a37ef138d902e5698f90ac969f66f6f4eb9`, and tarball SHA256 `b7b36fc69e892fb22b06a2428d360181d33bd95526ee2bc403c04b6307ed6c35`. The two jobs independently reload original acceptance and verify current registry bytes/provenance plus a fresh isolated Linux/Node 24 native install, then create/finalize only the missing original-byte GitHub Release. Any existing public Release or partial draft stops without adoption, repair, overwrite or deletion. No source pack/build, npm publisher/OIDC, tag mutation, full-workflow rerun or global install belongs to this continuation.
295
-
296
- After the dedicated run terminates, use its actual run/attempt/control SHA and a new receipt path:
297
-
298
- ```powershell
299
- node scripts/check-dsmm-release-completion.mjs terminal-continuation --origin-version 0.1.6 --run-id <actual-continuation-run> --run-attempt <actual-attempt> --control-sha <trusted-continuation-control-sha> --receipt <new-016-continuation-receipt.json>
300
- ```
301
-
302
- 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.
303
-
304
- ### Phase 3: official installed-carrier Desktop rollout
305
-
306
- 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.
307
-
308
- Preserve base/web bundles, deployment roles/skills, all configured policies, disabled Builder, active mode, provider/model catalog, account state and UI preferences. Saving supported baseline settings as a runtime draft is explicit and reversible; it does not change structural configuration. Disclose committed-sidecar versus absent-sidecar cold resume and the unknown removed auxiliary-root ID limitation in [compatibility](compatibility.md) before rollout. Do not silently substitute personas or delete history.
309
-
310
- Any old unmarked-log repair remains a separately authorized exact private target, native-lease-held, same-directory backup-first, metadata-only operation with concurrency checks and actual installed-reader parity. The naming release does not itself authorize session edits, and an old observed digest is not permission to overwrite newer history.
311
-
312
- 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.
313
-
314
- ### Rollback
315
-
316
- 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.
317
-
318
- For package rollback, use the official carrier to remove `@dsmm/dsmm`, add an exact known immutable version and restart through the supported path. Keep runtime drafts/revisions and unrelated settings. An old unscoped bundle must not coexist with the scoped bundle using the same `id: dsmm`. Desktop requires the installed carrier with the app fully quit; boot/dump remains unsupported. Do not restore credential files, sign out, delete sessions, remove old releases or perform broad recursive cleanup. Remove only exact task-owned temporary material when safe and retain release/recovery evidence.
319
-
320
- Never overwrite an npm version or rewrite a tag to repair a publication. Preserve the immutable evidence and select a new, authorized version instead.
31
+ Publication does not install the plugin. Desktop and CLI/TUI profiles have
32
+ independent carriers. Installation requires matching DSH `0.2.1-rc.2` and separate
33
+ authorization; it must preserve accounts, credentials, history and unrelated
34
+ configuration. Restarting active Desktop work requires authorization.