@lmzhen/dsh-evolution-host 0.1.0-rc.1 → 0.1.0-rc.11

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 (2) hide show
  1. package/cordis.patch.yml +92 -74
  2. package/package.json +24 -24
package/cordis.patch.yml CHANGED
@@ -1,74 +1,92 @@
1
- # Host-plane evolution bundle.
2
- #
3
- # This layer owns the shared self-evolution INFRASTRUCTURE: registries,
4
- # providers, control plane, background review/curator, and observability.
5
- # It deliberately registers NO model-facing tools. Model tools are the
6
- # agent-preset layer (see ../evolution-agent/agent.cordis.yml), so a profile
7
- # can run evolution automation without exposing `memory`/`skill_manage` to
8
- # every session.
9
- - insert:
10
- # ── control plane ───────────────────────────────────────────────────────
11
- - id: evolution-policy
12
- name: '@lmzhen/dsh-evolution-policy'
13
-
14
- # ── IO seam: one registry, one node:fs provider ─────────────────────────
15
- - id: evolution-io
16
- name: '@lmzhen/dsh-evolution-io'
17
- - id: evolution-io-node
18
- name: '@lmzhen/dsh-evolution-io-node'
19
-
20
- # ── durable state: storage-domain KV first, portable JSON fallback ──────
21
- - id: evolution-state-storage
22
- name: '@lmzhen/dsh-evolution-state-storage'
23
- - id: evolution-state-domain
24
- name: '@lmzhen/dsh-evolution-state-domain'
25
- # The storage-domain facility is host-plane. On hosts that do not mount
26
- # it, keep this row dormant so the JSON provider remains the active
27
- # state backend instead of turning the whole tree into a pending entry.
28
- disabled: !!js ctx.get('storageDomain') === undefined
29
- - id: evolution-state-json
30
- name: '@lmzhen/dsh-evolution-state-json'
31
- - id: evolution-state
32
- name: '@lmzhen/dsh-evolution-state'
33
-
34
- # ── memory seam: registry and provider, no model tool ───────────────────
35
- - id: memory
36
- name: '@lmzhen/dsh-memory'
37
- - id: memory-files
38
- name: '@lmzhen/dsh-memory-files'
39
-
40
- # ── skill telemetry (skill catalog/writer live in agent presets) ────────
41
- - id: skill-usage
42
- name: '@lmzhen/dsh-skill-usage'
43
-
44
- # ── write admission: staged approval (off by default) + threat guard ────
45
- - id: evolution-approval
46
- name: '@lmzhen/dsh-evolution-approval'
47
- config:
48
- enabled: false
49
- stageForeground: true
50
- - id: evolution-capability
51
- name: '@lmzhen/dsh-evolution-capability'
52
- - id: evolution-threat
53
- name: '@lmzhen/dsh-evolution-threat'
54
-
55
- # ── review / curator / observability / human controls ───────────────────
56
- - id: evolution-review
57
- name: '@lmzhen/dsh-evolution-review'
58
- config:
59
- # Anchored Standard hides the plain `skill` tool behind discovery
60
- # tools; allow all three so review subagents can still find and load
61
- # skills under that preset family.
62
- reviewToolAllow: [skill, skill_search, skill_load]
63
- - id: evolution-curator
64
- name: '@lmzhen/dsh-evolution-curator'
65
- - id: evolution-commands
66
- name: '@lmzhen/dsh-evolution-commands'
67
- - id: evolution-activity
68
- name: '@lmzhen/dsh-evolution-activity'
69
- - id: evolution-feedback
70
- name: '@lmzhen/dsh-evolution-feedback'
71
- - id: evolution-learning-graph
72
- name: '@lmzhen/dsh-evolution-learning-graph'
73
- - id: evolution-replay
74
- name: '@lmzhen/dsh-evolution-replay'
1
+ # Host-plane evolution bundle.
2
+ #
3
+ # This layer owns the shared self-evolution INFRASTRUCTURE: registries,
4
+ # providers, control plane, background review/curator, and observability.
5
+ # It deliberately registers NO model-facing tools. Model tools are the
6
+ # agent-preset layer (see ../evolution-agent/agent.cordis.yml), so a profile
7
+ # can run evolution automation without exposing `memory`/`skill_manage` to
8
+ # every session.
9
+ - insert:
10
+ # ── control plane ───────────────────────────────────────────────────────
11
+ - id: evolution-policy
12
+ name: '@lmzhen/dsh-evolution-policy'
13
+
14
+ # ── IO seam: one registry, one node:fs provider ─────────────────────────
15
+ - id: evolution-io
16
+ name: '@lmzhen/dsh-evolution-io'
17
+ - id: evolution-io-node
18
+ name: '@lmzhen/dsh-evolution-io-node'
19
+
20
+ # ── durable state: storage-domain KV first, portable JSON fallback ──────
21
+ - id: evolution-state-storage
22
+ name: '@lmzhen/dsh-evolution-state-storage'
23
+ - id: evolution-state-domain
24
+ name: '@lmzhen/dsh-evolution-state-domain'
25
+ # The storage-domain provider is opt-in. It is disabled by default so a
26
+ # profile without the host storage-domain facility boots deterministically
27
+ # and evolution-state-json remains the active portable backend. Enable it
28
+ # explicitly in a profile overlay only when storage-domain is mounted.
29
+ disabled: true
30
+ - id: evolution-state-json
31
+ name: '@lmzhen/dsh-evolution-state-json'
32
+ - id: evolution-state
33
+ name: '@lmzhen/dsh-evolution-state'
34
+
35
+ # ── memory seam: registry and provider, no model tool ───────────────────
36
+ - id: memory
37
+ name: '@lmzhen/dsh-memory'
38
+ - id: memory-files
39
+ name: '@lmzhen/dsh-memory-files'
40
+
41
+ # ── skill telemetry (skill catalog/writer live in agent presets) ────────
42
+ - id: skill-usage
43
+ name: '@lmzhen/dsh-skill-usage'
44
+
45
+ # ── write admission: staged approval (off by default) + threat guard ────
46
+ - id: evolution-approval
47
+ name: '@lmzhen/dsh-evolution-approval'
48
+ config:
49
+ enabled: false
50
+ stageForeground: true
51
+ - id: evolution-capability
52
+ name: '@lmzhen/dsh-evolution-capability'
53
+ - id: evolution-threat
54
+ name: '@lmzhen/dsh-evolution-threat'
55
+
56
+ # ── review / curator / observability / human controls ───────────────────
57
+ - id: evolution-review
58
+ name: '@lmzhen/dsh-evolution-review'
59
+ config:
60
+ # Anchored Standard hides the plain `skill` tool behind discovery
61
+ # tools; allow all three so review subagents can still find and load
62
+ # skills under that preset family.
63
+ reviewToolAllow: [skill, skill_search, skill_load]
64
+ - id: evolution-curator
65
+ name: '@lmzhen/dsh-evolution-curator'
66
+ - id: evolution-commands
67
+ name: '@lmzhen/dsh-evolution-commands'
68
+ - id: evolution-activity
69
+ name: '@lmzhen/dsh-evolution-activity'
70
+ - id: evolution-feedback
71
+ name: '@lmzhen/dsh-evolution-feedback'
72
+ - id: evolution-learning-graph
73
+ name: '@lmzhen/dsh-evolution-learning-graph'
74
+ - id: evolution-replay
75
+ name: '@lmzhen/dsh-evolution-replay'
76
+
77
+ # ── cross-session recall: enable the native session-query index ─────────────
78
+ # `tool-session-query` (agent preset) exposes `session_search`; this overlay
79
+ # enables the backing SQLite full-text index so that search actually works.
80
+ # It is a configuration OVERRIDE of the base `session-query-sqlite` row (never
81
+ # an insert — base already provides it), so it must sit OUTSIDE the `- insert:`
82
+ # block above. Both fields are parameterized via environment variables (dsh
83
+ # `!!js` runtime evaluation), and any profile cordis.patch.yml overlay may still
84
+ # override them later. `openAt` defaults to `startup` so the index is ready for
85
+ # cross-session recall; set `DSH_EVOLUTION_SESSION_QUERY=never` to disable, or
86
+ # `first-search` to build it lazily. A durable `path` (not `:memory:`) lets the
87
+ # index survive restarts. Note: `config` values replace the base entry's config
88
+ # wholesale, so both path and openAt are set here.
89
+ - id: session-query-sqlite
90
+ config:
91
+ path: !!js (process.env.DSH_EVOLUTION_SESSION_QUERY_PATH ?? ((process.env.DSH_HOME ?? process.env.USERPROFILE ?? '.') + '/evolution/session-query.db'))
92
+ openAt: !!js process.env.DSH_EVOLUTION_SESSION_QUERY ?? 'startup'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-host",
3
3
  "description": "Host-plane self-evolution infrastructure bundle for DeepSeek Harness (community build)",
