@lmzhen/dsh-evolution-plan-validator 0.16.1 → 0.17.0

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.
@@ -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
- /** The seqs of the frames that carry CONTENT (core `evidenceKindIndex`), or
61
- * `undefined` when the caller cannot classify the log (a session whose events carry no
62
- * seq). Read by the report-only `EVIDENCE_CLASS` row only: an op whose entire citation
63
- * list is a bookkeeping frame (`turn/start`, `step/start`, …) becomes visible
64
- * without being refused. */
65
- substantiveEvidenceSeqs?: ReadonlySet<number> | undefined;
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.16.1",
4
+ "version": "0.17.0",
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.16.1"
29
+ "@lmzhen/dsh-evolution-core": "^0.17.0"
30
30
  }
31
31
  }