@lmzhen/dsh-evolution-merge 0.31.0 → 0.31.1
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 +6 -0
- package/lib/index.js +3 -2
- package/lib/types/adapters/library.js +4 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -4,6 +4,12 @@ Skill auto-merge host surface: candidate screening through the vendored pipeline
|
|
|
4
4
|
two-round child authoring, per-pair staging, pending approval, commit receipts and
|
|
5
5
|
unit undo.
|
|
6
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
|
+
|
|
7
13
|
## Surface
|
|
8
14
|
|
|
9
15
|
- `/evolution merge <subcommand>` — canonical command.
|
package/lib/index.js
CHANGED
|
@@ -9046,13 +9046,14 @@ function skillLibraryPort(skills) {
|
|
|
9046
9046
|
return {
|
|
9047
9047
|
readSkill: (name) => skills.read(name),
|
|
9048
9048
|
isArchived: async (name) => {
|
|
9049
|
-
if (typeof archivedNames !== "function")
|
|
9049
|
+
if (typeof archivedNames !== "function") throw new Error("SkillLibrary.archivedNames is unavailable; refusing to treat an unknown archive state as unarchived");
|
|
9050
9050
|
const names = await archivedNames.call(skills);
|
|
9051
9051
|
return names === null ? true : names.includes(name);
|
|
9052
9052
|
},
|
|
9053
9053
|
isNameOccupied: async (name) => {
|
|
9054
9054
|
const probe = skills.skillDirExists;
|
|
9055
|
-
|
|
9055
|
+
if (typeof probe !== "function") throw new Error("SkillLibrary.skillDirExists is unavailable; refusing to treat an unknown name as free");
|
|
9056
|
+
return await probe.call(skills, name);
|
|
9056
9057
|
},
|
|
9057
9058
|
async readSupportFiles(name) {
|
|
9058
9059
|
if (typeof skills.listSupportFiles !== "function") return [];
|
|
@@ -4,13 +4,15 @@ export function skillLibraryPort(skills) {
|
|
|
4
4
|
readSkill: name => skills.read(name),
|
|
5
5
|
isArchived: async (name) => {
|
|
6
6
|
if (typeof archivedNames !== 'function')
|
|
7
|
-
|
|
7
|
+
throw new Error('SkillLibrary.archivedNames is unavailable; refusing to treat an unknown archive state as unarchived');
|
|
8
8
|
const names = await archivedNames.call(skills);
|
|
9
9
|
return names === null ? true : names.includes(name);
|
|
10
10
|
},
|
|
11
11
|
isNameOccupied: async (name) => {
|
|
12
12
|
const probe = skills.skillDirExists;
|
|
13
|
-
|
|
13
|
+
if (typeof probe !== 'function')
|
|
14
|
+
throw new Error('SkillLibrary.skillDirExists is unavailable; refusing to treat an unknown name as free');
|
|
15
|
+
return await probe.call(skills, name);
|
|
14
16
|
},
|
|
15
17
|
async readSupportFiles(name) {
|
|
16
18
|
if (typeof skills.listSupportFiles !== 'function')
|
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.31.
|
|
4
|
+
"version": "0.31.1",
|
|
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.31.
|
|
36
|
-
"@lmzhen/dsh-evolution-commands": "^0.31.
|
|
37
|
-
"@lmzhen/dsh-evolution-merge-engine": "0.31.
|
|
35
|
+
"@lmzhen/dsh-evolution-core": "^0.31.1",
|
|
36
|
+
"@lmzhen/dsh-evolution-commands": "^0.31.1",
|
|
37
|
+
"@lmzhen/dsh-evolution-merge-engine": "0.31.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@deepseek-ai/cordis": "^4.0.5"
|