eval-quality 0.1.0 → 0.3.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.
Files changed (179) hide show
  1. package/README.md +142 -67
  2. package/corpus/dev/README.md +20 -13
  3. package/corpus/dev/compile-seal-example/brief.json +1 -1
  4. package/corpus/dev/compile-seal-example/contract.json +1 -1
  5. package/corpus/dev/contracts/absent-collection-locations.json +1 -1
  6. package/corpus/dev/contracts/absent-sibling-groups.json +1 -1
  7. package/corpus/dev/contracts/absent-success-indicator.json +1 -1
  8. package/corpus/dev/contracts/empty-channel-roles.json +1 -1
  9. package/corpus/dev/contracts/empty-collection-locations.json +1 -1
  10. package/corpus/dev/contracts/empty-request-shapes.json +1 -1
  11. package/corpus/dev/contracts/empty-sibling-groups.json +1 -1
  12. package/corpus/dev/contracts/fragment-selection.json +1 -0
  13. package/corpus/dev/contracts/no-collection-quantifier.json +1 -1
  14. package/corpus/dev/contracts/no-operation-inventory.json +1 -1
  15. package/corpus/dev/contracts/no-read-back-relation.json +1 -1
  16. package/corpus/dev/contracts/no-state-change-marker.json +1 -1
  17. package/corpus/dev/contracts/no-type-violating-step.json +1 -1
  18. package/corpus/dev/contracts/per-key-split-oracles.json +1 -1
  19. package/corpus/dev/contracts/review-corpus.json +1 -0
  20. package/corpus/dev/contracts/satisfied-declarations.json +1 -1
  21. package/corpus/dev/contracts/single-required-response-key.json +1 -1
  22. package/corpus/dev/contracts/split-indicator-oracle.json +1 -1
  23. package/corpus/dev/contracts/unaddressed-parameter-sibling.json +1 -1
  24. package/corpus/dev/contracts/unnamed-reference-set.json +1 -1
  25. package/corpus/dev/contracts/wrong-cardinality-form.json +1 -1
  26. package/corpus/dev/index.json +1 -1
  27. package/dist/application/index.d.ts +2 -0
  28. package/dist/application/index.js +1 -0
  29. package/dist/application/score.d.ts +48 -0
  30. package/dist/application/score.js +186 -0
  31. package/dist/cli/arguments.d.ts +7 -3
  32. package/dist/cli/arguments.js +73 -5
  33. package/dist/cli/exit-codes.d.ts +6 -2
  34. package/dist/cli/exit-codes.js +8 -9
  35. package/dist/cli/main.js +9 -0
  36. package/dist/cli/render.d.ts +3 -6
  37. package/dist/cli/render.js +57 -5
  38. package/dist/cli/run.d.ts +13 -3
  39. package/dist/cli/run.js +136 -16
  40. package/dist/core/canonical/canonicalize.d.ts +12 -0
  41. package/dist/core/canonical/canonicalize.js +18 -4
  42. package/dist/core/compile/bindings.d.ts +89 -0
  43. package/dist/core/compile/bindings.js +334 -0
  44. package/dist/core/compile/compile.d.ts +17 -0
  45. package/dist/core/compile/compile.js +37 -1
  46. package/dist/core/compile/excluded-content.d.ts +11 -0
  47. package/dist/core/compile/excluded-content.js +42 -0
  48. package/dist/core/compile/expression-legality.d.ts +49 -0
  49. package/dist/core/compile/expression-legality.js +158 -38
  50. package/dist/core/compile/forbidden-inputs.d.ts +8 -1
  51. package/dist/core/compile/forbidden-inputs.js +16 -3
  52. package/dist/core/compile/interface-inventory.d.ts +57 -2
  53. package/dist/core/compile/interface-inventory.js +119 -13
  54. package/dist/core/compile/reachability.d.ts +28 -1
  55. package/dist/core/compile/reachability.js +167 -35
  56. package/dist/core/compile/schema-version.d.ts +2 -0
  57. package/dist/core/compile/schema-version.js +25 -0
  58. package/dist/core/compile/sensitivity-witness.d.ts +31 -12
  59. package/dist/core/compile/sensitivity-witness.js +110 -23
  60. package/dist/core/compile/step-reference.d.ts +2 -0
  61. package/dist/core/compile/step-reference.js +49 -0
  62. package/dist/core/coverage/operations.d.ts +62 -0
  63. package/dist/core/coverage/operations.js +57 -0
  64. package/dist/core/coverage/relevance.d.ts +4 -2
  65. package/dist/core/coverage/relevance.js +22 -23
  66. package/dist/core/coverage/satisfaction.d.ts +2 -2
  67. package/dist/core/coverage/satisfaction.js +73 -48
  68. package/dist/core/declared-inputs.d.ts +83 -4
  69. package/dist/core/declared-inputs.js +105 -8
  70. package/dist/core/emit/emit.d.ts +9 -0
  71. package/dist/core/emit/emit.js +214 -0
  72. package/dist/core/emit/private-artifact-digest.d.ts +11 -0
  73. package/dist/core/emit/private-artifact-digest.js +31 -0
  74. package/dist/core/evaluate/evidence-resolution.d.ts +10 -3
  75. package/dist/core/evaluate/evidence-resolution.js +74 -11
  76. package/dist/core/evaluate/operators.d.ts +22 -0
  77. package/dist/core/evaluate/operators.js +17 -1
  78. package/dist/core/evaluate/resolution.d.ts +14 -3
  79. package/dist/core/evaluate/resolution.js +63 -3
  80. package/dist/core/excluded-content.d.ts +65 -0
  81. package/dist/core/excluded-content.js +113 -0
  82. package/dist/core/failure-codes.d.ts +2 -2
  83. package/dist/core/failure-codes.js +7 -2
  84. package/dist/core/ingest/conditions.d.ts +201 -0
  85. package/dist/core/ingest/conditions.js +48 -0
  86. package/dist/core/ingest/index.d.ts +13 -0
  87. package/dist/core/ingest/index.js +11 -0
  88. package/dist/core/ingest/ingest.d.ts +68 -0
  89. package/dist/core/ingest/ingest.js +318 -0
  90. package/dist/core/lineage/stage-table.d.ts +21 -4
  91. package/dist/core/lineage/stage-table.js +35 -3
  92. package/dist/core/preflight/plan.d.ts +7 -5
  93. package/dist/core/preflight/plan.js +75 -32
  94. package/dist/core/preflight/projection.d.ts +6 -3
  95. package/dist/core/preflight/projection.js +22 -2
  96. package/dist/core/preflight/reduce.js +47 -7
  97. package/dist/core/preflight/witness-evidence.d.ts +5 -5
  98. package/dist/core/preflight/witness-evidence.js +73 -20
  99. package/dist/core/schemas/artifact.d.ts +1049 -30
  100. package/dist/core/schemas/constraint-ledger.js +51 -0
  101. package/dist/core/schemas/defect-signature.d.ts +695 -0
  102. package/dist/core/schemas/defect-signature.js +175 -0
  103. package/dist/core/schemas/eval-contract.d.ts +550 -12
  104. package/dist/core/schemas/eval-contract.js +32 -2
  105. package/dist/core/schemas/evidence-artifact.d.ts +109 -19
  106. package/dist/core/schemas/evidence-artifact.js +64 -8
  107. package/dist/core/schemas/interface.d.ts +741 -13
  108. package/dist/core/schemas/interface.js +120 -7
  109. package/dist/core/schemas/isolation-manifest.js +16 -9
  110. package/dist/core/schemas/plan.d.ts +329 -3
  111. package/dist/core/schemas/plan.js +89 -3
  112. package/dist/core/schemas/pointer.d.ts +47 -1
  113. package/dist/core/schemas/pointer.js +89 -8
  114. package/dist/core/schemas/port-messages.d.ts +194 -10
  115. package/dist/core/schemas/port-messages.js +73 -6
  116. package/dist/core/schemas/probe-body.d.ts +18 -0
  117. package/dist/core/schemas/probe-body.js +13 -0
  118. package/dist/core/schemas/probe-qualification.d.ts +168 -0
  119. package/dist/core/schemas/probe-qualification.js +106 -0
  120. package/dist/core/schemas/probe.d.ts +431 -0
  121. package/dist/core/schemas/probe.js +6 -2
  122. package/dist/core/schemas/scoring-policy.d.ts +1 -0
  123. package/dist/core/schemas/scoring-policy.js +6 -1
  124. package/dist/core/schemas/sealed-evaluator-brief.d.ts +1 -0
  125. package/dist/core/schemas/sealed-evaluator-brief.js +4 -1
  126. package/dist/core/schemas/sealed-run-record.d.ts +161 -12
  127. package/dist/core/schemas/sealed-run-record.js +92 -15
  128. package/dist/core/schemas/sensitivity-witness.d.ts +108 -6
  129. package/dist/core/schemas/sensitivity-witness.js +61 -5
  130. package/dist/core/score/binding-order.d.ts +31 -0
  131. package/dist/core/score/binding-order.js +88 -0
  132. package/dist/core/score/bindings.d.ts +93 -0
  133. package/dist/core/score/bindings.js +309 -0
  134. package/dist/core/score/ladder-table.d.ts +23 -0
  135. package/dist/core/score/ladder-table.js +109 -0
  136. package/dist/core/score/ladder.d.ts +229 -0
  137. package/dist/core/score/ladder.js +464 -0
  138. package/dist/core/score/mode-agreement.d.ts +30 -0
  139. package/dist/core/score/mode-agreement.js +16 -0
  140. package/dist/core/score/outcome-table.d.ts +17 -0
  141. package/dist/core/score/outcome-table.js +172 -0
  142. package/dist/core/score/outcome.d.ts +466 -0
  143. package/dist/core/score/outcome.js +562 -0
  144. package/dist/core/score/qualification.d.ts +83 -0
  145. package/dist/core/score/qualification.js +645 -0
  146. package/dist/core/score/quotation.d.ts +56 -0
  147. package/dist/core/score/quotation.js +226 -0
  148. package/dist/core/score/reduce-trials.d.ts +80 -0
  149. package/dist/core/score/reduce-trials.js +90 -0
  150. package/dist/core/score/score.d.ts +72 -0
  151. package/dist/core/score/score.js +607 -0
  152. package/dist/core/score/selection.d.ts +80 -0
  153. package/dist/core/score/selection.js +98 -0
  154. package/dist/core/score/strength.d.ts +58 -0
  155. package/dist/core/score/strength.js +227 -0
  156. package/dist/core/score/witness.d.ts +138 -0
  157. package/dist/core/score/witness.js +320 -0
  158. package/dist/core/seal/derived-reference.d.ts +2 -9
  159. package/dist/core/seal/derived-reference.js +293 -46
  160. package/dist/core/seal/plan-index.d.ts +18 -3
  161. package/dist/core/seal/plan-index.js +44 -8
  162. package/dist/core/seal/seal.js +8 -3
  163. package/dist/core/stage-contracts.d.ts +62 -2
  164. package/dist/index.d.ts +1 -1
  165. package/dist/index.js +1 -1
  166. package/dist/ports/environment-probe-port.d.ts +60 -4
  167. package/dist/testing/index.d.ts +2 -0
  168. package/dist/testing/index.js +1 -0
  169. package/dist/testing/probe-conformance.d.ts +29 -0
  170. package/dist/testing/probe-conformance.js +34 -5
  171. package/package.json +12 -3
  172. package/schemas/eval-contract.schema.json +1787 -797
  173. package/schemas/evidence-artifact.schema.json +126 -9
  174. package/schemas/isolation-manifest.schema.json +17 -10
  175. package/schemas/probe.schema.json +636 -5
  176. package/schemas/rubric.schema.json +1 -1
  177. package/schemas/scoring-policy.schema.json +8 -1
  178. package/schemas/sealed-evaluator-brief.schema.json +11 -1
  179. package/schemas/sealed-run-record.schema.json +314 -40
