@lmzhen/dsh-evolution-feedback 0.1.0-rc.64 → 0.1.0-rc.65
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/lib/index.js +7 -1
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -365,7 +365,13 @@ function parseState(raw) {
|
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
/** Deep-merge two feedback states: union by target
|
|
368
|
+
/** Deep-merge two feedback states: union by target; in-memory values win on
|
|
369
|
+
* conflict. NOTE (v3 audit P3 reviewed): additive counting was rejected — a
|
|
370
|
+
* restart merge (restore+flush) would double-count the same records, and a
|
|
371
|
+
* stateless JSON sidecar cannot distinguish "two processes incrementing the
|
|
372
|
+
* same target" from "the same record seen twice". Cross-process same-target
|
|
373
|
+
* increments stay a documented limitation; an append-only event log would be
|
|
374
|
+
* the real fix. */
|
|
369
375
|
function mergeStates(disk, memory) {
|
|
370
376
|
return {
|
|
371
377
|
skills: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-feedback",
|
|
3
3
|
"description": "Feedback-to-quality scoring for self-evolution (community build)",
|
|
4
|
-
"version": "0.1.0-rc.
|
|
4
|
+
"version": "0.1.0-rc.65",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
39
39
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
40
|
-
"@lmzhen/dsh-evolution-io": "^0.1.0-rc.
|
|
41
|
-
"@lmzhen/dsh-skill-usage": "^0.1.0-rc.
|
|
40
|
+
"@lmzhen/dsh-evolution-io": "^0.1.0-rc.65",
|
|
41
|
+
"@lmzhen/dsh-skill-usage": "^0.1.0-rc.65"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
45
|
-
"@lmzhen/dsh-evolution-io": "^0.1.0-rc.
|
|
46
|
-
"@lmzhen/dsh-evolution-io-node": "^0.1.0-rc.
|
|
47
|
-
"@lmzhen/dsh-skill-usage": "^0.1.0-rc.
|
|
45
|
+
"@lmzhen/dsh-evolution-io": "^0.1.0-rc.65",
|
|
46
|
+
"@lmzhen/dsh-evolution-io-node": "^0.1.0-rc.65",
|
|
47
|
+
"@lmzhen/dsh-skill-usage": "^0.1.0-rc.65"
|
|
48
48
|
}
|
|
49
49
|
}
|