@cat-factory/contracts 0.52.0 → 0.53.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.
@@ -99,7 +99,7 @@ export declare const startExecutionContract: {
99
99
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
100
100
  readonly attempts: v.NumberSchema<undefined>;
101
101
  readonly maxAttempts: v.NumberSchema<undefined>;
102
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
102
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
103
103
  readonly greenlight: v.BooleanSchema<undefined>;
104
104
  readonly summary: v.StringSchema<undefined>;
105
105
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -122,7 +122,73 @@ export declare const startExecutionContract: {
122
122
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
123
123
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
124
124
  }, undefined>, undefined>, undefined>;
125
- }, undefined>, undefined>, undefined>;
125
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
126
+ readonly reason: v.StringSchema<undefined>;
127
+ }, undefined>, undefined>, undefined>;
128
+ }, undefined>, v.TransformAction<{
129
+ greenlight: boolean;
130
+ summary: string;
131
+ tested: string[];
132
+ outcomes: {
133
+ name: string;
134
+ status: "failed" | "passed" | "skipped";
135
+ detail?: string | undefined;
136
+ }[];
137
+ concerns: {
138
+ title: string;
139
+ detail: string;
140
+ severity: "critical" | "high" | "low" | "medium";
141
+ }[];
142
+ environment?: "ephemeral" | "local" | undefined;
143
+ screenshots?: {
144
+ view: string;
145
+ artifactId: string;
146
+ hash?: string | undefined;
147
+ width?: number | undefined;
148
+ height?: number | undefined;
149
+ referenceArtifactId?: string | undefined;
150
+ }[] | undefined;
151
+ abort?: {
152
+ reason: string;
153
+ } | null | undefined;
154
+ }, {
155
+ greenlight: boolean;
156
+ summary: string;
157
+ tested: string[];
158
+ outcomes: {
159
+ name: string;
160
+ status: "failed" | "passed" | "skipped";
161
+ detail?: string | undefined;
162
+ }[];
163
+ concerns: {
164
+ title: string;
165
+ detail: string;
166
+ severity: "critical" | "high" | "low" | "medium";
167
+ }[];
168
+ environment?: "ephemeral" | "local" | undefined;
169
+ screenshots?: {
170
+ view: string;
171
+ artifactId: string;
172
+ hash?: string | undefined;
173
+ width?: number | undefined;
174
+ height?: number | undefined;
175
+ referenceArtifactId?: string | undefined;
176
+ }[] | undefined;
177
+ abort?: {
178
+ reason: string;
179
+ } | null | undefined;
180
+ }>]>, undefined>, undefined>;
181
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
182
+ readonly attempt: v.NumberSchema<undefined>;
183
+ readonly at: v.NumberSchema<undefined>;
184
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
185
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
186
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
187
+ readonly title: v.StringSchema<undefined>;
188
+ readonly detail: v.StringSchema<undefined>;
189
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
190
+ }, undefined>, undefined>, undefined>, undefined>;
191
+ }, undefined>, undefined>, undefined>, undefined>;
126
192
  }, undefined>, undefined>, undefined>;
127
193
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
128
194
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -187,7 +253,12 @@ export declare const startExecutionContract: {
187
253
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
188
254
  }, undefined>, undefined>, undefined>;
189
255
  }, undefined>, undefined>;
