devcontour-harness 0.1.0-alpha.30 → 0.1.0-alpha.34
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/README.md +43 -16
- package/docs/architecture.md +12 -0
- package/docs/compatibility.md +21 -18
- package/docs/contracts.md +270 -12
- package/docs/release-notes/0.1.0-alpha.31.md +44 -0
- package/docs/release-notes/0.1.0-alpha.32.md +33 -0
- package/docs/release-notes/0.1.0-alpha.33.md +29 -0
- package/docs/release-notes/0.1.0-alpha.34.md +32 -0
- package/docs/upgrade.md +181 -0
- package/lib/agents/cli-adapter.js +1 -0
- package/lib/cli.js +25 -3
- package/lib/contracts/cli.d.ts +1381 -18
- package/lib/contracts/cli.js +43 -1
- package/lib/contracts/diagnosis.d.ts +2 -1
- package/lib/contracts/diagnosis.js +1 -0
- package/lib/contracts/events.d.ts +760 -5
- package/lib/contracts/events.js +109 -3
- package/lib/contracts/execution.d.ts +112 -1
- package/lib/contracts/execution.js +38 -0
- package/lib/contracts/failure.d.ts +6 -1
- package/lib/contracts/failure.js +5 -1
- package/lib/contracts/handoff.d.ts +702 -0
- package/lib/contracts/handoff.js +305 -0
- package/lib/contracts/index.d.ts +1 -0
- package/lib/contracts/index.js +1 -0
- package/lib/contracts/policy.d.ts +27 -1
- package/lib/contracts/policy.js +38 -2
- package/lib/contracts/published.d.ts +1016 -3
- package/lib/contracts/published.js +2 -0
- package/lib/contracts/repair-policy.js +5 -0
- package/lib/contracts/report.d.ts +118 -2
- package/lib/contracts/report.js +61 -3
- package/lib/control/base-move.d.ts +7 -2
- package/lib/control/base-move.js +14 -1
- package/lib/control/harness.d.ts +81 -19
- package/lib/control/harness.js +8 -93
- package/lib/control/recovery.d.ts +1 -1
- package/lib/control/status.d.ts +235 -0
- package/lib/control/status.js +101 -0
- package/lib/engine/budget.d.ts +78 -0
- package/lib/engine/budget.js +13 -2
- package/lib/engine/classify.d.ts +14 -1
- package/lib/engine/classify.js +34 -0
- package/lib/engine/engine.d.ts +31 -11
- package/lib/engine/engine.js +99 -5
- package/lib/engine/joint-runner.d.ts +6 -0
- package/lib/engine/joint-runner.js +20 -4
- package/lib/engine/property-recovery.js +1 -0
- package/lib/engine/reuse.js +1 -0
- package/lib/engine/runner.d.ts +8 -0
- package/lib/engine/runner.js +120 -16
- package/lib/engine/stall-sweep.d.ts +137 -0
- package/lib/engine/stall-sweep.js +393 -0
- package/lib/environment/activity.d.ts +34 -0
- package/lib/environment/activity.js +55 -0
- package/lib/environment/isolation.d.ts +67 -3
- package/lib/environment/isolation.js +148 -5
- package/lib/environment/lifecycle.js +2 -1
- package/lib/environment/process.d.ts +7 -1
- package/lib/environment/process.js +14 -0
- package/lib/environment/redaction.d.ts +2 -0
- package/lib/environment/redaction.js +19 -0
- package/lib/explain/state.d.ts +26 -5
- package/lib/explain/state.js +41 -0
- package/lib/handoff/index.d.ts +2 -0
- package/lib/handoff/index.js +3 -0
- package/lib/handoff/markdown.d.ts +6 -0
- package/lib/handoff/markdown.js +155 -0
- package/lib/handoff/pack.d.ts +79 -0
- package/lib/handoff/pack.js +531 -0
- package/lib/index.d.ts +19 -3
- package/lib/index.js +18 -1
- package/lib/integrations/connector/redact.d.ts +2 -13
- package/lib/integrations/connector/redact.js +2 -21
- package/lib/integrations/connector/testing.js +1 -1
- package/lib/projections/attempt.d.ts +28 -0
- package/lib/projections/attempt.js +14 -0
- package/lib/projections/next.d.ts +3 -1
- package/lib/projections/next.js +4 -1
- package/lib/projections/stop.d.ts +22 -1
- package/lib/projections/stop.js +73 -15
- package/lib/report/compute.js +229 -21
- package/lib/report/document.js +31 -7
- package/lib/storage/document.d.ts +28 -6
- package/lib/storage/sqlite.d.ts +2 -0
- package/lib/storage/sqlite.js +9 -1
- package/lib/verification/gates-at.d.ts +11 -1
- package/lib/verification/gates-at.js +28 -2
- package/lib/verification/gates.d.ts +3 -1
- package/lib/verification/gates.js +25 -4
- package/package.json +1 -1
- package/schemas/execution-document.schema.json +68 -0
- package/schemas/execution-policy.schema.json +32 -0
- package/schemas/handoff-pack.schema.json +1430 -0
- package/schemas/run-event.schema.json +679 -0
- package/schemas/stop-diagnosis.schema.json +1 -0
- package/schemas/value-report.schema.json +236 -3
|
@@ -612,6 +612,15 @@ export declare const publishedSchemas: {
|
|
|
612
612
|
reserveMs: z.ZodDefault<z.ZodNumber>;
|
|
613
613
|
}, z.core.$strict>>;
|
|
614
614
|
reviewProtocolRetries: z.ZodOptional<z.ZodNumber>;
|
|
615
|
+
stallSweep: z.ZodOptional<z.ZodObject<{
|
|
616
|
+
intervalMs: z.ZodDefault<z.ZodNumber>;
|
|
617
|
+
quietMs: z.ZodDefault<z.ZodNumber>;
|
|
618
|
+
stalledMs: z.ZodDefault<z.ZodNumber>;
|
|
619
|
+
action: z.ZodDefault<z.ZodEnum<{
|
|
620
|
+
report: "report";
|
|
621
|
+
stop: "stop";
|
|
622
|
+
}>>;
|
|
623
|
+
}, z.core.$strict>>;
|
|
615
624
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
616
625
|
repairBudget: z.ZodDefault<z.ZodNumber>;
|
|
617
626
|
reuseImplementation: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1642,7 +1651,7 @@ export declare const publishedSchemas: {
|
|
|
1642
1651
|
workId: z.ZodOptional<z.ZodString>;
|
|
1643
1652
|
runId: z.ZodOptional<z.ZodString>;
|
|
1644
1653
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
1645
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1654
|
+
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1646
1655
|
payload: z.ZodObject<{
|
|
1647
1656
|
digest: z.ZodString;
|
|
1648
1657
|
orders: z.ZodNumber;
|
|
@@ -1745,6 +1754,44 @@ export declare const publishedSchemas: {
|
|
|
1745
1754
|
passed: "passed";
|
|
1746
1755
|
failed: "failed";
|
|
1747
1756
|
}>>;
|
|
1757
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1758
|
+
state: z.ZodEnum<{
|
|
1759
|
+
active: "active";
|
|
1760
|
+
stalled: "stalled";
|
|
1761
|
+
quiet: "quiet";
|
|
1762
|
+
}>;
|
|
1763
|
+
previous: z.ZodEnum<{
|
|
1764
|
+
active: "active";
|
|
1765
|
+
stalled: "stalled";
|
|
1766
|
+
quiet: "quiet";
|
|
1767
|
+
}>;
|
|
1768
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1769
|
+
idleMs: z.ZodNumber;
|
|
1770
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1771
|
+
kind: z.ZodEnum<{
|
|
1772
|
+
gate: "gate";
|
|
1773
|
+
command: "command";
|
|
1774
|
+
agent: "agent";
|
|
1775
|
+
step: "step";
|
|
1776
|
+
}>;
|
|
1777
|
+
label: z.ZodString;
|
|
1778
|
+
}, z.core.$strict>>;
|
|
1779
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1780
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1781
|
+
report: "report";
|
|
1782
|
+
stop: "stop";
|
|
1783
|
+
}>>;
|
|
1784
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1785
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1786
|
+
pid: z.ZodNumber;
|
|
1787
|
+
parentPid: z.ZodNumber;
|
|
1788
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1789
|
+
command: z.ZodString;
|
|
1790
|
+
}, z.core.$strict>>;
|
|
1791
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1792
|
+
tail: z.ZodString;
|
|
1793
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1794
|
+
}, z.core.$strict>>;
|
|
1748
1795
|
}, z.core.$strict> | z.ZodObject<{
|
|
1749
1796
|
failureKind: z.ZodEnum<{
|
|
1750
1797
|
gate: "gate";
|
|
@@ -1754,6 +1801,7 @@ export declare const publishedSchemas: {
|
|
|
1754
1801
|
environment: "environment";
|
|
1755
1802
|
timeout: "timeout";
|
|
1756
1803
|
"provider-auth": "provider-auth";
|
|
1804
|
+
stalled: "stalled";
|
|
1757
1805
|
"stale-base": "stale-base";
|
|
1758
1806
|
"empty-result": "empty-result";
|
|
1759
1807
|
unfinished: "unfinished";
|
|
@@ -1765,6 +1813,42 @@ export declare const publishedSchemas: {
|
|
|
1765
1813
|
}>;
|
|
1766
1814
|
message: z.ZodString;
|
|
1767
1815
|
blocked: z.ZodBoolean;
|
|
1816
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1817
|
+
failureKind: z.ZodEnum<{
|
|
1818
|
+
gate: "gate";
|
|
1819
|
+
unknown: "unknown";
|
|
1820
|
+
review: "review";
|
|
1821
|
+
cancelled: "cancelled";
|
|
1822
|
+
environment: "environment";
|
|
1823
|
+
timeout: "timeout";
|
|
1824
|
+
"provider-auth": "provider-auth";
|
|
1825
|
+
stalled: "stalled";
|
|
1826
|
+
"stale-base": "stale-base";
|
|
1827
|
+
"empty-result": "empty-result";
|
|
1828
|
+
unfinished: "unfinished";
|
|
1829
|
+
"scope-violation": "scope-violation";
|
|
1830
|
+
"review-protocol": "review-protocol";
|
|
1831
|
+
merge: "merge";
|
|
1832
|
+
budget: "budget";
|
|
1833
|
+
"needs-lead": "needs-lead";
|
|
1834
|
+
}>;
|
|
1835
|
+
cause: z.ZodEnum<{
|
|
1836
|
+
preflight: "preflight";
|
|
1837
|
+
transport: "transport";
|
|
1838
|
+
none: "none";
|
|
1839
|
+
other: "other";
|
|
1840
|
+
"provider-auth": "provider-auth";
|
|
1841
|
+
stalled: "stalled";
|
|
1842
|
+
shutdown: "shutdown";
|
|
1843
|
+
"sandbox-launch": "sandbox-launch";
|
|
1844
|
+
"sandbox-network": "sandbox-network";
|
|
1845
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
1846
|
+
"sandbox-policy": "sandbox-policy";
|
|
1847
|
+
"dependency-network": "dependency-network";
|
|
1848
|
+
"provider-limit": "provider-limit";
|
|
1849
|
+
"lease-expired": "lease-expired";
|
|
1850
|
+
}>;
|
|
1851
|
+
counted: z.ZodBoolean;
|
|
1768
1852
|
}, z.core.$strict> | z.ZodObject<{
|
|
1769
1853
|
leaseUntil: z.ZodNumber;
|
|
1770
1854
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1776,6 +1860,22 @@ export declare const publishedSchemas: {
|
|
|
1776
1860
|
}, z.core.$strict> | z.ZodObject<{
|
|
1777
1861
|
resultSha: z.ZodString;
|
|
1778
1862
|
integrationSha: z.ZodString;
|
|
1863
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1864
|
+
by: z.ZodEnum<{
|
|
1865
|
+
operator: "operator";
|
|
1866
|
+
recovery: "recovery";
|
|
1867
|
+
host: "host";
|
|
1868
|
+
}>;
|
|
1869
|
+
reset: z.ZodBoolean;
|
|
1870
|
+
spent: z.ZodOptional<z.ZodNumber>;
|
|
1871
|
+
reasonLength: z.ZodOptional<z.ZodNumber>;
|
|
1872
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1873
|
+
by: z.ZodEnum<{
|
|
1874
|
+
operator: "operator";
|
|
1875
|
+
graph: "graph";
|
|
1876
|
+
host: "host";
|
|
1877
|
+
}>;
|
|
1878
|
+
hadAttempt: z.ZodBoolean;
|
|
1779
1879
|
}, z.core.$strict> | z.ZodObject<{
|
|
1780
1880
|
code: z.ZodString;
|
|
1781
1881
|
message: z.ZodString;
|
|
@@ -1795,6 +1895,7 @@ export declare const publishedSchemas: {
|
|
|
1795
1895
|
environment: "environment";
|
|
1796
1896
|
timeout: "timeout";
|
|
1797
1897
|
"provider-auth": "provider-auth";
|
|
1898
|
+
stalled: "stalled";
|
|
1798
1899
|
"stale-base": "stale-base";
|
|
1799
1900
|
"empty-result": "empty-result";
|
|
1800
1901
|
unfinished: "unfinished";
|
|
@@ -1814,6 +1915,12 @@ export declare const publishedSchemas: {
|
|
|
1814
1915
|
}>;
|
|
1815
1916
|
}, z.core.$strict> | z.ZodObject<{
|
|
1816
1917
|
owner: z.ZodString;
|
|
1918
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1919
|
+
by: z.ZodEnum<{
|
|
1920
|
+
operator: "operator";
|
|
1921
|
+
controller: "controller";
|
|
1922
|
+
host: "host";
|
|
1923
|
+
}>;
|
|
1817
1924
|
}, z.core.$strict> | z.ZodObject<{
|
|
1818
1925
|
owner: z.ZodString;
|
|
1819
1926
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1856,6 +1963,45 @@ export declare const publishedSchemas: {
|
|
|
1856
1963
|
verificationId: z.ZodString;
|
|
1857
1964
|
workIds: z.ZodArray<z.ZodString>;
|
|
1858
1965
|
policyDigest: z.ZodString;
|
|
1966
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1967
|
+
state: z.ZodEnum<{
|
|
1968
|
+
active: "active";
|
|
1969
|
+
stalled: "stalled";
|
|
1970
|
+
quiet: "quiet";
|
|
1971
|
+
}>;
|
|
1972
|
+
previous: z.ZodEnum<{
|
|
1973
|
+
active: "active";
|
|
1974
|
+
stalled: "stalled";
|
|
1975
|
+
quiet: "quiet";
|
|
1976
|
+
}>;
|
|
1977
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1978
|
+
idleMs: z.ZodNumber;
|
|
1979
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1980
|
+
kind: z.ZodEnum<{
|
|
1981
|
+
gate: "gate";
|
|
1982
|
+
command: "command";
|
|
1983
|
+
agent: "agent";
|
|
1984
|
+
step: "step";
|
|
1985
|
+
}>;
|
|
1986
|
+
label: z.ZodString;
|
|
1987
|
+
}, z.core.$strict>>;
|
|
1988
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1989
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1990
|
+
report: "report";
|
|
1991
|
+
stop: "stop";
|
|
1992
|
+
}>>;
|
|
1993
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1994
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1995
|
+
pid: z.ZodNumber;
|
|
1996
|
+
parentPid: z.ZodNumber;
|
|
1997
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1998
|
+
command: z.ZodString;
|
|
1999
|
+
}, z.core.$strict>>;
|
|
2000
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2001
|
+
tail: z.ZodString;
|
|
2002
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
2003
|
+
}, z.core.$strict>>;
|
|
2004
|
+
verificationId: z.ZodString;
|
|
1859
2005
|
}, z.core.$strict> | z.ZodObject<{
|
|
1860
2006
|
verificationId: z.ZodString;
|
|
1861
2007
|
status: z.ZodEnum<{
|
|
@@ -1917,7 +2063,7 @@ export declare const publishedSchemas: {
|
|
|
1917
2063
|
workId: z.ZodOptional<z.ZodString>;
|
|
1918
2064
|
runId: z.ZodOptional<z.ZodString>;
|
|
1919
2065
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
1920
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
2066
|
+
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1921
2067
|
payload: z.ZodObject<{
|
|
1922
2068
|
digest: z.ZodString;
|
|
1923
2069
|
orders: z.ZodNumber;
|
|
@@ -2020,6 +2166,44 @@ export declare const publishedSchemas: {
|
|
|
2020
2166
|
passed: "passed";
|
|
2021
2167
|
failed: "failed";
|
|
2022
2168
|
}>>;
|
|
2169
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2170
|
+
state: z.ZodEnum<{
|
|
2171
|
+
active: "active";
|
|
2172
|
+
stalled: "stalled";
|
|
2173
|
+
quiet: "quiet";
|
|
2174
|
+
}>;
|
|
2175
|
+
previous: z.ZodEnum<{
|
|
2176
|
+
active: "active";
|
|
2177
|
+
stalled: "stalled";
|
|
2178
|
+
quiet: "quiet";
|
|
2179
|
+
}>;
|
|
2180
|
+
lastMovementAt: z.ZodISODateTime;
|
|
2181
|
+
idleMs: z.ZodNumber;
|
|
2182
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
2183
|
+
kind: z.ZodEnum<{
|
|
2184
|
+
gate: "gate";
|
|
2185
|
+
command: "command";
|
|
2186
|
+
agent: "agent";
|
|
2187
|
+
step: "step";
|
|
2188
|
+
}>;
|
|
2189
|
+
label: z.ZodString;
|
|
2190
|
+
}, z.core.$strict>>;
|
|
2191
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2192
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
2193
|
+
report: "report";
|
|
2194
|
+
stop: "stop";
|
|
2195
|
+
}>>;
|
|
2196
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
2197
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
2198
|
+
pid: z.ZodNumber;
|
|
2199
|
+
parentPid: z.ZodNumber;
|
|
2200
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
2201
|
+
command: z.ZodString;
|
|
2202
|
+
}, z.core.$strict>>;
|
|
2203
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2204
|
+
tail: z.ZodString;
|
|
2205
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
2206
|
+
}, z.core.$strict>>;
|
|
2023
2207
|
}, z.core.$strict> | z.ZodObject<{
|
|
2024
2208
|
failureKind: z.ZodEnum<{
|
|
2025
2209
|
gate: "gate";
|
|
@@ -2029,6 +2213,7 @@ export declare const publishedSchemas: {
|
|
|
2029
2213
|
environment: "environment";
|
|
2030
2214
|
timeout: "timeout";
|
|
2031
2215
|
"provider-auth": "provider-auth";
|
|
2216
|
+
stalled: "stalled";
|
|
2032
2217
|
"stale-base": "stale-base";
|
|
2033
2218
|
"empty-result": "empty-result";
|
|
2034
2219
|
unfinished: "unfinished";
|
|
@@ -2040,6 +2225,42 @@ export declare const publishedSchemas: {
|
|
|
2040
2225
|
}>;
|
|
2041
2226
|
message: z.ZodString;
|
|
2042
2227
|
blocked: z.ZodBoolean;
|
|
2228
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2229
|
+
failureKind: z.ZodEnum<{
|
|
2230
|
+
gate: "gate";
|
|
2231
|
+
unknown: "unknown";
|
|
2232
|
+
review: "review";
|
|
2233
|
+
cancelled: "cancelled";
|
|
2234
|
+
environment: "environment";
|
|
2235
|
+
timeout: "timeout";
|
|
2236
|
+
"provider-auth": "provider-auth";
|
|
2237
|
+
stalled: "stalled";
|
|
2238
|
+
"stale-base": "stale-base";
|
|
2239
|
+
"empty-result": "empty-result";
|
|
2240
|
+
unfinished: "unfinished";
|
|
2241
|
+
"scope-violation": "scope-violation";
|
|
2242
|
+
"review-protocol": "review-protocol";
|
|
2243
|
+
merge: "merge";
|
|
2244
|
+
budget: "budget";
|
|
2245
|
+
"needs-lead": "needs-lead";
|
|
2246
|
+
}>;
|
|
2247
|
+
cause: z.ZodEnum<{
|
|
2248
|
+
preflight: "preflight";
|
|
2249
|
+
transport: "transport";
|
|
2250
|
+
none: "none";
|
|
2251
|
+
other: "other";
|
|
2252
|
+
"provider-auth": "provider-auth";
|
|
2253
|
+
stalled: "stalled";
|
|
2254
|
+
shutdown: "shutdown";
|
|
2255
|
+
"sandbox-launch": "sandbox-launch";
|
|
2256
|
+
"sandbox-network": "sandbox-network";
|
|
2257
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
2258
|
+
"sandbox-policy": "sandbox-policy";
|
|
2259
|
+
"dependency-network": "dependency-network";
|
|
2260
|
+
"provider-limit": "provider-limit";
|
|
2261
|
+
"lease-expired": "lease-expired";
|
|
2262
|
+
}>;
|
|
2263
|
+
counted: z.ZodBoolean;
|
|
2043
2264
|
}, z.core.$strict> | z.ZodObject<{
|
|
2044
2265
|
leaseUntil: z.ZodNumber;
|
|
2045
2266
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -2051,6 +2272,22 @@ export declare const publishedSchemas: {
|
|
|
2051
2272
|
}, z.core.$strict> | z.ZodObject<{
|
|
2052
2273
|
resultSha: z.ZodString;
|
|
2053
2274
|
integrationSha: z.ZodString;
|
|
2275
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2276
|
+
by: z.ZodEnum<{
|
|
2277
|
+
operator: "operator";
|
|
2278
|
+
recovery: "recovery";
|
|
2279
|
+
host: "host";
|
|
2280
|
+
}>;
|
|
2281
|
+
reset: z.ZodBoolean;
|
|
2282
|
+
spent: z.ZodOptional<z.ZodNumber>;
|
|
2283
|
+
reasonLength: z.ZodOptional<z.ZodNumber>;
|
|
2284
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2285
|
+
by: z.ZodEnum<{
|
|
2286
|
+
operator: "operator";
|
|
2287
|
+
graph: "graph";
|
|
2288
|
+
host: "host";
|
|
2289
|
+
}>;
|
|
2290
|
+
hadAttempt: z.ZodBoolean;
|
|
2054
2291
|
}, z.core.$strict> | z.ZodObject<{
|
|
2055
2292
|
code: z.ZodString;
|
|
2056
2293
|
message: z.ZodString;
|
|
@@ -2070,6 +2307,7 @@ export declare const publishedSchemas: {
|
|
|
2070
2307
|
environment: "environment";
|
|
2071
2308
|
timeout: "timeout";
|
|
2072
2309
|
"provider-auth": "provider-auth";
|
|
2310
|
+
stalled: "stalled";
|
|
2073
2311
|
"stale-base": "stale-base";
|
|
2074
2312
|
"empty-result": "empty-result";
|
|
2075
2313
|
unfinished: "unfinished";
|
|
@@ -2089,6 +2327,12 @@ export declare const publishedSchemas: {
|
|
|
2089
2327
|
}>;
|
|
2090
2328
|
}, z.core.$strict> | z.ZodObject<{
|
|
2091
2329
|
owner: z.ZodString;
|
|
2330
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2331
|
+
by: z.ZodEnum<{
|
|
2332
|
+
operator: "operator";
|
|
2333
|
+
controller: "controller";
|
|
2334
|
+
host: "host";
|
|
2335
|
+
}>;
|
|
2092
2336
|
}, z.core.$strict> | z.ZodObject<{
|
|
2093
2337
|
owner: z.ZodString;
|
|
2094
2338
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -2131,6 +2375,45 @@ export declare const publishedSchemas: {
|
|
|
2131
2375
|
verificationId: z.ZodString;
|
|
2132
2376
|
workIds: z.ZodArray<z.ZodString>;
|
|
2133
2377
|
policyDigest: z.ZodString;
|
|
2378
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2379
|
+
state: z.ZodEnum<{
|
|
2380
|
+
active: "active";
|
|
2381
|
+
stalled: "stalled";
|
|
2382
|
+
quiet: "quiet";
|
|
2383
|
+
}>;
|
|
2384
|
+
previous: z.ZodEnum<{
|
|
2385
|
+
active: "active";
|
|
2386
|
+
stalled: "stalled";
|
|
2387
|
+
quiet: "quiet";
|
|
2388
|
+
}>;
|
|
2389
|
+
lastMovementAt: z.ZodISODateTime;
|
|
2390
|
+
idleMs: z.ZodNumber;
|
|
2391
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
2392
|
+
kind: z.ZodEnum<{
|
|
2393
|
+
gate: "gate";
|
|
2394
|
+
command: "command";
|
|
2395
|
+
agent: "agent";
|
|
2396
|
+
step: "step";
|
|
2397
|
+
}>;
|
|
2398
|
+
label: z.ZodString;
|
|
2399
|
+
}, z.core.$strict>>;
|
|
2400
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2401
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
2402
|
+
report: "report";
|
|
2403
|
+
stop: "stop";
|
|
2404
|
+
}>>;
|
|
2405
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
2406
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
2407
|
+
pid: z.ZodNumber;
|
|
2408
|
+
parentPid: z.ZodNumber;
|
|
2409
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
2410
|
+
command: z.ZodString;
|
|
2411
|
+
}, z.core.$strict>>;
|
|
2412
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2413
|
+
tail: z.ZodString;
|
|
2414
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
2415
|
+
}, z.core.$strict>>;
|
|
2416
|
+
verificationId: z.ZodString;
|
|
2134
2417
|
}, z.core.$strict> | z.ZodObject<{
|
|
2135
2418
|
verificationId: z.ZodString;
|
|
2136
2419
|
status: z.ZodEnum<{
|
|
@@ -2589,6 +2872,7 @@ export declare const publishedSchemas: {
|
|
|
2589
2872
|
environment: "environment";
|
|
2590
2873
|
timeout: "timeout";
|
|
2591
2874
|
"provider-auth": "provider-auth";
|
|
2875
|
+
stalled: "stalled";
|
|
2592
2876
|
"stale-base": "stale-base";
|
|
2593
2877
|
"empty-result": "empty-result";
|
|
2594
2878
|
unfinished: "unfinished";
|
|
@@ -2805,6 +3089,7 @@ export declare const publishedSchemas: {
|
|
|
2805
3089
|
environment: "environment";
|
|
2806
3090
|
timeout: "timeout";
|
|
2807
3091
|
"provider-auth": "provider-auth";
|
|
3092
|
+
stalled: "stalled";
|
|
2808
3093
|
"stale-base": "stale-base";
|
|
2809
3094
|
"empty-result": "empty-result";
|
|
2810
3095
|
unfinished: "unfinished";
|
|
@@ -2917,6 +3202,7 @@ export declare const publishedSchemas: {
|
|
|
2917
3202
|
environment: "environment";
|
|
2918
3203
|
timeout: "timeout";
|
|
2919
3204
|
"provider-auth": "provider-auth";
|
|
3205
|
+
stalled: "stalled";
|
|
2920
3206
|
"stale-base": "stale-base";
|
|
2921
3207
|
"empty-result": "empty-result";
|
|
2922
3208
|
unfinished: "unfinished";
|
|
@@ -2947,6 +3233,29 @@ export declare const publishedSchemas: {
|
|
|
2947
3233
|
approvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2948
3234
|
readyAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2949
3235
|
}, z.core.$strict>>;
|
|
3236
|
+
liveness: z.ZodOptional<z.ZodObject<{
|
|
3237
|
+
state: z.ZodEnum<{
|
|
3238
|
+
active: "active";
|
|
3239
|
+
stalled: "stalled";
|
|
3240
|
+
quiet: "quiet";
|
|
3241
|
+
}>;
|
|
3242
|
+
at: z.ZodISODateTime;
|
|
3243
|
+
lastMovementAt: z.ZodISODateTime;
|
|
3244
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
3245
|
+
kind: z.ZodEnum<{
|
|
3246
|
+
gate: "gate";
|
|
3247
|
+
command: "command";
|
|
3248
|
+
agent: "agent";
|
|
3249
|
+
step: "step";
|
|
3250
|
+
}>;
|
|
3251
|
+
label: z.ZodString;
|
|
3252
|
+
}, z.core.$strict>>;
|
|
3253
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
3254
|
+
report: "report";
|
|
3255
|
+
stop: "stop";
|
|
3256
|
+
}>>;
|
|
3257
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
3258
|
+
}, z.core.$strict>>;
|
|
2950
3259
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2951
3260
|
id: z.ZodString;
|
|
2952
3261
|
stage: z.ZodString;
|
|
@@ -3461,6 +3770,7 @@ export declare const publishedSchemas: {
|
|
|
3461
3770
|
environment: "environment";
|
|
3462
3771
|
timeout: "timeout";
|
|
3463
3772
|
"provider-auth": "provider-auth";
|
|
3773
|
+
stalled: "stalled";
|
|
3464
3774
|
"stale-base": "stale-base";
|
|
3465
3775
|
"empty-result": "empty-result";
|
|
3466
3776
|
unfinished: "unfinished";
|
|
@@ -3688,6 +3998,7 @@ export declare const publishedSchemas: {
|
|
|
3688
3998
|
environment: "environment";
|
|
3689
3999
|
timeout: "timeout";
|
|
3690
4000
|
"provider-auth": "provider-auth";
|
|
4001
|
+
stalled: "stalled";
|
|
3691
4002
|
"stale-base": "stale-base";
|
|
3692
4003
|
"empty-result": "empty-result";
|
|
3693
4004
|
unfinished: "unfinished";
|
|
@@ -3978,6 +4289,36 @@ export declare const publishedSchemas: {
|
|
|
3978
4289
|
retries: z.ZodNullable<z.ZodNumber>;
|
|
3979
4290
|
resets: z.ZodNullable<z.ZodNumber>;
|
|
3980
4291
|
baseMoves: z.ZodNullable<z.ZodNumber>;
|
|
4292
|
+
recorded: z.ZodNullable<z.ZodObject<{
|
|
4293
|
+
from: z.ZodISODateTime;
|
|
4294
|
+
bound: z.ZodEnum<{
|
|
4295
|
+
exact: "exact";
|
|
4296
|
+
lower: "lower";
|
|
4297
|
+
}>;
|
|
4298
|
+
retries: z.ZodObject<{
|
|
4299
|
+
operator: z.ZodNumber;
|
|
4300
|
+
recovery: z.ZodNumber;
|
|
4301
|
+
host: z.ZodNumber;
|
|
4302
|
+
}, z.core.$strict>;
|
|
4303
|
+
resets: z.ZodObject<{
|
|
4304
|
+
operator: z.ZodNumber;
|
|
4305
|
+
recovery: z.ZodNumber;
|
|
4306
|
+
host: z.ZodNumber;
|
|
4307
|
+
}, z.core.$strict>;
|
|
4308
|
+
cancellations: z.ZodObject<{
|
|
4309
|
+
operator: z.ZodNumber;
|
|
4310
|
+
graph: z.ZodNumber;
|
|
4311
|
+
host: z.ZodNumber;
|
|
4312
|
+
}, z.core.$strict>;
|
|
4313
|
+
cancelledWithoutAttempt: z.ZodNumber;
|
|
4314
|
+
baseMoves: z.ZodObject<{
|
|
4315
|
+
operator: z.ZodNumber;
|
|
4316
|
+
controller: z.ZodNumber;
|
|
4317
|
+
host: z.ZodNumber;
|
|
4318
|
+
}, z.core.$strict>;
|
|
4319
|
+
baseMovesBound: z.ZodLiteral<"lower">;
|
|
4320
|
+
gaps: z.ZodNumber;
|
|
4321
|
+
}, z.core.$strict>>;
|
|
3981
4322
|
}, z.core.$strict>;
|
|
3982
4323
|
approvals: z.ZodObject<{
|
|
3983
4324
|
operator: z.ZodNumber;
|
|
@@ -4008,6 +4349,7 @@ export declare const publishedSchemas: {
|
|
|
4008
4349
|
environment: "environment";
|
|
4009
4350
|
timeout: "timeout";
|
|
4010
4351
|
"provider-auth": "provider-auth";
|
|
4352
|
+
stalled: "stalled";
|
|
4011
4353
|
"stale-base": "stale-base";
|
|
4012
4354
|
"empty-result": "empty-result";
|
|
4013
4355
|
unfinished: "unfinished";
|
|
@@ -4215,7 +4557,34 @@ export declare const publishedSchemas: {
|
|
|
4215
4557
|
}, z.core.$strict>;
|
|
4216
4558
|
setupCheckFailures: z.ZodNumber;
|
|
4217
4559
|
timeLimit: z.ZodNumber;
|
|
4218
|
-
causes: z.
|
|
4560
|
+
causes: z.ZodNullable<z.ZodObject<{
|
|
4561
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
4562
|
+
cause: z.ZodEnum<{
|
|
4563
|
+
preflight: "preflight";
|
|
4564
|
+
transport: "transport";
|
|
4565
|
+
none: "none";
|
|
4566
|
+
other: "other";
|
|
4567
|
+
"provider-auth": "provider-auth";
|
|
4568
|
+
stalled: "stalled";
|
|
4569
|
+
shutdown: "shutdown";
|
|
4570
|
+
"sandbox-launch": "sandbox-launch";
|
|
4571
|
+
"sandbox-network": "sandbox-network";
|
|
4572
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
4573
|
+
"sandbox-policy": "sandbox-policy";
|
|
4574
|
+
"dependency-network": "dependency-network";
|
|
4575
|
+
"provider-limit": "provider-limit";
|
|
4576
|
+
"lease-expired": "lease-expired";
|
|
4577
|
+
}>;
|
|
4578
|
+
count: z.ZodNumber;
|
|
4579
|
+
counted: z.ZodNumber;
|
|
4580
|
+
}, z.core.$strict>>;
|
|
4581
|
+
diagnosed: z.ZodNumber;
|
|
4582
|
+
undiagnosed: z.ZodNumber;
|
|
4583
|
+
bound: z.ZodEnum<{
|
|
4584
|
+
exact: "exact";
|
|
4585
|
+
lower: "lower";
|
|
4586
|
+
}>;
|
|
4587
|
+
}, z.core.$strict>>;
|
|
4219
4588
|
neutral: z.ZodObject<{
|
|
4220
4589
|
costBound: z.ZodEnum<{
|
|
4221
4590
|
exact: "exact";
|
|
@@ -4314,4 +4683,648 @@ export declare const publishedSchemas: {
|
|
|
4314
4683
|
text: z.ZodString;
|
|
4315
4684
|
}, z.core.$strict>>;
|
|
4316
4685
|
}, z.core.$strict>;
|
|
4686
|
+
readonly 'handoff-pack': z.ZodObject<{
|
|
4687
|
+
handoffVersion: z.ZodLiteral<1>;
|
|
4688
|
+
at: z.ZodISODateTime;
|
|
4689
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
4690
|
+
limits: z.ZodObject<{
|
|
4691
|
+
maxAttempts: z.ZodNumber;
|
|
4692
|
+
repairBudget: z.ZodNumber;
|
|
4693
|
+
}, z.core.$strict>;
|
|
4694
|
+
summary: z.ZodObject<{
|
|
4695
|
+
works: z.ZodNumber;
|
|
4696
|
+
open: z.ZodNumber;
|
|
4697
|
+
done: z.ZodNumber;
|
|
4698
|
+
cancelled: z.ZodNumber;
|
|
4699
|
+
byStatus: z.ZodArray<z.ZodObject<{
|
|
4700
|
+
status: z.ZodEnum<{
|
|
4701
|
+
ready: "ready";
|
|
4702
|
+
failed: "failed";
|
|
4703
|
+
cancelled: "cancelled";
|
|
4704
|
+
draft: "draft";
|
|
4705
|
+
running: "running";
|
|
4706
|
+
verifying: "verifying";
|
|
4707
|
+
reviewing: "reviewing";
|
|
4708
|
+
integrating: "integrating";
|
|
4709
|
+
done: "done";
|
|
4710
|
+
}>;
|
|
4711
|
+
count: z.ZodNumber;
|
|
4712
|
+
}, z.core.$strict>>;
|
|
4713
|
+
}, z.core.$strict>;
|
|
4714
|
+
queue: z.ZodObject<{
|
|
4715
|
+
paused: z.ZodBoolean;
|
|
4716
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4717
|
+
runtime: "runtime";
|
|
4718
|
+
operator: "operator";
|
|
4719
|
+
shutdown: "shutdown";
|
|
4720
|
+
"base-check": "base-check";
|
|
4721
|
+
reconfigure: "reconfigure";
|
|
4722
|
+
}>>;
|
|
4723
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4724
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
4725
|
+
operation: z.ZodOptional<z.ZodString>;
|
|
4726
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4727
|
+
gate: "gate";
|
|
4728
|
+
unknown: "unknown";
|
|
4729
|
+
review: "review";
|
|
4730
|
+
cancelled: "cancelled";
|
|
4731
|
+
environment: "environment";
|
|
4732
|
+
timeout: "timeout";
|
|
4733
|
+
"provider-auth": "provider-auth";
|
|
4734
|
+
stalled: "stalled";
|
|
4735
|
+
"stale-base": "stale-base";
|
|
4736
|
+
"empty-result": "empty-result";
|
|
4737
|
+
unfinished: "unfinished";
|
|
4738
|
+
"scope-violation": "scope-violation";
|
|
4739
|
+
"review-protocol": "review-protocol";
|
|
4740
|
+
merge: "merge";
|
|
4741
|
+
budget: "budget";
|
|
4742
|
+
"needs-lead": "needs-lead";
|
|
4743
|
+
}>>>;
|
|
4744
|
+
liftedByRun: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4745
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
4746
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
4747
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
4748
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
4749
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
4750
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
4751
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
4752
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
4753
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
4754
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
4755
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
4756
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
4757
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
4758
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
4759
|
+
LEASE_STALE: "LEASE_STALE";
|
|
4760
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
4761
|
+
PAUSED: "PAUSED";
|
|
4762
|
+
NOT_READY: "NOT_READY";
|
|
4763
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
4764
|
+
GATE_FAILED: "GATE_FAILED";
|
|
4765
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
4766
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
4767
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
4768
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
4769
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
4770
|
+
CANCELLED: "CANCELLED";
|
|
4771
|
+
NOT_FOUND: "NOT_FOUND";
|
|
4772
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
4773
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
4774
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
4775
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
4776
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
4777
|
+
GIT_FAILED: "GIT_FAILED";
|
|
4778
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
4779
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
4780
|
+
INTERNAL: "INTERNAL";
|
|
4781
|
+
}>>;
|
|
4782
|
+
actor: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4783
|
+
controller: "controller";
|
|
4784
|
+
lead: "lead";
|
|
4785
|
+
user: "user";
|
|
4786
|
+
}>>>;
|
|
4787
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
4788
|
+
none: "none";
|
|
4789
|
+
wait: "wait";
|
|
4790
|
+
retry: "retry";
|
|
4791
|
+
"review-plan": "review-plan";
|
|
4792
|
+
"diagnose-failure": "diagnose-failure";
|
|
4793
|
+
"reset-attempts": "reset-attempts";
|
|
4794
|
+
"raise-budget": "raise-budget";
|
|
4795
|
+
"replan-dependents": "replan-dependents";
|
|
4796
|
+
"recovery-decision": "recovery-decision";
|
|
4797
|
+
"user-decision": "user-decision";
|
|
4798
|
+
"resume-queue": "resume-queue";
|
|
4799
|
+
"fix-environment": "fix-environment";
|
|
4800
|
+
"fix-access": "fix-access";
|
|
4801
|
+
}>>;
|
|
4802
|
+
}, z.core.$strict>;
|
|
4803
|
+
controller: z.ZodOptional<z.ZodObject<{
|
|
4804
|
+
owner: z.ZodString;
|
|
4805
|
+
until: z.ZodISODateTime;
|
|
4806
|
+
live: z.ZodBoolean;
|
|
4807
|
+
}, z.core.$strict>>;
|
|
4808
|
+
active: z.ZodArray<z.ZodObject<{
|
|
4809
|
+
workId: z.ZodString;
|
|
4810
|
+
title: z.ZodString;
|
|
4811
|
+
runId: z.ZodString;
|
|
4812
|
+
attempt: z.ZodNumber;
|
|
4813
|
+
phase: z.ZodEnum<{
|
|
4814
|
+
ready: "ready";
|
|
4815
|
+
failed: "failed";
|
|
4816
|
+
cancelled: "cancelled";
|
|
4817
|
+
draft: "draft";
|
|
4818
|
+
running: "running";
|
|
4819
|
+
verifying: "verifying";
|
|
4820
|
+
reviewing: "reviewing";
|
|
4821
|
+
integrating: "integrating";
|
|
4822
|
+
done: "done";
|
|
4823
|
+
}>;
|
|
4824
|
+
runtime: z.ZodString;
|
|
4825
|
+
elapsedMs: z.ZodNumber;
|
|
4826
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
4827
|
+
name: z.ZodString;
|
|
4828
|
+
elapsedMs: z.ZodNumber;
|
|
4829
|
+
}, z.core.$strict>>;
|
|
4830
|
+
sinceHeartbeatMs: z.ZodOptional<z.ZodNumber>;
|
|
4831
|
+
leaseUntil: z.ZodISODateTime;
|
|
4832
|
+
stale: z.ZodBoolean;
|
|
4833
|
+
gates: z.ZodObject<{
|
|
4834
|
+
phase: z.ZodEnum<{
|
|
4835
|
+
candidate: "candidate";
|
|
4836
|
+
integration: "integration";
|
|
4837
|
+
}>;
|
|
4838
|
+
required: z.ZodNumber;
|
|
4839
|
+
passed: z.ZodNumber;
|
|
4840
|
+
failed: z.ZodNumber;
|
|
4841
|
+
remaining: z.ZodNumber;
|
|
4842
|
+
}, z.core.$strict>;
|
|
4843
|
+
}, z.core.$strict>>;
|
|
4844
|
+
unfinished: z.ZodArray<z.ZodObject<{
|
|
4845
|
+
runId: z.ZodString;
|
|
4846
|
+
workId: z.ZodString;
|
|
4847
|
+
attempt: z.ZodNumber;
|
|
4848
|
+
phase: z.ZodEnum<{
|
|
4849
|
+
ready: "ready";
|
|
4850
|
+
failed: "failed";
|
|
4851
|
+
cancelled: "cancelled";
|
|
4852
|
+
draft: "draft";
|
|
4853
|
+
running: "running";
|
|
4854
|
+
verifying: "verifying";
|
|
4855
|
+
reviewing: "reviewing";
|
|
4856
|
+
integrating: "integrating";
|
|
4857
|
+
done: "done";
|
|
4858
|
+
}>;
|
|
4859
|
+
startedAt: z.ZodISODateTime;
|
|
4860
|
+
stale: z.ZodBoolean;
|
|
4861
|
+
current: z.ZodBoolean;
|
|
4862
|
+
interrupted: z.ZodOptional<z.ZodLiteral<"shutdown">>;
|
|
4863
|
+
}, z.core.$strict>>;
|
|
4864
|
+
works: z.ZodArray<z.ZodObject<{
|
|
4865
|
+
id: z.ZodString;
|
|
4866
|
+
graphId: z.ZodString;
|
|
4867
|
+
title: z.ZodString;
|
|
4868
|
+
status: z.ZodEnum<{
|
|
4869
|
+
ready: "ready";
|
|
4870
|
+
failed: "failed";
|
|
4871
|
+
cancelled: "cancelled";
|
|
4872
|
+
draft: "draft";
|
|
4873
|
+
running: "running";
|
|
4874
|
+
verifying: "verifying";
|
|
4875
|
+
reviewing: "reviewing";
|
|
4876
|
+
integrating: "integrating";
|
|
4877
|
+
done: "done";
|
|
4878
|
+
}>;
|
|
4879
|
+
attempt: z.ZodNumber;
|
|
4880
|
+
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
4881
|
+
gate: "gate";
|
|
4882
|
+
unknown: "unknown";
|
|
4883
|
+
review: "review";
|
|
4884
|
+
cancelled: "cancelled";
|
|
4885
|
+
environment: "environment";
|
|
4886
|
+
timeout: "timeout";
|
|
4887
|
+
"provider-auth": "provider-auth";
|
|
4888
|
+
stalled: "stalled";
|
|
4889
|
+
"stale-base": "stale-base";
|
|
4890
|
+
"empty-result": "empty-result";
|
|
4891
|
+
unfinished: "unfinished";
|
|
4892
|
+
"scope-violation": "scope-violation";
|
|
4893
|
+
"review-protocol": "review-protocol";
|
|
4894
|
+
merge: "merge";
|
|
4895
|
+
budget: "budget";
|
|
4896
|
+
"needs-lead": "needs-lead";
|
|
4897
|
+
}>>;
|
|
4898
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
4899
|
+
hold: z.ZodOptional<z.ZodObject<{
|
|
4900
|
+
operation: z.ZodString;
|
|
4901
|
+
reason: z.ZodString;
|
|
4902
|
+
}, z.core.$strict>>;
|
|
4903
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
4904
|
+
status: z.ZodString;
|
|
4905
|
+
property: z.ZodString;
|
|
4906
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4907
|
+
proposal: z.ZodOptional<z.ZodString>;
|
|
4908
|
+
}, z.core.$strict>>;
|
|
4909
|
+
blockers: z.ZodArray<z.ZodObject<{
|
|
4910
|
+
code: z.ZodEnum<{
|
|
4911
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
4912
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
4913
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
4914
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
4915
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
4916
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
4917
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
4918
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
4919
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
4920
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
4921
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
4922
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
4923
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
4924
|
+
LEASE_STALE: "LEASE_STALE";
|
|
4925
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
4926
|
+
PAUSED: "PAUSED";
|
|
4927
|
+
NOT_READY: "NOT_READY";
|
|
4928
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
4929
|
+
GATE_FAILED: "GATE_FAILED";
|
|
4930
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
4931
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
4932
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
4933
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
4934
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
4935
|
+
CANCELLED: "CANCELLED";
|
|
4936
|
+
NOT_FOUND: "NOT_FOUND";
|
|
4937
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
4938
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
4939
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
4940
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
4941
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
4942
|
+
GIT_FAILED: "GIT_FAILED";
|
|
4943
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
4944
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
4945
|
+
INTERNAL: "INTERNAL";
|
|
4946
|
+
}>;
|
|
4947
|
+
message: z.ZodString;
|
|
4948
|
+
}, z.core.$strict>>;
|
|
4949
|
+
blockersTruncated: z.ZodOptional<z.ZodNumber>;
|
|
4950
|
+
next: z.ZodObject<{
|
|
4951
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
4952
|
+
controller: "controller";
|
|
4953
|
+
lead: "lead";
|
|
4954
|
+
user: "user";
|
|
4955
|
+
}>>;
|
|
4956
|
+
action: z.ZodEnum<{
|
|
4957
|
+
none: "none";
|
|
4958
|
+
wait: "wait";
|
|
4959
|
+
retry: "retry";
|
|
4960
|
+
"review-plan": "review-plan";
|
|
4961
|
+
"diagnose-failure": "diagnose-failure";
|
|
4962
|
+
"reset-attempts": "reset-attempts";
|
|
4963
|
+
"raise-budget": "raise-budget";
|
|
4964
|
+
"replan-dependents": "replan-dependents";
|
|
4965
|
+
"recovery-decision": "recovery-decision";
|
|
4966
|
+
"user-decision": "user-decision";
|
|
4967
|
+
"resume-queue": "resume-queue";
|
|
4968
|
+
"fix-environment": "fix-environment";
|
|
4969
|
+
"fix-access": "fix-access";
|
|
4970
|
+
}>;
|
|
4971
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
4972
|
+
accepted: "accepted";
|
|
4973
|
+
cancelled: "cancelled";
|
|
4974
|
+
"recovery-awaiting-lead": "recovery-awaiting-lead";
|
|
4975
|
+
"recovery-analyzing": "recovery-analyzing";
|
|
4976
|
+
"recovery-applying": "recovery-applying";
|
|
4977
|
+
"recovery-retry-allowed": "recovery-retry-allowed";
|
|
4978
|
+
"recovery-retrying": "recovery-retrying";
|
|
4979
|
+
"recovery-awaiting-user": "recovery-awaiting-user";
|
|
4980
|
+
"recovery-stopped": "recovery-stopped";
|
|
4981
|
+
"corpus-adoption": "corpus-adoption";
|
|
4982
|
+
held: "held";
|
|
4983
|
+
"plan-review": "plan-review";
|
|
4984
|
+
"attempt-running": "attempt-running";
|
|
4985
|
+
"retry-within-budget": "retry-within-budget";
|
|
4986
|
+
"attempts-exhausted": "attempts-exhausted";
|
|
4987
|
+
"awaiting-claim": "awaiting-claim";
|
|
4988
|
+
}>>;
|
|
4989
|
+
property: z.ZodOptional<z.ZodString>;
|
|
4990
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4991
|
+
command: z.ZodOptional<z.ZodEnum<{
|
|
4992
|
+
"harness run": "harness run";
|
|
4993
|
+
"harness resume": "harness resume";
|
|
4994
|
+
}>>;
|
|
4995
|
+
}, z.core.$strict>;
|
|
4996
|
+
}, z.core.$strict>>;
|
|
4997
|
+
stops: z.ZodArray<z.ZodObject<{
|
|
4998
|
+
code: z.ZodEnum<{
|
|
4999
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
5000
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
5001
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
5002
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
5003
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
5004
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
5005
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
5006
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
5007
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
5008
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
5009
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
5010
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
5011
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
5012
|
+
LEASE_STALE: "LEASE_STALE";
|
|
5013
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
5014
|
+
PAUSED: "PAUSED";
|
|
5015
|
+
NOT_READY: "NOT_READY";
|
|
5016
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
5017
|
+
GATE_FAILED: "GATE_FAILED";
|
|
5018
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
5019
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
5020
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
5021
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
5022
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
5023
|
+
CANCELLED: "CANCELLED";
|
|
5024
|
+
NOT_FOUND: "NOT_FOUND";
|
|
5025
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
5026
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
5027
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
5028
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
5029
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
5030
|
+
GIT_FAILED: "GIT_FAILED";
|
|
5031
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
5032
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
5033
|
+
INTERNAL: "INTERNAL";
|
|
5034
|
+
}>;
|
|
5035
|
+
cause: z.ZodEnum<{
|
|
5036
|
+
gate: "gate";
|
|
5037
|
+
unknown: "unknown";
|
|
5038
|
+
review: "review";
|
|
5039
|
+
cancelled: "cancelled";
|
|
5040
|
+
environment: "environment";
|
|
5041
|
+
timeout: "timeout";
|
|
5042
|
+
"provider-auth": "provider-auth";
|
|
5043
|
+
stalled: "stalled";
|
|
5044
|
+
"stale-base": "stale-base";
|
|
5045
|
+
"empty-result": "empty-result";
|
|
5046
|
+
unfinished: "unfinished";
|
|
5047
|
+
"scope-violation": "scope-violation";
|
|
5048
|
+
"review-protocol": "review-protocol";
|
|
5049
|
+
merge: "merge";
|
|
5050
|
+
budget: "budget";
|
|
5051
|
+
"needs-lead": "needs-lead";
|
|
5052
|
+
"runtime-missing": "runtime-missing";
|
|
5053
|
+
"controller-busy": "controller-busy";
|
|
5054
|
+
"operator-pause": "operator-pause";
|
|
5055
|
+
"approval-required": "approval-required";
|
|
5056
|
+
"not-ready": "not-ready";
|
|
5057
|
+
}>;
|
|
5058
|
+
phase: z.ZodEnum<{
|
|
5059
|
+
gates: "gates";
|
|
5060
|
+
preflight: "preflight";
|
|
5061
|
+
review: "review";
|
|
5062
|
+
integration: "integration";
|
|
5063
|
+
delivery: "delivery";
|
|
5064
|
+
claim: "claim";
|
|
5065
|
+
implementation: "implementation";
|
|
5066
|
+
}>;
|
|
5067
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
5068
|
+
controller: "controller";
|
|
5069
|
+
lead: "lead";
|
|
5070
|
+
user: "user";
|
|
5071
|
+
}>>;
|
|
5072
|
+
action: z.ZodEnum<{
|
|
5073
|
+
none: "none";
|
|
5074
|
+
wait: "wait";
|
|
5075
|
+
retry: "retry";
|
|
5076
|
+
"review-plan": "review-plan";
|
|
5077
|
+
"diagnose-failure": "diagnose-failure";
|
|
5078
|
+
"reset-attempts": "reset-attempts";
|
|
5079
|
+
"raise-budget": "raise-budget";
|
|
5080
|
+
"replan-dependents": "replan-dependents";
|
|
5081
|
+
"recovery-decision": "recovery-decision";
|
|
5082
|
+
"user-decision": "user-decision";
|
|
5083
|
+
"resume-queue": "resume-queue";
|
|
5084
|
+
"fix-environment": "fix-environment";
|
|
5085
|
+
"fix-access": "fix-access";
|
|
5086
|
+
}>;
|
|
5087
|
+
retryPlanned: z.ZodBoolean;
|
|
5088
|
+
message: z.ZodString;
|
|
5089
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
5090
|
+
kind: z.ZodEnum<{
|
|
5091
|
+
attempt: "attempt";
|
|
5092
|
+
evidence: "evidence";
|
|
5093
|
+
event: "event";
|
|
5094
|
+
doctor: "doctor";
|
|
5095
|
+
}>;
|
|
5096
|
+
id: z.ZodString;
|
|
5097
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
5098
|
+
}, z.core.$strict>>;
|
|
5099
|
+
workId: z.ZodOptional<z.ZodString>;
|
|
5100
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
5101
|
+
queue: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5102
|
+
works: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5103
|
+
worksCount: z.ZodOptional<z.ZodNumber>;
|
|
5104
|
+
}, z.core.$strict>>;
|
|
5105
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
5106
|
+
runId: z.ZodString;
|
|
5107
|
+
workId: z.ZodString;
|
|
5108
|
+
workStatus: z.ZodOptional<z.ZodEnum<{
|
|
5109
|
+
ready: "ready";
|
|
5110
|
+
failed: "failed";
|
|
5111
|
+
cancelled: "cancelled";
|
|
5112
|
+
draft: "draft";
|
|
5113
|
+
running: "running";
|
|
5114
|
+
verifying: "verifying";
|
|
5115
|
+
reviewing: "reviewing";
|
|
5116
|
+
integrating: "integrating";
|
|
5117
|
+
done: "done";
|
|
5118
|
+
}>>;
|
|
5119
|
+
attempt: z.ZodNumber;
|
|
5120
|
+
status: z.ZodEnum<{
|
|
5121
|
+
failed: "failed";
|
|
5122
|
+
expired: "expired";
|
|
5123
|
+
}>;
|
|
5124
|
+
phase: z.ZodEnum<{
|
|
5125
|
+
ready: "ready";
|
|
5126
|
+
failed: "failed";
|
|
5127
|
+
cancelled: "cancelled";
|
|
5128
|
+
draft: "draft";
|
|
5129
|
+
running: "running";
|
|
5130
|
+
verifying: "verifying";
|
|
5131
|
+
reviewing: "reviewing";
|
|
5132
|
+
integrating: "integrating";
|
|
5133
|
+
done: "done";
|
|
5134
|
+
}>;
|
|
5135
|
+
finishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
5136
|
+
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
5137
|
+
gate: "gate";
|
|
5138
|
+
unknown: "unknown";
|
|
5139
|
+
review: "review";
|
|
5140
|
+
cancelled: "cancelled";
|
|
5141
|
+
environment: "environment";
|
|
5142
|
+
timeout: "timeout";
|
|
5143
|
+
"provider-auth": "provider-auth";
|
|
5144
|
+
stalled: "stalled";
|
|
5145
|
+
"stale-base": "stale-base";
|
|
5146
|
+
"empty-result": "empty-result";
|
|
5147
|
+
unfinished: "unfinished";
|
|
5148
|
+
"scope-violation": "scope-violation";
|
|
5149
|
+
"review-protocol": "review-protocol";
|
|
5150
|
+
merge: "merge";
|
|
5151
|
+
budget: "budget";
|
|
5152
|
+
"needs-lead": "needs-lead";
|
|
5153
|
+
}>>;
|
|
5154
|
+
code: z.ZodEnum<{
|
|
5155
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
5156
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
5157
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
5158
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
5159
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
5160
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
5161
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
5162
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
5163
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
5164
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
5165
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
5166
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
5167
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
5168
|
+
LEASE_STALE: "LEASE_STALE";
|
|
5169
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
5170
|
+
PAUSED: "PAUSED";
|
|
5171
|
+
NOT_READY: "NOT_READY";
|
|
5172
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
5173
|
+
GATE_FAILED: "GATE_FAILED";
|
|
5174
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
5175
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
5176
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
5177
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
5178
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
5179
|
+
CANCELLED: "CANCELLED";
|
|
5180
|
+
NOT_FOUND: "NOT_FOUND";
|
|
5181
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
5182
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
5183
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
5184
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
5185
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
5186
|
+
GIT_FAILED: "GIT_FAILED";
|
|
5187
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
5188
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
5189
|
+
INTERNAL: "INTERNAL";
|
|
5190
|
+
}>;
|
|
5191
|
+
error: z.ZodOptional<z.ZodString>;
|
|
5192
|
+
}, z.core.$strict>>;
|
|
5193
|
+
budgets: z.ZodOptional<z.ZodObject<{
|
|
5194
|
+
onUnknown: z.ZodEnum<{
|
|
5195
|
+
continue: "continue";
|
|
5196
|
+
stop: "stop";
|
|
5197
|
+
}>;
|
|
5198
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
5199
|
+
scope: z.ZodEnum<{
|
|
5200
|
+
work: "work";
|
|
5201
|
+
group: "group";
|
|
5202
|
+
total: "total";
|
|
5203
|
+
}>;
|
|
5204
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5205
|
+
state: z.ZodEnum<{
|
|
5206
|
+
exceeded: "exceeded";
|
|
5207
|
+
undetermined: "undetermined";
|
|
5208
|
+
within: "within";
|
|
5209
|
+
}>;
|
|
5210
|
+
limitUsd: z.ZodOptional<z.ZodNumber>;
|
|
5211
|
+
limitMs: z.ZodOptional<z.ZodNumber>;
|
|
5212
|
+
reportedUsd: z.ZodNumber;
|
|
5213
|
+
estimatedUsd: z.ZodNumber;
|
|
5214
|
+
complete: z.ZodBoolean;
|
|
5215
|
+
unknownCalls: z.ZodNumber;
|
|
5216
|
+
unfinishedCalls: z.ZodNumber;
|
|
5217
|
+
abandonedCalls: z.ZodNumber;
|
|
5218
|
+
uncoveredRuns: z.ZodNumber;
|
|
5219
|
+
durationMs: z.ZodNumber;
|
|
5220
|
+
remainingUsd: z.ZodNullable<z.ZodNumber>;
|
|
5221
|
+
remainingMs: z.ZodNullable<z.ZodNumber>;
|
|
5222
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5223
|
+
}, z.core.$strict>>;
|
|
5224
|
+
}, z.core.$strict>>;
|
|
5225
|
+
repairs: z.ZodArray<z.ZodObject<{
|
|
5226
|
+
graphId: z.ZodString;
|
|
5227
|
+
status: z.ZodString;
|
|
5228
|
+
used: z.ZodNumber;
|
|
5229
|
+
budget: z.ZodNumber;
|
|
5230
|
+
}, z.core.$strict>>;
|
|
5231
|
+
next: z.ZodObject<{
|
|
5232
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
5233
|
+
controller: "controller";
|
|
5234
|
+
lead: "lead";
|
|
5235
|
+
user: "user";
|
|
5236
|
+
}>>;
|
|
5237
|
+
action: z.ZodEnum<{
|
|
5238
|
+
none: "none";
|
|
5239
|
+
wait: "wait";
|
|
5240
|
+
retry: "retry";
|
|
5241
|
+
"review-plan": "review-plan";
|
|
5242
|
+
"diagnose-failure": "diagnose-failure";
|
|
5243
|
+
"reset-attempts": "reset-attempts";
|
|
5244
|
+
"raise-budget": "raise-budget";
|
|
5245
|
+
"replan-dependents": "replan-dependents";
|
|
5246
|
+
"recovery-decision": "recovery-decision";
|
|
5247
|
+
"user-decision": "user-decision";
|
|
5248
|
+
"resume-queue": "resume-queue";
|
|
5249
|
+
"fix-environment": "fix-environment";
|
|
5250
|
+
"fix-access": "fix-access";
|
|
5251
|
+
}>;
|
|
5252
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
5253
|
+
accepted: "accepted";
|
|
5254
|
+
cancelled: "cancelled";
|
|
5255
|
+
"recovery-awaiting-lead": "recovery-awaiting-lead";
|
|
5256
|
+
"recovery-analyzing": "recovery-analyzing";
|
|
5257
|
+
"recovery-applying": "recovery-applying";
|
|
5258
|
+
"recovery-retry-allowed": "recovery-retry-allowed";
|
|
5259
|
+
"recovery-retrying": "recovery-retrying";
|
|
5260
|
+
"recovery-awaiting-user": "recovery-awaiting-user";
|
|
5261
|
+
"recovery-stopped": "recovery-stopped";
|
|
5262
|
+
"corpus-adoption": "corpus-adoption";
|
|
5263
|
+
held: "held";
|
|
5264
|
+
"plan-review": "plan-review";
|
|
5265
|
+
"attempt-running": "attempt-running";
|
|
5266
|
+
"retry-within-budget": "retry-within-budget";
|
|
5267
|
+
"attempts-exhausted": "attempts-exhausted";
|
|
5268
|
+
"awaiting-claim": "awaiting-claim";
|
|
5269
|
+
}>>;
|
|
5270
|
+
property: z.ZodOptional<z.ZodString>;
|
|
5271
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5272
|
+
command: z.ZodOptional<z.ZodEnum<{
|
|
5273
|
+
"harness run": "harness run";
|
|
5274
|
+
"harness resume": "harness resume";
|
|
5275
|
+
}>>;
|
|
5276
|
+
workId: z.ZodOptional<z.ZodString>;
|
|
5277
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
5278
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
5279
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
5280
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
5281
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
5282
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
5283
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
5284
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
5285
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
5286
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
5287
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
5288
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
5289
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
5290
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
5291
|
+
LEASE_STALE: "LEASE_STALE";
|
|
5292
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
5293
|
+
PAUSED: "PAUSED";
|
|
5294
|
+
NOT_READY: "NOT_READY";
|
|
5295
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
5296
|
+
GATE_FAILED: "GATE_FAILED";
|
|
5297
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
5298
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
5299
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
5300
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
5301
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
5302
|
+
CANCELLED: "CANCELLED";
|
|
5303
|
+
NOT_FOUND: "NOT_FOUND";
|
|
5304
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
5305
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
5306
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
5307
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
5308
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
5309
|
+
GIT_FAILED: "GIT_FAILED";
|
|
5310
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
5311
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
5312
|
+
INTERNAL: "INTERNAL";
|
|
5313
|
+
}>>;
|
|
5314
|
+
}, z.core.$strict>;
|
|
5315
|
+
intentions: z.ZodArray<z.ZodString>;
|
|
5316
|
+
truncated: z.ZodObject<{
|
|
5317
|
+
works: z.ZodNumber;
|
|
5318
|
+
stops: z.ZodNumber;
|
|
5319
|
+
failures: z.ZodNumber;
|
|
5320
|
+
unfinished: z.ZodNumber;
|
|
5321
|
+
budgets: z.ZodNumber;
|
|
5322
|
+
budgetsWithin: z.ZodNumber;
|
|
5323
|
+
budgetsShared: z.ZodDefault<z.ZodNumber>;
|
|
5324
|
+
repairs: z.ZodNumber;
|
|
5325
|
+
intentions: z.ZodNumber;
|
|
5326
|
+
intentionsDropped: z.ZodNumber;
|
|
5327
|
+
bySize: z.ZodBoolean;
|
|
5328
|
+
}, z.core.$strict>;
|
|
5329
|
+
}, z.core.$strict>;
|
|
4317
5330
|
};
|