@behavproof/core 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 (62) hide show
  1. package/README.md +3 -3
  2. package/cjs/dist/assurance.d.ts +2398 -0
  3. package/cjs/dist/assurance.d.ts.map +1 -0
  4. package/cjs/dist/assurance.js +423 -0
  5. package/cjs/dist/assurance.js.map +1 -0
  6. package/cjs/dist/evidence.d.ts +4 -0
  7. package/cjs/dist/evidence.d.ts.map +1 -0
  8. package/cjs/dist/evidence.js +18 -0
  9. package/cjs/dist/evidence.js.map +1 -0
  10. package/cjs/dist/formal.d.ts +412 -0
  11. package/cjs/dist/formal.d.ts.map +1 -0
  12. package/cjs/dist/formal.js +143 -0
  13. package/cjs/dist/formal.js.map +1 -0
  14. package/cjs/dist/index.d.ts +11 -0
  15. package/cjs/dist/index.d.ts.map +1 -0
  16. package/cjs/dist/index.js +28 -0
  17. package/cjs/dist/index.js.map +1 -0
  18. package/cjs/dist/io.d.ts +5 -0
  19. package/cjs/dist/io.d.ts.map +1 -0
  20. package/cjs/dist/io.js +70 -0
  21. package/cjs/dist/io.js.map +1 -0
  22. package/cjs/dist/manifest.d.ts +56 -0
  23. package/cjs/dist/manifest.d.ts.map +1 -0
  24. package/cjs/dist/manifest.js +70 -0
  25. package/cjs/dist/manifest.js.map +1 -0
  26. package/cjs/dist/policy.d.ts +5 -0
  27. package/cjs/dist/policy.d.ts.map +1 -0
  28. package/cjs/dist/policy.js +63 -0
  29. package/cjs/dist/policy.js.map +1 -0
  30. package/cjs/dist/profiles.d.ts +10 -0
  31. package/cjs/dist/profiles.d.ts.map +1 -0
  32. package/cjs/dist/profiles.js +46 -0
  33. package/cjs/dist/profiles.js.map +1 -0
  34. package/cjs/dist/schemas.d.ts +2453 -0
  35. package/cjs/dist/schemas.d.ts.map +1 -0
  36. package/cjs/dist/schemas.js +100 -0
  37. package/cjs/dist/schemas.js.map +1 -0
  38. package/cjs/dist/sdk.d.ts +54 -0
  39. package/cjs/dist/sdk.d.ts.map +1 -0
  40. package/cjs/dist/sdk.js +4 -0
  41. package/cjs/dist/sdk.js.map +1 -0
  42. package/cjs/dist/serialization.d.ts +4 -0
  43. package/cjs/dist/serialization.d.ts.map +1 -0
  44. package/cjs/dist/serialization.js +58 -0
  45. package/cjs/dist/serialization.js.map +1 -0
  46. package/cjs/package.json +1 -0
  47. package/dist/assurance.d.ts +2398 -0
  48. package/dist/assurance.d.ts.map +1 -0
  49. package/dist/assurance.js +418 -0
  50. package/dist/assurance.js.map +1 -0
  51. package/dist/formal.d.ts +40 -40
  52. package/dist/index.d.ts +1 -0
  53. package/dist/index.d.ts.map +1 -1
  54. package/dist/index.js +1 -0
  55. package/dist/index.js.map +1 -1
  56. package/dist/policy.js.map +1 -1
  57. package/dist/profiles.js.map +1 -1
  58. package/dist/schemas.d.ts +1135 -257
  59. package/dist/schemas.d.ts.map +1 -1
  60. package/dist/schemas.js +5 -3
  61. package/dist/schemas.js.map +1 -1
  62. package/package.json +12 -4
package/dist/schemas.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  export declare const EvidenceStatusSchema: z.ZodEnum<{
3
- unknown: "unknown";
4
- pass: "pass";
5
3
  fail: "fail";
6
4
  not_applicable: "not_applicable";
5
+ pass: "pass";
6
+ unknown: "unknown";
7
7
  }>;
8
8
  export declare const SeveritySchema: z.ZodEnum<{
9
9
  error: "error";
@@ -12,8 +12,8 @@ export declare const SeveritySchema: z.ZodEnum<{
12
12
  }>;
13
13
  export declare const RiskSchema: z.ZodEnum<{
14
14
  basic: "basic";
15
- standard: "standard";
16
15
  critical: "critical";
16
+ standard: "standard";
17
17
  }>;
18
18
  export declare const ModeSchema: z.ZodEnum<{
19
19
  audit: "audit";
@@ -67,21 +67,32 @@ export declare const RiskOverrideSchema: z.ZodObject<{
67
67
  }, z.core.$strict>, z.ZodObject<{
68
68
  kind: z.ZodLiteral<"contract-kind">;
69
69
  value: z.ZodEnum<{
70
- external: "external";
70
+ api_contract: "api_contract";
71
71
  examples: "examples";
72
+ external: "external";
72
73
  invariant: "invariant";
73
74
  state_machine: "state_machine";
74
- api_contract: "api_contract";
75
75
  }>;
76
76
  }, z.core.$strict>], "kind">;
77
77
  profile: z.ZodEnum<{
78
78
  basic: "basic";
79
- standard: "standard";
80
79
  critical: "critical";
80
+ standard: "standard";
81
81
  }>;
82
82
  }, z.core.$strict>;
83
83
  export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
84
84
  schemaVersion: z.ZodLiteral<1>;
85
+ testRunner: z.ZodOptional<z.ZodEnum<{
86
+ jest: "jest";
87
+ vitest: "vitest";
88
+ }>>;
89
+ assurance: z.ZodOptional<z.ZodObject<{
90
+ driver: z.ZodString;
91
+ driverSources: z.ZodArray<z.ZodString>;
92
+ implementationSources: z.ZodArray<z.ZodString>;
93
+ report: z.ZodString;
94
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
95
+ }, z.core.$strict>>;
85
96
  formal: z.ZodOptional<z.ZodObject<{
86
97
  models: z.ZodArray<z.ZodObject<{
87
98
  id: z.ZodString;
@@ -96,9 +107,9 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
96
107
  properties: z.ZodArray<z.ZodString>;
97
108
  checks: z.ZodArray<z.ZodEnum<{
98
109
  parse: "parse";
99
- typecheck: "typecheck";
100
- test: "test";
101
110
  run: "run";
111
+ test: "test";
112
+ typecheck: "typecheck";
102
113
  verify: "verify";
103
114
  }>>;
104
115
  maxSteps: z.ZodNumber;
@@ -130,8 +141,8 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
130
141
  }>>;
131
142
  profile: z.ZodDefault<z.ZodEnum<{
132
143
  basic: "basic";
133
- standard: "standard";
134
144
  critical: "critical";
145
+ standard: "standard";
135
146
  }>>;
136
147
  profileVersion: z.ZodDefault<z.ZodLiteral<"1">>;
137
148
  riskOverrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -144,17 +155,17 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
144
155
  }, z.core.$strict>, z.ZodObject<{
145
156
  kind: z.ZodLiteral<"contract-kind">;
146
157
  value: z.ZodEnum<{
147
- external: "external";
158
+ api_contract: "api_contract";
148
159
  examples: "examples";
160
+ external: "external";
149
161
  invariant: "invariant";
150
162
  state_machine: "state_machine";
151
- api_contract: "api_contract";
152
163
  }>;
153
164
  }, z.core.$strict>], "kind">;
154
165
  profile: z.ZodEnum<{
155
166
  basic: "basic";
156
- standard: "standard";
157
167
  critical: "critical";
168
+ standard: "standard";
158
169
  }>;
159
170
  }, z.core.$strict>>>;
160
171
  git: z.ZodDefault<z.ZodObject<{
@@ -162,6 +173,7 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
162
173
  }, z.core.$strict>>;
163
174
  reports: z.ZodDefault<z.ZodObject<{
164
175
  vitest: z.ZodOptional<z.ZodString>;
176
+ jest: z.ZodOptional<z.ZodString>;
165
177
  coverage: z.ZodOptional<z.ZodString>;
166
178
  mutation: z.ZodOptional<z.ZodString>;
167
179
  }, z.core.$strict>>;
@@ -181,10 +193,11 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
181
193
  sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
182
194
  type: z.ZodEnum<{
183
195
  external: "external";
184
- "vitest-inline": "vitest-inline";
185
- manifest: "manifest";
186
196
  gherkin: "gherkin";
197
+ "jest-inline": "jest-inline";
198
+ manifest: "manifest";
187
199
  openapi: "openapi";
200
+ "vitest-inline": "vitest-inline";
188
201
  }>;
189
202
  include: z.ZodArray<z.ZodString>;
190
203
  }, z.core.$strict>>>;
@@ -193,8 +206,8 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
193
206
  provider: z.ZodLiteral<"github-protected-review">;
194
207
  requiredForRisk: z.ZodDefault<z.ZodArray<z.ZodEnum<{
195
208
  basic: "basic";
196
- standard: "standard";
197
209
  critical: "critical";
210
+ standard: "standard";
198
211
  }>>>;
199
212
  onUnverifiable: z.ZodDefault<z.ZodLiteral<"unknown">>;
200
213
  }, z.core.$strict>>;
@@ -204,15 +217,53 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
204
217
  }, z.core.$strict>>;
205
218
  }, z.core.$strict>>;
206
219
  }, z.core.$strict>, z.ZodTransform<{
207
- rules: Record<string, {
208
- severity: "error" | "off" | "warn";
209
- min?: number | undefined;
210
- minMutants?: number | undefined;
211
- allowNotApplicable?: string[] | undefined;
212
- }>;
213
220
  schemaVersion: 1;
221
+ testRunner?: "jest" | "vitest" | undefined;
222
+ assurance?: {
223
+ driver: string;
224
+ driverSources: string[];
225
+ implementationSources: string[];
226
+ report: string;
227
+ timeoutMs?: number | undefined;
228
+ } | undefined;
229
+ formal?: {
230
+ models: {
231
+ id: string;
232
+ contractId: string;
233
+ model: string;
234
+ modelSources: string[];
235
+ quint: {
236
+ entry: string;
237
+ version: string;
238
+ apalacheVersion?: string | undefined;
239
+ };
240
+ properties: string[];
241
+ checks: ("parse" | "run" | "test" | "typecheck" | "verify")[];
242
+ maxSteps: number;
243
+ maxSamples: number;
244
+ seed: string;
245
+ timeoutMs: number;
246
+ report: string;
247
+ driver?: string | undefined;
248
+ driverSources?: string[] | undefined;
249
+ implementation?: string | undefined;
250
+ implementationSources: string[];
251
+ conformanceReport?: string | undefined;
252
+ traceReceipt?: string | undefined;
253
+ traceDirectory?: string | undefined;
254
+ requiredActions: string[];
255
+ minTraces: number;
256
+ minComparisons: number;
257
+ requireCanary: boolean;
258
+ canary?: {
259
+ faultId: string;
260
+ implementation: string;
261
+ targetRef: string;
262
+ } | undefined;
263
+ }[];
264
+ } | undefined;
214
265
  mode: "audit" | "gate";
215
- profile: "basic" | "standard" | "critical";
266
+ profile: "basic" | "critical" | "standard";
216
267
  profileVersion: "1";
217
268
  riskOverrides: {
218
269
  selector: {
@@ -223,15 +274,16 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
223
274
  value: string;
224
275
  } | {
225
276
  kind: "contract-kind";
226
- value: "external" | "examples" | "invariant" | "state_machine" | "api_contract";
277
+ value: "api_contract" | "examples" | "external" | "invariant" | "state_machine";
227
278
  };
228
- profile: "basic" | "standard" | "critical";
279
+ profile: "basic" | "critical" | "standard";
229
280
  }[];
230
281
  git: {
231
282
  base: string;
232
283
  };
233
284
  reports: {
234
285
  vitest?: string | undefined;
286
+ jest?: string | undefined;
235
287
  coverage?: string | undefined;
236
288
  mutation?: string | undefined;
237
289
  };
@@ -239,13 +291,13 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
239
291
  contracts: {
240
292
  enabled: boolean;
241
293
  sources: {
242
- type: "external" | "vitest-inline" | "manifest" | "gherkin" | "openapi";
294
+ type: "external" | "gherkin" | "jest-inline" | "manifest" | "openapi" | "vitest-inline";
243
295
  include: string[];
244
296
  }[];
245
297
  requireExecutionEvidence: boolean;
246
298
  approval: {
247
299
  provider: "github-protected-review";
248
- requiredForRisk: ("basic" | "standard" | "critical")[];
300
+ requiredForRisk: ("basic" | "critical" | "standard")[];
249
301
  onUnverifiable: "unknown";
250
302
  };
251
303
  documents: {
@@ -253,6 +305,22 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
253
305
  commit: boolean;
254
306
  };
255
307
  };
308
+ rules: Record<string, {
309
+ severity: "error" | "off" | "warn";
310
+ min?: number | undefined;
311
+ minMutants?: number | undefined;
312
+ allowNotApplicable?: string[] | undefined;
313
+ }>;
314
+ }, {
315
+ schemaVersion: 1;
316
+ testRunner?: "jest" | "vitest" | undefined;
317
+ assurance?: {
318
+ driver: string;
319
+ driverSources: string[];
320
+ implementationSources: string[];
321
+ report: string;
322
+ timeoutMs?: number | undefined;
323
+ } | undefined;
256
324
  formal?: {
257
325
  models: {
258
326
  id: string;
@@ -265,23 +333,23 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
265
333
  apalacheVersion?: string | undefined;
266
334
  };
267
335
  properties: string[];
268
- checks: ("parse" | "typecheck" | "test" | "run" | "verify")[];
336
+ checks: ("parse" | "run" | "test" | "typecheck" | "verify")[];
269
337
  maxSteps: number;
270
338
  maxSamples: number;
271
339
  seed: string;
272
340
  timeoutMs: number;
273
341
  report: string;
274
- implementationSources: string[];
275
- requiredActions: string[];
276
- minTraces: number;
277
- minComparisons: number;
278
- requireCanary: boolean;
279
342
  driver?: string | undefined;
280
343
  driverSources?: string[] | undefined;
281
344
  implementation?: string | undefined;
345
+ implementationSources: string[];
282
346
  conformanceReport?: string | undefined;
283
347
  traceReceipt?: string | undefined;
284
348
  traceDirectory?: string | undefined;
349
+ requiredActions: string[];
350
+ minTraces: number;
351
+ minComparisons: number;
352
+ requireCanary: boolean;
285
353
  canary?: {
286
354
  faultId: string;
287
355
  implementation: string;
@@ -289,10 +357,8 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
289
357
  } | undefined;
290
358
  }[];
291
359
  } | undefined;