190
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
256
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
257
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
258
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
259
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
260
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
261
+ }, undefined>, undefined>, undefined>;
191
262
  readonly decision: v.NullableSchema<v.ObjectSchema<{
192
263
  readonly id: v.StringSchema<undefined>;
193
264
  readonly question: v.StringSchema<undefined>;
@@ -643,7 +714,7 @@ export declare const resumeSpendContract: {
643
714
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
644
715
  readonly attempts: v.NumberSchema<undefined>;
645
716
  readonly maxAttempts: v.NumberSchema<undefined>;
646
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
717
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
647
718
  readonly greenlight: v.BooleanSchema<undefined>;
648
719
  readonly summary: v.StringSchema<undefined>;
649
720
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -666,7 +737,73 @@ export declare const resumeSpendContract: {
666
737
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
667
738
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
668
739
  }, undefined>, undefined>, undefined>;
669
- }, undefined>, undefined>, undefined>;
740
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
741
+ readonly reason: v.StringSchema<undefined>;
742
+ }, undefined>, undefined>, undefined>;
743
+ }, undefined>, v.TransformAction<{
744
+ greenlight: boolean;
745
+ summary: string;
746
+ tested: string[];
747
+ outcomes: {
748
+ name: string;
749
+ status: "failed" | "passed" | "skipped";
750
+ detail?: string | undefined;
751
+ }[];
752
+ concerns: {
753
+ title: string;
754
+ detail: string;
755
+ severity: "critical" | "high" | "low" | "medium";
756
+ }[];
757
+ environment?: "ephemeral" | "local" | undefined;
758
+ screenshots?: {
759
+ view: string;
760
+ artifactId: string;
761
+ hash?: string | undefined;
762
+ width?: number | undefined;
763
+ height?: number | undefined;
764
+ referenceArtifactId?: string | undefined;
765
+ }[] | undefined;
766
+ abort?: {
767
+ reason: string;
768
+ } | null | undefined;
769
+ }, {
770
+ greenlight: boolean;
771
+ summary: string;
772
+ tested: string[];
773
+ outcomes: {
774
+ name: string;
775
+ status: "failed" | "passed" | "skipped";
776
+ detail?: string | undefined;
777
+ }[];
778
+ concerns: {
779
+ title: string;
780
+ detail: string;
781
+ severity: "critical" | "high" | "low" | "medium";
782
+ }[];
783
+ environment?: "ephemeral" | "local" | undefined;
784
+ screenshots?: {
785
+ view: string;
786
+ artifactId: string;
787
+ hash?: string | undefined;
788
+ width?: number | undefined;
789
+ height?: number | undefined;
790
+ referenceArtifactId?: string | undefined;
791
+ }[] | undefined;
792
+ abort?: {
793
+ reason: string;
794
+ } | null | undefined;
795
+ }>]>, undefined>, undefined>;
796
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
797
+ readonly attempt: v.NumberSchema<undefined>;
798
+ readonly at: v.NumberSchema<undefined>;
799
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
800
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
801
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
802
+ readonly title: v.StringSchema<undefined>;
803
+ readonly detail: v.StringSchema<undefined>;
804
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
805
+ }, undefined>, undefined>, undefined>, undefined>;
806
+ }, undefined>, undefined>, undefined>, undefined>;
670
807
  }, undefined>, undefined>, undefined>;
671
808
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
672
809
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -731,7 +868,12 @@ export declare const resumeSpendContract: {
731
868
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
732
869
  }, undefined>, undefined>, undefined>;
733
870
  }, undefined>, undefined>;