@@ -105,14 +105,9 @@ export declare const INTERCHANGE_ARTIFACTS: {
105
105
  approval: z.ZodNullable<z.ZodString>;
106
106
  expiresAt: z.ZodNullable<z.ZodISODateTime>;
107
107
  }, z.core.$strict>>;
108
- permittedInterfaces: z.ZodArray<z.ZodObject<{
108
+ permittedInterfaces: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
109
109
  logicalId: z.ZodString;
110
- kind: z.ZodEnum<{
111
- api: "api";
112
- cli: "cli";
113
- mcp: "mcp";
114
- web: "web";
115
- }>;
110
+ kind: z.ZodLiteral<"api">;
116
111
  operations: z.ZodArray<z.ZodObject<{
117
112
  operationId: z.ZodString;
118
113
  method: z.ZodEnum<{
@@ -213,13 +208,17 @@ export declare const INTERCHANGE_ARTIFACTS: {
213
208
  sensitivityWitness: z.ZodNullable<z.ZodObject<{
214
209
  witnessId: z.ZodString;
215
210
  channel: z.ZodEnum<{
211
+ argument: "argument";
216
212
  body: "body";
213
+ environment: "environment";
214
+ option: "option";
217
215
  path: "path";
218
216
  query: "query";
217
+ stdin: "stdin";
219
218
  }>;
220
219
  legs: z.ZodArray<z.ZodObject<{
221
220
  legId: z.ZodString;
222
- inputs: z.ZodObject<{
221
+ inputs: z.ZodUnion<readonly [z.ZodObject<{
223
222
  path: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
224
223
  query: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
225
224
  header: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -229,12 +228,453 @@ export declare const INTERCHANGE_ARTIFACTS: {
229
228
  }, z.core.$strict>, z.ZodObject<{
230
229
  kind: z.ZodLiteral<"absent">;
231
230
  }, z.core.$strict>], "kind">;
232
- }, z.core.$strict>;
231
+ }, z.core.$strict>, z.ZodObject<{
232
+ argument: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
233
+ option: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
234
+ environment: z.ZodRecord<z.ZodString, z.ZodString>;
235
+ stdin: z.ZodDiscriminatedUnion<[z.ZodObject<{
236
+ kind: z.ZodLiteral<"json">;
237
+ value: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
238
+ }, z.core.$strict>, z.ZodObject<{
239
+ kind: z.ZodLiteral<"text">;
240
+ value: z.ZodString;
241
+ }, z.core.$strict>, z.ZodObject<{
242
+ kind: z.ZodLiteral<"absent">;
243
+ }, z.core.$strict>], "kind">;
244
+ }, z.core.$strict>]>;
233
245
  }, z.core.$strict>>;
234
246
  relation: z.ZodType<import("./expression.ts").Expression, unknown, z.core.$ZodTypeInternals<import("./expression.ts").Expression, unknown>>;
235
247
  }, z.core.$strict>>;
236
248
  }, z.core.$strict>>;
237
- }, z.core.$strict>>;
249
+ }, z.core.$strict>, z.ZodObject<{
250
+ logicalId: z.ZodString;
251
+ kind: z.ZodLiteral<"web">;
252
+ operations: z.ZodArray<z.ZodObject<{
253
+ operationId: z.ZodString;
254
+ method: z.ZodEnum<{
255
+ DELETE: "DELETE";
256
+ GET: "GET";
257
+ HEAD: "HEAD";
258
+ OPTIONS: "OPTIONS";
259
+ PATCH: "PATCH";
260
+ POST: "POST";
261
+ PUT: "PUT";
262
+ }>;
263
+ pathTemplate: z.ZodString;
264
+ stateChangeMarker: z.ZodBoolean;
265
+ requestShape: z.ZodObject<{
266
+ path: z.ZodObject<{
267
+ requiredKeys: z.ZodArray<z.ZodString>;
268
+ permittedKeys: z.ZodArray<z.ZodString>;
269
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
270
+ array: "array";
271
+ boolean: "boolean";
272
+ null: "null";
273
+ number: "number";
274
+ object: "object";
275
+ string: "string";
276
+ }>>>;
277
+ }, z.core.$strict>;
278
+ query: z.ZodObject<{
279
+ requiredKeys: z.ZodArray<z.ZodString>;
280
+ permittedKeys: z.ZodArray<z.ZodString>;
281
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
282
+ array: "array";
283
+ boolean: "boolean";
284
+ null: "null";
285
+ number: "number";
286
+ object: "object";
287
+ string: "string";
288
+ }>>>;
289
+ }, z.core.$strict>;
290
+ header: z.ZodObject<{
291
+ requiredKeys: z.ZodArray<z.ZodString>;
292
+ permittedKeys: z.ZodArray<z.ZodString>;
293
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
294
+ array: "array";
295
+ boolean: "boolean";
296
+ null: "null";
297
+ number: "number";
298
+ object: "object";
299
+ string: "string";
300
+ }>>>;
301
+ }, z.core.$strict>;
302
+ body: z.ZodObject<{
303
+ requiredKeys: z.ZodArray<z.ZodString>;
304
+ permittedKeys: z.ZodArray<z.ZodString>;
305
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
306
+ array: "array";
307
+ boolean: "boolean";
308
+ null: "null";
309
+ number: "number";
310
+ object: "object";
311
+ string: "string";
312
+ }>>>;
313
+ }, z.core.$strict>;
314
+ }, z.core.$strict>;
315
+ responseDescriptor: z.ZodObject<{
316
+ requiredKeys: z.ZodArray<z.ZodString>;
317
+ permittedKeys: z.ZodArray<z.ZodString>;
318
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
319
+ array: "array";
320
+ boolean: "boolean";
321
+ null: "null";
322
+ number: "number";
323
+ object: "object";
324
+ string: "string";
325
+ }>>>;
326
+ successIndicator: z.ZodNullable<z.ZodString>;
327
+ channelRoles: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodEnum<{
328
+ collection: "collection";
329
+ diagnostic: "diagnostic";
330
+ payload: "payload";
331
+ "success-indicator": "success-indicator";
332
+ }>>>;
333
+ collectionLocations: z.ZodNullable<z.ZodArray<z.ZodObject<{
334
+ pointer: z.ZodString;
335
+ expectedCardinality: z.ZodDiscriminatedUnion<[z.ZodObject<{
336
+ mode: z.ZodLiteral<"exact">;
337
+ count: z.ZodInt;
338
+ }, z.core.$strict>, z.ZodObject<{
339
+ mode: z.ZodLiteral<"at-most">;
340
+ max: z.ZodInt;
341
+ }, z.core.$strict>, z.ZodObject<{
342
+ mode: z.ZodLiteral<"page-bounded">;
343
+ max: z.ZodInt;
344
+ }, z.core.$strict>], "mode">;
345
+ referenceSet: z.ZodNullable<z.ZodString>;
346
+ }, z.core.$strict>>>;
347
+ }, z.core.$strict>;
348
+ volatilePointers: z.ZodArray<z.ZodString>;
349
+ sensitivityWitness: z.ZodNullable<z.ZodObject<{
350
+ witnessId: z.ZodString;
351
+ channel: z.ZodEnum<{
352
+ argument: "argument";
353
+ body: "body";
354
+ environment: "environment";
355
+ option: "option";
356
+ path: "path";
357
+ query: "query";
358
+ stdin: "stdin";
359
+ }>;
360
+ legs: z.ZodArray<z.ZodObject<{
361
+ legId: z.ZodString;
362
+ inputs: z.ZodUnion<readonly [z.ZodObject<{
363
+ path: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
364
+ query: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
365
+ header: z.ZodRecord<z.ZodString, z.ZodString>;
366
+ body: z.ZodDiscriminatedUnion<[z.ZodObject<{
367
+ kind: z.ZodLiteral<"json">;
368
+ value: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
369
+ }, z.core.$strict>, z.ZodObject<{
370
+ kind: z.ZodLiteral<"absent">;
371
+ }, z.core.$strict>], "kind">;
372
+ }, z.core.$strict>, z.ZodObject<{
373
+ argument: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
374
+ option: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
375
+ environment: z.ZodRecord<z.ZodString, z.ZodString>;
376
+ stdin: z.ZodDiscriminatedUnion<[z.ZodObject<{
377
+ kind: z.ZodLiteral<"json">;
378
+ value: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
379
+ }, z.core.$strict>, z.ZodObject<{
380
+ kind: z.ZodLiteral<"text">;
381
+ value: z.ZodString;
382
+ }, z.core.$strict>, z.ZodObject<{
383
+ kind: z.ZodLiteral<"absent">;
384
+ }, z.core.$strict>], "kind">;
385
+ }, z.core.$strict>]>;
386
+ }, z.core.$strict>>;
387
+ relation: z.ZodType<import("./expression.ts").Expression, unknown, z.core.$ZodTypeInternals<import("./expression.ts").Expression, unknown>>;
388
+ }, z.core.$strict>>;
389
+ }, z.core.$strict>>;
390
+ }, z.core.$strict>, z.ZodObject<{
391
+ logicalId: z.ZodString;
392
+ kind: z.ZodLiteral<"mcp">;
393
+ operations: z.ZodArray<z.ZodObject<{
394
+ operationId: z.ZodString;
395
+ method: z.ZodEnum<{
396
+ DELETE: "DELETE";
397
+ GET: "GET";
398
+ HEAD: "HEAD";
399
+ OPTIONS: "OPTIONS";
400
+ PATCH: "PATCH";
401
+ POST: "POST";
402
+ PUT: "PUT";
403
+ }>;
404
+ pathTemplate: z.ZodString;
405
+ stateChangeMarker: z.ZodBoolean;
406
+ requestShape: z.ZodObject<{
407
+ path: z.ZodObject<{
408
+ requiredKeys: z.ZodArray<z.ZodString>;
409
+ permittedKeys: z.ZodArray<z.ZodString>;
410
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
411
+ array: "array";
412
+ boolean: "boolean";
413
+ null: "null";
414
+ number: "number";
415
+ object: "object";
416
+ string: "string";
417
+ }>>>;
418
+ }, z.core.$strict>;
419
+ query: z.ZodObject<{
420
+ requiredKeys: z.ZodArray<z.ZodString>;
421
+ permittedKeys: z.ZodArray<z.ZodString>;
422
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
423
+ array: "array";
424
+ boolean: "boolean";
425
+ null: "null";
426
+ number: "number";
427
+ object: "object";
428
+ string: "string";
429
+ }>>>;
430
+ }, z.core.$strict>;
431
+ header: z.ZodObject<{
432
+ requiredKeys: z.ZodArray<z.ZodString>;
433
+ permittedKeys: z.ZodArray<z.ZodString>;
434
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
435
+ array: "array";
436
+ boolean: "boolean";
437
+ null: "null";
438
+ number: "number";
439
+ object: "object";
440
+ string: "string";
441
+ }>>>;
442
+ }, z.core.$strict>;
443
+ body: z.ZodObject<{
444
+ requiredKeys: z.ZodArray<z.ZodString>;
445
+ permittedKeys: z.ZodArray<z.ZodString>;
446
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
447
+ array: "array";
448
+ boolean: "boolean";
449
+ null: "null";
450
+ number: "number";
451
+ object: "object";
452
+ string: "string";
453
+ }>>>;
454
+ }, z.core.$strict>;
455
+ }, z.core.$strict>;
456
+ responseDescriptor: z.ZodObject<{
457
+ requiredKeys: z.ZodArray<z.ZodString>;
458
+ permittedKeys: z.ZodArray<z.ZodString>;
459
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
460
+ array: "array";
461
+ boolean: "boolean";
462
+ null: "null";
463
+ number: "number";
464
+ object: "object";
465
+ string: "string";
466
+ }>>>;
467
+ successIndicator: z.ZodNullable<z.ZodString>;
468
+ channelRoles: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodEnum<{
469
+ collection: "collection";
470
+ diagnostic: "diagnostic";
471
+ payload: "payload";
472
+ "success-indicator": "success-indicator";
473
+ }>>>;
474
+ collectionLocations: z.ZodNullable<z.ZodArray<z.ZodObject<{
475
+ pointer: z.ZodString;
476
+ expectedCardinality: z.ZodDiscriminatedUnion<[z.ZodObject<{
477
+ mode: z.ZodLiteral<"exact">;
478
+ count: z.ZodInt;
479
+ }, z.core.$strict>, z.ZodObject<{
480
+ mode: z.ZodLiteral<"at-most">;
481
+ max: z.ZodInt;
482
+ }, z.core.$strict>, z.ZodObject<{
483
+ mode: z.ZodLiteral<"page-bounded">;
484
+ max: z.ZodInt;
485
+ }, z.core.$strict>], "mode">;
486
+ referenceSet: z.ZodNullable<z.ZodString>;
487
+ }, z.core.$strict>>>;
488
+ }, z.core.$strict>;
489
+ volatilePointers: z.ZodArray<z.ZodString>;
490
+ sensitivityWitness: z.ZodNullable<z.ZodObject<{
491
+ witnessId: z.ZodString;
492
+ channel: z.ZodEnum<{
493
+ argument: "argument";
494
+ body: "body";
495
+ environment: "environment";
496
+ option: "option";
497
+ path: "path";
498
+ query: "query";
499
+ stdin: "stdin";
500
+ }>;
501
+ legs: z.ZodArray<z.ZodObject<{
502
+ legId: z.ZodString;
503
+ inputs: z.ZodUnion<readonly [z.ZodObject<{
504
+ path: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
505
+ query: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
506
+ header: z.ZodRecord<z.ZodString, z.ZodString>;
507
+ body: z.ZodDiscriminatedUnion<[z.ZodObject<{
508
+ kind: z.ZodLiteral<"json">;
509
+ value: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
510
+ }, z.core.$strict>, z.ZodObject<{
511
+ kind: z.ZodLiteral<"absent">;
512
+ }, z.core.$strict>], "kind">;
513
+ }, z.core.$strict>, z.ZodObject<{
514
+ argument: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
515
+ option: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
516
+ environment: z.ZodRecord<z.ZodString, z.ZodString>;
517
+ stdin: z.ZodDiscriminatedUnion<[z.ZodObject<{
518
+ kind: z.ZodLiteral<"json">;
519
+ value: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
520
+ }, z.core.$strict>, z.ZodObject<{
521
+ kind: z.ZodLiteral<"text">;
522
+ value: z.ZodString;
523
+ }, z.core.$strict>, z.ZodObject<{
524
+ kind: z.ZodLiteral<"absent">;
525
+ }, z.core.$strict>], "kind">;
526
+ }, z.core.$strict>]>;
527
+ }, z.core.$strict>>;
528
+ relation: z.ZodType<import("./expression.ts").Expression, unknown, z.core.$ZodTypeInternals<import("./expression.ts").Expression, unknown>>;
529
+ }, z.core.$strict>>;
530
+ }, z.core.$strict>>;
531
+ }, z.core.$strict>, z.ZodObject<{
532
+ logicalId: z.ZodString;
533
+ kind: z.ZodLiteral<"cli">;
534
+ operations: z.ZodArray<z.ZodObject<{
535
+ operationId: z.ZodString;
536
+ invocation: z.ZodObject<{
537
+ executable: z.ZodString;
538
+ subcommandPath: z.ZodArray<z.ZodString>;
539
+ }, z.core.$strict>;
540
+ stateChangeMarker: z.ZodBoolean;
541
+ requestShape: z.ZodObject<{
542
+ argument: z.ZodObject<{
543
+ requiredKeys: z.ZodArray<z.ZodString>;
544
+ permittedKeys: z.ZodArray<z.ZodString>;
545
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
546
+ array: "array";
547
+ boolean: "boolean";
548
+ null: "null";
549
+ number: "number";
550
+ object: "object";
551
+ string: "string";
552
+ }>>>;
553
+ }, z.core.$strict>;
554
+ option: z.ZodObject<{
555
+ requiredKeys: z.ZodArray<z.ZodString>;
556
+ permittedKeys: z.ZodArray<z.ZodString>;
557
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
558
+ array: "array";
559
+ boolean: "boolean";
560
+ null: "null";
561
+ number: "number";
562
+ object: "object";
563
+ string: "string";
564
+ }>>>;
565
+ }, z.core.$strict>;
566
+ environment: z.ZodObject<{
567
+ requiredKeys: z.ZodArray<z.ZodString>;
568
+ permittedKeys: z.ZodArray<z.ZodString>;
569
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
570
+ array: "array";
571
+ boolean: "boolean";
572
+ null: "null";
573
+ number: "number";
574
+ object: "object";
575
+ string: "string";
576
+ }>>>;
577
+ }, z.core.$strict>;
578
+ stdin: z.ZodObject<{
579
+ requiredKeys: z.ZodArray<z.ZodString>;
580
+ permittedKeys: z.ZodArray<z.ZodString>;
581
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
582
+ array: "array";
583
+ boolean: "boolean";
584
+ null: "null";
585
+ number: "number";
586
+ object: "object";
587
+ string: "string";
588
+ }>>>;
589
+ }, z.core.$strict>;
590
+ }, z.core.$strict>;
591
+ artifacts: z.ZodArray<z.ZodString>;
592
+ descriptorChannel: z.ZodDiscriminatedUnion<[z.ZodObject<{
593
+ kind: z.ZodLiteral<"stream">;
594
+ channel: z.ZodEnum<{
595
+ stderr: "stderr";
596
+ stdout: "stdout";
597
+ }>;
598
+ }, z.core.$strict>, z.ZodObject<{
599
+ kind: z.ZodLiteral<"artifact">;
600
+ artifactId: z.ZodString;
601
+ }, z.core.$strict>], "kind">;
602
+ responseDescriptor: z.ZodObject<{
603
+ requiredKeys: z.ZodArray<z.ZodString>;
604
+ permittedKeys: z.ZodArray<z.ZodString>;
605
+ types: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
606
+ array: "array";
607
+ boolean: "boolean";
608
+ null: "null";
609
+ number: "number";
610
+ object: "object";
611
+ string: "string";
612
+ }>>>;
613
+ successIndicator: z.ZodNullable<z.ZodString>;
614
+ channelRoles: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodEnum<{
615
+ collection: "collection";
616
+ diagnostic: "diagnostic";
617
+ payload: "payload";
618
+ "success-indicator": "success-indicator";
619
+ }>>>;
620
+ collectionLocations: z.ZodNullable<z.ZodArray<z.ZodObject<{
621
+ pointer: z.ZodString;
622
+ expectedCardinality: z.ZodDiscriminatedUnion<[z.ZodObject<{
623
+ mode: z.ZodLiteral<"exact">;
624
+ count: z.ZodInt;
625
+ }, z.core.$strict>, z.ZodObject<{
626
+ mode: z.ZodLiteral<"at-most">;
627
+ max: z.ZodInt;
628
+ }, z.core.$strict>, z.ZodObject<{
629
+ mode: z.ZodLiteral<"page-bounded">;
630
+ max: z.ZodInt;
631
+ }, z.core.$strict>], "mode">;
632
+ referenceSet: z.ZodNullable<z.ZodString>;
633
+ }, z.core.$strict>>>;
634
+ }, z.core.$strict>;
635
+ volatilePointers: z.ZodArray<z.ZodString>;
636
+ sensitivityWitness: z.ZodNullable<z.ZodObject<{
637
+ witnessId: z.ZodString;
638
+ channel: z.ZodEnum<{
639
+ argument: "argument";
640
+ body: "body";
641
+ environment: "environment";
642
+ option: "option";
643
+ path: "path";
644
+ query: "query";
645
+ stdin: "stdin";
646
+ }>;
647
+ legs: z.ZodArray<z.ZodObject<{
648
+ legId: z.ZodString;
649
+ inputs: z.ZodUnion<readonly [z.ZodObject<{
650
+ path: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
651
+ query: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
652
+ header: z.ZodRecord<z.ZodString, z.ZodString>;
653
+ body: z.ZodDiscriminatedUnion<[z.ZodObject<{
654
+ kind: z.ZodLiteral<"json">;
655
+ value: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
656
+ }, z.core.$strict>, z.ZodObject<{
657
+ kind: z.ZodLiteral<"absent">;
658
+ }, z.core.$strict>], "kind">;
659
+ }, z.core.$strict>, z.ZodObject<{
660
+ argument: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
661
+ option: z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>;
662
+ environment: z.ZodRecord<z.ZodString, z.ZodString>;
663
+ stdin: z.ZodDiscriminatedUnion<[z.ZodObject<{
664
+ kind: z.ZodLiteral<"json">;
665
+ value: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
666
+ }, z.core.$strict>, z.ZodObject<{
667
+ kind: z.ZodLiteral<"text">;
668
+ value: z.ZodString;
669
+ }, z.core.$strict>, z.ZodObject<{
670
+ kind: z.ZodLiteral<"absent">;
671
+ }, z.core.$strict>], "kind">;
672
+ }, z.core.$strict>]>;
673
+ }, z.core.$strict>>;
674
+ relation: z.ZodType<import("./expression.ts").Expression, unknown, z.core.$ZodTypeInternals<import("./expression.ts").Expression, unknown>>;
675
+ }, z.core.$strict>>;
676
+ }, z.core.$strict>>;
677
+ }, z.core.$strict>], "kind">>;
238
678
  referenceSets: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
