@lmzhen/dsh-evolution-replay 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 +10 -18
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,26 +1,18 @@
1
1
  # @lmzhen/dsh-evolution-replay
2
2
 
3
- Replay/A-B evaluation primitives for evolution plans
3
+ Replay/A-B evaluation primitives for evolution plans: it reads the activity sidecar back,
4
+ compares plan outcomes and provides the `evolutionReplay` service behind `evolution
5
+ replay`.
4
6
 
5
- ## Model Experience
7
+ ## Model surface
6
8
 
7
- ### Indirect model surface
8
-
9
- #### What the model sees
10
-
11
- `@lmzhen/dsh-evolution-replay` registers no direct prompt or tool schema itself. Model-visible effects are owned by the packages that consume this service.
12
-
13
- #### Token effect
14
-
15
- Zero direct token effect from this package; consumers add any model-visible tokens.
16
-
17
- #### KV Cache effect
18
-
19
- Independent of request-prefix construction. This package does not alter the assembled prompt or tool list.
20
-
21
- ## Known Limitations and Deferred Work
9
+ - **Model-visible:** nothing of its own: no prompt section and no tool schema; `/evolution replay` is a human command; consumers own the model-visible effects.
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-replay` row, carried by the `evolution-host`, `evolution-all` and one-click `evolution-preset` bundles.
22
12
 
13
+ ## Known limitations
23
14
 
24
15
  - No known durable consumer gaps at this time. Runtime contracts are covered by package and boundary tests.
16
+ - **The activity-sidecar verdict is per read (`sourceCorrupt`).** When `apply()` meets bytes this build cannot read as the current format, every `compare()` result carries `sourceCorrupt: true` and its report states the leaderboard is NOT the recorded history (an empty list does not mean nothing happened); a later successful read clears the qualification (a repaired sidecar plus an io reload (HMR / plugin restart)), while the corruption stays observable through the one warn `apply()` emits at mark time.
25
17
 
26
- **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).
18
+ **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).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-replay",
3
3
  "description": "Replay/A-B evaluation primitives for evolution plans (community build)",
4
- "version": "0.3.83",
4
+ "version": "0.4.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,14 +27,14 @@
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
29
  "@deepseek-ai/schemastery": "^3.18.1",
30
- "@lmzhen/dsh-evolution-activity": "^0.3.83",
31
- "@lmzhen/dsh-evolution-core": "^0.3.83"
30
+ "@lmzhen/dsh-evolution-activity": "^0.4.0",
31
+ "@lmzhen/dsh-evolution-core": "^0.4.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@deepseek-ai/cordis": "^4.0.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@lmzhen/dsh-evolution-activity": "^0.3.83",
38
- "@lmzhen/dsh-evolution-core": "^0.3.83"
37
+ "@lmzhen/dsh-evolution-activity": "^0.4.0",
38
+ "@lmzhen/dsh-evolution-core": "^0.4.0"
39
39
  }
40
40
  }