@lmzhen/dsh-evolution-plan-validator 0.3.67 → 0.3.69
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 +5 -0
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -21,6 +21,11 @@ const SKILL_ACTIONS = new Set([
|
|
|
21
21
|
"restructure"
|
|
22
22
|
]);
|
|
23
23
|
const FORBIDDEN_KEYS = FORBIDDEN_CONTROL_KEYS;
|
|
24
|
+
/** v31 REV-08 (stated honestly): this gate is SEQUENCE-RANGE ONLY — every
|
|
25
|
+
* evidence item must carry an integer seq within [0, sessionSeq]. There is NO
|
|
26
|
+
* quoted-text/content verification: a model can satisfy it by citing any
|
|
27
|
+
* in-range event (even an unrelated one). Anti-fabrication strength lives in
|
|
28
|
+
* read-before-write, budgets, and the threat scan — not here. */
|
|
24
29
|
function hasValidEvidence(evidence, sessionSeq) {
|
|
25
30
|
if (!Array.isArray(evidence) || evidence.length === 0) return false;
|
|
26
31
|
return evidence.every((item) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-plan-validator",
|
|
3
3
|
"description": "Deterministic validator for model-produced evolution plans (community build)",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.69",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@lmzhen/dsh-evolution-core": "^0.3.
|
|
33
|
+
"@lmzhen/dsh-evolution-core": "^0.3.69"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|