@lmzhen/dsh-evolution-merge 0.32.4 → 0.32.5

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 -51
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,53 +1,19 @@
1
1
  # @lmzhen/dsh-evolution-merge
2
2
 
3
- Skill auto-merge host surface: candidate screening through the vendored pipeline,
4
- two-round child authoring, per-pair staging, pending approval, commit receipts and
5
- unit undo.
6
-
7
- > **Screening pipeline freeze:** the merge-engine screening pipeline ①–⑤ is specially
8
- > tuned. Its substantive flow (stage order, inputs/outputs, models, weights, thresholds,
9
- > filters, scoring, decisions, and any selection policy affecting candidate set/order)
10
- > must not change. Only packaging, loading, adapters, error boundaries, diagnostics and
11
- > tests may change, with parity evidence proving identical screening output.
12
-
13
- ## Surface
14
-
15
- - `/evolution merge <subcommand>` — canonical command.
16
- - `/merge <subcommand>` — compatibility alias; registered through 0.30, deprecated in 0.31, removed in 0.32.
17
- - Four read-only routes under `/api/dsh-evolution/merge/*`.
18
-
19
- ```text
20
- /evolution merge scan | pair [--force] <a> <b> | candidates [--retry <id>] |
21
- status [id] | pending [--expired] | report [id] |
22
- approve <id> | reject <id> | resume [id] [--clear <id>] [--retry] |
23
- skipped [--restore <id>] | doctor | runs | cancel [id] | undo <target> --run <id> |
24
- reconcile
25
- ```
26
-
27
- `/evolution merge` help lists 19 read/write surface commands plus the `reconcile`
28
- maintenance command; `doctor` and `reconcile` stay off the frozen CommandSurface v1.
29
-
30
- ## Models
31
-
32
- The engine needs local `potion-multilingual-128M-int8` and
33
- `potion-multilingual-128M-pca64-int8` directories under `mergeModelsRoot`.
34
- No auto provisioning; missing models fail loud and `/evolution doctor` warns.
35
- `SKILL_MERGE_MODELS_ROOT` is an engine-internal test/CLI knob, not a host
36
- configuration surface.
37
-
38
- ## Read-only panel
39
-
40
- The browser panel is `@lmzhen/dsh-evolution-merge-ui`, mounted by the
41
- `all` bundle only. The host row is mounted by `all`, `host` and `preset`.
42
- ## Reconcile
43
-
44
- `/evolution merge reconcile` is the one writer of row-state convergence: skipped-TTL
45
- expiry, approved→fuse continuation when the stage tree is usable, stage-lost demotion to a
46
- retryable fuse row, and source-gone clearing (only when the live library is non-empty).
47
- Every run writes `<home>/merge/reconcile.json`; `/evolution merge doctor` and the global
48
- `/evolution doctor` merge line consume that report. Snapshots and the four GET routes
49
- derive (for example an expired stage) but never persist.
50
-
51
- Runtime command failures use three lines — `code:` (with stage/run id), `hint:`, `next:`.
52
- A missing parent run answers `merge-parent-required` (with an E-305 hint); an invocation
53
- that carried no agent answers the typed `no-agent` code.
3
+ > 技能合并:把重叠技能合成一个,可审批、可撤销。
4
+
5
+ ## 你会看到
6
+
7
+ `/evolution merge …` 命令与侧栏合并面板。
8
+
9
+ ## 什么时候会用到
10
+
11
+ 你主动合并,或后台提出合并建议时。
12
+
13
+ ## 默认 / 前提
14
+
15
+ 需要本地合并模型;没有模型会明确报错。
16
+
17
+ ## 边界
18
+
19
+ 面板只读;合并结果可撤销。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-merge",
3
3
  "description": "Skill auto-merge domain: screening, two-round authoring, queues and commit orchestration (community build)",
4
- "version": "0.32.4",
4
+ "version": "0.32.5",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -32,9 +32,9 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@deepseek-ai/schemastery": "^3.18.5",
35
- "@lmzhen/dsh-evolution-core": "^0.32.4",
36
- "@lmzhen/dsh-evolution-commands": "^0.32.4",
37
- "@lmzhen/dsh-evolution-merge-engine": "0.32.4"
35
+ "@lmzhen/dsh-evolution-core": "^0.32.5",
36
+ "@lmzhen/dsh-evolution-commands": "^0.32.5",
37
+ "@lmzhen/dsh-evolution-merge-engine": "0.32.5"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@deepseek-ai/cordis": "^4.0.5"