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