734
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
871
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
872
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
873
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
874
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
875
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
876
+ }, undefined>, undefined>, undefined>;
735
877
  readonly decision: v.NullableSchema<v.ObjectSchema<{
736
878
  readonly id: v.StringSchema<undefined>;
737
879
  readonly question: v.StringSchema<undefined>;
@@ -1186,7 +1328,7 @@ export declare const resolveDecisionContract: {
1186
1328
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
1187
1329
  readonly attempts: v.NumberSchema<undefined>;
1188
1330
  readonly maxAttempts: v.NumberSchema<undefined>;
1189
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1331
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1190
1332
  readonly greenlight: v.BooleanSchema<undefined>;
1191
1333
  readonly summary: v.StringSchema<undefined>;
1192
1334
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -1209,7 +1351,73 @@ export declare const resolveDecisionContract: {
1209
1351
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1210
1352
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1211
1353
  }, undefined>, undefined>, undefined>;
1212
- }, undefined>, undefined>, undefined>;
1354
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1355
+ readonly reason: v.StringSchema<undefined>;
1356
+ }, undefined>, undefined>, undefined>;
1357
+ }, undefined>, v.TransformAction<{
1358
+ greenlight: boolean;
1359
+ summary: string;
1360
+ tested: string[];
1361
+ outcomes: {
1362
+ name: string;
1363
+ status: "failed" | "passed" | "skipped";
1364
+ detail?: string | undefined;
1365
+ }[];
1366
+ concerns: {
1367
+ title: string;
1368
+ detail: string;
1369
+ severity: "critical" | "high" | "low" | "medium";
1370
+ }[];
1371
+ environment?: "ephemeral" | "local" | undefined;
1372
+ screenshots?: {
1373
+ view: string;
1374
+ artifactId: string;
1375
+ hash?: string | undefined;
1376
+ width?: number | undefined;
1377
+ height?: number | undefined;
1378
+ referenceArtifactId?: string | undefined;
1379
+ }[] | undefined;
1380
+ abort?: {
1381
+ reason: string;
1382
+ } | null | undefined;
1383
+ }, {
1384
+ greenlight: boolean;
1385
+ summary: string;
1386
+ tested: string[];
1387
+ outcomes: {
1388
+ name: string;
1389
+ status: "failed" | "passed" | "skipped";
1390
+ detail?: string | undefined;
1391
+ }[];
1392
+ concerns: {
1393
+ title: string;
1394
+ detail: string;
1395
+ severity: "critical" | "high" | "low" | "medium";
1396
+ }[];
1397
+ environment?: "ephemeral" | "local" | undefined;
1398
+ screenshots?: {
1399
+ view: string;
1400
+ artifactId: string;
1401
+ hash?: string | undefined;
1402
+ width?: number | undefined;
1403
+ height?: number | undefined;
1404
+ referenceArtifactId?: string | undefined;
1405
+ }[] | undefined;
1406
+ abort?: {
1407
+ reason: string;
1408
+ } | null | undefined;
1409
+ }>]>, undefined>, undefined>;
1410
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1411
+ readonly attempt: v.NumberSchema<undefined>;
1412
+ readonly at: v.NumberSchema<undefined>;
1413
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
1414
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1415
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1416
+ readonly title: v.StringSchema<undefined>;
1417
+ readonly detail: v.StringSchema<undefined>;
1418
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
1419
+ }, undefined>, undefined>, undefined>, undefined>;
1420
+ }, undefined>, undefined>, undefined>, undefined>;
1213
1421
  }, undefined>, undefined>, undefined>;
1214
1422
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1215
1423
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -1274,7 +1482,12 @@ export declare const resolveDecisionContract: {
1274
1482
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1275
1483
  }, undefined>, undefined>, undefined>;
1276
1484
  }, undefined>, undefined>;
1277
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1485
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1486
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
1487
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1488
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1489
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1490
+ }, undefined>, undefined>, undefined>;
1278
1491
  readonly decision: v.NullableSchema<v.ObjectSchema<{
1279
1492
  readonly id: v.StringSchema<undefined>;
1280
1493
  readonly question: v.StringSchema<undefined>;
@@ -1507,7 +1720,7 @@ export declare const approveStepContract: {
1507
1720
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
1508
1721
  readonly attempts: v.NumberSchema<undefined>;
1509
1722
  readonly maxAttempts: v.NumberSchema<undefined>;
1510
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1723
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1511
1724
  readonly greenlight: v.BooleanSchema<undefined>;
1512
1725
  readonly summary: v.StringSchema<undefined>;
1513
1726
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -1530,7 +1743,73 @@ export declare const approveStepContract: {
1530
1743
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1531
1744
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1532
1745
  }, undefined>, undefined>, undefined>;
1533
- }, undefined>, undefined>, undefined>;
1746
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1747
+ readonly reason: v.StringSchema<undefined>;
1748
+ }, undefined>, undefined>, undefined>;
1749
+ }, undefined>, v.TransformAction<{
1750
+ greenlight: boolean;
1751
+ summary: string;
1752
+ tested: string[];
1753
+ outcomes: {
1754
+ name: string;
1755
+ status: "failed" | "passed" | "skipped";
1756
+ detail?: string | undefined;
1757
+ }[];
1758
+ concerns: {
1759
+ title: string;
1760
+ detail: string;
1761
+ severity: "critical" | "high" | "low" | "medium";
1762
+ }[];
1763
+ environment?: "ephemeral" | "local" | undefined;
1764
+ screenshots?: {
1765
+ view: string;
1766
+ artifactId: string;
1767
+ hash?: string | undefined;
1768
+ width?: number | undefined;
1769
+ height?: number | undefined;
1770
+ referenceArtifactId?: string | undefined;
1771
+ }[] | undefined;
1772
+ abort?: {
1773
+ reason: string;
1774
+ } | null | undefined;
1775
+ }, {
1776
+ greenlight: boolean;
1777
+ summary: string;
1778
+ tested: string[];
1779
+ outcomes: {
1780
+ name: string;
1781
+ status: "failed" | "passed" | "skipped";
1782
+ detail?: string | undefined;
1783
+ }[];
1784
+ concerns: {
1785
+ title: string;
1786
+ detail: string;
1787
+ severity: "critical" | "high" | "low" | "medium";
1788
+ }[];
1789
+ environment?: "ephemeral" | "local" | undefined;
1790
+ screenshots?: {
1791
+ view: string;
1792
+ artifactId: string;
1793
+ hash?: string | undefined;
1794
+ width?: number | undefined;
1795
+ height?: number | undefined;
1796
+ referenceArtifactId?: string | undefined;
1797
+ }[] | undefined;
1798
+ abort?: {
1799
+ reason: string;
1800
+ } | null | undefined;
1801
+ }>]>, undefined>, undefined>;
1802
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1803
+ readonly attempt: v.NumberSchema<undefined>;
1804
+ readonly at: v.NumberSchema<undefined>;
1805
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
1806
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1807
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1808
+ readonly title: v.StringSchema<undefined>;
1809
+ readonly detail: v.StringSchema<undefined>;
1810
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
1811
+ }, undefined>, undefined>, undefined>, undefined>;
1812
+ }, undefined>, undefined>, undefined>, undefined>;
1534
1813
  }, undefined>, undefined>, undefined>;