239
679
  keys: z.ZodArray<z.ZodString>;
240
680
  members: z.ZodArray<z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>>;
@@ -247,7 +687,7 @@ export declare const INTERCHANGE_ARTIFACTS: {
247
687
  interactionPlan: z.ZodArray<z.ZodObject<{
248
688
  stepId: z.ZodString;
249
689
  operationId: z.ZodString;
250
- inputBinding: z.ZodObject<{
690
+ inputBinding: z.ZodUnion<readonly [z.ZodObject<{
251
691
  path: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
252
692
  literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
253
693
  }, z.core.$strict>, z.ZodObject<{
@@ -255,6 +695,10 @@ export declare const INTERCHANGE_ARTIFACTS: {
255
695
  any: "any";
256
696
  "type-violating": "type-violating";
257
697
  }>;
698
+ }, z.core.$strict>, z.ZodObject<{
699
+ captured: z.ZodString;
700
+ }, z.core.$strict>, z.ZodObject<{
701
+ principal: z.ZodString;
258
702
  }, z.core.$strict>]>>>;
259
703
  query: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
260
704
  literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
@@ -263,6 +707,10 @@ export declare const INTERCHANGE_ARTIFACTS: {
263
707
  any: "any";
264
708
  "type-violating": "type-violating";
265
709
  }>;
710
+ }, z.core.$strict>, z.ZodObject<{
711
+ captured: z.ZodString;
712
+ }, z.core.$strict>, z.ZodObject<{
713
+ principal: z.ZodString;
266
714
  }, z.core.$strict>]>>>;
267
715
  header: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
268
716
  literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
@@ -271,6 +719,10 @@ export declare const INTERCHANGE_ARTIFACTS: {
271
719
  any: "any";
272
720
  "type-violating": "type-violating";
273
721
  }>;
722
+ }, z.core.$strict>, z.ZodObject<{
723
+ captured: z.ZodString;
724
+ }, z.core.$strict>, z.ZodObject<{
725
+ principal: z.ZodString;
274
726
  }, z.core.$strict>]>>>;
