@behavproof/core 0.2.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 (51) 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/schemas.d.ts +12 -2
  48. package/dist/schemas.d.ts.map +1 -1
  49. package/dist/schemas.js +2 -2
  50. package/dist/schemas.js.map +1 -1
  51. package/package.json +12 -4
@@ -0,0 +1,2398 @@
1
+ import { z } from 'zod';
2
+ export declare const AssuranceResourceSchema: z.ZodObject<{
3
+ scope: z.ZodString;
4
+ adapter: z.ZodString;
5
+ targets: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strict>;
7
+ export declare const AssuranceMethodSchema: z.ZodEnum<{
8
+ architecture: "architecture";
9
+ effects: "effects";
10
+ example: "example";
11
+ journey: "journey";
12
+ property: "property";
13
+ sequence: "sequence";
14
+ }>;
15
+ export declare const AssuranceExampleCheckSchema: z.ZodObject<{
16
+ id: z.ZodString;
17
+ targetRef: z.ZodString;
18
+ method: z.ZodLiteral<"example">;
19
+ cases: z.ZodArray<z.ZodObject<{
20
+ id: z.ZodString;
21
+ input: z.ZodJSONSchema;
22
+ expected: z.ZodJSONSchema;
23
+ }, z.core.$strict>>;
24
+ }, z.core.$strict>;
25
+ export declare const AssuranceEffectsCheckSchema: z.ZodObject<{
26
+ id: z.ZodString;
27
+ targetRef: z.ZodString;
28
+ method: z.ZodLiteral<"effects">;
29
+ cases: z.ZodArray<z.ZodObject<{
30
+ id: z.ZodString;
31
+ input: z.ZodJSONSchema;
32
+ expected: z.ZodJSONSchema;
33
+ }, z.core.$strict>>;
34
+ scope: z.ZodArray<z.ZodString>;
35
+ resources: z.ZodArray<z.ZodObject<{
36
+ scope: z.ZodString;
37
+ adapter: z.ZodString;
38
+ targets: z.ZodArray<z.ZodString>;
39
+ }, z.core.$strict>>;
40
+ allowedChanges: z.ZodArray<z.ZodObject<{
41
+ scope: z.ZodString;
42
+ field: z.ZodString;
43
+ }, z.core.$strict>>;
44
+ unchangedFields: z.ZodArray<z.ZodObject<{
45
+ scope: z.ZodString;
46
+ field: z.ZodString;
47
+ }, z.core.$strict>>;
48
+ effects: z.ZodArray<z.ZodObject<{
49
+ id: z.ZodString;
50
+ scope: z.ZodString;
51
+ min: z.ZodNumber;
52
+ max: z.ZodNumber;
53
+ }, z.core.$strict>>;
54
+ window: z.ZodObject<{
55
+ settledBy: z.ZodString;
56
+ durationMs: z.ZodNumber;
57
+ }, z.core.$strict>;
58
+ }, z.core.$strict>;
59
+ export declare const AssurancePropertyCheckSchema: z.ZodObject<{
60
+ id: z.ZodString;
61
+ targetRef: z.ZodString;
62
+ method: z.ZodLiteral<"property">;
63
+ domain: z.ZodJSONSchema;
64
+ seed: z.ZodString;
65
+ runs: z.ZodNumber;
66
+ minValid: z.ZodNumber;
67
+ maxDiscarded: z.ZodNumber;
68
+ maxDiscardRatio: z.ZodOptional<z.ZodNumber>;
69
+ requiredClasses: z.ZodArray<z.ZodString>;
70
+ classMinimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
71
+ generator: z.ZodString;
72
+ predicate: z.ZodString;
73
+ shrinker: z.ZodOptional<z.ZodString>;
74
+ }, z.core.$strict>;
75
+ export declare const AssuranceSequenceCheckSchema: z.ZodObject<{
76
+ id: z.ZodString;
77
+ targetRef: z.ZodString;
78
+ method: z.ZodLiteral<"sequence">;
79
+ seed: z.ZodString;
80
+ generator: z.ZodString;
81
+ model: z.ZodString;
82
+ projection: z.ZodString;
83
+ maxSteps: z.ZodNumber;
84
+ minTraces: z.ZodNumber;
85
+ requiredActions: z.ZodArray<z.ZodString>;
86
+ actionMinimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
87
+ }, z.core.$strict>;
88
+ export declare const AssuranceArchitectureRuleSchema: z.ZodObject<{
89
+ id: z.ZodString;
90
+ from: z.ZodArray<z.ZodString>;
91
+ forbidden: z.ZodArray<z.ZodString>;
92
+ }, z.core.$strict>;
93
+ export declare const AssuranceArchitectureCheckSchema: z.ZodObject<{
94
+ id: z.ZodString;
95
+ targetRef: z.ZodString;
96
+ method: z.ZodLiteral<"architecture">;
97
+ files: z.ZodArray<z.ZodString>;
98
+ rules: z.ZodArray<z.ZodObject<{
99
+ id: z.ZodString;
100
+ from: z.ZodArray<z.ZodString>;
101
+ forbidden: z.ZodArray<z.ZodString>;
102
+ }, z.core.$strict>>;
103
+ }, z.core.$strict>;
104
+ export declare const AssuranceLayerBindingSchema: z.ZodObject<{
105
+ id: z.ZodString;
106
+ adapter: z.ZodString;
107
+ targetRef: z.ZodString;
108
+ }, z.core.$strict>;
109
+ export declare const AssuranceJourneyCheckSchema: z.ZodObject<{
110
+ id: z.ZodString;
111
+ targetRef: z.ZodString;
112
+ method: z.ZodLiteral<"journey">;
113
+ entrypoint: z.ZodString;
114
+ environment: z.ZodJSONSchema;
115
+ mockBoundaries: z.ZodArray<z.ZodString>;
116
+ layers: z.ZodArray<z.ZodString>;
117
+ layerBindings: z.ZodArray<z.ZodObject<{
118
+ id: z.ZodString;
119
+ adapter: z.ZodString;
120
+ targetRef: z.ZodString;
121
+ }, z.core.$strict>>;
122
+ steps: z.ZodArray<z.ZodObject<{
123
+ id: z.ZodString;
124
+ input: z.ZodJSONSchema;
125
+ expected: z.ZodJSONSchema;
126
+ action: z.ZodString;
127
+ layers: z.ZodArray<z.ZodString>;
128
+ }, z.core.$strict>>;
129
+ requiredMedia: z.ZodOptional<z.ZodArray<z.ZodString>>;
130
+ }, z.core.$strict>;
131
+ export declare const AssuranceCheckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
132
+ id: z.ZodString;
133
+ targetRef: z.ZodString;
134
+ method: z.ZodLiteral<"example">;
135
+ cases: z.ZodArray<z.ZodObject<{
136
+ id: z.ZodString;
137
+ input: z.ZodJSONSchema;
138
+ expected: z.ZodJSONSchema;
139
+ }, z.core.$strict>>;
140
+ }, z.core.$strict>, z.ZodObject<{
141
+ id: z.ZodString;
142
+ targetRef: z.ZodString;
143
+ method: z.ZodLiteral<"effects">;
144
+ cases: z.ZodArray<z.ZodObject<{
145
+ id: z.ZodString;
146
+ input: z.ZodJSONSchema;
147
+ expected: z.ZodJSONSchema;
148
+ }, z.core.$strict>>;
149
+ scope: z.ZodArray<z.ZodString>;
150
+ resources: z.ZodArray<z.ZodObject<{
151
+ scope: z.ZodString;
152
+ adapter: z.ZodString;
153
+ targets: z.ZodArray<z.ZodString>;
154
+ }, z.core.$strict>>;
155
+ allowedChanges: z.ZodArray<z.ZodObject<{
156
+ scope: z.ZodString;
157
+ field: z.ZodString;
158
+ }, z.core.$strict>>;
159
+ unchangedFields: z.ZodArray<z.ZodObject<{
160
+ scope: z.ZodString;
161
+ field: z.ZodString;
162
+ }, z.core.$strict>>;
163
+ effects: z.ZodArray<z.ZodObject<{
164
+ id: z.ZodString;
165
+ scope: z.ZodString;
166
+ min: z.ZodNumber;
167
+ max: z.ZodNumber;
168
+ }, z.core.$strict>>;
169
+ window: z.ZodObject<{
170
+ settledBy: z.ZodString;
171
+ durationMs: z.ZodNumber;
172
+ }, z.core.$strict>;
173
+ }, z.core.$strict>, z.ZodObject<{
174
+ id: z.ZodString;
175
+ targetRef: z.ZodString;
176
+ method: z.ZodLiteral<"property">;
177
+ domain: z.ZodJSONSchema;
178
+ seed: z.ZodString;
179
+ runs: z.ZodNumber;
180
+ minValid: z.ZodNumber;
181
+ maxDiscarded: z.ZodNumber;
182
+ maxDiscardRatio: z.ZodOptional<z.ZodNumber>;
183
+ requiredClasses: z.ZodArray<z.ZodString>;
184
+ classMinimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
185
+ generator: z.ZodString;
186
+ predicate: z.ZodString;
187
+ shrinker: z.ZodOptional<z.ZodString>;
188
+ }, z.core.$strict>, z.ZodObject<{
189
+ id: z.ZodString;
190
+ targetRef: z.ZodString;
191
+ method: z.ZodLiteral<"sequence">;
192
+ seed: z.ZodString;
193
+ generator: z.ZodString;
194
+ model: z.ZodString;
195
+ projection: z.ZodString;
196
+ maxSteps: z.ZodNumber;
197
+ minTraces: z.ZodNumber;
198
+ requiredActions: z.ZodArray<z.ZodString>;
199
+ actionMinimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
200
+ }, z.core.$strict>, z.ZodObject<{
201
+ id: z.ZodString;
202
+ targetRef: z.ZodString;
203
+ method: z.ZodLiteral<"architecture">;
204
+ files: z.ZodArray<z.ZodString>;
205
+ rules: z.ZodArray<z.ZodObject<{
206
+ id: z.ZodString;
207
+ from: z.ZodArray<z.ZodString>;
208
+ forbidden: z.ZodArray<z.ZodString>;
209
+ }, z.core.$strict>>;
210
+ }, z.core.$strict>, z.ZodObject<{
211
+ id: z.ZodString;
212
+ targetRef: z.ZodString;
213
+ method: z.ZodLiteral<"journey">;
214
+ entrypoint: z.ZodString;
215
+ environment: z.ZodJSONSchema;
216
+ mockBoundaries: z.ZodArray<z.ZodString>;
217
+ layers: z.ZodArray<z.ZodString>;
218
+ layerBindings: z.ZodArray<z.ZodObject<{
219
+ id: z.ZodString;
220
+ adapter: z.ZodString;
221
+ targetRef: z.ZodString;
222
+ }, z.core.$strict>>;
223
+ steps: z.ZodArray<z.ZodObject<{
224
+ id: z.ZodString;
225
+ input: z.ZodJSONSchema;
226
+ expected: z.ZodJSONSchema;
227
+ action: z.ZodString;
228
+ layers: z.ZodArray<z.ZodString>;
229
+ }, z.core.$strict>>;
230
+ requiredMedia: z.ZodOptional<z.ZodArray<z.ZodString>>;
231
+ }, z.core.$strict>], "method">;
232
+ export declare const AssuranceFaultSelectorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
233
+ kind: z.ZodLiteral<"result">;
234
+ id: z.ZodString;
235
+ }, z.core.$strict>, z.ZodObject<{
236
+ kind: z.ZodLiteral<"unchanged">;
237
+ id: z.ZodString;
238
+ scope: z.ZodString;
239
+ field: z.ZodString;
240
+ }, z.core.$strict>, z.ZodObject<{
241
+ kind: z.ZodLiteral<"effect">;
242
+ id: z.ZodString;
243
+ scope: z.ZodString;
244
+ effectId: z.ZodString;
245
+ }, z.core.$strict>, z.ZodObject<{
246
+ kind: z.ZodLiteral<"rule">;
247
+ id: z.ZodString;
248
+ }, z.core.$strict>], "kind">;
249
+ export declare const AssuranceFaultDefinitionSchema: z.ZodObject<{
250
+ id: z.ZodString;
251
+ kind: z.ZodString;
252
+ checkId: z.ZodString;
253
+ implementation: z.ZodString;
254
+ detects: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
255
+ kind: z.ZodLiteral<"result">;
256
+ id: z.ZodString;
257
+ }, z.core.$strict>, z.ZodObject<{
258
+ kind: z.ZodLiteral<"unchanged">;
259
+ id: z.ZodString;
260
+ scope: z.ZodString;
261
+ field: z.ZodString;
262
+ }, z.core.$strict>, z.ZodObject<{
263
+ kind: z.ZodLiteral<"effect">;
264
+ id: z.ZodString;
265
+ scope: z.ZodString;
266
+ effectId: z.ZodString;
267
+ }, z.core.$strict>, z.ZodObject<{
268
+ kind: z.ZodLiteral<"rule">;
269
+ id: z.ZodString;
270
+ }, z.core.$strict>], "kind">>;
271
+ }, z.core.$strict>;
272
+ export declare const AssuranceConditionSchema: z.ZodObject<{
273
+ id: z.ZodString;
274
+ kind: z.ZodEnum<{
275
+ architecture: "architecture";
276
+ effect: "effect";
277
+ invariant: "invariant";
278
+ journey: "journey";
279
+ postcondition: "postcondition";
280
+ precondition: "precondition";
281
+ property: "property";
282
+ }>;
283
+ statement: z.ZodString;
284
+ checks: z.ZodArray<z.ZodString>;
285
+ requiredFaults: z.ZodArray<z.ZodObject<{
286
+ id: z.ZodString;
287
+ kind: z.ZodString;
288
+ checkId: z.ZodString;
289
+ implementation: z.ZodString;
290
+ detects: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
291
+ kind: z.ZodLiteral<"result">;
292
+ id: z.ZodString;
293
+ }, z.core.$strict>, z.ZodObject<{
294
+ kind: z.ZodLiteral<"unchanged">;
295
+ id: z.ZodString;
296
+ scope: z.ZodString;
297
+ field: z.ZodString;
298
+ }, z.core.$strict>, z.ZodObject<{
299
+ kind: z.ZodLiteral<"effect">;
300
+ id: z.ZodString;
301
+ scope: z.ZodString;
302
+ effectId: z.ZodString;
303
+ }, z.core.$strict>, z.ZodObject<{
304
+ kind: z.ZodLiteral<"rule">;
305
+ id: z.ZodString;
306
+ }, z.core.$strict>], "kind">>;
307
+ }, z.core.$strict>>;
308
+ }, z.core.$strict>;
309
+ export declare const AssuranceDefinitionSchema: z.ZodObject<{
310
+ feature: z.ZodObject<{
311
+ id: z.ZodString;
312
+ entrypoints: z.ZodArray<z.ZodString>;
313
+ }, z.core.$strict>;
314
+ conditions: z.ZodArray<z.ZodObject<{
315
+ id: z.ZodString;
316
+ kind: z.ZodEnum<{
317
+ architecture: "architecture";
318
+ effect: "effect";
319
+ invariant: "invariant";
320
+ journey: "journey";
321
+ postcondition: "postcondition";
322
+ precondition: "precondition";
323
+ property: "property";
324
+ }>;
325
+ statement: z.ZodString;
326
+ checks: z.ZodArray<z.ZodString>;
327
+ requiredFaults: z.ZodArray<z.ZodObject<{
328
+ id: z.ZodString;
329
+ kind: z.ZodString;
330
+ checkId: z.ZodString;
331
+ implementation: z.ZodString;
332
+ detects: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
333
+ kind: z.ZodLiteral<"result">;
334
+ id: z.ZodString;
335
+ }, z.core.$strict>, z.ZodObject<{
336
+ kind: z.ZodLiteral<"unchanged">;
337
+ id: z.ZodString;
338
+ scope: z.ZodString;
339
+ field: z.ZodString;
340
+ }, z.core.$strict>, z.ZodObject<{
341
+ kind: z.ZodLiteral<"effect">;
342
+ id: z.ZodString;
343
+ scope: z.ZodString;
344
+ effectId: z.ZodString;
345
+ }, z.core.$strict>, z.ZodObject<{
346
+ kind: z.ZodLiteral<"rule">;
347
+ id: z.ZodString;
348
+ }, z.core.$strict>], "kind">>;
349
+ }, z.core.$strict>>;
350
+ }, z.core.$strict>>;
351
+ checks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
352
+ id: z.ZodString;
353
+ targetRef: z.ZodString;
354
+ method: z.ZodLiteral<"example">;
355
+ cases: z.ZodArray<z.ZodObject<{
356
+ id: z.ZodString;
357
+ input: z.ZodJSONSchema;
358
+ expected: z.ZodJSONSchema;
359
+ }, z.core.$strict>>;
360
+ }, z.core.$strict>, z.ZodObject<{
361
+ id: z.ZodString;
362
+ targetRef: z.ZodString;
363
+ method: z.ZodLiteral<"effects">;
364
+ cases: z.ZodArray<z.ZodObject<{
365
+ id: z.ZodString;
366
+ input: z.ZodJSONSchema;
367
+ expected: z.ZodJSONSchema;
368
+ }, z.core.$strict>>;
369
+ scope: z.ZodArray<z.ZodString>;
370
+ resources: z.ZodArray<z.ZodObject<{
371
+ scope: z.ZodString;
372
+ adapter: z.ZodString;
373
+ targets: z.ZodArray<z.ZodString>;
374
+ }, z.core.$strict>>;
375
+ allowedChanges: z.ZodArray<z.ZodObject<{
376
+ scope: z.ZodString;
377
+ field: z.ZodString;
378
+ }, z.core.$strict>>;
379
+ unchangedFields: z.ZodArray<z.ZodObject<{
380
+ scope: z.ZodString;
381
+ field: z.ZodString;
382
+ }, z.core.$strict>>;
383
+ effects: z.ZodArray<z.ZodObject<{
384
+ id: z.ZodString;
385
+ scope: z.ZodString;
386
+ min: z.ZodNumber;
387
+ max: z.ZodNumber;
388
+ }, z.core.$strict>>;
389
+ window: z.ZodObject<{
390
+ settledBy: z.ZodString;
391
+ durationMs: z.ZodNumber;
392
+ }, z.core.$strict>;
393
+ }, z.core.$strict>, z.ZodObject<{
394
+ id: z.ZodString;
395
+ targetRef: z.ZodString;
396
+ method: z.ZodLiteral<"property">;
397
+ domain: z.ZodJSONSchema;
398
+ seed: z.ZodString;
399
+ runs: z.ZodNumber;
400
+ minValid: z.ZodNumber;
401
+ maxDiscarded: z.ZodNumber;
402
+ maxDiscardRatio: z.ZodOptional<z.ZodNumber>;
403
+ requiredClasses: z.ZodArray<z.ZodString>;
404
+ classMinimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
405
+ generator: z.ZodString;
406
+ predicate: z.ZodString;
407
+ shrinker: z.ZodOptional<z.ZodString>;
408
+ }, z.core.$strict>, z.ZodObject<{
409
+ id: z.ZodString;
410
+ targetRef: z.ZodString;
411
+ method: z.ZodLiteral<"sequence">;
412
+ seed: z.ZodString;
413
+ generator: z.ZodString;
414
+ model: z.ZodString;
415
+ projection: z.ZodString;
416
+ maxSteps: z.ZodNumber;
417
+ minTraces: z.ZodNumber;
418
+ requiredActions: z.ZodArray<z.ZodString>;
419
+ actionMinimums: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
420
+ }, z.core.$strict>, z.ZodObject<{
421
+ id: z.ZodString;
422
+ targetRef: z.ZodString;
423
+ method: z.ZodLiteral<"architecture">;
424
+ files: z.ZodArray<z.ZodString>;
425
+ rules: z.ZodArray<z.ZodObject<{
426
+ id: z.ZodString;
427
+ from: z.ZodArray<z.ZodString>;
428
+ forbidden: z.ZodArray<z.ZodString>;
429
+ }, z.core.$strict>>;
430
+ }, z.core.$strict>, z.ZodObject<{
431
+ id: z.ZodString;
432
+ targetRef: z.ZodString;
433
+ method: z.ZodLiteral<"journey">;
434
+ entrypoint: z.ZodString;
435
+ environment: z.ZodJSONSchema;
436
+ mockBoundaries: z.ZodArray<z.ZodString>;
437
+ layers: z.ZodArray<z.ZodString>;
438
+ layerBindings: z.ZodArray<z.ZodObject<{
439
+ id: z.ZodString;
440
+ adapter: z.ZodString;
441
+ targetRef: z.ZodString;
442
+ }, z.core.$strict>>;
443
+ steps: z.ZodArray<z.ZodObject<{
444
+ id: z.ZodString;
445
+ input: z.ZodJSONSchema;
446
+ expected: z.ZodJSONSchema;
447
+ action: z.ZodString;
448
+ layers: z.ZodArray<z.ZodString>;
449
+ }, z.core.$strict>>;
450
+ requiredMedia: z.ZodOptional<z.ZodArray<z.ZodString>>;
451
+ }, z.core.$strict>], "method">>;
452
+ }, z.core.$strict>;
453
+ export declare const AssuranceConfigSchema: z.ZodObject<{
454
+ driver: z.ZodString;
455
+ driverSources: z.ZodArray<z.ZodString>;
456
+ implementationSources: z.ZodArray<z.ZodString>;
457
+ report: z.ZodString;
458
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
459
+ }, z.core.$strict>;
460
+ export declare const AssuranceInputHashesSchema: z.ZodRecord<z.ZodString, z.ZodString>;
461
+ export declare const AssuranceCallReceiptSchema: z.ZodObject<{
462
+ callId: z.ZodString;
463
+ targetRef: z.ZodString;
464
+ implementation: z.ZodString;
465
+ implementationHash: z.ZodString;
466
+ variant: z.ZodEnum<{
467
+ baseline: "baseline";
468
+ fault: "fault";
469
+ }>;
470
+ faultId: z.ZodOptional<z.ZodString>;
471
+ input: z.ZodJSONSchema;
472
+ output: z.ZodOptional<z.ZodJSONSchema>;
473
+ error: z.ZodOptional<z.ZodString>;
474
+ }, z.core.$strict>;
475
+ export declare const AssuranceComparisonSchema: z.ZodObject<{
476
+ id: z.ZodString;
477
+ input: z.ZodJSONSchema;
478
+ inputHash: z.ZodString;
479
+ expected: z.ZodJSONSchema;
480
+ actual: z.ZodOptional<z.ZodJSONSchema>;
481
+ calls: z.ZodNumber;
482
+ receipts: z.ZodArray<z.ZodObject<{
483
+ callId: z.ZodString;
484
+ targetRef: z.ZodString;
485
+ implementation: z.ZodString;
486
+ implementationHash: z.ZodString;
487
+ variant: z.ZodEnum<{
488
+ baseline: "baseline";
489
+ fault: "fault";
490
+ }>;
491
+ faultId: z.ZodOptional<z.ZodString>;
492
+ input: z.ZodJSONSchema;
493
+ output: z.ZodOptional<z.ZodJSONSchema>;
494
+ error: z.ZodOptional<z.ZodString>;
495
+ }, z.core.$strict>>;
496
+ error: z.ZodOptional<z.ZodString>;
497
+ }, z.core.$strict>;
498
+ export declare const AssuranceEffectEventSchema: z.ZodObject<{
499
+ eventId: z.ZodString;
500
+ id: z.ZodString;
501
+ scope: z.ZodString;
502
+ operation: z.ZodString;
503
+ targetRef: z.ZodString;
504
+ callId: z.ZodString;
505
+ }, z.core.$strict>;
506
+ export declare const AssuranceResourceObservationSchema: z.ZodObject<{
507
+ scope: z.ZodString;
508
+ adapter: z.ZodString;
509
+ adapterHash: z.ZodString;
510
+ targets: z.ZodArray<z.ZodString>;
511
+ callIds: z.ZodArray<z.ZodString>;
512
+ elapsedMs: z.ZodNumber;
513
+ settledBy: z.ZodString;
514
+ settled: z.ZodBoolean;
515
+ }, z.core.$strict>;
516
+ export declare const AssuranceExampleObservationSchema: z.ZodObject<{
517
+ checkId: z.ZodString;
518
+ checkHash: z.ZodString;
519
+ complete: z.ZodBoolean;
520
+ comparisonCount: z.ZodNumber;
521
+ method: z.ZodLiteral<"example">;
522
+ samples: z.ZodArray<z.ZodObject<{
523
+ id: z.ZodString;
524
+ input: z.ZodJSONSchema;
525
+ inputHash: z.ZodString;
526
+ expected: z.ZodJSONSchema;
527
+ actual: z.ZodOptional<z.ZodJSONSchema>;
528
+ calls: z.ZodNumber;
529
+ receipts: z.ZodArray<z.ZodObject<{
530
+ callId: z.ZodString;
531
+ targetRef: z.ZodString;
532
+ implementation: z.ZodString;
533
+ implementationHash: z.ZodString;
534
+ variant: z.ZodEnum<{
535
+ baseline: "baseline";
536
+ fault: "fault";
537
+ }>;
538
+ faultId: z.ZodOptional<z.ZodString>;
539
+ input: z.ZodJSONSchema;
540
+ output: z.ZodOptional<z.ZodJSONSchema>;
541
+ error: z.ZodOptional<z.ZodString>;
542
+ }, z.core.$strict>>;
543
+ error: z.ZodOptional<z.ZodString>;
544
+ }, z.core.$strict>>;
545
+ }, z.core.$strict>;
546
+ export declare const AssuranceEffectsObservationSchema: z.ZodObject<{
547
+ checkId: z.ZodString;
548
+ checkHash: z.ZodString;
549
+ complete: z.ZodBoolean;
550
+ comparisonCount: z.ZodNumber;
551
+ method: z.ZodLiteral<"effects">;
552
+ scope: z.ZodArray<z.ZodString>;
553
+ window: z.ZodObject<{
554
+ settledBy: z.ZodString;
555
+ durationMs: z.ZodNumber;
556
+ }, z.core.$strict>;
557
+ samples: z.ZodArray<z.ZodObject<{
558
+ id: z.ZodString;
559
+ input: z.ZodJSONSchema;
560
+ inputHash: z.ZodString;
561
+ expected: z.ZodJSONSchema;
562
+ actual: z.ZodOptional<z.ZodJSONSchema>;
563
+ calls: z.ZodNumber;
564
+ receipts: z.ZodArray<z.ZodObject<{
565
+ callId: z.ZodString;
566
+ targetRef: z.ZodString;
567
+ implementation: z.ZodString;
568
+ implementationHash: z.ZodString;
569
+ variant: z.ZodEnum<{
570
+ baseline: "baseline";
571
+ fault: "fault";
572
+ }>;
573
+ faultId: z.ZodOptional<z.ZodString>;
574
+ input: z.ZodJSONSchema;
575
+ output: z.ZodOptional<z.ZodJSONSchema>;
576
+ error: z.ZodOptional<z.ZodString>;
577
+ }, z.core.$strict>>;
578
+ error: z.ZodOptional<z.ZodString>;
579
+ before: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
580
+ after: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
581
+ effects: z.ZodArray<z.ZodObject<{
582
+ eventId: z.ZodString;
583
+ id: z.ZodString;
584
+ scope: z.ZodString;
585
+ operation: z.ZodString;
586
+ targetRef: z.ZodString;
587
+ callId: z.ZodString;
588
+ }, z.core.$strict>>;
589
+ resourceObservations: z.ZodArray<z.ZodObject<{
590
+ scope: z.ZodString;
591
+ adapter: z.ZodString;
592
+ adapterHash: z.ZodString;
593
+ targets: z.ZodArray<z.ZodString>;
594
+ callIds: z.ZodArray<z.ZodString>;
595
+ elapsedMs: z.ZodNumber;
596
+ settledBy: z.ZodString;
597
+ settled: z.ZodBoolean;
598
+ }, z.core.$strict>>;
599
+ }, z.core.$strict>>;
600
+ }, z.core.$strict>;
601
+ export declare const AssuranceCounterexampleSchema: z.ZodObject<{
602
+ sampleId: z.ZodString;
603
+ seed: z.ZodString;
604
+ originalInput: z.ZodJSONSchema;
605
+ shrunkInput: z.ZodOptional<z.ZodJSONSchema>;
606
+ shrunkSampleId: z.ZodOptional<z.ZodString>;
607
+ replay: z.ZodOptional<z.ZodString>;
608
+ }, z.core.$strict>;
609
+ export declare const AssurancePropertyObservationSchema: z.ZodObject<{
610
+ checkId: z.ZodString;
611
+ checkHash: z.ZodString;
612
+ complete: z.ZodBoolean;
613
+ comparisonCount: z.ZodNumber;
614
+ method: z.ZodLiteral<"property">;
615
+ domain: z.ZodJSONSchema;
616
+ seed: z.ZodString;
617
+ runs: z.ZodNumber;
618
+ valid: z.ZodNumber;
619
+ discarded: z.ZodNumber;
620
+ samples: z.ZodArray<z.ZodObject<{
621
+ id: z.ZodString;
622
+ input: z.ZodJSONSchema;
623
+ inputHash: z.ZodString;
624
+ expected: z.ZodJSONSchema;
625
+ actual: z.ZodOptional<z.ZodJSONSchema>;
626
+ calls: z.ZodNumber;
627
+ receipts: z.ZodArray<z.ZodObject<{
628
+ callId: z.ZodString;
629
+ targetRef: z.ZodString;
630
+ implementation: z.ZodString;
631
+ implementationHash: z.ZodString;
632
+ variant: z.ZodEnum<{
633
+ baseline: "baseline";
634
+ fault: "fault";
635
+ }>;
636
+ faultId: z.ZodOptional<z.ZodString>;
637
+ input: z.ZodJSONSchema;
638
+ output: z.ZodOptional<z.ZodJSONSchema>;
639
+ error: z.ZodOptional<z.ZodString>;
640
+ }, z.core.$strict>>;
641
+ error: z.ZodOptional<z.ZodString>;
642
+ index: z.ZodNumber;
643
+ discarded: z.ZodBoolean;
644
+ classes: z.ZodArray<z.ZodString>;
645
+ }, z.core.$strict>>;
646
+ counterexamples: z.ZodOptional<z.ZodArray<z.ZodObject<{
647
+ sampleId: z.ZodString;
648
+ seed: z.ZodString;
649
+ originalInput: z.ZodJSONSchema;
650
+ shrunkInput: z.ZodOptional<z.ZodJSONSchema>;
651
+ shrunkSampleId: z.ZodOptional<z.ZodString>;
652
+ replay: z.ZodOptional<z.ZodString>;
653
+ }, z.core.$strict>>>;
654
+ }, z.core.$strict>;
655
+ export declare const AssuranceSequenceObservationSchema: z.ZodObject<{
656
+ checkId: z.ZodString;
657
+ checkHash: z.ZodString;
658
+ complete: z.ZodBoolean;
659
+ comparisonCount: z.ZodNumber;
660
+ method: z.ZodLiteral<"sequence">;
661
+ seed: z.ZodString;
662
+ maxSteps: z.ZodNumber;
663
+ traces: z.ZodArray<z.ZodObject<{
664
+ id: z.ZodString;
665
+ initialModel: z.ZodJSONSchema;
666
+ initialExpected: z.ZodJSONSchema;
667
+ initialActual: z.ZodJSONSchema;
668
+ steps: z.ZodArray<z.ZodObject<{
669
+ id: z.ZodString;
670
+ input: z.ZodJSONSchema;
671
+ inputHash: z.ZodString;
672
+ expected: z.ZodJSONSchema;
673
+ actual: z.ZodOptional<z.ZodJSONSchema>;
674
+ calls: z.ZodNumber;
675
+ receipts: z.ZodArray<z.ZodObject<{
676
+ callId: z.ZodString;
677
+ targetRef: z.ZodString;
678
+ implementation: z.ZodString;
679
+ implementationHash: z.ZodString;
680
+ variant: z.ZodEnum<{
681
+ baseline: "baseline";
682
+ fault: "fault";
683
+ }>;
684
+ faultId: z.ZodOptional<z.ZodString>;
685
+ input: z.ZodJSONSchema;
686
+ output: z.ZodOptional<z.ZodJSONSchema>;
687
+ error: z.ZodOptional<z.ZodString>;
688
+ }, z.core.$strict>>;
689
+ error: z.ZodOptional<z.ZodString>;
690
+ index: z.ZodNumber;
691
+ action: z.ZodString;
692
+ modelBefore: z.ZodJSONSchema;
693
+ modelAfter: z.ZodJSONSchema;
694
+ }, z.core.$strict>>;
695
+ }, z.core.$strict>>;
696
+ }, z.core.$strict>;
697
+ export declare const AssuranceImportObservationSchema: z.ZodObject<{
698
+ specifier: z.ZodString;
699
+ resolved: z.ZodOptional<z.ZodString>;
700
+ dynamic: z.ZodBoolean;
701
+ supported: z.ZodBoolean;
702
+ }, z.core.$strict>;
703
+ export declare const AssuranceArchitectureViolationSchema: z.ZodObject<{
704
+ ruleId: z.ZodString;
705
+ file: z.ZodString;
706
+ specifier: z.ZodString;
707
+ }, z.core.$strict>;
708
+ export declare const AssuranceArchitectureObservationSchema: z.ZodObject<{
709
+ checkId: z.ZodString;
710
+ checkHash: z.ZodString;
711
+ complete: z.ZodBoolean;
712
+ comparisonCount: z.ZodNumber;
713
+ method: z.ZodLiteral<"architecture">;
714
+ files: z.ZodArray<z.ZodObject<{
715
+ path: z.ZodString;
716
+ sha256: z.ZodString;
717
+ imports: z.ZodArray<z.ZodObject<{
718
+ specifier: z.ZodString;
719
+ resolved: z.ZodOptional<z.ZodString>;
720
+ dynamic: z.ZodBoolean;
721
+ supported: z.ZodBoolean;
722
+ }, z.core.$strict>>;
723
+ }, z.core.$strict>>;
724
+ rules: z.ZodArray<z.ZodString>;
725
+ violations: z.ZodArray<z.ZodObject<{
726
+ ruleId: z.ZodString;
727
+ file: z.ZodString;
728
+ specifier: z.ZodString;
729
+ }, z.core.$strict>>;
730
+ unsupported: z.ZodArray<z.ZodObject<{
731
+ file: z.ZodString;
732
+ reason: z.ZodString;
733
+ }, z.core.$strict>>;
734
+ }, z.core.$strict>;
735
+ export declare const AssuranceMediaSchema: z.ZodObject<{
736
+ ref: z.ZodString;
737
+ sha256: z.ZodString;
738
+ stepId: z.ZodString;
739
+ }, z.core.$strict>;
740
+ export declare const AssuranceLayerReceiptSchema: z.ZodObject<{
741
+ invocationId: z.ZodString;
742
+ observationId: z.ZodString;
743
+ targetRef: z.ZodString;
744
+ mocked: z.ZodBoolean;
745
+ input: z.ZodJSONSchema;
746
+ actual: z.ZodJSONSchema;
747
+ }, z.core.$strict>;
748
+ export declare const AssuranceJourneyObservationSchema: z.ZodObject<{
749
+ checkId: z.ZodString;
750
+ checkHash: z.ZodString;
751
+ complete: z.ZodBoolean;
752
+ comparisonCount: z.ZodNumber;
753
+ method: z.ZodLiteral<"journey">;
754
+ entrypoint: z.ZodString;
755
+ environment: z.ZodJSONSchema;
756
+ mockBoundaries: z.ZodArray<z.ZodString>;
757
+ steps: z.ZodArray<z.ZodObject<{
758
+ id: z.ZodString;
759
+ input: z.ZodJSONSchema;
760
+ inputHash: z.ZodString;
761
+ expected: z.ZodJSONSchema;
762
+ actual: z.ZodOptional<z.ZodJSONSchema>;
763
+ calls: z.ZodNumber;
764
+ receipts: z.ZodArray<z.ZodObject<{
765
+ callId: z.ZodString;
766
+ targetRef: z.ZodString;
767
+ implementation: z.ZodString;
768
+ implementationHash: z.ZodString;
769
+ variant: z.ZodEnum<{
770
+ baseline: "baseline";
771
+ fault: "fault";
772
+ }>;
773
+ faultId: z.ZodOptional<z.ZodString>;
774
+ input: z.ZodJSONSchema;
775
+ output: z.ZodOptional<z.ZodJSONSchema>;
776
+ error: z.ZodOptional<z.ZodString>;
777
+ }, z.core.$strict>>;
778
+ error: z.ZodOptional<z.ZodString>;
779
+ action: z.ZodString;
780
+ layers: z.ZodArray<z.ZodObject<{
781
+ id: z.ZodString;
782
+ sourceRef: z.ZodString;
783
+ observations: z.ZodArray<z.ZodObject<{
784
+ invocationId: z.ZodString;
785
+ observationId: z.ZodString;
786
+ targetRef: z.ZodString;
787
+ mocked: z.ZodBoolean;
788
+ input: z.ZodJSONSchema;
789
+ actual: z.ZodJSONSchema;
790
+ }, z.core.$strict>>;
791
+ }, z.core.$strict>>;
792
+ }, z.core.$strict>>;
793
+ media: z.ZodArray<z.ZodObject<{
794
+ ref: z.ZodString;
795
+ sha256: z.ZodString;
796
+ stepId: z.ZodString;
797
+ }, z.core.$strict>>;
798
+ }, z.core.$strict>;
799
+ export declare const AssuranceObservationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
800
+ checkId: z.ZodString;
801
+ checkHash: z.ZodString;
802
+ complete: z.ZodBoolean;
803
+ comparisonCount: z.ZodNumber;
804
+ method: z.ZodLiteral<"example">;
805
+ samples: z.ZodArray<z.ZodObject<{
806
+ id: z.ZodString;
807
+ input: z.ZodJSONSchema;
808
+ inputHash: z.ZodString;
809
+ expected: z.ZodJSONSchema;
810
+ actual: z.ZodOptional<z.ZodJSONSchema>;
811
+ calls: z.ZodNumber;
812
+ receipts: z.ZodArray<z.ZodObject<{
813
+ callId: z.ZodString;
814
+ targetRef: z.ZodString;
815
+ implementation: z.ZodString;
816
+ implementationHash: z.ZodString;
817
+ variant: z.ZodEnum<{
818
+ baseline: "baseline";
819
+ fault: "fault";
820
+ }>;
821
+ faultId: z.ZodOptional<z.ZodString>;
822
+ input: z.ZodJSONSchema;
823
+ output: z.ZodOptional<z.ZodJSONSchema>;
824
+ error: z.ZodOptional<z.ZodString>;
825
+ }, z.core.$strict>>;
826
+ error: z.ZodOptional<z.ZodString>;
827
+ }, z.core.$strict>>;
828
+ }, z.core.$strict>, z.ZodObject<{
829
+ checkId: z.ZodString;
830
+ checkHash: z.ZodString;
831
+ complete: z.ZodBoolean;
832
+ comparisonCount: z.ZodNumber;
833
+ method: z.ZodLiteral<"effects">;
834
+ scope: z.ZodArray<z.ZodString>;
835
+ window: z.ZodObject<{
836
+ settledBy: z.ZodString;
837
+ durationMs: z.ZodNumber;
838
+ }, z.core.$strict>;
839
+ samples: z.ZodArray<z.ZodObject<{
840
+ id: z.ZodString;
841
+ input: z.ZodJSONSchema;
842
+ inputHash: z.ZodString;
843
+ expected: z.ZodJSONSchema;
844
+ actual: z.ZodOptional<z.ZodJSONSchema>;
845
+ calls: z.ZodNumber;
846
+ receipts: z.ZodArray<z.ZodObject<{
847
+ callId: z.ZodString;
848
+ targetRef: z.ZodString;
849
+ implementation: z.ZodString;
850
+ implementationHash: z.ZodString;
851
+ variant: z.ZodEnum<{
852
+ baseline: "baseline";
853
+ fault: "fault";
854
+ }>;
855
+ faultId: z.ZodOptional<z.ZodString>;
856
+ input: z.ZodJSONSchema;
857
+ output: z.ZodOptional<z.ZodJSONSchema>;
858
+ error: z.ZodOptional<z.ZodString>;
859
+ }, z.core.$strict>>;
860
+ error: z.ZodOptional<z.ZodString>;
861
+ before: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
862
+ after: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
863
+ effects: z.ZodArray<z.ZodObject<{
864
+ eventId: z.ZodString;
865
+ id: z.ZodString;
866
+ scope: z.ZodString;
867
+ operation: z.ZodString;
868
+ targetRef: z.ZodString;
869
+ callId: z.ZodString;
870
+ }, z.core.$strict>>;
871
+ resourceObservations: z.ZodArray<z.ZodObject<{
872
+ scope: z.ZodString;
873
+ adapter: z.ZodString;
874
+ adapterHash: z.ZodString;
875
+ targets: z.ZodArray<z.ZodString>;
876
+ callIds: z.ZodArray<z.ZodString>;
877
+ elapsedMs: z.ZodNumber;
878
+ settledBy: z.ZodString;
879
+ settled: z.ZodBoolean;
880
+ }, z.core.$strict>>;
881
+ }, z.core.$strict>>;
882
+ }, z.core.$strict>, z.ZodObject<{
883
+ checkId: z.ZodString;
884
+ checkHash: z.ZodString;
885
+ complete: z.ZodBoolean;
886
+ comparisonCount: z.ZodNumber;
887
+ method: z.ZodLiteral<"property">;
888
+ domain: z.ZodJSONSchema;
889
+ seed: z.ZodString;
890
+ runs: z.ZodNumber;
891
+ valid: z.ZodNumber;
892
+ discarded: z.ZodNumber;
893
+ samples: z.ZodArray<z.ZodObject<{
894
+ id: z.ZodString;
895
+ input: z.ZodJSONSchema;
896
+ inputHash: z.ZodString;
897
+ expected: z.ZodJSONSchema;
898
+ actual: z.ZodOptional<z.ZodJSONSchema>;
899
+ calls: z.ZodNumber;
900
+ receipts: z.ZodArray<z.ZodObject<{
901
+ callId: z.ZodString;
902
+ targetRef: z.ZodString;
903
+ implementation: z.ZodString;
904
+ implementationHash: z.ZodString;
905
+ variant: z.ZodEnum<{
906
+ baseline: "baseline";
907
+ fault: "fault";
908
+ }>;
909
+ faultId: z.ZodOptional<z.ZodString>;
910
+ input: z.ZodJSONSchema;
911
+ output: z.ZodOptional<z.ZodJSONSchema>;
912
+ error: z.ZodOptional<z.ZodString>;
913
+ }, z.core.$strict>>;
914
+ error: z.ZodOptional<z.ZodString>;
915
+ index: z.ZodNumber;
916
+ discarded: z.ZodBoolean;
917
+ classes: z.ZodArray<z.ZodString>;
918
+ }, z.core.$strict>>;
919
+ counterexamples: z.ZodOptional<z.ZodArray<z.ZodObject<{
920
+ sampleId: z.ZodString;
921
+ seed: z.ZodString;
922
+ originalInput: z.ZodJSONSchema;
923
+ shrunkInput: z.ZodOptional<z.ZodJSONSchema>;
924
+ shrunkSampleId: z.ZodOptional<z.ZodString>;
925
+ replay: z.ZodOptional<z.ZodString>;
926
+ }, z.core.$strict>>>;
927
+ }, z.core.$strict>, z.ZodObject<{
928
+ checkId: z.ZodString;
929
+ checkHash: z.ZodString;
930
+ complete: z.ZodBoolean;
931
+ comparisonCount: z.ZodNumber;
932
+ method: z.ZodLiteral<"sequence">;
933
+ seed: z.ZodString;
934
+ maxSteps: z.ZodNumber;
935
+ traces: z.ZodArray<z.ZodObject<{
936
+ id: z.ZodString;
937
+ initialModel: z.ZodJSONSchema;
938
+ initialExpected: z.ZodJSONSchema;
939
+ initialActual: z.ZodJSONSchema;
940
+ steps: z.ZodArray<z.ZodObject<{
941
+ id: z.ZodString;
942
+ input: z.ZodJSONSchema;
943
+ inputHash: z.ZodString;
944
+ expected: z.ZodJSONSchema;
945
+ actual: z.ZodOptional<z.ZodJSONSchema>;
946
+ calls: z.ZodNumber;
947
+ receipts: z.ZodArray<z.ZodObject<{
948
+ callId: z.ZodString;
949
+ targetRef: z.ZodString;
950
+ implementation: z.ZodString;
951
+ implementationHash: z.ZodString;
952
+ variant: z.ZodEnum<{
953
+ baseline: "baseline";
954
+ fault: "fault";
955
+ }>;
956
+ faultId: z.ZodOptional<z.ZodString>;
957
+ input: z.ZodJSONSchema;
958
+ output: z.ZodOptional<z.ZodJSONSchema>;
959
+ error: z.ZodOptional<z.ZodString>;
960
+ }, z.core.$strict>>;
961
+ error: z.ZodOptional<z.ZodString>;
962
+ index: z.ZodNumber;
963
+ action: z.ZodString;
964
+ modelBefore: z.ZodJSONSchema;
965
+ modelAfter: z.ZodJSONSchema;
966
+ }, z.core.$strict>>;
967
+ }, z.core.$strict>>;
968
+ }, z.core.$strict>, z.ZodObject<{
969
+ checkId: z.ZodString;
970
+ checkHash: z.ZodString;
971
+ complete: z.ZodBoolean;
972
+ comparisonCount: z.ZodNumber;
973
+ method: z.ZodLiteral<"architecture">;
974
+ files: z.ZodArray<z.ZodObject<{
975
+ path: z.ZodString;
976
+ sha256: z.ZodString;
977
+ imports: z.ZodArray<z.ZodObject<{
978
+ specifier: z.ZodString;
979
+ resolved: z.ZodOptional<z.ZodString>;
980
+ dynamic: z.ZodBoolean;
981
+ supported: z.ZodBoolean;
982
+ }, z.core.$strict>>;
983
+ }, z.core.$strict>>;
984
+ rules: z.ZodArray<z.ZodString>;
985
+ violations: z.ZodArray<z.ZodObject<{
986
+ ruleId: z.ZodString;
987
+ file: z.ZodString;
988
+ specifier: z.ZodString;
989
+ }, z.core.$strict>>;
990
+ unsupported: z.ZodArray<z.ZodObject<{
991
+ file: z.ZodString;
992
+ reason: z.ZodString;
993
+ }, z.core.$strict>>;
994
+ }, z.core.$strict>, z.ZodObject<{
995
+ checkId: z.ZodString;
996
+ checkHash: z.ZodString;
997
+ complete: z.ZodBoolean;
998
+ comparisonCount: z.ZodNumber;
999
+ method: z.ZodLiteral<"journey">;
1000
+ entrypoint: z.ZodString;
1001
+ environment: z.ZodJSONSchema;
1002
+ mockBoundaries: z.ZodArray<z.ZodString>;
1003
+ steps: z.ZodArray<z.ZodObject<{
1004
+ id: z.ZodString;
1005
+ input: z.ZodJSONSchema;
1006
+ inputHash: z.ZodString;
1007
+ expected: z.ZodJSONSchema;
1008
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1009
+ calls: z.ZodNumber;
1010
+ receipts: z.ZodArray<z.ZodObject<{
1011
+ callId: z.ZodString;
1012
+ targetRef: z.ZodString;
1013
+ implementation: z.ZodString;
1014
+ implementationHash: z.ZodString;
1015
+ variant: z.ZodEnum<{
1016
+ baseline: "baseline";
1017
+ fault: "fault";
1018
+ }>;
1019
+ faultId: z.ZodOptional<z.ZodString>;
1020
+ input: z.ZodJSONSchema;
1021
+ output: z.ZodOptional<z.ZodJSONSchema>;
1022
+ error: z.ZodOptional<z.ZodString>;
1023
+ }, z.core.$strict>>;
1024
+ error: z.ZodOptional<z.ZodString>;
1025
+ action: z.ZodString;
1026
+ layers: z.ZodArray<z.ZodObject<{
1027
+ id: z.ZodString;
1028
+ sourceRef: z.ZodString;
1029
+ observations: z.ZodArray<z.ZodObject<{
1030
+ invocationId: z.ZodString;
1031
+ observationId: z.ZodString;
1032
+ targetRef: z.ZodString;
1033
+ mocked: z.ZodBoolean;
1034
+ input: z.ZodJSONSchema;
1035
+ actual: z.ZodJSONSchema;
1036
+ }, z.core.$strict>>;
1037
+ }, z.core.$strict>>;
1038
+ }, z.core.$strict>>;
1039
+ media: z.ZodArray<z.ZodObject<{
1040
+ ref: z.ZodString;
1041
+ sha256: z.ZodString;
1042
+ stepId: z.ZodString;
1043
+ }, z.core.$strict>>;
1044
+ }, z.core.$strict>], "method">;
1045
+ export declare const AssuranceFaultObservationSchema: z.ZodObject<{
1046
+ faultId: z.ZodString;
1047
+ checkId: z.ZodString;
1048
+ implementationHash: z.ZodString;
1049
+ observation: z.ZodDiscriminatedUnion<[z.ZodObject<{
1050
+ checkId: z.ZodString;
1051
+ checkHash: z.ZodString;
1052
+ complete: z.ZodBoolean;
1053
+ comparisonCount: z.ZodNumber;
1054
+ method: z.ZodLiteral<"example">;
1055
+ samples: z.ZodArray<z.ZodObject<{
1056
+ id: z.ZodString;
1057
+ input: z.ZodJSONSchema;
1058
+ inputHash: z.ZodString;
1059
+ expected: z.ZodJSONSchema;
1060
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1061
+ calls: z.ZodNumber;
1062
+ receipts: z.ZodArray<z.ZodObject<{
1063
+ callId: z.ZodString;
1064
+ targetRef: z.ZodString;
1065
+ implementation: z.ZodString;
1066
+ implementationHash: z.ZodString;
1067
+ variant: z.ZodEnum<{
1068
+ baseline: "baseline";
1069
+ fault: "fault";
1070
+ }>;
1071
+ faultId: z.ZodOptional<z.ZodString>;
1072
+ input: z.ZodJSONSchema;
1073
+ output: z.ZodOptional<z.ZodJSONSchema>;
1074
+ error: z.ZodOptional<z.ZodString>;
1075
+ }, z.core.$strict>>;
1076
+ error: z.ZodOptional<z.ZodString>;
1077
+ }, z.core.$strict>>;
1078
+ }, z.core.$strict>, z.ZodObject<{
1079
+ checkId: z.ZodString;
1080
+ checkHash: z.ZodString;
1081
+ complete: z.ZodBoolean;
1082
+ comparisonCount: z.ZodNumber;
1083
+ method: z.ZodLiteral<"effects">;
1084
+ scope: z.ZodArray<z.ZodString>;
1085
+ window: z.ZodObject<{
1086
+ settledBy: z.ZodString;
1087
+ durationMs: z.ZodNumber;
1088
+ }, z.core.$strict>;
1089
+ samples: z.ZodArray<z.ZodObject<{
1090
+ id: z.ZodString;
1091
+ input: z.ZodJSONSchema;
1092
+ inputHash: z.ZodString;
1093
+ expected: z.ZodJSONSchema;
1094
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1095
+ calls: z.ZodNumber;
1096
+ receipts: z.ZodArray<z.ZodObject<{
1097
+ callId: z.ZodString;
1098
+ targetRef: z.ZodString;
1099
+ implementation: z.ZodString;
1100
+ implementationHash: z.ZodString;
1101
+ variant: z.ZodEnum<{
1102
+ baseline: "baseline";
1103
+ fault: "fault";
1104
+ }>;
1105
+ faultId: z.ZodOptional<z.ZodString>;
1106
+ input: z.ZodJSONSchema;
1107
+ output: z.ZodOptional<z.ZodJSONSchema>;
1108
+ error: z.ZodOptional<z.ZodString>;
1109
+ }, z.core.$strict>>;
1110
+ error: z.ZodOptional<z.ZodString>;
1111
+ before: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1112
+ after: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1113
+ effects: z.ZodArray<z.ZodObject<{
1114
+ eventId: z.ZodString;
1115
+ id: z.ZodString;
1116
+ scope: z.ZodString;
1117
+ operation: z.ZodString;
1118
+ targetRef: z.ZodString;
1119
+ callId: z.ZodString;
1120
+ }, z.core.$strict>>;
1121
+ resourceObservations: z.ZodArray<z.ZodObject<{
1122
+ scope: z.ZodString;
1123
+ adapter: z.ZodString;
1124
+ adapterHash: z.ZodString;
1125
+ targets: z.ZodArray<z.ZodString>;
1126
+ callIds: z.ZodArray<z.ZodString>;
1127
+ elapsedMs: z.ZodNumber;
1128
+ settledBy: z.ZodString;
1129
+ settled: z.ZodBoolean;
1130
+ }, z.core.$strict>>;
1131
+ }, z.core.$strict>>;
1132
+ }, z.core.$strict>, z.ZodObject<{
1133
+ checkId: z.ZodString;
1134
+ checkHash: z.ZodString;
1135
+ complete: z.ZodBoolean;
1136
+ comparisonCount: z.ZodNumber;
1137
+ method: z.ZodLiteral<"property">;
1138
+ domain: z.ZodJSONSchema;
1139
+ seed: z.ZodString;
1140
+ runs: z.ZodNumber;
1141
+ valid: z.ZodNumber;
1142
+ discarded: z.ZodNumber;
1143
+ samples: z.ZodArray<z.ZodObject<{
1144
+ id: z.ZodString;
1145
+ input: z.ZodJSONSchema;
1146
+ inputHash: z.ZodString;
1147
+ expected: z.ZodJSONSchema;
1148
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1149
+ calls: z.ZodNumber;
1150
+ receipts: z.ZodArray<z.ZodObject<{
1151
+ callId: z.ZodString;
1152
+ targetRef: z.ZodString;
1153
+ implementation: z.ZodString;
1154
+ implementationHash: z.ZodString;
1155
+ variant: z.ZodEnum<{
1156
+ baseline: "baseline";
1157
+ fault: "fault";
1158
+ }>;
1159
+ faultId: z.ZodOptional<z.ZodString>;
1160
+ input: z.ZodJSONSchema;
1161
+ output: z.ZodOptional<z.ZodJSONSchema>;
1162
+ error: z.ZodOptional<z.ZodString>;
1163
+ }, z.core.$strict>>;
1164
+ error: z.ZodOptional<z.ZodString>;
1165
+ index: z.ZodNumber;
1166
+ discarded: z.ZodBoolean;
1167
+ classes: z.ZodArray<z.ZodString>;
1168
+ }, z.core.$strict>>;
1169
+ counterexamples: z.ZodOptional<z.ZodArray<z.ZodObject<{
1170
+ sampleId: z.ZodString;
1171
+ seed: z.ZodString;
1172
+ originalInput: z.ZodJSONSchema;
1173
+ shrunkInput: z.ZodOptional<z.ZodJSONSchema>;
1174
+ shrunkSampleId: z.ZodOptional<z.ZodString>;
1175
+ replay: z.ZodOptional<z.ZodString>;
1176
+ }, z.core.$strict>>>;
1177
+ }, z.core.$strict>, z.ZodObject<{
1178
+ checkId: z.ZodString;
1179
+ checkHash: z.ZodString;
1180
+ complete: z.ZodBoolean;
1181
+ comparisonCount: z.ZodNumber;
1182
+ method: z.ZodLiteral<"sequence">;
1183
+ seed: z.ZodString;
1184
+ maxSteps: z.ZodNumber;
1185
+ traces: z.ZodArray<z.ZodObject<{
1186
+ id: z.ZodString;
1187
+ initialModel: z.ZodJSONSchema;
1188
+ initialExpected: z.ZodJSONSchema;
1189
+ initialActual: z.ZodJSONSchema;
1190
+ steps: z.ZodArray<z.ZodObject<{
1191
+ id: z.ZodString;
1192
+ input: z.ZodJSONSchema;
1193
+ inputHash: z.ZodString;
1194
+ expected: z.ZodJSONSchema;
1195
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1196
+ calls: z.ZodNumber;
1197
+ receipts: z.ZodArray<z.ZodObject<{
1198
+ callId: z.ZodString;
1199
+ targetRef: z.ZodString;
1200
+ implementation: z.ZodString;
1201
+ implementationHash: z.ZodString;
1202
+ variant: z.ZodEnum<{
1203
+ baseline: "baseline";
1204
+ fault: "fault";
1205
+ }>;
1206
+ faultId: z.ZodOptional<z.ZodString>;
1207
+ input: z.ZodJSONSchema;
1208
+ output: z.ZodOptional<z.ZodJSONSchema>;
1209
+ error: z.ZodOptional<z.ZodString>;
1210
+ }, z.core.$strict>>;
1211
+ error: z.ZodOptional<z.ZodString>;
1212
+ index: z.ZodNumber;
1213
+ action: z.ZodString;
1214
+ modelBefore: z.ZodJSONSchema;
1215
+ modelAfter: z.ZodJSONSchema;
1216
+ }, z.core.$strict>>;
1217
+ }, z.core.$strict>>;
1218
+ }, z.core.$strict>, z.ZodObject<{
1219
+ checkId: z.ZodString;
1220
+ checkHash: z.ZodString;
1221
+ complete: z.ZodBoolean;
1222
+ comparisonCount: z.ZodNumber;
1223
+ method: z.ZodLiteral<"architecture">;
1224
+ files: z.ZodArray<z.ZodObject<{
1225
+ path: z.ZodString;
1226
+ sha256: z.ZodString;
1227
+ imports: z.ZodArray<z.ZodObject<{
1228
+ specifier: z.ZodString;
1229
+ resolved: z.ZodOptional<z.ZodString>;
1230
+ dynamic: z.ZodBoolean;
1231
+ supported: z.ZodBoolean;
1232
+ }, z.core.$strict>>;
1233
+ }, z.core.$strict>>;
1234
+ rules: z.ZodArray<z.ZodString>;
1235
+ violations: z.ZodArray<z.ZodObject<{
1236
+ ruleId: z.ZodString;
1237
+ file: z.ZodString;
1238
+ specifier: z.ZodString;
1239
+ }, z.core.$strict>>;
1240
+ unsupported: z.ZodArray<z.ZodObject<{
1241
+ file: z.ZodString;
1242
+ reason: z.ZodString;
1243
+ }, z.core.$strict>>;
1244
+ }, z.core.$strict>, z.ZodObject<{
1245
+ checkId: z.ZodString;
1246
+ checkHash: z.ZodString;
1247
+ complete: z.ZodBoolean;
1248
+ comparisonCount: z.ZodNumber;
1249
+ method: z.ZodLiteral<"journey">;
1250
+ entrypoint: z.ZodString;
1251
+ environment: z.ZodJSONSchema;
1252
+ mockBoundaries: z.ZodArray<z.ZodString>;
1253
+ steps: z.ZodArray<z.ZodObject<{
1254
+ id: z.ZodString;
1255
+ input: z.ZodJSONSchema;
1256
+ inputHash: z.ZodString;
1257
+ expected: z.ZodJSONSchema;
1258
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1259
+ calls: z.ZodNumber;
1260
+ receipts: z.ZodArray<z.ZodObject<{
1261
+ callId: z.ZodString;
1262
+ targetRef: z.ZodString;
1263
+ implementation: z.ZodString;
1264
+ implementationHash: z.ZodString;
1265
+ variant: z.ZodEnum<{
1266
+ baseline: "baseline";
1267
+ fault: "fault";
1268
+ }>;
1269
+ faultId: z.ZodOptional<z.ZodString>;
1270
+ input: z.ZodJSONSchema;
1271
+ output: z.ZodOptional<z.ZodJSONSchema>;
1272
+ error: z.ZodOptional<z.ZodString>;
1273
+ }, z.core.$strict>>;
1274
+ error: z.ZodOptional<z.ZodString>;
1275
+ action: z.ZodString;
1276
+ layers: z.ZodArray<z.ZodObject<{
1277
+ id: z.ZodString;
1278
+ sourceRef: z.ZodString;
1279
+ observations: z.ZodArray<z.ZodObject<{
1280
+ invocationId: z.ZodString;
1281
+ observationId: z.ZodString;
1282
+ targetRef: z.ZodString;
1283
+ mocked: z.ZodBoolean;
1284
+ input: z.ZodJSONSchema;
1285
+ actual: z.ZodJSONSchema;
1286
+ }, z.core.$strict>>;
1287
+ }, z.core.$strict>>;
1288
+ }, z.core.$strict>>;
1289
+ media: z.ZodArray<z.ZodObject<{
1290
+ ref: z.ZodString;
1291
+ sha256: z.ZodString;
1292
+ stepId: z.ZodString;
1293
+ }, z.core.$strict>>;
1294
+ }, z.core.$strict>], "method">;
1295
+ }, z.core.$strict>;
1296
+ export declare const AssuranceSubjectSchema: z.ZodObject<{
1297
+ testedCommitSha: z.ZodString;
1298
+ sourceTreeHash: z.ZodString;
1299
+ }, z.core.$strict>;
1300
+ export declare const AssuranceReportSchema: z.ZodObject<{
1301
+ schemaVersion: z.ZodLiteral<1>;
1302
+ contractId: z.ZodString;
1303
+ revisionHash: z.ZodString;
1304
+ subject: z.ZodObject<{
1305
+ testedCommitSha: z.ZodString;
1306
+ sourceTreeHash: z.ZodString;
1307
+ }, z.core.$strict>;
1308
+ inputHashes: z.ZodRecord<z.ZodString, z.ZodString>;
1309
+ checks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1310
+ checkId: z.ZodString;
1311
+ checkHash: z.ZodString;
1312
+ complete: z.ZodBoolean;
1313
+ comparisonCount: z.ZodNumber;
1314
+ method: z.ZodLiteral<"example">;
1315
+ samples: z.ZodArray<z.ZodObject<{
1316
+ id: z.ZodString;
1317
+ input: z.ZodJSONSchema;
1318
+ inputHash: z.ZodString;
1319
+ expected: z.ZodJSONSchema;
1320
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1321
+ calls: z.ZodNumber;
1322
+ receipts: z.ZodArray<z.ZodObject<{
1323
+ callId: z.ZodString;
1324
+ targetRef: z.ZodString;
1325
+ implementation: z.ZodString;
1326
+ implementationHash: z.ZodString;
1327
+ variant: z.ZodEnum<{
1328
+ baseline: "baseline";
1329
+ fault: "fault";
1330
+ }>;
1331
+ faultId: z.ZodOptional<z.ZodString>;
1332
+ input: z.ZodJSONSchema;
1333
+ output: z.ZodOptional<z.ZodJSONSchema>;
1334
+ error: z.ZodOptional<z.ZodString>;
1335
+ }, z.core.$strict>>;
1336
+ error: z.ZodOptional<z.ZodString>;
1337
+ }, z.core.$strict>>;
1338
+ }, z.core.$strict>, z.ZodObject<{
1339
+ checkId: z.ZodString;
1340
+ checkHash: z.ZodString;
1341
+ complete: z.ZodBoolean;
1342
+ comparisonCount: z.ZodNumber;
1343
+ method: z.ZodLiteral<"effects">;
1344
+ scope: z.ZodArray<z.ZodString>;
1345
+ window: z.ZodObject<{
1346
+ settledBy: z.ZodString;
1347
+ durationMs: z.ZodNumber;
1348
+ }, z.core.$strict>;
1349
+ samples: z.ZodArray<z.ZodObject<{
1350
+ id: z.ZodString;
1351
+ input: z.ZodJSONSchema;
1352
+ inputHash: z.ZodString;
1353
+ expected: z.ZodJSONSchema;
1354
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1355
+ calls: z.ZodNumber;
1356
+ receipts: z.ZodArray<z.ZodObject<{
1357
+ callId: z.ZodString;
1358
+ targetRef: z.ZodString;
1359
+ implementation: z.ZodString;
1360
+ implementationHash: z.ZodString;
1361
+ variant: z.ZodEnum<{
1362
+ baseline: "baseline";
1363
+ fault: "fault";
1364
+ }>;
1365
+ faultId: z.ZodOptional<z.ZodString>;
1366
+ input: z.ZodJSONSchema;
1367
+ output: z.ZodOptional<z.ZodJSONSchema>;
1368
+ error: z.ZodOptional<z.ZodString>;
1369
+ }, z.core.$strict>>;
1370
+ error: z.ZodOptional<z.ZodString>;
1371
+ before: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1372
+ after: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1373
+ effects: z.ZodArray<z.ZodObject<{
1374
+ eventId: z.ZodString;
1375
+ id: z.ZodString;
1376
+ scope: z.ZodString;
1377
+ operation: z.ZodString;
1378
+ targetRef: z.ZodString;
1379
+ callId: z.ZodString;
1380
+ }, z.core.$strict>>;
1381
+ resourceObservations: z.ZodArray<z.ZodObject<{
1382
+ scope: z.ZodString;
1383
+ adapter: z.ZodString;
1384
+ adapterHash: z.ZodString;
1385
+ targets: z.ZodArray<z.ZodString>;
1386
+ callIds: z.ZodArray<z.ZodString>;
1387
+ elapsedMs: z.ZodNumber;
1388
+ settledBy: z.ZodString;
1389
+ settled: z.ZodBoolean;
1390
+ }, z.core.$strict>>;
1391
+ }, z.core.$strict>>;
1392
+ }, z.core.$strict>, z.ZodObject<{
1393
+ checkId: z.ZodString;
1394
+ checkHash: z.ZodString;
1395
+ complete: z.ZodBoolean;
1396
+ comparisonCount: z.ZodNumber;
1397
+ method: z.ZodLiteral<"property">;
1398
+ domain: z.ZodJSONSchema;
1399
+ seed: z.ZodString;
1400
+ runs: z.ZodNumber;
1401
+ valid: z.ZodNumber;
1402
+ discarded: z.ZodNumber;
1403
+ samples: z.ZodArray<z.ZodObject<{
1404
+ id: z.ZodString;
1405
+ input: z.ZodJSONSchema;
1406
+ inputHash: z.ZodString;
1407
+ expected: z.ZodJSONSchema;
1408
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1409
+ calls: z.ZodNumber;
1410
+ receipts: z.ZodArray<z.ZodObject<{
1411
+ callId: z.ZodString;
1412
+ targetRef: z.ZodString;
1413
+ implementation: z.ZodString;
1414
+ implementationHash: z.ZodString;
1415
+ variant: z.ZodEnum<{
1416
+ baseline: "baseline";
1417
+ fault: "fault";
1418
+ }>;
1419
+ faultId: z.ZodOptional<z.ZodString>;
1420
+ input: z.ZodJSONSchema;
1421
+ output: z.ZodOptional<z.ZodJSONSchema>;
1422
+ error: z.ZodOptional<z.ZodString>;
1423
+ }, z.core.$strict>>;
1424
+ error: z.ZodOptional<z.ZodString>;
1425
+ index: z.ZodNumber;
1426
+ discarded: z.ZodBoolean;
1427
+ classes: z.ZodArray<z.ZodString>;
1428
+ }, z.core.$strict>>;
1429
+ counterexamples: z.ZodOptional<z.ZodArray<z.ZodObject<{
1430
+ sampleId: z.ZodString;
1431
+ seed: z.ZodString;
1432
+ originalInput: z.ZodJSONSchema;
1433
+ shrunkInput: z.ZodOptional<z.ZodJSONSchema>;
1434
+ shrunkSampleId: z.ZodOptional<z.ZodString>;
1435
+ replay: z.ZodOptional<z.ZodString>;
1436
+ }, z.core.$strict>>>;
1437
+ }, z.core.$strict>, z.ZodObject<{
1438
+ checkId: z.ZodString;
1439
+ checkHash: z.ZodString;
1440
+ complete: z.ZodBoolean;
1441
+ comparisonCount: z.ZodNumber;
1442
+ method: z.ZodLiteral<"sequence">;
1443
+ seed: z.ZodString;
1444
+ maxSteps: z.ZodNumber;
1445
+ traces: z.ZodArray<z.ZodObject<{
1446
+ id: z.ZodString;
1447
+ initialModel: z.ZodJSONSchema;
1448
+ initialExpected: z.ZodJSONSchema;
1449
+ initialActual: z.ZodJSONSchema;
1450
+ steps: z.ZodArray<z.ZodObject<{
1451
+ id: z.ZodString;
1452
+ input: z.ZodJSONSchema;
1453
+ inputHash: z.ZodString;
1454
+ expected: z.ZodJSONSchema;
1455
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1456
+ calls: z.ZodNumber;
1457
+ receipts: z.ZodArray<z.ZodObject<{
1458
+ callId: z.ZodString;
1459
+ targetRef: z.ZodString;
1460
+ implementation: z.ZodString;
1461
+ implementationHash: z.ZodString;
1462
+ variant: z.ZodEnum<{
1463
+ baseline: "baseline";
1464
+ fault: "fault";
1465
+ }>;
1466
+ faultId: z.ZodOptional<z.ZodString>;
1467
+ input: z.ZodJSONSchema;
1468
+ output: z.ZodOptional<z.ZodJSONSchema>;
1469
+ error: z.ZodOptional<z.ZodString>;
1470
+ }, z.core.$strict>>;
1471
+ error: z.ZodOptional<z.ZodString>;
1472
+ index: z.ZodNumber;
1473
+ action: z.ZodString;
1474
+ modelBefore: z.ZodJSONSchema;
1475
+ modelAfter: z.ZodJSONSchema;
1476
+ }, z.core.$strict>>;
1477
+ }, z.core.$strict>>;
1478
+ }, z.core.$strict>, z.ZodObject<{
1479
+ checkId: z.ZodString;
1480
+ checkHash: z.ZodString;
1481
+ complete: z.ZodBoolean;
1482
+ comparisonCount: z.ZodNumber;
1483
+ method: z.ZodLiteral<"architecture">;
1484
+ files: z.ZodArray<z.ZodObject<{
1485
+ path: z.ZodString;
1486
+ sha256: z.ZodString;
1487
+ imports: z.ZodArray<z.ZodObject<{
1488
+ specifier: z.ZodString;
1489
+ resolved: z.ZodOptional<z.ZodString>;
1490
+ dynamic: z.ZodBoolean;
1491
+ supported: z.ZodBoolean;
1492
+ }, z.core.$strict>>;
1493
+ }, z.core.$strict>>;
1494
+ rules: z.ZodArray<z.ZodString>;
1495
+ violations: z.ZodArray<z.ZodObject<{
1496
+ ruleId: z.ZodString;
1497
+ file: z.ZodString;
1498
+ specifier: z.ZodString;
1499
+ }, z.core.$strict>>;
1500
+ unsupported: z.ZodArray<z.ZodObject<{
1501
+ file: z.ZodString;
1502
+ reason: z.ZodString;
1503
+ }, z.core.$strict>>;
1504
+ }, z.core.$strict>, z.ZodObject<{
1505
+ checkId: z.ZodString;
1506
+ checkHash: z.ZodString;
1507
+ complete: z.ZodBoolean;
1508
+ comparisonCount: z.ZodNumber;
1509
+ method: z.ZodLiteral<"journey">;
1510
+ entrypoint: z.ZodString;
1511
+ environment: z.ZodJSONSchema;
1512
+ mockBoundaries: z.ZodArray<z.ZodString>;
1513
+ steps: z.ZodArray<z.ZodObject<{
1514
+ id: z.ZodString;
1515
+ input: z.ZodJSONSchema;
1516
+ inputHash: z.ZodString;
1517
+ expected: z.ZodJSONSchema;
1518
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1519
+ calls: z.ZodNumber;
1520
+ receipts: z.ZodArray<z.ZodObject<{
1521
+ callId: z.ZodString;
1522
+ targetRef: z.ZodString;
1523
+ implementation: z.ZodString;
1524
+ implementationHash: z.ZodString;
1525
+ variant: z.ZodEnum<{
1526
+ baseline: "baseline";
1527
+ fault: "fault";
1528
+ }>;
1529
+ faultId: z.ZodOptional<z.ZodString>;
1530
+ input: z.ZodJSONSchema;
1531
+ output: z.ZodOptional<z.ZodJSONSchema>;
1532
+ error: z.ZodOptional<z.ZodString>;
1533
+ }, z.core.$strict>>;
1534
+ error: z.ZodOptional<z.ZodString>;
1535
+ action: z.ZodString;
1536
+ layers: z.ZodArray<z.ZodObject<{
1537
+ id: z.ZodString;
1538
+ sourceRef: z.ZodString;
1539
+ observations: z.ZodArray<z.ZodObject<{
1540
+ invocationId: z.ZodString;
1541
+ observationId: z.ZodString;
1542
+ targetRef: z.ZodString;
1543
+ mocked: z.ZodBoolean;
1544
+ input: z.ZodJSONSchema;
1545
+ actual: z.ZodJSONSchema;
1546
+ }, z.core.$strict>>;
1547
+ }, z.core.$strict>>;
1548
+ }, z.core.$strict>>;
1549
+ media: z.ZodArray<z.ZodObject<{
1550
+ ref: z.ZodString;
1551
+ sha256: z.ZodString;
1552
+ stepId: z.ZodString;
1553
+ }, z.core.$strict>>;
1554
+ }, z.core.$strict>], "method">>;
1555
+ faults: z.ZodArray<z.ZodObject<{
1556
+ faultId: z.ZodString;
1557
+ checkId: z.ZodString;
1558
+ implementationHash: z.ZodString;
1559
+ observation: z.ZodDiscriminatedUnion<[z.ZodObject<{
1560
+ checkId: z.ZodString;
1561
+ checkHash: z.ZodString;
1562
+ complete: z.ZodBoolean;
1563
+ comparisonCount: z.ZodNumber;
1564
+ method: z.ZodLiteral<"example">;
1565
+ samples: z.ZodArray<z.ZodObject<{
1566
+ id: z.ZodString;
1567
+ input: z.ZodJSONSchema;
1568
+ inputHash: z.ZodString;
1569
+ expected: z.ZodJSONSchema;
1570
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1571
+ calls: z.ZodNumber;
1572
+ receipts: z.ZodArray<z.ZodObject<{
1573
+ callId: z.ZodString;
1574
+ targetRef: z.ZodString;
1575
+ implementation: z.ZodString;
1576
+ implementationHash: z.ZodString;
1577
+ variant: z.ZodEnum<{
1578
+ baseline: "baseline";
1579
+ fault: "fault";
1580
+ }>;
1581
+ faultId: z.ZodOptional<z.ZodString>;
1582
+ input: z.ZodJSONSchema;
1583
+ output: z.ZodOptional<z.ZodJSONSchema>;
1584
+ error: z.ZodOptional<z.ZodString>;
1585
+ }, z.core.$strict>>;
1586
+ error: z.ZodOptional<z.ZodString>;
1587
+ }, z.core.$strict>>;
1588
+ }, z.core.$strict>, z.ZodObject<{
1589
+ checkId: z.ZodString;
1590
+ checkHash: z.ZodString;
1591
+ complete: z.ZodBoolean;
1592
+ comparisonCount: z.ZodNumber;
1593
+ method: z.ZodLiteral<"effects">;
1594
+ scope: z.ZodArray<z.ZodString>;
1595
+ window: z.ZodObject<{
1596
+ settledBy: z.ZodString;
1597
+ durationMs: z.ZodNumber;
1598
+ }, z.core.$strict>;
1599
+ samples: z.ZodArray<z.ZodObject<{
1600
+ id: z.ZodString;
1601
+ input: z.ZodJSONSchema;
1602
+ inputHash: z.ZodString;
1603
+ expected: z.ZodJSONSchema;
1604
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1605
+ calls: z.ZodNumber;
1606
+ receipts: z.ZodArray<z.ZodObject<{
1607
+ callId: z.ZodString;
1608
+ targetRef: z.ZodString;
1609
+ implementation: z.ZodString;
1610
+ implementationHash: z.ZodString;
1611
+ variant: z.ZodEnum<{
1612
+ baseline: "baseline";
1613
+ fault: "fault";
1614
+ }>;
1615
+ faultId: z.ZodOptional<z.ZodString>;
1616
+ input: z.ZodJSONSchema;
1617
+ output: z.ZodOptional<z.ZodJSONSchema>;
1618
+ error: z.ZodOptional<z.ZodString>;
1619
+ }, z.core.$strict>>;
1620
+ error: z.ZodOptional<z.ZodString>;
1621
+ before: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1622
+ after: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1623
+ effects: z.ZodArray<z.ZodObject<{
1624
+ eventId: z.ZodString;
1625
+ id: z.ZodString;
1626
+ scope: z.ZodString;
1627
+ operation: z.ZodString;
1628
+ targetRef: z.ZodString;
1629
+ callId: z.ZodString;
1630
+ }, z.core.$strict>>;
1631
+ resourceObservations: z.ZodArray<z.ZodObject<{
1632
+ scope: z.ZodString;
1633
+ adapter: z.ZodString;
1634
+ adapterHash: z.ZodString;
1635
+ targets: z.ZodArray<z.ZodString>;
1636
+ callIds: z.ZodArray<z.ZodString>;
1637
+ elapsedMs: z.ZodNumber;
1638
+ settledBy: z.ZodString;
1639
+ settled: z.ZodBoolean;
1640
+ }, z.core.$strict>>;
1641
+ }, z.core.$strict>>;
1642
+ }, z.core.$strict>, z.ZodObject<{
1643
+ checkId: z.ZodString;
1644
+ checkHash: z.ZodString;
1645
+ complete: z.ZodBoolean;
1646
+ comparisonCount: z.ZodNumber;
1647
+ method: z.ZodLiteral<"property">;
1648
+ domain: z.ZodJSONSchema;
1649
+ seed: z.ZodString;
1650
+ runs: z.ZodNumber;
1651
+ valid: z.ZodNumber;
1652
+ discarded: z.ZodNumber;
1653
+ samples: z.ZodArray<z.ZodObject<{
1654
+ id: z.ZodString;
1655
+ input: z.ZodJSONSchema;
1656
+ inputHash: z.ZodString;
1657
+ expected: z.ZodJSONSchema;
1658
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1659
+ calls: z.ZodNumber;
1660
+ receipts: z.ZodArray<z.ZodObject<{
1661
+ callId: z.ZodString;
1662
+ targetRef: z.ZodString;
1663
+ implementation: z.ZodString;
1664
+ implementationHash: z.ZodString;
1665
+ variant: z.ZodEnum<{
1666
+ baseline: "baseline";
1667
+ fault: "fault";
1668
+ }>;
1669
+ faultId: z.ZodOptional<z.ZodString>;
1670
+ input: z.ZodJSONSchema;
1671
+ output: z.ZodOptional<z.ZodJSONSchema>;
1672
+ error: z.ZodOptional<z.ZodString>;
1673
+ }, z.core.$strict>>;
1674
+ error: z.ZodOptional<z.ZodString>;
1675
+ index: z.ZodNumber;
1676
+ discarded: z.ZodBoolean;
1677
+ classes: z.ZodArray<z.ZodString>;
1678
+ }, z.core.$strict>>;
1679
+ counterexamples: z.ZodOptional<z.ZodArray<z.ZodObject<{
1680
+ sampleId: z.ZodString;
1681
+ seed: z.ZodString;
1682
+ originalInput: z.ZodJSONSchema;
1683
+ shrunkInput: z.ZodOptional<z.ZodJSONSchema>;
1684
+ shrunkSampleId: z.ZodOptional<z.ZodString>;
1685
+ replay: z.ZodOptional<z.ZodString>;
1686
+ }, z.core.$strict>>>;
1687
+ }, z.core.$strict>, z.ZodObject<{
1688
+ checkId: z.ZodString;
1689
+ checkHash: z.ZodString;
1690
+ complete: z.ZodBoolean;
1691
+ comparisonCount: z.ZodNumber;
1692
+ method: z.ZodLiteral<"sequence">;
1693
+ seed: z.ZodString;
1694
+ maxSteps: z.ZodNumber;
1695
+ traces: z.ZodArray<z.ZodObject<{
1696
+ id: z.ZodString;
1697
+ initialModel: z.ZodJSONSchema;
1698
+ initialExpected: z.ZodJSONSchema;
1699
+ initialActual: z.ZodJSONSchema;
1700
+ steps: z.ZodArray<z.ZodObject<{
1701
+ id: z.ZodString;
1702
+ input: z.ZodJSONSchema;
1703
+ inputHash: z.ZodString;
1704
+ expected: z.ZodJSONSchema;
1705
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1706
+ calls: z.ZodNumber;
1707
+ receipts: z.ZodArray<z.ZodObject<{
1708
+ callId: z.ZodString;
1709
+ targetRef: z.ZodString;
1710
+ implementation: z.ZodString;
1711
+ implementationHash: z.ZodString;
1712
+ variant: z.ZodEnum<{
1713
+ baseline: "baseline";
1714
+ fault: "fault";
1715
+ }>;
1716
+ faultId: z.ZodOptional<z.ZodString>;
1717
+ input: z.ZodJSONSchema;
1718
+ output: z.ZodOptional<z.ZodJSONSchema>;
1719
+ error: z.ZodOptional<z.ZodString>;
1720
+ }, z.core.$strict>>;
1721
+ error: z.ZodOptional<z.ZodString>;
1722
+ index: z.ZodNumber;
1723
+ action: z.ZodString;
1724
+ modelBefore: z.ZodJSONSchema;
1725
+ modelAfter: z.ZodJSONSchema;
1726
+ }, z.core.$strict>>;
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<"architecture">;
1734
+ files: z.ZodArray<z.ZodObject<{
1735
+ path: z.ZodString;
1736
+ sha256: z.ZodString;
1737
+ imports: z.ZodArray<z.ZodObject<{
1738
+ specifier: z.ZodString;
1739
+ resolved: z.ZodOptional<z.ZodString>;
1740
+ dynamic: z.ZodBoolean;
1741
+ supported: z.ZodBoolean;
1742
+ }, z.core.$strict>>;
1743
+ }, z.core.$strict>>;
1744
+ rules: z.ZodArray<z.ZodString>;
1745
+ violations: z.ZodArray<z.ZodObject<{
1746
+ ruleId: z.ZodString;
1747
+ file: z.ZodString;
1748
+ specifier: z.ZodString;
1749
+ }, z.core.$strict>>;
1750
+ unsupported: z.ZodArray<z.ZodObject<{
1751
+ file: z.ZodString;
1752
+ reason: z.ZodString;
1753
+ }, z.core.$strict>>;
1754
+ }, z.core.$strict>, z.ZodObject<{
1755
+ checkId: z.ZodString;
1756
+ checkHash: z.ZodString;
1757
+ complete: z.ZodBoolean;
1758
+ comparisonCount: z.ZodNumber;
1759
+ method: z.ZodLiteral<"journey">;
1760
+ entrypoint: z.ZodString;
1761
+ environment: z.ZodJSONSchema;
1762
+ mockBoundaries: z.ZodArray<z.ZodString>;
1763
+ steps: z.ZodArray<z.ZodObject<{
1764
+ id: z.ZodString;
1765
+ input: z.ZodJSONSchema;
1766
+ inputHash: z.ZodString;
1767
+ expected: z.ZodJSONSchema;
1768
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1769
+ calls: z.ZodNumber;
1770
+ receipts: z.ZodArray<z.ZodObject<{
1771
+ callId: z.ZodString;
1772
+ targetRef: z.ZodString;
1773
+ implementation: z.ZodString;
1774
+ implementationHash: z.ZodString;
1775
+ variant: z.ZodEnum<{
1776
+ baseline: "baseline";
1777
+ fault: "fault";
1778
+ }>;
1779
+ faultId: z.ZodOptional<z.ZodString>;
1780
+ input: z.ZodJSONSchema;
1781
+ output: z.ZodOptional<z.ZodJSONSchema>;
1782
+ error: z.ZodOptional<z.ZodString>;
1783
+ }, z.core.$strict>>;
1784
+ error: z.ZodOptional<z.ZodString>;
1785
+ action: z.ZodString;
1786
+ layers: z.ZodArray<z.ZodObject<{
1787
+ id: z.ZodString;
1788
+ sourceRef: z.ZodString;
1789
+ observations: z.ZodArray<z.ZodObject<{
1790
+ invocationId: z.ZodString;
1791
+ observationId: z.ZodString;
1792
+ targetRef: z.ZodString;
1793
+ mocked: z.ZodBoolean;
1794
+ input: z.ZodJSONSchema;
1795
+ actual: z.ZodJSONSchema;
1796
+ }, z.core.$strict>>;
1797
+ }, z.core.$strict>>;
1798
+ }, z.core.$strict>>;
1799
+ media: z.ZodArray<z.ZodObject<{
1800
+ ref: z.ZodString;
1801
+ sha256: z.ZodString;
1802
+ stepId: z.ZodString;
1803
+ }, z.core.$strict>>;
1804
+ }, z.core.$strict>], "method">;
1805
+ }, z.core.$strict>>;
1806
+ }, z.core.$strict>;
1807
+ export declare const AssuranceBundleSchema: z.ZodObject<{
1808
+ schemaVersion: z.ZodLiteral<1>;
1809
+ reports: z.ZodArray<z.ZodObject<{
1810
+ schemaVersion: z.ZodLiteral<1>;
1811
+ contractId: z.ZodString;
1812
+ revisionHash: z.ZodString;
1813
+ subject: z.ZodObject<{
1814
+ testedCommitSha: z.ZodString;
1815
+ sourceTreeHash: z.ZodString;
1816
+ }, z.core.$strict>;
1817
+ inputHashes: z.ZodRecord<z.ZodString, z.ZodString>;
1818
+ checks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1819
+ checkId: z.ZodString;
1820
+ checkHash: z.ZodString;
1821
+ complete: z.ZodBoolean;
1822
+ comparisonCount: z.ZodNumber;
1823
+ method: z.ZodLiteral<"example">;
1824
+ samples: z.ZodArray<z.ZodObject<{
1825
+ id: z.ZodString;
1826
+ input: z.ZodJSONSchema;
1827
+ inputHash: z.ZodString;
1828
+ expected: z.ZodJSONSchema;
1829
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1830
+ calls: z.ZodNumber;
1831
+ receipts: z.ZodArray<z.ZodObject<{
1832
+ callId: z.ZodString;
1833
+ targetRef: z.ZodString;
1834
+ implementation: z.ZodString;
1835
+ implementationHash: z.ZodString;
1836
+ variant: z.ZodEnum<{
1837
+ baseline: "baseline";
1838
+ fault: "fault";
1839
+ }>;
1840
+ faultId: z.ZodOptional<z.ZodString>;
1841
+ input: z.ZodJSONSchema;
1842
+ output: z.ZodOptional<z.ZodJSONSchema>;
1843
+ error: z.ZodOptional<z.ZodString>;
1844
+ }, z.core.$strict>>;
1845
+ error: z.ZodOptional<z.ZodString>;
1846
+ }, z.core.$strict>>;
1847
+ }, z.core.$strict>, z.ZodObject<{
1848
+ checkId: z.ZodString;
1849
+ checkHash: z.ZodString;
1850
+ complete: z.ZodBoolean;
1851
+ comparisonCount: z.ZodNumber;
1852
+ method: z.ZodLiteral<"effects">;
1853
+ scope: z.ZodArray<z.ZodString>;
1854
+ window: z.ZodObject<{
1855
+ settledBy: z.ZodString;
1856
+ durationMs: z.ZodNumber;
1857
+ }, z.core.$strict>;
1858
+ samples: z.ZodArray<z.ZodObject<{
1859
+ id: z.ZodString;
1860
+ input: z.ZodJSONSchema;
1861
+ inputHash: z.ZodString;
1862
+ expected: z.ZodJSONSchema;
1863
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1864
+ calls: z.ZodNumber;
1865
+ receipts: z.ZodArray<z.ZodObject<{
1866
+ callId: z.ZodString;
1867
+ targetRef: z.ZodString;
1868
+ implementation: z.ZodString;
1869
+ implementationHash: z.ZodString;
1870
+ variant: z.ZodEnum<{
1871
+ baseline: "baseline";
1872
+ fault: "fault";
1873
+ }>;
1874
+ faultId: z.ZodOptional<z.ZodString>;
1875
+ input: z.ZodJSONSchema;
1876
+ output: z.ZodOptional<z.ZodJSONSchema>;
1877
+ error: z.ZodOptional<z.ZodString>;
1878
+ }, z.core.$strict>>;
1879
+ error: z.ZodOptional<z.ZodString>;
1880
+ before: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1881
+ after: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1882
+ effects: z.ZodArray<z.ZodObject<{
1883
+ eventId: z.ZodString;
1884
+ id: z.ZodString;
1885
+ scope: z.ZodString;
1886
+ operation: z.ZodString;
1887
+ targetRef: z.ZodString;
1888
+ callId: z.ZodString;
1889
+ }, z.core.$strict>>;
1890
+ resourceObservations: z.ZodArray<z.ZodObject<{
1891
+ scope: z.ZodString;
1892
+ adapter: z.ZodString;
1893
+ adapterHash: z.ZodString;
1894
+ targets: z.ZodArray<z.ZodString>;
1895
+ callIds: z.ZodArray<z.ZodString>;
1896
+ elapsedMs: z.ZodNumber;
1897
+ settledBy: z.ZodString;
1898
+ settled: z.ZodBoolean;
1899
+ }, z.core.$strict>>;
1900
+ }, z.core.$strict>>;
1901
+ }, z.core.$strict>, z.ZodObject<{
1902
+ checkId: z.ZodString;
1903
+ checkHash: z.ZodString;
1904
+ complete: z.ZodBoolean;
1905
+ comparisonCount: z.ZodNumber;
1906
+ method: z.ZodLiteral<"property">;
1907
+ domain: z.ZodJSONSchema;
1908
+ seed: z.ZodString;
1909
+ runs: z.ZodNumber;
1910
+ valid: z.ZodNumber;
1911
+ discarded: z.ZodNumber;
1912
+ samples: z.ZodArray<z.ZodObject<{
1913
+ id: z.ZodString;
1914
+ input: z.ZodJSONSchema;
1915
+ inputHash: z.ZodString;
1916
+ expected: z.ZodJSONSchema;
1917
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1918
+ calls: z.ZodNumber;
1919
+ receipts: z.ZodArray<z.ZodObject<{
1920
+ callId: z.ZodString;
1921
+ targetRef: z.ZodString;
1922
+ implementation: z.ZodString;
1923
+ implementationHash: z.ZodString;
1924
+ variant: z.ZodEnum<{
1925
+ baseline: "baseline";
1926
+ fault: "fault";
1927
+ }>;
1928
+ faultId: z.ZodOptional<z.ZodString>;
1929
+ input: z.ZodJSONSchema;
1930
+ output: z.ZodOptional<z.ZodJSONSchema>;
1931
+ error: z.ZodOptional<z.ZodString>;
1932
+ }, z.core.$strict>>;
1933
+ error: z.ZodOptional<z.ZodString>;
1934
+ index: z.ZodNumber;
1935
+ discarded: z.ZodBoolean;
1936
+ classes: z.ZodArray<z.ZodString>;
1937
+ }, z.core.$strict>>;
1938
+ counterexamples: z.ZodOptional<z.ZodArray<z.ZodObject<{
1939
+ sampleId: z.ZodString;
1940
+ seed: z.ZodString;
1941
+ originalInput: z.ZodJSONSchema;
1942
+ shrunkInput: z.ZodOptional<z.ZodJSONSchema>;
1943
+ shrunkSampleId: z.ZodOptional<z.ZodString>;
1944
+ replay: z.ZodOptional<z.ZodString>;
1945
+ }, z.core.$strict>>>;
1946
+ }, z.core.$strict>, z.ZodObject<{
1947
+ checkId: z.ZodString;
1948
+ checkHash: z.ZodString;
1949
+ complete: z.ZodBoolean;
1950
+ comparisonCount: z.ZodNumber;
1951
+ method: z.ZodLiteral<"sequence">;
1952
+ seed: z.ZodString;
1953
+ maxSteps: z.ZodNumber;
1954
+ traces: z.ZodArray<z.ZodObject<{
1955
+ id: z.ZodString;
1956
+ initialModel: z.ZodJSONSchema;
1957
+ initialExpected: z.ZodJSONSchema;
1958
+ initialActual: z.ZodJSONSchema;
1959
+ steps: z.ZodArray<z.ZodObject<{
1960
+ id: z.ZodString;
1961
+ input: z.ZodJSONSchema;
1962
+ inputHash: z.ZodString;
1963
+ expected: z.ZodJSONSchema;
1964
+ actual: z.ZodOptional<z.ZodJSONSchema>;
1965
+ calls: z.ZodNumber;
1966
+ receipts: z.ZodArray<z.ZodObject<{
1967
+ callId: z.ZodString;
1968
+ targetRef: z.ZodString;
1969
+ implementation: z.ZodString;
1970
+ implementationHash: z.ZodString;
1971
+ variant: z.ZodEnum<{
1972
+ baseline: "baseline";
1973
+ fault: "fault";
1974
+ }>;
1975
+ faultId: z.ZodOptional<z.ZodString>;
1976
+ input: z.ZodJSONSchema;
1977
+ output: z.ZodOptional<z.ZodJSONSchema>;
1978
+ error: z.ZodOptional<z.ZodString>;
1979
+ }, z.core.$strict>>;
1980
+ error: z.ZodOptional<z.ZodString>;
1981
+ index: z.ZodNumber;
1982
+ action: z.ZodString;
1983
+ modelBefore: z.ZodJSONSchema;
1984
+ modelAfter: z.ZodJSONSchema;
1985
+ }, z.core.$strict>>;
1986
+ }, z.core.$strict>>;
1987
+ }, z.core.$strict>, z.ZodObject<{
1988
+ checkId: z.ZodString;
1989
+ checkHash: z.ZodString;
1990
+ complete: z.ZodBoolean;
1991
+ comparisonCount: z.ZodNumber;
1992
+ method: z.ZodLiteral<"architecture">;
1993
+ files: z.ZodArray<z.ZodObject<{
1994
+ path: z.ZodString;
1995
+ sha256: z.ZodString;
1996
+ imports: z.ZodArray<z.ZodObject<{
1997
+ specifier: z.ZodString;
1998
+ resolved: z.ZodOptional<z.ZodString>;
1999
+ dynamic: z.ZodBoolean;
2000
+ supported: z.ZodBoolean;
2001
+ }, z.core.$strict>>;
2002
+ }, z.core.$strict>>;
2003
+ rules: z.ZodArray<z.ZodString>;
2004
+ violations: z.ZodArray<z.ZodObject<{
2005
+ ruleId: z.ZodString;
2006
+ file: z.ZodString;
2007
+ specifier: z.ZodString;
2008
+ }, z.core.$strict>>;
2009
+ unsupported: z.ZodArray<z.ZodObject<{
2010
+ file: z.ZodString;
2011
+ reason: z.ZodString;
2012
+ }, z.core.$strict>>;
2013
+ }, z.core.$strict>, z.ZodObject<{
2014
+ checkId: z.ZodString;
2015
+ checkHash: z.ZodString;
2016
+ complete: z.ZodBoolean;
2017
+ comparisonCount: z.ZodNumber;
2018
+ method: z.ZodLiteral<"journey">;
2019
+ entrypoint: z.ZodString;
2020
+ environment: z.ZodJSONSchema;
2021
+ mockBoundaries: z.ZodArray<z.ZodString>;
2022
+ steps: z.ZodArray<z.ZodObject<{
2023
+ id: z.ZodString;
2024
+ input: z.ZodJSONSchema;
2025
+ inputHash: z.ZodString;
2026
+ expected: z.ZodJSONSchema;
2027
+ actual: z.ZodOptional<z.ZodJSONSchema>;
2028
+ calls: z.ZodNumber;
2029
+ receipts: z.ZodArray<z.ZodObject<{
2030
+ callId: z.ZodString;
2031
+ targetRef: z.ZodString;
2032
+ implementation: z.ZodString;
2033
+ implementationHash: z.ZodString;
2034
+ variant: z.ZodEnum<{
2035
+ baseline: "baseline";
2036
+ fault: "fault";
2037
+ }>;
2038
+ faultId: z.ZodOptional<z.ZodString>;
2039
+ input: z.ZodJSONSchema;
2040
+ output: z.ZodOptional<z.ZodJSONSchema>;
2041
+ error: z.ZodOptional<z.ZodString>;
2042
+ }, z.core.$strict>>;
2043
+ error: z.ZodOptional<z.ZodString>;
2044
+ action: z.ZodString;
2045
+ layers: z.ZodArray<z.ZodObject<{
2046
+ id: z.ZodString;
2047
+ sourceRef: z.ZodString;
2048
+ observations: z.ZodArray<z.ZodObject<{
2049
+ invocationId: z.ZodString;
2050
+ observationId: z.ZodString;
2051
+ targetRef: z.ZodString;
2052
+ mocked: z.ZodBoolean;
2053
+ input: z.ZodJSONSchema;
2054
+ actual: z.ZodJSONSchema;
2055
+ }, z.core.$strict>>;
2056
+ }, z.core.$strict>>;
2057
+ }, z.core.$strict>>;
2058
+ media: z.ZodArray<z.ZodObject<{
2059
+ ref: z.ZodString;
2060
+ sha256: z.ZodString;
2061
+ stepId: z.ZodString;
2062
+ }, z.core.$strict>>;
2063
+ }, z.core.$strict>], "method">>;
2064
+ faults: z.ZodArray<z.ZodObject<{
2065
+ faultId: z.ZodString;
2066
+ checkId: z.ZodString;
2067
+ implementationHash: z.ZodString;
2068
+ observation: z.ZodDiscriminatedUnion<[z.ZodObject<{
2069
+ checkId: z.ZodString;
2070
+ checkHash: z.ZodString;
2071
+ complete: z.ZodBoolean;
2072
+ comparisonCount: z.ZodNumber;
2073
+ method: z.ZodLiteral<"example">;
2074
+ samples: z.ZodArray<z.ZodObject<{
2075
+ id: z.ZodString;
2076
+ input: z.ZodJSONSchema;
2077
+ inputHash: z.ZodString;
2078
+ expected: z.ZodJSONSchema;
2079
+ actual: z.ZodOptional<z.ZodJSONSchema>;
2080
+ calls: z.ZodNumber;
2081
+ receipts: z.ZodArray<z.ZodObject<{
2082
+ callId: z.ZodString;
2083
+ targetRef: z.ZodString;
2084
+ implementation: z.ZodString;
2085
+ implementationHash: z.ZodString;
2086
+ variant: z.ZodEnum<{
2087
+ baseline: "baseline";
2088
+ fault: "fault";
2089
+ }>;
2090
+ faultId: z.ZodOptional<z.ZodString>;
2091
+ input: z.ZodJSONSchema;
2092
+ output: z.ZodOptional<z.ZodJSONSchema>;
2093
+ error: z.ZodOptional<z.ZodString>;
2094
+ }, z.core.$strict>>;
2095
+ error: z.ZodOptional<z.ZodString>;
2096
+ }, z.core.$strict>>;
2097
+ }, z.core.$strict>, z.ZodObject<{
2098
+ checkId: z.ZodString;
2099
+ checkHash: z.ZodString;
2100
+ complete: z.ZodBoolean;
2101
+ comparisonCount: z.ZodNumber;
2102
+ method: z.ZodLiteral<"effects">;
2103
+ scope: z.ZodArray<z.ZodString>;
2104
+ window: z.ZodObject<{
2105
+ settledBy: z.ZodString;
2106
+ durationMs: z.ZodNumber;
2107
+ }, z.core.$strict>;
2108
+ samples: z.ZodArray<z.ZodObject<{
2109
+ id: z.ZodString;
2110
+ input: z.ZodJSONSchema;
2111
+ inputHash: z.ZodString;
2112
+ expected: z.ZodJSONSchema;
2113
+ actual: z.ZodOptional<z.ZodJSONSchema>;
2114
+ calls: z.ZodNumber;
2115
+ receipts: z.ZodArray<z.ZodObject<{
2116
+ callId: z.ZodString;
2117
+ targetRef: z.ZodString;
2118
+ implementation: z.ZodString;
2119
+ implementationHash: z.ZodString;
2120
+ variant: z.ZodEnum<{
2121
+ baseline: "baseline";
2122
+ fault: "fault";
2123
+ }>;
2124
+ faultId: z.ZodOptional<z.ZodString>;
2125
+ input: z.ZodJSONSchema;
2126
+ output: z.ZodOptional<z.ZodJSONSchema>;
2127
+ error: z.ZodOptional<z.ZodString>;
2128
+ }, z.core.$strict>>;
2129
+ error: z.ZodOptional<z.ZodString>;
2130
+ before: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
2131
+ after: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
2132
+ effects: z.ZodArray<z.ZodObject<{
2133
+ eventId: z.ZodString;
2134
+ id: z.ZodString;
2135
+ scope: z.ZodString;
2136
+ operation: z.ZodString;
2137
+ targetRef: z.ZodString;
2138
+ callId: z.ZodString;
2139
+ }, z.core.$strict>>;
2140
+ resourceObservations: z.ZodArray<z.ZodObject<{
2141
+ scope: z.ZodString;
2142
+ adapter: z.ZodString;
2143
+ adapterHash: z.ZodString;
2144
+ targets: z.ZodArray<z.ZodString>;
2145
+ callIds: z.ZodArray<z.ZodString>;
2146
+ elapsedMs: z.ZodNumber;
2147
+ settledBy: z.ZodString;
2148
+ settled: z.ZodBoolean;
2149
+ }, z.core.$strict>>;
2150
+ }, z.core.$strict>>;
2151
+ }, z.core.$strict>, z.ZodObject<{
2152
+ checkId: z.ZodString;
2153
+ checkHash: z.ZodString;
2154
+ complete: z.ZodBoolean;
2155
+ comparisonCount: z.ZodNumber;
2156
+ method: z.ZodLiteral<"property">;
2157
+ domain: z.ZodJSONSchema;
2158
+ seed: z.ZodString;
2159
+ runs: z.ZodNumber;
2160
+ valid: z.ZodNumber;
2161
+ discarded: z.ZodNumber;
2162
+ samples: z.ZodArray<z.ZodObject<{
2163
+ id: z.ZodString;
2164
+ input: z.ZodJSONSchema;
2165
+ inputHash: z.ZodString;
2166
+ expected: z.ZodJSONSchema;
2167
+ actual: z.ZodOptional<z.ZodJSONSchema>;
2168
+ calls: z.ZodNumber;
2169
+ receipts: z.ZodArray<z.ZodObject<{
2170
+ callId: z.ZodString;
2171
+ targetRef: z.ZodString;
2172
+ implementation: z.ZodString;
2173
+ implementationHash: z.ZodString;
2174
+ variant: z.ZodEnum<{
2175
+ baseline: "baseline";
2176
+ fault: "fault";
2177
+ }>;
2178
+ faultId: z.ZodOptional<z.ZodString>;
2179
+ input: z.ZodJSONSchema;
2180
+ output: z.ZodOptional<z.ZodJSONSchema>;
2181
+ error: z.ZodOptional<z.ZodString>;
2182
+ }, z.core.$strict>>;
2183
+ error: z.ZodOptional<z.ZodString>;
2184
+ index: z.ZodNumber;
2185
+ discarded: z.ZodBoolean;
2186
+ classes: z.ZodArray<z.ZodString>;
2187
+ }, z.core.$strict>>;
2188
+ counterexamples: z.ZodOptional<z.ZodArray<z.ZodObject<{
2189
+ sampleId: z.ZodString;
2190
+ seed: z.ZodString;
2191
+ originalInput: z.ZodJSONSchema;
2192
+ shrunkInput: z.ZodOptional<z.ZodJSONSchema>;
2193
+ shrunkSampleId: z.ZodOptional<z.ZodString>;
2194
+ replay: z.ZodOptional<z.ZodString>;
2195
+ }, z.core.$strict>>>;
2196
+ }, z.core.$strict>, z.ZodObject<{
2197
+ checkId: z.ZodString;
2198
+ checkHash: z.ZodString;
2199
+ complete: z.ZodBoolean;
2200
+ comparisonCount: z.ZodNumber;
2201
+ method: z.ZodLiteral<"sequence">;
2202
+ seed: z.ZodString;
2203
+ maxSteps: z.ZodNumber;
2204
+ traces: z.ZodArray<z.ZodObject<{
2205
+ id: z.ZodString;
2206
+ initialModel: z.ZodJSONSchema;
2207
+ initialExpected: z.ZodJSONSchema;
2208
+ initialActual: z.ZodJSONSchema;
2209
+ steps: z.ZodArray<z.ZodObject<{
2210
+ id: z.ZodString;
2211
+ input: z.ZodJSONSchema;
2212
+ inputHash: z.ZodString;
2213
+ expected: z.ZodJSONSchema;
2214
+ actual: z.ZodOptional<z.ZodJSONSchema>;
2215
+ calls: z.ZodNumber;
2216
+ receipts: z.ZodArray<z.ZodObject<{
2217
+ callId: z.ZodString;
2218
+ targetRef: z.ZodString;
2219
+ implementation: z.ZodString;
2220
+ implementationHash: z.ZodString;
2221
+ variant: z.ZodEnum<{
2222
+ baseline: "baseline";
2223
+ fault: "fault";
2224
+ }>;
2225
+ faultId: z.ZodOptional<z.ZodString>;
2226
+ input: z.ZodJSONSchema;
2227
+ output: z.ZodOptional<z.ZodJSONSchema>;
2228
+ error: z.ZodOptional<z.ZodString>;
2229
+ }, z.core.$strict>>;
2230
+ error: z.ZodOptional<z.ZodString>;
2231
+ index: z.ZodNumber;
2232
+ action: z.ZodString;
2233
+ modelBefore: z.ZodJSONSchema;
2234
+ modelAfter: z.ZodJSONSchema;
2235
+ }, z.core.$strict>>;
2236
+ }, z.core.$strict>>;
2237
+ }, z.core.$strict>, z.ZodObject<{
2238
+ checkId: z.ZodString;
2239
+ checkHash: z.ZodString;
2240
+ complete: z.ZodBoolean;
2241
+ comparisonCount: z.ZodNumber;
2242
+ method: z.ZodLiteral<"architecture">;
2243
+ files: z.ZodArray<z.ZodObject<{
2244
+ path: z.ZodString;
2245
+ sha256: z.ZodString;
2246
+ imports: z.ZodArray<z.ZodObject<{
2247
+ specifier: z.ZodString;
2248
+ resolved: z.ZodOptional<z.ZodString>;
2249
+ dynamic: z.ZodBoolean;
2250
+ supported: z.ZodBoolean;
2251
+ }, z.core.$strict>>;
2252
+ }, z.core.$strict>>;
2253
+ rules: z.ZodArray<z.ZodString>;
2254
+ violations: z.ZodArray<z.ZodObject<{
2255
+ ruleId: z.ZodString;
2256
+ file: z.ZodString;
2257
+ specifier: z.ZodString;
2258
+ }, z.core.$strict>>;
2259
+ unsupported: z.ZodArray<z.ZodObject<{
2260
+ file: z.ZodString;
2261
+ reason: z.ZodString;
2262
+ }, z.core.$strict>>;
2263
+ }, z.core.$strict>, z.ZodObject<{
2264
+ checkId: z.ZodString;
2265
+ checkHash: z.ZodString;
2266
+ complete: z.ZodBoolean;
2267
+ comparisonCount: z.ZodNumber;
2268
+ method: z.ZodLiteral<"journey">;
2269
+ entrypoint: z.ZodString;
2270
+ environment: z.ZodJSONSchema;
2271
+ mockBoundaries: z.ZodArray<z.ZodString>;
2272
+ steps: z.ZodArray<z.ZodObject<{
2273
+ id: z.ZodString;
2274
+ input: z.ZodJSONSchema;
2275
+ inputHash: z.ZodString;
2276
+ expected: z.ZodJSONSchema;
2277
+ actual: z.ZodOptional<z.ZodJSONSchema>;
2278
+ calls: z.ZodNumber;
2279
+ receipts: z.ZodArray<z.ZodObject<{
2280
+ callId: z.ZodString;
2281
+ targetRef: z.ZodString;
2282
+ implementation: z.ZodString;
2283
+ implementationHash: z.ZodString;
2284
+ variant: z.ZodEnum<{
2285
+ baseline: "baseline";
2286
+ fault: "fault";
2287
+ }>;
2288
+ faultId: z.ZodOptional<z.ZodString>;
2289
+ input: z.ZodJSONSchema;
2290
+ output: z.ZodOptional<z.ZodJSONSchema>;
2291
+ error: z.ZodOptional<z.ZodString>;
2292
+ }, z.core.$strict>>;
2293
+ error: z.ZodOptional<z.ZodString>;
2294
+ action: z.ZodString;
2295
+ layers: z.ZodArray<z.ZodObject<{
2296
+ id: z.ZodString;
2297
+ sourceRef: z.ZodString;
2298
+ observations: z.ZodArray<z.ZodObject<{
2299
+ invocationId: z.ZodString;
2300
+ observationId: z.ZodString;
2301
+ targetRef: z.ZodString;
2302
+ mocked: z.ZodBoolean;
2303
+ input: z.ZodJSONSchema;
2304
+ actual: z.ZodJSONSchema;
2305
+ }, z.core.$strict>>;
2306
+ }, z.core.$strict>>;
2307
+ }, z.core.$strict>>;
2308
+ media: z.ZodArray<z.ZodObject<{
2309
+ ref: z.ZodString;
2310
+ sha256: z.ZodString;
2311
+ stepId: z.ZodString;
2312
+ }, z.core.$strict>>;
2313
+ }, z.core.$strict>], "method">;
2314
+ }, z.core.$strict>>;
2315
+ }, z.core.$strict>>;
2316
+ }, z.core.$strict>;
2317
+ export type AssuranceMethod = z.infer<typeof AssuranceMethodSchema>;
2318
+ export type AssuranceExampleCheck = z.infer<typeof AssuranceExampleCheckSchema>;
2319
+ export type AssuranceEffectsCheck = z.infer<typeof AssuranceEffectsCheckSchema>;
2320
+ export type AssurancePropertyCheck = z.infer<typeof AssurancePropertyCheckSchema>;
2321
+ export type AssuranceSequenceCheck = z.infer<typeof AssuranceSequenceCheckSchema>;
2322
+ export type AssuranceArchitectureCheck = z.infer<typeof AssuranceArchitectureCheckSchema>;
2323
+ export type AssuranceArchitectureRule = z.infer<typeof AssuranceArchitectureRuleSchema>;
2324
+ export type AssuranceJourneyCheck = z.infer<typeof AssuranceJourneyCheckSchema>;
2325
+ export type AssuranceLayerBinding = z.infer<typeof AssuranceLayerBindingSchema>;
2326
+ export type AssuranceDefinition = z.infer<typeof AssuranceDefinitionSchema>;
2327
+ export type AssuranceCondition = z.infer<typeof AssuranceConditionSchema>;
2328
+ export type AssuranceCheck = z.infer<typeof AssuranceCheckSchema>;
2329
+ export type AssuranceFaultDefinition = z.infer<typeof AssuranceFaultDefinitionSchema>;
2330
+ export type AssuranceFaultSelector = z.infer<typeof AssuranceFaultSelectorSchema>;
2331
+ export type AssuranceConfig = z.infer<typeof AssuranceConfigSchema>;
2332
+ export type AssuranceInputHashes = z.infer<typeof AssuranceInputHashesSchema>;
2333
+ export type AssuranceCallReceipt = z.infer<typeof AssuranceCallReceiptSchema>;
2334
+ export type AssuranceEffectEvent = z.infer<typeof AssuranceEffectEventSchema>;
2335
+ export type AssuranceResource = z.infer<typeof AssuranceResourceSchema>;
2336
+ export type AssuranceResourceObservation = z.infer<typeof AssuranceResourceObservationSchema>;
2337
+ export type AssuranceCounterexample = z.infer<typeof AssuranceCounterexampleSchema>;
2338
+ export type AssuranceLayerReceipt = z.infer<typeof AssuranceLayerReceiptSchema>;
2339
+ export type AssuranceMedia = z.infer<typeof AssuranceMediaSchema>;
2340
+ export type AssuranceImportObservation = z.infer<typeof AssuranceImportObservationSchema>;
2341
+ export type AssuranceArchitectureViolation = z.infer<typeof AssuranceArchitectureViolationSchema>;
2342
+ export type AssuranceComparison = z.infer<typeof AssuranceComparisonSchema>;
2343
+ export type AssuranceObservation = z.infer<typeof AssuranceObservationSchema>;
2344
+ export type AssuranceExampleObservation = z.infer<typeof AssuranceExampleObservationSchema>;
2345
+ export type AssuranceEffectsObservation = z.infer<typeof AssuranceEffectsObservationSchema>;
2346
+ export type AssurancePropertyObservation = z.infer<typeof AssurancePropertyObservationSchema>;
2347
+ export type AssuranceSequenceObservation = z.infer<typeof AssuranceSequenceObservationSchema>;
2348
+ export type AssuranceArchitectureObservation = z.infer<typeof AssuranceArchitectureObservationSchema>;
2349
+ export type AssuranceJourneyObservation = z.infer<typeof AssuranceJourneyObservationSchema>;
2350
+ export type AssuranceFaultObservation = z.infer<typeof AssuranceFaultObservationSchema>;
2351
+ export type AssuranceReport = z.infer<typeof AssuranceReportSchema>;
2352
+ export type AssuranceBundle = z.infer<typeof AssuranceBundleSchema>;
2353
+ export type AssuranceSubject = z.infer<typeof AssuranceSubjectSchema>;
2354
+ export type AssuranceStatus = 'pass' | 'fail' | 'unknown';
2355
+ export type AssuranceExpectation = {
2356
+ contractId: string;
2357
+ revisionHash: string;
2358
+ subject: AssuranceSubject;
2359
+ inputHashes: AssuranceInputHashes;
2360
+ implementationSources: readonly string[];
2361
+ checkHashes: Record<string, string>;
2362
+ authenticatedReportHashes: readonly string[];
2363
+ authenticatedMedia?: Record<string, string>;
2364
+ };
2365
+ export type AssuranceCheckEvaluation = {
2366
+ checkId: string;
2367
+ method: AssuranceMethod;
2368
+ status: AssuranceStatus;
2369
+ reasons: string[];
2370
+ comparisons: number;
2371
+ implementationCalls: number;
2372
+ scope: AssuranceCheck;
2373
+ };
2374
+ export type AssuranceFaultEvaluation = {
2375
+ faultId: string;
2376
+ checkId: string;
2377
+ status: AssuranceStatus;
2378
+ reasons: string[];
2379
+ };
2380
+ export type AssuranceConditionEvaluation = {
2381
+ conditionId: string;
2382
+ kind: AssuranceCondition['kind'];
2383
+ statement: string;
2384
+ status: AssuranceStatus;
2385
+ checkIds: string[];
2386
+ faults: AssuranceFaultEvaluation[];
2387
+ reasons: string[];
2388
+ };
2389
+ export type AssuranceEvaluation = {
2390
+ status: AssuranceStatus;
2391
+ conditions: AssuranceConditionEvaluation[];
2392
+ checks: AssuranceCheckEvaluation[];
2393
+ reasons: string[];
2394
+ };
2395
+ /** The driver cannot authenticate its own output. Callers supply membership only
2396
+ * after Collector provenance and current protected-input validation succeed. */
2397
+ export declare function evaluateAssuranceConditions(definition: AssuranceDefinition, reports: readonly unknown[], expected: AssuranceExpectation): AssuranceEvaluation;
2398
+ //# sourceMappingURL=assurance.d.ts.map