4
- "version": "0.1.0-rc.1",
4
+ "version": "0.1.0-rc.11",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -26,35 +26,35 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "@lmzhen/dsh-evolution-policy": "^0.1.0-rc.1",
30
- "@lmzhen/dsh-evolution-io": "^0.1.0-rc.1",
31
- "@lmzhen/dsh-evolution-io-node": "^0.1.0-rc.1",
32
- "@lmzhen/dsh-evolution-state-storage": "^0.1.0-rc.1",
33
- "@lmzhen/dsh-evolution-state-domain": "^0.1.0-rc.1",
34
- "@lmzhen/dsh-evolution-state-json": "^0.1.0-rc.1",
35
- "@lmzhen/dsh-evolution-state": "^0.1.0-rc.1",
36
- "@lmzhen/dsh-memory": "^0.1.0-rc.1",
37
- "@lmzhen/dsh-memory-files": "^0.1.0-rc.1",
38
- "@lmzhen/dsh-skill-usage": "^0.1.0-rc.1",
39
- "@lmzhen/dsh-evolution-approval": "^0.1.0-rc.1",
40
- "@lmzhen/dsh-evolution-threat": "^0.1.0-rc.1",
41
- "@lmzhen/dsh-evolution-review": "^0.1.0-rc.1",
42
- "@lmzhen/dsh-evolution-curator": "^0.1.0-rc.1",
43
- "@lmzhen/dsh-evolution-commands": "^0.1.0-rc.1",
44
- "@lmzhen/dsh-evolution-activity": "^0.1.0-rc.1",
45
- "@lmzhen/dsh-evolution-feedback": "^0.1.0-rc.1",
46
- "@lmzhen/dsh-evolution-learning-graph": "^0.1.0-rc.1",
47
- "@lmzhen/dsh-evolution-replay": "^0.1.0-rc.1",
48
- "@lmzhen/dsh-evolution-capability": "^0.1.0-rc.1"
29
+ "@lmzhen/dsh-evolution-policy": "^0.1.0-rc.11",
30
+ "@lmzhen/dsh-evolution-io": "^0.1.0-rc.11",
31
+ "@lmzhen/dsh-evolution-io-node": "^0.1.0-rc.11",
32
+ "@lmzhen/dsh-evolution-state-storage": "^0.1.0-rc.11",
33
+ "@lmzhen/dsh-evolution-state-domain": "^0.1.0-rc.11",
34
+ "@lmzhen/dsh-evolution-state-json": "^0.1.0-rc.11",
35
+ "@lmzhen/dsh-evolution-state": "^0.1.0-rc.11",
36
+ "@lmzhen/dsh-memory": "^0.1.0-rc.11",
37
+ "@lmzhen/dsh-memory-files": "^0.1.0-rc.11",
38
+ "@lmzhen/dsh-skill-usage": "^0.1.0-rc.11",
39
+ "@lmzhen/dsh-evolution-approval": "^0.1.0-rc.11",
40
+ "@lmzhen/dsh-evolution-threat": "^0.1.0-rc.11",
41
+ "@lmzhen/dsh-evolution-review": "^0.1.0-rc.11",
42
+ "@lmzhen/dsh-evolution-curator": "^0.1.0-rc.11",
43
+ "@lmzhen/dsh-evolution-commands": "^0.1.0-rc.11",
44
+ "@lmzhen/dsh-evolution-activity": "^0.1.0-rc.11",
45
+ "@lmzhen/dsh-evolution-feedback": "^0.1.0-rc.11",
46
+ "@lmzhen/dsh-evolution-learning-graph": "^0.1.0-rc.11",
47
+ "@lmzhen/dsh-evolution-replay": "^0.1.0-rc.11",
48
+ "@lmzhen/dsh-evolution-capability": "^0.1.0-rc.11"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.0-rc.6",
52
52
  "@deepseek-ai/dsh-skill": "^0.1.0-rc.6",
53
53
  "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
54
54
  "@deepseek-ai/cordis": "^4.0.1",
55
- "@lmzhen/dsh-tool-memory": "^0.1.0-rc.1",
56
- "@lmzhen/dsh-tool-skill-manage": "^0.1.0-rc.1",
57
- "@lmzhen/dsh-evolution-skill-catalog": "^0.1.0-rc.1"
55
+ "@lmzhen/dsh-tool-memory": "^0.1.0-rc.11",
56
+ "@lmzhen/dsh-tool-skill-manage": "^0.1.0-rc.11",
57
+ "@lmzhen/dsh-evolution-skill-catalog": "^0.1.0-rc.11"
58
58
  },
59
59
  "exports": {
60
60
  "./invariant": {