275
727
  body: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
276
728
  literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
@@ -279,9 +731,67 @@ export declare const INTERCHANGE_ARTIFACTS: {
279
731
  any: "any";
280
732
  "type-violating": "type-violating";
281
733
  }>;
734
+ }, z.core.$strict>, z.ZodObject<{
735
+ captured: z.ZodString;
736
+ }, z.core.$strict>, z.ZodObject<{
737
+ principal: z.ZodString;
282
738
  }, z.core.$strict>]>>>;
283
- }, z.core.$strict>;
739
+ }, z.core.$strict>, z.ZodObject<{
740
+ argument: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
741
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
742
+ }, z.core.$strict>, z.ZodObject<{
743
+ matcher: z.ZodEnum<{
744
+ any: "any";
745
+ "type-violating": "type-violating";
746
+ }>;
747
+ }, z.core.$strict>, z.ZodObject<{
748
+ captured: z.ZodString;
749
+ }, z.core.$strict>, z.ZodObject<{
750
+ principal: z.ZodString;
751
+ }, z.core.$strict>]>>>;
752
+ option: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
753
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
754
+ }, z.core.$strict>, z.ZodObject<{
755
+ matcher: z.ZodEnum<{
756
+ any: "any";
757
+ "type-violating": "type-violating";
758
+ }>;
759
+ }, z.core.$strict>, z.ZodObject<{
760
+ captured: z.ZodString;
761
+ }, z.core.$strict>, z.ZodObject<{
762
+ principal: z.ZodString;
763
+ }, z.core.$strict>]>>>;
764
+ environment: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
765
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
766
+ }, z.core.$strict>, z.ZodObject<{
767
+ matcher: z.ZodEnum<{
768
+ any: "any";
769
+ "type-violating": "type-violating";
770
+ }>;
771
+ }, z.core.$strict>, z.ZodObject<{
772
+ captured: z.ZodString;
773
+ }, z.core.$strict>, z.ZodObject<{
774
+ principal: z.ZodString;
775
+ }, z.core.$strict>]>>>;
776
+ stdin: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
777
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
778
+ }, z.core.$strict>, z.ZodObject<{
779
+ matcher: z.ZodEnum<{
780
+ any: "any";
781
+ "type-violating": "type-violating";
782
+ }>;
783
+ }, z.core.$strict>, z.ZodObject<{
784
+ captured: z.ZodString;
785
+ }, z.core.$strict>, z.ZodObject<{
786
+ principal: z.ZodString;
787
+ }, z.core.$strict>]>>>;
788
+ }, z.core.$strict>]>;
284
789
  after: z.ZodNullable<z.ZodString>;
