@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.
- package/dist/entities.d.ts +353 -23
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +69 -9
- package/dist/entities.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +148 -6
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +592 -24
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +74 -3
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +370 -15
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +222 -9
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +148 -6
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +74 -3
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/testing.d.ts +71 -7
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +19 -1
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/dist/entities.d.ts
CHANGED
|
@@ -1010,6 +1010,33 @@ export type GateStepState = v.InferOutput<typeof gateStepStateSchema>;
|
|
|
1010
1010
|
* - `phase: 'fixing'` — a Fixer job is in flight; on completion the step returns to
|
|
1011
1011
|
* `testing` and a fresh Tester job is dispatched.
|
|
1012
1012
|
*/
|
|
1013
|
+
/**
|
|
1014
|
+
* One round of the Tester→Fixer loop, recorded when a `fixer` job finishes so the test
|
|
1015
|
+
* window can show what each fixer attempt set out to fix and how it ended — the analogue of
|
|
1016
|
+
* a polling gate's {@link gateAttemptSchema}, since a fixer run is otherwise an opaque
|
|
1017
|
+
* sub-job with no surface of its own (only a bare `attempts` count).
|
|
1018
|
+
*/
|
|
1019
|
+
export declare const testerAttemptSchema: v.ObjectSchema<{
|
|
1020
|
+
/** 1-based fixer round (matches `attempts` after the fixer for this round was dispatched). */
|
|
1021
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
1022
|
+
/** Epoch ms when the fixer job finished. */
|
|
1023
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1024
|
+
/** Whether the fixer container finished (`completed`) or errored/was evicted (`failed`). */
|
|
1025
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
1026
|
+
/** The fixer's own summary (or the failure reason), naming what it changed / what failed. */
|
|
1027
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1028
|
+
/**
|
|
1029
|
+
* The concerns the fixer was handed for this round (from the Tester report that withheld
|
|
1030
|
+
* its greenlight), so the window can show WHAT each round tried to address — not only that
|
|
1031
|
+
* a round happened.
|
|
1032
|
+
*/
|
|
1033
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1034
|
+
readonly title: v.StringSchema<undefined>;
|
|
1035
|
+
readonly detail: v.StringSchema<undefined>;
|
|
1036
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
1037
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1038
|
+
}, undefined>;
|
|
1039
|
+
export type TesterAttempt = v.InferOutput<typeof testerAttemptSchema>;
|
|
1013
1040
|
export declare const testerStepStateSchema: v.ObjectSchema<{
|
|
1014
1041
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
1015
1042
|
/** How many `fixer` attempts have been dispatched so far. */
|
|
@@ -1017,7 +1044,7 @@ export declare const testerStepStateSchema: v.ObjectSchema<{
|
|
|
1017
1044
|
/** Ceiling on fixer attempts, resolved from the task's merge preset at step start. */
|
|
1018
1045
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1019
1046
|
/** The most recent Tester report (what was tested, outcomes, concerns, greenlight). */
|
|
1020
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1047
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1021
1048
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
1022
1049
|
readonly summary: v.StringSchema<undefined>;
|
|
1023
1050
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1040,7 +1067,87 @@ export declare const testerStepStateSchema: v.ObjectSchema<{
|
|
|
1040
1067
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1041
1068
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1042
1069
|
}, undefined>, undefined>, undefined>;
|
|
1043
|
-
|
|
1070
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1071
|
+
readonly reason: v.StringSchema<undefined>;
|
|
1072
|
+
}, undefined>, undefined>, undefined>;
|
|
1073
|
+
}, undefined>, v.TransformAction<{
|
|
1074
|
+
greenlight: boolean;
|
|
1075
|
+
summary: string;
|
|
1076
|
+
tested: string[];
|
|
1077
|
+
outcomes: {
|
|
1078
|
+
name: string;
|
|
1079
|
+
status: "failed" | "passed" | "skipped";
|
|
1080
|
+
detail?: string | undefined;
|
|
1081
|
+
}[];
|
|
1082
|
+
concerns: {
|
|
1083
|
+
title: string;
|
|
1084
|
+
detail: string;
|
|
1085
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
1086
|
+
}[];
|
|
1087
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
1088
|
+
screenshots?: {
|
|
1089
|
+
view: string;
|
|
1090
|
+
artifactId: string;
|
|
1091
|
+
hash?: string | undefined;
|
|
1092
|
+
width?: number | undefined;
|
|
1093
|
+
height?: number | undefined;
|
|
1094
|
+
referenceArtifactId?: string | undefined;
|
|
1095
|
+
}[] | undefined;
|
|
1096
|
+
abort?: {
|
|
1097
|
+
reason: string;
|
|
1098
|
+
} | null | undefined;
|
|
1099
|
+
}, {
|
|
1100
|
+
greenlight: boolean;
|
|
1101
|
+
summary: string;
|
|
1102
|
+
tested: string[];
|
|
1103
|
+
outcomes: {
|
|
1104
|
+
name: string;
|
|
1105
|
+
status: "failed" | "passed" | "skipped";
|
|
1106
|
+
detail?: string | undefined;
|
|
1107
|
+
}[];
|
|
1108
|
+
concerns: {
|
|
1109
|
+
title: string;
|
|
1110
|
+
detail: string;
|
|
1111
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
1112
|
+
}[];
|
|
1113
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
1114
|
+
screenshots?: {
|
|
1115
|
+
view: string;
|
|
1116
|
+
artifactId: string;
|
|
1117
|
+
hash?: string | undefined;
|
|
1118
|
+
width?: number | undefined;
|
|
1119
|
+
height?: number | undefined;
|
|
1120
|
+
referenceArtifactId?: string | undefined;
|
|
1121
|
+
}[] | undefined;
|
|
1122
|
+
abort?: {
|
|
1123
|
+
reason: string;
|
|
1124
|
+
} | null | undefined;
|
|
1125
|
+
}>]>, undefined>, undefined>;
|
|
1126
|
+
/**
|
|
1127
|
+
* Append-only history of the `fixer` rounds this Tester step looped through, each recorded
|
|
1128
|
+
* when its job finished. Lets the test window surface an inspectable timeline of the fixer
|
|
1129
|
+
* attempts (what each addressed, how it ended) instead of only a bare `attempts` count.
|
|
1130
|
+
*/
|
|
1131
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1132
|
+
/** 1-based fixer round (matches `attempts` after the fixer for this round was dispatched). */
|
|
1133
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
1134
|
+
/** Epoch ms when the fixer job finished. */
|
|
1135
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1136
|
+
/** Whether the fixer container finished (`completed`) or errored/was evicted (`failed`). */
|
|
1137
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
1138
|
+
/** The fixer's own summary (or the failure reason), naming what it changed / what failed. */
|
|
1139
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1140
|
+
/**
|
|
1141
|
+
* The concerns the fixer was handed for this round (from the Tester report that withheld
|
|
1142
|
+
* its greenlight), so the window can show WHAT each round tried to address — not only that
|
|
1143
|
+
* a round happened.
|
|
1144
|
+
*/
|
|
1145
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1146
|
+
readonly title: v.StringSchema<undefined>;
|
|
1147
|
+
readonly detail: v.StringSchema<undefined>;
|
|
1148
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
1149
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1150
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1044
1151
|
}, undefined>;
|
|
1045
1152
|
export type TesterStepState = v.InferOutput<typeof testerStepStateSchema>;
|
|
1046
1153
|
/**
|
|
@@ -1071,6 +1178,39 @@ export declare const runEnvironmentSchema: v.ObjectSchema<{
|
|
|
1071
1178
|
readonly lastError: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1072
1179
|
}, undefined>;
|
|
1073
1180
|
export type RunEnvironment = v.InferOutput<typeof runEnvironmentSchema>;
|
|
1181
|
+
/**
|
|
1182
|
+
* The lifecycle status of the per-run container backing a container agent step:
|
|
1183
|
+
* `starting` (dispatching / cold-booting), `up` (running the agent's job),
|
|
1184
|
+
* `errored` (the container failed to start, was evicted, or its job faulted), and
|
|
1185
|
+
* `destroyed` (the run's container has been reclaimed). The SPA additionally derives
|
|
1186
|
+
* `destroyed` for a finished run's container steps (the container is reclaimed as a
|
|
1187
|
+
* unit when the run terminates), so the backend only ever persists the first three.
|
|
1188
|
+
*/
|
|
1189
|
+
export declare const runContainerStatusSchema: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
1190
|
+
export type RunContainerStatus = v.InferOutput<typeof runContainerStatusSchema>;
|
|
1191
|
+
/**
|
|
1192
|
+
* The compact, non-secret projection of the per-run container a container agent step
|
|
1193
|
+
* runs in, so a run's details can show WHAT the container is doing and WHERE it lives
|
|
1194
|
+
* instead of a step's "spinning up container…" badge vanishing into a blank "working"
|
|
1195
|
+
* state once the container is up. Populated by the engine across the dispatch + poll
|
|
1196
|
+
* lifecycle of an async (container) step; only ever set on container-backed steps.
|
|
1197
|
+
*/
|
|
1198
|
+
export declare const runContainerSchema: v.ObjectSchema<{
|
|
1199
|
+
/** The container lifecycle status; see {@link runContainerStatusSchema}. */
|
|
1200
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
1201
|
+
/**
|
|
1202
|
+
* The coarse phase the agent's job is in while the container is `up` (`clone` →
|
|
1203
|
+
* `agent` → `push`, seeded `starting`), forwarded from the harness. Lets the details
|
|
1204
|
+
* distinguish "still preparing the checkout" from "the agent is making calls". Absent
|
|
1205
|
+
* until the first poll, or when the runner doesn't report a phase.
|
|
1206
|
+
*/
|
|
1207
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1208
|
+
/** Provider container/runner id (Cloudflare DO id, docker container id), when known. */
|
|
1209
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1210
|
+
/** A reachable address for the running container (the local docker host URL), when one exists. */
|
|
1211
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1212
|
+
}, undefined>;
|
|
1213
|
+
export type RunContainer = v.InferOutput<typeof runContainerSchema>;
|
|
1074
1214
|
export declare const humanTestEnvironmentSchema: v.ObjectSchema<{
|
|
1075
1215
|
/** The `environments` row id, so the window can fetch access creds / re-poll status. */
|
|
1076
1216
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1464,7 +1604,7 @@ export declare const pipelineStepSchema: v.ObjectSchema<{
|
|
|
1464
1604
|
/** Ceiling on fixer attempts, resolved from the task's merge preset at step start. */
|
|
1465
1605
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1466
1606
|
/** The most recent Tester report (what was tested, outcomes, concerns, greenlight). */
|
|
1467
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1607
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1468
1608
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
1469
1609
|
readonly summary: v.StringSchema<undefined>;
|
|
1470
1610
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1487,7 +1627,87 @@ export declare const pipelineStepSchema: v.ObjectSchema<{
|
|
|
1487
1627
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1488
1628
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1489
1629
|
}, undefined>, undefined>, undefined>;
|
|
1490
|
-
|
|
1630
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1631
|
+
readonly reason: v.StringSchema<undefined>;
|
|
1632
|
+
}, undefined>, undefined>, undefined>;
|
|
1633
|
+
}, undefined>, v.TransformAction<{
|
|
1634
|
+
greenlight: boolean;
|
|
1635
|
+
summary: string;
|
|
1636
|
+
tested: string[];
|
|
1637
|
+
outcomes: {
|
|
1638
|
+
name: string;
|
|
1639
|
+
status: "failed" | "passed" | "skipped";
|
|
1640
|
+
detail?: string | undefined;
|
|
1641
|
+
}[];
|
|
1642
|
+
concerns: {
|
|
1643
|
+
title: string;
|
|
1644
|
+
detail: string;
|
|
1645
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
1646
|
+
}[];
|
|
1647
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
1648
|
+
screenshots?: {
|
|
1649
|
+
view: string;
|
|
1650
|
+
artifactId: string;
|
|
1651
|
+
hash?: string | undefined;
|
|
1652
|
+
width?: number | undefined;
|
|
1653
|
+
height?: number | undefined;
|
|
1654
|
+
referenceArtifactId?: string | undefined;
|
|
1655
|
+
}[] | undefined;
|
|
1656
|
+
abort?: {
|
|
1657
|
+
reason: string;
|
|
1658
|
+
} | null | undefined;
|
|
1659
|
+
}, {
|
|
1660
|
+
greenlight: boolean;
|
|
1661
|
+
summary: string;
|
|
1662
|
+
tested: string[];
|
|
1663
|
+
outcomes: {
|
|
1664
|
+
name: string;
|
|
1665
|
+
status: "failed" | "passed" | "skipped";
|
|
1666
|
+
detail?: string | undefined;
|
|
1667
|
+
}[];
|
|
1668
|
+
concerns: {
|
|
1669
|
+
title: string;
|
|
1670
|
+
detail: string;
|
|
1671
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
1672
|
+
}[];
|
|
1673
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
1674
|
+
screenshots?: {
|
|
1675
|
+
view: string;
|
|
1676
|
+
artifactId: string;
|
|
1677
|
+
hash?: string | undefined;
|
|
1678
|
+
width?: number | undefined;
|
|
1679
|
+
height?: number | undefined;
|
|
1680
|
+
referenceArtifactId?: string | undefined;
|
|
1681
|
+
}[] | undefined;
|
|
1682
|
+
abort?: {
|
|
1683
|
+
reason: string;
|
|
1684
|
+
} | null | undefined;
|
|
1685
|
+
}>]>, undefined>, undefined>;
|
|
1686
|
+
/**
|
|
1687
|
+
* Append-only history of the `fixer` rounds this Tester step looped through, each recorded
|
|
1688
|
+
* when its job finished. Lets the test window surface an inspectable timeline of the fixer
|
|
1689
|
+
* attempts (what each addressed, how it ended) instead of only a bare `attempts` count.
|
|
1690
|
+
*/
|
|
1691
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1692
|
+
/** 1-based fixer round (matches `attempts` after the fixer for this round was dispatched). */
|
|
1693
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
1694
|
+
/** Epoch ms when the fixer job finished. */
|
|
1695
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1696
|
+
/** Whether the fixer container finished (`completed`) or errored/was evicted (`failed`). */
|
|
1697
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
1698
|
+
/** The fixer's own summary (or the failure reason), naming what it changed / what failed. */
|
|
1699
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1700
|
+
/**
|
|
1701
|
+
* The concerns the fixer was handed for this round (from the Tester report that withheld
|
|
1702
|
+
* its greenlight), so the window can show WHAT each round tried to address — not only that
|
|
1703
|
+
* a round happened.
|
|
1704
|
+
*/
|
|
1705
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1706
|
+
readonly title: v.StringSchema<undefined>;
|
|
1707
|
+
readonly detail: v.StringSchema<undefined>;
|
|
1708
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
1709
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1710
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1491
1711
|
}, undefined>, undefined>, undefined>;
|
|
1492
1712
|
/**
|
|
1493
1713
|
* Live state of a `human-test` gate (ephemeral env + human validation loop); see
|
|
@@ -1611,15 +1831,30 @@ export declare const pipelineStepSchema: v.ObjectSchema<{
|
|
|
1611
1831
|
}, undefined>, undefined>, undefined>;
|
|
1612
1832
|
}, undefined>, undefined>;
|
|
1613
1833
|
/**
|
|
1614
|
-
*
|
|
1615
|
-
*
|
|
1616
|
-
*
|
|
1617
|
-
*
|
|
1618
|
-
*
|
|
1619
|
-
* the
|
|
1620
|
-
*
|
|
1621
|
-
|
|
1622
|
-
|
|
1834
|
+
* The per-run container this async (container) step runs in — its lifecycle status
|
|
1835
|
+
* (starting / up / errored), the agent's current phase (clone / agent / push), and
|
|
1836
|
+
* the container's id + reachable URL once up. Lets a run's details surface what the
|
|
1837
|
+
* container is doing and where it lives, so the board shows an explicit "Spinning up
|
|
1838
|
+
* container…" → live-phase progression instead of a blank "working" state. Set the
|
|
1839
|
+
* moment the job is dispatched (the dispatch blocks until the container accepts the
|
|
1840
|
+
* job) and refined on each poll. Only ever set on async (container) steps; absent on
|
|
1841
|
+
* non-container steps and steps not yet dispatched. See {@link runContainerSchema}.
|
|
1842
|
+
*/
|
|
1843
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1844
|
+
/** The container lifecycle status; see {@link runContainerStatusSchema}. */
|
|
1845
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
1846
|
+
/**
|
|
1847
|
+
* The coarse phase the agent's job is in while the container is `up` (`clone` →
|
|
1848
|
+
* `agent` → `push`, seeded `starting`), forwarded from the harness. Lets the details
|
|
1849
|
+
* distinguish "still preparing the checkout" from "the agent is making calls". Absent
|
|
1850
|
+
* until the first poll, or when the runner doesn't report a phase.
|
|
1851
|
+
*/
|
|
1852
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1853
|
+
/** Provider container/runner id (Cloudflare DO id, docker container id), when known. */
|
|
1854
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1855
|
+
/** A reachable address for the running container (the local docker host URL), when one exists. */
|
|
1856
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1857
|
+
}, undefined>, undefined>, undefined>;
|
|
1623
1858
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
1624
1859
|
readonly id: v.StringSchema<undefined>;
|
|
1625
1860
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -2125,7 +2360,7 @@ export declare const executionInstanceSchema: v.ObjectSchema<{
|
|
|
2125
2360
|
/** Ceiling on fixer attempts, resolved from the task's merge preset at step start. */
|
|
2126
2361
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
2127
2362
|
/** The most recent Tester report (what was tested, outcomes, concerns, greenlight). */
|
|
2128
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2363
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2129
2364
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
2130
2365
|
readonly summary: v.StringSchema<undefined>;
|
|
2131
2366
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2148,7 +2383,87 @@ export declare const executionInstanceSchema: v.ObjectSchema<{
|
|
|
2148
2383
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2149
2384
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2150
2385
|
}, undefined>, undefined>, undefined>;
|
|
2151
|
-
|
|
2386
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2387
|
+
readonly reason: v.StringSchema<undefined>;
|
|
2388
|
+
}, undefined>, undefined>, undefined>;
|
|
2389
|
+
}, undefined>, v.TransformAction<{
|
|
2390
|
+
greenlight: boolean;
|
|
2391
|
+
summary: string;
|
|
2392
|
+
tested: string[];
|
|
2393
|
+
outcomes: {
|
|
2394
|
+
name: string;
|
|
2395
|
+
status: "failed" | "passed" | "skipped";
|
|
2396
|
+
detail?: string | undefined;
|
|
2397
|
+
}[];
|
|
2398
|
+
concerns: {
|
|
2399
|
+
title: string;
|
|
2400
|
+
detail: string;
|
|
2401
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
2402
|
+
}[];
|
|
2403
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
2404
|
+
screenshots?: {
|
|
2405
|
+
view: string;
|
|
2406
|
+
artifactId: string;
|
|
2407
|
+
hash?: string | undefined;
|
|
2408
|
+
width?: number | undefined;
|
|
2409
|
+
height?: number | undefined;
|
|
2410
|
+
referenceArtifactId?: string | undefined;
|
|
2411
|
+
}[] | undefined;
|
|
2412
|
+
abort?: {
|
|
2413
|
+
reason: string;
|
|
2414
|
+
} | null | undefined;
|
|
2415
|
+
}, {
|
|
2416
|
+
greenlight: boolean;
|
|
2417
|
+
summary: string;
|
|
2418
|
+
tested: string[];
|
|
2419
|
+
outcomes: {
|
|
2420
|
+
name: string;
|
|
2421
|
+
status: "failed" | "passed" | "skipped";
|
|
2422
|
+
detail?: string | undefined;
|
|
2423
|
+
}[];
|
|
2424
|
+
concerns: {
|
|
2425
|
+
title: string;
|
|
2426
|
+
detail: string;
|
|
2427
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
2428
|
+
}[];
|
|
2429
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
2430
|
+
screenshots?: {
|
|
2431
|
+
view: string;
|
|
2432
|
+
artifactId: string;
|
|
2433
|
+
hash?: string | undefined;
|
|
2434
|
+
width?: number | undefined;
|
|
2435
|
+
height?: number | undefined;
|
|
2436
|
+
referenceArtifactId?: string | undefined;
|
|
2437
|
+
}[] | undefined;
|
|
2438
|
+
abort?: {
|
|
2439
|
+
reason: string;
|
|
2440
|
+
} | null | undefined;
|
|
2441
|
+
}>]>, undefined>, undefined>;
|
|
2442
|
+
/**
|
|
2443
|
+
* Append-only history of the `fixer` rounds this Tester step looped through, each recorded
|
|
2444
|
+
* when its job finished. Lets the test window surface an inspectable timeline of the fixer
|
|
2445
|
+
* attempts (what each addressed, how it ended) instead of only a bare `attempts` count.
|
|
2446
|
+
*/
|
|
2447
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2448
|
+
/** 1-based fixer round (matches `attempts` after the fixer for this round was dispatched). */
|
|
2449
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
2450
|
+
/** Epoch ms when the fixer job finished. */
|
|
2451
|
+
readonly at: v.NumberSchema<undefined>;
|
|
2452
|
+
/** Whether the fixer container finished (`completed`) or errored/was evicted (`failed`). */
|
|
2453
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
2454
|
+
/** The fixer's own summary (or the failure reason), naming what it changed / what failed. */
|
|
2455
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2456
|
+
/**
|
|
2457
|
+
* The concerns the fixer was handed for this round (from the Tester report that withheld
|
|
2458
|
+
* its greenlight), so the window can show WHAT each round tried to address — not only that
|
|
2459
|
+
* a round happened.
|
|
2460
|
+
*/
|
|
2461
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2462
|
+
readonly title: v.StringSchema<undefined>;
|
|
2463
|
+
readonly detail: v.StringSchema<undefined>;
|
|
2464
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
2465
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
2466
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
2152
2467
|
}, undefined>, undefined>, undefined>;
|
|
2153
2468
|
/**
|
|
2154
2469
|
* Live state of a `human-test` gate (ephemeral env + human validation loop); see
|
|
@@ -2272,15 +2587,30 @@ export declare const executionInstanceSchema: v.ObjectSchema<{
|
|
|
2272
2587
|
}, undefined>, undefined>, undefined>;
|
|
2273
2588
|
}, undefined>, undefined>;
|
|
2274
2589
|
/**
|
|
2275
|
-
*
|
|
2276
|
-
*
|
|
2277
|
-
*
|
|
2278
|
-
*
|
|
2279
|
-
*
|
|
2280
|
-
* the
|
|
2281
|
-
*
|
|
2590
|
+
* The per-run container this async (container) step runs in — its lifecycle status
|
|
2591
|
+
* (starting / up / errored), the agent's current phase (clone / agent / push), and
|
|
2592
|
+
* the container's id + reachable URL once up. Lets a run's details surface what the
|
|
2593
|
+
* container is doing and where it lives, so the board shows an explicit "Spinning up
|
|
2594
|
+
* container…" → live-phase progression instead of a blank "working" state. Set the
|
|
2595
|
+
* moment the job is dispatched (the dispatch blocks until the container accepts the
|
|
2596
|
+
* job) and refined on each poll. Only ever set on async (container) steps; absent on
|
|
2597
|
+
* non-container steps and steps not yet dispatched. See {@link runContainerSchema}.
|
|
2282
2598
|
*/
|
|
2283
|
-
readonly
|
|
2599
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2600
|
+
/** The container lifecycle status; see {@link runContainerStatusSchema}. */
|
|
2601
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
2602
|
+
/**
|
|
2603
|
+
* The coarse phase the agent's job is in while the container is `up` (`clone` →
|
|
2604
|
+
* `agent` → `push`, seeded `starting`), forwarded from the harness. Lets the details
|
|
2605
|
+
* distinguish "still preparing the checkout" from "the agent is making calls". Absent
|
|
2606
|
+
* until the first poll, or when the runner doesn't report a phase.
|
|
2607
|
+
*/
|
|
2608
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2609
|
+
/** Provider container/runner id (Cloudflare DO id, docker container id), when known. */
|
|
2610
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2611
|
+
/** A reachable address for the running container (the local docker host URL), when one exists. */
|
|
2612
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2613
|
+
}, undefined>, undefined>, undefined>;
|
|
2284
2614
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
2285
2615
|
readonly id: v.StringSchema<undefined>;
|
|
2286
2616
|
readonly question: v.StringSchema<undefined>;
|
package/dist/entities.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../src/entities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA6B5B;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;IAC/B,4EAA4E;;IAE5E,sEAAs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BAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,eAAe;;;IAG1B,wDAAwD;;;IAGxD,8EAA8E;;aAE9E,CAAA;AACF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,CAAA;AAE7D;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;IAC5B,2EAA2E;;IAE3E,kDAAkD;;IAElD,uDAAuD;;IAEvD,4DAA4D;;IAE5D,uDAAuD;;IAEvD,iEAAiE;;IAEjE,uFAAuF;;aAEvF,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
|
package/dist/entities.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { subscriptionVendorSchema } from './vendor-credentials.js';
|
|
3
3
|
import { agentConfigValuesSchema } from './agent-config.js';
|
|
4
|
-
import { testReportSchema, testEnvironmentSchema } from './testing.js';
|
|
4
|
+
import { testConcernSchema, testReportSchema, testEnvironmentSchema } from './testing.js';
|
|
5
5
|
import { consensusStepConfigSchema, stepGatingSchema, taskEstimateSchema } from './consensus.js';
|
|
6
6
|
import { followUpsStepStateSchema } from './followUp.js';
|
|
7
7
|
import { cloudProviderSchema, instanceSizeSchema } from './provisioning.js';
|
|
@@ -767,6 +767,28 @@ export const gateStepStateSchema = v.object({
|
|
|
767
767
|
* - `phase: 'fixing'` — a Fixer job is in flight; on completion the step returns to
|
|
768
768
|
* `testing` and a fresh Tester job is dispatched.
|
|
769
769
|
*/
|
|
770
|
+
/**
|
|
771
|
+
* One round of the Tester→Fixer loop, recorded when a `fixer` job finishes so the test
|
|
772
|
+
* window can show what each fixer attempt set out to fix and how it ended — the analogue of
|
|
773
|
+
* a polling gate's {@link gateAttemptSchema}, since a fixer run is otherwise an opaque
|
|
774
|
+
* sub-job with no surface of its own (only a bare `attempts` count).
|
|
775
|
+
*/
|
|
776
|
+
export const testerAttemptSchema = v.object({
|
|
777
|
+
/** 1-based fixer round (matches `attempts` after the fixer for this round was dispatched). */
|
|
778
|
+
attempt: v.number(),
|
|
779
|
+
/** Epoch ms when the fixer job finished. */
|
|
780
|
+
at: v.number(),
|
|
781
|
+
/** Whether the fixer container finished (`completed`) or errored/was evicted (`failed`). */
|
|
782
|
+
outcome: v.picklist(['completed', 'failed']),
|
|
783
|
+
/** The fixer's own summary (or the failure reason), naming what it changed / what failed. */
|
|
784
|
+
summary: v.optional(v.nullable(v.string())),
|
|
785
|
+
/**
|
|
786
|
+
* The concerns the fixer was handed for this round (from the Tester report that withheld
|
|
787
|
+
* its greenlight), so the window can show WHAT each round tried to address — not only that
|
|
788
|
+
* a round happened.
|
|
789
|
+
*/
|
|
790
|
+
concerns: v.optional(v.nullable(v.array(testConcernSchema))),
|
|
791
|
+
});
|
|
770
792
|
export const testerStepStateSchema = v.object({
|
|
771
793
|
phase: v.picklist(['testing', 'fixing']),
|
|
772
794
|
/** How many `fixer` attempts have been dispatched so far. */
|
|
@@ -775,6 +797,12 @@ export const testerStepStateSchema = v.object({
|
|
|
775
797
|
maxAttempts: v.number(),
|
|
776
798
|
/** The most recent Tester report (what was tested, outcomes, concerns, greenlight). */
|
|
777
799
|
lastReport: v.optional(v.nullable(testReportSchema)),
|
|
800
|
+
/**
|
|
801
|
+
* Append-only history of the `fixer` rounds this Tester step looped through, each recorded
|
|
802
|
+
* when its job finished. Lets the test window surface an inspectable timeline of the fixer
|
|
803
|
+
* attempts (what each addressed, how it ended) instead of only a bare `attempts` count.
|
|
804
|
+
*/
|
|
805
|
+
attemptLog: v.optional(v.nullable(v.array(testerAttemptSchema))),
|
|
778
806
|
});
|
|
779
807
|
/**
|
|
780
808
|
* The compact ephemeral-environment view a `human-test` gate carries on its step, so the
|
|
@@ -803,6 +831,37 @@ export const runEnvironmentSchema = v.object({
|
|
|
803
831
|
/** The verbatim provider error when the environment failed/expired, else null. */
|
|
804
832
|
lastError: v.optional(v.nullable(v.string())),
|
|
805
833
|
});
|
|
834
|
+
/**
|
|
835
|
+
* The lifecycle status of the per-run container backing a container agent step:
|
|
836
|
+
* `starting` (dispatching / cold-booting), `up` (running the agent's job),
|
|
837
|
+
* `errored` (the container failed to start, was evicted, or its job faulted), and
|
|
838
|
+
* `destroyed` (the run's container has been reclaimed). The SPA additionally derives
|
|
839
|
+
* `destroyed` for a finished run's container steps (the container is reclaimed as a
|
|
840
|
+
* unit when the run terminates), so the backend only ever persists the first three.
|
|
841
|
+
*/
|
|
842
|
+
export const runContainerStatusSchema = v.picklist(['starting', 'up', 'errored', 'destroyed']);
|
|
843
|
+
/**
|
|
844
|
+
* The compact, non-secret projection of the per-run container a container agent step
|
|
845
|
+
* runs in, so a run's details can show WHAT the container is doing and WHERE it lives
|
|
846
|
+
* instead of a step's "spinning up container…" badge vanishing into a blank "working"
|
|
847
|
+
* state once the container is up. Populated by the engine across the dispatch + poll
|
|
848
|
+
* lifecycle of an async (container) step; only ever set on container-backed steps.
|
|
849
|
+
*/
|
|
850
|
+
export const runContainerSchema = v.object({
|
|
851
|
+
/** The container lifecycle status; see {@link runContainerStatusSchema}. */
|
|
852
|
+
status: runContainerStatusSchema,
|
|
853
|
+
/**
|
|
854
|
+
* The coarse phase the agent's job is in while the container is `up` (`clone` →
|
|
855
|
+
* `agent` → `push`, seeded `starting`), forwarded from the harness. Lets the details
|
|
856
|
+
* distinguish "still preparing the checkout" from "the agent is making calls". Absent
|
|
857
|
+
* until the first poll, or when the runner doesn't report a phase.
|
|
858
|
+
*/
|
|
859
|
+
phase: v.optional(v.nullable(v.string())),
|
|
860
|
+
/** Provider container/runner id (Cloudflare DO id, docker container id), when known. */
|
|
861
|
+
id: v.optional(v.nullable(v.string())),
|
|
862
|
+
/** A reachable address for the running container (the local docker host URL), when one exists. */
|
|
863
|
+
url: v.optional(v.nullable(v.string())),
|
|
864
|
+
});
|
|
806
865
|
export const humanTestEnvironmentSchema = v.object({
|
|
807
866
|
/** The `environments` row id, so the window can fetch access creds / re-poll status. */
|
|
808
867
|
id: v.string(),
|
|
@@ -1010,15 +1069,16 @@ export const pipelineStepSchema = v.object({
|
|
|
1010
1069
|
/** Live subtask counts while an async (container) step runs; see {@link stepSubtasksSchema}. */
|
|
1011
1070
|
subtasks: v.optional(stepSubtasksSchema),
|
|
1012
1071
|
/**
|
|
1013
|
-
*
|
|
1014
|
-
*
|
|
1015
|
-
*
|
|
1016
|
-
*
|
|
1017
|
-
*
|
|
1018
|
-
* the
|
|
1019
|
-
*
|
|
1072
|
+
* The per-run container this async (container) step runs in — its lifecycle status
|
|
1073
|
+
* (starting / up / errored), the agent's current phase (clone / agent / push), and
|
|
1074
|
+
* the container's id + reachable URL once up. Lets a run's details surface what the
|
|
1075
|
+
* container is doing and where it lives, so the board shows an explicit "Spinning up
|
|
1076
|
+
* container…" → live-phase progression instead of a blank "working" state. Set the
|
|
1077
|
+
* moment the job is dispatched (the dispatch blocks until the container accepts the
|
|
1078
|
+
* job) and refined on each poll. Only ever set on async (container) steps; absent on
|
|
1079
|
+
* non-container steps and steps not yet dispatched. See {@link runContainerSchema}.
|
|
1020
1080
|
*/
|
|
1021
|
-
|
|
1081
|
+
container: v.optional(v.nullable(runContainerSchema)),
|
|
1022
1082
|
decision: v.nullable(decisionSchema),
|
|
1023
1083
|
/**
|
|
1024
1084
|
* Whether a human approval gate fires after this step completes. Copied from
|