1535
1814
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1536
1815
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -1595,7 +1874,12 @@ export declare const approveStepContract: {
1595
1874
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1596
1875
  }, undefined>, undefined>, undefined>;
1597
1876
  }, undefined>, undefined>;
1598
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1877
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1878
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
1879
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1880
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1881
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1882
+ }, undefined>, undefined>, undefined>;
1599
1883
  readonly decision: v.NullableSchema<v.ObjectSchema<{
1600
1884
  readonly id: v.StringSchema<undefined>;
1601
1885
  readonly question: v.StringSchema<undefined>;
@@ -1842,7 +2126,7 @@ export declare const requestStepChangesContract: {
1842
2126
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
1843
2127
  readonly attempts: v.NumberSchema<undefined>;
1844
2128
  readonly maxAttempts: v.NumberSchema<undefined>;
1845
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2129
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1846
2130
  readonly greenlight: v.BooleanSchema<undefined>;
1847
2131
  readonly summary: v.StringSchema<undefined>;
1848
2132
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -1865,7 +2149,73 @@ export declare const requestStepChangesContract: {
1865
2149
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1866
2150
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1867
2151
  }, undefined>, undefined>, undefined>;
1868
- }, undefined>, undefined>, undefined>;
2152
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2153
+ readonly reason: v.StringSchema<undefined>;
2154
+ }, undefined>, undefined>, undefined>;
2155
+ }, undefined>, v.TransformAction<{
2156
+ greenlight: boolean;
2157
+ summary: string;
2158
+ tested: string[];
2159
+ outcomes: {
2160
+ name: string;
2161
+ status: "failed" | "passed" | "skipped";
2162
+ detail?: string | undefined;
2163
+ }[];
2164
+ concerns: {
2165
+ title: string;
2166
+ detail: string;
2167
+ severity: "critical" | "high" | "low" | "medium";
2168
+ }[];
2169
+ environment?: "ephemeral" | "local" | undefined;
2170
+ screenshots?: {
2171
+ view: string;
2172
+ artifactId: string;
2173
+ hash?: string | undefined;
2174
+ width?: number | undefined;
2175
+ height?: number | undefined;
2176
+ referenceArtifactId?: string | undefined;
2177
+ }[] | undefined;
2178
+ abort?: {
2179
+ reason: string;
2180
+ } | null | undefined;
2181
+ }, {
2182
+ greenlight: boolean;
2183
+ summary: string;
2184
+ tested: string[];
2185
+ outcomes: {
2186
+ name: string;
2187
+ status: "failed" | "passed" | "skipped";
2188
+ detail?: string | undefined;
2189
+ }[];
2190
+ concerns: {
2191
+ title: string;
2192
+ detail: string;
2193
+ severity: "critical" | "high" | "low" | "medium";
2194
+ }[];
2195
+ environment?: "ephemeral" | "local" | undefined;
2196
+ screenshots?: {
2197
+ view: string;
2198
+ artifactId: string;
2199
+ hash?: string | undefined;
2200
+ width?: number | undefined;
2201
+ height?: number | undefined;
2202
+ referenceArtifactId?: string | undefined;
2203
+ }[] | undefined;
2204
+ abort?: {
2205
+ reason: string;
2206
+ } | null | undefined;
2207
+ }>]>, undefined>, undefined>;
2208
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
2209
+ readonly attempt: v.NumberSchema<undefined>;
2210
+ readonly at: v.NumberSchema<undefined>;
2211
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
2212
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2213
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
2214
+ readonly title: v.StringSchema<undefined>;
2215
+ readonly detail: v.StringSchema<undefined>;
2216
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
2217
+ }, undefined>, undefined>, undefined>, undefined>;
2218
+ }, undefined>, undefined>, undefined>, undefined>;
1869
2219
  }, undefined>, undefined>, undefined>;
