@dsmm/dsmm 0.3.10 → 0.3.12
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 +1 -1
- package/agent-presets/dsmm-builder/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-clarifier/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-code-search/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-coding/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-complex/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-creative/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-cross-cutting/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-deep/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-doc-search/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-documenting/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-frontend/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-hard-reasoning/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-media-reader/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-normal-task/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-oracle/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-oracle-2nd/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-orchestrator/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-plan-critic/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-planner/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-quick/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-research/agent.cordis.yml +0 -4
- package/agent-presets/dsmm-reviewer/agent.cordis.yml +0 -4
- package/docs/agent-presets.md +5 -5
- package/docs/compatibility.md +10 -4
- package/docs/deferred-native-approval-risk.md +11 -1
- package/docs/design.md +15 -5
- package/docs/lsp.md +1 -1
- package/docs/model-routing.md +6 -6
- package/docs/native-permissions.md +5 -1
- package/docs/profiles.md +36 -5
- package/docs/roadmap.md +3 -3
- package/docs/runtime-recovery.md +5 -5
- package/docs/safety-guards.md +23 -5
- package/docs/settings-status.md +3 -3
- package/lib/child-capture.d.ts +9 -0
- package/lib/child-capture.js +29 -2
- package/lib/client/ProfilesSection.js +65 -13
- package/lib/client/RoleToolView-data.d.ts +4 -4
- package/lib/client/RoleToolView-data.js +3 -1
- package/lib/client/RoleToolView-locales.d.ts +7 -4
- package/lib/client/RoleToolView-locales.js +10 -6
- package/lib/client/RoleToolView.js +20 -5
- package/lib/client/SessionProfiles.d.ts +5 -1
- package/lib/client/SessionProfiles.js +13 -9
- package/lib/client/StructuredEditor.d.ts +32 -0
- package/lib/client/StructuredEditor.js +75 -23
- package/lib/client/controller.d.ts +10 -0
- package/lib/client/controller.js +44 -14
- package/lib/client/deployment-locales.js +1 -0
- package/lib/client/locales.d.ts +36 -0
- package/lib/client/locales.js +47 -17
- package/lib/client/permission-locales.js +8 -8
- package/lib/client/session-labels.js +4 -1
- package/lib/client/structured.d.ts +4 -0
- package/lib/client/structured.js +16 -1
- package/lib/client/styles.d.ts +1 -1
- package/lib/client/styles.js +19 -1
- package/lib/client.js +772 -312
- package/lib/command-approval.d.ts +50 -0
- package/lib/command-approval.js +148 -0
- package/lib/core-permissions.d.ts +2 -1
- package/lib/core-permissions.js +6 -3
- package/lib/guards.d.ts +2 -1
- package/lib/guards.js +45 -8
- package/lib/host-llm.js +3 -3
- package/lib/index.d.ts +1 -1
- package/lib/index.js +5 -3
- package/lib/model-routing.d.ts +3 -2
- package/lib/model-routing.js +28 -7
- package/lib/native-admission.d.ts +2 -0
- package/lib/native-admission.js +106 -34
- package/lib/permission-control.d.ts +5 -2
- package/lib/permission-control.js +46 -24
- package/lib/permission-controller.d.ts +2 -0
- package/lib/permission-controller.js +13 -8
- package/lib/permission-native-command.d.ts +2 -0
- package/lib/permission-native-command.js +9 -4
- package/lib/permission-native-rules.d.ts +2 -2
- package/lib/permission-native-rules.js +12 -10
- package/lib/profile-diagnostics.js +1 -1
- package/lib/profile-runtime.d.ts +11 -0
- package/lib/profile-runtime.js +48 -13
- package/lib/profile-store.d.ts +4 -1
- package/lib/profile-store.js +37 -14
- package/lib/profiles.js +2 -1
- package/lib/prompt-content.js +2 -2
- package/lib/role-control-rpc.js +18 -5
- package/lib/role-llm-runtime.js +10 -1
- package/lib/role-policy.d.ts +4 -3
- package/lib/role-policy.js +6 -6
- package/lib/role-providers.js +1 -0
- package/lib/runtime-recovery.d.ts +2 -2
- package/lib/runtime-recovery.js +7 -4
- package/lib/settings.d.ts +2 -0
- package/lib/settings.js +10 -0
- package/lib/shell-command.d.ts +16 -0
- package/lib/shell-command.js +443 -119
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
DSMM (`@dsmm/dsmm`) adds native configuration, role delegation and child controls to DeepSeek Harness. **DSMM** is the Plugins page and package title; **Deepwork** is its optional workflow module. It isn't an OpenCode compatibility layer.
|
|
4
4
|
|
|
5
|
-
**DSMM 0.3.
|
|
5
|
+
**DSMM 0.3.12 targets exactly DSH `0.2.1-rc.2`** and Node.js 22 or later. The maintained source repository is [hugefiver/dsmm](https://github.com/hugefiver/dsmm).
|
|
6
6
|
|
|
7
7
|
## Configuration and profiles
|
|
8
8
|
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Builder (role ID: dsmm-builder).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Clarifier (role ID: dsmm-clarifier).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Code Search (role ID: dsmm-code-search).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Coding (role ID: dsmm-coding).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Complex (role ID: dsmm-complex).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Creative (role ID: dsmm-creative).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Cross Cutting (role ID: dsmm-cross-cutting).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Deep (role ID: dsmm-deep).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Doc Search (role ID: dsmm-doc-search).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Documenting (role ID: dsmm-documenting).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Frontend (role ID: dsmm-frontend).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Hard Reasoning (role ID: dsmm-hard-reasoning).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Media Reader (role ID: dsmm-media-reader).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Normal Task (role ID: dsmm-normal-task).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Oracle (role ID: dsmm-oracle).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Oracle 2nd (role ID: dsmm-oracle-2nd).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Orchestrator (role ID: dsmm-orchestrator).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Plan Critic (role ID: dsmm-plan-critic).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Planner (role ID: dsmm-planner).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Quick (role ID: dsmm-quick).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Research (role ID: dsmm-research).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
name: '@deepseek-ai/dsh-persona'
|
|
3
3
|
config:
|
|
4
4
|
prefix: |-
|
|
5
|
-
You are DW Reviewer (role ID: dsmm-reviewer).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
5
|
<dsmm-locale-guidance>
|
|
10
6
|
Language and locale:
|
|
11
7
|
- This shared resource supplies no configured locale; preserve this exact Agent's captured locale and applicable host/user language guidance when supplied.
|
package/docs/agent-presets.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Deepwork Agent presets and child control
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.12 targets exactly DSH `0.2.1-rc.2`. Native package composition and callable admission are separate requirements.
|
|
4
4
|
|
|
5
5
|
## Roles and composition
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ Native `agentPresets.register({id, plugins})` publishes only the selectable disp
|
|
|
12
12
|
|
|
13
13
|
Optional preset materialization writes only the DSMM-owned dispatcher preset directory under its configured root. Ownership requires the exact role-bound marker and expected regular files; foreign directories, extra entries, links and containment escapes refuse update/removal. New directories publish by same-parent rename. A legacy marker is accepted only with the complete expected regular-file shape, never as permission to claim unrelated content. Reconciling removes verified owned directories of every non-dispatcher role, including ones published by earlier versions. Materialized files remain export resources, not an alternative native registration mechanism.
|
|
14
14
|
|
|
15
|
-
Managed Agent scopes supply
|
|
15
|
+
Managed Agent scopes supply the single role opening (`You are <display name>.`) through `harness:identity`, without a parenthesized role ID. Persona prefixes carry role guidance, not another identity opening; admitted children shadow both inherited sections. Internal role IDs remain the admission, routing and preset keys. The ordinary native identity remains unchanged outside those scopes; the override doesn't grant a role, tool or permission based on its displayed name.
|
|
16
16
|
|
|
17
17
|
Root admission is not configurable per role: the dispatcher is the only standing root. A blank preset switch to any other DSMM role is refused because no such preset is registered, and the admitted composition stays in place. Forced creation and empty-root preset changes still require valid root admission before execution. Opting into Deepwork requires the enabled module, role and usable composition; it never grants writes. Harness's native `/plan` remains collaboration state, not a permission upgrade.
|
|
18
18
|
|
|
@@ -33,7 +33,7 @@ No child gains coordination authority from a preset label, persona or serialized
|
|
|
33
33
|
|
|
34
34
|
Read-only roles remain read-only independently of mode and optional guards. Planner returns complete Markdown for native review/handoff; an authorized coordinator persists it. There is no Planner writer. Native catalog visibility and role permission are separate: a schema or read-only catalog listing doesn't authorize invocation, and own-layer native schemas may remain visible even when mandatory execution fences deny them.
|
|
35
35
|
|
|
36
|
-
Descendants intersect parent
|
|
36
|
+
Descendants intersect current parent capability ceilings with native/requested restrictions and union deny-lists. Existing native filters still execute. Cold resume rebuilds DSMM restrictions from current role/configuration and exact parent authority rather than restoring an old runtime snapshot. A named profile cannot lift startup/deployment or native ceilings; required roles are covered in [profiles](profiles.md#inheritance-and-ceilings).
|
|
37
37
|
|
|
38
38
|
## Invocation and lifecycle
|
|
39
39
|
|
|
@@ -51,7 +51,7 @@ Child report interfaces expose actual runs, direct children and a read-only desc
|
|
|
51
51
|
|
|
52
52
|
Route comparison uses the live admitted `invocation-capture` and the child's latest `own-native-request-header`. Missing, invalid or unobserved evidence remains unknown; it is never inferred from a root route, current profile or role label. Display metadata isn't a cold-recovery credential.
|
|
53
53
|
|
|
54
|
-
Human messages target
|
|
54
|
+
Human messages target supported direct children with current exact-parent authority and native capabilities. **Queue** accepts a distinct later turn; **Steer** targets the nearest step. A cold continuable child enters the native recovery path and obtains a fresh role admission. Listing and interrupt do not activate cold children. Inspection-only descendant controls are separate from tool-level readonly policy. Native attachment/model preflight can still limit image continuation; see [compatibility](compatibility.md#native-history-composition).
|
|
55
55
|
|
|
56
56
|
An inbox receipt means **accepted**, not executed or completed. An interrupt acknowledgment isn't completion and doesn't claim queued work was removed. If transport leaves a send outcome unknown, the draft stays visible and automatic resend is disabled. Inspect the native child conversation before explicitly allowing a new message, which could duplicate an accepted one. Refresh and reconnection never imply automatic retry.
|
|
57
57
|
|
|
@@ -67,7 +67,7 @@ Arguments, result content, errors and metadata remain inspectable as JSON. Nonte
|
|
|
67
67
|
|
|
68
68
|
Official AgentRegistry, SubagentRuntime and JSONL namespace plugins own execution and storage. There is no custom Registry/Runtime selector, manual-runtime activation path or companion requirement. Native runtime availability and actual DSMM admission are still separate observations; seeing a catalog isn't proof of callable policy. See [settings](settings-status.md#child-runtime-composition).
|
|
69
69
|
|
|
70
|
-
Cold
|
|
70
|
+
Cold recovery requires verified native root/child identity and creates a new exact-object admission. Logs, IDs and display data alone cannot restore authority. Missing old captures do not block a valid native DSMM child. Read-only history queries never resume Agents. `preset-skills` is installed and released by the admitted Agent scope, not a public plugin. See [compatibility](compatibility.md#native-history-composition).
|
|
71
71
|
|
|
72
72
|
Native Host commands, sessions, inbox, permissions, process/cwd/model selection and transports retain ownership. DSMM supplies role admission and bounded controls, not a replacement lifecycle scheduler, generic permission bypass or automatic retry system.
|
|
73
73
|
|
package/docs/compatibility.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSMM compatibility and upgrade boundaries
|
|
2
2
|
|
|
3
|
-
**DSMM 0.3.
|
|
3
|
+
**DSMM 0.3.12 targets exactly DSH `0.2.1-rc.2`** and Node.js 22 or later. Older SDKs and automatically drifting versions aren't supported targets.
|
|
4
4
|
|
|
5
5
|
## Supported integration
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@ Core configuration and native permissions work without a session or active Deepw
|
|
|
16
16
|
|
|
17
17
|
Global and exact native-profile saves are independent. Native form identity/revision and base/user provenance are required; no fallback Global write or cross-layer transaction is implied. Named documents, future-default pointers and actual admission remain separate. Desired saves don't change mounted capability or a running Agent's policy. Without a session, actual admission is unknown.
|
|
18
18
|
|
|
19
|
-
Save and future-default selection remain available under their own authority.
|
|
19
|
+
Save and future-default selection remain available under their own authority. Native **Use profile model** and **Deepwork mode** have independent capabilities. Use profile model consumes the admitted configuration and respects newer native manual model/effort intent, including same-value reselection. Root requests retain native assembled selection/defaults; refreshing an admission does not implicitly select its profile primary or authorize a root fallback channel. See [Profiles](profiles.md) and [settings/status](settings-status.md).
|
|
20
20
|
|
|
21
21
|
Stores use separate CAS and atomic-write boundaries. Committed saves aren't rolled back in the response because observation/notification failed: report refresh-required or unsynchronized status. An unconfirmed native mutation requires authoritative reread before retry. Operator, connection and owner lifetime remain valid through precommit; client claims or loopback-looking URLs don't authorize writes.
|
|
22
22
|
|
|
@@ -26,11 +26,17 @@ Stores use separate CAS and atomic-write boundaries. Committed saves aren't roll
|
|
|
26
26
|
|
|
27
27
|
DSMM runs against the unpatched native DSH packages: it installs no Host-side patches and injects no bootstrap flags. Historical sessions stay readable through native history surfaces, and a persisted DSMM session resumes with a fresh admission built from the current deployment; persisted mode choices remain user intent, while old delegation authority never survives.
|
|
28
28
|
|
|
29
|
+
Root and native continuable-child activations load current DSMM prompts/skills/roles and the selected profile ID's latest valid content. Explicit baseline and global-default sources remain distinct. Old immutable revisions and runtime captures are not required for a valid native DSMM descriptor. Missing identity or conflicting/unsafe selection metadata refuses; missing or invalid current named content does not fall back. Parent ownership, catalog/own descriptor, provider, independent composition, readonly/filter/depth and cancellation boundaries are validated before publication. Resident Agents do not hot-switch. Settled one-shot children stay non-resumable.
|
|
30
|
+
|
|
31
|
+
DSH `0.2.1-rc.2` still checks image capabilities against historical `agent.options` before request routing in affected root model-switch and cold-child flows. Text requests can use a current available route while images fail because the historical model is missing or lacks image support. DSH exposes no public atomic route/options update for that preflight; DSMM leaves the refusal intact and does not modify readonly options or fake capabilities. Resolution requires a public route-aware preflight or supported pre-activation options hook. Recheck both root and child scenarios during each authorized DSH upgrade.
|
|
32
|
+
|
|
33
|
+
Native continuation replays persisted persona and toolFilter. Current DSMM role tools do not store a persona override, so their role prompt is freshly installed. A historical format embedding a complete DSMM prompt into a native persona registration cannot be replaced through the available DSMM-owned registration interfaces. Such native content/filter restrictions remain effective; an independent historical preset that no longer resolves fails explicitly. A later Host public interface for replacing that owned persona/composition, with native restrictions preserved, is required before claiming that format fully refreshed. Labels or model-produced role text alone never supply missing native/host-owned role identity.
|
|
34
|
+
|
|
29
35
|
### Execution ownership
|
|
30
36
|
|
|
31
37
|
Role calls wait for native activation results by default; only `completed` is normal completion. Cancellation after publication uses activation disposal and cleanup. Enabled background execution selects `delivery: 'parent'` before start. The accepted child/message receipt and interrupt acknowledgment aren't completion. Running waiting tasks can't transfer to background.
|
|
32
38
|
|
|
33
|
-
Queue/Steer
|
|
39
|
+
Queue/Steer can enter native cold continuation for supported direct children under exact-parent/operator authority. Listing and interrupt do not wake children; descendant views remain read-only. A cold prompt availability means continuation can be attempted, not that a model has executed. Missing native capability disables the operation; unknown sends aren't automatically resent. See [Agent presets](agent-presets.md).
|
|
34
40
|
|
|
35
41
|
Resuming a persisted DSMM session builds a fresh admission from the current deployment and validates its mounted composition again; configuration, PluginRecord metadata, labels or child IDs never reconstruct authorization. A resumed child without its exact live parent stays refused: delegated authority exists only on the live parent that admitted it. Preserve readable history; don't substitute a persona, reset a session or import old data automatically. Native factory load/repair can precede the created guard, so a refusal doesn't promise the log was never opened. Clear/compact can retain policy only with the exact live object and admission, not inferred lineage.
|
|
36
42
|
|
|
@@ -38,7 +44,7 @@ Standard supported model calls use native prepared calls. Raw/custom and Pi-AI s
|
|
|
38
44
|
|
|
39
45
|
## Retired compatibility surfaces
|
|
40
46
|
|
|
41
|
-
No old SDK branch, legacy-read host, cold-profile migration, session repair or custom-owner selector is a 0.3.
|
|
47
|
+
No old SDK branch, legacy-read host, cold-profile migration, session repair or custom-owner selector is a 0.3.12 activation path. Old libraries, captures and unmarked history aren't copied, rewritten, repaired or adopted by same-name fallback. Retired brand calibration/default-effort and MaxReasoningPresets fields reject with `deprecated-field`; edit configuration deliberately using generic routes and parameters.
|
|
42
48
|
|
|
43
49
|
Published **0.3.0 retains its rc.1 identity**, immutable tag, package, assets and version-bound receipt grammar. Historical release controls interpret those records under their original identity, not as a runtime compatibility branch.
|
|
44
50
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 原生审批与运行中配置边界
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.12 精确面向 DSH `0.2.1-rc.2`。原生批准仅对同次调用及其批准范围有效,不扩展到其他输入或后续调用。配置来源变化不把 DSMM epoch 变成第二次审批,也不取消已经等待的原生审批。
|
|
4
4
|
|
|
5
5
|
## 当前限制
|
|
6
6
|
|
|
@@ -12,4 +12,14 @@ Use profile model 与普通模式操作具有独立 capability,不因 Apply
|
|
|
12
12
|
|
|
13
13
|
取消、精确 Agent/owner/realm、工具及 provider 身份和输入隔离仍然有效。原生 once 批准不是可复用授权,批准也不保证工具或操作系统执行成功。
|
|
14
14
|
|
|
15
|
+
## 自动 Git 范围与规则记忆
|
|
16
|
+
|
|
17
|
+
`guards.gitWriteScope` 默认为 `all-writes`,可选 `high-risk`,与 `gitWriteGuard: ask | deny | off` 正交。`high-risk` 仅缩小自动 Git 保护的动作集合,不过滤显式 shell ask/deny,也不关闭对象型 nativeCommands ask;readonly、原生策略和既有 Full access/simple 路径的优先级不变。配置沿用全局、当前 DSH 配置和具名 profile 的继承规则,不增加 live Apply。
|
|
18
|
+
|
|
19
|
+
DSMM 的命令规则批准仅在精确的存活 Agent 对象内记忆;需完整原生审批服务最终返回 `allowed-once` 且调用绑定有效。同一规则允许的参数变化可以复用 DSMM 规则批准,不能扩展显式精确匹配或跨动作、工具注册、目录及规则语义借用。配置来源/规则变更使未来记忆失效,Agent 销毁、session 对象替换或控制器退休结束记忆。子 Agent 可捕获设置,但不继承父批准;记忆不持久化,也不跨恢复或重启。
|
|
20
|
+
|
|
21
|
+
规则记忆只消除 DSMM 自己已满足的 ask,不复用原生 once/sandbox target、不提高 standing 权限,也不替新的提权请求自动作答。原生提权、第三方或独立下游审批仍可能每次询问;deny、cancel、`approval.policy=never` 仍生效。来源变化不取消已经等待的原生请求;旧请求最终批准仍只按其单次契约执行,不向新来源写入记忆。
|
|
22
|
+
|
|
23
|
+
减少重复人工介入改变了风险,不能宣称总体风险不变。通用 Git 路径在既有 guard 边界重核调用,仍信任宿主后续可变的同进程 middleware;managed Shell 保持受控最终入口检查,但二者都不承诺隔离主动绕过管线的同进程插件或提供 OS 隔离,也不承诺所有工具没有弹窗。
|
|
24
|
+
|
|
15
25
|
遇到拒绝时先检查实际结果,不无条件重跑整个父任务。未来的 live Apply 必须能绑定精确调用、配置与未决审批,保持上述权限和生命周期边界;当前版本不提供该操作。
|
package/docs/design.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# DSMM native architecture
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.12 targets exactly DSH `0.2.1-rc.2`. It supplies Core configuration and native permission integration plus optional Deepwork roles, routing and skills.
|
|
4
|
+
|
|
5
|
+
## Native integration boundary
|
|
6
|
+
|
|
7
|
+
DSMM implements its own configuration, roles, prompts and routing through existing public DSH extension interfaces. Missing Host capabilities are not implemented by replacing DSH components, patching DSH code, modifying private runtime state or bypassing native validation. Native session lifecycle, model selection, tools, sandbox and approval remain owned by DSH.
|
|
8
|
+
|
|
9
|
+
DSMM registration, configuration and routing-order defects are corrected within DSMM. A limitation that also occurs when DSH itself switches models remains native behavior, including image-input preflight that still observes a historical model. DSMM does not take over that preflight or falsify model capabilities to compensate. Such limits are documented separately from implemented DSMM behavior and do not block independent DSMM fixes or count as verified functionality.
|
|
10
|
+
|
|
11
|
+
For each required feature limited by the Host, record the affected behavior, the evaluated DSH version, the missing public capability and the conditions needed to implement it. During subsequent DSH version updates, recheck those conditions against the new public interfaces and verify the actual behavior. Implement the feature within DSMM's native integration boundary when support becomes available; otherwise keep the limitation explicit. Update the relevant design or compatibility documentation to describe the current limitation and its resolution criteria, rather than retaining a development log.
|
|
4
12
|
|
|
5
13
|
## Composition and authority
|
|
6
14
|
|
|
@@ -8,7 +16,7 @@ Official AgentRegistry, SubagentRuntime, AgentLoop and JSONL namespace plugins o
|
|
|
8
16
|
|
|
9
17
|
The data flow is configuration source → complete immutable candidate → Agent admission → native request/tool execution → activation/catalog → client projection. Configuration and display metadata can't flow backward to grant execution permission.
|
|
10
18
|
|
|
11
|
-
Each role invocation captures its exact parent, ToolExecution, definition/provider identities, frozen settings and route before calling native `startActivation`. A short-lived pending record correlates the unique child with awaited `agent/created`.
|
|
19
|
+
Each new role invocation captures its exact parent, ToolExecution, definition/provider identities, frozen settings and route before calling native `startActivation`. A short-lived pending record correlates the unique child with awaited `agent/created`. Native continuation instead validates the exact live parent, direct-child catalog, own descriptor and current provider; it does not fabricate a pending tool call or wait for the manager's later resident activation. The listener installs scoped policy, skills and routing before queued input is released, then publishes admission. Initialization failure is rolled back by the native factory. An independent native child preset is validated in its own current composition, not forced to equal the parent's preset.
|
|
12
20
|
|
|
13
21
|
Preset discovery, root eligibility and model availability are independent. Auxiliary presets aren't valid roots even if a native picker displays them. Empty-root preset changes require a valid execution-before-input binding; mismatched composition refuses at step/request/tool boundaries. Generic spawn/fork can't bypass a controlled parent's role admission. Ordinary non-DSMM off-mode paths don't gain DSMM authority.
|
|
14
22
|
|
|
@@ -18,7 +26,7 @@ Agent-scoped guards retain lifetime checks after plugin retirement. Native activ
|
|
|
18
26
|
|
|
19
27
|
Settings resolve as defaults → sparse Global → explicit native entry/profile → admitted named overlay. Objects merge, arrays replace, and explicit false, empty and same-default values remain pins. Unset affects only its own layer.
|
|
20
28
|
|
|
21
|
-
Core remains available without a session or active Deepwork. Desired source values, mounted startup ceilings and actual Agent admission are distinct.
|
|
29
|
+
Core remains available without a session or active Deepwork. Desired source values, mounted startup ceilings and actual Agent admission are distinct. Every root or continuable role-child activation captures current valid configuration within mounted ceilings. A resident Agent does not absorb later saves; freshly delegated children capture their parent's admission, while cold continuations resolve current content within the parent's actual authority. Without a session, admission is unknown.
|
|
22
30
|
|
|
23
31
|
Global, native form, named document and selection pointer have independent CAS boundaries. Global/store writes retain prepare, atomic commit and observation stages; native writes retain the public ConfigEditor/form transaction. Operator, connection, entry and lifetime are checked after awaits and before irreversible writes. A committed write with failed notification/observation stays committed with refresh-required or unsynchronized status. An unconfirmed native mutation requires reread before retry.
|
|
24
32
|
|
|
@@ -36,14 +44,16 @@ Collapsed invocation rows show `调用 Coding` / `Call Coding`; native child lab
|
|
|
36
44
|
|
|
37
45
|
Waiting calls use native `delivery: 'caller'` and consume the activation result; only `completed` is normal completion. Publication-time cancellation uses the receipt's `dispose()` and waits for cleanup. Background must be chosen before start with `delivery: 'parent'`; accepted child/message IDs aren't completion. Running waiting calls can't be handed off to background.
|
|
38
46
|
|
|
39
|
-
|
|
47
|
+
Direct-child Queue/Steer require exact ownership, parent admission, operator and native continuable catalog evidence. A cold prompt enters native continuation and obtains a new admission before executing. Interrupt and read-only list/describe never wake children. Unknown delivery outcomes aren't automatically resent. Native factory load/repair may precede the created guard, so refusal isn't a no-log-open guarantee.
|
|
40
48
|
|
|
41
|
-
|
|
49
|
+
Roots retain native assembled model and effort, including before an explicit selection event; an admitted profile primary is available to the explicit native model-selection action, not an implicit root override. Role children use current invocation routing, with their own explicit native selection taking priority during continuation preflight. Recovery and role routing prepare the request inside the existing DSMM LLM owner's preflight, before parameter projection and final capture. No post-capture hook replaces the exact proposal. Standard supported calls use native prepared calls; raw/custom calls retain the existing supported Pi-AI seam. [Model routing](model-routing.md) and [runtime recovery](runtime-recovery.md) define the boundaries.
|
|
42
50
|
|
|
43
51
|
Fourteen skills use Agent-scoped metadata discovery and lazy bodies, preserving non-DSMM ancestor winners and cancellation/invalidation semantics. `preset-skills` is an internal admission-owned handle, not a public plugin or global lifecycle owner. Deepwork off removes workflow/DSMM skills, not mandatory persona/read-only/tool policy.
|
|
44
52
|
|
|
45
53
|
## Limits
|
|
46
54
|
|
|
55
|
+
On DSH `0.2.1-rc.2`, native image preflight can still inspect old `agent.options` before request routing, both for root model switches and cold children reconstructed from historical descriptor models. Text restoration uses the refreshed DSMM route; image continuation may fail when the old model is unavailable or lacks image support. There is no public atomic preflight-route/options refresh interface. DSMM does not modify readonly options or falsify model capabilities. A later Host version must expose a supported route-aware preflight boundary, and upgrades must recheck root and child image behavior. Native persisted persona/toolFilter registrations and unresolved independent presets remain Host-owned; see [compatibility](compatibility.md#native-history-composition).
|
|
56
|
+
|
|
47
57
|
Native approval remains final for its exact call/scope, not a reusable permission. Relevant policy changes coordinate revocation; unrelated display/model saves aren't second approval gates. See [native permissions](native-permissions.md).
|
|
48
58
|
|
|
49
59
|
Network behavior and limits are specified in [Fake-IP fetch](web-fetch-fakeip.md); shell rejection remains unlocated. LSP automatic mounting stays disabled; DSH's native LSP and independent MCP remain unchanged. See [LSP boundary](lsp.md).
|
package/docs/lsp.md
CHANGED
|
@@ -39,6 +39,6 @@ An independently mounted native MCP client using `serverName: dsmm_lsp` uses the
|
|
|
39
39
|
|
|
40
40
|
DSMM's read-only role restrictions don't grant rename or format permission. The retained `lspRuntime` status interface reports bounded state, diagnostic codes and tool names, not executable paths, arguments or environment values. Tool discovery alone doesn't prove language-server availability or a successful symbol query.
|
|
41
41
|
|
|
42
|
-
DSMM 0.3.
|
|
42
|
+
DSMM 0.3.12 targets exactly DSH `0.2.1-rc.2`. Automatic external LSP mounting isn't delivered; the retained interface inventory isn't an activation path.
|
|
43
43
|
|
|
44
44
|
DSH's native definition/references/implementation/hover surface isn't a promise of diagnostics, rename or format. The retained external interface above doesn't expand that native scope. Independently managed MCP users must verify actual executable and language-server availability; DSMM doesn't certify or repair that environment.
|
package/docs/model-routing.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Providers, accounts and credentials remain native DSH configuration, never named-profile contents.
|
|
4
4
|
|
|
5
|
-
DSMM 0.3.
|
|
5
|
+
DSMM 0.3.12 targets exactly DSH `0.2.1-rc.2`. Standard calls use native prepared calls. The public Pi-AI completions seam supports self-contained literal and explicit model-mapping raw configurations; unsupported catalog-backed raw combinations are rejected without affecting standard calls.
|
|
6
6
|
|
|
7
7
|
## Native roots and child defaults
|
|
8
8
|
|
|
9
|
-
Every
|
|
9
|
+
Every root retains native assembled provider/model/effort, including implicit defaults before the first `model/selection` event. Activating Deepwork, choosing a preset, saving/selecting a profile or refreshing a cold admission does not implicitly apply a root primary. **Use profile model** is the explicit native selection action against admitted configuration; later manual choices remain authoritative. Root retry preserves the exact native downstream configuration and never switches to a profile fallback channel automatically.
|
|
10
10
|
|
|
11
|
-
`roleRouting` is keyed by canonical IDs such as `dsmm-reviewer`, not tool names or labels. Each entry accepts `primary`, ordered `fallbackRoutes`, `strategy`, bounded `rateLimit`, and `levels`. Omitted primary inherits the native parent route for a child.
|
|
11
|
+
`roleRouting` is keyed by canonical IDs such as `dsmm-reviewer`, not tool names or labels. Each entry accepts `primary`, ordered `fallbackRoutes`, `strategy`, bounded `rateLimit`, and `levels`. Omitted primary inherits the native parent route for a child. Explicit host options on new delegation retain their priority. Historical descriptor options are reconstruction defaults, not a new override of current DSMM routing. A cold child resolves its invocation again, taking its own explicit native selection before configured-route preparation; a configured model that will not be used is not a preflight dependency. Ancestor selections, labels and old request defaults are not child selection intent.
|
|
12
12
|
|
|
13
13
|
```jsonc
|
|
14
14
|
{
|
|
@@ -41,7 +41,7 @@ rc.2's `LlmCallConfig` doesn't carry arbitrary provider JSON, and its Pi-AI stre
|
|
|
41
41
|
|
|
42
42
|
The raw seam captures the actual registered adapter fiber, provider configuration and credential-reference generation, with native `LlmAdapter.prepareCall` model/capability checks and single dispatch. Admission, cancellation and owner generations are rechecked after awaits and before submission. Native attribution, attachments, system prompts, tool updates and error classification are preserved. Credentials aren't copied into profiles or resolved through an ambient fallback. Standard native effort encoding remains unchanged; a raw payload hook can't mutate a captured native route or widen its authority.
|
|
43
43
|
|
|
44
|
-
Saving or selecting a future default preserves route JSON without sending a completion. Actual invocation/preparation checks provider/model support. Existing Agents use admitted parameter policy,
|
|
44
|
+
Saving or selecting a future default preserves route JSON without sending a completion. Actual invocation/preparation checks provider/model support. Existing Agents use admitted parameter policy, while native reactivation resolves current configuration. **Use profile model** is a separate native selection action, not raw execution authorization.
|
|
45
45
|
|
|
46
46
|
```jsonc
|
|
47
47
|
{
|
|
@@ -91,9 +91,9 @@ Child preparation selects the primary or first resolvable configured candidate i
|
|
|
91
91
|
|
|
92
92
|
Only provider absence established through the public registration directory, or adapter-proven `UNKNOWN_MODEL`, can advance a remaining startup candidate before accepted output/tool fragments. A generic `NO_ADAPTER` from preparation, middleware or an unready registered adapter is not absence proof. Transport, authorization, quota, payment, context and cancelled failures don't authorize model hopping. Partial text, reasoning or tool output forbids automatic retry, including same-route retry. Ordinary roots remain on their native route. See [runtime recovery](runtime-recovery.md).
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
Resident Agents and freshly delegated children use immutable admitted policy, not a later draft or desired deployment. Cold continuation obtains current policy at its new activation. Child initial routes don't override later accepted native manual intent or valid fallback every turn. Omitted effort clears stale explicit effort. Profile storage, native persistence and execution ownership remain separate; see [profiles](profiles.md#storage-and-lifetime) and [compatibility](compatibility.md).
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
Native cold restoration establishes a new exact-Agent admission from current configuration and verified native ownership, not from serialized runtime authority. Old capture metadata may supply profile ID and explicit level intent only. A missing capture does not block a native DSMM descriptor. New epochs isolate historical route locks and retry counters. The existing DSMM owner performs admission → recovery preparation → role routing → parameter/model validation → final snapshot/capture → native `prepareCall`; stock-only integrations use the same preparation body once. Exact proposal, Agent, scope, signal and single-consumption checks remain mandatory.
|
|
97
97
|
|
|
98
98
|
## Observed route versus declared route
|
|
99
99
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Native permissions
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.12 targets exactly DSH `0.2.1-rc.2`. DSH owns approval; DSMM composes policy into the native tool pipeline without a second approval queue or UI. DSMM command-rule approval memory is limited to the exact live Agent and is distinct from native once grants.
|
|
4
4
|
|
|
5
5
|
## Full access and approval
|
|
6
6
|
|
|
@@ -12,6 +12,8 @@ Actual DSH manual approval is final for the same call and approved scope. Older
|
|
|
12
12
|
|
|
13
13
|
A native once grant applies only to its actual call and scope. It doesn't change standing session permissions, authorize later calls or turn a narrower approval into full access. Model-supplied arguments aren't approval; a matching simple allowlist entry selects an automatic answer for the current native request, not a reusable grant. Native policy `never` refuses before the rc2 answerer and cannot be overridden by it. Caller/native cancellation remains effective, and the original tool or OS can still fail. Permission to execute isn't a command-success guarantee.
|
|
14
14
|
|
|
15
|
+
DSMM remembers only its approved Git action rules, exact explicit shell ask rules and object-form native command ask rules after the native service returns final `allowed-once` with the invocation/lifecycle bindings intact. Matching later calls from that exact live Agent may omit the satisfied DSMM ask contribution, but never reuse the native once target or automatically answer a new native escalation. All applicable DSMM asks must be satisfied; explicit deny, independent native/third-party ask or deny, cancellation and `approval.policy=never` still apply. Rule/source changes invalidate future memory without canceling an already pending native request. No memory passes to children, restored/recreated Agents or another registration; nothing is persisted as recoverable approval.
|
|
16
|
+
|
|
15
17
|
## Settings and synchronization
|
|
16
18
|
|
|
17
19
|
`permissionControl.enabled` defaults true independently of Deepwork and is captured at cold startup. Saving a different value reports restart-required; it neither hot-mounts an executor nor changes the admitted toggle, even for new roots. Turning it off doesn't disable native permissions or other independent tool restrictions.
|
|
@@ -38,6 +40,8 @@ This removes only DSMM outside-read asks. Independent downstream asks, denials a
|
|
|
38
40
|
|
|
39
41
|
Use **Plugins → DSMM bundle config → Permissions**. The selected Global/native-profile scope edits its sparse deployment policy; a separate Root-rules transaction writes Global only under the existing live operator, exact open Root, registration and synchronized-policy authority. A child, stale connection, read-only Host or shadowing native policy doesn't acquire a fallback Global write. Named Profiles can't grant these permissions. No duplicate Settings permission page or Conversation permission tab is registered.
|
|
40
42
|
|
|
43
|
+
The existing safety fields include `guards.gitWriteScope: all-writes | high-risk` (default `all-writes`) alongside `gitWriteGuard: ask | deny | off`. Scope selects only the automatic Git action set; it does not filter explicit shell ask/deny or disable object-form command asks. Unset restores the lower layer/default, and read-only forms cannot save. Named profiles may carry this guard setting without granting native permission-control authority. Child captures include settings, never parent approval memory. See [safety guards](safety-guards.md) for coverage and limits.
|
|
44
|
+
|
|
41
45
|
A trusted, writable native Root can manage Global rules without DSMM role admission, including when it predates Core mounting and currently uses the user-selectable `dsmm-orchestrator` composition. Qualification uses the current native composition, never a historical preset label; auxiliary, read-only and unknown `dsmm-` compositions remain ineligible without admission. Rule management does not grant DSMM role execution rights. Captured DSMM objects still require current admission and role checks, and retired captures cannot fall back to ordinary native authority.
|
|
42
46
|
|
|
43
47
|
`permissionControl.nativeCommands` defaults off. Entries in `permissionControl.nativeCommands.entries` accept simple command/subcommand pattern strings (e.g. `git`, `git status`, `go test`) or legacy object entries (`NativeCommandEntry`). Legacy entries are preserved losslessly without silent conversion or authorization widening.
|