790
+ cardinality: z.ZodEnum<{
791
+ any: "any";
792
+ "at-most-one": "at-most-one";
793
+ "exactly-one": "exactly-one";
794
+ }>;
285
795
  }, z.core.$strict>>;
286
796
  scopedResources: z.ZodNullable<z.ZodArray<z.ZodObject<{
287
797
  reference: z.ZodString;
@@ -299,6 +809,12 @@ export declare const INTERCHANGE_ARTIFACTS: {
299
809
  testData: z.ZodObject<{
300
810
  setup: z.ZodNullable<z.ZodString>;
301
811
  cleanup: z.ZodNullable<z.ZodString>;
812
+ principals: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
813
+ kind: z.ZodString;
814
+ }, z.core.$strict>>>;
815
+ resources: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
816
+ kind: z.ZodString;
817
+ }, z.core.$strict>>>;
302
818
  }, z.core.$strict>;
303
819
  budgets: z.ZodObject<{
304
820
  maxToolCalls: z.ZodInt;
@@ -394,6 +910,7 @@ export declare const INTERCHANGE_ARTIFACTS: {
394
910
  reference: z.ZodString;
395
911
  kind: z.ZodString;
396
912
  }, z.core.$strict>>;
913
+ principals: z.ZodArray<z.ZodString>;
397
914
  budgets: z.ZodObject<{
398
915
  maxToolCalls: z.ZodInt;
399
916
  maxWallClockMinutes: z.ZodInt;
@@ -412,6 +929,10 @@ export declare const INTERCHANGE_ARTIFACTS: {
412
929
  revisionCount: z.ZodInt;
413
930
  runId: z.ZodString;
414
931
  conditionArm: z.ZodString;
932
+ mode: z.ZodEnum<{
933
+ "contract-scoring": "contract-scoring";
934
+ production: "production";
935
+ }>;
415
936
  trialIndex: z.ZodInt;
416
937
  contractDigest: z.ZodString;
417
938
  sealedBriefDigest: z.ZodString;
@@ -456,7 +977,11 @@ export declare const INTERCHANGE_ARTIFACTS: {
456
977
  }, z.core.$strict>], "storage">>;
457
978
  findingType: z.ZodLiteral<"defect">;
458
979
  observationIds: z.ZodArray<z.ZodString>;
459
- quotedEvidence: z.ZodArray<z.ZodObject<{
980
+ quotedEvidence: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
981
+ quote: z.ZodString;
982
+ channel: z.ZodLiteral<"artifact">;
983
+ artifactId: z.ZodString;
984
+ }, z.core.$strict>, z.ZodObject<{
460
985
  quote: z.ZodString;
461
986
  channel: z.ZodEnum<{
462
987
  "call-inputs": "call-inputs";
@@ -467,7 +992,8 @@ export declare const INTERCHANGE_ARTIFACTS: {
467
992
  stderr: "stderr";
468
993
  stdout: "stdout";
469
994
  }>;
470
- }, z.core.$strict>>;
995
+ artifactId: z.ZodNull;
996
+ }, z.core.$strict>]>>;
471
997
  }, z.core.$strict>, z.ZodObject<{
472
998
  findingId: z.ZodString;
473
999
  oracleId: z.ZodNullable<z.ZodString>;
@@ -521,23 +1047,54 @@ export declare const INTERCHANGE_ARTIFACTS: {
521
1047
  }, z.core.$strict>], "findingType">>;
522
1048
  observations: z.ZodArray<z.ZodObject<{
523
1049
  observationId: z.ZodString;
1050
+ sequence: z.ZodInt;
524
1051
  operationId: z.ZodString;
525
1052
  provenance: z.ZodEnum<{
526
1053
  baseline: "baseline";
527
1054
  "evaluator-chosen": "evaluator-chosen";
528
1055
  }>;
1056
+ principal: z.ZodNullable<z.ZodString>;
529
1057
  callInputs: z.ZodObject<{
530
1058
  path: z.ZodNullable<z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>>;
531
1059
  query: z.ZodNullable<z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>>;
532
1060
  header: z.ZodNullable<z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>>;
533
1061
  body: z.ZodNullable<z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>>;
1062
+ argument: z.ZodNullable<z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>>;
1063
+ option: z.ZodNullable<z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>>;
1064
+ environment: z.ZodNullable<z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>>;
1065
+ stdin: z.ZodNullable<z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>>;
534
1066
  }, z.core.$strict>;
535
1067
  responseBody: z.ZodNullable<z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>>;
536
1068
  responseHeaders: z.ZodNullable<z.ZodType<import("./primitives.ts").JsonObject, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonObject, unknown>>>;
537
1069
  responseStatus: z.ZodNullable<z.ZodInt>;
538
- stdout: z.ZodNullable<z.ZodString>;
539
- stderr: z.ZodNullable<z.ZodString>;
1070
+ stdout: z.ZodDiscriminatedUnion<[z.ZodObject<{
1071
+ kind: z.ZodLiteral<"json">;
1072
+ value: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1073
+ }, z.core.$strict>, z.ZodObject<{
1074
+ kind: z.ZodLiteral<"text">;
1075
+ value: z.ZodString;
1076
+ }, z.core.$strict>, z.ZodObject<{
1077
+ kind: z.ZodLiteral<"absent">;
1078
+ }, z.core.$strict>], "kind">;
1079
+ stderr: z.ZodDiscriminatedUnion<[z.ZodObject<{
1080
+ kind: z.ZodLiteral<"json">;
1081
+ value: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1082
+ }, z.core.$strict>, z.ZodObject<{
1083
+ kind: z.ZodLiteral<"text">;
1084
+ value: z.ZodString;
1085
+ }, z.core.$strict>, z.ZodObject<{
1086
+ kind: z.ZodLiteral<"absent">;
1087
+ }, z.core.$strict>], "kind">;
540
1088
  exitCode: z.ZodNullable<z.ZodInt>;
1089
+ artifacts: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1090
+ kind: z.ZodLiteral<"json">;
1091
+ value: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1092
+ }, z.core.$strict>, z.ZodObject<{
1093
+ kind: z.ZodLiteral<"text">;
1094
+ value: z.ZodString;
1095
+ }, z.core.$strict>, z.ZodObject<{
1096
+ kind: z.ZodLiteral<"absent">;
1097
+ }, z.core.$strict>], "kind">>;
541
1098
  }, z.core.$strict>>;