1870
2220
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1871
2221
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -1930,7 +2280,12 @@ export declare const requestStepChangesContract: {
1930
2280
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1931
2281
  }, undefined>, undefined>, undefined>;
1932
2282
  }, undefined>, undefined>;
1933
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2283
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2284
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
2285
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2286
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2287
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2288
+ }, undefined>, undefined>, undefined>;
1934
2289
  readonly decision: v.NullableSchema<v.ObjectSchema<{
1935
2290
  readonly id: v.StringSchema<undefined>;
1936
2291
  readonly question: v.StringSchema<undefined>;
@@ -2163,7 +2518,7 @@ export declare const resolveStepExceededContract: {
2163
2518
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
2164
2519
  readonly attempts: v.NumberSchema<undefined>;
2165
2520
  readonly maxAttempts: v.NumberSchema<undefined>;
2166
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2521
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2167
2522
  readonly greenlight: v.BooleanSchema<undefined>;
2168
2523
  readonly summary: v.StringSchema<undefined>;
2169
2524
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -2186,7 +2541,73 @@ export declare const resolveStepExceededContract: {
2186
2541
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2187
2542
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2188
2543
  }, undefined>, undefined>, undefined>;
2189
- }, undefined>, undefined>, undefined>;
2544
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2545
+ readonly reason: v.StringSchema<undefined>;
2546
+ }, undefined>, undefined>, undefined>;
2547
+ }, undefined>, v.TransformAction<{
2548
+ greenlight: boolean;
2549
+ summary: string;
2550
+ tested: string[];
2551
+ outcomes: {
2552
+ name: string;
2553
+ status: "failed" | "passed" | "skipped";
2554
+ detail?: string | undefined;
2555
+ }[];
2556
+ concerns: {
2557
+ title: string;
2558
+ detail: string;
2559
+ severity: "critical" | "high" | "low" | "medium";
2560
+ }[];
2561
+ environment?: "ephemeral" | "local" | undefined;
2562
+ screenshots?: {
2563
+ view: string;
2564
+ artifactId: string;
2565
+ hash?: string | undefined;
2566
+ width?: number | undefined;
2567
+ height?: number | undefined;
2568
+ referenceArtifactId?: string | undefined;
2569
+ }[] | undefined;
2570
+ abort?: {
2571
+ reason: string;
2572
+ } | null | undefined;
2573
+ }, {
2574
+ greenlight: boolean;
2575
+ summary: string;
2576
+ tested: string[];
2577
+ outcomes: {
2578
+ name: string;
2579
+ status: "failed" | "passed" | "skipped";
2580
+ detail?: string | undefined;
2581
+ }[];
2582
+ concerns: {
2583
+ title: string;
2584
+ detail: string;
2585
+ severity: "critical" | "high" | "low" | "medium";
2586
+ }[];
2587
+ environment?: "ephemeral" | "local" | undefined;
2588
+ screenshots?: {
2589
+ view: string;
2590
+ artifactId: string;
2591
+ hash?: string | undefined;
2592
+ width?: number | undefined;
2593
+ height?: number | undefined;
2594
+ referenceArtifactId?: string | undefined;
2595
+ }[] | undefined;
2596
+ abort?: {
2597
+ reason: string;
2598
+ } | null | undefined;
2599
+ }>]>, undefined>, undefined>;
2600
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
2601
+ readonly attempt: v.NumberSchema<undefined>;
2602
+ readonly at: v.NumberSchema<undefined>;
2603
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
2604
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2605
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
2606
+ readonly title: v.StringSchema<undefined>;
2607
+ readonly detail: v.StringSchema<undefined>;
2608
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
2609
+ }, undefined>, undefined>, undefined>, undefined>;
2610
+ }, undefined>, undefined>, undefined>, undefined>;
2190
2611
  }, undefined>, undefined>, undefined>;
