@lensmcp/protocol-types 1.25.66 → 1.25.68

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/proof.d.ts CHANGED
@@ -9,6 +9,15 @@ export interface RuntimeProofIdentity {
9
9
  configurationHash: string;
10
10
  /** The candidate's own preparation that ran before its services booted (foodguard-235); absent when none was declared. */
11
11
  prepare?: CandidateRuntimePrepare;
12
+ /**
13
+ * The LensMCP packages this runtime ran in place of those the candidate's committed lockfile installed
14
+ * (foodguard-250): the gateway serves one exact closure, and Main's uncommitted upgrade makes it another. Name → the
15
+ * committed version and the one run. Absent when the runtime ran the committed closure.
16
+ */
17
+ alignedLensmcp?: Record<string, {
18
+ committed: string;
19
+ ran: string;
20
+ }>;
12
21
  }
13
22
  /** Identity of a proof's source and declared execution inputs. Secret values are never retained. */
14
23
  export interface ProofFingerprint {
@@ -24,6 +33,15 @@ export interface ProofFingerprint {
24
33
  runnerHash: string;
25
34
  files: Record<string, string>;
26
35
  runtimeBinding?: RuntimeProofIdentity;
36
+ /**
37
+ * The LensMCP packages the checkout ran in place of its committed lockfile's, because a runtime proof of the same
38
+ * candidate put the gateway's closure in place (foodguard-250). Not a candidate input: a proof that ran before that
39
+ * ran the committed closure and still stands. Absent when the checkout runs its committed closure.
40
+ */
41
+ alignedLensmcp?: Record<string, {
42
+ committed: string;
43
+ ran: string;
44
+ }>;
27
45
  }
28
46
  export interface ProofEvidence {
29
47
  fingerprint?: ProofFingerprint;
@@ -15,6 +15,13 @@ export interface GoalDependency {
15
15
  goalId: string;
16
16
  output: string;
17
17
  revision?: string;
18
+ /**
19
+ * When LensMCP put it on the dependent's schedule (overseer-24): a version of the predecessor's design handed in after
20
+ * it changed what the dependent was planned on, so the output is not accepted without the person. Stamped by the
21
+ * store, never taken from a request; a dependency planned before it has none (its dependent's first schedule change,
22
+ * else its creation, stands in).
23
+ */
24
+ plannedAt?: number;
18
25
  }
19
26
  export interface GoalSchedule {
20
27
  goalId: string;
@@ -132,6 +139,17 @@ export interface AcceptedGoalOutput {
132
139
  revision: string;
133
140
  integratedAt: number;
134
141
  }
142
+ /**
143
+ * A finished goal's output LensMCP did not accept by itself when the goal completed, and why (overseer-24): the
144
+ * dependent's blocker line says it, and the person accepts it by hand. Gone once it is accepted.
145
+ */
146
+ export interface HeldGoalOutput {
147
+ goalId: string;
148
+ output: string;
149
+ why: string;
150
+ at: number;
151
+ }
152
+ /** `by`: `user` (the person), `planner`, or `lensmcp` — an output it accepted on its goal's proof (overseer-24). */
135
153
  export interface DeliveryAudit {
136
154
  at: number;
137
155
  by: string;
@@ -146,6 +164,8 @@ export interface DeliveryState {
146
164
  schedules: GoalSchedule[];
147
165
  outputs: AcceptedGoalOutput[];
148
166
  audit: DeliveryAudit[];
167
+ /** Outputs of completed goals LensMCP did not accept itself, each with why (overseer-24). */
168
+ held?: HeldGoalOutput[];
149
169
  /** The ranked goals, first first (RM-D6): the claim order. Goals not in it rank after it, by priority then age. */
150
170
  order?: string[];
151
171
  /** Goals a re-plan never moves. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensmcp/protocol-types",
3
- "version": "1.25.66",
3
+ "version": "1.25.68",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",