542
1099
  judgeResults: z.ZodArray<z.ZodObject<{
543
1100
  rubricId: z.ZodString;
@@ -695,6 +1252,129 @@ export declare const INTERCHANGE_ARTIFACTS: {
695
1252
  artifactDigest: z.ZodString;
696
1253
  commitDigest: z.ZodString;
697
1254
  rationale: z.ZodString;
1255
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
1256
+ route: z.ZodLiteral<"historical">;
1257
+ failBeforeEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1258
+ storage: z.ZodLiteral<"public">;
1259
+ path: z.ZodString;
1260
+ privateRef: z.ZodNull;
1261
+ digest: z.ZodString;
1262
+ }, z.core.$strict>, z.ZodObject<{
1263
+ storage: z.ZodLiteral<"private">;
1264
+ path: z.ZodNull;
1265
+ privateRef: z.ZodString;
1266
+ digest: z.ZodString;
1267
+ }, z.core.$strict>], "storage">;
1268
+ passAfterEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1269
+ storage: z.ZodLiteral<"public">;
1270
+ path: z.ZodString;
1271
+ privateRef: z.ZodNull;
1272
+ digest: z.ZodString;
1273
+ }, z.core.$strict>, z.ZodObject<{
1274
+ storage: z.ZodLiteral<"private">;
1275
+ path: z.ZodNull;
1276
+ privateRef: z.ZodString;
1277
+ digest: z.ZodString;
1278
+ }, z.core.$strict>], "storage">;
1279
+ fixCommitDigest: z.ZodString;
1280
+ oracleStableAcrossRevisions: z.ZodBoolean;
1281
+ }, z.core.$strict>, z.ZodObject<{
1282
+ route: z.ZodLiteral<"controlled-mutation">;
1283
+ mutationSource: z.ZodString;
1284
+ mutationOperator: z.ZodString;
1285
+ targetArtifact: z.ZodDiscriminatedUnion<[z.ZodObject<{
1286
+ storage: z.ZodLiteral<"public">;
1287
+ path: z.ZodString;
1288
+ privateRef: z.ZodNull;
1289
+ digest: z.ZodString;
1290
+ }, z.core.$strict>, z.ZodObject<{
1291
+ storage: z.ZodLiteral<"private">;
1292
+ path: z.ZodNull;
1293
+ privateRef: z.ZodString;
1294
+ digest: z.ZodString;
1295
+ }, z.core.$strict>], "storage">;
1296
+ expectedObservableFailure: z.ZodString;
1297
+ baselinePassEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1298
+ storage: z.ZodLiteral<"public">;
1299
+ path: z.ZodString;
1300
+ privateRef: z.ZodNull;
1301
+ digest: z.ZodString;
1302
+ }, z.core.$strict>, z.ZodObject<{
1303
+ storage: z.ZodLiteral<"private">;
1304
+ path: z.ZodNull;
1305
+ privateRef: z.ZodString;
1306
+ digest: z.ZodString;
1307
+ }, z.core.$strict>], "storage">;
1308
+ mutatedFailEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1309
+ storage: z.ZodLiteral<"public">;
1310
+ path: z.ZodString;
1311
+ privateRef: z.ZodNull;
1312
+ digest: z.ZodString;
1313
+ }, z.core.$strict>, z.ZodObject<{
1314
+ storage: z.ZodLiteral<"private">;
1315
+ path: z.ZodNull;
1316
+ privateRef: z.ZodString;
1317
+ digest: z.ZodString;
1318
+ }, z.core.$strict>], "storage">;
1319
+ rollbackVerified: z.ZodBoolean;
1320
+ }, z.core.$strict>, z.ZodObject<{
1321
+ route: z.ZodLiteral<"gameability">;
1322
+ degenerateResponse: z.ZodString;
1323
+ naiveOracleSatisfiedEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1324
+ storage: z.ZodLiteral<"public">;
1325
+ path: z.ZodString;
1326
+ privateRef: z.ZodNull;
1327
+ digest: z.ZodString;
1328
+ }, z.core.$strict>, z.ZodObject<{
1329
+ storage: z.ZodLiteral<"private">;
1330
+ path: z.ZodNull;
1331
+ privateRef: z.ZodString;
1332
+ digest: z.ZodString;
1333
+ }, z.core.$strict>], "storage">;
1334
+ disciplinedOracleRejectedEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1335
+ storage: z.ZodLiteral<"public">;
1336
+ path: z.ZodString;
1337
+ privateRef: z.ZodNull;
1338
+ digest: z.ZodString;
1339
+ }, z.core.$strict>, z.ZodObject<{
1340
+ storage: z.ZodLiteral<"private">;
1341
+ path: z.ZodNull;
1342
+ privateRef: z.ZodString;
1343
+ digest: z.ZodString;
1344
+ }, z.core.$strict>], "storage">;
1345
+ }, z.core.$strict>, z.ZodObject<{
1346
+ route: z.ZodLiteral<"canary">;
1347
+ indicts: z.ZodEnum<{
1348
+ corpus: "corpus";
1349
+ fixture: "fixture";
1350
+ }>;
1351
+ nonDetectionEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1352
+ storage: z.ZodLiteral<"public">;
1353
+ path: z.ZodString;
1354
+ privateRef: z.ZodNull;
1355
+ digest: z.ZodString;
1356
+ }, z.core.$strict>, z.ZodObject<{
1357
+ storage: z.ZodLiteral<"private">;
1358
+ path: z.ZodNull;
1359
+ privateRef: z.ZodString;
1360
+ digest: z.ZodString;
1361
+ }, z.core.$strict>], "storage">;
1362
+ }, z.core.$strict>, z.ZodObject<{
1363
+ route: z.ZodLiteral<"clean-control">;
1364
+ baselinePassEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1365
+ storage: z.ZodLiteral<"public">;
1366
+ path: z.ZodString;
1367
+ privateRef: z.ZodNull;
1368
+ digest: z.ZodString;
1369
+ }, z.core.$strict>, z.ZodObject<{
1370
+ storage: z.ZodLiteral<"private">;
1371
+ path: z.ZodNull;
1372
+ privateRef: z.ZodString;
1373
+ digest: z.ZodString;
1374
+ }, z.core.$strict>], "storage">;
1375
+ revisionCommitDigest: z.ZodString;
1376
+ noKnownDefectStatement: z.ZodString;
1377
+ }, z.core.$strict>], "route">;
698
1378
  expectedClean: z.ZodLiteral<true>;
