@lmzhen/dsh-evolution-commands 0.3.83 → 0.4.0

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/README.md +17 -40
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,51 +1,28 @@
1
1
  # @lmzhen/dsh-evolution-commands
2
2
 
3
- Human commands for the evolution family
3
+ Human commands for the evolution family: it registers the `/evolution …` command surface
4
+ and its help text, and drives the other rows from a command. It adds no automatic
5
+ background behaviour of its own.
4
6
 
5
- ## Command reference
6
-
7
- The full `/evolution` subcommand table is single-sourced in the family
8
- README's **Command reference** section (`packages/README.md` in the source
9
- repository; it is named here instead of linked because a repo-relative
10
- markdown link out of this package would be dead inside the npm published
11
- tree). It is rendered from the subcommand registry (`src/registry.ts`, the same
12
- single source as the `/evolution` input-declaration hint and the
13
- bare-command help output), and `tests/registry.spec.ts` (T-WD2) pins that
14
- rendered table byte-for-byte. This package README cites that home instead
15
- of restating the table (doc-facts rule N19: never copy a fact across docs).
16
-
17
- ## Model Experience
18
-
19
- ### Indirect model surface
20
-
21
- #### What the model sees
22
-
23
- `@lmzhen/dsh-evolution-commands` registers no direct prompt or tool schema itself. Model-visible effects are owned by the packages that consume this service.
7
+ ## Model surface
24
8
 
25
- #### Token effect
9
+ - **Model-visible:** one direct token — the `/evolution learn` injection — the full learning guidance is injected as a user message in this session; everything else adds no tokens.
10
+ - **Prompt prefix / KV cache:** independent of request-prefix construction — it does not alter the assembled prompt or tool list; family rules: `packages/README.md` §"Model-visible prompt prefix and the KV cache".
11
+ - **Mount it?** yes — the `evolution-commands` row, carried by the `evolution-host`, `evolution-all` and `evolution-preset` bundles.
26
12
 
27
- P2-22 (v11) correction: this package's **only** direct model-visible token is the
28
- `/evolution learn` injection — the full learning guidance is injected as a user
29
- message in this session. Everything else adds no tokens; consumers add their own.
30
- The injection goes through the agent's waking primitive (`followup`, falling back
31
- to `inject` when the host lacks it), **called on the agent instance**: the
32
- platform's `Agent.followup` is a prototype method (`this.send(...)`), so a
33
- detached reference throws and queues nothing (0.3.73 fix; the same shape is
34
- pinned by rule N13b in `packages/scripts/verify-arch-guards.mjs`, which masks comments and string literals before matching and self-tests its detector at startup).
35
-
36
- #### KV Cache effect
37
-
38
- Independent of request-prefix construction. This package does not alter the assembled prompt or tool list.
13
+ ## Command reference
39
14
 
40
- ## Known Limitations and Deferred Work
15
+ The full `/evolution` subcommand table is single-sourced in the family README's **Command reference** section (`packages/README.md` in the source repository; it is named here instead of linked because a repo-relative markdown link out of this package would be dead inside the npm published tree). It is rendered from the subcommand registry (`src/registry.ts`, the same single source as the `/evolution` input-declaration hint and the bare-command help output), and `tests/registry.spec.ts` (T-WD2) pins that rendered table byte-for-byte.
41
16
 
17
+ ## Known limitations
42
18
 
43
19
  - No known durable consumer gaps at this time. Runtime contracts are covered by package and boundary tests.
44
- - **① variant form: the `/evolution …` command face is visible in every session**
45
- (accepted, not fixed — 0.3.78). Commands are registered in scope layers, and the
46
- family registers once on the host plane, so a session on a platform original
47
- preset still lists the management-only subcommands even though no automatic
48
- family behaviour reaches it. The difference and its reasoning are single-sourced
49
- in `INSTALL.md` ("Known difference").
20
+ - **① variant form: the `/evolution …` command face is visible in every session** (accepted, not fixed). Commands are registered in scope layers, and the family registers once on the host plane, so a session on a platform original preset still lists the management-only subcommands even though no automatic family behaviour reaches it. The difference and its reasoning are single-sourced in `INSTALL.md` ("Known difference").
50
21
 
51
22
  **Runtime invariant:** No companion is published. The platform auto-assembles nothing and the family mounts no `<pkg>/invariant` cordis row, so a companion here would never execute (v37 S2.1 / I-3).
23
+
24
+ ## Notes and history
25
+
26
+ - P2-22 (v11) correction: this package's **only** direct model-visible token is the `/evolution learn` injection — the full learning guidance is injected as a user message in this session.
27
+ - **① variant form: the `/evolution …` command face is visible in every session** (accepted, not fixed: 0.3.78).
28
+ - The injection goes through the agent's waking primitive (`followup`, falling back to `inject` when the host lacks it), **called on the agent instance**: the platform's `Agent.followup` is a prototype method (`this.send(...)`), so a detached reference throws and queues nothing (0.3.73 fix; the same shape is pinned by rule N13b in `packages/scripts/verify-arch-guards.mjs`, which masks comments and string literals before matching and self-tests its detector at startup).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-commands",
3
3
  "description": "Human commands for the evolution family (/evolution pending|curator|maintain|doctor) (community build)",
4
- "version": "0.3.83",
4
+ "version": "0.4.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,12 +27,12 @@
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
29
  "@deepseek-ai/schemastery": "^3.18.1",
30
- "@lmzhen/dsh-evolution-approval": "^0.3.83",
31
- "@lmzhen/dsh-evolution-core": "^0.3.83",
32
- "@lmzhen/dsh-evolution-maintenance": "^0.3.83"
30
+ "@lmzhen/dsh-evolution-approval": "^0.4.0",
31
+ "@lmzhen/dsh-evolution-core": "^0.4.0",
32
+ "@lmzhen/dsh-evolution-maintenance": "^0.4.0"
33
33
  },
34
34
  "optionalDependencies": {
35
- "@lmzhen/dsh-evolution-agent-preset": "^0.3.83"
35
+ "@lmzhen/dsh-evolution-agent-preset": "^0.4.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@deepseek-ai/cordis": "^4.0.1",