2191
2612
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2192
2613
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -2251,7 +2672,12 @@ export declare const resolveStepExceededContract: {
2251
2672
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
2252
2673
  }, undefined>, undefined>, undefined>;
2253
2674
  }, undefined>, undefined>;
2254
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2675
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2676
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
2677
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2678
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2679
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2680
+ }, undefined>, undefined>, undefined>;
2255
2681
  readonly decision: v.NullableSchema<v.ObjectSchema<{
2256
2682
  readonly id: v.StringSchema<undefined>;
2257
2683
  readonly question: v.StringSchema<undefined>;
@@ -2482,7 +2908,7 @@ export declare const restartExecutionContract: {
2482
2908
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
2483
2909
  readonly attempts: v.NumberSchema<undefined>;
2484
2910
  readonly maxAttempts: v.NumberSchema<undefined>;
2485
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2911
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2486
2912
  readonly greenlight: v.BooleanSchema<undefined>;
2487
2913
  readonly summary: v.StringSchema<undefined>;
2488
2914
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -2505,7 +2931,73 @@ export declare const restartExecutionContract: {
2505
2931
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2506
2932
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2507
2933
  }, undefined>, undefined>, undefined>;
2508
- }, undefined>, undefined>, undefined>;
2934
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2935
+ readonly reason: v.StringSchema<undefined>;
2936
+ }, undefined>, undefined>, undefined>;
2937
+ }, undefined>, v.TransformAction<{
2938
+ greenlight: boolean;
2939
+ summary: string;
2940
+ tested: string[];
2941
+ outcomes: {
2942
+ name: string;
2943
+ status: "failed" | "passed" | "skipped";
2944
+ detail?: string | undefined;
2945
+ }[];
2946
+ concerns: {
2947
+ title: string;
2948
+ detail: string;
2949
+ severity: "critical" | "high" | "low" | "medium";
2950
+ }[];
2951
+ environment?: "ephemeral" | "local" | undefined;
2952
+ screenshots?: {
2953
+ view: string;
2954
+ artifactId: string;
2955
+ hash?: string | undefined;
2956
+ width?: number | undefined;
2957
+ height?: number | undefined;
2958
+ referenceArtifactId?: string | undefined;
2959
+ }[] | undefined;
2960
+ abort?: {
2961
+ reason: string;
2962
+ } | null | undefined;
2963
+ }, {
2964
+ greenlight: boolean;
2965
+ summary: string;
2966
+ tested: string[];
2967
+ outcomes: {
2968
+ name: string;
2969
+ status: "failed" | "passed" | "skipped";
2970
+ detail?: string | undefined;
2971
+ }[];
2972
+ concerns: {
2973
+ title: string;
2974
+ detail: string;
2975
+ severity: "critical" | "high" | "low" | "medium";
2976
+ }[];
2977
+ environment?: "ephemeral" | "local" | undefined;
2978
+ screenshots?: {
2979
+ view: string;
2980
+ artifactId: string;
2981
+ hash?: string | undefined;
2982
+ width?: number | undefined;
2983
+ height?: number | undefined;
2984
+ referenceArtifactId?: string | undefined;
2985
+ }[] | undefined;
2986
+ abort?: {
2987
+ reason: string;
2988
+ } | null | undefined;
2989
+ }>]>, undefined>, undefined>;
2990
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
2991
+ readonly attempt: v.NumberSchema<undefined>;
2992
+ readonly at: v.NumberSchema<undefined>;
2993
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
2994
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2995
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
2996
+ readonly title: v.StringSchema<undefined>;
2997
+ readonly detail: v.StringSchema<undefined>;
2998
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
2999
+ }, undefined>, undefined>, undefined>, undefined>;
3000
+ }, undefined>, undefined>, undefined>, undefined>;
2509
3001
  }, undefined>, undefined>, undefined>;
