@fro.bot/systematic 3.18.3 → 3.18.4

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.
@@ -0,0 +1,1446 @@
1
+ import { z } from 'zod';
2
+ export declare const ScreenInputSchema: z.ZodObject<{
3
+ raw_return: z.ZodObject<{
4
+ reviewer: z.ZodString;
5
+ findings: z.ZodArray<z.ZodObject<{
6
+ title: z.ZodString;
7
+ severity: z.ZodEnum<{
8
+ P0: "P0";
9
+ P1: "P1";
10
+ P2: "P2";
11
+ P3: "P3";
12
+ }>;
13
+ file: z.ZodString;
14
+ line: z.ZodNumber;
15
+ why_it_matters: z.ZodString;
16
+ autofix_class: z.ZodEnum<{
17
+ advisory: "advisory";
18
+ gated_auto: "gated_auto";
19
+ manual: "manual";
20
+ safe_auto: "safe_auto";
21
+ }>;
22
+ owner: z.ZodEnum<{
23
+ "downstream-resolver": "downstream-resolver";
24
+ human: "human";
25
+ release: "release";
26
+ "review-fixer": "review-fixer";
27
+ }>;
28
+ requires_verification: z.ZodBoolean;
29
+ suggested_fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ confidence: z.ZodNumber;
31
+ evidence: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
32
+ overflow: z.ZodLiteral<true>;
33
+ excerpt: z.ZodString;
34
+ }, z.core.$strict>]>>;
35
+ pre_existing: z.ZodBoolean;
36
+ }, z.core.$strict>>;
37
+ residual_risks: z.ZodArray<z.ZodString>;
38
+ testing_gaps: z.ZodArray<z.ZodString>;
39
+ }, z.core.$strict>;
40
+ expected_reviewer: z.ZodString;
41
+ invoking_harness: z.ZodEnum<{
42
+ "claude-code": "claude-code";
43
+ opencode: "opencode";
44
+ pi: "pi";
45
+ }>;
46
+ }, z.core.$strict>;
47
+ export declare const ScreenRejectedSummarySchema: z.ZodObject<{
48
+ dispatch_outcome: z.ZodEnum<{
49
+ empty: "empty";
50
+ findings: "findings";
51
+ malformed: "malformed";
52
+ never_returned: "never_returned";
53
+ }>;
54
+ rejected_finding_count: z.ZodNumber;
55
+ rejected_severities: z.ZodArray<z.ZodEnum<{
56
+ P0: "P0";
57
+ P1: "P1";
58
+ P2: "P2";
59
+ P3: "P3";
60
+ unknown: "unknown";
61
+ }>>;
62
+ reason: z.ZodString;
63
+ }, z.core.$strict>;
64
+ export declare const ScreenOutputSchema: z.ZodObject<{
65
+ dispatch_outcome: z.ZodEnum<{
66
+ empty: "empty";
67
+ findings: "findings";
68
+ malformed: "malformed";
69
+ never_returned: "never_returned";
70
+ validation_unavailable: "validation_unavailable";
71
+ }>;
72
+ admitted_findings: z.ZodArray<z.ZodObject<{
73
+ title: z.ZodString;
74
+ severity: z.ZodEnum<{
75
+ P0: "P0";
76
+ P1: "P1";
77
+ P2: "P2";
78
+ P3: "P3";
79
+ }>;
80
+ file: z.ZodString;
81
+ line: z.ZodNumber;
82
+ why_it_matters: z.ZodString;
83
+ autofix_class: z.ZodEnum<{
84
+ advisory: "advisory";
85
+ gated_auto: "gated_auto";
86
+ manual: "manual";
87
+ safe_auto: "safe_auto";
88
+ }>;
89
+ owner: z.ZodEnum<{
90
+ "downstream-resolver": "downstream-resolver";
91
+ human: "human";
92
+ release: "release";
93
+ "review-fixer": "review-fixer";
94
+ }>;
95
+ requires_verification: z.ZodBoolean;
96
+ suggested_fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
+ confidence: z.ZodNumber;
98
+ evidence: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
99
+ overflow: z.ZodLiteral<true>;
100
+ excerpt: z.ZodString;
101
+ }, z.core.$strict>]>>;
102
+ pre_existing: z.ZodBoolean;
103
+ input_id: z.ZodString;
104
+ disposition: z.ZodEnum<{
105
+ filtered: "filtered";
106
+ merged: "merged";
107
+ suppressed: "suppressed";
108
+ surviving: "surviving";
109
+ }>;
110
+ }, z.core.$strict>>;
111
+ rejected_summary: z.ZodOptional<z.ZodObject<{
112
+ dispatch_outcome: z.ZodEnum<{
113
+ empty: "empty";
114
+ findings: "findings";
115
+ malformed: "malformed";
116
+ never_returned: "never_returned";
117
+ }>;
118
+ rejected_finding_count: z.ZodNumber;
119
+ rejected_severities: z.ZodArray<z.ZodEnum<{
120
+ P0: "P0";
121
+ P1: "P1";
122
+ P2: "P2";
123
+ P3: "P3";
124
+ unknown: "unknown";
125
+ }>>;
126
+ reason: z.ZodString;
127
+ }, z.core.$strict>>;
128
+ residual_risks: z.ZodArray<z.ZodString>;
129
+ testing_gaps: z.ZodArray<z.ZodString>;
130
+ harness: z.ZodEnum<{
131
+ "claude-code": "claude-code";
132
+ opencode: "opencode";
133
+ pi: "pi";
134
+ }>;
135
+ }, z.core.$strict>;
136
+ export declare const PrepareInputSchema: z.ZodObject<{
137
+ screen_results: z.ZodArray<z.ZodObject<{
138
+ reviewer: z.ZodString;
139
+ result: z.ZodObject<{
140
+ dispatch_outcome: z.ZodEnum<{
141
+ empty: "empty";
142
+ findings: "findings";
143
+ malformed: "malformed";
144
+ never_returned: "never_returned";
145
+ validation_unavailable: "validation_unavailable";
146
+ }>;
147
+ admitted_findings: z.ZodArray<z.ZodObject<{
148
+ title: z.ZodString;
149
+ severity: z.ZodEnum<{
150
+ P0: "P0";
151
+ P1: "P1";
152
+ P2: "P2";
153
+ P3: "P3";
154
+ }>;
155
+ file: z.ZodString;
156
+ line: z.ZodNumber;
157
+ why_it_matters: z.ZodString;
158
+ autofix_class: z.ZodEnum<{
159
+ advisory: "advisory";
160
+ gated_auto: "gated_auto";
161
+ manual: "manual";
162
+ safe_auto: "safe_auto";
163
+ }>;
164
+ owner: z.ZodEnum<{
165
+ "downstream-resolver": "downstream-resolver";
166
+ human: "human";
167
+ release: "release";
168
+ "review-fixer": "review-fixer";
169
+ }>;
170
+ requires_verification: z.ZodBoolean;
171
+ suggested_fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
172
+ confidence: z.ZodNumber;
173
+ evidence: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
174
+ overflow: z.ZodLiteral<true>;
175
+ excerpt: z.ZodString;
176
+ }, z.core.$strict>]>>;
177
+ pre_existing: z.ZodBoolean;
178
+ input_id: z.ZodString;
179
+ disposition: z.ZodEnum<{
180
+ filtered: "filtered";
181
+ merged: "merged";
182
+ suppressed: "suppressed";
183
+ surviving: "surviving";
184
+ }>;
185
+ }, z.core.$strict>>;
186
+ rejected_summary: z.ZodOptional<z.ZodObject<{
187
+ dispatch_outcome: z.ZodEnum<{
188
+ empty: "empty";
189
+ findings: "findings";
190
+ malformed: "malformed";
191
+ never_returned: "never_returned";
192
+ }>;
193
+ rejected_finding_count: z.ZodNumber;
194
+ rejected_severities: z.ZodArray<z.ZodEnum<{
195
+ P0: "P0";
196
+ P1: "P1";
197
+ P2: "P2";
198
+ P3: "P3";
199
+ unknown: "unknown";
200
+ }>>;
201
+ reason: z.ZodString;
202
+ }, z.core.$strict>>;
203
+ residual_risks: z.ZodArray<z.ZodString>;
204
+ testing_gaps: z.ZodArray<z.ZodString>;
205
+ harness: z.ZodEnum<{
206
+ "claude-code": "claude-code";
207
+ opencode: "opencode";
208
+ pi: "pi";
209
+ }>;
210
+ }, z.core.$strict>;
211
+ }, z.core.$strict>>;
212
+ selected_dispatches: z.ZodArray<z.ZodObject<{
213
+ persona: z.ZodString;
214
+ dispatch_outcome: z.ZodEnum<{
215
+ empty: "empty";
216
+ findings: "findings";
217
+ malformed: "malformed";
218
+ never_returned: "never_returned";
219
+ validation_unavailable: "validation_unavailable";
220
+ }>;
221
+ selection_surface: z.ZodOptional<z.ZodArray<z.ZodString>>;
222
+ selection_reason: z.ZodOptional<z.ZodString>;
223
+ }, z.core.$strict>>;
224
+ }, z.core.$strict>;
225
+ export declare const PrepareOutputSchema: z.ZodObject<{
226
+ confidence_dispositions: z.ZodArray<z.ZodObject<{
227
+ input_id: z.ZodString;
228
+ disposition: z.ZodEnum<{
229
+ suppressed: "suppressed";
230
+ surviving: "surviving";
231
+ }>;
232
+ confidence: z.ZodNumber;
233
+ reason: z.ZodOptional<z.ZodString>;
234
+ }, z.core.$strict>>;
235
+ coverage_union: z.ZodArray<z.ZodString>;
236
+ singletons: z.ZodArray<z.ZodString>;
237
+ candidate_groups: z.ZodArray<z.ZodObject<{
238
+ file: z.ZodString;
239
+ members: z.ZodArray<z.ZodObject<{
240
+ input_id: z.ZodString;
241
+ line: z.ZodNumber;
242
+ }, z.core.$strict>>;
243
+ }, z.core.$strict>>;
244
+ surviving_findings: z.ZodArray<z.ZodObject<{
245
+ title: z.ZodString;
246
+ severity: z.ZodEnum<{
247
+ P0: "P0";
248
+ P1: "P1";
249
+ P2: "P2";
250
+ P3: "P3";
251
+ }>;
252
+ file: z.ZodString;
253
+ line: z.ZodNumber;
254
+ why_it_matters: z.ZodString;
255
+ autofix_class: z.ZodEnum<{
256
+ advisory: "advisory";
257
+ gated_auto: "gated_auto";
258
+ manual: "manual";
259
+ safe_auto: "safe_auto";
260
+ }>;
261
+ owner: z.ZodEnum<{
262
+ "downstream-resolver": "downstream-resolver";
263
+ human: "human";
264
+ release: "release";
265
+ "review-fixer": "review-fixer";
266
+ }>;
267
+ requires_verification: z.ZodBoolean;
268
+ suggested_fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
269
+ confidence: z.ZodNumber;
270
+ evidence: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
271
+ overflow: z.ZodLiteral<true>;
272
+ excerpt: z.ZodString;
273
+ }, z.core.$strict>]>>;
274
+ pre_existing: z.ZodBoolean;
275
+ disposition: z.ZodEnum<{
276
+ filtered: "filtered";
277
+ merged: "merged";
278
+ rejected: "rejected";
279
+ suppressed: "suppressed";
280
+ surviving: "surviving";
281
+ }>;
282
+ input_id: z.ZodString;
283
+ reviewer: z.ZodString;
284
+ }, z.core.$strict>>;
285
+ }, z.core.$strict>;
286
+ export declare const PER_FINDING_BYTE_ASSUMPTION = 8192;
287
+ export declare const AGGREGATE_BYTE_CAP_HEADROOM = 65536;
288
+ export declare const AGGREGATE_STDIN_BYTE_CAP: number;
289
+ declare const AutofixClassRouteSchema: z.ZodEnum<{
290
+ advisory: "advisory";
291
+ gated_auto: "gated_auto";
292
+ manual: "manual";
293
+ safe_auto: "safe_auto";
294
+ }>;
295
+ declare const OwnerRouteSchema: z.ZodEnum<{
296
+ "downstream-resolver": "downstream-resolver";
297
+ human: "human";
298
+ release: "release";
299
+ "review-fixer": "review-fixer";
300
+ }>;
301
+ type AutofixClass = z.infer<typeof AutofixClassRouteSchema>;
302
+ type Owner = z.infer<typeof OwnerRouteSchema>;
303
+ export declare const ROUTE_REFUSAL_TABLE: {
304
+ readonly autofix_class: Record<"advisory" | "gated_auto" | "manual" | "safe_auto", readonly ("advisory" | "gated_auto" | "manual" | "safe_auto")[]>;
305
+ readonly owner: Record<"downstream-resolver" | "human" | "release" | "review-fixer", readonly ("downstream-resolver" | "human" | "release" | "review-fixer")[]>;
306
+ readonly requires_verification: Record<"false" | "true", readonly ("false" | "true")[]>;
307
+ };
308
+ export interface PipelineRoute {
309
+ autofix_class: AutofixClass;
310
+ owner: Owner;
311
+ requires_verification: boolean;
312
+ }
313
+ /**
314
+ * A route transition is allowed only when every field independently narrows
315
+ * (or stays the same); any widening or incomparable field refuses the whole
316
+ * transition.
317
+ */
318
+ export declare const isRouteTransitionAllowed: (from: PipelineRoute, to: PipelineRoute) => boolean;
319
+ export declare const AdjudicationEnvelopeSchema: z.ZodObject<{
320
+ decisions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
321
+ decision_id: z.ZodString;
322
+ disposition: z.ZodLiteral<"merged">;
323
+ input_finding_ids: z.ZodArray<z.ZodString>;
324
+ title: z.ZodString;
325
+ why_it_matters: z.ZodString;
326
+ evidence: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
327
+ overflow: z.ZodLiteral<true>;
328
+ excerpt: z.ZodString;
329
+ }, z.core.$strict>]>>;
330
+ suggested_fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
+ line: z.ZodNumber;
332
+ disagreement_facts: z.ZodOptional<z.ZodArray<z.ZodString>>;
333
+ eligible_agreement_credit: z.ZodOptional<z.ZodArray<z.ZodString>>;
334
+ proposed_route: z.ZodOptional<z.ZodObject<{
335
+ autofix_class: z.ZodEnum<{
336
+ advisory: "advisory";
337
+ gated_auto: "gated_auto";
338
+ manual: "manual";
339
+ safe_auto: "safe_auto";
340
+ }>;
341
+ owner: z.ZodEnum<{
342
+ "downstream-resolver": "downstream-resolver";
343
+ human: "human";
344
+ release: "release";
345
+ "review-fixer": "review-fixer";
346
+ }>;
347
+ requires_verification: z.ZodBoolean;
348
+ }, z.core.$strict>>;
349
+ route_narrowing_reason: z.ZodOptional<z.ZodString>;
350
+ }, z.core.$strict>, z.ZodObject<{
351
+ decision_id: z.ZodString;
352
+ disposition: z.ZodLiteral<"declined">;
353
+ input_finding_id: z.ZodString;
354
+ declined_reason: z.ZodString;
355
+ disagreement_facts: z.ZodOptional<z.ZodArray<z.ZodString>>;
356
+ proposed_route: z.ZodOptional<z.ZodObject<{
357
+ autofix_class: z.ZodEnum<{
358
+ advisory: "advisory";
359
+ gated_auto: "gated_auto";
360
+ manual: "manual";
361
+ safe_auto: "safe_auto";
362
+ }>;
363
+ owner: z.ZodEnum<{
364
+ "downstream-resolver": "downstream-resolver";
365
+ human: "human";
366
+ release: "release";
367
+ "review-fixer": "review-fixer";
368
+ }>;
369
+ requires_verification: z.ZodBoolean;
370
+ }, z.core.$strict>>;
371
+ route_narrowing_reason: z.ZodOptional<z.ZodString>;
372
+ }, z.core.$strict>], "disposition">>;
373
+ }, z.core.$strict>;
374
+ export declare const MergeInputSchema: z.ZodObject<{
375
+ prepared: z.ZodObject<{
376
+ confidence_dispositions: z.ZodArray<z.ZodObject<{
377
+ input_id: z.ZodString;
378
+ disposition: z.ZodEnum<{
379
+ suppressed: "suppressed";
380
+ surviving: "surviving";
381
+ }>;
382
+ confidence: z.ZodNumber;
383
+ reason: z.ZodOptional<z.ZodString>;
384
+ }, z.core.$strict>>;
385
+ coverage_union: z.ZodArray<z.ZodString>;
386
+ singletons: z.ZodArray<z.ZodString>;
387
+ candidate_groups: z.ZodArray<z.ZodObject<{
388
+ file: z.ZodString;
389
+ members: z.ZodArray<z.ZodObject<{
390
+ input_id: z.ZodString;
391
+ line: z.ZodNumber;
392
+ }, z.core.$strict>>;
393
+ }, z.core.$strict>>;
394
+ surviving_findings: z.ZodArray<z.ZodObject<{
395
+ title: z.ZodString;
396
+ severity: z.ZodEnum<{
397
+ P0: "P0";
398
+ P1: "P1";
399
+ P2: "P2";
400
+ P3: "P3";
401
+ }>;
402
+ file: z.ZodString;
403
+ line: z.ZodNumber;
404
+ why_it_matters: z.ZodString;
405
+ autofix_class: z.ZodEnum<{
406
+ advisory: "advisory";
407
+ gated_auto: "gated_auto";
408
+ manual: "manual";
409
+ safe_auto: "safe_auto";
410
+ }>;
411
+ owner: z.ZodEnum<{
412
+ "downstream-resolver": "downstream-resolver";
413
+ human: "human";
414
+ release: "release";
415
+ "review-fixer": "review-fixer";
416
+ }>;
417
+ requires_verification: z.ZodBoolean;
418
+ suggested_fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
419
+ confidence: z.ZodNumber;
420
+ evidence: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
421
+ overflow: z.ZodLiteral<true>;
422
+ excerpt: z.ZodString;
423
+ }, z.core.$strict>]>>;
424
+ pre_existing: z.ZodBoolean;
425
+ disposition: z.ZodEnum<{
426
+ filtered: "filtered";
427
+ merged: "merged";
428
+ rejected: "rejected";
429
+ suppressed: "suppressed";
430
+ surviving: "surviving";
431
+ }>;
432
+ input_id: z.ZodString;
433
+ reviewer: z.ZodString;
434
+ }, z.core.$strict>>;
435
+ }, z.core.$strict>;
436
+ adjudication: z.ZodObject<{
437
+ decisions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
438
+ decision_id: z.ZodString;
439
+ disposition: z.ZodLiteral<"merged">;
440
+ input_finding_ids: z.ZodArray<z.ZodString>;
441
+ title: z.ZodString;
442
+ why_it_matters: z.ZodString;
443
+ evidence: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
444
+ overflow: z.ZodLiteral<true>;
445
+ excerpt: z.ZodString;
446
+ }, z.core.$strict>]>>;
447
+ suggested_fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
448
+ line: z.ZodNumber;
449
+ disagreement_facts: z.ZodOptional<z.ZodArray<z.ZodString>>;
450
+ eligible_agreement_credit: z.ZodOptional<z.ZodArray<z.ZodString>>;
451
+ proposed_route: z.ZodOptional<z.ZodObject<{
452
+ autofix_class: z.ZodEnum<{
453
+ advisory: "advisory";
454
+ gated_auto: "gated_auto";
455
+ manual: "manual";
456
+ safe_auto: "safe_auto";
457
+ }>;
458
+ owner: z.ZodEnum<{
459
+ "downstream-resolver": "downstream-resolver";
460
+ human: "human";
461
+ release: "release";
462
+ "review-fixer": "review-fixer";
463
+ }>;
464
+ requires_verification: z.ZodBoolean;
465
+ }, z.core.$strict>>;
466
+ route_narrowing_reason: z.ZodOptional<z.ZodString>;
467
+ }, z.core.$strict>, z.ZodObject<{
468
+ decision_id: z.ZodString;
469
+ disposition: z.ZodLiteral<"declined">;
470
+ input_finding_id: z.ZodString;
471
+ declined_reason: z.ZodString;
472
+ disagreement_facts: z.ZodOptional<z.ZodArray<z.ZodString>>;
473
+ proposed_route: z.ZodOptional<z.ZodObject<{
474
+ autofix_class: z.ZodEnum<{
475
+ advisory: "advisory";
476
+ gated_auto: "gated_auto";
477
+ manual: "manual";
478
+ safe_auto: "safe_auto";
479
+ }>;
480
+ owner: z.ZodEnum<{
481
+ "downstream-resolver": "downstream-resolver";
482
+ human: "human";
483
+ release: "release";
484
+ "review-fixer": "review-fixer";
485
+ }>;
486
+ requires_verification: z.ZodBoolean;
487
+ }, z.core.$strict>>;
488
+ route_narrowing_reason: z.ZodOptional<z.ZodString>;
489
+ }, z.core.$strict>], "disposition">>;
490
+ }, z.core.$strict>;
491
+ }, z.core.$strict>;
492
+ export declare const MergeOutputSchema: z.ZodObject<{
493
+ merged_findings: z.ZodArray<z.ZodObject<{
494
+ finding_id: z.ZodString;
495
+ file: z.ZodString;
496
+ title: z.ZodString;
497
+ why_it_matters: z.ZodString;
498
+ line: z.ZodNumber;
499
+ autofix_class: z.ZodEnum<{
500
+ advisory: "advisory";
501
+ gated_auto: "gated_auto";
502
+ manual: "manual";
503
+ safe_auto: "safe_auto";
504
+ }>;
505
+ owner: z.ZodEnum<{
506
+ "downstream-resolver": "downstream-resolver";
507
+ human: "human";
508
+ release: "release";
509
+ "review-fixer": "review-fixer";
510
+ }>;
511
+ requires_verification: z.ZodBoolean;
512
+ evidence: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
513
+ overflow: z.ZodLiteral<true>;
514
+ excerpt: z.ZodString;
515
+ }, z.core.$strict>]>>;
516
+ suggested_fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
517
+ input_finding_ids: z.ZodArray<z.ZodString>;
518
+ agreement_credit: z.ZodOptional<z.ZodArray<z.ZodString>>;
519
+ severity: z.ZodEnum<{
520
+ P0: "P0";
521
+ P1: "P1";
522
+ P2: "P2";
523
+ P3: "P3";
524
+ }>;
525
+ confidence: z.ZodNumber;
526
+ pre_existing: z.ZodBoolean;
527
+ fingerprint: z.ZodString;
528
+ submitters: z.ZodArray<z.ZodString>;
529
+ }, z.core.$strict>>;
530
+ validator_requests: z.ZodArray<z.ZodObject<{
531
+ finding_id: z.ZodString;
532
+ file: z.ZodString;
533
+ line: z.ZodNumber;
534
+ }, z.core.$strict>>;
535
+ disagreement_facts: z.ZodArray<z.ZodString>;
536
+ }, z.core.$strict>;
537
+ export declare const ValidatorLifecycleResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
538
+ outcome: z.ZodLiteral<"true">;
539
+ }, z.core.$strict>, z.ZodObject<{
540
+ outcome: z.ZodLiteral<"false">;
541
+ reason: z.ZodString;
542
+ }, z.core.$strict>, z.ZodObject<{
543
+ outcome: z.ZodLiteral<"failed">;
544
+ reason: z.ZodString;
545
+ }, z.core.$strict>, z.ZodObject<{
546
+ outcome: z.ZodLiteral<"unavailable">;
547
+ reason: z.ZodString;
548
+ }, z.core.$strict>], "outcome">;
549
+ export declare const ValidatorLifecycleResultsSchema: z.ZodArray<z.ZodObject<{
550
+ finding_id: z.ZodString;
551
+ result: z.ZodDiscriminatedUnion<[z.ZodObject<{
552
+ outcome: z.ZodLiteral<"true">;
553
+ }, z.core.$strict>, z.ZodObject<{
554
+ outcome: z.ZodLiteral<"false">;
555
+ reason: z.ZodString;
556
+ }, z.core.$strict>, z.ZodObject<{
557
+ outcome: z.ZodLiteral<"failed">;
558
+ reason: z.ZodString;
559
+ }, z.core.$strict>, z.ZodObject<{
560
+ outcome: z.ZodLiteral<"unavailable">;
561
+ reason: z.ZodString;
562
+ }, z.core.$strict>], "outcome">;
563
+ }, z.core.$strict>>;
564
+ export declare const PlanAssessmentEnvelopeSchema: z.ZodObject<{
565
+ verdict: z.ZodString;
566
+ results: z.ZodArray<z.ZodObject<{
567
+ kind: z.ZodEnum<{
568
+ explicit_unmet_requirement: "explicit_unmet_requirement";
569
+ inferred_gap: "inferred_gap";
570
+ }>;
571
+ description: z.ZodString;
572
+ }, z.core.$strict>>;
573
+ }, z.core.$strict>;
574
+ export declare const ParentRunMetadataSchema: z.ZodObject<{
575
+ run_id: z.ZodString;
576
+ mode: z.ZodEnum<{
577
+ autofix: "autofix";
578
+ headless: "headless";
579
+ interactive: "interactive";
580
+ "report-only": "report-only";
581
+ }>;
582
+ harness: z.ZodEnum<{
583
+ "claude-code": "claude-code";
584
+ opencode: "opencode";
585
+ pi: "pi";
586
+ }>;
587
+ branch: z.ZodString;
588
+ head_sha: z.ZodString;
589
+ selected_dispatches: z.ZodArray<z.ZodObject<{
590
+ persona: z.ZodString;
591
+ dispatch_outcome: z.ZodEnum<{
592
+ empty: "empty";
593
+ findings: "findings";
594
+ malformed: "malformed";
595
+ never_returned: "never_returned";
596
+ validation_unavailable: "validation_unavailable";
597
+ }>;
598
+ selection_surface: z.ZodOptional<z.ZodArray<z.ZodString>>;
599
+ selection_reason: z.ZodOptional<z.ZodString>;
600
+ }, z.core.$strict>>;
601
+ timestamps: z.ZodObject<{
602
+ started_at: z.ZodISODateTime;
603
+ completed_at: z.ZodISODateTime;
604
+ }, z.core.$strict>;
605
+ validation: z.ZodObject<{
606
+ status: z.ZodEnum<{
607
+ failed: "failed";
608
+ not_attempted: "not_attempted";
609
+ passed: "passed";
610
+ unavailable: "unavailable";
611
+ }>;
612
+ reason: z.ZodOptional<z.ZodString>;
613
+ }, z.core.$strict>;
614
+ applied_fixes: z.ZodArray<z.ZodString>;
615
+ }, z.core.$strict>;
616
+ export declare const FinalizeInputSchema: z.ZodObject<{
617
+ merge: z.ZodObject<{
618
+ merged_findings: z.ZodArray<z.ZodObject<{
619
+ finding_id: z.ZodString;
620
+ file: z.ZodString;
621
+ title: z.ZodString;
622
+ why_it_matters: z.ZodString;
623
+ line: z.ZodNumber;
624
+ autofix_class: z.ZodEnum<{
625
+ advisory: "advisory";
626
+ gated_auto: "gated_auto";
627
+ manual: "manual";
628
+ safe_auto: "safe_auto";
629
+ }>;
630
+ owner: z.ZodEnum<{
631
+ "downstream-resolver": "downstream-resolver";
632
+ human: "human";
633
+ release: "release";
634
+ "review-fixer": "review-fixer";
635
+ }>;
636
+ requires_verification: z.ZodBoolean;
637
+ evidence: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
638
+ overflow: z.ZodLiteral<true>;
639
+ excerpt: z.ZodString;
640
+ }, z.core.$strict>]>>;
641
+ suggested_fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
642
+ input_finding_ids: z.ZodArray<z.ZodString>;
643
+ agreement_credit: z.ZodOptional<z.ZodArray<z.ZodString>>;
644
+ severity: z.ZodEnum<{
645
+ P0: "P0";
646
+ P1: "P1";
647
+ P2: "P2";
648
+ P3: "P3";
649
+ }>;
650
+ confidence: z.ZodNumber;
651
+ pre_existing: z.ZodBoolean;
652
+ fingerprint: z.ZodString;
653
+ submitters: z.ZodArray<z.ZodString>;
654
+ }, z.core.$strict>>;
655
+ validator_requests: z.ZodArray<z.ZodObject<{
656
+ finding_id: z.ZodString;
657
+ file: z.ZodString;
658
+ line: z.ZodNumber;
659
+ }, z.core.$strict>>;
660
+ disagreement_facts: z.ZodArray<z.ZodString>;
661
+ }, z.core.$strict>;
662
+ prepared: z.ZodObject<{
663
+ confidence_dispositions: z.ZodArray<z.ZodObject<{
664
+ input_id: z.ZodString;
665
+ disposition: z.ZodEnum<{
666
+ suppressed: "suppressed";
667
+ surviving: "surviving";
668
+ }>;
669
+ confidence: z.ZodNumber;
670
+ reason: z.ZodOptional<z.ZodString>;
671
+ }, z.core.$strict>>;
672
+ coverage_union: z.ZodArray<z.ZodString>;
673
+ singletons: z.ZodArray<z.ZodString>;
674
+ candidate_groups: z.ZodArray<z.ZodObject<{
675
+ file: z.ZodString;
676
+ members: z.ZodArray<z.ZodObject<{
677
+ input_id: z.ZodString;
678
+ line: z.ZodNumber;
679
+ }, z.core.$strict>>;
680
+ }, z.core.$strict>>;
681
+ surviving_findings: z.ZodArray<z.ZodObject<{
682
+ title: z.ZodString;
683
+ severity: z.ZodEnum<{
684
+ P0: "P0";
685
+ P1: "P1";
686
+ P2: "P2";
687
+ P3: "P3";
688
+ }>;
689
+ file: z.ZodString;
690
+ line: z.ZodNumber;
691
+ why_it_matters: z.ZodString;
692
+ autofix_class: z.ZodEnum<{
693
+ advisory: "advisory";
694
+ gated_auto: "gated_auto";
695
+ manual: "manual";
696
+ safe_auto: "safe_auto";
697
+ }>;
698
+ owner: z.ZodEnum<{
699
+ "downstream-resolver": "downstream-resolver";
700
+ human: "human";
701
+ release: "release";
702
+ "review-fixer": "review-fixer";
703
+ }>;
704
+ requires_verification: z.ZodBoolean;
705
+ suggested_fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
706
+ confidence: z.ZodNumber;
707
+ evidence: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
708
+ overflow: z.ZodLiteral<true>;
709
+ excerpt: z.ZodString;
710
+ }, z.core.$strict>]>>;
711
+ pre_existing: z.ZodBoolean;
712
+ disposition: z.ZodEnum<{
713
+ filtered: "filtered";
714
+ merged: "merged";
715
+ rejected: "rejected";
716
+ suppressed: "suppressed";
717
+ surviving: "surviving";
718
+ }>;
719
+ input_id: z.ZodString;
720
+ reviewer: z.ZodString;
721
+ }, z.core.$strict>>;
722
+ }, z.core.$strict>;
723
+ screen_results: z.ZodArray<z.ZodObject<{
724
+ reviewer: z.ZodString;
725
+ result: z.ZodObject<{
726
+ dispatch_outcome: z.ZodEnum<{
727
+ empty: "empty";
728
+ findings: "findings";
729
+ malformed: "malformed";
730
+ never_returned: "never_returned";
731
+ validation_unavailable: "validation_unavailable";
732
+ }>;
733
+ admitted_findings: z.ZodArray<z.ZodObject<{
734
+ title: z.ZodString;
735
+ severity: z.ZodEnum<{
736
+ P0: "P0";
737
+ P1: "P1";
738
+ P2: "P2";
739
+ P3: "P3";
740
+ }>;
741
+ file: z.ZodString;
742
+ line: z.ZodNumber;
743
+ why_it_matters: z.ZodString;
744
+ autofix_class: z.ZodEnum<{
745
+ advisory: "advisory";
746
+ gated_auto: "gated_auto";
747
+ manual: "manual";
748
+ safe_auto: "safe_auto";
749
+ }>;
750
+ owner: z.ZodEnum<{
751
+ "downstream-resolver": "downstream-resolver";
752
+ human: "human";
753
+ release: "release";
754
+ "review-fixer": "review-fixer";
755
+ }>;
756
+ requires_verification: z.ZodBoolean;
757
+ suggested_fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
758
+ confidence: z.ZodNumber;
759
+ evidence: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
760
+ overflow: z.ZodLiteral<true>;
761
+ excerpt: z.ZodString;
762
+ }, z.core.$strict>]>>;
763
+ pre_existing: z.ZodBoolean;
764
+ input_id: z.ZodString;
765
+ disposition: z.ZodEnum<{
766
+ filtered: "filtered";
767
+ merged: "merged";
768
+ suppressed: "suppressed";
769
+ surviving: "surviving";
770
+ }>;
771
+ }, z.core.$strict>>;
772
+ rejected_summary: z.ZodOptional<z.ZodObject<{
773
+ dispatch_outcome: z.ZodEnum<{
774
+ empty: "empty";
775
+ findings: "findings";
776
+ malformed: "malformed";
777
+ never_returned: "never_returned";
778
+ }>;
779
+ rejected_finding_count: z.ZodNumber;
780
+ rejected_severities: z.ZodArray<z.ZodEnum<{
781
+ P0: "P0";
782
+ P1: "P1";
783
+ P2: "P2";
784
+ P3: "P3";
785
+ unknown: "unknown";
786
+ }>>;
787
+ reason: z.ZodString;
788
+ }, z.core.$strict>>;
789
+ residual_risks: z.ZodArray<z.ZodString>;
790
+ testing_gaps: z.ZodArray<z.ZodString>;
791
+ harness: z.ZodEnum<{
792
+ "claude-code": "claude-code";
793
+ opencode: "opencode";
794
+ pi: "pi";
795
+ }>;
796
+ }, z.core.$strict>;
797
+ }, z.core.$strict>>;
798
+ dispatch_records: z.ZodArray<z.ZodObject<{
799
+ persona: z.ZodString;
800
+ dispatch_outcome: z.ZodEnum<{
801
+ empty: "empty";
802
+ findings: "findings";
803
+ malformed: "malformed";
804
+ never_returned: "never_returned";
805
+ validation_unavailable: "validation_unavailable";
806
+ }>;
807
+ selection_surface: z.ZodOptional<z.ZodArray<z.ZodString>>;
808
+ selection_reason: z.ZodOptional<z.ZodString>;
809
+ }, z.core.$strict>>;
810
+ validator_lifecycle_results: z.ZodArray<z.ZodObject<{
811
+ finding_id: z.ZodString;
812
+ result: z.ZodDiscriminatedUnion<[z.ZodObject<{
813
+ outcome: z.ZodLiteral<"true">;
814
+ }, z.core.$strict>, z.ZodObject<{
815
+ outcome: z.ZodLiteral<"false">;
816
+ reason: z.ZodString;
817
+ }, z.core.$strict>, z.ZodObject<{
818
+ outcome: z.ZodLiteral<"failed">;
819
+ reason: z.ZodString;
820
+ }, z.core.$strict>, z.ZodObject<{
821
+ outcome: z.ZodLiteral<"unavailable">;
822
+ reason: z.ZodString;
823
+ }, z.core.$strict>], "outcome">;
824
+ }, z.core.$strict>>;
825
+ plan_assessment: z.ZodObject<{
826
+ verdict: z.ZodString;
827
+ results: z.ZodArray<z.ZodObject<{
828
+ kind: z.ZodEnum<{
829
+ explicit_unmet_requirement: "explicit_unmet_requirement";
830
+ inferred_gap: "inferred_gap";
831
+ }>;
832
+ description: z.ZodString;
833
+ }, z.core.$strict>>;
834
+ }, z.core.$strict>;
835
+ parent_run_metadata: z.ZodObject<{
836
+ run_id: z.ZodString;
837
+ mode: z.ZodEnum<{
838
+ autofix: "autofix";
839
+ headless: "headless";
840
+ interactive: "interactive";
841
+ "report-only": "report-only";
842
+ }>;
843
+ harness: z.ZodEnum<{
844
+ "claude-code": "claude-code";
845
+ opencode: "opencode";
846
+ pi: "pi";
847
+ }>;
848
+ branch: z.ZodString;
849
+ head_sha: z.ZodString;
850
+ selected_dispatches: z.ZodArray<z.ZodObject<{
851
+ persona: z.ZodString;
852
+ dispatch_outcome: z.ZodEnum<{
853
+ empty: "empty";
854
+ findings: "findings";
855
+ malformed: "malformed";
856
+ never_returned: "never_returned";
857
+ validation_unavailable: "validation_unavailable";
858
+ }>;
859
+ selection_surface: z.ZodOptional<z.ZodArray<z.ZodString>>;
860
+ selection_reason: z.ZodOptional<z.ZodString>;
861
+ }, z.core.$strict>>;
862
+ timestamps: z.ZodObject<{
863
+ started_at: z.ZodISODateTime;
864
+ completed_at: z.ZodISODateTime;
865
+ }, z.core.$strict>;
866
+ validation: z.ZodObject<{
867
+ status: z.ZodEnum<{
868
+ failed: "failed";
869
+ not_attempted: "not_attempted";
870
+ passed: "passed";
871
+ unavailable: "unavailable";
872
+ }>;
873
+ reason: z.ZodOptional<z.ZodString>;
874
+ }, z.core.$strict>;
875
+ applied_fixes: z.ZodArray<z.ZodString>;
876
+ }, z.core.$strict>;
877
+ }, z.core.$strict>;
878
+ export declare const FinalizeOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
879
+ kind: z.ZodLiteral<"writing">;
880
+ artifact: z.ZodObject<{
881
+ schema_version: z.ZodLiteral<1>;
882
+ run_id: z.ZodString;
883
+ branch: z.ZodString;
884
+ head_sha: z.ZodString;
885
+ mode: z.ZodEnum<{
886
+ autofix: "autofix";
887
+ headless: "headless";
888
+ interactive: "interactive";
889
+ }>;
890
+ harness: z.ZodEnum<{
891
+ "claude-code": "claude-code";
892
+ opencode: "opencode";
893
+ pi: "pi";
894
+ }>;
895
+ run_status: z.ZodEnum<{
896
+ abnormal: "abnormal";
897
+ completed: "completed";
898
+ degraded: "degraded";
899
+ in_progress: "in_progress";
900
+ }>;
901
+ verdict: z.ZodString;
902
+ completed_at: z.ZodISODateTime;
903
+ dispatches: z.ZodArray<z.ZodObject<{
904
+ persona: z.ZodString;
905
+ dispatch_outcome: z.ZodEnum<{
906
+ empty: "empty";
907
+ findings: "findings";
908
+ malformed: "malformed";
909
+ never_returned: "never_returned";
910
+ validation_unavailable: "validation_unavailable";
911
+ }>;
912
+ input_finding_count: z.ZodNumber;
913
+ rejection_reason: z.ZodOptional<z.ZodString>;
914
+ selection_surface: z.ZodOptional<z.ZodArray<z.ZodString>>;
915
+ selection_reason: z.ZodOptional<z.ZodString>;
916
+ }, z.core.$strict>>;
917
+ input_findings: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
918
+ record_type: z.ZodLiteral<"admitted">;
919
+ input_id: z.ZodString;
920
+ reviewer: z.ZodString;
921
+ confidence: z.ZodNumber;
922
+ disposition: z.ZodEnum<{
923
+ filtered: "filtered";
924
+ merged: "merged";
925
+ suppressed: "suppressed";
926
+ surviving: "surviving";
927
+ }>;
928
+ reason: z.ZodString;
929
+ }, z.core.$strict>, z.ZodObject<{
930
+ record_type: z.ZodLiteral<"rejected_summary">;
931
+ reviewer: z.ZodString;
932
+ dispatch_outcome: z.ZodEnum<{
933
+ empty: "empty";
934
+ findings: "findings";
935
+ malformed: "malformed";
936
+ never_returned: "never_returned";
937
+ }>;
938
+ rejected_finding_count: z.ZodNumber;
939
+ rejected_severities: z.ZodArray<z.ZodEnum<{
940
+ P0: "P0";
941
+ P1: "P1";
942
+ P2: "P2";
943
+ P3: "P3";
944
+ unknown: "unknown";
945
+ }>>;
946
+ disposition: z.ZodEnum<{
947
+ rejected: "rejected";
948
+ }>;
949
+ reason: z.ZodString;
950
+ }, z.core.$strict>], "record_type">>;
951
+ findings: z.ZodArray<z.ZodType<Omit<{
952
+ title: string;
953
+ severity: "P0" | "P1" | "P2" | "P3";
954
+ file: string;
955
+ line: number;
956
+ why_it_matters: string;
957
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
958
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
959
+ requires_verification: boolean;
960
+ confidence: number;
961
+ evidence: (string | {
962
+ overflow: true;
963
+ excerpt: string;
964
+ })[];
965
+ pre_existing: boolean;
966
+ suggested_fix?: string | null | undefined;
967
+ validated?: boolean | undefined;
968
+ validation_reason?: string | undefined;
969
+ input_finding_ids: string[];
970
+ provenance: {
971
+ fingerprint: string;
972
+ submitters: string[];
973
+ agreement_credit: string[];
974
+ };
975
+ }, "validated" | "validation_reason"> & ({
976
+ validated: false;
977
+ validation_reason: string;
978
+ } | {
979
+ validated?: true;
980
+ validation_reason?: string;
981
+ }), {
982
+ title: string;
983
+ severity: "P0" | "P1" | "P2" | "P3";
984
+ file: string;
985
+ line: number;
986
+ why_it_matters: string;
987
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
988
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
989
+ requires_verification: boolean;
990
+ confidence: number;
991
+ evidence: (string | {
992
+ overflow: true;
993
+ excerpt: string;
994
+ })[];
995
+ pre_existing: boolean;
996
+ suggested_fix?: string | null | undefined;
997
+ validated?: boolean | undefined;
998
+ validation_reason?: string | undefined;
999
+ input_finding_ids: string[];
1000
+ provenance: {
1001
+ fingerprint: string;
1002
+ submitters: string[];
1003
+ agreement_credit: string[];
1004
+ };
1005
+ }, z.core.$ZodTypeInternals<Omit<{
1006
+ title: string;
1007
+ severity: "P0" | "P1" | "P2" | "P3";
1008
+ file: string;
1009
+ line: number;
1010
+ why_it_matters: string;
1011
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
1012
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
1013
+ requires_verification: boolean;
1014
+ confidence: number;
1015
+ evidence: (string | {
1016
+ overflow: true;
1017
+ excerpt: string;
1018
+ })[];
1019
+ pre_existing: boolean;
1020
+ suggested_fix?: string | null | undefined;
1021
+ validated?: boolean | undefined;
1022
+ validation_reason?: string | undefined;
1023
+ input_finding_ids: string[];
1024
+ provenance: {
1025
+ fingerprint: string;
1026
+ submitters: string[];
1027
+ agreement_credit: string[];
1028
+ };
1029
+ }, "validated" | "validation_reason"> & ({
1030
+ validated: false;
1031
+ validation_reason: string;
1032
+ } | {
1033
+ validated?: true;
1034
+ validation_reason?: string;
1035
+ }), {
1036
+ title: string;
1037
+ severity: "P0" | "P1" | "P2" | "P3";
1038
+ file: string;
1039
+ line: number;
1040
+ why_it_matters: string;
1041
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
1042
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
1043
+ requires_verification: boolean;
1044
+ confidence: number;
1045
+ evidence: (string | {
1046
+ overflow: true;
1047
+ excerpt: string;
1048
+ })[];
1049
+ pre_existing: boolean;
1050
+ suggested_fix?: string | null | undefined;
1051
+ validated?: boolean | undefined;
1052
+ validation_reason?: string | undefined;
1053
+ input_finding_ids: string[];
1054
+ provenance: {
1055
+ fingerprint: string;
1056
+ submitters: string[];
1057
+ agreement_credit: string[];
1058
+ };
1059
+ }>>>;
1060
+ declined_merges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1061
+ file: z.ZodString;
1062
+ input_finding_ids: z.ZodArray<z.ZodString>;
1063
+ reason: z.ZodString;
1064
+ }, z.core.$strict>>>;
1065
+ risk_coverage: z.ZodOptional<z.ZodArray<z.ZodObject<{
1066
+ persona: z.ZodEnum<{
1067
+ "api-contract": "api-contract";
1068
+ "data-migrations": "data-migrations";
1069
+ performance: "performance";
1070
+ reliability: "reliability";
1071
+ security: "security";
1072
+ }>;
1073
+ satisfied: z.ZodBoolean;
1074
+ input_finding_id: z.ZodOptional<z.ZodString>;
1075
+ }, z.core.$strict>>>;
1076
+ disposition_counts: z.ZodObject<{
1077
+ surviving: z.ZodNumber;
1078
+ merged: z.ZodNumber;
1079
+ suppressed: z.ZodNumber;
1080
+ filtered: z.ZodNumber;
1081
+ rejected: z.ZodNumber;
1082
+ }, z.core.$strict>;
1083
+ applied_fixes: z.ZodArray<z.ZodString>;
1084
+ residual_actionable_work: z.ZodArray<z.ZodString>;
1085
+ advisory_outputs: z.ZodArray<z.ZodString>;
1086
+ coverage: z.ZodObject<{
1087
+ reviewers: z.ZodOptional<z.ZodNumber>;
1088
+ validators: z.ZodOptional<z.ZodNumber>;
1089
+ residual_risks: z.ZodArray<z.ZodString>;
1090
+ testing_gaps: z.ZodArray<z.ZodString>;
1091
+ failed_reviewers: z.ZodArray<z.ZodString>;
1092
+ validator_failures: z.ZodArray<z.ZodString>;
1093
+ intent_uncertainty: z.ZodArray<z.ZodString>;
1094
+ }, z.core.$strict>;
1095
+ validation: z.ZodOptional<z.ZodObject<{
1096
+ status: z.ZodEnum<{
1097
+ failed: "failed";
1098
+ not_attempted: "not_attempted";
1099
+ passed: "passed";
1100
+ unavailable: "unavailable";
1101
+ }>;
1102
+ reason: z.ZodOptional<z.ZodString>;
1103
+ }, z.core.$strict>>;
1104
+ }, z.core.$strict>;
1105
+ report: z.ZodObject<{
1106
+ verdict: z.ZodString;
1107
+ findings: z.ZodArray<z.ZodType<Omit<{
1108
+ title: string;
1109
+ severity: "P0" | "P1" | "P2" | "P3";
1110
+ file: string;
1111
+ line: number;
1112
+ why_it_matters: string;
1113
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
1114
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
1115
+ requires_verification: boolean;
1116
+ confidence: number;
1117
+ evidence: (string | {
1118
+ overflow: true;
1119
+ excerpt: string;
1120
+ })[];
1121
+ pre_existing: boolean;
1122
+ suggested_fix?: string | null | undefined;
1123
+ validated?: boolean | undefined;
1124
+ validation_reason?: string | undefined;
1125
+ input_finding_ids: string[];
1126
+ provenance: {
1127
+ fingerprint: string;
1128
+ submitters: string[];
1129
+ agreement_credit: string[];
1130
+ };
1131
+ }, "validated" | "validation_reason"> & ({
1132
+ validated: false;
1133
+ validation_reason: string;
1134
+ } | {
1135
+ validated?: true;
1136
+ validation_reason?: string;
1137
+ }), {
1138
+ title: string;
1139
+ severity: "P0" | "P1" | "P2" | "P3";
1140
+ file: string;
1141
+ line: number;
1142
+ why_it_matters: string;
1143
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
1144
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
1145
+ requires_verification: boolean;
1146
+ confidence: number;
1147
+ evidence: (string | {
1148
+ overflow: true;
1149
+ excerpt: string;
1150
+ })[];
1151
+ pre_existing: boolean;
1152
+ suggested_fix?: string | null | undefined;
1153
+ validated?: boolean | undefined;
1154
+ validation_reason?: string | undefined;
1155
+ input_finding_ids: string[];
1156
+ provenance: {
1157
+ fingerprint: string;
1158
+ submitters: string[];
1159
+ agreement_credit: string[];
1160
+ };
1161
+ }, z.core.$ZodTypeInternals<Omit<{
1162
+ title: string;
1163
+ severity: "P0" | "P1" | "P2" | "P3";
1164
+ file: string;
1165
+ line: number;
1166
+ why_it_matters: string;
1167
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
1168
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
1169
+ requires_verification: boolean;
1170
+ confidence: number;
1171
+ evidence: (string | {
1172
+ overflow: true;
1173
+ excerpt: string;
1174
+ })[];
1175
+ pre_existing: boolean;
1176
+ suggested_fix?: string | null | undefined;
1177
+ validated?: boolean | undefined;
1178
+ validation_reason?: string | undefined;
1179
+ input_finding_ids: string[];
1180
+ provenance: {
1181
+ fingerprint: string;
1182
+ submitters: string[];
1183
+ agreement_credit: string[];
1184
+ };
1185
+ }, "validated" | "validation_reason"> & ({
1186
+ validated: false;
1187
+ validation_reason: string;
1188
+ } | {
1189
+ validated?: true;
1190
+ validation_reason?: string;
1191
+ }), {
1192
+ title: string;
1193
+ severity: "P0" | "P1" | "P2" | "P3";
1194
+ file: string;
1195
+ line: number;
1196
+ why_it_matters: string;
1197
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
1198
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
1199
+ requires_verification: boolean;
1200
+ confidence: number;
1201
+ evidence: (string | {
1202
+ overflow: true;
1203
+ excerpt: string;
1204
+ })[];
1205
+ pre_existing: boolean;
1206
+ suggested_fix?: string | null | undefined;
1207
+ validated?: boolean | undefined;
1208
+ validation_reason?: string | undefined;
1209
+ input_finding_ids: string[];
1210
+ provenance: {
1211
+ fingerprint: string;
1212
+ submitters: string[];
1213
+ agreement_credit: string[];
1214
+ };
1215
+ }>>>;
1216
+ applied_fixes: z.ZodArray<z.ZodString>;
1217
+ residual_actionable_work: z.ZodArray<z.ZodString>;
1218
+ advisory_outputs: z.ZodArray<z.ZodString>;
1219
+ coverage: z.ZodObject<{
1220
+ reviewers: z.ZodOptional<z.ZodNumber>;
1221
+ validators: z.ZodOptional<z.ZodNumber>;
1222
+ residual_risks: z.ZodArray<z.ZodString>;
1223
+ testing_gaps: z.ZodArray<z.ZodString>;
1224
+ failed_reviewers: z.ZodArray<z.ZodString>;
1225
+ validator_failures: z.ZodArray<z.ZodString>;
1226
+ intent_uncertainty: z.ZodArray<z.ZodString>;
1227
+ }, z.core.$strict>;
1228
+ input_dispositions: z.ZodArray<z.ZodObject<{
1229
+ input_id: z.ZodString;
1230
+ disposition: z.ZodEnum<{
1231
+ filtered: "filtered";
1232
+ merged: "merged";
1233
+ suppressed: "suppressed";
1234
+ surviving: "surviving";
1235
+ }>;
1236
+ reason: z.ZodOptional<z.ZodString>;
1237
+ }, z.core.$strict>>;
1238
+ disposition_counts: z.ZodObject<{
1239
+ surviving: z.ZodNumber;
1240
+ merged: z.ZodNumber;
1241
+ suppressed: z.ZodNumber;
1242
+ filtered: z.ZodNumber;
1243
+ rejected: z.ZodNumber;
1244
+ }, z.core.$strict>;
1245
+ queues: z.ZodObject<{
1246
+ fixer: z.ZodArray<z.ZodObject<{
1247
+ finding_id: z.ZodString;
1248
+ unconfirmed: z.ZodBoolean;
1249
+ }, z.core.$strict>>;
1250
+ residual: z.ZodArray<z.ZodObject<{
1251
+ finding_id: z.ZodString;
1252
+ unconfirmed: z.ZodBoolean;
1253
+ }, z.core.$strict>>;
1254
+ report_only: z.ZodArray<z.ZodObject<{
1255
+ finding_id: z.ZodString;
1256
+ unconfirmed: z.ZodBoolean;
1257
+ }, z.core.$strict>>;
1258
+ }, z.core.$strict>;
1259
+ pre_existing_findings: z.ZodArray<z.ZodObject<{
1260
+ finding_id: z.ZodString;
1261
+ unconfirmed: z.ZodBoolean;
1262
+ }, z.core.$strict>>;
1263
+ risk_coverage: z.ZodOptional<z.ZodArray<z.ZodObject<{
1264
+ persona: z.ZodEnum<{
1265
+ "api-contract": "api-contract";
1266
+ "data-migrations": "data-migrations";
1267
+ performance: "performance";
1268
+ reliability: "reliability";
1269
+ security: "security";
1270
+ }>;
1271
+ satisfied: z.ZodBoolean;
1272
+ input_finding_id: z.ZodOptional<z.ZodString>;
1273
+ }, z.core.$strict>>>;
1274
+ }, z.core.$strict>;
1275
+ }, z.core.$strict>, z.ZodObject<{
1276
+ verdict: z.ZodString;
1277
+ findings: z.ZodArray<z.ZodType<Omit<{
1278
+ title: string;
1279
+ severity: "P0" | "P1" | "P2" | "P3";
1280
+ file: string;
1281
+ line: number;
1282
+ why_it_matters: string;
1283
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
1284
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
1285
+ requires_verification: boolean;
1286
+ confidence: number;
1287
+ evidence: (string | {
1288
+ overflow: true;
1289
+ excerpt: string;
1290
+ })[];
1291
+ pre_existing: boolean;
1292
+ suggested_fix?: string | null | undefined;
1293
+ validated?: boolean | undefined;
1294
+ validation_reason?: string | undefined;
1295
+ input_finding_ids: string[];
1296
+ provenance: {
1297
+ fingerprint: string;
1298
+ submitters: string[];
1299
+ agreement_credit: string[];
1300
+ };
1301
+ }, "validated" | "validation_reason"> & ({
1302
+ validated: false;
1303
+ validation_reason: string;
1304
+ } | {
1305
+ validated?: true;
1306
+ validation_reason?: string;
1307
+ }), {
1308
+ title: string;
1309
+ severity: "P0" | "P1" | "P2" | "P3";
1310
+ file: string;
1311
+ line: number;
1312
+ why_it_matters: string;
1313
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
1314
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
1315
+ requires_verification: boolean;
1316
+ confidence: number;
1317
+ evidence: (string | {
1318
+ overflow: true;
1319
+ excerpt: string;
1320
+ })[];
1321
+ pre_existing: boolean;
1322
+ suggested_fix?: string | null | undefined;
1323
+ validated?: boolean | undefined;
1324
+ validation_reason?: string | undefined;
1325
+ input_finding_ids: string[];
1326
+ provenance: {
1327
+ fingerprint: string;
1328
+ submitters: string[];
1329
+ agreement_credit: string[];
1330
+ };
1331
+ }, z.core.$ZodTypeInternals<Omit<{
1332
+ title: string;
1333
+ severity: "P0" | "P1" | "P2" | "P3";
1334
+ file: string;
1335
+ line: number;
1336
+ why_it_matters: string;
1337
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
1338
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
1339
+ requires_verification: boolean;
1340
+ confidence: number;
1341
+ evidence: (string | {
1342
+ overflow: true;
1343
+ excerpt: string;
1344
+ })[];
1345
+ pre_existing: boolean;
1346
+ suggested_fix?: string | null | undefined;
1347
+ validated?: boolean | undefined;
1348
+ validation_reason?: string | undefined;
1349
+ input_finding_ids: string[];
1350
+ provenance: {
1351
+ fingerprint: string;
1352
+ submitters: string[];
1353
+ agreement_credit: string[];
1354
+ };
1355
+ }, "validated" | "validation_reason"> & ({
1356
+ validated: false;
1357
+ validation_reason: string;
1358
+ } | {
1359
+ validated?: true;
1360
+ validation_reason?: string;
1361
+ }), {
1362
+ title: string;
1363
+ severity: "P0" | "P1" | "P2" | "P3";
1364
+ file: string;
1365
+ line: number;
1366
+ why_it_matters: string;
1367
+ autofix_class: "advisory" | "gated_auto" | "manual" | "safe_auto";
1368
+ owner: "downstream-resolver" | "human" | "release" | "review-fixer";
1369
+ requires_verification: boolean;
1370
+ confidence: number;
1371
+ evidence: (string | {
1372
+ overflow: true;
1373
+ excerpt: string;
1374
+ })[];
1375
+ pre_existing: boolean;
1376
+ suggested_fix?: string | null | undefined;
1377
+ validated?: boolean | undefined;
1378
+ validation_reason?: string | undefined;
1379
+ input_finding_ids: string[];
1380
+ provenance: {
1381
+ fingerprint: string;
1382
+ submitters: string[];
1383
+ agreement_credit: string[];
1384
+ };
1385
+ }>>>;
1386
+ applied_fixes: z.ZodArray<z.ZodString>;
1387
+ residual_actionable_work: z.ZodArray<z.ZodString>;
1388
+ advisory_outputs: z.ZodArray<z.ZodString>;
1389
+ coverage: z.ZodObject<{
1390
+ reviewers: z.ZodOptional<z.ZodNumber>;
1391
+ validators: z.ZodOptional<z.ZodNumber>;
1392
+ residual_risks: z.ZodArray<z.ZodString>;
1393
+ testing_gaps: z.ZodArray<z.ZodString>;
1394
+ failed_reviewers: z.ZodArray<z.ZodString>;
1395
+ validator_failures: z.ZodArray<z.ZodString>;
1396
+ intent_uncertainty: z.ZodArray<z.ZodString>;
1397
+ }, z.core.$strict>;
1398
+ input_dispositions: z.ZodArray<z.ZodObject<{
1399
+ input_id: z.ZodString;
1400
+ disposition: z.ZodEnum<{
1401
+ filtered: "filtered";
1402
+ merged: "merged";
1403
+ suppressed: "suppressed";
1404
+ surviving: "surviving";
1405
+ }>;
1406
+ reason: z.ZodOptional<z.ZodString>;
1407
+ }, z.core.$strict>>;
1408
+ disposition_counts: z.ZodObject<{
1409
+ surviving: z.ZodNumber;
1410
+ merged: z.ZodNumber;
1411
+ suppressed: z.ZodNumber;
1412
+ filtered: z.ZodNumber;
1413
+ rejected: z.ZodNumber;
1414
+ }, z.core.$strict>;
1415
+ queues: z.ZodObject<{
1416
+ fixer: z.ZodArray<z.ZodObject<{
1417
+ finding_id: z.ZodString;
1418
+ unconfirmed: z.ZodBoolean;
1419
+ }, z.core.$strict>>;
1420
+ residual: z.ZodArray<z.ZodObject<{
1421
+ finding_id: z.ZodString;
1422
+ unconfirmed: z.ZodBoolean;
1423
+ }, z.core.$strict>>;
1424
+ report_only: z.ZodArray<z.ZodObject<{
1425
+ finding_id: z.ZodString;
1426
+ unconfirmed: z.ZodBoolean;
1427
+ }, z.core.$strict>>;
1428
+ }, z.core.$strict>;
1429
+ pre_existing_findings: z.ZodArray<z.ZodObject<{
1430
+ finding_id: z.ZodString;
1431
+ unconfirmed: z.ZodBoolean;
1432
+ }, z.core.$strict>>;
1433
+ risk_coverage: z.ZodOptional<z.ZodArray<z.ZodObject<{
1434
+ persona: z.ZodEnum<{
1435
+ "api-contract": "api-contract";
1436
+ "data-migrations": "data-migrations";
1437
+ performance: "performance";
1438
+ reliability: "reliability";
1439
+ security: "security";
1440
+ }>;
1441
+ satisfied: z.ZodBoolean;
1442
+ input_finding_id: z.ZodOptional<z.ZodString>;
1443
+ }, z.core.$strict>>>;
1444
+ kind: z.ZodLiteral<"report_only">;
1445
+ }, z.core.$strict>], "kind">;
1446
+ export {};