699
1379
  defects: z.ZodArray<z.ZodObject<{
700
1380
  defectId: z.ZodString;
@@ -755,6 +1435,129 @@ export declare const INTERCHANGE_ARTIFACTS: {
755
1435
  artifactDigest: z.ZodString;
756
1436
  commitDigest: z.ZodString;
757
1437
  rationale: z.ZodString;
1438
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
1439
+ route: z.ZodLiteral<"historical">;
1440
+ failBeforeEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1441
+ storage: z.ZodLiteral<"public">;
1442
+ path: z.ZodString;
1443
+ privateRef: z.ZodNull;
1444
+ digest: z.ZodString;
1445
+ }, z.core.$strict>, z.ZodObject<{
1446
+ storage: z.ZodLiteral<"private">;
1447
+ path: z.ZodNull;
1448
+ privateRef: z.ZodString;
1449
+ digest: z.ZodString;
1450
+ }, z.core.$strict>], "storage">;
1451
+ passAfterEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1452
+ storage: z.ZodLiteral<"public">;
1453
+ path: z.ZodString;
1454
+ privateRef: z.ZodNull;
1455
+ digest: z.ZodString;
1456
+ }, z.core.$strict>, z.ZodObject<{
1457
+ storage: z.ZodLiteral<"private">;
1458
+ path: z.ZodNull;
1459
+ privateRef: z.ZodString;
1460
+ digest: z.ZodString;
1461
+ }, z.core.$strict>], "storage">;
1462
+ fixCommitDigest: z.ZodString;
1463
+ oracleStableAcrossRevisions: z.ZodBoolean;
1464
+ }, z.core.$strict>, z.ZodObject<{
1465
+ route: z.ZodLiteral<"controlled-mutation">;
1466
+ mutationSource: z.ZodString;
1467
+ mutationOperator: z.ZodString;
1468
+ targetArtifact: z.ZodDiscriminatedUnion<[z.ZodObject<{
1469
+ storage: z.ZodLiteral<"public">;
1470
+ path: z.ZodString;
1471
+ privateRef: z.ZodNull;
1472
+ digest: z.ZodString;
1473
+ }, z.core.$strict>, z.ZodObject<{
1474
+ storage: z.ZodLiteral<"private">;
1475
+ path: z.ZodNull;
1476
+ privateRef: z.ZodString;
1477
+ digest: z.ZodString;
1478
+ }, z.core.$strict>], "storage">;
1479
+ expectedObservableFailure: z.ZodString;
1480
+ baselinePassEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1481
+ storage: z.ZodLiteral<"public">;
1482
+ path: z.ZodString;
1483
+ privateRef: z.ZodNull;
1484
+ digest: z.ZodString;
1485
+ }, z.core.$strict>, z.ZodObject<{
1486
+ storage: z.ZodLiteral<"private">;
1487
+ path: z.ZodNull;
1488
+ privateRef: z.ZodString;
1489
+ digest: z.ZodString;
1490
+ }, z.core.$strict>], "storage">;
1491
+ mutatedFailEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1492
+ storage: z.ZodLiteral<"public">;
1493
+ path: z.ZodString;
1494
+ privateRef: z.ZodNull;
1495
+ digest: z.ZodString;
1496
+ }, z.core.$strict>, z.ZodObject<{
1497
+ storage: z.ZodLiteral<"private">;
1498
+ path: z.ZodNull;
1499
+ privateRef: z.ZodString;
1500
+ digest: z.ZodString;
1501
+ }, z.core.$strict>], "storage">;
1502
+ rollbackVerified: z.ZodBoolean;
1503
+ }, z.core.$strict>, z.ZodObject<{
1504
+ route: z.ZodLiteral<"gameability">;
1505
+ degenerateResponse: z.ZodString;
1506
+ naiveOracleSatisfiedEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1507
+ storage: z.ZodLiteral<"public">;
1508
+ path: z.ZodString;
1509
+ privateRef: z.ZodNull;
1510
+ digest: z.ZodString;
1511
+ }, z.core.$strict>, z.ZodObject<{
1512
+ storage: z.ZodLiteral<"private">;
1513
+ path: z.ZodNull;
1514
+ privateRef: z.ZodString;
1515
+ digest: z.ZodString;
1516
+ }, z.core.$strict>], "storage">;
1517
+ disciplinedOracleRejectedEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1518
+ storage: z.ZodLiteral<"public">;
1519
+ path: z.ZodString;
1520
+ privateRef: z.ZodNull;
1521
+ digest: z.ZodString;
1522
+ }, z.core.$strict>, z.ZodObject<{
1523
+ storage: z.ZodLiteral<"private">;
1524
+ path: z.ZodNull;
1525
+ privateRef: z.ZodString;
1526
+ digest: z.ZodString;
1527
+ }, z.core.$strict>], "storage">;
1528
+ }, z.core.$strict>, z.ZodObject<{
1529
+ route: z.ZodLiteral<"canary">;
1530
+ indicts: z.ZodEnum<{
1531
+ corpus: "corpus";
1532
+ fixture: "fixture";
1533
+ }>;
1534
+ nonDetectionEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1535
+ storage: z.ZodLiteral<"public">;
1536
+ path: z.ZodString;
1537
+ privateRef: z.ZodNull;
1538
+ digest: z.ZodString;
1539
+ }, z.core.$strict>, z.ZodObject<{
1540
+ storage: z.ZodLiteral<"private">;
1541
+ path: z.ZodNull;
1542
+ privateRef: z.ZodString;
1543
+ digest: z.ZodString;
1544
+ }, z.core.$strict>], "storage">;
1545
+ }, z.core.$strict>, z.ZodObject<{
1546
+ route: z.ZodLiteral<"clean-control">;
1547
+ baselinePassEvidence: z.ZodDiscriminatedUnion<[z.ZodObject<{
1548
+ storage: z.ZodLiteral<"public">;
1549
+ path: z.ZodString;
1550
+ privateRef: z.ZodNull;
1551
+ digest: z.ZodString;
1552
+ }, z.core.$strict>, z.ZodObject<{
1553
+ storage: z.ZodLiteral<"private">;
1554
+ path: z.ZodNull;
1555
+ privateRef: z.ZodString;
1556
+ digest: z.ZodString;
1557
+ }, z.core.$strict>], "storage">;
1558
+ revisionCommitDigest: z.ZodString;
1559
+ noKnownDefectStatement: z.ZodString;
1560
+ }, z.core.$strict>], "route">;
758
1561
  expectedClean: z.ZodLiteral<false>;
759
1562
  defects: z.ZodArray<z.ZodObject<{
760
1563
  defectId: z.ZodString;
@@ -798,6 +1601,191 @@ export declare const INTERCHANGE_ARTIFACTS: {
798
1601
  relation: z.ZodType<import("./expression.ts").Expression, unknown, z.core.$ZodTypeInternals<import("./expression.ts").Expression, unknown>>;
799
1602
  }, z.core.$strict>>;
800
1603
  }, z.core.$strict>>;
1604
+ defectSignature: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
1605
+ observableChannel: z.ZodEnum<{
1606
+ artifact: "artifact";
1607
+ "call-inputs": "call-inputs";
1608
+ "exit-code": "exit-code";
1609
+ "response-body": "response-body";
1610
+ "response-headers": "response-headers";
1611
+ "response-status": "response-status";
1612
+ stderr: "stderr";
1613
+ stdout: "stdout";
1614
+ }>;
1615
+ condition: z.ZodObject<{
1616
+ selector: z.ZodObject<{
1617
+ inputBinding: z.ZodObject<{
1618
+ path: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1619
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1620
+ }, z.core.$strict>, z.ZodObject<{
1621
+ matcher: z.ZodEnum<{
1622
+ any: "any";
1623
+ "type-violating": "type-violating";
1624
+ }>;
1625
+ }, z.core.$strict>]>>>;
1626
+ query: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1627
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1628
+ }, z.core.$strict>, z.ZodObject<{
1629
+ matcher: z.ZodEnum<{
1630
+ any: "any";
1631
+ "type-violating": "type-violating";
1632
+ }>;
1633
+ }, z.core.$strict>]>>>;
1634
+ header: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1635
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1636
+ }, z.core.$strict>, z.ZodObject<{
1637
+ matcher: z.ZodEnum<{
1638
+ any: "any";
1639
+ "type-violating": "type-violating";
1640
+ }>;
1641
+ }, z.core.$strict>]>>>;
1642
+ body: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1643
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1644
+ }, z.core.$strict>, z.ZodObject<{
1645
+ matcher: z.ZodEnum<{
1646
+ any: "any";
1647
+ "type-violating": "type-violating";
1648
+ }>;
1649
+ }, z.core.$strict>]>>>;
1650
+ argument: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1651
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1652
+ }, z.core.$strict>, z.ZodObject<{
1653
+ matcher: z.ZodEnum<{
1654
+ any: "any";
1655
+ "type-violating": "type-violating";
1656
+ }>;
1657
+ }, z.core.$strict>]>>>;
1658
+ option: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1659
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1660
+ }, z.core.$strict>, z.ZodObject<{
1661
+ matcher: z.ZodEnum<{
1662
+ any: "any";
1663
+ "type-violating": "type-violating";
1664
+ }>;
1665
+ }, z.core.$strict>]>>>;
1666
+ environment: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1667
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1668
+ }, z.core.$strict>, z.ZodObject<{
1669
+ matcher: z.ZodEnum<{
1670
+ any: "any";
1671
+ "type-violating": "type-violating";
1672
+ }>;
1673
+ }, z.core.$strict>]>>>;
1674
+ stdin: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1675
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1676
+ }, z.core.$strict>, z.ZodObject<{
1677
+ matcher: z.ZodEnum<{
1678
+ any: "any";
1679
+ "type-violating": "type-violating";
1680
+ }>;
1681
+ }, z.core.$strict>]>>>;
1682
+ }, z.core.$strict>;
1683
+ }, z.core.$strict>;
1684
+ predicate: z.ZodType<import("./expression.ts").Expression, unknown, z.core.$ZodTypeInternals<import("./expression.ts").Expression, unknown>>;
1685
+ }, z.core.$strict>;
1686
+ interfaceKind: z.ZodEnum<{
1687
+ api: "api";
1688
+ mcp: "mcp";
1689
+ web: "web";
1690
+ }>;
1691
+ method: z.ZodEnum<{
1692
+ DELETE: "DELETE";
1693
+ GET: "GET";
1694
+ HEAD: "HEAD";
1695
+ OPTIONS: "OPTIONS";
1696
+ PATCH: "PATCH";
1697
+ POST: "POST";
1698
+ PUT: "PUT";
1699
+ }>;
1700
+ pathTemplate: z.ZodString;
1701
+ }, z.core.$strict>, z.ZodObject<{
1702
+ observableChannel: z.ZodEnum<{
1703
+ artifact: "artifact";
1704
+ "call-inputs": "call-inputs";
1705
+ "exit-code": "exit-code";
1706
+ "response-body": "response-body";
1707
+ "response-headers": "response-headers";
1708
+ "response-status": "response-status";
1709
+ stderr: "stderr";
1710
+ stdout: "stdout";
1711
+ }>;
1712
+ condition: z.ZodObject<{
1713
+ selector: z.ZodObject<{
1714
+ inputBinding: z.ZodObject<{
1715
+ path: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1716
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1717
+ }, z.core.$strict>, z.ZodObject<{
1718
+ matcher: z.ZodEnum<{
1719
+ any: "any";
1720
+ "type-violating": "type-violating";
1721
+ }>;
1722
+ }, z.core.$strict>]>>>;
1723
+ query: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1724
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1725
+ }, z.core.$strict>, z.ZodObject<{
1726
+ matcher: z.ZodEnum<{
1727
+ any: "any";
1728
+ "type-violating": "type-violating";
1729
+ }>;
1730
+ }, z.core.$strict>]>>>;
1731
+ header: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1732
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1733
+ }, z.core.$strict>, z.ZodObject<{
1734
+ matcher: z.ZodEnum<{
1735
+ any: "any";
1736
+ "type-violating": "type-violating";
1737
+ }>;
1738
+ }, z.core.$strict>]>>>;
1739
+ body: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1740
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1741
+ }, z.core.$strict>, z.ZodObject<{
1742
+ matcher: z.ZodEnum<{
1743
+ any: "any";
1744
+ "type-violating": "type-violating";
1745
+ }>;
1746
+ }, z.core.$strict>]>>>;
1747
+ argument: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1748
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1749
+ }, z.core.$strict>, z.ZodObject<{
1750
+ matcher: z.ZodEnum<{
1751
+ any: "any";
1752
+ "type-violating": "type-violating";
1753
+ }>;
1754
+ }, z.core.$strict>]>>>;
1755
+ option: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1756
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1757
+ }, z.core.$strict>, z.ZodObject<{
1758
+ matcher: z.ZodEnum<{
1759
+ any: "any";
1760
+ "type-violating": "type-violating";
1761
+ }>;
1762
+ }, z.core.$strict>]>>>;
1763
+ environment: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1764
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1765
+ }, z.core.$strict>, z.ZodObject<{
1766
+ matcher: z.ZodEnum<{
1767
+ any: "any";
1768
+ "type-violating": "type-violating";
1769
+ }>;
1770
+ }, z.core.$strict>]>>>;
1771
+ stdin: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1772
+ literal: z.ZodType<import("./primitives.ts").JsonValue, unknown, z.core.$ZodTypeInternals<import("./primitives.ts").JsonValue, unknown>>;
1773
+ }, z.core.$strict>, z.ZodObject<{
1774
+ matcher: z.ZodEnum<{
1775
+ any: "any";
1776
+ "type-violating": "type-violating";
1777
+ }>;
1778
+ }, z.core.$strict>]>>>;
1779
+ }, z.core.$strict>;
1780
+ }, z.core.$strict>;
1781
+ predicate: z.ZodType<import("./expression.ts").Expression, unknown, z.core.$ZodTypeInternals<import("./expression.ts").Expression, unknown>>;
1782
+ }, z.core.$strict>;
1783
+ interfaceKind: z.ZodLiteral<"cli">;
1784
+ invocation: z.ZodObject<{
1785
+ executable: z.ZodString;
1786
+ subcommandPath: z.ZodArray<z.ZodString>;
1787
+ }, z.core.$strict>;
1788
+ }, z.core.$strict>]>>;
801
1789
  }, z.core.$strict>], "expectedClean">;