292
- }, {
293
- schemaVersion: 1;
294
360
  mode: "audit" | "gate";
295
- profile: "basic" | "standard" | "critical";
361
+ profile: "basic" | "critical" | "standard";
296
362
  profileVersion: "1";
297
363
  riskOverrides: {
298
364
  selector: {
@@ -303,15 +369,16 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
303
369
  value: string;
304
370
  } | {
305
371
  kind: "contract-kind";
306
- value: "external" | "examples" | "invariant" | "state_machine" | "api_contract";
372
+ value: "api_contract" | "examples" | "external" | "invariant" | "state_machine";
307
373
  };
308
- profile: "basic" | "standard" | "critical";
374
+ profile: "basic" | "critical" | "standard";
309
375
  }[];
310
376
  git: {
311
377
  base: string;
312
378
  };
313
379
  reports: {
314
380
  vitest?: string | undefined;
381
+ jest?: string | undefined;
315
382
  coverage?: string | undefined;
316
383
  mutation?: string | undefined;
317
384
  };
@@ -325,13 +392,13 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
325
392
  contracts: {
326
393
  enabled: boolean;
327
394
  sources: {
328
- type: "external" | "vitest-inline" | "manifest" | "gherkin" | "openapi";
395
+ type: "external" | "gherkin" | "jest-inline" | "manifest" | "openapi" | "vitest-inline";
329
396
  include: string[];
330
397
  }[];
331
398
  requireExecutionEvidence: boolean;
332
399
  approval: {
333
400
  provider: "github-protected-review";
334
- requiredForRisk: ("basic" | "standard" | "critical")[];
401
+ requiredForRisk: ("basic" | "critical" | "standard")[];
335
402
  onUnverifiable: "unknown";
336
403
  };
337
404
  documents: {
@@ -339,42 +406,6 @@ export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
339
406
  commit: boolean;
340
407
  };
341
408
  };
342
- formal?: {
343
- models: {
344
- id: string;
345
- contractId: string;
346
- model: string;
347
- modelSources: string[];
348
- quint: {
349
- entry: string;
350
- version: string;
351
- apalacheVersion?: string | undefined;
352
- };
353
- properties: string[];
354
- checks: ("parse" | "typecheck" | "test" | "run" | "verify")[];
355
- maxSteps: number;
356
- maxSamples: number;
357
- seed: string;
358
- timeoutMs: number;
359
- report: string;
360
- implementationSources: string[];
361
- requiredActions: string[];
362
- minTraces: number;
363
- minComparisons: number;
364
- requireCanary: boolean;
365
- driver?: string | undefined;
366
- driverSources?: string[] | undefined;
367
- implementation?: string | undefined;
368
- conformanceReport?: string | undefined;
369
- traceReceipt?: string | undefined;
370
- traceDirectory?: string | undefined;
371
- canary?: {
372
- faultId: string;
373
- implementation: string;
374
- targetRef: string;
375
- } | undefined;
376
- }[];
377
- } | undefined;
378
409
  }>>;
