@usefragments/core 2.0.2 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codes/index.d.ts +1 -1
- package/dist/compiled-types/index.d.ts +1 -1
- package/dist/generate/index.d.ts +1 -1
- package/dist/{index-C8bcXVav.d.ts → index-xn5CNdf4.d.ts} +451 -451
- package/dist/index.d.ts +1433 -1423
- package/dist/index.js +5028 -4564
- package/dist/index.js.map +1 -1
- package/dist/manifest.d.ts +24 -24
- package/dist/preview-runtime.d.ts +1 -1
- package/dist/react-types.d.ts +1 -1
- package/dist/registry.d.ts +380 -380
- package/dist/schemas/index.d.ts +1 -1
- package/dist/{governance-hOPXGbbs.d.ts → source-identity-DvOBz2yJ.d.ts} +675 -610
- package/dist/storyAdapter.d.ts +1 -1
- package/dist/test-utils.d.ts +1 -1
- package/package.json +1 -1
- package/src/conform.ts +10 -0
- package/src/contract/index.ts +24 -0
- package/src/contract/preimage.ts +17 -3
- package/src/contract/source-identity.test.ts +167 -0
- package/src/contract/source-identity.ts +303 -0
- package/src/evaluation/canonical-facts-trust.test.ts +67 -6
- package/src/evaluation/evaluate.ts +19 -3
- package/src/evaluation/evaluation-v2-receipt-v1.test.ts +27 -1
- package/src/evaluation/index.ts +7 -1
- package/src/evaluation/receipt.ts +17 -2
- package/src/evaluation/types.ts +14 -1
- package/src/index.ts +28 -0
- package/src/rules/components-prefer-library-classnames.test.ts +354 -0
- package/src/rules/components-prefer-library.test.ts +246 -0
- package/src/rules/components-prefer-library.ts +340 -61
|
@@ -42,14 +42,14 @@ declare const findingReplacePropValueFixSchema: z.ZodObject<{
|
|
|
42
42
|
title: string;
|
|
43
43
|
kind: "replacePropValue";
|
|
44
44
|
prop: string;
|
|
45
|
-
deterministic?: boolean | undefined;
|
|
46
45
|
value?: unknown;
|
|
46
|
+
deterministic?: boolean | undefined;
|
|
47
47
|
}, {
|
|
48
48
|
title: string;
|
|
49
49
|
kind: "replacePropValue";
|
|
50
50
|
prop: string;
|
|
51
|
-
deterministic?: boolean | undefined;
|
|
52
51
|
value?: unknown;
|
|
52
|
+
deterministic?: boolean | undefined;
|
|
53
53
|
}>;
|
|
54
54
|
declare const findingReplaceStyleValueFixSchema: z.ZodObject<{
|
|
55
55
|
kind: z.ZodLiteral<"replaceStyleValue">;
|
|
@@ -58,15 +58,15 @@ declare const findingReplaceStyleValueFixSchema: z.ZodObject<{
|
|
|
58
58
|
value: z.ZodString;
|
|
59
59
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
value: string;
|
|
62
61
|
title: string;
|
|
63
62
|
kind: "replaceStyleValue";
|
|
63
|
+
value: string;
|
|
64
64
|
property: string;
|
|
65
65
|
deterministic?: boolean | undefined;
|
|
66
66
|
}, {
|
|
67
|
-
value: string;
|
|
68
67
|
title: string;
|
|
69
68
|
kind: "replaceStyleValue";
|
|
69
|
+
value: string;
|
|
70
70
|
property: string;
|
|
71
71
|
deterministic?: boolean | undefined;
|
|
72
72
|
}>;
|
|
@@ -140,14 +140,14 @@ declare const findingFixSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
140
140
|
title: string;
|
|
141
141
|
kind: "replacePropValue";
|
|
142
142
|
prop: string;
|
|
143
|
-
deterministic?: boolean | undefined;
|
|
144
143
|
value?: unknown;
|
|
144
|
+
deterministic?: boolean | undefined;
|
|
145
145
|
}, {
|
|
146
146
|
title: string;
|
|
147
147
|
kind: "replacePropValue";
|
|
148
148
|
prop: string;
|
|
149
|
-
deterministic?: boolean | undefined;
|
|
150
149
|
value?: unknown;
|
|
150
|
+
deterministic?: boolean | undefined;
|
|
151
151
|
}>, z.ZodObject<{
|
|
152
152
|
kind: z.ZodLiteral<"replaceStyleValue">;
|
|
153
153
|
title: z.ZodString;
|
|
@@ -155,15 +155,15 @@ declare const findingFixSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
155
155
|
value: z.ZodString;
|
|
156
156
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
value: string;
|
|
159
158
|
title: string;
|
|
160
159
|
kind: "replaceStyleValue";
|
|
160
|
+
value: string;
|
|
161
161
|
property: string;
|
|
162
162
|
deterministic?: boolean | undefined;
|
|
163
163
|
}, {
|
|
164
|
-
value: string;
|
|
165
164
|
title: string;
|
|
166
165
|
kind: "replaceStyleValue";
|
|
166
|
+
value: string;
|
|
167
167
|
property: string;
|
|
168
168
|
deterministic?: boolean | undefined;
|
|
169
169
|
}>, z.ZodObject<{
|
|
@@ -284,14 +284,14 @@ declare const findingSchema: z.ZodObject<{
|
|
|
284
284
|
title: string;
|
|
285
285
|
kind: "replacePropValue";
|
|
286
286
|
prop: string;
|
|
287
|
-
deterministic?: boolean | undefined;
|
|
288
287
|
value?: unknown;
|
|
288
|
+
deterministic?: boolean | undefined;
|
|
289
289
|
}, {
|
|
290
290
|
title: string;
|
|
291
291
|
kind: "replacePropValue";
|
|
292
292
|
prop: string;
|
|
293
|
-
deterministic?: boolean | undefined;
|
|
294
293
|
value?: unknown;
|
|
294
|
+
deterministic?: boolean | undefined;
|
|
295
295
|
}>, z.ZodObject<{
|
|
296
296
|
kind: z.ZodLiteral<"replaceStyleValue">;
|
|
297
297
|
title: z.ZodString;
|
|
@@ -299,15 +299,15 @@ declare const findingSchema: z.ZodObject<{
|
|
|
299
299
|
value: z.ZodString;
|
|
300
300
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
|
-
value: string;
|
|
303
302
|
title: string;
|
|
304
303
|
kind: "replaceStyleValue";
|
|
304
|
+
value: string;
|
|
305
305
|
property: string;
|
|
306
306
|
deterministic?: boolean | undefined;
|
|
307
307
|
}, {
|
|
308
|
-
value: string;
|
|
309
308
|
title: string;
|
|
310
309
|
kind: "replaceStyleValue";
|
|
310
|
+
value: string;
|
|
311
311
|
property: string;
|
|
312
312
|
deterministic?: boolean | undefined;
|
|
313
313
|
}>, z.ZodObject<{
|
|
@@ -382,20 +382,20 @@ declare const findingSchema: z.ZodObject<{
|
|
|
382
382
|
}, "strip", z.ZodTypeAny, {
|
|
383
383
|
areaId: string;
|
|
384
384
|
areaName: string;
|
|
385
|
-
criticality: "
|
|
385
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
386
386
|
owners: string[];
|
|
387
387
|
matchedGlob: string;
|
|
388
388
|
}, {
|
|
389
389
|
areaId: string;
|
|
390
390
|
areaName: string;
|
|
391
|
-
criticality: "
|
|
391
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
392
392
|
owners: string[];
|
|
393
393
|
matchedGlob: string;
|
|
394
394
|
}>>;
|
|
395
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
396
|
message: string;
|
|
397
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
397
398
|
ruleId: string;
|
|
398
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
399
399
|
location: {
|
|
400
400
|
file: string;
|
|
401
401
|
line: number;
|
|
@@ -412,12 +412,12 @@ declare const findingSchema: z.ZodObject<{
|
|
|
412
412
|
title: string;
|
|
413
413
|
kind: "replacePropValue";
|
|
414
414
|
prop: string;
|
|
415
|
-
deterministic?: boolean | undefined;
|
|
416
415
|
value?: unknown;
|
|
416
|
+
deterministic?: boolean | undefined;
|
|
417
417
|
} | {
|
|
418
|
-
value: string;
|
|
419
418
|
title: string;
|
|
420
419
|
kind: "replaceStyleValue";
|
|
420
|
+
value: string;
|
|
421
421
|
property: string;
|
|
422
422
|
deterministic?: boolean | undefined;
|
|
423
423
|
} | {
|
|
@@ -443,7 +443,7 @@ declare const findingSchema: z.ZodObject<{
|
|
|
443
443
|
area?: {
|
|
444
444
|
areaId: string;
|
|
445
445
|
areaName: string;
|
|
446
|
-
criticality: "
|
|
446
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
447
447
|
owners: string[];
|
|
448
448
|
matchedGlob: string;
|
|
449
449
|
} | undefined;
|
|
@@ -453,8 +453,8 @@ declare const findingSchema: z.ZodObject<{
|
|
|
453
453
|
attributes?: Record<string, unknown> | undefined;
|
|
454
454
|
}, {
|
|
455
455
|
message: string;
|
|
456
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
456
457
|
ruleId: string;
|
|
457
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
458
458
|
location: {
|
|
459
459
|
file: string;
|
|
460
460
|
line: number;
|
|
@@ -471,12 +471,12 @@ declare const findingSchema: z.ZodObject<{
|
|
|
471
471
|
title: string;
|
|
472
472
|
kind: "replacePropValue";
|
|
473
473
|
prop: string;
|
|
474
|
-
deterministic?: boolean | undefined;
|
|
475
474
|
value?: unknown;
|
|
475
|
+
deterministic?: boolean | undefined;
|
|
476
476
|
} | {
|
|
477
|
-
value: string;
|
|
478
477
|
title: string;
|
|
479
478
|
kind: "replaceStyleValue";
|
|
479
|
+
value: string;
|
|
480
480
|
property: string;
|
|
481
481
|
deterministic?: boolean | undefined;
|
|
482
482
|
} | {
|
|
@@ -502,7 +502,7 @@ declare const findingSchema: z.ZodObject<{
|
|
|
502
502
|
area?: {
|
|
503
503
|
areaId: string;
|
|
504
504
|
areaName: string;
|
|
505
|
-
criticality: "
|
|
505
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
506
506
|
owners: string[];
|
|
507
507
|
matchedGlob: string;
|
|
508
508
|
} | undefined;
|
|
@@ -531,8 +531,8 @@ declare const violationSchema: z.ZodObject<{
|
|
|
531
531
|
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
533
|
message: string;
|
|
534
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
535
534
|
rule: string;
|
|
535
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
536
536
|
nodeId: string;
|
|
537
537
|
nodeType: string;
|
|
538
538
|
code?: string | undefined;
|
|
@@ -548,8 +548,8 @@ declare const violationSchema: z.ZodObject<{
|
|
|
548
548
|
extra?: Record<string, unknown> | undefined;
|
|
549
549
|
}, {
|
|
550
550
|
message: string;
|
|
551
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
552
551
|
rule: string;
|
|
552
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
553
553
|
nodeId: string;
|
|
554
554
|
nodeType: string;
|
|
555
555
|
code?: string | undefined;
|
|
@@ -608,8 +608,8 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
608
608
|
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
609
609
|
}, "strip", z.ZodTypeAny, {
|
|
610
610
|
message: string;
|
|
611
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
612
611
|
rule: string;
|
|
612
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
613
613
|
nodeId: string;
|
|
614
614
|
nodeType: string;
|
|
615
615
|
code?: string | undefined;
|
|
@@ -625,8 +625,8 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
625
625
|
extra?: Record<string, unknown> | undefined;
|
|
626
626
|
}, {
|
|
627
627
|
message: string;
|
|
628
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
629
628
|
rule: string;
|
|
629
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
630
630
|
nodeId: string;
|
|
631
631
|
nodeType: string;
|
|
632
632
|
code?: string | undefined;
|
|
@@ -687,14 +687,14 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
687
687
|
title: string;
|
|
688
688
|
kind: "replacePropValue";
|
|
689
689
|
prop: string;
|
|
690
|
-
deterministic?: boolean | undefined;
|
|
691
690
|
value?: unknown;
|
|
691
|
+
deterministic?: boolean | undefined;
|
|
692
692
|
}, {
|
|
693
693
|
title: string;
|
|
694
694
|
kind: "replacePropValue";
|
|
695
695
|
prop: string;
|
|
696
|
-
deterministic?: boolean | undefined;
|
|
697
696
|
value?: unknown;
|
|
697
|
+
deterministic?: boolean | undefined;
|
|
698
698
|
}>, z.ZodObject<{
|
|
699
699
|
kind: z.ZodLiteral<"replaceStyleValue">;
|
|
700
700
|
title: z.ZodString;
|
|
@@ -702,15 +702,15 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
702
702
|
value: z.ZodString;
|
|
703
703
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
704
704
|
}, "strip", z.ZodTypeAny, {
|
|
705
|
-
value: string;
|
|
706
705
|
title: string;
|
|
707
706
|
kind: "replaceStyleValue";
|
|
707
|
+
value: string;
|
|
708
708
|
property: string;
|
|
709
709
|
deterministic?: boolean | undefined;
|
|
710
710
|
}, {
|
|
711
|
-
value: string;
|
|
712
711
|
title: string;
|
|
713
712
|
kind: "replaceStyleValue";
|
|
713
|
+
value: string;
|
|
714
714
|
property: string;
|
|
715
715
|
deterministic?: boolean | undefined;
|
|
716
716
|
}>, z.ZodObject<{
|
|
@@ -785,20 +785,20 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
785
785
|
}, "strip", z.ZodTypeAny, {
|
|
786
786
|
areaId: string;
|
|
787
787
|
areaName: string;
|
|
788
|
-
criticality: "
|
|
788
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
789
789
|
owners: string[];
|
|
790
790
|
matchedGlob: string;
|
|
791
791
|
}, {
|
|
792
792
|
areaId: string;
|
|
793
793
|
areaName: string;
|
|
794
|
-
criticality: "
|
|
794
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
795
795
|
owners: string[];
|
|
796
796
|
matchedGlob: string;
|
|
797
797
|
}>>;
|
|
798
798
|
}, "strip", z.ZodTypeAny, {
|
|
799
799
|
message: string;
|
|
800
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
800
801
|
ruleId: string;
|
|
801
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
802
802
|
location: {
|
|
803
803
|
file: string;
|
|
804
804
|
line: number;
|
|
@@ -815,12 +815,12 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
815
815
|
title: string;
|
|
816
816
|
kind: "replacePropValue";
|
|
817
817
|
prop: string;
|
|
818
|
-
deterministic?: boolean | undefined;
|
|
819
818
|
value?: unknown;
|
|
819
|
+
deterministic?: boolean | undefined;
|
|
820
820
|
} | {
|
|
821
|
-
value: string;
|
|
822
821
|
title: string;
|
|
823
822
|
kind: "replaceStyleValue";
|
|
823
|
+
value: string;
|
|
824
824
|
property: string;
|
|
825
825
|
deterministic?: boolean | undefined;
|
|
826
826
|
} | {
|
|
@@ -846,7 +846,7 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
846
846
|
area?: {
|
|
847
847
|
areaId: string;
|
|
848
848
|
areaName: string;
|
|
849
|
-
criticality: "
|
|
849
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
850
850
|
owners: string[];
|
|
851
851
|
matchedGlob: string;
|
|
852
852
|
} | undefined;
|
|
@@ -856,8 +856,8 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
856
856
|
attributes?: Record<string, unknown> | undefined;
|
|
857
857
|
}, {
|
|
858
858
|
message: string;
|
|
859
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
859
860
|
ruleId: string;
|
|
860
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
861
861
|
location: {
|
|
862
862
|
file: string;
|
|
863
863
|
line: number;
|
|
@@ -874,12 +874,12 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
874
874
|
title: string;
|
|
875
875
|
kind: "replacePropValue";
|
|
876
876
|
prop: string;
|
|
877
|
-
deterministic?: boolean | undefined;
|
|
878
877
|
value?: unknown;
|
|
878
|
+
deterministic?: boolean | undefined;
|
|
879
879
|
} | {
|
|
880
|
-
value: string;
|
|
881
880
|
title: string;
|
|
882
881
|
kind: "replaceStyleValue";
|
|
882
|
+
value: string;
|
|
883
883
|
property: string;
|
|
884
884
|
deterministic?: boolean | undefined;
|
|
885
885
|
} | {
|
|
@@ -905,7 +905,7 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
905
905
|
area?: {
|
|
906
906
|
areaId: string;
|
|
907
907
|
areaName: string;
|
|
908
|
-
criticality: "
|
|
908
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
909
909
|
owners: string[];
|
|
910
910
|
matchedGlob: string;
|
|
911
911
|
} | undefined;
|
|
@@ -934,13 +934,13 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
934
934
|
prop?: string | undefined;
|
|
935
935
|
}>, "many">>;
|
|
936
936
|
}, "strip", z.ZodTypeAny, {
|
|
937
|
-
severity: "
|
|
937
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
938
938
|
validator: string;
|
|
939
939
|
passed: boolean;
|
|
940
940
|
violations: {
|
|
941
941
|
message: string;
|
|
942
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
943
942
|
rule: string;
|
|
943
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
944
944
|
nodeId: string;
|
|
945
945
|
nodeType: string;
|
|
946
946
|
code?: string | undefined;
|
|
@@ -957,8 +957,8 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
957
957
|
}[];
|
|
958
958
|
findings?: {
|
|
959
959
|
message: string;
|
|
960
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
960
961
|
ruleId: string;
|
|
961
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
962
962
|
location: {
|
|
963
963
|
file: string;
|
|
964
964
|
line: number;
|
|
@@ -975,12 +975,12 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
975
975
|
title: string;
|
|
976
976
|
kind: "replacePropValue";
|
|
977
977
|
prop: string;
|
|
978
|
-
deterministic?: boolean | undefined;
|
|
979
978
|
value?: unknown;
|
|
979
|
+
deterministic?: boolean | undefined;
|
|
980
980
|
} | {
|
|
981
|
-
value: string;
|
|
982
981
|
title: string;
|
|
983
982
|
kind: "replaceStyleValue";
|
|
983
|
+
value: string;
|
|
984
984
|
property: string;
|
|
985
985
|
deterministic?: boolean | undefined;
|
|
986
986
|
} | {
|
|
@@ -1006,7 +1006,7 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
1006
1006
|
area?: {
|
|
1007
1007
|
areaId: string;
|
|
1008
1008
|
areaName: string;
|
|
1009
|
-
criticality: "
|
|
1009
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
1010
1010
|
owners: string[];
|
|
1011
1011
|
matchedGlob: string;
|
|
1012
1012
|
} | undefined;
|
|
@@ -1023,13 +1023,13 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
1023
1023
|
prop?: string | undefined;
|
|
1024
1024
|
}[] | undefined;
|
|
1025
1025
|
}, {
|
|
1026
|
-
severity: "
|
|
1026
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1027
1027
|
validator: string;
|
|
1028
1028
|
passed: boolean;
|
|
1029
1029
|
violations: {
|
|
1030
1030
|
message: string;
|
|
1031
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1032
1031
|
rule: string;
|
|
1032
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1033
1033
|
nodeId: string;
|
|
1034
1034
|
nodeType: string;
|
|
1035
1035
|
code?: string | undefined;
|
|
@@ -1046,8 +1046,8 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
1046
1046
|
}[];
|
|
1047
1047
|
findings?: {
|
|
1048
1048
|
message: string;
|
|
1049
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1049
1050
|
ruleId: string;
|
|
1050
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1051
1051
|
location: {
|
|
1052
1052
|
file: string;
|
|
1053
1053
|
line: number;
|
|
@@ -1064,12 +1064,12 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
1064
1064
|
title: string;
|
|
1065
1065
|
kind: "replacePropValue";
|
|
1066
1066
|
prop: string;
|
|
1067
|
-
deterministic?: boolean | undefined;
|
|
1068
1067
|
value?: unknown;
|
|
1068
|
+
deterministic?: boolean | undefined;
|
|
1069
1069
|
} | {
|
|
1070
|
-
value: string;
|
|
1071
1070
|
title: string;
|
|
1072
1071
|
kind: "replaceStyleValue";
|
|
1072
|
+
value: string;
|
|
1073
1073
|
property: string;
|
|
1074
1074
|
deterministic?: boolean | undefined;
|
|
1075
1075
|
} | {
|
|
@@ -1095,7 +1095,7 @@ declare const validatorResultSchema: z.ZodObject<{
|
|
|
1095
1095
|
area?: {
|
|
1096
1096
|
areaId: string;
|
|
1097
1097
|
areaName: string;
|
|
1098
|
-
criticality: "
|
|
1098
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
1099
1099
|
owners: string[];
|
|
1100
1100
|
matchedGlob: string;
|
|
1101
1101
|
} | undefined;
|
|
@@ -1160,8 +1160,8 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1160
1160
|
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1161
1161
|
}, "strip", z.ZodTypeAny, {
|
|
1162
1162
|
message: string;
|
|
1163
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1164
1163
|
rule: string;
|
|
1164
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1165
1165
|
nodeId: string;
|
|
1166
1166
|
nodeType: string;
|
|
1167
1167
|
code?: string | undefined;
|
|
@@ -1177,8 +1177,8 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1177
1177
|
extra?: Record<string, unknown> | undefined;
|
|
1178
1178
|
}, {
|
|
1179
1179
|
message: string;
|
|
1180
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1181
1180
|
rule: string;
|
|
1181
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1182
1182
|
nodeId: string;
|
|
1183
1183
|
nodeType: string;
|
|
1184
1184
|
code?: string | undefined;
|
|
@@ -1239,14 +1239,14 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1239
1239
|
title: string;
|
|
1240
1240
|
kind: "replacePropValue";
|
|
1241
1241
|
prop: string;
|
|
1242
|
-
deterministic?: boolean | undefined;
|
|
1243
1242
|
value?: unknown;
|
|
1243
|
+
deterministic?: boolean | undefined;
|
|
1244
1244
|
}, {
|
|
1245
1245
|
title: string;
|
|
1246
1246
|
kind: "replacePropValue";
|
|
1247
1247
|
prop: string;
|
|
1248
|
-
deterministic?: boolean | undefined;
|
|
1249
1248
|
value?: unknown;
|
|
1249
|
+
deterministic?: boolean | undefined;
|
|
1250
1250
|
}>, z.ZodObject<{
|
|
1251
1251
|
kind: z.ZodLiteral<"replaceStyleValue">;
|
|
1252
1252
|
title: z.ZodString;
|
|
@@ -1254,15 +1254,15 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1254
1254
|
value: z.ZodString;
|
|
1255
1255
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
1256
1256
|
}, "strip", z.ZodTypeAny, {
|
|
1257
|
-
value: string;
|
|
1258
1257
|
title: string;
|
|
1259
1258
|
kind: "replaceStyleValue";
|
|
1259
|
+
value: string;
|
|
1260
1260
|
property: string;
|
|
1261
1261
|
deterministic?: boolean | undefined;
|
|
1262
1262
|
}, {
|
|
1263
|
-
value: string;
|
|
1264
1263
|
title: string;
|
|
1265
1264
|
kind: "replaceStyleValue";
|
|
1265
|
+
value: string;
|
|
1266
1266
|
property: string;
|
|
1267
1267
|
deterministic?: boolean | undefined;
|
|
1268
1268
|
}>, z.ZodObject<{
|
|
@@ -1337,20 +1337,20 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1337
1337
|
}, "strip", z.ZodTypeAny, {
|
|
1338
1338
|
areaId: string;
|
|
1339
1339
|
areaName: string;
|
|
1340
|
-
criticality: "
|
|
1340
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
1341
1341
|
owners: string[];
|
|
1342
1342
|
matchedGlob: string;
|
|
1343
1343
|
}, {
|
|
1344
1344
|
areaId: string;
|
|
1345
1345
|
areaName: string;
|
|
1346
|
-
criticality: "
|
|
1346
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
1347
1347
|
owners: string[];
|
|
1348
1348
|
matchedGlob: string;
|
|
1349
1349
|
}>>;
|
|
1350
1350
|
}, "strip", z.ZodTypeAny, {
|
|
1351
1351
|
message: string;
|
|
1352
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1352
1353
|
ruleId: string;
|
|
1353
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1354
1354
|
location: {
|
|
1355
1355
|
file: string;
|
|
1356
1356
|
line: number;
|
|
@@ -1367,12 +1367,12 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1367
1367
|
title: string;
|
|
1368
1368
|
kind: "replacePropValue";
|
|
1369
1369
|
prop: string;
|
|
1370
|
-
deterministic?: boolean | undefined;
|
|
1371
1370
|
value?: unknown;
|
|
1371
|
+
deterministic?: boolean | undefined;
|
|
1372
1372
|
} | {
|
|
1373
|
-
value: string;
|
|
1374
1373
|
title: string;
|
|
1375
1374
|
kind: "replaceStyleValue";
|
|
1375
|
+
value: string;
|
|
1376
1376
|
property: string;
|
|
1377
1377
|
deterministic?: boolean | undefined;
|
|
1378
1378
|
} | {
|
|
@@ -1398,7 +1398,7 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1398
1398
|
area?: {
|
|
1399
1399
|
areaId: string;
|
|
1400
1400
|
areaName: string;
|
|
1401
|
-
criticality: "
|
|
1401
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
1402
1402
|
owners: string[];
|
|
1403
1403
|
matchedGlob: string;
|
|
1404
1404
|
} | undefined;
|
|
@@ -1408,8 +1408,8 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1408
1408
|
attributes?: Record<string, unknown> | undefined;
|
|
1409
1409
|
}, {
|
|
1410
1410
|
message: string;
|
|
1411
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1411
1412
|
ruleId: string;
|
|
1412
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1413
1413
|
location: {
|
|
1414
1414
|
file: string;
|
|
1415
1415
|
line: number;
|
|
@@ -1426,12 +1426,12 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1426
1426
|
title: string;
|
|
1427
1427
|
kind: "replacePropValue";
|
|
1428
1428
|
prop: string;
|
|
1429
|
-
deterministic?: boolean | undefined;
|
|
1430
1429
|
value?: unknown;
|
|
1430
|
+
deterministic?: boolean | undefined;
|
|
1431
1431
|
} | {
|
|
1432
|
-
value: string;
|
|
1433
1432
|
title: string;
|
|
1434
1433
|
kind: "replaceStyleValue";
|
|
1434
|
+
value: string;
|
|
1435
1435
|
property: string;
|
|
1436
1436
|
deterministic?: boolean | undefined;
|
|
1437
1437
|
} | {
|
|
@@ -1457,7 +1457,7 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1457
1457
|
area?: {
|
|
1458
1458
|
areaId: string;
|
|
1459
1459
|
areaName: string;
|
|
1460
|
-
criticality: "
|
|
1460
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
1461
1461
|
owners: string[];
|
|
1462
1462
|
matchedGlob: string;
|
|
1463
1463
|
} | undefined;
|
|
@@ -1486,13 +1486,13 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1486
1486
|
prop?: string | undefined;
|
|
1487
1487
|
}>, "many">>;
|
|
1488
1488
|
}, "strip", z.ZodTypeAny, {
|
|
1489
|
-
severity: "
|
|
1489
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1490
1490
|
validator: string;
|
|
1491
1491
|
passed: boolean;
|
|
1492
1492
|
violations: {
|
|
1493
1493
|
message: string;
|
|
1494
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1495
1494
|
rule: string;
|
|
1495
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1496
1496
|
nodeId: string;
|
|
1497
1497
|
nodeType: string;
|
|
1498
1498
|
code?: string | undefined;
|
|
@@ -1509,8 +1509,8 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1509
1509
|
}[];
|
|
1510
1510
|
findings?: {
|
|
1511
1511
|
message: string;
|
|
1512
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1512
1513
|
ruleId: string;
|
|
1513
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1514
1514
|
location: {
|
|
1515
1515
|
file: string;
|
|
1516
1516
|
line: number;
|
|
@@ -1527,12 +1527,12 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1527
1527
|
title: string;
|
|
1528
1528
|
kind: "replacePropValue";
|
|
1529
1529
|
prop: string;
|
|
1530
|
-
deterministic?: boolean | undefined;
|
|
1531
1530
|
value?: unknown;
|
|
1531
|
+
deterministic?: boolean | undefined;
|
|
1532
1532
|
} | {
|
|
1533
|
-
value: string;
|
|
1534
1533
|
title: string;
|
|
1535
1534
|
kind: "replaceStyleValue";
|
|
1535
|
+
value: string;
|
|
1536
1536
|
property: string;
|
|
1537
1537
|
deterministic?: boolean | undefined;
|
|
1538
1538
|
} | {
|
|
@@ -1558,7 +1558,7 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1558
1558
|
area?: {
|
|
1559
1559
|
areaId: string;
|
|
1560
1560
|
areaName: string;
|
|
1561
|
-
criticality: "
|
|
1561
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
1562
1562
|
owners: string[];
|
|
1563
1563
|
matchedGlob: string;
|
|
1564
1564
|
} | undefined;
|
|
@@ -1575,13 +1575,13 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1575
1575
|
prop?: string | undefined;
|
|
1576
1576
|
}[] | undefined;
|
|
1577
1577
|
}, {
|
|
1578
|
-
severity: "
|
|
1578
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1579
1579
|
validator: string;
|
|
1580
1580
|
passed: boolean;
|
|
1581
1581
|
violations: {
|
|
1582
1582
|
message: string;
|
|
1583
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1584
1583
|
rule: string;
|
|
1584
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1585
1585
|
nodeId: string;
|
|
1586
1586
|
nodeType: string;
|
|
1587
1587
|
code?: string | undefined;
|
|
@@ -1598,8 +1598,8 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1598
1598
|
}[];
|
|
1599
1599
|
findings?: {
|
|
1600
1600
|
message: string;
|
|
1601
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1601
1602
|
ruleId: string;
|
|
1602
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1603
1603
|
location: {
|
|
1604
1604
|
file: string;
|
|
1605
1605
|
line: number;
|
|
@@ -1616,12 +1616,12 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1616
1616
|
title: string;
|
|
1617
1617
|
kind: "replacePropValue";
|
|
1618
1618
|
prop: string;
|
|
1619
|
-
deterministic?: boolean | undefined;
|
|
1620
1619
|
value?: unknown;
|
|
1620
|
+
deterministic?: boolean | undefined;
|
|
1621
1621
|
} | {
|
|
1622
|
-
value: string;
|
|
1623
1622
|
title: string;
|
|
1624
1623
|
kind: "replaceStyleValue";
|
|
1624
|
+
value: string;
|
|
1625
1625
|
property: string;
|
|
1626
1626
|
deterministic?: boolean | undefined;
|
|
1627
1627
|
} | {
|
|
@@ -1647,7 +1647,7 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1647
1647
|
area?: {
|
|
1648
1648
|
areaId: string;
|
|
1649
1649
|
areaName: string;
|
|
1650
|
-
criticality: "
|
|
1650
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
1651
1651
|
owners: string[];
|
|
1652
1652
|
matchedGlob: string;
|
|
1653
1653
|
} | undefined;
|
|
@@ -1694,13 +1694,13 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1694
1694
|
passed: boolean;
|
|
1695
1695
|
score: number;
|
|
1696
1696
|
results: {
|
|
1697
|
-
severity: "
|
|
1697
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1698
1698
|
validator: string;
|
|
1699
1699
|
passed: boolean;
|
|
1700
1700
|
violations: {
|
|
1701
1701
|
message: string;
|
|
1702
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1703
1702
|
rule: string;
|
|
1703
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1704
1704
|
nodeId: string;
|
|
1705
1705
|
nodeType: string;
|
|
1706
1706
|
code?: string | undefined;
|
|
@@ -1717,8 +1717,8 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1717
1717
|
}[];
|
|
1718
1718
|
findings?: {
|
|
1719
1719
|
message: string;
|
|
1720
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1720
1721
|
ruleId: string;
|
|
1721
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1722
1722
|
location: {
|
|
1723
1723
|
file: string;
|
|
1724
1724
|
line: number;
|
|
@@ -1735,12 +1735,12 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1735
1735
|
title: string;
|
|
1736
1736
|
kind: "replacePropValue";
|
|
1737
1737
|
prop: string;
|
|
1738
|
-
deterministic?: boolean | undefined;
|
|
1739
1738
|
value?: unknown;
|
|
1739
|
+
deterministic?: boolean | undefined;
|
|
1740
1740
|
} | {
|
|
1741
|
-
value: string;
|
|
1742
1741
|
title: string;
|
|
1743
1742
|
kind: "replaceStyleValue";
|
|
1743
|
+
value: string;
|
|
1744
1744
|
property: string;
|
|
1745
1745
|
deterministic?: boolean | undefined;
|
|
1746
1746
|
} | {
|
|
@@ -1766,7 +1766,7 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1766
1766
|
area?: {
|
|
1767
1767
|
areaId: string;
|
|
1768
1768
|
areaName: string;
|
|
1769
|
-
criticality: "
|
|
1769
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
1770
1770
|
owners: string[];
|
|
1771
1771
|
matchedGlob: string;
|
|
1772
1772
|
} | undefined;
|
|
@@ -1783,7 +1783,7 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1783
1783
|
prop?: string | undefined;
|
|
1784
1784
|
}[] | undefined;
|
|
1785
1785
|
}[];
|
|
1786
|
-
verdict?: "
|
|
1786
|
+
verdict?: "warn" | "pass" | "fail" | undefined;
|
|
1787
1787
|
}, {
|
|
1788
1788
|
metadata: {
|
|
1789
1789
|
nodeCount: number;
|
|
@@ -1795,13 +1795,13 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1795
1795
|
passed: boolean;
|
|
1796
1796
|
score: number;
|
|
1797
1797
|
results: {
|
|
1798
|
-
severity: "
|
|
1798
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1799
1799
|
validator: string;
|
|
1800
1800
|
passed: boolean;
|
|
1801
1801
|
violations: {
|
|
1802
1802
|
message: string;
|
|
1803
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1804
1803
|
rule: string;
|
|
1804
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1805
1805
|
nodeId: string;
|
|
1806
1806
|
nodeType: string;
|
|
1807
1807
|
code?: string | undefined;
|
|
@@ -1818,8 +1818,8 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1818
1818
|
}[];
|
|
1819
1819
|
findings?: {
|
|
1820
1820
|
message: string;
|
|
1821
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1821
1822
|
ruleId: string;
|
|
1822
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1823
1823
|
location: {
|
|
1824
1824
|
file: string;
|
|
1825
1825
|
line: number;
|
|
@@ -1836,12 +1836,12 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1836
1836
|
title: string;
|
|
1837
1837
|
kind: "replacePropValue";
|
|
1838
1838
|
prop: string;
|
|
1839
|
-
deterministic?: boolean | undefined;
|
|
1840
1839
|
value?: unknown;
|
|
1840
|
+
deterministic?: boolean | undefined;
|
|
1841
1841
|
} | {
|
|
1842
|
-
value: string;
|
|
1843
1842
|
title: string;
|
|
1844
1843
|
kind: "replaceStyleValue";
|
|
1844
|
+
value: string;
|
|
1845
1845
|
property: string;
|
|
1846
1846
|
deterministic?: boolean | undefined;
|
|
1847
1847
|
} | {
|
|
@@ -1867,7 +1867,7 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1867
1867
|
area?: {
|
|
1868
1868
|
areaId: string;
|
|
1869
1869
|
areaName: string;
|
|
1870
|
-
criticality: "
|
|
1870
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
1871
1871
|
owners: string[];
|
|
1872
1872
|
matchedGlob: string;
|
|
1873
1873
|
} | undefined;
|
|
@@ -1884,7 +1884,7 @@ declare const governanceVerdictSchema: z.ZodObject<{
|
|
|
1884
1884
|
prop?: string | undefined;
|
|
1885
1885
|
}[] | undefined;
|
|
1886
1886
|
}[];
|
|
1887
|
-
verdict?: "
|
|
1887
|
+
verdict?: "warn" | "pass" | "fail" | undefined;
|
|
1888
1888
|
}>;
|
|
1889
1889
|
type GovernanceVerdict = z.infer<typeof governanceVerdictSchema>;
|
|
1890
1890
|
declare const suppressionDirectiveSchema: z.ZodObject<{
|
|
@@ -1904,9 +1904,9 @@ declare const suppressionDirectiveSchema: z.ZodObject<{
|
|
|
1904
1904
|
}, {
|
|
1905
1905
|
reason: string;
|
|
1906
1906
|
code?: string | undefined;
|
|
1907
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
1907
1908
|
ruleId?: string | undefined;
|
|
1908
1909
|
expiresOn?: string | undefined;
|
|
1909
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
1910
1910
|
expiresAt?: string | undefined;
|
|
1911
1911
|
}>;
|
|
1912
1912
|
type SuppressionDirective = z.infer<typeof suppressionDirectiveSchema>;
|
|
@@ -1949,10 +1949,10 @@ declare const agentFindingSchema: z.ZodObject<{
|
|
|
1949
1949
|
}>;
|
|
1950
1950
|
}, "strip", z.ZodTypeAny, {
|
|
1951
1951
|
message: string;
|
|
1952
|
-
|
|
1953
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1952
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1954
1953
|
filePath: string;
|
|
1955
1954
|
line: number;
|
|
1955
|
+
ruleId: string;
|
|
1956
1956
|
evidence: FactEvidence[];
|
|
1957
1957
|
level: "error" | "warn";
|
|
1958
1958
|
col: number;
|
|
@@ -1965,10 +1965,10 @@ declare const agentFindingSchema: z.ZodObject<{
|
|
|
1965
1965
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
1966
1966
|
}, {
|
|
1967
1967
|
message: string;
|
|
1968
|
-
|
|
1969
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
1968
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
1970
1969
|
filePath: string;
|
|
1971
1970
|
line: number;
|
|
1971
|
+
ruleId: string;
|
|
1972
1972
|
evidence: FactEvidence[];
|
|
1973
1973
|
level: "error" | "warn";
|
|
1974
1974
|
col: number;
|
|
@@ -2029,10 +2029,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2029
2029
|
}>;
|
|
2030
2030
|
}, "strip", z.ZodTypeAny, {
|
|
2031
2031
|
message: string;
|
|
2032
|
-
|
|
2033
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2032
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2034
2033
|
filePath: string;
|
|
2035
2034
|
line: number;
|
|
2035
|
+
ruleId: string;
|
|
2036
2036
|
evidence: FactEvidence[];
|
|
2037
2037
|
level: "error" | "warn";
|
|
2038
2038
|
col: number;
|
|
@@ -2045,10 +2045,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2045
2045
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
2046
2046
|
}, {
|
|
2047
2047
|
message: string;
|
|
2048
|
-
|
|
2049
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2048
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2050
2049
|
filePath: string;
|
|
2051
2050
|
line: number;
|
|
2051
|
+
ruleId: string;
|
|
2052
2052
|
evidence: FactEvidence[];
|
|
2053
2053
|
level: "error" | "warn";
|
|
2054
2054
|
col: number;
|
|
@@ -2086,10 +2086,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2086
2086
|
}>;
|
|
2087
2087
|
}, "strip", z.ZodTypeAny, {
|
|
2088
2088
|
message: string;
|
|
2089
|
-
|
|
2090
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2089
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2091
2090
|
filePath: string;
|
|
2092
2091
|
line: number;
|
|
2092
|
+
ruleId: string;
|
|
2093
2093
|
evidence: FactEvidence[];
|
|
2094
2094
|
level: "error" | "warn";
|
|
2095
2095
|
col: number;
|
|
@@ -2102,10 +2102,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2102
2102
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
2103
2103
|
}, {
|
|
2104
2104
|
message: string;
|
|
2105
|
-
|
|
2106
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2105
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2107
2106
|
filePath: string;
|
|
2108
2107
|
line: number;
|
|
2108
|
+
ruleId: string;
|
|
2109
2109
|
evidence: FactEvidence[];
|
|
2110
2110
|
level: "error" | "warn";
|
|
2111
2111
|
col: number;
|
|
@@ -2189,14 +2189,14 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2189
2189
|
title: string;
|
|
2190
2190
|
kind: "replacePropValue";
|
|
2191
2191
|
prop: string;
|
|
2192
|
-
deterministic?: boolean | undefined;
|
|
2193
2192
|
value?: unknown;
|
|
2193
|
+
deterministic?: boolean | undefined;
|
|
2194
2194
|
}, {
|
|
2195
2195
|
title: string;
|
|
2196
2196
|
kind: "replacePropValue";
|
|
2197
2197
|
prop: string;
|
|
2198
|
-
deterministic?: boolean | undefined;
|
|
2199
2198
|
value?: unknown;
|
|
2199
|
+
deterministic?: boolean | undefined;
|
|
2200
2200
|
}>, z.ZodObject<{
|
|
2201
2201
|
kind: z.ZodLiteral<"replaceStyleValue">;
|
|
2202
2202
|
title: z.ZodString;
|
|
@@ -2204,15 +2204,15 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2204
2204
|
value: z.ZodString;
|
|
2205
2205
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
2206
2206
|
}, "strip", z.ZodTypeAny, {
|
|
2207
|
-
value: string;
|
|
2208
2207
|
title: string;
|
|
2209
2208
|
kind: "replaceStyleValue";
|
|
2209
|
+
value: string;
|
|
2210
2210
|
property: string;
|
|
2211
2211
|
deterministic?: boolean | undefined;
|
|
2212
2212
|
}, {
|
|
2213
|
-
value: string;
|
|
2214
2213
|
title: string;
|
|
2215
2214
|
kind: "replaceStyleValue";
|
|
2215
|
+
value: string;
|
|
2216
2216
|
property: string;
|
|
2217
2217
|
deterministic?: boolean | undefined;
|
|
2218
2218
|
}>, z.ZodObject<{
|
|
@@ -2287,20 +2287,20 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2287
2287
|
}, "strip", z.ZodTypeAny, {
|
|
2288
2288
|
areaId: string;
|
|
2289
2289
|
areaName: string;
|
|
2290
|
-
criticality: "
|
|
2290
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
2291
2291
|
owners: string[];
|
|
2292
2292
|
matchedGlob: string;
|
|
2293
2293
|
}, {
|
|
2294
2294
|
areaId: string;
|
|
2295
2295
|
areaName: string;
|
|
2296
|
-
criticality: "
|
|
2296
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
2297
2297
|
owners: string[];
|
|
2298
2298
|
matchedGlob: string;
|
|
2299
2299
|
}>>;
|
|
2300
2300
|
}, "strip", z.ZodTypeAny, {
|
|
2301
2301
|
message: string;
|
|
2302
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2302
2303
|
ruleId: string;
|
|
2303
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2304
2304
|
location: {
|
|
2305
2305
|
file: string;
|
|
2306
2306
|
line: number;
|
|
@@ -2317,12 +2317,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2317
2317
|
title: string;
|
|
2318
2318
|
kind: "replacePropValue";
|
|
2319
2319
|
prop: string;
|
|
2320
|
-
deterministic?: boolean | undefined;
|
|
2321
2320
|
value?: unknown;
|
|
2321
|
+
deterministic?: boolean | undefined;
|
|
2322
2322
|
} | {
|
|
2323
|
-
value: string;
|
|
2324
2323
|
title: string;
|
|
2325
2324
|
kind: "replaceStyleValue";
|
|
2325
|
+
value: string;
|
|
2326
2326
|
property: string;
|
|
2327
2327
|
deterministic?: boolean | undefined;
|
|
2328
2328
|
} | {
|
|
@@ -2348,7 +2348,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2348
2348
|
area?: {
|
|
2349
2349
|
areaId: string;
|
|
2350
2350
|
areaName: string;
|
|
2351
|
-
criticality: "
|
|
2351
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
2352
2352
|
owners: string[];
|
|
2353
2353
|
matchedGlob: string;
|
|
2354
2354
|
} | undefined;
|
|
@@ -2358,8 +2358,8 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2358
2358
|
attributes?: Record<string, unknown> | undefined;
|
|
2359
2359
|
}, {
|
|
2360
2360
|
message: string;
|
|
2361
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2361
2362
|
ruleId: string;
|
|
2362
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2363
2363
|
location: {
|
|
2364
2364
|
file: string;
|
|
2365
2365
|
line: number;
|
|
@@ -2376,12 +2376,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2376
2376
|
title: string;
|
|
2377
2377
|
kind: "replacePropValue";
|
|
2378
2378
|
prop: string;
|
|
2379
|
-
deterministic?: boolean | undefined;
|
|
2380
2379
|
value?: unknown;
|
|
2380
|
+
deterministic?: boolean | undefined;
|
|
2381
2381
|
} | {
|
|
2382
|
-
value: string;
|
|
2383
2382
|
title: string;
|
|
2384
2383
|
kind: "replaceStyleValue";
|
|
2384
|
+
value: string;
|
|
2385
2385
|
property: string;
|
|
2386
2386
|
deterministic?: boolean | undefined;
|
|
2387
2387
|
} | {
|
|
@@ -2407,7 +2407,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2407
2407
|
area?: {
|
|
2408
2408
|
areaId: string;
|
|
2409
2409
|
areaName: string;
|
|
2410
|
-
criticality: "
|
|
2410
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
2411
2411
|
owners: string[];
|
|
2412
2412
|
matchedGlob: string;
|
|
2413
2413
|
} | undefined;
|
|
@@ -2433,9 +2433,9 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2433
2433
|
}, {
|
|
2434
2434
|
reason: string;
|
|
2435
2435
|
code?: string | undefined;
|
|
2436
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
2436
2437
|
ruleId?: string | undefined;
|
|
2437
2438
|
expiresOn?: string | undefined;
|
|
2438
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
2439
2439
|
expiresAt?: string | undefined;
|
|
2440
2440
|
}>, "many">>;
|
|
2441
2441
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
@@ -2457,11 +2457,11 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2457
2457
|
inputsHash: z.ZodOptional<z.ZodString>;
|
|
2458
2458
|
inputFilesHash: z.ZodString;
|
|
2459
2459
|
}, "strip", z.ZodTypeAny, {
|
|
2460
|
+
fcid: string;
|
|
2460
2461
|
scope: {
|
|
2461
2462
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
2462
2463
|
gitOk: boolean;
|
|
2463
2464
|
};
|
|
2464
|
-
fcid: string;
|
|
2465
2465
|
runId: string;
|
|
2466
2466
|
engineVersion: string;
|
|
2467
2467
|
scopeHash: string;
|
|
@@ -2469,11 +2469,11 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2469
2469
|
baselineId?: string | undefined;
|
|
2470
2470
|
inputsHash?: string | undefined;
|
|
2471
2471
|
}, {
|
|
2472
|
+
fcid: string;
|
|
2472
2473
|
scope: {
|
|
2473
2474
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
2474
2475
|
gitOk: boolean;
|
|
2475
2476
|
};
|
|
2476
|
-
fcid: string;
|
|
2477
2477
|
runId: string;
|
|
2478
2478
|
engineVersion: string;
|
|
2479
2479
|
scopeHash: string;
|
|
@@ -2538,10 +2538,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2538
2538
|
};
|
|
2539
2539
|
fix_first: {
|
|
2540
2540
|
message: string;
|
|
2541
|
-
|
|
2542
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2541
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2543
2542
|
filePath: string;
|
|
2544
2543
|
line: number;
|
|
2544
|
+
ruleId: string;
|
|
2545
2545
|
evidence: FactEvidence[];
|
|
2546
2546
|
level: "error" | "warn";
|
|
2547
2547
|
col: number;
|
|
@@ -2555,10 +2555,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2555
2555
|
}[];
|
|
2556
2556
|
remaining: {
|
|
2557
2557
|
message: string;
|
|
2558
|
-
|
|
2559
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2558
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2560
2559
|
filePath: string;
|
|
2561
2560
|
line: number;
|
|
2561
|
+
ruleId: string;
|
|
2562
2562
|
evidence: FactEvidence[];
|
|
2563
2563
|
level: "error" | "warn";
|
|
2564
2564
|
col: number;
|
|
@@ -2583,18 +2583,13 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2583
2583
|
expiresOn?: string | undefined;
|
|
2584
2584
|
expiresAt?: string | undefined;
|
|
2585
2585
|
}[] | undefined;
|
|
2586
|
-
verdict?: {
|
|
2587
|
-
reasons: string[];
|
|
2588
|
-
exitCode: 0 | 1;
|
|
2589
|
-
gatingFindingCount: number;
|
|
2590
|
-
} | undefined;
|
|
2591
2586
|
status?: undefined;
|
|
2592
2587
|
provenance?: {
|
|
2588
|
+
fcid: string;
|
|
2593
2589
|
scope: {
|
|
2594
2590
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
2595
2591
|
gitOk: boolean;
|
|
2596
2592
|
};
|
|
2597
|
-
fcid: string;
|
|
2598
2593
|
runId: string;
|
|
2599
2594
|
engineVersion: string;
|
|
2600
2595
|
scopeHash: string;
|
|
@@ -2602,10 +2597,15 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2602
2597
|
baselineId?: string | undefined;
|
|
2603
2598
|
inputsHash?: string | undefined;
|
|
2604
2599
|
} | undefined;
|
|
2600
|
+
verdict?: {
|
|
2601
|
+
reasons: string[];
|
|
2602
|
+
exitCode: 0 | 1;
|
|
2603
|
+
gatingFindingCount: number;
|
|
2604
|
+
} | undefined;
|
|
2605
2605
|
findings?: {
|
|
2606
2606
|
message: string;
|
|
2607
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2607
2608
|
ruleId: string;
|
|
2608
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2609
2609
|
location: {
|
|
2610
2610
|
file: string;
|
|
2611
2611
|
line: number;
|
|
@@ -2622,12 +2622,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2622
2622
|
title: string;
|
|
2623
2623
|
kind: "replacePropValue";
|
|
2624
2624
|
prop: string;
|
|
2625
|
-
deterministic?: boolean | undefined;
|
|
2626
2625
|
value?: unknown;
|
|
2626
|
+
deterministic?: boolean | undefined;
|
|
2627
2627
|
} | {
|
|
2628
|
-
value: string;
|
|
2629
2628
|
title: string;
|
|
2630
2629
|
kind: "replaceStyleValue";
|
|
2630
|
+
value: string;
|
|
2631
2631
|
property: string;
|
|
2632
2632
|
deterministic?: boolean | undefined;
|
|
2633
2633
|
} | {
|
|
@@ -2653,7 +2653,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2653
2653
|
area?: {
|
|
2654
2654
|
areaId: string;
|
|
2655
2655
|
areaName: string;
|
|
2656
|
-
criticality: "
|
|
2656
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
2657
2657
|
owners: string[];
|
|
2658
2658
|
matchedGlob: string;
|
|
2659
2659
|
} | undefined;
|
|
@@ -2682,10 +2682,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2682
2682
|
};
|
|
2683
2683
|
fix_first: {
|
|
2684
2684
|
message: string;
|
|
2685
|
-
|
|
2686
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2685
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2687
2686
|
filePath: string;
|
|
2688
2687
|
line: number;
|
|
2688
|
+
ruleId: string;
|
|
2689
2689
|
evidence: FactEvidence[];
|
|
2690
2690
|
level: "error" | "warn";
|
|
2691
2691
|
col: number;
|
|
@@ -2699,10 +2699,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2699
2699
|
}[];
|
|
2700
2700
|
remaining: {
|
|
2701
2701
|
message: string;
|
|
2702
|
-
|
|
2703
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2702
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2704
2703
|
filePath: string;
|
|
2705
2704
|
line: number;
|
|
2705
|
+
ruleId: string;
|
|
2706
2706
|
evidence: FactEvidence[];
|
|
2707
2707
|
level: "error" | "warn";
|
|
2708
2708
|
col: number;
|
|
@@ -2722,23 +2722,18 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2722
2722
|
suppressions?: {
|
|
2723
2723
|
reason: string;
|
|
2724
2724
|
code?: string | undefined;
|
|
2725
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
2725
2726
|
ruleId?: string | undefined;
|
|
2726
2727
|
expiresOn?: string | undefined;
|
|
2727
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
2728
2728
|
expiresAt?: string | undefined;
|
|
2729
2729
|
}[] | undefined;
|
|
2730
|
-
verdict?: {
|
|
2731
|
-
reasons: string[];
|
|
2732
|
-
exitCode: 0 | 1;
|
|
2733
|
-
gatingFindingCount: number;
|
|
2734
|
-
} | undefined;
|
|
2735
2730
|
status?: undefined;
|
|
2736
2731
|
provenance?: {
|
|
2732
|
+
fcid: string;
|
|
2737
2733
|
scope: {
|
|
2738
2734
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
2739
2735
|
gitOk: boolean;
|
|
2740
2736
|
};
|
|
2741
|
-
fcid: string;
|
|
2742
2737
|
runId: string;
|
|
2743
2738
|
engineVersion: string;
|
|
2744
2739
|
scopeHash: string;
|
|
@@ -2746,10 +2741,15 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2746
2741
|
baselineId?: string | undefined;
|
|
2747
2742
|
inputsHash?: string | undefined;
|
|
2748
2743
|
} | undefined;
|
|
2744
|
+
verdict?: {
|
|
2745
|
+
reasons: string[];
|
|
2746
|
+
exitCode: 0 | 1;
|
|
2747
|
+
gatingFindingCount: number;
|
|
2748
|
+
} | undefined;
|
|
2749
2749
|
findings?: {
|
|
2750
2750
|
message: string;
|
|
2751
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2751
2752
|
ruleId: string;
|
|
2752
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2753
2753
|
location: {
|
|
2754
2754
|
file: string;
|
|
2755
2755
|
line: number;
|
|
@@ -2766,12 +2766,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2766
2766
|
title: string;
|
|
2767
2767
|
kind: "replacePropValue";
|
|
2768
2768
|
prop: string;
|
|
2769
|
-
deterministic?: boolean | undefined;
|
|
2770
2769
|
value?: unknown;
|
|
2770
|
+
deterministic?: boolean | undefined;
|
|
2771
2771
|
} | {
|
|
2772
|
-
value: string;
|
|
2773
2772
|
title: string;
|
|
2774
2773
|
kind: "replaceStyleValue";
|
|
2774
|
+
value: string;
|
|
2775
2775
|
property: string;
|
|
2776
2776
|
deterministic?: boolean | undefined;
|
|
2777
2777
|
} | {
|
|
@@ -2797,7 +2797,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2797
2797
|
area?: {
|
|
2798
2798
|
areaId: string;
|
|
2799
2799
|
areaName: string;
|
|
2800
|
-
criticality: "
|
|
2800
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
2801
2801
|
owners: string[];
|
|
2802
2802
|
matchedGlob: string;
|
|
2803
2803
|
} | undefined;
|
|
@@ -2836,10 +2836,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2836
2836
|
}>;
|
|
2837
2837
|
}, "strip", z.ZodTypeAny, {
|
|
2838
2838
|
message: string;
|
|
2839
|
-
|
|
2840
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2839
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2841
2840
|
filePath: string;
|
|
2842
2841
|
line: number;
|
|
2842
|
+
ruleId: string;
|
|
2843
2843
|
evidence: FactEvidence[];
|
|
2844
2844
|
level: "error" | "warn";
|
|
2845
2845
|
col: number;
|
|
@@ -2852,10 +2852,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2852
2852
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
2853
2853
|
}, {
|
|
2854
2854
|
message: string;
|
|
2855
|
-
|
|
2856
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2855
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2857
2856
|
filePath: string;
|
|
2858
2857
|
line: number;
|
|
2858
|
+
ruleId: string;
|
|
2859
2859
|
evidence: FactEvidence[];
|
|
2860
2860
|
level: "error" | "warn";
|
|
2861
2861
|
col: number;
|
|
@@ -2893,10 +2893,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2893
2893
|
}>;
|
|
2894
2894
|
}, "strip", z.ZodTypeAny, {
|
|
2895
2895
|
message: string;
|
|
2896
|
-
|
|
2897
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2896
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2898
2897
|
filePath: string;
|
|
2899
2898
|
line: number;
|
|
2899
|
+
ruleId: string;
|
|
2900
2900
|
evidence: FactEvidence[];
|
|
2901
2901
|
level: "error" | "warn";
|
|
2902
2902
|
col: number;
|
|
@@ -2909,10 +2909,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2909
2909
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
2910
2910
|
}, {
|
|
2911
2911
|
message: string;
|
|
2912
|
-
|
|
2913
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
2912
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
2914
2913
|
filePath: string;
|
|
2915
2914
|
line: number;
|
|
2915
|
+
ruleId: string;
|
|
2916
2916
|
evidence: FactEvidence[];
|
|
2917
2917
|
level: "error" | "warn";
|
|
2918
2918
|
col: number;
|
|
@@ -2996,14 +2996,14 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
2996
2996
|
title: string;
|
|
2997
2997
|
kind: "replacePropValue";
|
|
2998
2998
|
prop: string;
|
|
2999
|
-
deterministic?: boolean | undefined;
|
|
3000
2999
|
value?: unknown;
|
|
3000
|
+
deterministic?: boolean | undefined;
|
|
3001
3001
|
}, {
|
|
3002
3002
|
title: string;
|
|
3003
3003
|
kind: "replacePropValue";
|
|
3004
3004
|
prop: string;
|
|
3005
|
-
deterministic?: boolean | undefined;
|
|
3006
3005
|
value?: unknown;
|
|
3006
|
+
deterministic?: boolean | undefined;
|
|
3007
3007
|
}>, z.ZodObject<{
|
|
3008
3008
|
kind: z.ZodLiteral<"replaceStyleValue">;
|
|
3009
3009
|
title: z.ZodString;
|
|
@@ -3011,15 +3011,15 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3011
3011
|
value: z.ZodString;
|
|
3012
3012
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
3013
3013
|
}, "strip", z.ZodTypeAny, {
|
|
3014
|
-
value: string;
|
|
3015
3014
|
title: string;
|
|
3016
3015
|
kind: "replaceStyleValue";
|
|
3016
|
+
value: string;
|
|
3017
3017
|
property: string;
|
|
3018
3018
|
deterministic?: boolean | undefined;
|
|
3019
3019
|
}, {
|
|
3020
|
-
value: string;
|
|
3021
3020
|
title: string;
|
|
3022
3021
|
kind: "replaceStyleValue";
|
|
3022
|
+
value: string;
|
|
3023
3023
|
property: string;
|
|
3024
3024
|
deterministic?: boolean | undefined;
|
|
3025
3025
|
}>, z.ZodObject<{
|
|
@@ -3094,20 +3094,20 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3094
3094
|
}, "strip", z.ZodTypeAny, {
|
|
3095
3095
|
areaId: string;
|
|
3096
3096
|
areaName: string;
|
|
3097
|
-
criticality: "
|
|
3097
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
3098
3098
|
owners: string[];
|
|
3099
3099
|
matchedGlob: string;
|
|
3100
3100
|
}, {
|
|
3101
3101
|
areaId: string;
|
|
3102
3102
|
areaName: string;
|
|
3103
|
-
criticality: "
|
|
3103
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
3104
3104
|
owners: string[];
|
|
3105
3105
|
matchedGlob: string;
|
|
3106
3106
|
}>>;
|
|
3107
3107
|
}, "strip", z.ZodTypeAny, {
|
|
3108
3108
|
message: string;
|
|
3109
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3109
3110
|
ruleId: string;
|
|
3110
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3111
3111
|
location: {
|
|
3112
3112
|
file: string;
|
|
3113
3113
|
line: number;
|
|
@@ -3124,12 +3124,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3124
3124
|
title: string;
|
|
3125
3125
|
kind: "replacePropValue";
|
|
3126
3126
|
prop: string;
|
|
3127
|
-
deterministic?: boolean | undefined;
|
|
3128
3127
|
value?: unknown;
|
|
3128
|
+
deterministic?: boolean | undefined;
|
|
3129
3129
|
} | {
|
|
3130
|
-
value: string;
|
|
3131
3130
|
title: string;
|
|
3132
3131
|
kind: "replaceStyleValue";
|
|
3132
|
+
value: string;
|
|
3133
3133
|
property: string;
|
|
3134
3134
|
deterministic?: boolean | undefined;
|
|
3135
3135
|
} | {
|
|
@@ -3155,7 +3155,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3155
3155
|
area?: {
|
|
3156
3156
|
areaId: string;
|
|
3157
3157
|
areaName: string;
|
|
3158
|
-
criticality: "
|
|
3158
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
3159
3159
|
owners: string[];
|
|
3160
3160
|
matchedGlob: string;
|
|
3161
3161
|
} | undefined;
|
|
@@ -3165,8 +3165,8 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3165
3165
|
attributes?: Record<string, unknown> | undefined;
|
|
3166
3166
|
}, {
|
|
3167
3167
|
message: string;
|
|
3168
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3168
3169
|
ruleId: string;
|
|
3169
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3170
3170
|
location: {
|
|
3171
3171
|
file: string;
|
|
3172
3172
|
line: number;
|
|
@@ -3183,12 +3183,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3183
3183
|
title: string;
|
|
3184
3184
|
kind: "replacePropValue";
|
|
3185
3185
|
prop: string;
|
|
3186
|
-
deterministic?: boolean | undefined;
|
|
3187
3186
|
value?: unknown;
|
|
3187
|
+
deterministic?: boolean | undefined;
|
|
3188
3188
|
} | {
|
|
3189
|
-
value: string;
|
|
3190
3189
|
title: string;
|
|
3191
3190
|
kind: "replaceStyleValue";
|
|
3191
|
+
value: string;
|
|
3192
3192
|
property: string;
|
|
3193
3193
|
deterministic?: boolean | undefined;
|
|
3194
3194
|
} | {
|
|
@@ -3214,7 +3214,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3214
3214
|
area?: {
|
|
3215
3215
|
areaId: string;
|
|
3216
3216
|
areaName: string;
|
|
3217
|
-
criticality: "
|
|
3217
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
3218
3218
|
owners: string[];
|
|
3219
3219
|
matchedGlob: string;
|
|
3220
3220
|
} | undefined;
|
|
@@ -3240,9 +3240,9 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3240
3240
|
}, {
|
|
3241
3241
|
reason: string;
|
|
3242
3242
|
code?: string | undefined;
|
|
3243
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
3243
3244
|
ruleId?: string | undefined;
|
|
3244
3245
|
expiresOn?: string | undefined;
|
|
3245
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
3246
3246
|
expiresAt?: string | undefined;
|
|
3247
3247
|
}>, "many">>;
|
|
3248
3248
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
@@ -3264,11 +3264,11 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3264
3264
|
inputsHash: z.ZodOptional<z.ZodString>;
|
|
3265
3265
|
inputFilesHash: z.ZodString;
|
|
3266
3266
|
}, "strip", z.ZodTypeAny, {
|
|
3267
|
+
fcid: string;
|
|
3267
3268
|
scope: {
|
|
3268
3269
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
3269
3270
|
gitOk: boolean;
|
|
3270
3271
|
};
|
|
3271
|
-
fcid: string;
|
|
3272
3272
|
runId: string;
|
|
3273
3273
|
engineVersion: string;
|
|
3274
3274
|
scopeHash: string;
|
|
@@ -3276,11 +3276,11 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3276
3276
|
baselineId?: string | undefined;
|
|
3277
3277
|
inputsHash?: string | undefined;
|
|
3278
3278
|
}, {
|
|
3279
|
+
fcid: string;
|
|
3279
3280
|
scope: {
|
|
3280
3281
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
3281
3282
|
gitOk: boolean;
|
|
3282
3283
|
};
|
|
3283
|
-
fcid: string;
|
|
3284
3284
|
runId: string;
|
|
3285
3285
|
engineVersion: string;
|
|
3286
3286
|
scopeHash: string;
|
|
@@ -3346,10 +3346,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3346
3346
|
};
|
|
3347
3347
|
fix_first: {
|
|
3348
3348
|
message: string;
|
|
3349
|
-
|
|
3350
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3349
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3351
3350
|
filePath: string;
|
|
3352
3351
|
line: number;
|
|
3352
|
+
ruleId: string;
|
|
3353
3353
|
evidence: FactEvidence[];
|
|
3354
3354
|
level: "error" | "warn";
|
|
3355
3355
|
col: number;
|
|
@@ -3363,10 +3363,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3363
3363
|
}[];
|
|
3364
3364
|
remaining: {
|
|
3365
3365
|
message: string;
|
|
3366
|
-
|
|
3367
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3366
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3368
3367
|
filePath: string;
|
|
3369
3368
|
line: number;
|
|
3369
|
+
ruleId: string;
|
|
3370
3370
|
evidence: FactEvidence[];
|
|
3371
3371
|
level: "error" | "warn";
|
|
3372
3372
|
col: number;
|
|
@@ -3391,17 +3391,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3391
3391
|
expiresOn?: string | undefined;
|
|
3392
3392
|
expiresAt?: string | undefined;
|
|
3393
3393
|
}[] | undefined;
|
|
3394
|
-
verdict?: {
|
|
3395
|
-
reasons: string[];
|
|
3396
|
-
exitCode: 0 | 1;
|
|
3397
|
-
gatingFindingCount: number;
|
|
3398
|
-
} | undefined;
|
|
3399
3394
|
provenance?: {
|
|
3395
|
+
fcid: string;
|
|
3400
3396
|
scope: {
|
|
3401
3397
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
3402
3398
|
gitOk: boolean;
|
|
3403
3399
|
};
|
|
3404
|
-
fcid: string;
|
|
3405
3400
|
runId: string;
|
|
3406
3401
|
engineVersion: string;
|
|
3407
3402
|
scopeHash: string;
|
|
@@ -3409,10 +3404,15 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3409
3404
|
baselineId?: string | undefined;
|
|
3410
3405
|
inputsHash?: string | undefined;
|
|
3411
3406
|
} | undefined;
|
|
3407
|
+
verdict?: {
|
|
3408
|
+
reasons: string[];
|
|
3409
|
+
exitCode: 0 | 1;
|
|
3410
|
+
gatingFindingCount: number;
|
|
3411
|
+
} | undefined;
|
|
3412
3412
|
findings?: {
|
|
3413
3413
|
message: string;
|
|
3414
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3414
3415
|
ruleId: string;
|
|
3415
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3416
3416
|
location: {
|
|
3417
3417
|
file: string;
|
|
3418
3418
|
line: number;
|
|
@@ -3429,12 +3429,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3429
3429
|
title: string;
|
|
3430
3430
|
kind: "replacePropValue";
|
|
3431
3431
|
prop: string;
|
|
3432
|
-
deterministic?: boolean | undefined;
|
|
3433
3432
|
value?: unknown;
|
|
3433
|
+
deterministic?: boolean | undefined;
|
|
3434
3434
|
} | {
|
|
3435
|
-
value: string;
|
|
3436
3435
|
title: string;
|
|
3437
3436
|
kind: "replaceStyleValue";
|
|
3437
|
+
value: string;
|
|
3438
3438
|
property: string;
|
|
3439
3439
|
deterministic?: boolean | undefined;
|
|
3440
3440
|
} | {
|
|
@@ -3460,7 +3460,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3460
3460
|
area?: {
|
|
3461
3461
|
areaId: string;
|
|
3462
3462
|
areaName: string;
|
|
3463
|
-
criticality: "
|
|
3463
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
3464
3464
|
owners: string[];
|
|
3465
3465
|
matchedGlob: string;
|
|
3466
3466
|
} | undefined;
|
|
@@ -3490,10 +3490,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3490
3490
|
};
|
|
3491
3491
|
fix_first: {
|
|
3492
3492
|
message: string;
|
|
3493
|
-
|
|
3494
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3493
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3495
3494
|
filePath: string;
|
|
3496
3495
|
line: number;
|
|
3496
|
+
ruleId: string;
|
|
3497
3497
|
evidence: FactEvidence[];
|
|
3498
3498
|
level: "error" | "warn";
|
|
3499
3499
|
col: number;
|
|
@@ -3507,10 +3507,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3507
3507
|
}[];
|
|
3508
3508
|
remaining: {
|
|
3509
3509
|
message: string;
|
|
3510
|
-
|
|
3511
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3510
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3512
3511
|
filePath: string;
|
|
3513
3512
|
line: number;
|
|
3513
|
+
ruleId: string;
|
|
3514
3514
|
evidence: FactEvidence[];
|
|
3515
3515
|
level: "error" | "warn";
|
|
3516
3516
|
col: number;
|
|
@@ -3530,22 +3530,17 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3530
3530
|
suppressions?: {
|
|
3531
3531
|
reason: string;
|
|
3532
3532
|
code?: string | undefined;
|
|
3533
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
3533
3534
|
ruleId?: string | undefined;
|
|
3534
3535
|
expiresOn?: string | undefined;
|
|
3535
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
3536
3536
|
expiresAt?: string | undefined;
|
|
3537
3537
|
}[] | undefined;
|
|
3538
|
-
verdict?: {
|
|
3539
|
-
reasons: string[];
|
|
3540
|
-
exitCode: 0 | 1;
|
|
3541
|
-
gatingFindingCount: number;
|
|
3542
|
-
} | undefined;
|
|
3543
3538
|
provenance?: {
|
|
3539
|
+
fcid: string;
|
|
3544
3540
|
scope: {
|
|
3545
3541
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
3546
3542
|
gitOk: boolean;
|
|
3547
3543
|
};
|
|
3548
|
-
fcid: string;
|
|
3549
3544
|
runId: string;
|
|
3550
3545
|
engineVersion: string;
|
|
3551
3546
|
scopeHash: string;
|
|
@@ -3553,10 +3548,15 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3553
3548
|
baselineId?: string | undefined;
|
|
3554
3549
|
inputsHash?: string | undefined;
|
|
3555
3550
|
} | undefined;
|
|
3551
|
+
verdict?: {
|
|
3552
|
+
reasons: string[];
|
|
3553
|
+
exitCode: 0 | 1;
|
|
3554
|
+
gatingFindingCount: number;
|
|
3555
|
+
} | undefined;
|
|
3556
3556
|
findings?: {
|
|
3557
3557
|
message: string;
|
|
3558
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3558
3559
|
ruleId: string;
|
|
3559
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3560
3560
|
location: {
|
|
3561
3561
|
file: string;
|
|
3562
3562
|
line: number;
|
|
@@ -3573,12 +3573,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3573
3573
|
title: string;
|
|
3574
3574
|
kind: "replacePropValue";
|
|
3575
3575
|
prop: string;
|
|
3576
|
-
deterministic?: boolean | undefined;
|
|
3577
3576
|
value?: unknown;
|
|
3577
|
+
deterministic?: boolean | undefined;
|
|
3578
3578
|
} | {
|
|
3579
|
-
value: string;
|
|
3580
3579
|
title: string;
|
|
3581
3580
|
kind: "replaceStyleValue";
|
|
3581
|
+
value: string;
|
|
3582
3582
|
property: string;
|
|
3583
3583
|
deterministic?: boolean | undefined;
|
|
3584
3584
|
} | {
|
|
@@ -3604,7 +3604,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3604
3604
|
area?: {
|
|
3605
3605
|
areaId: string;
|
|
3606
3606
|
areaName: string;
|
|
3607
|
-
criticality: "
|
|
3607
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
3608
3608
|
owners: string[];
|
|
3609
3609
|
matchedGlob: string;
|
|
3610
3610
|
} | undefined;
|
|
@@ -3643,10 +3643,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3643
3643
|
}>;
|
|
3644
3644
|
}, "strip", z.ZodTypeAny, {
|
|
3645
3645
|
message: string;
|
|
3646
|
-
|
|
3647
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3646
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3648
3647
|
filePath: string;
|
|
3649
3648
|
line: number;
|
|
3649
|
+
ruleId: string;
|
|
3650
3650
|
evidence: FactEvidence[];
|
|
3651
3651
|
level: "error" | "warn";
|
|
3652
3652
|
col: number;
|
|
@@ -3659,10 +3659,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3659
3659
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
3660
3660
|
}, {
|
|
3661
3661
|
message: string;
|
|
3662
|
-
|
|
3663
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3662
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3664
3663
|
filePath: string;
|
|
3665
3664
|
line: number;
|
|
3665
|
+
ruleId: string;
|
|
3666
3666
|
evidence: FactEvidence[];
|
|
3667
3667
|
level: "error" | "warn";
|
|
3668
3668
|
col: number;
|
|
@@ -3700,10 +3700,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3700
3700
|
}>;
|
|
3701
3701
|
}, "strip", z.ZodTypeAny, {
|
|
3702
3702
|
message: string;
|
|
3703
|
-
|
|
3704
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3703
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3705
3704
|
filePath: string;
|
|
3706
3705
|
line: number;
|
|
3706
|
+
ruleId: string;
|
|
3707
3707
|
evidence: FactEvidence[];
|
|
3708
3708
|
level: "error" | "warn";
|
|
3709
3709
|
col: number;
|
|
@@ -3716,10 +3716,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3716
3716
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
3717
3717
|
}, {
|
|
3718
3718
|
message: string;
|
|
3719
|
-
|
|
3720
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3719
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3721
3720
|
filePath: string;
|
|
3722
3721
|
line: number;
|
|
3722
|
+
ruleId: string;
|
|
3723
3723
|
evidence: FactEvidence[];
|
|
3724
3724
|
level: "error" | "warn";
|
|
3725
3725
|
col: number;
|
|
@@ -3803,14 +3803,14 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3803
3803
|
title: string;
|
|
3804
3804
|
kind: "replacePropValue";
|
|
3805
3805
|
prop: string;
|
|
3806
|
-
deterministic?: boolean | undefined;
|
|
3807
3806
|
value?: unknown;
|
|
3807
|
+
deterministic?: boolean | undefined;
|
|
3808
3808
|
}, {
|
|
3809
3809
|
title: string;
|
|
3810
3810
|
kind: "replacePropValue";
|
|
3811
3811
|
prop: string;
|
|
3812
|
-
deterministic?: boolean | undefined;
|
|
3813
3812
|
value?: unknown;
|
|
3813
|
+
deterministic?: boolean | undefined;
|
|
3814
3814
|
}>, z.ZodObject<{
|
|
3815
3815
|
kind: z.ZodLiteral<"replaceStyleValue">;
|
|
3816
3816
|
title: z.ZodString;
|
|
@@ -3818,15 +3818,15 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3818
3818
|
value: z.ZodString;
|
|
3819
3819
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
3820
3820
|
}, "strip", z.ZodTypeAny, {
|
|
3821
|
-
value: string;
|
|
3822
3821
|
title: string;
|
|
3823
3822
|
kind: "replaceStyleValue";
|
|
3823
|
+
value: string;
|
|
3824
3824
|
property: string;
|
|
3825
3825
|
deterministic?: boolean | undefined;
|
|
3826
3826
|
}, {
|
|
3827
|
-
value: string;
|
|
3828
3827
|
title: string;
|
|
3829
3828
|
kind: "replaceStyleValue";
|
|
3829
|
+
value: string;
|
|
3830
3830
|
property: string;
|
|
3831
3831
|
deterministic?: boolean | undefined;
|
|
3832
3832
|
}>, z.ZodObject<{
|
|
@@ -3901,20 +3901,20 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3901
3901
|
}, "strip", z.ZodTypeAny, {
|
|
3902
3902
|
areaId: string;
|
|
3903
3903
|
areaName: string;
|
|
3904
|
-
criticality: "
|
|
3904
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
3905
3905
|
owners: string[];
|
|
3906
3906
|
matchedGlob: string;
|
|
3907
3907
|
}, {
|
|
3908
3908
|
areaId: string;
|
|
3909
3909
|
areaName: string;
|
|
3910
|
-
criticality: "
|
|
3910
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
3911
3911
|
owners: string[];
|
|
3912
3912
|
matchedGlob: string;
|
|
3913
3913
|
}>>;
|
|
3914
3914
|
}, "strip", z.ZodTypeAny, {
|
|
3915
3915
|
message: string;
|
|
3916
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3916
3917
|
ruleId: string;
|
|
3917
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3918
3918
|
location: {
|
|
3919
3919
|
file: string;
|
|
3920
3920
|
line: number;
|
|
@@ -3931,12 +3931,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3931
3931
|
title: string;
|
|
3932
3932
|
kind: "replacePropValue";
|
|
3933
3933
|
prop: string;
|
|
3934
|
-
deterministic?: boolean | undefined;
|
|
3935
3934
|
value?: unknown;
|
|
3935
|
+
deterministic?: boolean | undefined;
|
|
3936
3936
|
} | {
|
|
3937
|
-
value: string;
|
|
3938
3937
|
title: string;
|
|
3939
3938
|
kind: "replaceStyleValue";
|
|
3939
|
+
value: string;
|
|
3940
3940
|
property: string;
|
|
3941
3941
|
deterministic?: boolean | undefined;
|
|
3942
3942
|
} | {
|
|
@@ -3962,7 +3962,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3962
3962
|
area?: {
|
|
3963
3963
|
areaId: string;
|
|
3964
3964
|
areaName: string;
|
|
3965
|
-
criticality: "
|
|
3965
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
3966
3966
|
owners: string[];
|
|
3967
3967
|
matchedGlob: string;
|
|
3968
3968
|
} | undefined;
|
|
@@ -3972,8 +3972,8 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3972
3972
|
attributes?: Record<string, unknown> | undefined;
|
|
3973
3973
|
}, {
|
|
3974
3974
|
message: string;
|
|
3975
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
3975
3976
|
ruleId: string;
|
|
3976
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
3977
3977
|
location: {
|
|
3978
3978
|
file: string;
|
|
3979
3979
|
line: number;
|
|
@@ -3990,12 +3990,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
3990
3990
|
title: string;
|
|
3991
3991
|
kind: "replacePropValue";
|
|
3992
3992
|
prop: string;
|
|
3993
|
-
deterministic?: boolean | undefined;
|
|
3994
3993
|
value?: unknown;
|
|
3994
|
+
deterministic?: boolean | undefined;
|
|
3995
3995
|
} | {
|
|
3996
|
-
value: string;
|
|
3997
3996
|
title: string;
|
|
3998
3997
|
kind: "replaceStyleValue";
|
|
3998
|
+
value: string;
|
|
3999
3999
|
property: string;
|
|
4000
4000
|
deterministic?: boolean | undefined;
|
|
4001
4001
|
} | {
|
|
@@ -4021,7 +4021,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4021
4021
|
area?: {
|
|
4022
4022
|
areaId: string;
|
|
4023
4023
|
areaName: string;
|
|
4024
|
-
criticality: "
|
|
4024
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
4025
4025
|
owners: string[];
|
|
4026
4026
|
matchedGlob: string;
|
|
4027
4027
|
} | undefined;
|
|
@@ -4047,9 +4047,9 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4047
4047
|
}, {
|
|
4048
4048
|
reason: string;
|
|
4049
4049
|
code?: string | undefined;
|
|
4050
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
4050
4051
|
ruleId?: string | undefined;
|
|
4051
4052
|
expiresOn?: string | undefined;
|
|
4052
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
4053
4053
|
expiresAt?: string | undefined;
|
|
4054
4054
|
}>, "many">>;
|
|
4055
4055
|
} & {
|
|
@@ -4096,11 +4096,11 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4096
4096
|
inputsHash: z.ZodOptional<z.ZodString>;
|
|
4097
4097
|
inputFilesHash: z.ZodString;
|
|
4098
4098
|
}, "strip", z.ZodTypeAny, {
|
|
4099
|
+
fcid: string;
|
|
4099
4100
|
scope: {
|
|
4100
4101
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
4101
4102
|
gitOk: boolean;
|
|
4102
4103
|
};
|
|
4103
|
-
fcid: string;
|
|
4104
4104
|
runId: string;
|
|
4105
4105
|
engineVersion: string;
|
|
4106
4106
|
scopeHash: string;
|
|
@@ -4108,11 +4108,11 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4108
4108
|
baselineId?: string | undefined;
|
|
4109
4109
|
inputsHash?: string | undefined;
|
|
4110
4110
|
}, {
|
|
4111
|
+
fcid: string;
|
|
4111
4112
|
scope: {
|
|
4112
4113
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
4113
4114
|
gitOk: boolean;
|
|
4114
4115
|
};
|
|
4115
|
-
fcid: string;
|
|
4116
4116
|
runId: string;
|
|
4117
4117
|
engineVersion: string;
|
|
4118
4118
|
scopeHash: string;
|
|
@@ -4137,18 +4137,13 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4137
4137
|
}, "strip", z.ZodTypeAny, {
|
|
4138
4138
|
schemaVersion: "typestyle.agent.v2";
|
|
4139
4139
|
summary: string;
|
|
4140
|
-
verdict: {
|
|
4141
|
-
reasons: string[];
|
|
4142
|
-
exitCode: 0;
|
|
4143
|
-
gatingFindingCount: number;
|
|
4144
|
-
};
|
|
4145
4140
|
status: "indeterminate";
|
|
4146
4141
|
provenance: {
|
|
4142
|
+
fcid: string;
|
|
4147
4143
|
scope: {
|
|
4148
4144
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
4149
4145
|
gitOk: boolean;
|
|
4150
4146
|
};
|
|
4151
|
-
fcid: string;
|
|
4152
4147
|
runId: string;
|
|
4153
4148
|
engineVersion: string;
|
|
4154
4149
|
scopeHash: string;
|
|
@@ -4161,6 +4156,11 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4161
4156
|
maxIterations: number;
|
|
4162
4157
|
scoreDelta: number;
|
|
4163
4158
|
};
|
|
4159
|
+
verdict: {
|
|
4160
|
+
reasons: string[];
|
|
4161
|
+
exitCode: 0;
|
|
4162
|
+
gatingFindingCount: number;
|
|
4163
|
+
};
|
|
4164
4164
|
passed: true;
|
|
4165
4165
|
reasons: ["zero_rules_loaded"];
|
|
4166
4166
|
integrity: {
|
|
@@ -4172,10 +4172,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4172
4172
|
};
|
|
4173
4173
|
fix_first: {
|
|
4174
4174
|
message: string;
|
|
4175
|
-
|
|
4176
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4175
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4177
4176
|
filePath: string;
|
|
4178
4177
|
line: number;
|
|
4178
|
+
ruleId: string;
|
|
4179
4179
|
evidence: FactEvidence[];
|
|
4180
4180
|
level: "error" | "warn";
|
|
4181
4181
|
col: number;
|
|
@@ -4189,10 +4189,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4189
4189
|
}[];
|
|
4190
4190
|
remaining: {
|
|
4191
4191
|
message: string;
|
|
4192
|
-
|
|
4193
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4192
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4194
4193
|
filePath: string;
|
|
4195
4194
|
line: number;
|
|
4195
|
+
ruleId: string;
|
|
4196
4196
|
evidence: FactEvidence[];
|
|
4197
4197
|
level: "error" | "warn";
|
|
4198
4198
|
col: number;
|
|
@@ -4219,8 +4219,8 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4219
4219
|
}[] | undefined;
|
|
4220
4220
|
findings?: {
|
|
4221
4221
|
message: string;
|
|
4222
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4222
4223
|
ruleId: string;
|
|
4223
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4224
4224
|
location: {
|
|
4225
4225
|
file: string;
|
|
4226
4226
|
line: number;
|
|
@@ -4237,12 +4237,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4237
4237
|
title: string;
|
|
4238
4238
|
kind: "replacePropValue";
|
|
4239
4239
|
prop: string;
|
|
4240
|
-
deterministic?: boolean | undefined;
|
|
4241
4240
|
value?: unknown;
|
|
4241
|
+
deterministic?: boolean | undefined;
|
|
4242
4242
|
} | {
|
|
4243
|
-
value: string;
|
|
4244
4243
|
title: string;
|
|
4245
4244
|
kind: "replaceStyleValue";
|
|
4245
|
+
value: string;
|
|
4246
4246
|
property: string;
|
|
4247
4247
|
deterministic?: boolean | undefined;
|
|
4248
4248
|
} | {
|
|
@@ -4268,7 +4268,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4268
4268
|
area?: {
|
|
4269
4269
|
areaId: string;
|
|
4270
4270
|
areaName: string;
|
|
4271
|
-
criticality: "
|
|
4271
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
4272
4272
|
owners: string[];
|
|
4273
4273
|
matchedGlob: string;
|
|
4274
4274
|
} | undefined;
|
|
@@ -4281,18 +4281,13 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4281
4281
|
}, {
|
|
4282
4282
|
schemaVersion: "typestyle.agent.v2";
|
|
4283
4283
|
summary: string;
|
|
4284
|
-
verdict: {
|
|
4285
|
-
reasons: string[];
|
|
4286
|
-
exitCode: 0;
|
|
4287
|
-
gatingFindingCount: number;
|
|
4288
|
-
};
|
|
4289
4284
|
status: "indeterminate";
|
|
4290
4285
|
provenance: {
|
|
4286
|
+
fcid: string;
|
|
4291
4287
|
scope: {
|
|
4292
4288
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
4293
4289
|
gitOk: boolean;
|
|
4294
4290
|
};
|
|
4295
|
-
fcid: string;
|
|
4296
4291
|
runId: string;
|
|
4297
4292
|
engineVersion: string;
|
|
4298
4293
|
scopeHash: string;
|
|
@@ -4305,6 +4300,11 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4305
4300
|
maxIterations: number;
|
|
4306
4301
|
scoreDelta: number;
|
|
4307
4302
|
};
|
|
4303
|
+
verdict: {
|
|
4304
|
+
reasons: string[];
|
|
4305
|
+
exitCode: 0;
|
|
4306
|
+
gatingFindingCount: number;
|
|
4307
|
+
};
|
|
4308
4308
|
passed: true;
|
|
4309
4309
|
reasons: ["zero_rules_loaded"];
|
|
4310
4310
|
integrity: {
|
|
@@ -4316,10 +4316,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4316
4316
|
};
|
|
4317
4317
|
fix_first: {
|
|
4318
4318
|
message: string;
|
|
4319
|
-
|
|
4320
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4319
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4321
4320
|
filePath: string;
|
|
4322
4321
|
line: number;
|
|
4322
|
+
ruleId: string;
|
|
4323
4323
|
evidence: FactEvidence[];
|
|
4324
4324
|
level: "error" | "warn";
|
|
4325
4325
|
col: number;
|
|
@@ -4333,10 +4333,10 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4333
4333
|
}[];
|
|
4334
4334
|
remaining: {
|
|
4335
4335
|
message: string;
|
|
4336
|
-
|
|
4337
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4336
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4338
4337
|
filePath: string;
|
|
4339
4338
|
line: number;
|
|
4339
|
+
ruleId: string;
|
|
4340
4340
|
evidence: FactEvidence[];
|
|
4341
4341
|
level: "error" | "warn";
|
|
4342
4342
|
col: number;
|
|
@@ -4356,15 +4356,15 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4356
4356
|
suppressions?: {
|
|
4357
4357
|
reason: string;
|
|
4358
4358
|
code?: string | undefined;
|
|
4359
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
4359
4360
|
ruleId?: string | undefined;
|
|
4360
4361
|
expiresOn?: string | undefined;
|
|
4361
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
4362
4362
|
expiresAt?: string | undefined;
|
|
4363
4363
|
}[] | undefined;
|
|
4364
4364
|
findings?: {
|
|
4365
4365
|
message: string;
|
|
4366
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4366
4367
|
ruleId: string;
|
|
4367
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4368
4368
|
location: {
|
|
4369
4369
|
file: string;
|
|
4370
4370
|
line: number;
|
|
@@ -4381,12 +4381,12 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4381
4381
|
title: string;
|
|
4382
4382
|
kind: "replacePropValue";
|
|
4383
4383
|
prop: string;
|
|
4384
|
-
deterministic?: boolean | undefined;
|
|
4385
4384
|
value?: unknown;
|
|
4385
|
+
deterministic?: boolean | undefined;
|
|
4386
4386
|
} | {
|
|
4387
|
-
value: string;
|
|
4388
4387
|
title: string;
|
|
4389
4388
|
kind: "replaceStyleValue";
|
|
4389
|
+
value: string;
|
|
4390
4390
|
property: string;
|
|
4391
4391
|
deterministic?: boolean | undefined;
|
|
4392
4392
|
} | {
|
|
@@ -4412,7 +4412,7 @@ declare const agentFormatSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4412
4412
|
area?: {
|
|
4413
4413
|
areaId: string;
|
|
4414
4414
|
areaName: string;
|
|
4415
|
-
criticality: "
|
|
4415
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
4416
4416
|
owners: string[];
|
|
4417
4417
|
matchedGlob: string;
|
|
4418
4418
|
} | undefined;
|
|
@@ -4456,11 +4456,11 @@ declare const agentErrorEnvelopeSchema: z.ZodObject<{
|
|
|
4456
4456
|
inputsHash: z.ZodOptional<z.ZodString>;
|
|
4457
4457
|
inputFilesHash: z.ZodString;
|
|
4458
4458
|
}, "strip", z.ZodTypeAny, {
|
|
4459
|
+
fcid: string;
|
|
4459
4460
|
scope: {
|
|
4460
4461
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
4461
4462
|
gitOk: boolean;
|
|
4462
4463
|
};
|
|
4463
|
-
fcid: string;
|
|
4464
4464
|
runId: string;
|
|
4465
4465
|
engineVersion: string;
|
|
4466
4466
|
scopeHash: string;
|
|
@@ -4468,11 +4468,11 @@ declare const agentErrorEnvelopeSchema: z.ZodObject<{
|
|
|
4468
4468
|
baselineId?: string | undefined;
|
|
4469
4469
|
inputsHash?: string | undefined;
|
|
4470
4470
|
}, {
|
|
4471
|
+
fcid: string;
|
|
4471
4472
|
scope: {
|
|
4472
4473
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
4473
4474
|
gitOk: boolean;
|
|
4474
4475
|
};
|
|
4475
|
-
fcid: string;
|
|
4476
4476
|
runId: string;
|
|
4477
4477
|
engineVersion: string;
|
|
4478
4478
|
scopeHash: string;
|
|
@@ -4502,17 +4502,12 @@ declare const agentErrorEnvelopeSchema: z.ZodObject<{
|
|
|
4502
4502
|
message: string;
|
|
4503
4503
|
};
|
|
4504
4504
|
passed: false;
|
|
4505
|
-
verdict?: {
|
|
4506
|
-
reasons: string[];
|
|
4507
|
-
exitCode: 0 | 1;
|
|
4508
|
-
gatingFindingCount: number;
|
|
4509
|
-
} | undefined;
|
|
4510
4505
|
provenance?: {
|
|
4506
|
+
fcid: string;
|
|
4511
4507
|
scope: {
|
|
4512
4508
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
4513
4509
|
gitOk: boolean;
|
|
4514
4510
|
};
|
|
4515
|
-
fcid: string;
|
|
4516
4511
|
runId: string;
|
|
4517
4512
|
engineVersion: string;
|
|
4518
4513
|
scopeHash: string;
|
|
@@ -4520,6 +4515,11 @@ declare const agentErrorEnvelopeSchema: z.ZodObject<{
|
|
|
4520
4515
|
baselineId?: string | undefined;
|
|
4521
4516
|
inputsHash?: string | undefined;
|
|
4522
4517
|
} | undefined;
|
|
4518
|
+
verdict?: {
|
|
4519
|
+
reasons: string[];
|
|
4520
|
+
exitCode: 0 | 1;
|
|
4521
|
+
gatingFindingCount: number;
|
|
4522
|
+
} | undefined;
|
|
4523
4523
|
cloudReport?: "accepted" | "reported" | "failed" | "skipped" | undefined;
|
|
4524
4524
|
notices?: string[] | undefined;
|
|
4525
4525
|
}, {
|
|
@@ -4529,17 +4529,12 @@ declare const agentErrorEnvelopeSchema: z.ZodObject<{
|
|
|
4529
4529
|
message: string;
|
|
4530
4530
|
};
|
|
4531
4531
|
passed: false;
|
|
4532
|
-
verdict?: {
|
|
4533
|
-
reasons: string[];
|
|
4534
|
-
exitCode: 0 | 1;
|
|
4535
|
-
gatingFindingCount: number;
|
|
4536
|
-
} | undefined;
|
|
4537
4532
|
provenance?: {
|
|
4533
|
+
fcid: string;
|
|
4538
4534
|
scope: {
|
|
4539
4535
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
4540
4536
|
gitOk: boolean;
|
|
4541
4537
|
};
|
|
4542
|
-
fcid: string;
|
|
4543
4538
|
runId: string;
|
|
4544
4539
|
engineVersion: string;
|
|
4545
4540
|
scopeHash: string;
|
|
@@ -4547,6 +4542,11 @@ declare const agentErrorEnvelopeSchema: z.ZodObject<{
|
|
|
4547
4542
|
baselineId?: string | undefined;
|
|
4548
4543
|
inputsHash?: string | undefined;
|
|
4549
4544
|
} | undefined;
|
|
4545
|
+
verdict?: {
|
|
4546
|
+
reasons: string[];
|
|
4547
|
+
exitCode: 0 | 1;
|
|
4548
|
+
gatingFindingCount: number;
|
|
4549
|
+
} | undefined;
|
|
4550
4550
|
cloudReport?: "accepted" | "reported" | "failed" | "skipped" | undefined;
|
|
4551
4551
|
notices?: string[] | undefined;
|
|
4552
4552
|
}>;
|
|
@@ -4580,10 +4580,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4580
4580
|
}>;
|
|
4581
4581
|
}, "strip", z.ZodTypeAny, {
|
|
4582
4582
|
message: string;
|
|
4583
|
-
|
|
4584
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4583
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4585
4584
|
filePath: string;
|
|
4586
4585
|
line: number;
|
|
4586
|
+
ruleId: string;
|
|
4587
4587
|
evidence: FactEvidence[];
|
|
4588
4588
|
level: "error" | "warn";
|
|
4589
4589
|
col: number;
|
|
@@ -4596,10 +4596,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4596
4596
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
4597
4597
|
}, {
|
|
4598
4598
|
message: string;
|
|
4599
|
-
|
|
4600
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4599
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4601
4600
|
filePath: string;
|
|
4602
4601
|
line: number;
|
|
4602
|
+
ruleId: string;
|
|
4603
4603
|
evidence: FactEvidence[];
|
|
4604
4604
|
level: "error" | "warn";
|
|
4605
4605
|
col: number;
|
|
@@ -4637,10 +4637,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4637
4637
|
}>;
|
|
4638
4638
|
}, "strip", z.ZodTypeAny, {
|
|
4639
4639
|
message: string;
|
|
4640
|
-
|
|
4641
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4640
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4642
4641
|
filePath: string;
|
|
4643
4642
|
line: number;
|
|
4643
|
+
ruleId: string;
|
|
4644
4644
|
evidence: FactEvidence[];
|
|
4645
4645
|
level: "error" | "warn";
|
|
4646
4646
|
col: number;
|
|
@@ -4653,10 +4653,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4653
4653
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
4654
4654
|
}, {
|
|
4655
4655
|
message: string;
|
|
4656
|
-
|
|
4657
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4656
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4658
4657
|
filePath: string;
|
|
4659
4658
|
line: number;
|
|
4659
|
+
ruleId: string;
|
|
4660
4660
|
evidence: FactEvidence[];
|
|
4661
4661
|
level: "error" | "warn";
|
|
4662
4662
|
col: number;
|
|
@@ -4740,14 +4740,14 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4740
4740
|
title: string;
|
|
4741
4741
|
kind: "replacePropValue";
|
|
4742
4742
|
prop: string;
|
|
4743
|
-
deterministic?: boolean | undefined;
|
|
4744
4743
|
value?: unknown;
|
|
4744
|
+
deterministic?: boolean | undefined;
|
|
4745
4745
|
}, {
|
|
4746
4746
|
title: string;
|
|
4747
4747
|
kind: "replacePropValue";
|
|
4748
4748
|
prop: string;
|
|
4749
|
-
deterministic?: boolean | undefined;
|
|
4750
4749
|
value?: unknown;
|
|
4750
|
+
deterministic?: boolean | undefined;
|
|
4751
4751
|
}>, z.ZodObject<{
|
|
4752
4752
|
kind: z.ZodLiteral<"replaceStyleValue">;
|
|
4753
4753
|
title: z.ZodString;
|
|
@@ -4755,15 +4755,15 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4755
4755
|
value: z.ZodString;
|
|
4756
4756
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
4757
4757
|
}, "strip", z.ZodTypeAny, {
|
|
4758
|
-
value: string;
|
|
4759
4758
|
title: string;
|
|
4760
4759
|
kind: "replaceStyleValue";
|
|
4760
|
+
value: string;
|
|
4761
4761
|
property: string;
|
|
4762
4762
|
deterministic?: boolean | undefined;
|
|
4763
4763
|
}, {
|
|
4764
|
-
value: string;
|
|
4765
4764
|
title: string;
|
|
4766
4765
|
kind: "replaceStyleValue";
|
|
4766
|
+
value: string;
|
|
4767
4767
|
property: string;
|
|
4768
4768
|
deterministic?: boolean | undefined;
|
|
4769
4769
|
}>, z.ZodObject<{
|
|
@@ -4838,20 +4838,20 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4838
4838
|
}, "strip", z.ZodTypeAny, {
|
|
4839
4839
|
areaId: string;
|
|
4840
4840
|
areaName: string;
|
|
4841
|
-
criticality: "
|
|
4841
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
4842
4842
|
owners: string[];
|
|
4843
4843
|
matchedGlob: string;
|
|
4844
4844
|
}, {
|
|
4845
4845
|
areaId: string;
|
|
4846
4846
|
areaName: string;
|
|
4847
|
-
criticality: "
|
|
4847
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
4848
4848
|
owners: string[];
|
|
4849
4849
|
matchedGlob: string;
|
|
4850
4850
|
}>>;
|
|
4851
4851
|
}, "strip", z.ZodTypeAny, {
|
|
4852
4852
|
message: string;
|
|
4853
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4853
4854
|
ruleId: string;
|
|
4854
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4855
4855
|
location: {
|
|
4856
4856
|
file: string;
|
|
4857
4857
|
line: number;
|
|
@@ -4868,12 +4868,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4868
4868
|
title: string;
|
|
4869
4869
|
kind: "replacePropValue";
|
|
4870
4870
|
prop: string;
|
|
4871
|
-
deterministic?: boolean | undefined;
|
|
4872
4871
|
value?: unknown;
|
|
4872
|
+
deterministic?: boolean | undefined;
|
|
4873
4873
|
} | {
|
|
4874
|
-
value: string;
|
|
4875
4874
|
title: string;
|
|
4876
4875
|
kind: "replaceStyleValue";
|
|
4876
|
+
value: string;
|
|
4877
4877
|
property: string;
|
|
4878
4878
|
deterministic?: boolean | undefined;
|
|
4879
4879
|
} | {
|
|
@@ -4899,7 +4899,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4899
4899
|
area?: {
|
|
4900
4900
|
areaId: string;
|
|
4901
4901
|
areaName: string;
|
|
4902
|
-
criticality: "
|
|
4902
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
4903
4903
|
owners: string[];
|
|
4904
4904
|
matchedGlob: string;
|
|
4905
4905
|
} | undefined;
|
|
@@ -4909,8 +4909,8 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4909
4909
|
attributes?: Record<string, unknown> | undefined;
|
|
4910
4910
|
}, {
|
|
4911
4911
|
message: string;
|
|
4912
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
4912
4913
|
ruleId: string;
|
|
4913
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
4914
4914
|
location: {
|
|
4915
4915
|
file: string;
|
|
4916
4916
|
line: number;
|
|
@@ -4927,12 +4927,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4927
4927
|
title: string;
|
|
4928
4928
|
kind: "replacePropValue";
|
|
4929
4929
|
prop: string;
|
|
4930
|
-
deterministic?: boolean | undefined;
|
|
4931
4930
|
value?: unknown;
|
|
4931
|
+
deterministic?: boolean | undefined;
|
|
4932
4932
|
} | {
|
|
4933
|
-
value: string;
|
|
4934
4933
|
title: string;
|
|
4935
4934
|
kind: "replaceStyleValue";
|
|
4935
|
+
value: string;
|
|
4936
4936
|
property: string;
|
|
4937
4937
|
deterministic?: boolean | undefined;
|
|
4938
4938
|
} | {
|
|
@@ -4958,7 +4958,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4958
4958
|
area?: {
|
|
4959
4959
|
areaId: string;
|
|
4960
4960
|
areaName: string;
|
|
4961
|
-
criticality: "
|
|
4961
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
4962
4962
|
owners: string[];
|
|
4963
4963
|
matchedGlob: string;
|
|
4964
4964
|
} | undefined;
|
|
@@ -4984,9 +4984,9 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
4984
4984
|
}, {
|
|
4985
4985
|
reason: string;
|
|
4986
4986
|
code?: string | undefined;
|
|
4987
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
4987
4988
|
ruleId?: string | undefined;
|
|
4988
4989
|
expiresOn?: string | undefined;
|
|
4989
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
4990
4990
|
expiresAt?: string | undefined;
|
|
4991
4991
|
}>, "many">>;
|
|
4992
4992
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
@@ -5008,11 +5008,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5008
5008
|
inputsHash: z.ZodOptional<z.ZodString>;
|
|
5009
5009
|
inputFilesHash: z.ZodString;
|
|
5010
5010
|
}, "strip", z.ZodTypeAny, {
|
|
5011
|
+
fcid: string;
|
|
5011
5012
|
scope: {
|
|
5012
5013
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
5013
5014
|
gitOk: boolean;
|
|
5014
5015
|
};
|
|
5015
|
-
fcid: string;
|
|
5016
5016
|
runId: string;
|
|
5017
5017
|
engineVersion: string;
|
|
5018
5018
|
scopeHash: string;
|
|
@@ -5020,11 +5020,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5020
5020
|
baselineId?: string | undefined;
|
|
5021
5021
|
inputsHash?: string | undefined;
|
|
5022
5022
|
}, {
|
|
5023
|
+
fcid: string;
|
|
5023
5024
|
scope: {
|
|
5024
5025
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
5025
5026
|
gitOk: boolean;
|
|
5026
5027
|
};
|
|
5027
|
-
fcid: string;
|
|
5028
5028
|
runId: string;
|
|
5029
5029
|
engineVersion: string;
|
|
5030
5030
|
scopeHash: string;
|
|
@@ -5089,10 +5089,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5089
5089
|
};
|
|
5090
5090
|
fix_first: {
|
|
5091
5091
|
message: string;
|
|
5092
|
-
|
|
5093
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5092
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5094
5093
|
filePath: string;
|
|
5095
5094
|
line: number;
|
|
5095
|
+
ruleId: string;
|
|
5096
5096
|
evidence: FactEvidence[];
|
|
5097
5097
|
level: "error" | "warn";
|
|
5098
5098
|
col: number;
|
|
@@ -5106,10 +5106,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5106
5106
|
}[];
|
|
5107
5107
|
remaining: {
|
|
5108
5108
|
message: string;
|
|
5109
|
-
|
|
5110
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5109
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5111
5110
|
filePath: string;
|
|
5112
5111
|
line: number;
|
|
5112
|
+
ruleId: string;
|
|
5113
5113
|
evidence: FactEvidence[];
|
|
5114
5114
|
level: "error" | "warn";
|
|
5115
5115
|
col: number;
|
|
@@ -5134,18 +5134,13 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5134
5134
|
expiresOn?: string | undefined;
|
|
5135
5135
|
expiresAt?: string | undefined;
|
|
5136
5136
|
}[] | undefined;
|
|
5137
|
-
verdict?: {
|
|
5138
|
-
reasons: string[];
|
|
5139
|
-
exitCode: 0 | 1;
|
|
5140
|
-
gatingFindingCount: number;
|
|
5141
|
-
} | undefined;
|
|
5142
5137
|
status?: undefined;
|
|
5143
5138
|
provenance?: {
|
|
5139
|
+
fcid: string;
|
|
5144
5140
|
scope: {
|
|
5145
5141
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
5146
5142
|
gitOk: boolean;
|
|
5147
5143
|
};
|
|
5148
|
-
fcid: string;
|
|
5149
5144
|
runId: string;
|
|
5150
5145
|
engineVersion: string;
|
|
5151
5146
|
scopeHash: string;
|
|
@@ -5153,10 +5148,15 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5153
5148
|
baselineId?: string | undefined;
|
|
5154
5149
|
inputsHash?: string | undefined;
|
|
5155
5150
|
} | undefined;
|
|
5151
|
+
verdict?: {
|
|
5152
|
+
reasons: string[];
|
|
5153
|
+
exitCode: 0 | 1;
|
|
5154
|
+
gatingFindingCount: number;
|
|
5155
|
+
} | undefined;
|
|
5156
5156
|
findings?: {
|
|
5157
5157
|
message: string;
|
|
5158
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5158
5159
|
ruleId: string;
|
|
5159
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5160
5160
|
location: {
|
|
5161
5161
|
file: string;
|
|
5162
5162
|
line: number;
|
|
@@ -5173,12 +5173,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5173
5173
|
title: string;
|
|
5174
5174
|
kind: "replacePropValue";
|
|
5175
5175
|
prop: string;
|
|
5176
|
-
deterministic?: boolean | undefined;
|
|
5177
5176
|
value?: unknown;
|
|
5177
|
+
deterministic?: boolean | undefined;
|
|
5178
5178
|
} | {
|
|
5179
|
-
value: string;
|
|
5180
5179
|
title: string;
|
|
5181
5180
|
kind: "replaceStyleValue";
|
|
5181
|
+
value: string;
|
|
5182
5182
|
property: string;
|
|
5183
5183
|
deterministic?: boolean | undefined;
|
|
5184
5184
|
} | {
|
|
@@ -5204,7 +5204,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5204
5204
|
area?: {
|
|
5205
5205
|
areaId: string;
|
|
5206
5206
|
areaName: string;
|
|
5207
|
-
criticality: "
|
|
5207
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
5208
5208
|
owners: string[];
|
|
5209
5209
|
matchedGlob: string;
|
|
5210
5210
|
} | undefined;
|
|
@@ -5233,10 +5233,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5233
5233
|
};
|
|
5234
5234
|
fix_first: {
|
|
5235
5235
|
message: string;
|
|
5236
|
-
|
|
5237
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5236
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5238
5237
|
filePath: string;
|
|
5239
5238
|
line: number;
|
|
5239
|
+
ruleId: string;
|
|
5240
5240
|
evidence: FactEvidence[];
|
|
5241
5241
|
level: "error" | "warn";
|
|
5242
5242
|
col: number;
|
|
@@ -5250,10 +5250,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5250
5250
|
}[];
|
|
5251
5251
|
remaining: {
|
|
5252
5252
|
message: string;
|
|
5253
|
-
|
|
5254
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5253
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5255
5254
|
filePath: string;
|
|
5256
5255
|
line: number;
|
|
5256
|
+
ruleId: string;
|
|
5257
5257
|
evidence: FactEvidence[];
|
|
5258
5258
|
level: "error" | "warn";
|
|
5259
5259
|
col: number;
|
|
@@ -5273,23 +5273,18 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5273
5273
|
suppressions?: {
|
|
5274
5274
|
reason: string;
|
|
5275
5275
|
code?: string | undefined;
|
|
5276
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
5276
5277
|
ruleId?: string | undefined;
|
|
5277
5278
|
expiresOn?: string | undefined;
|
|
5278
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
5279
5279
|
expiresAt?: string | undefined;
|
|
5280
5280
|
}[] | undefined;
|
|
5281
|
-
verdict?: {
|
|
5282
|
-
reasons: string[];
|
|
5283
|
-
exitCode: 0 | 1;
|
|
5284
|
-
gatingFindingCount: number;
|
|
5285
|
-
} | undefined;
|
|
5286
5281
|
status?: undefined;
|
|
5287
5282
|
provenance?: {
|
|
5283
|
+
fcid: string;
|
|
5288
5284
|
scope: {
|
|
5289
5285
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
5290
5286
|
gitOk: boolean;
|
|
5291
5287
|
};
|
|
5292
|
-
fcid: string;
|
|
5293
5288
|
runId: string;
|
|
5294
5289
|
engineVersion: string;
|
|
5295
5290
|
scopeHash: string;
|
|
@@ -5297,10 +5292,15 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5297
5292
|
baselineId?: string | undefined;
|
|
5298
5293
|
inputsHash?: string | undefined;
|
|
5299
5294
|
} | undefined;
|
|
5295
|
+
verdict?: {
|
|
5296
|
+
reasons: string[];
|
|
5297
|
+
exitCode: 0 | 1;
|
|
5298
|
+
gatingFindingCount: number;
|
|
5299
|
+
} | undefined;
|
|
5300
5300
|
findings?: {
|
|
5301
5301
|
message: string;
|
|
5302
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5302
5303
|
ruleId: string;
|
|
5303
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5304
5304
|
location: {
|
|
5305
5305
|
file: string;
|
|
5306
5306
|
line: number;
|
|
@@ -5317,12 +5317,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5317
5317
|
title: string;
|
|
5318
5318
|
kind: "replacePropValue";
|
|
5319
5319
|
prop: string;
|
|
5320
|
-
deterministic?: boolean | undefined;
|
|
5321
5320
|
value?: unknown;
|
|
5321
|
+
deterministic?: boolean | undefined;
|
|
5322
5322
|
} | {
|
|
5323
|
-
value: string;
|
|
5324
5323
|
title: string;
|
|
5325
5324
|
kind: "replaceStyleValue";
|
|
5325
|
+
value: string;
|
|
5326
5326
|
property: string;
|
|
5327
5327
|
deterministic?: boolean | undefined;
|
|
5328
5328
|
} | {
|
|
@@ -5348,7 +5348,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5348
5348
|
area?: {
|
|
5349
5349
|
areaId: string;
|
|
5350
5350
|
areaName: string;
|
|
5351
|
-
criticality: "
|
|
5351
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
5352
5352
|
owners: string[];
|
|
5353
5353
|
matchedGlob: string;
|
|
5354
5354
|
} | undefined;
|
|
@@ -5387,10 +5387,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5387
5387
|
}>;
|
|
5388
5388
|
}, "strip", z.ZodTypeAny, {
|
|
5389
5389
|
message: string;
|
|
5390
|
-
|
|
5391
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5390
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5392
5391
|
filePath: string;
|
|
5393
5392
|
line: number;
|
|
5393
|
+
ruleId: string;
|
|
5394
5394
|
evidence: FactEvidence[];
|
|
5395
5395
|
level: "error" | "warn";
|
|
5396
5396
|
col: number;
|
|
@@ -5403,10 +5403,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5403
5403
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
5404
5404
|
}, {
|
|
5405
5405
|
message: string;
|
|
5406
|
-
|
|
5407
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5406
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5408
5407
|
filePath: string;
|
|
5409
5408
|
line: number;
|
|
5409
|
+
ruleId: string;
|
|
5410
5410
|
evidence: FactEvidence[];
|
|
5411
5411
|
level: "error" | "warn";
|
|
5412
5412
|
col: number;
|
|
@@ -5444,10 +5444,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5444
5444
|
}>;
|
|
5445
5445
|
}, "strip", z.ZodTypeAny, {
|
|
5446
5446
|
message: string;
|
|
5447
|
-
|
|
5448
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5447
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5449
5448
|
filePath: string;
|
|
5450
5449
|
line: number;
|
|
5450
|
+
ruleId: string;
|
|
5451
5451
|
evidence: FactEvidence[];
|
|
5452
5452
|
level: "error" | "warn";
|
|
5453
5453
|
col: number;
|
|
@@ -5460,10 +5460,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5460
5460
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
5461
5461
|
}, {
|
|
5462
5462
|
message: string;
|
|
5463
|
-
|
|
5464
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5463
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5465
5464
|
filePath: string;
|
|
5466
5465
|
line: number;
|
|
5466
|
+
ruleId: string;
|
|
5467
5467
|
evidence: FactEvidence[];
|
|
5468
5468
|
level: "error" | "warn";
|
|
5469
5469
|
col: number;
|
|
@@ -5547,14 +5547,14 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5547
5547
|
title: string;
|
|
5548
5548
|
kind: "replacePropValue";
|
|
5549
5549
|
prop: string;
|
|
5550
|
-
deterministic?: boolean | undefined;
|
|
5551
5550
|
value?: unknown;
|
|
5551
|
+
deterministic?: boolean | undefined;
|
|
5552
5552
|
}, {
|
|
5553
5553
|
title: string;
|
|
5554
5554
|
kind: "replacePropValue";
|
|
5555
5555
|
prop: string;
|
|
5556
|
-
deterministic?: boolean | undefined;
|
|
5557
5556
|
value?: unknown;
|
|
5557
|
+
deterministic?: boolean | undefined;
|
|
5558
5558
|
}>, z.ZodObject<{
|
|
5559
5559
|
kind: z.ZodLiteral<"replaceStyleValue">;
|
|
5560
5560
|
title: z.ZodString;
|
|
@@ -5562,15 +5562,15 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5562
5562
|
value: z.ZodString;
|
|
5563
5563
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
5564
5564
|
}, "strip", z.ZodTypeAny, {
|
|
5565
|
-
value: string;
|
|
5566
5565
|
title: string;
|
|
5567
5566
|
kind: "replaceStyleValue";
|
|
5567
|
+
value: string;
|
|
5568
5568
|
property: string;
|
|
5569
5569
|
deterministic?: boolean | undefined;
|
|
5570
5570
|
}, {
|
|
5571
|
-
value: string;
|
|
5572
5571
|
title: string;
|
|
5573
5572
|
kind: "replaceStyleValue";
|
|
5573
|
+
value: string;
|
|
5574
5574
|
property: string;
|
|
5575
5575
|
deterministic?: boolean | undefined;
|
|
5576
5576
|
}>, z.ZodObject<{
|
|
@@ -5645,20 +5645,20 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5645
5645
|
}, "strip", z.ZodTypeAny, {
|
|
5646
5646
|
areaId: string;
|
|
5647
5647
|
areaName: string;
|
|
5648
|
-
criticality: "
|
|
5648
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
5649
5649
|
owners: string[];
|
|
5650
5650
|
matchedGlob: string;
|
|
5651
5651
|
}, {
|
|
5652
5652
|
areaId: string;
|
|
5653
5653
|
areaName: string;
|
|
5654
|
-
criticality: "
|
|
5654
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
5655
5655
|
owners: string[];
|
|
5656
5656
|
matchedGlob: string;
|
|
5657
5657
|
}>>;
|
|
5658
5658
|
}, "strip", z.ZodTypeAny, {
|
|
5659
5659
|
message: string;
|
|
5660
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5660
5661
|
ruleId: string;
|
|
5661
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5662
5662
|
location: {
|
|
5663
5663
|
file: string;
|
|
5664
5664
|
line: number;
|
|
@@ -5675,12 +5675,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5675
5675
|
title: string;
|
|
5676
5676
|
kind: "replacePropValue";
|
|
5677
5677
|
prop: string;
|
|
5678
|
-
deterministic?: boolean | undefined;
|
|
5679
5678
|
value?: unknown;
|
|
5679
|
+
deterministic?: boolean | undefined;
|
|
5680
5680
|
} | {
|
|
5681
|
-
value: string;
|
|
5682
5681
|
title: string;
|
|
5683
5682
|
kind: "replaceStyleValue";
|
|
5683
|
+
value: string;
|
|
5684
5684
|
property: string;
|
|
5685
5685
|
deterministic?: boolean | undefined;
|
|
5686
5686
|
} | {
|
|
@@ -5706,7 +5706,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5706
5706
|
area?: {
|
|
5707
5707
|
areaId: string;
|
|
5708
5708
|
areaName: string;
|
|
5709
|
-
criticality: "
|
|
5709
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
5710
5710
|
owners: string[];
|
|
5711
5711
|
matchedGlob: string;
|
|
5712
5712
|
} | undefined;
|
|
@@ -5716,8 +5716,8 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5716
5716
|
attributes?: Record<string, unknown> | undefined;
|
|
5717
5717
|
}, {
|
|
5718
5718
|
message: string;
|
|
5719
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5719
5720
|
ruleId: string;
|
|
5720
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5721
5721
|
location: {
|
|
5722
5722
|
file: string;
|
|
5723
5723
|
line: number;
|
|
@@ -5734,12 +5734,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5734
5734
|
title: string;
|
|
5735
5735
|
kind: "replacePropValue";
|
|
5736
5736
|
prop: string;
|
|
5737
|
-
deterministic?: boolean | undefined;
|
|
5738
5737
|
value?: unknown;
|
|
5738
|
+
deterministic?: boolean | undefined;
|
|
5739
5739
|
} | {
|
|
5740
|
-
value: string;
|
|
5741
5740
|
title: string;
|
|
5742
5741
|
kind: "replaceStyleValue";
|
|
5742
|
+
value: string;
|
|
5743
5743
|
property: string;
|
|
5744
5744
|
deterministic?: boolean | undefined;
|
|
5745
5745
|
} | {
|
|
@@ -5765,7 +5765,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5765
5765
|
area?: {
|
|
5766
5766
|
areaId: string;
|
|
5767
5767
|
areaName: string;
|
|
5768
|
-
criticality: "
|
|
5768
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
5769
5769
|
owners: string[];
|
|
5770
5770
|
matchedGlob: string;
|
|
5771
5771
|
} | undefined;
|
|
@@ -5791,9 +5791,9 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5791
5791
|
}, {
|
|
5792
5792
|
reason: string;
|
|
5793
5793
|
code?: string | undefined;
|
|
5794
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
5794
5795
|
ruleId?: string | undefined;
|
|
5795
5796
|
expiresOn?: string | undefined;
|
|
5796
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
5797
5797
|
expiresAt?: string | undefined;
|
|
5798
5798
|
}>, "many">>;
|
|
5799
5799
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
@@ -5815,11 +5815,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5815
5815
|
inputsHash: z.ZodOptional<z.ZodString>;
|
|
5816
5816
|
inputFilesHash: z.ZodString;
|
|
5817
5817
|
}, "strip", z.ZodTypeAny, {
|
|
5818
|
+
fcid: string;
|
|
5818
5819
|
scope: {
|
|
5819
5820
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
5820
5821
|
gitOk: boolean;
|
|
5821
5822
|
};
|
|
5822
|
-
fcid: string;
|
|
5823
5823
|
runId: string;
|
|
5824
5824
|
engineVersion: string;
|
|
5825
5825
|
scopeHash: string;
|
|
@@ -5827,11 +5827,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5827
5827
|
baselineId?: string | undefined;
|
|
5828
5828
|
inputsHash?: string | undefined;
|
|
5829
5829
|
}, {
|
|
5830
|
+
fcid: string;
|
|
5830
5831
|
scope: {
|
|
5831
5832
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
5832
5833
|
gitOk: boolean;
|
|
5833
5834
|
};
|
|
5834
|
-
fcid: string;
|
|
5835
5835
|
runId: string;
|
|
5836
5836
|
engineVersion: string;
|
|
5837
5837
|
scopeHash: string;
|
|
@@ -5897,10 +5897,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5897
5897
|
};
|
|
5898
5898
|
fix_first: {
|
|
5899
5899
|
message: string;
|
|
5900
|
-
|
|
5901
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5900
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5902
5901
|
filePath: string;
|
|
5903
5902
|
line: number;
|
|
5903
|
+
ruleId: string;
|
|
5904
5904
|
evidence: FactEvidence[];
|
|
5905
5905
|
level: "error" | "warn";
|
|
5906
5906
|
col: number;
|
|
@@ -5914,10 +5914,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5914
5914
|
}[];
|
|
5915
5915
|
remaining: {
|
|
5916
5916
|
message: string;
|
|
5917
|
-
|
|
5918
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5917
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5919
5918
|
filePath: string;
|
|
5920
5919
|
line: number;
|
|
5920
|
+
ruleId: string;
|
|
5921
5921
|
evidence: FactEvidence[];
|
|
5922
5922
|
level: "error" | "warn";
|
|
5923
5923
|
col: number;
|
|
@@ -5942,17 +5942,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5942
5942
|
expiresOn?: string | undefined;
|
|
5943
5943
|
expiresAt?: string | undefined;
|
|
5944
5944
|
}[] | undefined;
|
|
5945
|
-
verdict?: {
|
|
5946
|
-
reasons: string[];
|
|
5947
|
-
exitCode: 0 | 1;
|
|
5948
|
-
gatingFindingCount: number;
|
|
5949
|
-
} | undefined;
|
|
5950
5945
|
provenance?: {
|
|
5946
|
+
fcid: string;
|
|
5951
5947
|
scope: {
|
|
5952
5948
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
5953
5949
|
gitOk: boolean;
|
|
5954
5950
|
};
|
|
5955
|
-
fcid: string;
|
|
5956
5951
|
runId: string;
|
|
5957
5952
|
engineVersion: string;
|
|
5958
5953
|
scopeHash: string;
|
|
@@ -5960,10 +5955,15 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5960
5955
|
baselineId?: string | undefined;
|
|
5961
5956
|
inputsHash?: string | undefined;
|
|
5962
5957
|
} | undefined;
|
|
5958
|
+
verdict?: {
|
|
5959
|
+
reasons: string[];
|
|
5960
|
+
exitCode: 0 | 1;
|
|
5961
|
+
gatingFindingCount: number;
|
|
5962
|
+
} | undefined;
|
|
5963
5963
|
findings?: {
|
|
5964
5964
|
message: string;
|
|
5965
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
5965
5966
|
ruleId: string;
|
|
5966
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
5967
5967
|
location: {
|
|
5968
5968
|
file: string;
|
|
5969
5969
|
line: number;
|
|
@@ -5980,12 +5980,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
5980
5980
|
title: string;
|
|
5981
5981
|
kind: "replacePropValue";
|
|
5982
5982
|
prop: string;
|
|
5983
|
-
deterministic?: boolean | undefined;
|
|
5984
5983
|
value?: unknown;
|
|
5984
|
+
deterministic?: boolean | undefined;
|
|
5985
5985
|
} | {
|
|
5986
|
-
value: string;
|
|
5987
5986
|
title: string;
|
|
5988
5987
|
kind: "replaceStyleValue";
|
|
5988
|
+
value: string;
|
|
5989
5989
|
property: string;
|
|
5990
5990
|
deterministic?: boolean | undefined;
|
|
5991
5991
|
} | {
|
|
@@ -6011,7 +6011,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6011
6011
|
area?: {
|
|
6012
6012
|
areaId: string;
|
|
6013
6013
|
areaName: string;
|
|
6014
|
-
criticality: "
|
|
6014
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
6015
6015
|
owners: string[];
|
|
6016
6016
|
matchedGlob: string;
|
|
6017
6017
|
} | undefined;
|
|
@@ -6041,10 +6041,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6041
6041
|
};
|
|
6042
6042
|
fix_first: {
|
|
6043
6043
|
message: string;
|
|
6044
|
-
|
|
6045
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6044
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6046
6045
|
filePath: string;
|
|
6047
6046
|
line: number;
|
|
6047
|
+
ruleId: string;
|
|
6048
6048
|
evidence: FactEvidence[];
|
|
6049
6049
|
level: "error" | "warn";
|
|
6050
6050
|
col: number;
|
|
@@ -6058,10 +6058,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6058
6058
|
}[];
|
|
6059
6059
|
remaining: {
|
|
6060
6060
|
message: string;
|
|
6061
|
-
|
|
6062
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6061
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6063
6062
|
filePath: string;
|
|
6064
6063
|
line: number;
|
|
6064
|
+
ruleId: string;
|
|
6065
6065
|
evidence: FactEvidence[];
|
|
6066
6066
|
level: "error" | "warn";
|
|
6067
6067
|
col: number;
|
|
@@ -6081,22 +6081,17 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6081
6081
|
suppressions?: {
|
|
6082
6082
|
reason: string;
|
|
6083
6083
|
code?: string | undefined;
|
|
6084
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
6084
6085
|
ruleId?: string | undefined;
|
|
6085
6086
|
expiresOn?: string | undefined;
|
|
6086
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
6087
6087
|
expiresAt?: string | undefined;
|
|
6088
6088
|
}[] | undefined;
|
|
6089
|
-
verdict?: {
|
|
6090
|
-
reasons: string[];
|
|
6091
|
-
exitCode: 0 | 1;
|
|
6092
|
-
gatingFindingCount: number;
|
|
6093
|
-
} | undefined;
|
|
6094
6089
|
provenance?: {
|
|
6090
|
+
fcid: string;
|
|
6095
6091
|
scope: {
|
|
6096
6092
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
6097
6093
|
gitOk: boolean;
|
|
6098
6094
|
};
|
|
6099
|
-
fcid: string;
|
|
6100
6095
|
runId: string;
|
|
6101
6096
|
engineVersion: string;
|
|
6102
6097
|
scopeHash: string;
|
|
@@ -6104,10 +6099,15 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6104
6099
|
baselineId?: string | undefined;
|
|
6105
6100
|
inputsHash?: string | undefined;
|
|
6106
6101
|
} | undefined;
|
|
6102
|
+
verdict?: {
|
|
6103
|
+
reasons: string[];
|
|
6104
|
+
exitCode: 0 | 1;
|
|
6105
|
+
gatingFindingCount: number;
|
|
6106
|
+
} | undefined;
|
|
6107
6107
|
findings?: {
|
|
6108
6108
|
message: string;
|
|
6109
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6109
6110
|
ruleId: string;
|
|
6110
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6111
6111
|
location: {
|
|
6112
6112
|
file: string;
|
|
6113
6113
|
line: number;
|
|
@@ -6124,12 +6124,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6124
6124
|
title: string;
|
|
6125
6125
|
kind: "replacePropValue";
|
|
6126
6126
|
prop: string;
|
|
6127
|
-
deterministic?: boolean | undefined;
|
|
6128
6127
|
value?: unknown;
|
|
6128
|
+
deterministic?: boolean | undefined;
|
|
6129
6129
|
} | {
|
|
6130
|
-
value: string;
|
|
6131
6130
|
title: string;
|
|
6132
6131
|
kind: "replaceStyleValue";
|
|
6132
|
+
value: string;
|
|
6133
6133
|
property: string;
|
|
6134
6134
|
deterministic?: boolean | undefined;
|
|
6135
6135
|
} | {
|
|
@@ -6155,7 +6155,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6155
6155
|
area?: {
|
|
6156
6156
|
areaId: string;
|
|
6157
6157
|
areaName: string;
|
|
6158
|
-
criticality: "
|
|
6158
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
6159
6159
|
owners: string[];
|
|
6160
6160
|
matchedGlob: string;
|
|
6161
6161
|
} | undefined;
|
|
@@ -6194,10 +6194,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6194
6194
|
}>;
|
|
6195
6195
|
}, "strip", z.ZodTypeAny, {
|
|
6196
6196
|
message: string;
|
|
6197
|
-
|
|
6198
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6197
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6199
6198
|
filePath: string;
|
|
6200
6199
|
line: number;
|
|
6200
|
+
ruleId: string;
|
|
6201
6201
|
evidence: FactEvidence[];
|
|
6202
6202
|
level: "error" | "warn";
|
|
6203
6203
|
col: number;
|
|
@@ -6210,10 +6210,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6210
6210
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
6211
6211
|
}, {
|
|
6212
6212
|
message: string;
|
|
6213
|
-
|
|
6214
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6213
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6215
6214
|
filePath: string;
|
|
6216
6215
|
line: number;
|
|
6216
|
+
ruleId: string;
|
|
6217
6217
|
evidence: FactEvidence[];
|
|
6218
6218
|
level: "error" | "warn";
|
|
6219
6219
|
col: number;
|
|
@@ -6251,10 +6251,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6251
6251
|
}>;
|
|
6252
6252
|
}, "strip", z.ZodTypeAny, {
|
|
6253
6253
|
message: string;
|
|
6254
|
-
|
|
6255
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6254
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6256
6255
|
filePath: string;
|
|
6257
6256
|
line: number;
|
|
6257
|
+
ruleId: string;
|
|
6258
6258
|
evidence: FactEvidence[];
|
|
6259
6259
|
level: "error" | "warn";
|
|
6260
6260
|
col: number;
|
|
@@ -6267,10 +6267,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6267
6267
|
evidenceGrade?: EvidenceGrade | undefined;
|
|
6268
6268
|
}, {
|
|
6269
6269
|
message: string;
|
|
6270
|
-
|
|
6271
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6270
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6272
6271
|
filePath: string;
|
|
6273
6272
|
line: number;
|
|
6273
|
+
ruleId: string;
|
|
6274
6274
|
evidence: FactEvidence[];
|
|
6275
6275
|
level: "error" | "warn";
|
|
6276
6276
|
col: number;
|
|
@@ -6354,14 +6354,14 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6354
6354
|
title: string;
|
|
6355
6355
|
kind: "replacePropValue";
|
|
6356
6356
|
prop: string;
|
|
6357
|
-
deterministic?: boolean | undefined;
|
|
6358
6357
|
value?: unknown;
|
|
6358
|
+
deterministic?: boolean | undefined;
|
|
6359
6359
|
}, {
|
|
6360
6360
|
title: string;
|
|
6361
6361
|
kind: "replacePropValue";
|
|
6362
6362
|
prop: string;
|
|
6363
|
-
deterministic?: boolean | undefined;
|
|
6364
6363
|
value?: unknown;
|
|
6364
|
+
deterministic?: boolean | undefined;
|
|
6365
6365
|
}>, z.ZodObject<{
|
|
6366
6366
|
kind: z.ZodLiteral<"replaceStyleValue">;
|
|
6367
6367
|
title: z.ZodString;
|
|
@@ -6369,15 +6369,15 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6369
6369
|
value: z.ZodString;
|
|
6370
6370
|
deterministic: z.ZodOptional<z.ZodBoolean>;
|
|
6371
6371
|
}, "strip", z.ZodTypeAny, {
|
|
6372
|
-
value: string;
|
|
6373
6372
|
title: string;
|
|
6374
6373
|
kind: "replaceStyleValue";
|
|
6374
|
+
value: string;
|
|
6375
6375
|
property: string;
|
|
6376
6376
|
deterministic?: boolean | undefined;
|
|
6377
6377
|
}, {
|
|
6378
|
-
value: string;
|
|
6379
6378
|
title: string;
|
|
6380
6379
|
kind: "replaceStyleValue";
|
|
6380
|
+
value: string;
|
|
6381
6381
|
property: string;
|
|
6382
6382
|
deterministic?: boolean | undefined;
|
|
6383
6383
|
}>, z.ZodObject<{
|
|
@@ -6452,20 +6452,20 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6452
6452
|
}, "strip", z.ZodTypeAny, {
|
|
6453
6453
|
areaId: string;
|
|
6454
6454
|
areaName: string;
|
|
6455
|
-
criticality: "
|
|
6455
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
6456
6456
|
owners: string[];
|
|
6457
6457
|
matchedGlob: string;
|
|
6458
6458
|
}, {
|
|
6459
6459
|
areaId: string;
|
|
6460
6460
|
areaName: string;
|
|
6461
|
-
criticality: "
|
|
6461
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
6462
6462
|
owners: string[];
|
|
6463
6463
|
matchedGlob: string;
|
|
6464
6464
|
}>>;
|
|
6465
6465
|
}, "strip", z.ZodTypeAny, {
|
|
6466
6466
|
message: string;
|
|
6467
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6467
6468
|
ruleId: string;
|
|
6468
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6469
6469
|
location: {
|
|
6470
6470
|
file: string;
|
|
6471
6471
|
line: number;
|
|
@@ -6482,12 +6482,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6482
6482
|
title: string;
|
|
6483
6483
|
kind: "replacePropValue";
|
|
6484
6484
|
prop: string;
|
|
6485
|
-
deterministic?: boolean | undefined;
|
|
6486
6485
|
value?: unknown;
|
|
6486
|
+
deterministic?: boolean | undefined;
|
|
6487
6487
|
} | {
|
|
6488
|
-
value: string;
|
|
6489
6488
|
title: string;
|
|
6490
6489
|
kind: "replaceStyleValue";
|
|
6490
|
+
value: string;
|
|
6491
6491
|
property: string;
|
|
6492
6492
|
deterministic?: boolean | undefined;
|
|
6493
6493
|
} | {
|
|
@@ -6513,7 +6513,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6513
6513
|
area?: {
|
|
6514
6514
|
areaId: string;
|
|
6515
6515
|
areaName: string;
|
|
6516
|
-
criticality: "
|
|
6516
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
6517
6517
|
owners: string[];
|
|
6518
6518
|
matchedGlob: string;
|
|
6519
6519
|
} | undefined;
|
|
@@ -6523,8 +6523,8 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6523
6523
|
attributes?: Record<string, unknown> | undefined;
|
|
6524
6524
|
}, {
|
|
6525
6525
|
message: string;
|
|
6526
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6526
6527
|
ruleId: string;
|
|
6527
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6528
6528
|
location: {
|
|
6529
6529
|
file: string;
|
|
6530
6530
|
line: number;
|
|
@@ -6541,12 +6541,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6541
6541
|
title: string;
|
|
6542
6542
|
kind: "replacePropValue";
|
|
6543
6543
|
prop: string;
|
|
6544
|
-
deterministic?: boolean | undefined;
|
|
6545
6544
|
value?: unknown;
|
|
6545
|
+
deterministic?: boolean | undefined;
|
|
6546
6546
|
} | {
|
|
6547
|
-
value: string;
|
|
6548
6547
|
title: string;
|
|
6549
6548
|
kind: "replaceStyleValue";
|
|
6549
|
+
value: string;
|
|
6550
6550
|
property: string;
|
|
6551
6551
|
deterministic?: boolean | undefined;
|
|
6552
6552
|
} | {
|
|
@@ -6572,7 +6572,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6572
6572
|
area?: {
|
|
6573
6573
|
areaId: string;
|
|
6574
6574
|
areaName: string;
|
|
6575
|
-
criticality: "
|
|
6575
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
6576
6576
|
owners: string[];
|
|
6577
6577
|
matchedGlob: string;
|
|
6578
6578
|
} | undefined;
|
|
@@ -6598,9 +6598,9 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6598
6598
|
}, {
|
|
6599
6599
|
reason: string;
|
|
6600
6600
|
code?: string | undefined;
|
|
6601
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
6601
6602
|
ruleId?: string | undefined;
|
|
6602
6603
|
expiresOn?: string | undefined;
|
|
6603
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
6604
6604
|
expiresAt?: string | undefined;
|
|
6605
6605
|
}>, "many">>;
|
|
6606
6606
|
} & {
|
|
@@ -6647,11 +6647,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6647
6647
|
inputsHash: z.ZodOptional<z.ZodString>;
|
|
6648
6648
|
inputFilesHash: z.ZodString;
|
|
6649
6649
|
}, "strip", z.ZodTypeAny, {
|
|
6650
|
+
fcid: string;
|
|
6650
6651
|
scope: {
|
|
6651
6652
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
6652
6653
|
gitOk: boolean;
|
|
6653
6654
|
};
|
|
6654
|
-
fcid: string;
|
|
6655
6655
|
runId: string;
|
|
6656
6656
|
engineVersion: string;
|
|
6657
6657
|
scopeHash: string;
|
|
@@ -6659,11 +6659,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6659
6659
|
baselineId?: string | undefined;
|
|
6660
6660
|
inputsHash?: string | undefined;
|
|
6661
6661
|
}, {
|
|
6662
|
+
fcid: string;
|
|
6662
6663
|
scope: {
|
|
6663
6664
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
6664
6665
|
gitOk: boolean;
|
|
6665
6666
|
};
|
|
6666
|
-
fcid: string;
|
|
6667
6667
|
runId: string;
|
|
6668
6668
|
engineVersion: string;
|
|
6669
6669
|
scopeHash: string;
|
|
@@ -6688,18 +6688,13 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6688
6688
|
}, "strip", z.ZodTypeAny, {
|
|
6689
6689
|
schemaVersion: "typestyle.agent.v2";
|
|
6690
6690
|
summary: string;
|
|
6691
|
-
verdict: {
|
|
6692
|
-
reasons: string[];
|
|
6693
|
-
exitCode: 0;
|
|
6694
|
-
gatingFindingCount: number;
|
|
6695
|
-
};
|
|
6696
6691
|
status: "indeterminate";
|
|
6697
6692
|
provenance: {
|
|
6693
|
+
fcid: string;
|
|
6698
6694
|
scope: {
|
|
6699
6695
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
6700
6696
|
gitOk: boolean;
|
|
6701
6697
|
};
|
|
6702
|
-
fcid: string;
|
|
6703
6698
|
runId: string;
|
|
6704
6699
|
engineVersion: string;
|
|
6705
6700
|
scopeHash: string;
|
|
@@ -6712,6 +6707,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6712
6707
|
maxIterations: number;
|
|
6713
6708
|
scoreDelta: number;
|
|
6714
6709
|
};
|
|
6710
|
+
verdict: {
|
|
6711
|
+
reasons: string[];
|
|
6712
|
+
exitCode: 0;
|
|
6713
|
+
gatingFindingCount: number;
|
|
6714
|
+
};
|
|
6715
6715
|
passed: true;
|
|
6716
6716
|
reasons: ["zero_rules_loaded"];
|
|
6717
6717
|
integrity: {
|
|
@@ -6723,10 +6723,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6723
6723
|
};
|
|
6724
6724
|
fix_first: {
|
|
6725
6725
|
message: string;
|
|
6726
|
-
|
|
6727
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6726
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6728
6727
|
filePath: string;
|
|
6729
6728
|
line: number;
|
|
6729
|
+
ruleId: string;
|
|
6730
6730
|
evidence: FactEvidence[];
|
|
6731
6731
|
level: "error" | "warn";
|
|
6732
6732
|
col: number;
|
|
@@ -6740,10 +6740,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6740
6740
|
}[];
|
|
6741
6741
|
remaining: {
|
|
6742
6742
|
message: string;
|
|
6743
|
-
|
|
6744
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6743
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6745
6744
|
filePath: string;
|
|
6746
6745
|
line: number;
|
|
6746
|
+
ruleId: string;
|
|
6747
6747
|
evidence: FactEvidence[];
|
|
6748
6748
|
level: "error" | "warn";
|
|
6749
6749
|
col: number;
|
|
@@ -6770,8 +6770,8 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6770
6770
|
}[] | undefined;
|
|
6771
6771
|
findings?: {
|
|
6772
6772
|
message: string;
|
|
6773
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6773
6774
|
ruleId: string;
|
|
6774
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6775
6775
|
location: {
|
|
6776
6776
|
file: string;
|
|
6777
6777
|
line: number;
|
|
@@ -6788,12 +6788,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6788
6788
|
title: string;
|
|
6789
6789
|
kind: "replacePropValue";
|
|
6790
6790
|
prop: string;
|
|
6791
|
-
deterministic?: boolean | undefined;
|
|
6792
6791
|
value?: unknown;
|
|
6792
|
+
deterministic?: boolean | undefined;
|
|
6793
6793
|
} | {
|
|
6794
|
-
value: string;
|
|
6795
6794
|
title: string;
|
|
6796
6795
|
kind: "replaceStyleValue";
|
|
6796
|
+
value: string;
|
|
6797
6797
|
property: string;
|
|
6798
6798
|
deterministic?: boolean | undefined;
|
|
6799
6799
|
} | {
|
|
@@ -6819,7 +6819,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6819
6819
|
area?: {
|
|
6820
6820
|
areaId: string;
|
|
6821
6821
|
areaName: string;
|
|
6822
|
-
criticality: "
|
|
6822
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
6823
6823
|
owners: string[];
|
|
6824
6824
|
matchedGlob: string;
|
|
6825
6825
|
} | undefined;
|
|
@@ -6832,18 +6832,13 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6832
6832
|
}, {
|
|
6833
6833
|
schemaVersion: "typestyle.agent.v2";
|
|
6834
6834
|
summary: string;
|
|
6835
|
-
verdict: {
|
|
6836
|
-
reasons: string[];
|
|
6837
|
-
exitCode: 0;
|
|
6838
|
-
gatingFindingCount: number;
|
|
6839
|
-
};
|
|
6840
6835
|
status: "indeterminate";
|
|
6841
6836
|
provenance: {
|
|
6837
|
+
fcid: string;
|
|
6842
6838
|
scope: {
|
|
6843
6839
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
6844
6840
|
gitOk: boolean;
|
|
6845
6841
|
};
|
|
6846
|
-
fcid: string;
|
|
6847
6842
|
runId: string;
|
|
6848
6843
|
engineVersion: string;
|
|
6849
6844
|
scopeHash: string;
|
|
@@ -6856,6 +6851,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6856
6851
|
maxIterations: number;
|
|
6857
6852
|
scoreDelta: number;
|
|
6858
6853
|
};
|
|
6854
|
+
verdict: {
|
|
6855
|
+
reasons: string[];
|
|
6856
|
+
exitCode: 0;
|
|
6857
|
+
gatingFindingCount: number;
|
|
6858
|
+
};
|
|
6859
6859
|
passed: true;
|
|
6860
6860
|
reasons: ["zero_rules_loaded"];
|
|
6861
6861
|
integrity: {
|
|
@@ -6867,10 +6867,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6867
6867
|
};
|
|
6868
6868
|
fix_first: {
|
|
6869
6869
|
message: string;
|
|
6870
|
-
|
|
6871
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6870
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6872
6871
|
filePath: string;
|
|
6873
6872
|
line: number;
|
|
6873
|
+
ruleId: string;
|
|
6874
6874
|
evidence: FactEvidence[];
|
|
6875
6875
|
level: "error" | "warn";
|
|
6876
6876
|
col: number;
|
|
@@ -6884,10 +6884,10 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6884
6884
|
}[];
|
|
6885
6885
|
remaining: {
|
|
6886
6886
|
message: string;
|
|
6887
|
-
|
|
6888
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6887
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6889
6888
|
filePath: string;
|
|
6890
6889
|
line: number;
|
|
6890
|
+
ruleId: string;
|
|
6891
6891
|
evidence: FactEvidence[];
|
|
6892
6892
|
level: "error" | "warn";
|
|
6893
6893
|
col: number;
|
|
@@ -6907,15 +6907,15 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6907
6907
|
suppressions?: {
|
|
6908
6908
|
reason: string;
|
|
6909
6909
|
code?: string | undefined;
|
|
6910
|
+
scope?: "block" | "file" | "line" | undefined;
|
|
6910
6911
|
ruleId?: string | undefined;
|
|
6911
6912
|
expiresOn?: string | undefined;
|
|
6912
|
-
scope?: "block" | "file" | "line" | undefined;
|
|
6913
6913
|
expiresAt?: string | undefined;
|
|
6914
6914
|
}[] | undefined;
|
|
6915
6915
|
findings?: {
|
|
6916
6916
|
message: string;
|
|
6917
|
+
severity: "moderate" | "critical" | "serious" | "minor";
|
|
6917
6918
|
ruleId: string;
|
|
6918
|
-
severity: "critical" | "serious" | "moderate" | "minor";
|
|
6919
6919
|
location: {
|
|
6920
6920
|
file: string;
|
|
6921
6921
|
line: number;
|
|
@@ -6932,12 +6932,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6932
6932
|
title: string;
|
|
6933
6933
|
kind: "replacePropValue";
|
|
6934
6934
|
prop: string;
|
|
6935
|
-
deterministic?: boolean | undefined;
|
|
6936
6935
|
value?: unknown;
|
|
6936
|
+
deterministic?: boolean | undefined;
|
|
6937
6937
|
} | {
|
|
6938
|
-
value: string;
|
|
6939
6938
|
title: string;
|
|
6940
6939
|
kind: "replaceStyleValue";
|
|
6940
|
+
value: string;
|
|
6941
6941
|
property: string;
|
|
6942
6942
|
deterministic?: boolean | undefined;
|
|
6943
6943
|
} | {
|
|
@@ -6963,7 +6963,7 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
6963
6963
|
area?: {
|
|
6964
6964
|
areaId: string;
|
|
6965
6965
|
areaName: string;
|
|
6966
|
-
criticality: "
|
|
6966
|
+
criticality: "low" | "medium" | "high" | "revenue" | "regulated";
|
|
6967
6967
|
owners: string[];
|
|
6968
6968
|
matchedGlob: string;
|
|
6969
6969
|
} | undefined;
|
|
@@ -7005,11 +7005,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
7005
7005
|
inputsHash: z.ZodOptional<z.ZodString>;
|
|
7006
7006
|
inputFilesHash: z.ZodString;
|
|
7007
7007
|
}, "strip", z.ZodTypeAny, {
|
|
7008
|
+
fcid: string;
|
|
7008
7009
|
scope: {
|
|
7009
7010
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
7010
7011
|
gitOk: boolean;
|
|
7011
7012
|
};
|
|
7012
|
-
fcid: string;
|
|
7013
7013
|
runId: string;
|
|
7014
7014
|
engineVersion: string;
|
|
7015
7015
|
scopeHash: string;
|
|
@@ -7017,11 +7017,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
7017
7017
|
baselineId?: string | undefined;
|
|
7018
7018
|
inputsHash?: string | undefined;
|
|
7019
7019
|
}, {
|
|
7020
|
+
fcid: string;
|
|
7020
7021
|
scope: {
|
|
7021
7022
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
7022
7023
|
gitOk: boolean;
|
|
7023
7024
|
};
|
|
7024
|
-
fcid: string;
|
|
7025
7025
|
runId: string;
|
|
7026
7026
|
engineVersion: string;
|
|
7027
7027
|
scopeHash: string;
|
|
@@ -7051,17 +7051,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
7051
7051
|
message: string;
|
|
7052
7052
|
};
|
|
7053
7053
|
passed: false;
|
|
7054
|
-
verdict?: {
|
|
7055
|
-
reasons: string[];
|
|
7056
|
-
exitCode: 0 | 1;
|
|
7057
|
-
gatingFindingCount: number;
|
|
7058
|
-
} | undefined;
|
|
7059
7054
|
provenance?: {
|
|
7055
|
+
fcid: string;
|
|
7060
7056
|
scope: {
|
|
7061
7057
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
7062
7058
|
gitOk: boolean;
|
|
7063
7059
|
};
|
|
7064
|
-
fcid: string;
|
|
7065
7060
|
runId: string;
|
|
7066
7061
|
engineVersion: string;
|
|
7067
7062
|
scopeHash: string;
|
|
@@ -7069,6 +7064,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
7069
7064
|
baselineId?: string | undefined;
|
|
7070
7065
|
inputsHash?: string | undefined;
|
|
7071
7066
|
} | undefined;
|
|
7067
|
+
verdict?: {
|
|
7068
|
+
reasons: string[];
|
|
7069
|
+
exitCode: 0 | 1;
|
|
7070
|
+
gatingFindingCount: number;
|
|
7071
|
+
} | undefined;
|
|
7072
7072
|
cloudReport?: "accepted" | "reported" | "failed" | "skipped" | undefined;
|
|
7073
7073
|
notices?: string[] | undefined;
|
|
7074
7074
|
}, {
|
|
@@ -7078,17 +7078,12 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
7078
7078
|
message: string;
|
|
7079
7079
|
};
|
|
7080
7080
|
passed: false;
|
|
7081
|
-
verdict?: {
|
|
7082
|
-
reasons: string[];
|
|
7083
|
-
exitCode: 0 | 1;
|
|
7084
|
-
gatingFindingCount: number;
|
|
7085
|
-
} | undefined;
|
|
7086
7081
|
provenance?: {
|
|
7082
|
+
fcid: string;
|
|
7087
7083
|
scope: {
|
|
7088
7084
|
method: "status" | "three-dot" | "tree-diff" | "fallback-full" | "explicit" | "full";
|
|
7089
7085
|
gitOk: boolean;
|
|
7090
7086
|
};
|
|
7091
|
-
fcid: string;
|
|
7092
7087
|
runId: string;
|
|
7093
7088
|
engineVersion: string;
|
|
7094
7089
|
scopeHash: string;
|
|
@@ -7096,6 +7091,11 @@ declare const agentOutputSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
7096
7091
|
baselineId?: string | undefined;
|
|
7097
7092
|
inputsHash?: string | undefined;
|
|
7098
7093
|
} | undefined;
|
|
7094
|
+
verdict?: {
|
|
7095
|
+
reasons: string[];
|
|
7096
|
+
exitCode: 0 | 1;
|
|
7097
|
+
gatingFindingCount: number;
|
|
7098
|
+
} | undefined;
|
|
7099
7099
|
cloudReport?: "accepted" | "reported" | "failed" | "skipped" | undefined;
|
|
7100
7100
|
notices?: string[] | undefined;
|
|
7101
7101
|
}>]>;
|