802
1790
  readonly priorArt: 'h0-ground-truth';
803
1791
  readonly carriesLineage: true;
@@ -883,6 +1871,7 @@ export declare const INTERCHANGE_ARTIFACTS: {
883
1871
  material: "material";
884
1872
  }>;
885
1873
  confidenceThreshold: z.ZodNumber;
1874
+ catchThreshold: z.ZodNumber;
886
1875
  minimumTrialCount: z.ZodInt;
887
1876
  reExecutionCap: z.ZodInt;
888
1877
  remediationCap: z.ZodInt;
@@ -898,13 +1887,6 @@ export declare const INTERCHANGE_ARTIFACTS: {
898
1887
  revisionCount: z.ZodInt;
899
1888
  runId: z.ZodString;
900
1889
  scoringVersion: z.ZodString;
901
- scoringVersionInputs: z.ZodObject<{
902
- contractSchemaVersion: z.ZodInt;
903
- corpusDigest: z.ZodString;
904
- fixtureDigest: z.ZodString;
905
- evaluatorConfigurationDigest: z.ZodString;
906
- scoringPolicyDigest: z.ZodString;
907
- }, z.core.$strict>;
908
1890
  comparabilityKey: z.ZodString;
909
1891
  excludedProbeIds: z.ZodArray<z.ZodString>;
910
1892
  exitCode: z.ZodInt;
@@ -914,6 +1896,7 @@ export declare const INTERCHANGE_ARTIFACTS: {
914
1896
  corpusDigest: "corpusDigest";
915
1897
  evaluatorConfigurationDigest: "evaluatorConfigurationDigest";
916
1898
  fixtureDigest: "fixtureDigest";
1899
+ mode: "mode";
917
1900
  scoringPolicyDigest: "scoringPolicyDigest";
918
1901
  }>>;
919
1902
  trials: z.ZodObject<{
@@ -1008,6 +1991,14 @@ export declare const INTERCHANGE_ARTIFACTS: {
1008
1991
  noGap: z.ZodBoolean;
1009
1992
  }, z.core.$strict>;
1010
1993
  }, z.core.$strict>;
1994
+ scoringVersionInputs: z.ZodObject<{
1995
+ contractSchemaVersion: z.ZodInt;
1996
+ corpusDigest: z.ZodString;
1997
+ fixtureDigest: z.ZodString;
1998
+ evaluatorConfigurationDigest: z.ZodString;
1999
+ scoringPolicyDigest: z.ZodString;
2000
+ mode: z.ZodLiteral<"production">;
2001
+ }, z.core.$strict>;
1011
2002
  mode: z.ZodLiteral<"production">;
1012
2003
  productionVerdict: z.ZodEnum<{
1013
2004
  CONCERNS: "CONCERNS";
@@ -1021,13 +2012,6 @@ export declare const INTERCHANGE_ARTIFACTS: {
1021
2012
  revisionCount: z.ZodInt;
1022
2013
  runId: z.ZodString;
1023
2014
  scoringVersion: z.ZodString;
1024
- scoringVersionInputs: z.ZodObject<{
1025
- contractSchemaVersion: z.ZodInt;
1026
- corpusDigest: z.ZodString;
1027
- fixtureDigest: z.ZodString;
1028
- evaluatorConfigurationDigest: z.ZodString;
1029
- scoringPolicyDigest: z.ZodString;
1030
- }, z.core.$strict>;
1031
2015
  comparabilityKey: z.ZodString;
1032
2016
  excludedProbeIds: z.ZodArray<z.ZodString>;
1033
2017
  exitCode: z.ZodInt;
@@ -1037,6 +2021,7 @@ export declare const INTERCHANGE_ARTIFACTS: {
1037
2021
  corpusDigest: "corpusDigest";
1038
2022
  evaluatorConfigurationDigest: "evaluatorConfigurationDigest";
1039
2023
  fixtureDigest: "fixtureDigest";
2024
+ mode: "mode";
1040
2025
  scoringPolicyDigest: "scoringPolicyDigest";
1041
2026
  }>>;
1042
2027
  trials: z.ZodObject<{
@@ -1131,6 +2116,14 @@ export declare const INTERCHANGE_ARTIFACTS: {
1131
2116
  noGap: z.ZodBoolean;
1132
2117
  }, z.core.$strict>;
1133
2118
  }, z.core.$strict>;
2119
+ scoringVersionInputs: z.ZodObject<{
2120
+ contractSchemaVersion: z.ZodInt;
2121
+ corpusDigest: z.ZodString;
2122
+ fixtureDigest: z.ZodString;
2123
+ evaluatorConfigurationDigest: z.ZodString;
2124
+ scoringPolicyDigest: z.ZodString;
2125
+ mode: z.ZodLiteral<"contract-scoring">;
2126
+ }, z.core.$strict>;
1134
2127
  mode: z.ZodLiteral<"contract-scoring">;
1135
2128
  contractVerdict: z.ZodEnum<{
1136
2129
  CONCERNS: "CONCERNS";
@@ -1138,6 +2131,32 @@ export declare const INTERCHANGE_ARTIFACTS: {
1138
2131
  PASS: "PASS";
1139
2132
  WAIVED: "WAIVED";
1140
2133
  }>;
2134
+ uncitedFindingGaps: z.ZodArray<z.ZodObject<{
2135
+ findingId: z.ZodString;
2136
+ observationIds: z.ZodArray<z.ZodString>;
2137
+ quotedEvidence: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2138
+ quote: z.ZodString;
2139
+ channel: z.ZodLiteral<"artifact">;
2140
+ artifactId: z.ZodString;
2141
+ }, z.core.$strict>, z.ZodObject<{
2142
+ quote: z.ZodString;
2143
+ channel: z.ZodEnum<{
2144
+ "call-inputs": "call-inputs";
2145
+ "exit-code": "exit-code";
2146
+ "response-body": "response-body";
2147
+ "response-headers": "response-headers";
2148
+ "response-status": "response-status";
2149
+ stderr: "stderr";
2150
+ stdout: "stdout";
2151
+ }>;
2152
+ artifactId: z.ZodNull;
2153
+ }, z.core.$strict>]>>;
2154
+ severity: z.ZodEnum<{
2155
+ critical: "critical";
2156
+ low: "low";
2157
+ material: "material";
2158
+ }>;
2159
+ }, z.core.$strict>>;
1141
2160
  systemRecommendationRecorded: z.ZodEnum<{
1142
2161
  CONCERNS: "CONCERNS";
1143
2162
  FAIL: "FAIL";