@lmzhen/dsh-evolution-plan-validator 0.16.1 → 0.17.0-rc.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/lib/types/index.d.ts +10 -6
- package/package.json +2 -2
package/lib/types/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* earn (design §3D, §5.5).
|
|
19
19
|
* @module @lmzhen/dsh-evolution-plan-validator
|
|
20
20
|
*/
|
|
21
|
+
import { type EvidenceIndex } from '@lmzhen/dsh-evolution-core';
|
|
21
22
|
export interface MemoryOp {
|
|
22
23
|
target?: string;
|
|
23
24
|
action?: string;
|
|
@@ -57,12 +58,15 @@ export interface EvolutionPlan {
|
|
|
57
58
|
export interface ValidationContext {
|
|
58
59
|
/** Upper bound for the latest valid session seq. */
|
|
59
60
|
sessionSeq: number;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
|
|
61
|
+
/** Which frames carry CONTENT (core `EvidenceIndex`), or `undefined` when the caller
|
|
62
|
+
* cannot classify the log. Read by the report-only `EVIDENCE_CLASS` row only: an op whose
|
|
63
|
+
* entire citation list is a bookkeeping frame (`turn/start`, `step/start`, …) becomes
|
|
64
|
+
* visible without being refused.
|
|
65
|
+
*
|
|
66
|
+
* Two producers satisfy it: the dense whole-log reader (`evidenceKindIndex`) and the live
|
|
67
|
+
* session projection (`sessionEvidenceIndex`, the complement over boundary seqs) — the
|
|
68
|
+
* consumer asks one question (`has`), so either answers it. */
|
|
69
|
+
substantiveEvidenceSeqs?: EvidenceIndex | undefined;
|
|
66
70
|
maxOpsPerPlan?: number;
|
|
67
71
|
protectedSkillNames?: ReadonlySet<string>;
|
|
68
72
|
maxMemoryChars?: number;
|
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.
|
|
4
|
+
"version": "0.17.0-rc.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
],
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@lmzhen/dsh-evolution-core": "^0.
|
|
29
|
+
"@lmzhen/dsh-evolution-core": "^0.17.0-rc.1"
|
|
30
30
|
}
|
|
31
31
|
}
|