2510
3002
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2511
3003
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -2570,7 +3062,12 @@ export declare const restartExecutionContract: {
2570
3062
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
2571
3063
  }, undefined>, undefined>, undefined>;
2572
3064
  }, undefined>, undefined>;
2573
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3065
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3066
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
3067
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3068
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3069
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3070
+ }, undefined>, undefined>, undefined>;
2574
3071
  readonly decision: v.NullableSchema<v.ObjectSchema<{
2575
3072
  readonly id: v.StringSchema<undefined>;
2576
3073
  readonly question: v.StringSchema<undefined>;
@@ -2803,7 +3300,7 @@ export declare const rejectStepContract: {
2803
3300
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
2804
3301
  readonly attempts: v.NumberSchema<undefined>;
2805
3302
  readonly maxAttempts: v.NumberSchema<undefined>;
2806
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3303
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2807
3304
  readonly greenlight: v.BooleanSchema<undefined>;
2808
3305
  readonly summary: v.StringSchema<undefined>;
2809
3306
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -2826,7 +3323,73 @@ export declare const rejectStepContract: {
2826
3323
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2827
3324
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2828
3325
  }, undefined>, undefined>, undefined>;
2829
- }, undefined>, undefined>, undefined>;
3326
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3327
+ readonly reason: v.StringSchema<undefined>;
3328
+ }, undefined>, undefined>, undefined>;
3329
+ }, undefined>, v.TransformAction<{
3330
+ greenlight: boolean;
3331
+ summary: string;
3332
+ tested: string[];
3333
+ outcomes: {
3334
+ name: string;
3335
+ status: "failed" | "passed" | "skipped";
3336
+ detail?: string | undefined;
3337
+ }[];
3338
+ concerns: {
3339
+ title: string;
3340
+ detail: string;
3341
+ severity: "critical" | "high" | "low" | "medium";
3342
+ }[];
3343
+ environment?: "ephemeral" | "local" | undefined;
3344
+ screenshots?: {
3345
+ view: string;
3346
+ artifactId: string;
3347
+ hash?: string | undefined;
3348
+ width?: number | undefined;
3349
+ height?: number | undefined;
3350
+ referenceArtifactId?: string | undefined;
3351
+ }[] | undefined;
3352
+ abort?: {
3353
+ reason: string;
3354
+ } | null | undefined;
3355
+ }, {
3356
+ greenlight: boolean;
3357
+ summary: string;
3358
+ tested: string[];
3359
+ outcomes: {
3360
+ name: string;
3361
+ status: "failed" | "passed" | "skipped";
3362
+ detail?: string | undefined;
3363
+ }[];
3364
+ concerns: {
3365
+ title: string;
3366
+ detail: string;
3367
+ severity: "critical" | "high" | "low" | "medium";
3368
+ }[];
3369
+ environment?: "ephemeral" | "local" | undefined;
3370
+ screenshots?: {
3371
+ view: string;
3372
+ artifactId: string;
3373
+ hash?: string | undefined;
3374
+ width?: number | undefined;
3375
+ height?: number | undefined;
3376
+ referenceArtifactId?: string | undefined;
3377
+ }[] | undefined;
3378
+ abort?: {
3379
+ reason: string;
3380
+ } | null | undefined;
3381
+ }>]>, undefined>, undefined>;
3382
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
3383
+ readonly attempt: v.NumberSchema<undefined>;
3384
+ readonly at: v.NumberSchema<undefined>;
3385
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
3386
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3387
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
3388
+ readonly title: v.StringSchema<undefined>;
3389
+ readonly detail: v.StringSchema<undefined>;
3390
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
3391
+ }, undefined>, undefined>, undefined>, undefined>;
3392
+ }, undefined>, undefined>, undefined>, undefined>;
2830
3393
  }, undefined>, undefined>, undefined>;
2831
3394
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2832
3395
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -2891,7 +3454,12 @@ export declare const rejectStepContract: {
2891
3454
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
2892
3455
  }, undefined>, undefined>, undefined>;
2893
3456
  }, undefined>, undefined>;
2894
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3457
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3458
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
3459
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3460
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3461
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3462
+ }, undefined>, undefined>, undefined>;
2895
3463
  readonly decision: v.NullableSchema<v.ObjectSchema<{
2896
3464
  readonly id: v.StringSchema<undefined>;
2897
3465
  readonly question: v.StringSchema<undefined>;