379
410
  export declare const EvidenceSubjectSchema: z.ZodObject<{
380
411
  repositoryId: z.ZodOptional<z.ZodString>;
@@ -448,15 +479,15 @@ export declare const IntentSchema: z.ZodObject<{
448
479
  statement: z.ZodString;
449
480
  risk: z.ZodEnum<{
450
481
  basic: "basic";
451
- standard: "standard";
452
482
  critical: "critical";
483
+ standard: "standard";
453
484
  }>;
454
485
  contentHash: z.ZodString;
455
486
  origin: z.ZodObject<{
456
487
  kind: z.ZodEnum<{
457
488
  external: "external";
458
- manifest: "manifest";
459
489
  inline: "inline";
490
+ manifest: "manifest";
460
491
  }>;
461
492
  ref: z.ZodString;
462
493
  }, z.core.$strict>;
@@ -469,6 +500,150 @@ export declare const ContractCaseSchema: z.ZodObject<{
469
500
  }, z.core.$strict>;
470
501
  export declare const ContractSchema: z.ZodObject<{
471
502
  id: z.ZodString;
503
+ assurance: z.ZodOptional<z.ZodObject<{
504
+ feature: z.ZodObject<{
505
+ id: z.ZodString;
506
+ entrypoints: z.ZodArray<z.ZodString>;
507
+ }, z.core.$strict>;
508
+ conditions: z.ZodArray<z.ZodObject<{
509
+ id: z.ZodString;
510
+ kind: z.ZodEnum<{
511
+ architecture: "architecture";
512
+ effect: "effect";
513
+ invariant: "invariant";
514
+ journey: "journey";
515
+ postcondition: "postcondition";
516
+ precondition: "precondition";
517
+ property: "property";
518
+ }>;
519
+ statement: z.ZodString;
520
+ checks: z.ZodArray<z.ZodString>;
521
+ requiredFaults: z.ZodArray<z.ZodObject<{
522
+ id: z.ZodString;
523
+ kind: z.ZodString;
524
+ checkId: z.ZodString;
525
+ implementation: z.ZodString;
526
+ detects: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
527
+ kind: z.ZodLiteral<"result">;
528
+ id: z.ZodString;
529
+ }, z.core.$strict>, z.ZodObject<{
530
+ kind: z.ZodLiteral<"unchanged">;
531
+ id: z.ZodString;
532
+ scope: z.ZodString;
533
+ field: z.ZodString;
534
+ }, z.core.$strict>, z.ZodObject<{
535
+ kind: z.ZodLiteral<"effect">;
536
+ id: z.ZodString;
537
+ scope: z.ZodString;
538
+ effectId: z.ZodString;
539
+ }, z.core.$strict>, z.ZodObject<{
540
+ kind: z.ZodLiteral<"rule">;
541
+ id: z.ZodString;
542
+ }, z.core.$strict>], "kind">>;
543
+ }, z.core.$strict>>;
544
+ }, z.core.$strict>>;
545
+ checks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
546
+ id: z.ZodString;
547
+ targetRef: z.ZodString;
548
+ method: z.ZodLiteral<"example">;
549
+ cases: z.ZodArray<z.ZodObject<{
550
+ id: z.ZodString;
551
+ input: z.ZodJSONSchema;
552
+ expected: z.ZodJSONSchema;
553
+ }, z.core.$strict>>;
554
+ }, z.core.$strict>, z.ZodObject<{
555
+ id: z.ZodString;
556
+ targetRef: z.ZodString;
557
+ method: z.ZodLiteral<"effects">;
558
+ cases: z.ZodArray<z.ZodObject<{
559
+ id: z.ZodString;
560
+ input: z.ZodJSONSchema;
561
+ expected: z.ZodJSONSchema;
562
+ }, z.core.$strict>>;
563
+ scope: z.ZodArray<z.ZodString>;
564
+ resources: z.ZodArray<z.ZodObject<{
565
+ scope: z.ZodString;
566
+ adapter: z.ZodString;
567
+ targets: z.ZodArray<z.ZodString>;
568
+ }, z.core.$strict>>;
569
+ allowedChanges: z.ZodArray<z.ZodObject<{
570
+ scope: z.ZodString;
571
+ field: z.ZodString;
572
+ }, z.core.$strict>>;
573
+ unchangedFields: z.ZodArray<z.ZodObject<{
574
+ scope: z.ZodString;
575
+ field: z.ZodString;
576
+ }, z.core.$strict>>;
577
+ effects: z.ZodArray<z.ZodObject<{
578
+ id: z.ZodString;
579
+ scope: z.ZodString;
580
+ min: z.ZodNumber;
581
+ max: z.ZodNumber;
582
+ }, z.core.$strict>>;
583
+ window: z.ZodObject<{
584
+ settledBy: z.ZodString;
585
+ durationMs: z.ZodNumber;
586
+ }, z.core.$strict>;
587
+ }, z.core.$strict>, z.ZodObject<{
588
+ id: z.ZodString;
589
+ targetRef: z.ZodString;
590
+ method: z.ZodLiteral<"property">;
591
+ domain: z.ZodJSONSchema;
592
+ seed: z.ZodString;
593
+ runs: z.ZodNumber;
594
+ minValid: z.ZodNumber;
595
+ maxDiscarded: z.ZodNumber;
596
+ maxDiscardRatio: z.ZodOptional<z.ZodNumber>;
597
+ requiredClasses: z.ZodArray<z.ZodString>;
598
+ classMinimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
599
+ generator: z.ZodString;
600
+ predicate: z.ZodString;
601
+ shrinker: z.ZodOptional<z.ZodString>;
602
+ }, z.core.$strict>, z.ZodObject<{
603
+ id: z.ZodString;
604
+ targetRef: z.ZodString;
605
+ method: z.ZodLiteral<"sequence">;
606
+ seed: z.ZodString;
607
+ generator: z.ZodString;
608
+ model: z.ZodString;
609
+ projection: z.ZodString;
610
+ maxSteps: z.ZodNumber;
611
+ minTraces: z.ZodNumber;
612
+ requiredActions: z.ZodArray<z.ZodString>;
613
+ actionMinimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
614
+ }, z.core.$strict>, z.ZodObject<{
615
+ id: z.ZodString;
616
+ targetRef: z.ZodString;
617
+ method: z.ZodLiteral<"architecture">;
618
+ files: z.ZodArray<z.ZodString>;
619
+ rules: z.ZodArray<z.ZodObject<{
620
+ id: z.ZodString;
621
+ from: z.ZodArray<z.ZodString>;
622
+ forbidden: z.ZodArray<z.ZodString>;
623
+ }, z.core.$strict>>;
624
+ }, z.core.$strict>, z.ZodObject<{
625
+ id: z.ZodString;
626
+ targetRef: z.ZodString;
627
+ method: z.ZodLiteral<"journey">;
628
+ entrypoint: z.ZodString;
629
+ environment: z.ZodJSONSchema;
630
+ mockBoundaries: z.ZodArray<z.ZodString>;
631
+ layers: z.ZodArray<z.ZodString>;
632
+ layerBindings: z.ZodArray<z.ZodObject<{
633
+ id: z.ZodString;
634
+ adapter: z.ZodString;
635
+ targetRef: z.ZodString;
636
+ }, z.core.$strict>>;
637
+ steps: z.ZodArray<z.ZodObject<{
638
+ id: z.ZodString;
639
+ input: z.ZodJSONSchema;
640
+ expected: z.ZodJSONSchema;
641
+ action: z.ZodString;
642
+ layers: z.ZodArray<z.ZodString>;
643
+ }, z.core.$strict>>;
644
+ requiredMedia: z.ZodOptional<z.ZodArray<z.ZodString>>;
645
+ }, z.core.$strict>], "method">>;
646
+ }, z.core.$strict>>;
472
647
  formal: z.ZodOptional<z.ZodObject<{
473
648
  modelId: z.ZodString;
474
649
  modelHash: z.ZodString;
@@ -476,11 +651,11 @@ export declare const ContractSchema: z.ZodObject<{
476
651
  propertyIds: z.ZodArray<z.ZodString>;
477
652
  }, z.core.$strict>>;
478
653
  kind: z.ZodEnum<{
479
- external: "external";
654
+ api_contract: "api_contract";
480
655
  examples: "examples";
656
+ external: "external";
481
657
  invariant: "invariant";
482
658
  state_machine: "state_machine";
483
- api_contract: "api_contract";
484
659
  }>;
485
660
  intentIds: z.ZodArray<z.ZodString>;
486
661
  revisionHash: z.ZodString;
@@ -488,8 +663,8 @@ export declare const ContractSchema: z.ZodObject<{
488
663
  caseIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
489
664
  risk: z.ZodOptional<z.ZodEnum<{
490
665
  basic: "basic";
491
- standard: "standard";
492
666
  critical: "critical";
667
+ standard: "standard";
493
668
  }>>;
494
669
  cases: z.ZodOptional<z.ZodArray<z.ZodObject<{
495
670
  id: z.ZodString;
@@ -504,6 +679,150 @@ export declare const RegistrySnapshotSchema: z.ZodObject<{
504
679
  commitSha: z.ZodString;
505
680
  contracts: z.ZodArray<z.ZodObject<{
506
681
  id: z.ZodString;
682
+ assurance: z.ZodOptional<z.ZodObject<{
683
+ feature: z.ZodObject<{
684
+ id: z.ZodString;
685
+ entrypoints: z.ZodArray<z.ZodString>;
686
+ }, z.core.$strict>;
687
+ conditions: z.ZodArray<z.ZodObject<{
688
+ id: z.ZodString;
689
+ kind: z.ZodEnum<{
690
+ architecture: "architecture";
691
+ effect: "effect";
692
+ invariant: "invariant";
693
+ journey: "journey";
694
+ postcondition: "postcondition";
695
+ precondition: "precondition";
696
+ property: "property";
697
+ }>;
698
+ statement: z.ZodString;
699
+ checks: z.ZodArray<z.ZodString>;
700
+ requiredFaults: z.ZodArray<z.ZodObject<{
701
+ id: z.ZodString;
702
+ kind: z.ZodString;
703
+ checkId: z.ZodString;
704
+ implementation: z.ZodString;
705
+ detects: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
706
+ kind: z.ZodLiteral<"result">;
707
+ id: z.ZodString;
708
+ }, z.core.$strict>, z.ZodObject<{
709
+ kind: z.ZodLiteral<"unchanged">;
710
+ id: z.ZodString;
711
+ scope: z.ZodString;
712
+ field: z.ZodString;
713
+ }, z.core.$strict>, z.ZodObject<{
714
+ kind: z.ZodLiteral<"effect">;
715
+ id: z.ZodString;
716
+ scope: z.ZodString;
717
+ effectId: z.ZodString;
718
+ }, z.core.$strict>, z.ZodObject<{
719
+ kind: z.ZodLiteral<"rule">;
720
+ id: z.ZodString;
721
+ }, z.core.$strict>], "kind">>;
722
+ }, z.core.$strict>>;
723
+ }, z.core.$strict>>;
724
+ checks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
725
+ id: z.ZodString;
726
+ targetRef: z.ZodString;
727
+ method: z.ZodLiteral<"example">;
728
+ cases: z.ZodArray<z.ZodObject<{
729
+ id: z.ZodString;
730
+ input: z.ZodJSONSchema;
731
+ expected: z.ZodJSONSchema;
732
+ }, z.core.$strict>>;
733
+ }, z.core.$strict>, z.ZodObject<{
734
+ id: z.ZodString;
735
+ targetRef: z.ZodString;
736
+ method: z.ZodLiteral<"effects">;
737
+ cases: z.ZodArray<z.ZodObject<{
738
+ id: z.ZodString;
739
+ input: z.ZodJSONSchema;
740
+ expected: z.ZodJSONSchema;
741
+ }, z.core.$strict>>;
742
+ scope: z.ZodArray<z.ZodString>;
743
+ resources: z.ZodArray<z.ZodObject<{
744
+ scope: z.ZodString;
745
+ adapter: z.ZodString;
746
+ targets: z.ZodArray<z.ZodString>;
747
+ }, z.core.$strict>>;
748
+ allowedChanges: z.ZodArray<z.ZodObject<{
749
+ scope: z.ZodString;
750
+ field: z.ZodString;
751
+ }, z.core.$strict>>;
752
+ unchangedFields: z.ZodArray<z.ZodObject<{
753
+ scope: z.ZodString;
754
+ field: z.ZodString;
755
+ }, z.core.$strict>>;
756
+ effects: z.ZodArray<z.ZodObject<{
757
+ id: z.ZodString;
758
+ scope: z.ZodString;
759
+ min: z.ZodNumber;
760
+ max: z.ZodNumber;
761
+ }, z.core.$strict>>;
762
+ window: z.ZodObject<{
763
+ settledBy: z.ZodString;
764
+ durationMs: z.ZodNumber;
765
+ }, z.core.$strict>;
766
+ }, z.core.$strict>, z.ZodObject<{
767
+ id: z.ZodString;
768
+ targetRef: z.ZodString;
769
+ method: z.ZodLiteral<"property">;
770
+ domain: z.ZodJSONSchema;
771
+ seed: z.ZodString;
772
+ runs: z.ZodNumber;
773
+ minValid: z.ZodNumber;
774
+ maxDiscarded: z.ZodNumber;
775
+ maxDiscardRatio: z.ZodOptional<z.ZodNumber>;
776
+ requiredClasses: z.ZodArray<z.ZodString>;
777
+ classMinimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
778
+ generator: z.ZodString;
779
+ predicate: z.ZodString;
780
+ shrinker: z.ZodOptional<z.ZodString>;
781
+ }, z.core.$strict>, z.ZodObject<{
782
+ id: z.ZodString;
783
+ targetRef: z.ZodString;
784
+ method: z.ZodLiteral<"sequence">;
785
+ seed: z.ZodString;
786
+ generator: z.ZodString;
787
+ model: z.ZodString;
788
+ projection: z.ZodString;
789
+ maxSteps: z.ZodNumber;
790
+ minTraces: z.ZodNumber;
791
+ requiredActions: z.ZodArray<z.ZodString>;
792
+ actionMinimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
793
+ }, z.core.$strict>, z.ZodObject<{
794
+ id: z.ZodString;
795
+ targetRef: z.ZodString;
796
+ method: z.ZodLiteral<"architecture">;
797
+ files: z.ZodArray<z.ZodString>;
798
+ rules: z.ZodArray<z.ZodObject<{
799
+ id: z.ZodString;
800
+ from: z.ZodArray<z.ZodString>;
801
+ forbidden: z.ZodArray<z.ZodString>;
802
+ }, z.core.$strict>>;
803
+ }, z.core.$strict>, z.ZodObject<{
804
+ id: z.ZodString;
805
+ targetRef: z.ZodString;
806
+ method: z.ZodLiteral<"journey">;
807
+ entrypoint: z.ZodString;
808
+ environment: z.ZodJSONSchema;
809
+ mockBoundaries: z.ZodArray<z.ZodString>;
810
+ layers: z.ZodArray<z.ZodString>;
811
+ layerBindings: z.ZodArray<z.ZodObject<{
812
+ id: z.ZodString;
813
+ adapter: z.ZodString;
814
+ targetRef: z.ZodString;
815
+ }, z.core.$strict>>;
816
+ steps: z.ZodArray<z.ZodObject<{
817
+ id: z.ZodString;
818
+ input: z.ZodJSONSchema;
819
+ expected: z.ZodJSONSchema;
820
+ action: z.ZodString;
821
+ layers: z.ZodArray<z.ZodString>;
822
+ }, z.core.$strict>>;
823
+ requiredMedia: z.ZodOptional<z.ZodArray<z.ZodString>>;
824
+ }, z.core.$strict>], "method">>;
825
+ }, z.core.$strict>>;
507
826
  formal: z.ZodOptional<z.ZodObject<{
508
827
  modelId: z.ZodString;
509
828
  modelHash: z.ZodString;
@@ -511,11 +830,11 @@ export declare const RegistrySnapshotSchema: z.ZodObject<{
511
830
  propertyIds: z.ZodArray<z.ZodString>;
512
831
  }, z.core.$strict>>;
513
832
  kind: z.ZodEnum<{
514
- external: "external";
833
+ api_contract: "api_contract";
515
834
  examples: "examples";
835
+ external: "external";
516
836
  invariant: "invariant";
517
837
  state_machine: "state_machine";
518
- api_contract: "api_contract";
519
838
  }>;
520
839
  intentIds: z.ZodArray<z.ZodString>;
521
840
  revisionHash: z.ZodString;
@@ -523,8 +842,8 @@ export declare const RegistrySnapshotSchema: z.ZodObject<{
523
842
  caseIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
524
843
  risk: z.ZodOptional<z.ZodEnum<{
525
844
  basic: "basic";
526
- standard: "standard";
527
845
  critical: "critical";
846
+ standard: "standard";
528
847
  }>>;
529
848
  cases: z.ZodOptional<z.ZodArray<z.ZodObject<{
530
849
  id: z.ZodString;
@@ -538,15 +857,15 @@ export declare const RegistrySnapshotSchema: z.ZodObject<{
538
857
  statement: z.ZodString;
539
858
  risk: z.ZodEnum<{
540
859
  basic: "basic";
541
- standard: "standard";
542
860
  critical: "critical";
861
+ standard: "standard";
543
862
  }>;
544
863
  contentHash: z.ZodString;
545
864
  origin: z.ZodObject<{
546
865
  kind: z.ZodEnum<{
547
866
  external: "external";
548
- manifest: "manifest";
549
867
  inline: "inline";
868
+ manifest: "manifest";
550
869
  }>;
551
870
  ref: z.ZodString;
552
871
  }, z.core.$strict>;
@@ -565,8 +884,8 @@ export declare const ApprovalSchema: z.ZodObject<{
565
884
  id: z.ZodString;
566
885
  target: z.ZodObject<{
567
886
  kind: z.ZodEnum<{
568
- intent: "intent";
569
887
  contract: "contract";
888
+ intent: "intent";
570
889
  policy: "policy";
571
890
  registry: "registry";
572
891
  }>;
@@ -574,10 +893,10 @@ export declare const ApprovalSchema: z.ZodObject<{
574
893
  contentHash: z.ZodString;
575
894
  }, z.core.$strict>;
576
895
  status: z.ZodEnum<{
577
- unknown: "unknown";
578
- pass: "pass";
579
896
  fail: "fail";
580
897
  not_applicable: "not_applicable";
898
+ pass: "pass";
899
+ unknown: "unknown";
581
900
  }>;
582
901
  source: z.ZodObject<{
583
902
  provider: z.ZodString;
@@ -595,10 +914,10 @@ export declare const EvaluationSchema: z.ZodObject<{
595
914
  warn: "warn";
596
915
  }>;
597
916
  status: z.ZodEnum<{
598
- unknown: "unknown";
599
- pass: "pass";
600
917
  fail: "fail";
601
918
  not_applicable: "not_applicable";
919
+ pass: "pass";
920
+ unknown: "unknown";
602
921
  }>;
603
922
  evidenceIds: z.ZodArray<z.ZodString>;
604
923
  scope: z.ZodArray<z.ZodString>;
@@ -612,33 +931,26 @@ export declare const EvaluationSchema: z.ZodObject<{
612
931
  }, z.core.$strict>;
613
932
  export declare const ProvenanceSchema: z.ZodObject<{
614
933
  artifactIntegrity: z.ZodEnum<{
615
- unknown: "unknown";
616
- pass: "pass";
617
934
  fail: "fail";
618
935
  not_applicable: "not_applicable";
936
+ pass: "pass";
937
+ unknown: "unknown";
619
938
  }>;
620
939
  producerTrust: z.ZodEnum<{
621
- unknown: "unknown";
622
- pass: "pass";
623
940
  fail: "fail";
624
941
  not_applicable: "not_applicable";
942
+ pass: "pass";
943
+ unknown: "unknown";
625
944
  }>;
626
945
  subjectMatch: z.ZodEnum<{
627
- unknown: "unknown";
628
- pass: "pass";
629
946
  fail: "fail";
630
947
  not_applicable: "not_applicable";
948
+ pass: "pass";
949
+ unknown: "unknown";
631
950
  }>;
632
951
  reasons: z.ZodArray<z.ZodString>;
633
952
  }, z.core.$strict>;
634
953
  export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
635
- kind: z.ZodLiteral<"test">;
636
- payload: z.ZodObject<{
637
- total: z.ZodNumber;
638
- passed: z.ZodNumber;
639
- failed: z.ZodNumber;
640
- skipped: z.ZodNumber;
641
- }, z.core.$strict>;
642
954
  schemaVersion: z.ZodLiteral<1>;
643
955
  id: z.ZodString;
644
956
  source: z.ZodObject<{
@@ -666,34 +978,34 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
666
978
  }, z.core.$strict>;
667
979
  provenance: z.ZodObject<{
668
980
  artifactIntegrity: z.ZodEnum<{
669
- unknown: "unknown";
670
- pass: "pass";
671
981
  fail: "fail";
672
982
  not_applicable: "not_applicable";
983
+ pass: "pass";
984
+ unknown: "unknown";
673
985
  }>;
674
986
  producerTrust: z.ZodEnum<{
675
- unknown: "unknown";
676
- pass: "pass";
677
987
  fail: "fail";
678
988
  not_applicable: "not_applicable";
989
+ pass: "pass";
990
+ unknown: "unknown";
679
991
  }>;
680
992
  subjectMatch: z.ZodEnum<{
681
- unknown: "unknown";
682
- pass: "pass";
683
993
  fail: "fail";
684
994
  not_applicable: "not_applicable";
995
+ pass: "pass";
996
+ unknown: "unknown";
685
997
  }>;
686
998
  reasons: z.ZodArray<z.ZodString>;
687
999
  }, z.core.$strict>;
688
1000
  subjectRefs: z.ZodArray<z.ZodString>;
689
- }, z.core.$strict>, z.ZodObject<{
690
- kind: z.ZodLiteral<"coverage">;
1001
+ kind: z.ZodLiteral<"test">;
691
1002
  payload: z.ZodObject<{
692
- covered: z.ZodNumber;
693
1003
  total: z.ZodNumber;
694
- excluded: z.ZodNumber;
695
- unobserved: z.ZodNumber;
1004
+ passed: z.ZodNumber;
1005
+ failed: z.ZodNumber;
1006
+ skipped: z.ZodNumber;
696
1007
  }, z.core.$strict>;
1008
+ }, z.core.$strict>, z.ZodObject<{
697
1009
  schemaVersion: z.ZodLiteral<1>;
698
1010
  id: z.ZodString;
699
1011
  source: z.ZodObject<{
@@ -721,27 +1033,81 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
721
1033
  }, z.core.$strict>;
722
1034
  provenance: z.ZodObject<{
723
1035
  artifactIntegrity: z.ZodEnum<{
724
- unknown: "unknown";
725
- pass: "pass";
726
1036
  fail: "fail";
727
1037
  not_applicable: "not_applicable";
728
- }>;
729
- producerTrust: z.ZodEnum<{
730
- unknown: "unknown";
731
1038
  pass: "pass";
1039
+ unknown: "unknown";
1040
+ }>;
1041
+ producerTrust: z.ZodEnum<{
732
1042
  fail: "fail";
733
1043
  not_applicable: "not_applicable";
1044
+ pass: "pass";
1045
+ unknown: "unknown";
734
1046
  }>;
735
1047
  subjectMatch: z.ZodEnum<{
1048
+ fail: "fail";
1049
+ not_applicable: "not_applicable";
1050
+ pass: "pass";
1051
+ unknown: "unknown";
1052
+ }>;
1053
+ reasons: z.ZodArray<z.ZodString>;
1054
+ }, z.core.$strict>;
1055
+ subjectRefs: z.ZodArray<z.ZodString>;
1056
+ kind: z.ZodLiteral<"coverage">;
1057
+ payload: z.ZodObject<{
1058
+ covered: z.ZodNumber;
1059
+ total: z.ZodNumber;
1060
+ excluded: z.ZodNumber;
1061
+ unobserved: z.ZodNumber;
1062
+ }, z.core.$strict>;
1063
+ }, z.core.$strict>, z.ZodObject<{
1064
+ schemaVersion: z.ZodLiteral<1>;
1065
+ id: z.ZodString;
1066
+ source: z.ZodObject<{
1067
+ tool: z.ZodString;
1068
+ version: z.ZodOptional<z.ZodString>;
1069
+ artifactRef: z.ZodString;
1070
+ }, z.core.$strict>;
1071
+ context: z.ZodObject<{
1072
+ subject: z.ZodOptional<z.ZodObject<{
1073
+ repositoryId: z.ZodOptional<z.ZodString>;
1074
+ prHeadSha: z.ZodOptional<z.ZodString>;
1075
+ testedCommitSha: z.ZodString;
1076
+ testedCommitParents: z.ZodOptional<z.ZodArray<z.ZodString>>;
1077
+ sourceTreeHash: z.ZodString;
1078
+ dirty: z.ZodBoolean;
1079
+ baseSha: z.ZodOptional<z.ZodString>;
1080
+ diffBaseSha: z.ZodOptional<z.ZodString>;
1081
+ }, z.core.$strict>>;
1082
+ manifestRef: z.ZodOptional<z.ZodString>;
1083
+ protectedPolicySha: z.ZodOptional<z.ZodString>;
1084
+ effectivePolicyHash: z.ZodString;
1085
+ contractHash: z.ZodOptional<z.ZodString>;
1086
+ generatedAt: z.ZodOptional<z.ZodISODateTime>;
1087
+ collectedAt: z.ZodISODateTime;
1088
+ }, z.core.$strict>;
1089
+ provenance: z.ZodObject<{
1090
+ artifactIntegrity: z.ZodEnum<{
1091
+ fail: "fail";
1092
+ not_applicable: "not_applicable";
1093
+ pass: "pass";
736
1094
  unknown: "unknown";
1095
+ }>;
1096
+ producerTrust: z.ZodEnum<{
1097
+ fail: "fail";
1098
+ not_applicable: "not_applicable";
737
1099
  pass: "pass";
1100
+ unknown: "unknown";
1101
+ }>;
1102
+ subjectMatch: z.ZodEnum<{
738
1103
  fail: "fail";
739
1104
  not_applicable: "not_applicable";
1105
+ pass: "pass";
1106
+ unknown: "unknown";
740
1107
  }>;
741
1108
  reasons: z.ZodArray<z.ZodString>;
742
1109
  }, z.core.$strict>;
743
1110
  subjectRefs: z.ZodArray<z.ZodString>;
744
- }, z.core.$strict>, z.ZodObject<{
745
1111
  kind: z.ZodLiteral<"mutation">;
746
1112
  payload: z.ZodObject<{
747
1113
  killed: z.ZodNumber;
@@ -751,6 +1117,7 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
751
1117
  excluded: z.ZodNumber;
752
1118
  unobserved: z.ZodNumber;
753
1119
  }, z.core.$strict>;
1120
+ }, z.core.$strict>, z.ZodObject<{
754
1121
  schemaVersion: z.ZodLiteral<1>;
755
1122
  id: z.ZodString;
756
1123
  source: z.ZodObject<{
@@ -778,45 +1145,45 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
778
1145
  }, z.core.$strict>;
779
1146
  provenance: z.ZodObject<{
780
1147
  artifactIntegrity: z.ZodEnum<{
781
- unknown: "unknown";
782
- pass: "pass";
783
1148
  fail: "fail";
784
1149
  not_applicable: "not_applicable";
1150
+ pass: "pass";
1151
+ unknown: "unknown";
785
1152
  }>;
786
1153
  producerTrust: z.ZodEnum<{
787
- unknown: "unknown";
788
- pass: "pass";
789
1154
  fail: "fail";
790
1155
  not_applicable: "not_applicable";
1156
+ pass: "pass";
1157
+ unknown: "unknown";
791
1158
  }>;
792
1159
  subjectMatch: z.ZodEnum<{
793
- unknown: "unknown";
794
- pass: "pass";
795
1160
  fail: "fail";
796
1161
  not_applicable: "not_applicable";
1162
+ pass: "pass";
1163
+ unknown: "unknown";
797
1164
  }>;
798
1165
  reasons: z.ZodArray<z.ZodString>;
799
1166
  }, z.core.$strict>;
800
1167
  subjectRefs: z.ZodArray<z.ZodString>;
801
- }, z.core.$strict>, z.ZodObject<{
802
1168
  kind: z.ZodLiteral<"pipeline">;
803
1169
  payload: z.ZodObject<{
804
1170
  status: z.ZodEnum<{
805
- unknown: "unknown";
806
- pass: "pass";
807
1171
  fail: "fail";
808
1172
  not_applicable: "not_applicable";
1173
+ pass: "pass";
1174
+ unknown: "unknown";
809
1175
  }>;
810
1176
  checks: z.ZodArray<z.ZodObject<{
811
1177
  id: z.ZodString;
812
1178
  status: z.ZodEnum<{
813
- unknown: "unknown";
814
- pass: "pass";
815
1179
  fail: "fail";
816
1180
  not_applicable: "not_applicable";
1181
+ pass: "pass";
1182
+ unknown: "unknown";
817
1183
  }>;
818
1184
  }, z.core.$strict>>;
819
1185
  }, z.core.$strict>;
1186
+ }, z.core.$strict>, z.ZodObject<{
820
1187
  schemaVersion: z.ZodLiteral<1>;
821
1188
  id: z.ZodString;
822
1189
  source: z.ZodObject<{
@@ -844,27 +1211,26 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
844
1211
  }, z.core.$strict>;
845
1212
  provenance: z.ZodObject<{
846
1213
  artifactIntegrity: z.ZodEnum<{
847
- unknown: "unknown";
848
- pass: "pass";
849
1214
  fail: "fail";
850
1215
  not_applicable: "not_applicable";
1216
+ pass: "pass";
1217
+ unknown: "unknown";
851
1218
  }>;
852
1219
  producerTrust: z.ZodEnum<{
853
- unknown: "unknown";
854
- pass: "pass";
855
1220
  fail: "fail";
856
1221
  not_applicable: "not_applicable";
1222
+ pass: "pass";
1223
+ unknown: "unknown";
857
1224
  }>;
858
1225
  subjectMatch: z.ZodEnum<{
859
- unknown: "unknown";
860
- pass: "pass";
861
1226
  fail: "fail";
862
1227
  not_applicable: "not_applicable";
1228
+ pass: "pass";
1229
+ unknown: "unknown";
863
1230
  }>;
864
1231
  reasons: z.ZodArray<z.ZodString>;
865
1232
  }, z.core.$strict>;
866
1233
  subjectRefs: z.ZodArray<z.ZodString>;
867
- }, z.core.$strict>, z.ZodObject<{
868
1234
  kind: z.ZodLiteral<"contract_execution">;
869
1235
  payload: z.ZodObject<{
870
1236
  contractId: z.ZodString;
@@ -873,12 +1239,13 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
873
1239
  bindingHash: z.ZodString;
874
1240
  comparisonCount: z.ZodNumber;
875
1241
  status: z.ZodEnum<{
876
- unknown: "unknown";
877
- pass: "pass";
878
1242
  fail: "fail";
879
1243
  not_applicable: "not_applicable";
1244
+ pass: "pass";
1245
+ unknown: "unknown";
880
1246
  }>;
881
1247
  }, z.core.$strict>;
1248
+ }, z.core.$strict>, z.ZodObject<{
882
1249
  schemaVersion: z.ZodLiteral<1>;
883
1250
  id: z.ZodString;
884
1251
  source: z.ZodObject<{
@@ -906,35 +1273,34 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
906
1273
  }, z.core.$strict>;
907
1274
  provenance: z.ZodObject<{
908
1275
  artifactIntegrity: z.ZodEnum<{
909
- unknown: "unknown";
910
- pass: "pass";
911
1276
  fail: "fail";
912
1277
  not_applicable: "not_applicable";
1278
+ pass: "pass";
1279
+ unknown: "unknown";
913
1280
  }>;
914
1281
  producerTrust: z.ZodEnum<{
915
- unknown: "unknown";
916
- pass: "pass";
917
1282
  fail: "fail";
918
1283
  not_applicable: "not_applicable";
1284
+ pass: "pass";
1285
+ unknown: "unknown";
919
1286
  }>;
920
1287
  subjectMatch: z.ZodEnum<{
921
- unknown: "unknown";
922
- pass: "pass";
923
1288
  fail: "fail";
924
1289
  not_applicable: "not_applicable";
1290
+ pass: "pass";
1291
+ unknown: "unknown";
925
1292
  }>;
926
1293
  reasons: z.ZodArray<z.ZodString>;
927
1294
  }, z.core.$strict>;
928
1295
  subjectRefs: z.ZodArray<z.ZodString>;
929
- }, z.core.$strict>, z.ZodObject<{
930
1296
  kind: z.ZodLiteral<"approval">;
931
1297
  payload: z.ZodObject<{
932
1298
  schemaVersion: z.ZodLiteral<1>;
933
1299
  id: z.ZodString;
934
1300
  target: z.ZodObject<{
935
1301
  kind: z.ZodEnum<{
936
- intent: "intent";
937
1302
  contract: "contract";
1303
+ intent: "intent";
938
1304
  policy: "policy";
939
1305
  registry: "registry";
940
1306
  }>;
@@ -942,10 +1308,10 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
942
1308
  contentHash: z.ZodString;
943
1309
  }, z.core.$strict>;
944
1310
  status: z.ZodEnum<{
945
- unknown: "unknown";
946
- pass: "pass";
947
1311
  fail: "fail";
948
1312
  not_applicable: "not_applicable";
1313
+ pass: "pass";
1314
+ unknown: "unknown";
949
1315
  }>;
950
1316
  source: z.ZodObject<{
951
1317
  provider: z.ZodString;
@@ -955,6 +1321,7 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
955
1321
  subjectCommitSha: z.ZodOptional<z.ZodString>;
956
1322
  reasons: z.ZodArray<z.ZodString>;
957
1323
  }, z.core.$strict>;
1324
+ }, z.core.$strict>, z.ZodObject<{
958
1325
  schemaVersion: z.ZodLiteral<1>;
959
1326
  id: z.ZodString;
960
1327
  source: z.ZodObject<{
@@ -982,27 +1349,26 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
982
1349
  }, z.core.$strict>;
983
1350
  provenance: z.ZodObject<{
984
1351
  artifactIntegrity: z.ZodEnum<{
985
- unknown: "unknown";
986
- pass: "pass";
987
1352
  fail: "fail";
988
1353
  not_applicable: "not_applicable";
1354
+ pass: "pass";
1355
+ unknown: "unknown";
989
1356
  }>;
990
1357
  producerTrust: z.ZodEnum<{
991
- unknown: "unknown";
992
- pass: "pass";
993
1358
  fail: "fail";
994
1359
  not_applicable: "not_applicable";
1360
+ pass: "pass";
1361
+ unknown: "unknown";
995
1362
  }>;
996
1363
  subjectMatch: z.ZodEnum<{
997
- unknown: "unknown";
998
- pass: "pass";
999
1364
  fail: "fail";
1000
1365
  not_applicable: "not_applicable";
1366
+ pass: "pass";
1367
+ unknown: "unknown";
1001
1368
  }>;
1002
1369
  reasons: z.ZodArray<z.ZodString>;
1003
1370
  }, z.core.$strict>;
1004
1371
  subjectRefs: z.ZodArray<z.ZodString>;
1005
- }, z.core.$strict>, z.ZodObject<{
1006
1372
  kind: z.ZodLiteral<"execution_manifest">;
1007
1373
  payload: z.ZodObject<{
1008
1374
  schemaVersion: z.ZodLiteral<1>;
@@ -1048,6 +1414,7 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1048
1414
  }, z.core.$strict>>;
1049
1415
  attestationRef: z.ZodOptional<z.ZodString>;
1050
1416
  }, z.core.$strict>;
1417
+ }, z.core.$strict>, z.ZodObject<{
1051
1418
  schemaVersion: z.ZodLiteral<1>;
1052
1419
  id: z.ZodString;
1053
1420
  source: z.ZodObject<{
@@ -1075,27 +1442,26 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1075
1442
  }, z.core.$strict>;
1076
1443
  provenance: z.ZodObject<{
1077
1444
  artifactIntegrity: z.ZodEnum<{
1078
- unknown: "unknown";
1079
- pass: "pass";
1080
1445
  fail: "fail";
1081
1446
  not_applicable: "not_applicable";
1447
+ pass: "pass";
1448
+ unknown: "unknown";
1082
1449
  }>;
1083
1450
  producerTrust: z.ZodEnum<{
1084
- unknown: "unknown";
1085
- pass: "pass";
1086
1451
  fail: "fail";
1087
1452
  not_applicable: "not_applicable";
1453
+ pass: "pass";
1454
+ unknown: "unknown";
1088
1455
  }>;
1089
1456
  subjectMatch: z.ZodEnum<{
1090
- unknown: "unknown";
1091
- pass: "pass";
1092
1457
  fail: "fail";
1093
1458
  not_applicable: "not_applicable";
1459
+ pass: "pass";
1460
+ unknown: "unknown";
1094
1461
  }>;
1095
1462
  reasons: z.ZodArray<z.ZodString>;
1096
1463
  }, z.core.$strict>;
1097
1464
  subjectRefs: z.ZodArray<z.ZodString>;
1098
- }, z.core.$strict>, z.ZodObject<{
1099
1465
  kind: z.ZodLiteral<"target_observation">;
1100
1466
  payload: z.ZodObject<{
1101
1467
  contractId: z.ZodString;
@@ -1104,12 +1470,13 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1104
1470
  method: z.ZodString;
1105
1471
  observations: z.ZodNumber;
1106
1472
  status: z.ZodEnum<{
1107
- unknown: "unknown";
1108
- pass: "pass";
1109
1473
  fail: "fail";
1110
1474
  not_applicable: "not_applicable";
1475
+ pass: "pass";
1476
+ unknown: "unknown";
1111
1477
  }>;
1112
1478
  }, z.core.$strict>;
1479
+ }, z.core.$strict>, z.ZodObject<{
1113
1480
  schemaVersion: z.ZodLiteral<1>;
1114
1481
  id: z.ZodString;
1115
1482
  source: z.ZodObject<{
@@ -1137,27 +1504,26 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1137
1504
  }, z.core.$strict>;
1138
1505
  provenance: z.ZodObject<{
1139
1506
  artifactIntegrity: z.ZodEnum<{
1140
- unknown: "unknown";
1141
- pass: "pass";
1142
1507
  fail: "fail";
1143
1508
  not_applicable: "not_applicable";
1509
+ pass: "pass";
1510
+ unknown: "unknown";
1144
1511
  }>;
1145
1512
  producerTrust: z.ZodEnum<{
1146
- unknown: "unknown";
1147
- pass: "pass";
1148
1513
  fail: "fail";
1149
1514
  not_applicable: "not_applicable";
1515
+ pass: "pass";
1516
+ unknown: "unknown";
1150
1517
  }>;
1151
1518
  subjectMatch: z.ZodEnum<{
1152
- unknown: "unknown";
1153
- pass: "pass";
1154
1519
  fail: "fail";
1155
1520
  not_applicable: "not_applicable";
1521
+ pass: "pass";
1522
+ unknown: "unknown";
1156
1523
  }>;
1157
1524
  reasons: z.ZodArray<z.ZodString>;
1158
1525
  }, z.core.$strict>;
1159
1526
  subjectRefs: z.ZodArray<z.ZodString>;
1160
- }, z.core.$strict>, z.ZodObject<{
1161
1527
  kind: z.ZodLiteral<"canary">;
1162
1528
  payload: z.ZodObject<{
1163
1529
  contractId: z.ZodString;
@@ -1167,12 +1533,13 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1167
1533
  detected: z.ZodNumber;
1168
1534
  total: z.ZodNumber;
1169
1535
  status: z.ZodEnum<{
1170
- unknown: "unknown";
1171
- pass: "pass";
1172
1536
  fail: "fail";
1173
1537
  not_applicable: "not_applicable";
1538
+ pass: "pass";
1539
+ unknown: "unknown";
1174
1540
  }>;
1175
1541
  }, z.core.$strict>;
1542
+ }, z.core.$strict>, z.ZodObject<{
1176
1543
  schemaVersion: z.ZodLiteral<1>;
1177
1544
  id: z.ZodString;
1178
1545
  source: z.ZodObject<{
@@ -1200,27 +1567,585 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1200
1567
  }, z.core.$strict>;
1201
1568
  provenance: z.ZodObject<{
1202
1569
  artifactIntegrity: z.ZodEnum<{
1203
- unknown: "unknown";
1204
- pass: "pass";
1205
1570
  fail: "fail";
1206
1571
  not_applicable: "not_applicable";
1572
+ pass: "pass";
1573
+ unknown: "unknown";
1207
1574
  }>;
1208
1575
  producerTrust: z.ZodEnum<{
1209
- unknown: "unknown";
1210
- pass: "pass";
1211
1576
  fail: "fail";
1212
1577
  not_applicable: "not_applicable";
1578
+ pass: "pass";
1579
+ unknown: "unknown";
1213
1580
  }>;
1214
1581
  subjectMatch: z.ZodEnum<{
1582
+ fail: "fail";
1583
+ not_applicable: "not_applicable";
1584
+ pass: "pass";
1215
1585
  unknown: "unknown";
1586
+ }>;
1587
+ reasons: z.ZodArray<z.ZodString>;
1588
+ }, z.core.$strict>;
1589
+ subjectRefs: z.ZodArray<z.ZodString>;
1590
+ kind: z.ZodLiteral<"assurance">;
1591
+ payload: z.ZodUnion<readonly [z.ZodObject<{
1592
+ schemaVersion: z.ZodLiteral<1>;
1593
+ contractId: z.ZodString;
1594
+ revisionHash: z.ZodString;
1595
+ subject: z.ZodObject<{
1596
+ testedCommitSha: z.ZodString;
1597
+ sourceTreeHash: z.ZodString;
1598
+ }, z.core.$strict>;
1599
+ inputHashes: z.ZodRecord<z.ZodString, z.ZodString>;
1600
+ checks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1601
+ checkId: z.ZodString;
1602
+ checkHash: z.ZodString;
1603
+ complete: z.ZodBoolean;
1604
+ comparisonCount: z.ZodNumber;
1605
+ method: z.ZodLiteral<"example">;
1606
+ samples: z.ZodArray<z.ZodObject<{
1607
+ id: z.ZodString;
1608
+ input: z.ZodJSONSchema;
1609
+ inputHash: z.ZodString;
1610
+ expected: z.ZodJSONSchema;
1611
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1612
+ calls: z.ZodNumber;
1613
+ receipts: z.ZodArray<z.ZodObject<{
1614
+ callId: z.ZodString;
1615
+ targetRef: z.ZodString;
1616
+ implementation: z.ZodString;
1617
+ implementationHash: z.ZodString;
1618
+ variant: z.ZodEnum<{
1619
+ baseline: "baseline";
1620
+ fault: "fault";
1621
+ }>;
1622
+ faultId: z.ZodOptional<z.ZodString>;
1623
+ input: z.ZodJSONSchema;
1624
+ output: z.ZodOptional<z.ZodJSONSchema>;
1625
+ error: z.ZodOptional<z.ZodString>;
1626
+ }, z.core.$strict>>;
1627
+ error: z.ZodOptional<z.ZodString>;
1628
+ }, z.core.$strict>>;
1629
+ }, z.core.$strict>, z.ZodObject<{
1630
+ checkId: z.ZodString;
1631
+ checkHash: z.ZodString;
1632
+ complete: z.ZodBoolean;
1633
+ comparisonCount: z.ZodNumber;
1634
+ method: z.ZodLiteral<"effects">;
1635
+ scope: z.ZodArray<z.ZodString>;
1636
+ window: z.ZodObject<{
1637
+ settledBy: z.ZodString;
1638
+ durationMs: z.ZodNumber;
1639
+ }, z.core.$strict>;
1640
+ samples: z.ZodArray<z.ZodObject<{
1641
+ id: z.ZodString;
1642
+ input: z.ZodJSONSchema;
1643
+ inputHash: z.ZodString;
1644
+ expected: z.ZodJSONSchema;
1645
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1646
+ calls: z.ZodNumber;
1647
+ receipts: z.ZodArray<z.ZodObject<{
1648
+ callId: z.ZodString;
1649
+ targetRef: z.ZodString;
1650
+ implementation: z.ZodString;
1651
+ implementationHash: z.ZodString;
1652
+ variant: z.ZodEnum<{
1653
+ baseline: "baseline";
1654
+ fault: "fault";
1655
+ }>;
1656
+ faultId: z.ZodOptional<z.ZodString>;
1657
+ input: z.ZodJSONSchema;
1658
+ output: z.ZodOptional<z.ZodJSONSchema>;
1659
+ error: z.ZodOptional<z.ZodString>;
1660
+ }, z.core.$strict>>;
1661
+ error: z.ZodOptional<z.ZodString>;
1662
+ before: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1663
+ after: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1664
+ effects: z.ZodArray<z.ZodObject<{
1665
+ eventId: z.ZodString;
1666
+ id: z.ZodString;
1667
+ scope: z.ZodString;
1668
+ operation: z.ZodString;
1669
+ targetRef: z.ZodString;
1670
+ callId: z.ZodString;
1671
+ }, z.core.$strict>>;
1672
+ resourceObservations: z.ZodArray<z.ZodObject<{
1673
+ scope: z.ZodString;
1674
+ adapter: z.ZodString;
1675
+ adapterHash: z.ZodString;
1676
+ targets: z.ZodArray<z.ZodString>;
1677
+ callIds: z.ZodArray<z.ZodString>;
1678
+ elapsedMs: z.ZodNumber;
1679
+ settledBy: z.ZodString;
1680
+ settled: z.ZodBoolean;
1681
+ }, z.core.$strict>>;
1682
+ }, z.core.$strict>>;
1683
+ }, z.core.$strict>, z.ZodObject<{
1684
+ checkId: z.ZodString;
1685
+ checkHash: z.ZodString;
1686
+ complete: z.ZodBoolean;
1687
+ comparisonCount: z.ZodNumber;
1688
+ method: z.ZodLiteral<"property">;
1689
+ domain: z.ZodJSONSchema;
1690
+ seed: z.ZodString;
1691
+ runs: z.ZodNumber;
1692
+ valid: z.ZodNumber;
1693
+ discarded: z.ZodNumber;
1694
+ samples: z.ZodArray<z.ZodObject<{
1695
+ id: z.ZodString;
1696
+ input: z.ZodJSONSchema;
1697
+ inputHash: z.ZodString;
1698
+ expected: z.ZodJSONSchema;
1699
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1700
+ calls: z.ZodNumber;
1701
+ receipts: z.ZodArray<z.ZodObject<{
1702
+ callId: z.ZodString;
1703
+ targetRef: z.ZodString;
1704
+ implementation: z.ZodString;
1705
+ implementationHash: z.ZodString;
1706
+ variant: z.ZodEnum<{
1707
+ baseline: "baseline";
1708
+ fault: "fault";
1709
+ }>;
1710
+ faultId: z.ZodOptional<z.ZodString>;
1711
+ input: z.ZodJSONSchema;
1712
+ output: z.ZodOptional<z.ZodJSONSchema>;
1713
+ error: z.ZodOptional<z.ZodString>;
1714
+ }, z.core.$strict>>;
1715
+ error: z.ZodOptional<z.ZodString>;
1716
+ index: z.ZodNumber;
1717
+ discarded: z.ZodBoolean;
1718
+ classes: z.ZodArray<z.ZodString>;
1719
+ }, z.core.$strict>>;
1720
+ counterexamples: z.ZodOptional<z.ZodArray<z.ZodObject<{
1721
+ sampleId: z.ZodString;
1722
+ seed: z.ZodString;
1723
+ originalInput: z.ZodJSONSchema;
1724
+ shrunkInput: z.ZodOptional<z.ZodJSONSchema>;
1725
+ shrunkSampleId: z.ZodOptional<z.ZodString>;
1726
+ replay: z.ZodOptional<z.ZodString>;
1727
+ }, z.core.$strict>>>;
1728
+ }, z.core.$strict>, z.ZodObject<{
1729
+ checkId: z.ZodString;
1730
+ checkHash: z.ZodString;
1731
+ complete: z.ZodBoolean;
1732
+ comparisonCount: z.ZodNumber;
1733
+ method: z.ZodLiteral<"sequence">;
1734
+ seed: z.ZodString;
1735
+ maxSteps: z.ZodNumber;
1736
+ traces: z.ZodArray<z.ZodObject<{
1737
+ id: z.ZodString;
1738
+ initialModel: z.ZodJSONSchema;
1739
+ initialExpected: z.ZodJSONSchema;
1740
+ initialActual: z.ZodJSONSchema;
1741
+ steps: z.ZodArray<z.ZodObject<{
1742
+ id: z.ZodString;
1743
+ input: z.ZodJSONSchema;
1744
+ inputHash: z.ZodString;
1745
+ expected: z.ZodJSONSchema;
1746
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1747
+ calls: z.ZodNumber;
1748
+ receipts: z.ZodArray<z.ZodObject<{
1749
+ callId: z.ZodString;
1750
+ targetRef: z.ZodString;
1751
+ implementation: z.ZodString;
1752
+ implementationHash: z.ZodString;
1753
+ variant: z.ZodEnum<{
1754
+ baseline: "baseline";
1755
+ fault: "fault";
1756
+ }>;
1757
+ faultId: z.ZodOptional<z.ZodString>;
1758
+ input: z.ZodJSONSchema;
1759
+ output: z.ZodOptional<z.ZodJSONSchema>;
1760
+ error: z.ZodOptional<z.ZodString>;
1761
+ }, z.core.$strict>>;
1762
+ error: z.ZodOptional<z.ZodString>;
1763
+ index: z.ZodNumber;
1764
+ action: z.ZodString;
1765
+ modelBefore: z.ZodJSONSchema;
1766
+ modelAfter: z.ZodJSONSchema;
1767
+ }, z.core.$strict>>;
1768
+ }, z.core.$strict>>;
1769
+ }, z.core.$strict>, z.ZodObject<{
1770
+ checkId: z.ZodString;
1771
+ checkHash: z.ZodString;
1772
+ complete: z.ZodBoolean;
1773
+ comparisonCount: z.ZodNumber;
1774
+ method: z.ZodLiteral<"architecture">;
1775
+ files: z.ZodArray<z.ZodObject<{
1776
+ path: z.ZodString;
1777
+ sha256: z.ZodString;
1778
+ imports: z.ZodArray<z.ZodObject<{
1779
+ specifier: z.ZodString;
1780
+ resolved: z.ZodOptional<z.ZodString>;
1781
+ dynamic: z.ZodBoolean;
1782
+ supported: z.ZodBoolean;
1783
+ }, z.core.$strict>>;
1784
+ }, z.core.$strict>>;
1785
+ rules: z.ZodArray<z.ZodString>;
1786
+ violations: z.ZodArray<z.ZodObject<{
1787
+ ruleId: z.ZodString;
1788
+ file: z.ZodString;
1789
+ specifier: z.ZodString;
1790
+ }, z.core.$strict>>;
1791
+ unsupported: z.ZodArray<z.ZodObject<{
1792
+ file: z.ZodString;
1793
+ reason: z.ZodString;
1794
+ }, z.core.$strict>>;
1795
+ }, z.core.$strict>, z.ZodObject<{
1796
+ checkId: z.ZodString;
1797
+ checkHash: z.ZodString;
1798
+ complete: z.ZodBoolean;
1799
+ comparisonCount: z.ZodNumber;
1800
+ method: z.ZodLiteral<"journey">;
1801
+ entrypoint: z.ZodString;
1802
+ environment: z.ZodJSONSchema;
1803
+ mockBoundaries: z.ZodArray<z.ZodString>;
1804
+ steps: z.ZodArray<z.ZodObject<{
1805
+ id: z.ZodString;
1806
+ input: z.ZodJSONSchema;
1807
+ inputHash: z.ZodString;
1808
+ expected: z.ZodJSONSchema;
1809
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1810
+ calls: z.ZodNumber;
1811
+ receipts: z.ZodArray<z.ZodObject<{
1812
+ callId: z.ZodString;
1813
+ targetRef: z.ZodString;
1814
+ implementation: z.ZodString;
1815
+ implementationHash: z.ZodString;
1816
+ variant: z.ZodEnum<{
1817
+ baseline: "baseline";
1818
+ fault: "fault";
1819
+ }>;
1820
+ faultId: z.ZodOptional<z.ZodString>;
1821
+ input: z.ZodJSONSchema;
1822
+ output: z.ZodOptional<z.ZodJSONSchema>;
1823
+ error: z.ZodOptional<z.ZodString>;
1824
+ }, z.core.$strict>>;
1825
+ error: z.ZodOptional<z.ZodString>;
1826
+ action: z.ZodString;
1827
+ layers: z.ZodArray<z.ZodObject<{
1828
+ id: z.ZodString;
1829
+ sourceRef: z.ZodString;
1830
+ observations: z.ZodArray<z.ZodObject<{
1831
+ invocationId: z.ZodString;
1832
+ observationId: z.ZodString;
1833
+ targetRef: z.ZodString;
1834
+ mocked: z.ZodBoolean;
1835
+ input: z.ZodJSONSchema;
1836
+ actual: z.ZodJSONSchema;
1837
+ }, z.core.$strict>>;
1838
+ }, z.core.$strict>>;
1839
+ }, z.core.$strict>>;
1840
+ media: z.ZodArray<z.ZodObject<{
1841
+ ref: z.ZodString;
1842
+ sha256: z.ZodString;
1843
+ stepId: z.ZodString;
1844
+ }, z.core.$strict>>;
1845
+ }, z.core.$strict>], "method">>;
1846
+ faults: z.ZodArray<z.ZodObject<{
1847
+ faultId: z.ZodString;
1848
+ checkId: z.ZodString;
1849
+ implementationHash: z.ZodString;
1850
+ observation: z.ZodDiscriminatedUnion<[z.ZodObject<{
1851
+ checkId: z.ZodString;
1852
+ checkHash: z.ZodString;
1853
+ complete: z.ZodBoolean;
1854
+ comparisonCount: z.ZodNumber;
1855
+ method: z.ZodLiteral<"example">;
1856
+ samples: z.ZodArray<z.ZodObject<{
1857
+ id: z.ZodString;
1858
+ input: z.ZodJSONSchema;
1859
+ inputHash: z.ZodString;
1860
+ expected: z.ZodJSONSchema;
1861
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1862
+ calls: z.ZodNumber;
1863
+ receipts: z.ZodArray<z.ZodObject<{
1864
+ callId: z.ZodString;
1865
+ targetRef: z.ZodString;
1866
+ implementation: z.ZodString;
1867
+ implementationHash: z.ZodString;
1868
+ variant: z.ZodEnum<{
1869
+ baseline: "baseline";
1870
+ fault: "fault";
1871
+ }>;
1872
+ faultId: z.ZodOptional<z.ZodString>;
1873
+ input: z.ZodJSONSchema;
1874
+ output: z.ZodOptional<z.ZodJSONSchema>;
1875
+ error: z.ZodOptional<z.ZodString>;
1876
+ }, z.core.$strict>>;
1877
+ error: z.ZodOptional<z.ZodString>;
1878
+ }, z.core.$strict>>;
1879
+ }, z.core.$strict>, z.ZodObject<{
1880
+ checkId: z.ZodString;
1881
+ checkHash: z.ZodString;
1882
+ complete: z.ZodBoolean;
1883
+ comparisonCount: z.ZodNumber;
1884
+ method: z.ZodLiteral<"effects">;
1885
+ scope: z.ZodArray<z.ZodString>;
1886
+ window: z.ZodObject<{
1887
+ settledBy: z.ZodString;
1888
+ durationMs: z.ZodNumber;
1889
+ }, z.core.$strict>;
1890
+ samples: z.ZodArray<z.ZodObject<{
1891
+ id: z.ZodString;
1892
+ input: z.ZodJSONSchema;
1893
+ inputHash: z.ZodString;
1894
+ expected: z.ZodJSONSchema;
1895
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1896
+ calls: z.ZodNumber;
1897
+ receipts: z.ZodArray<z.ZodObject<{
1898
+ callId: z.ZodString;
1899
+ targetRef: z.ZodString;
1900
+ implementation: z.ZodString;
1901
+ implementationHash: z.ZodString;
1902
+ variant: z.ZodEnum<{
1903
+ baseline: "baseline";
1904
+ fault: "fault";
1905
+ }>;
1906
+ faultId: z.ZodOptional<z.ZodString>;
1907
+ input: z.ZodJSONSchema;
1908
+ output: z.ZodOptional<z.ZodJSONSchema>;
1909
+ error: z.ZodOptional<z.ZodString>;
1910
+ }, z.core.$strict>>;
1911
+ error: z.ZodOptional<z.ZodString>;
1912
+ before: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1913
+ after: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1914
+ effects: z.ZodArray<z.ZodObject<{
1915
+ eventId: z.ZodString;
1916
+ id: z.ZodString;
1917
+ scope: z.ZodString;
1918
+ operation: z.ZodString;
1919
+ targetRef: z.ZodString;
1920
+ callId: z.ZodString;
1921
+ }, z.core.$strict>>;
1922
+ resourceObservations: z.ZodArray<z.ZodObject<{
1923
+ scope: z.ZodString;
1924
+ adapter: z.ZodString;
1925
+ adapterHash: z.ZodString;
1926
+ targets: z.ZodArray<z.ZodString>;
1927
+ callIds: z.ZodArray<z.ZodString>;
1928
+ elapsedMs: z.ZodNumber;
1929
+ settledBy: z.ZodString;
1930
+ settled: z.ZodBoolean;
1931
+ }, z.core.$strict>>;
1932
+ }, z.core.$strict>>;
1933
+ }, z.core.$strict>, z.ZodObject<{
1934
+ checkId: z.ZodString;
1935
+ checkHash: z.ZodString;
1936
+ complete: z.ZodBoolean;
1937
+ comparisonCount: z.ZodNumber;
1938
+ method: z.ZodLiteral<"property">;
1939
+ domain: z.ZodJSONSchema;
1940
+ seed: z.ZodString;
1941
+ runs: z.ZodNumber;
1942
+ valid: z.ZodNumber;
1943
+ discarded: z.ZodNumber;
1944
+ samples: z.ZodArray<z.ZodObject<{
1945
+ id: z.ZodString;
1946
+ input: z.ZodJSONSchema;
1947
+ inputHash: z.ZodString;
1948
+ expected: z.ZodJSONSchema;
1949
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1950
+ calls: z.ZodNumber;
1951
+ receipts: z.ZodArray<z.ZodObject<{
1952
+ callId: z.ZodString;
1953
+ targetRef: z.ZodString;
1954
+ implementation: z.ZodString;
1955
+ implementationHash: z.ZodString;
1956
+ variant: z.ZodEnum<{
1957
+ baseline: "baseline";
1958
+ fault: "fault";
1959
+ }>;
1960
+ faultId: z.ZodOptional<z.ZodString>;
1961
+ input: z.ZodJSONSchema;
1962
+ output: z.ZodOptional<z.ZodJSONSchema>;
1963
+ error: z.ZodOptional<z.ZodString>;
1964
+ }, z.core.$strict>>;
1965
+ error: z.ZodOptional<z.ZodString>;
1966
+ index: z.ZodNumber;
1967
+ discarded: z.ZodBoolean;
1968
+ classes: z.ZodArray<z.ZodString>;
1969
+ }, z.core.$strict>>;
1970
+ counterexamples: z.ZodOptional<z.ZodArray<z.ZodObject<{
1971
+ sampleId: z.ZodString;
1972
+ seed: z.ZodString;
1973
+ originalInput: z.ZodJSONSchema;
1974
+ shrunkInput: z.ZodOptional<z.ZodJSONSchema>;
1975
+ shrunkSampleId: z.ZodOptional<z.ZodString>;
1976
+ replay: z.ZodOptional<z.ZodString>;
1977
+ }, z.core.$strict>>>;
1978
+ }, z.core.$strict>, z.ZodObject<{
1979
+ checkId: z.ZodString;
1980
+ checkHash: z.ZodString;
1981
+ complete: z.ZodBoolean;
1982
+ comparisonCount: z.ZodNumber;
1983
+ method: z.ZodLiteral<"sequence">;
1984
+ seed: z.ZodString;
1985
+ maxSteps: z.ZodNumber;
1986
+ traces: z.ZodArray<z.ZodObject<{
1987
+ id: z.ZodString;
1988
+ initialModel: z.ZodJSONSchema;
1989
+ initialExpected: z.ZodJSONSchema;
1990
+ initialActual: z.ZodJSONSchema;
1991
+ steps: z.ZodArray<z.ZodObject<{
1992
+ id: z.ZodString;
1993
+ input: z.ZodJSONSchema;
1994
+ inputHash: z.ZodString;
1995
+ expected: z.ZodJSONSchema;
1996
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1997
+ calls: z.ZodNumber;
1998
+ receipts: z.ZodArray<z.ZodObject<{
1999
+ callId: z.ZodString;
2000
+ targetRef: z.ZodString;
2001
+ implementation: z.ZodString;
2002
+ implementationHash: z.ZodString;
2003
+ variant: z.ZodEnum<{
2004
+ baseline: "baseline";
2005
+ fault: "fault";
2006
+ }>;
2007
+ faultId: z.ZodOptional<z.ZodString>;
2008
+ input: z.ZodJSONSchema;
2009
+ output: z.ZodOptional<z.ZodJSONSchema>;
2010
+ error: z.ZodOptional<z.ZodString>;
2011
+ }, z.core.$strict>>;
2012
+ error: z.ZodOptional<z.ZodString>;
2013
+ index: z.ZodNumber;
2014
+ action: z.ZodString;
2015
+ modelBefore: z.ZodJSONSchema;
2016
+ modelAfter: z.ZodJSONSchema;
2017
+ }, z.core.$strict>>;
2018
+ }, z.core.$strict>>;
2019
+ }, z.core.$strict>, z.ZodObject<{
2020
+ checkId: z.ZodString;
2021
+ checkHash: z.ZodString;
2022
+ complete: z.ZodBoolean;
2023
+ comparisonCount: z.ZodNumber;
2024
+ method: z.ZodLiteral<"architecture">;
2025
+ files: z.ZodArray<z.ZodObject<{
2026
+ path: z.ZodString;
2027
+ sha256: z.ZodString;
2028
+ imports: z.ZodArray<z.ZodObject<{
2029
+ specifier: z.ZodString;
2030
+ resolved: z.ZodOptional<z.ZodString>;
2031
+ dynamic: z.ZodBoolean;
2032
+ supported: z.ZodBoolean;
2033
+ }, z.core.$strict>>;
2034
+ }, z.core.$strict>>;
2035
+ rules: z.ZodArray<z.ZodString>;
2036
+ violations: z.ZodArray<z.ZodObject<{
2037
+ ruleId: z.ZodString;
2038
+ file: z.ZodString;
2039
+ specifier: z.ZodString;
2040
+ }, z.core.$strict>>;
2041
+ unsupported: z.ZodArray<z.ZodObject<{
2042
+ file: z.ZodString;
2043
+ reason: z.ZodString;
2044
+ }, z.core.$strict>>;
2045
+ }, z.core.$strict>, z.ZodObject<{
2046
+ checkId: z.ZodString;
2047
+ checkHash: z.ZodString;
2048
+ complete: z.ZodBoolean;
2049
+ comparisonCount: z.ZodNumber;
2050
+ method: z.ZodLiteral<"journey">;
2051
+ entrypoint: z.ZodString;
2052
+ environment: z.ZodJSONSchema;
2053
+ mockBoundaries: z.ZodArray<z.ZodString>;
2054
+ steps: z.ZodArray<z.ZodObject<{
2055
+ id: z.ZodString;
2056
+ input: z.ZodJSONSchema;
2057
+ inputHash: z.ZodString;
2058
+ expected: z.ZodJSONSchema;
2059
+ actual: z.ZodOptional<z.ZodJSONSchema>;
2060
+ calls: z.ZodNumber;
2061
+ receipts: z.ZodArray<z.ZodObject<{
2062
+ callId: z.ZodString;
2063
+ targetRef: z.ZodString;
2064
+ implementation: z.ZodString;
2065
+ implementationHash: z.ZodString;
2066
+ variant: z.ZodEnum<{
2067
+ baseline: "baseline";
2068
+ fault: "fault";
2069
+ }>;
2070
+ faultId: z.ZodOptional<z.ZodString>;
2071
+ input: z.ZodJSONSchema;
2072
+ output: z.ZodOptional<z.ZodJSONSchema>;
2073
+ error: z.ZodOptional<z.ZodString>;
2074
+ }, z.core.$strict>>;
2075
+ error: z.ZodOptional<z.ZodString>;
2076
+ action: z.ZodString;
2077
+ layers: z.ZodArray<z.ZodObject<{
2078
+ id: z.ZodString;
2079
+ sourceRef: z.ZodString;
2080
+ observations: z.ZodArray<z.ZodObject<{
2081
+ invocationId: z.ZodString;
2082
+ observationId: z.ZodString;
2083
+ targetRef: z.ZodString;
2084
+ mocked: z.ZodBoolean;
2085
+ input: z.ZodJSONSchema;
2086
+ actual: z.ZodJSONSchema;
2087
+ }, z.core.$strict>>;
2088
+ }, z.core.$strict>>;
2089
+ }, z.core.$strict>>;
2090
+ media: z.ZodArray<z.ZodObject<{
2091
+ ref: z.ZodString;
2092
+ sha256: z.ZodString;
2093
+ stepId: z.ZodString;
2094
+ }, z.core.$strict>>;
2095
+ }, z.core.$strict>], "method">;
2096
+ }, z.core.$strict>>;
2097
+ }, z.core.$strict>, z.ZodObject<{
2098
+ status: z.ZodLiteral<"unknown">;
2099
+ reason: z.ZodString;
2100
+ }, z.core.$strict>]>;
2101
+ }, z.core.$strict>, z.ZodObject<{
2102
+ schemaVersion: z.ZodLiteral<1>;
2103
+ id: z.ZodString;
2104
+ source: z.ZodObject<{
2105
+ tool: z.ZodString;
2106
+ version: z.ZodOptional<z.ZodString>;
2107
+ artifactRef: z.ZodString;
2108
+ }, z.core.$strict>;
2109
+ context: z.ZodObject<{
2110
+ subject: z.ZodOptional<z.ZodObject<{
2111
+ repositoryId: z.ZodOptional<z.ZodString>;
2112
+ prHeadSha: z.ZodOptional<z.ZodString>;
2113
+ testedCommitSha: z.ZodString;
2114
+ testedCommitParents: z.ZodOptional<z.ZodArray<z.ZodString>>;
2115
+ sourceTreeHash: z.ZodString;
2116
+ dirty: z.ZodBoolean;
2117
+ baseSha: z.ZodOptional<z.ZodString>;
2118
+ diffBaseSha: z.ZodOptional<z.ZodString>;
2119
+ }, z.core.$strict>>;
2120
+ manifestRef: z.ZodOptional<z.ZodString>;
2121
+ protectedPolicySha: z.ZodOptional<z.ZodString>;
2122
+ effectivePolicyHash: z.ZodString;
2123
+ contractHash: z.ZodOptional<z.ZodString>;
2124
+ generatedAt: z.ZodOptional<z.ZodISODateTime>;
2125
+ collectedAt: z.ZodISODateTime;
2126
+ }, z.core.$strict>;
2127
+ provenance: z.ZodObject<{
2128
+ artifactIntegrity: z.ZodEnum<{
2129
+ fail: "fail";
2130
+ not_applicable: "not_applicable";
1216
2131
  pass: "pass";
2132
+ unknown: "unknown";
2133
+ }>;
2134
+ producerTrust: z.ZodEnum<{
1217
2135
  fail: "fail";
1218
2136
  not_applicable: "not_applicable";
2137
+ pass: "pass";
2138
+ unknown: "unknown";
2139
+ }>;
2140
+ subjectMatch: z.ZodEnum<{
2141
+ fail: "fail";
2142
+ not_applicable: "not_applicable";
2143
+ pass: "pass";
2144
+ unknown: "unknown";
1219
2145
  }>;
1220
2146
  reasons: z.ZodArray<z.ZodString>;
1221
2147
  }, z.core.$strict>;
1222
2148
  subjectRefs: z.ZodArray<z.ZodString>;
1223
- }, z.core.$strict>, z.ZodObject<{
1224
2149
  kind: z.ZodLiteral<"formal_model">;
1225
2150
  payload: z.ZodUnion<readonly [z.ZodObject<{
1226
2151
  schemaVersion: z.ZodLiteral<1>;
@@ -1236,33 +2161,33 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1236
2161
  stages: z.ZodArray<z.ZodObject<{
1237
2162
  stage: z.ZodEnum<{
1238
2163
  parse: "parse";
1239
- typecheck: "typecheck";
1240
- test: "test";
1241
2164
  run: "run";
2165
+ test: "test";
2166
+ typecheck: "typecheck";
1242
2167
  verify: "verify";
1243
2168
  }>;
1244
2169
  status: z.ZodEnum<{
1245
- unknown: "unknown";
1246
- pass: "pass";
1247
2170
  fail: "fail";
2171
+ pass: "pass";
2172
+ unknown: "unknown";
1248
2173
  }>;
1249
2174
  complete: z.ZodBoolean;
1250
2175
  exitCode: z.ZodNullable<z.ZodNumber>;
1251
2176
  toolVersion: z.ZodString;
1252
2177
  backend: z.ZodEnum<{
2178
+ apalache: "apalache";
1253
2179
  quint: "quint";
1254
- typescript: "typescript";
1255
2180
  rust: "rust";
1256
- apalache: "apalache";
1257
2181
  tlc: "tlc";
2182
+ typescript: "typescript";
1258
2183
  }>;
1259
2184
  method: z.ZodEnum<{
1260
- parse: "parse";
1261
- typecheck: "typecheck";
1262
- spec_test: "spec_test";
1263
- simulation: "simulation";
1264
2185
  bounded_model_check: "bounded_model_check";
1265
2186
  finite_state_check: "finite_state_check";
2187
+ parse: "parse";
2188
+ simulation: "simulation";
2189
+ spec_test: "spec_test";
2190
+ typecheck: "typecheck";
1266
2191
  }>;
1267
2192
  properties: z.ZodArray<z.ZodString>;
1268
2193
  maxSteps: z.ZodOptional<z.ZodNumber>;
@@ -1282,6 +2207,7 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1282
2207
  status: z.ZodLiteral<"unknown">;
1283
2208
  reason: z.ZodString;
1284
2209
  }, z.core.$strict>]>;
2210
+ }, z.core.$strict>, z.ZodObject<{
1285
2211
  schemaVersion: z.ZodLiteral<1>;
1286
2212
  id: z.ZodString;
1287
2213
  source: z.ZodObject<{
@@ -1309,27 +2235,26 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1309
2235
  }, z.core.$strict>;
1310
2236
  provenance: z.ZodObject<{
1311
2237
  artifactIntegrity: z.ZodEnum<{
1312
- unknown: "unknown";
1313
- pass: "pass";
1314
2238
  fail: "fail";
1315
2239
  not_applicable: "not_applicable";
2240
+ pass: "pass";
2241
+ unknown: "unknown";
1316
2242
  }>;
1317
2243
  producerTrust: z.ZodEnum<{
1318
- unknown: "unknown";
1319
- pass: "pass";
1320
2244
  fail: "fail";
1321
2245
  not_applicable: "not_applicable";
2246
+ pass: "pass";
2247
+ unknown: "unknown";
1322
2248
  }>;
1323
2249
  subjectMatch: z.ZodEnum<{
1324
- unknown: "unknown";
1325
- pass: "pass";
1326
2250
  fail: "fail";
1327
2251
  not_applicable: "not_applicable";
2252
+ pass: "pass";
2253
+ unknown: "unknown";
1328
2254
  }>;
1329
2255
  reasons: z.ZodArray<z.ZodString>;
1330
2256
  }, z.core.$strict>;
1331
2257
  subjectRefs: z.ZodArray<z.ZodString>;
1332
- }, z.core.$strict>, z.ZodObject<{
1333
2258
  kind: z.ZodLiteral<"model_conformance">;
1334
2259
  payload: z.ZodUnion<readonly [z.ZodObject<{
1335
2260
  schemaVersion: z.ZodLiteral<1>;
@@ -1356,9 +2281,9 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1356
2281
  index: z.ZodNumber;
1357
2282
  action: z.ZodString;
1358
2283
  status: z.ZodEnum<{
1359
- unknown: "unknown";
1360
- pass: "pass";
1361
2284
  fail: "fail";
2285
+ pass: "pass";
2286
+ unknown: "unknown";
1362
2287
  }>;
1363
2288
  parameters: z.ZodOptional<z.ZodJSONSchema>;
1364
2289
  expected: z.ZodJSONSchema;
@@ -1390,6 +2315,7 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1390
2315
  status: z.ZodLiteral<"unknown">;
1391
2316
  reason: z.ZodString;
1392
2317
  }, z.core.$strict>]>;
2318
+ }, z.core.$strict>, z.ZodObject<{
1393
2319
  schemaVersion: z.ZodLiteral<1>;
1394
2320
  id: z.ZodString;
1395
2321
  source: z.ZodObject<{
@@ -1417,27 +2343,26 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1417
2343
  }, z.core.$strict>;
1418
2344
  provenance: z.ZodObject<{
1419
2345
  artifactIntegrity: z.ZodEnum<{
1420
- unknown: "unknown";
1421
- pass: "pass";
1422
2346
  fail: "fail";
1423
2347
  not_applicable: "not_applicable";
2348
+ pass: "pass";
2349
+ unknown: "unknown";
1424
2350
  }>;
1425
2351
  producerTrust: z.ZodEnum<{
1426
- unknown: "unknown";
1427
- pass: "pass";
1428
2352
  fail: "fail";
1429
2353
  not_applicable: "not_applicable";
2354
+ pass: "pass";
2355
+ unknown: "unknown";
1430
2356
  }>;
1431
2357
  subjectMatch: z.ZodEnum<{
1432
- unknown: "unknown";
1433
- pass: "pass";
1434
2358
  fail: "fail";
1435
2359
  not_applicable: "not_applicable";
2360
+ pass: "pass";
2361
+ unknown: "unknown";
1436
2362
  }>;
1437
2363
  reasons: z.ZodArray<z.ZodString>;
1438
2364
  }, z.core.$strict>;
1439
2365
  subjectRefs: z.ZodArray<z.ZodString>;
1440
- }, z.core.$strict>, z.ZodObject<{
1441
2366
  kind: z.ZodLiteral<"trace">;
1442
2367
  payload: z.ZodUnion<readonly [z.ZodObject<{
1443
2368
  schemaVersion: z.ZodLiteral<1>;
@@ -1452,8 +2377,8 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1452
2377
  }, z.core.$strict>;
1453
2378
  toolVersion: z.ZodString;
1454
2379
  backend: z.ZodEnum<{
1455
- typescript: "typescript";
1456
2380
  rust: "rust";
2381
+ typescript: "typescript";
1457
2382
  }>;
1458
2383
  maxSteps: z.ZodNumber;
1459
2384
  maxSamples: z.ZodNumber;
@@ -1466,53 +2391,6 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1466
2391
  status: z.ZodLiteral<"unknown">;
1467
2392
  reason: z.ZodString;
1468
2393
  }, z.core.$strict>]>;
1469
- schemaVersion: z.ZodLiteral<1>;
1470
- id: z.ZodString;
1471
- source: z.ZodObject<{
1472
- tool: z.ZodString;
1473
- version: z.ZodOptional<z.ZodString>;
1474
- artifactRef: z.ZodString;
1475
- }, z.core.$strict>;
1476
- context: z.ZodObject<{
1477
- subject: z.ZodOptional<z.ZodObject<{
1478
- repositoryId: z.ZodOptional<z.ZodString>;
1479
- prHeadSha: z.ZodOptional<z.ZodString>;
1480
- testedCommitSha: z.ZodString;
1481
- testedCommitParents: z.ZodOptional<z.ZodArray<z.ZodString>>;
1482
- sourceTreeHash: z.ZodString;
1483
- dirty: z.ZodBoolean;
1484
- baseSha: z.ZodOptional<z.ZodString>;
1485
- diffBaseSha: z.ZodOptional<z.ZodString>;
1486
- }, z.core.$strict>>;
1487
- manifestRef: z.ZodOptional<z.ZodString>;
1488
- protectedPolicySha: z.ZodOptional<z.ZodString>;
1489
- effectivePolicyHash: z.ZodString;
1490
- contractHash: z.ZodOptional<z.ZodString>;
1491
- generatedAt: z.ZodOptional<z.ZodISODateTime>;
1492
- collectedAt: z.ZodISODateTime;
1493
- }, z.core.$strict>;
1494
- provenance: z.ZodObject<{
1495
- artifactIntegrity: z.ZodEnum<{
1496
- unknown: "unknown";
1497
- pass: "pass";
1498
- fail: "fail";
1499
- not_applicable: "not_applicable";
1500
- }>;
1501
- producerTrust: z.ZodEnum<{
1502
- unknown: "unknown";
1503
- pass: "pass";
1504
- fail: "fail";
1505
- not_applicable: "not_applicable";
1506
- }>;
1507
- subjectMatch: z.ZodEnum<{
1508
- unknown: "unknown";
1509
- pass: "pass";
1510
- fail: "fail";
1511
- not_applicable: "not_applicable";
1512
- }>;
1513
- reasons: z.ZodArray<z.ZodString>;
1514
- }, z.core.$strict>;
1515
- subjectRefs: z.ZodArray<z.ZodString>;
1516
2394
  }, z.core.$strict>], "kind">;
1517
2395
  export declare const CheckReportSchema: z.ZodObject<{
1518
2396
  schemaVersion: z.ZodLiteral<1>;
@@ -1521,9 +2399,9 @@ export declare const CheckReportSchema: z.ZodObject<{
1521
2399
  gate: "gate";
1522
2400
  }>;
1523
2401
  status: z.ZodEnum<{
1524
- pass: "pass";
1525
2402
  fail: "fail";
1526
2403
  incomplete: "incomplete";
2404
+ pass: "pass";
1527
2405
  }>;
1528
2406
  exitCode: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1529
2407
  mandatoryCount: z.ZodNumber;
@@ -1535,10 +2413,10 @@ export declare const CheckReportSchema: z.ZodObject<{
1535
2413
  warn: "warn";
1536
2414
  }>;
1537
2415
  status: z.ZodEnum<{
1538
- unknown: "unknown";
1539
- pass: "pass";
1540
2416
  fail: "fail";
1541
2417
  not_applicable: "not_applicable";
2418
+ pass: "pass";
2419
+ unknown: "unknown";
1542
2420
  }>;
1543
2421
  evidenceIds: z.ZodArray<z.ZodString>;
1544
2422
  scope: z.ZodArray<z.ZodString>;