devcontour-harness 0.1.0-alpha.30 → 0.1.0-alpha.31
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 +23 -15
- package/docs/contracts.md +138 -2
- package/docs/release-notes/0.1.0-alpha.31.md +44 -0
- package/docs/upgrade.md +44 -0
- package/lib/agents/cli-adapter.js +1 -0
- package/lib/cli.js +23 -1
- package/lib/contracts/cli.d.ts +1077 -4
- 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 +414 -5
- package/lib/contracts/events.js +46 -1
- package/lib/contracts/execution.d.ts +112 -1
- package/lib/contracts/execution.js +38 -0
- package/lib/contracts/handoff.d.ts +694 -0
- package/lib/contracts/handoff.js +291 -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 +841 -2
- package/lib/contracts/published.js +2 -0
- package/lib/contracts/repair-policy.js +5 -0
- package/lib/contracts/report.d.ts +2 -0
- package/lib/control/harness.d.ts +37 -11
- package/lib/control/harness.js +3 -0
- package/lib/control/recovery.d.ts +1 -1
- package/lib/engine/engine.d.ts +15 -7
- package/lib/engine/engine.js +24 -0
- 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 +116 -11
- 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/lifecycle.js +1 -0
- 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 +1 -1
- package/lib/explain/state.js +12 -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 +153 -0
- package/lib/handoff/pack.d.ts +49 -0
- package/lib/handoff/pack.js +492 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +1 -0
- package/lib/integrations/connector/redact.d.ts +2 -13
- package/lib/integrations/connector/redact.js +2 -21
- package/lib/projections/attempt.d.ts +28 -0
- package/lib/projections/attempt.js +14 -0
- package/lib/projections/stop.d.ts +11 -1
- package/lib/projections/stop.js +29 -0
- package/lib/report/compute.js +1 -0
- 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 +5 -0
- 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 +1424 -0
- package/schemas/run-event.schema.json +360 -0
- package/schemas/stop-diagnosis.schema.json +1 -0
- package/schemas/value-report.schema.json +1 -0
|
@@ -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.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.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";
|
|
@@ -1795,6 +1843,7 @@ export declare const publishedSchemas: {
|
|
|
1795
1843
|
environment: "environment";
|
|
1796
1844
|
timeout: "timeout";
|
|
1797
1845
|
"provider-auth": "provider-auth";
|
|
1846
|
+
stalled: "stalled";
|
|
1798
1847
|
"stale-base": "stale-base";
|
|
1799
1848
|
"empty-result": "empty-result";
|
|
1800
1849
|
unfinished: "unfinished";
|
|
@@ -1856,6 +1905,45 @@ export declare const publishedSchemas: {
|
|
|
1856
1905
|
verificationId: z.ZodString;
|
|
1857
1906
|
workIds: z.ZodArray<z.ZodString>;
|
|
1858
1907
|
policyDigest: z.ZodString;
|
|
1908
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1909
|
+
state: z.ZodEnum<{
|
|
1910
|
+
active: "active";
|
|
1911
|
+
stalled: "stalled";
|
|
1912
|
+
quiet: "quiet";
|
|
1913
|
+
}>;
|
|
1914
|
+
previous: z.ZodEnum<{
|
|
1915
|
+
active: "active";
|
|
1916
|
+
stalled: "stalled";
|
|
1917
|
+
quiet: "quiet";
|
|
1918
|
+
}>;
|
|
1919
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1920
|
+
idleMs: z.ZodNumber;
|
|
1921
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1922
|
+
kind: z.ZodEnum<{
|
|
1923
|
+
gate: "gate";
|
|
1924
|
+
command: "command";
|
|
1925
|
+
agent: "agent";
|
|
1926
|
+
step: "step";
|
|
1927
|
+
}>;
|
|
1928
|
+
label: z.ZodString;
|
|
1929
|
+
}, z.core.$strict>>;
|
|
1930
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1931
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1932
|
+
report: "report";
|
|
1933
|
+
stop: "stop";
|
|
1934
|
+
}>>;
|
|
1935
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1936
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1937
|
+
pid: z.ZodNumber;
|
|
1938
|
+
parentPid: z.ZodNumber;
|
|
1939
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1940
|
+
command: z.ZodString;
|
|
1941
|
+
}, z.core.$strict>>;
|
|
1942
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1943
|
+
tail: z.ZodString;
|
|
1944
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1945
|
+
}, z.core.$strict>>;
|
|
1946
|
+
verificationId: z.ZodString;
|
|
1859
1947
|
}, z.core.$strict> | z.ZodObject<{
|
|
1860
1948
|
verificationId: z.ZodString;
|
|
1861
1949
|
status: z.ZodEnum<{
|
|
@@ -1917,7 +2005,7 @@ export declare const publishedSchemas: {
|
|
|
1917
2005
|
workId: z.ZodOptional<z.ZodString>;
|
|
1918
2006
|
runId: z.ZodOptional<z.ZodString>;
|
|
1919
2007
|
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">;
|
|
2008
|
+
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.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.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1921
2009
|
payload: z.ZodObject<{
|
|
1922
2010
|
digest: z.ZodString;
|
|
1923
2011
|
orders: z.ZodNumber;
|
|
@@ -2020,6 +2108,44 @@ export declare const publishedSchemas: {
|
|
|
2020
2108
|
passed: "passed";
|
|
2021
2109
|
failed: "failed";
|
|
2022
2110
|
}>>;
|
|
2111
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2112
|
+
state: z.ZodEnum<{
|
|
2113
|
+
active: "active";
|
|
2114
|
+
stalled: "stalled";
|
|
2115
|
+
quiet: "quiet";
|
|
2116
|
+
}>;
|
|
2117
|
+
previous: z.ZodEnum<{
|
|
2118
|
+
active: "active";
|
|
2119
|
+
stalled: "stalled";
|
|
2120
|
+
quiet: "quiet";
|
|
2121
|
+
}>;
|
|
2122
|
+
lastMovementAt: z.ZodISODateTime;
|
|
2123
|
+
idleMs: z.ZodNumber;
|
|
2124
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
2125
|
+
kind: z.ZodEnum<{
|
|
2126
|
+
gate: "gate";
|
|
2127
|
+
command: "command";
|
|
2128
|
+
agent: "agent";
|
|
2129
|
+
step: "step";
|
|
2130
|
+
}>;
|
|
2131
|
+
label: z.ZodString;
|
|
2132
|
+
}, z.core.$strict>>;
|
|
2133
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2134
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
2135
|
+
report: "report";
|
|
2136
|
+
stop: "stop";
|
|
2137
|
+
}>>;
|
|
2138
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
2139
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
2140
|
+
pid: z.ZodNumber;
|
|
2141
|
+
parentPid: z.ZodNumber;
|
|
2142
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
2143
|
+
command: z.ZodString;
|
|
2144
|
+
}, z.core.$strict>>;
|
|
2145
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2146
|
+
tail: z.ZodString;
|
|
2147
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
2148
|
+
}, z.core.$strict>>;
|
|
2023
2149
|
}, z.core.$strict> | z.ZodObject<{
|
|
2024
2150
|
failureKind: z.ZodEnum<{
|
|
2025
2151
|
gate: "gate";
|
|
@@ -2029,6 +2155,7 @@ export declare const publishedSchemas: {
|
|
|
2029
2155
|
environment: "environment";
|
|
2030
2156
|
timeout: "timeout";
|
|
2031
2157
|
"provider-auth": "provider-auth";
|
|
2158
|
+
stalled: "stalled";
|
|
2032
2159
|
"stale-base": "stale-base";
|
|
2033
2160
|
"empty-result": "empty-result";
|
|
2034
2161
|
unfinished: "unfinished";
|
|
@@ -2070,6 +2197,7 @@ export declare const publishedSchemas: {
|
|
|
2070
2197
|
environment: "environment";
|
|
2071
2198
|
timeout: "timeout";
|
|
2072
2199
|
"provider-auth": "provider-auth";
|
|
2200
|
+
stalled: "stalled";
|
|
2073
2201
|
"stale-base": "stale-base";
|
|
2074
2202
|
"empty-result": "empty-result";
|
|
2075
2203
|
unfinished: "unfinished";
|
|
@@ -2131,6 +2259,45 @@ export declare const publishedSchemas: {
|
|
|
2131
2259
|
verificationId: z.ZodString;
|
|
2132
2260
|
workIds: z.ZodArray<z.ZodString>;
|
|
2133
2261
|
policyDigest: z.ZodString;
|
|
2262
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2263
|
+
state: z.ZodEnum<{
|
|
2264
|
+
active: "active";
|
|
2265
|
+
stalled: "stalled";
|
|
2266
|
+
quiet: "quiet";
|
|
2267
|
+
}>;
|
|
2268
|
+
previous: z.ZodEnum<{
|
|
2269
|
+
active: "active";
|
|
2270
|
+
stalled: "stalled";
|
|
2271
|
+
quiet: "quiet";
|
|
2272
|
+
}>;
|
|
2273
|
+
lastMovementAt: z.ZodISODateTime;
|
|
2274
|
+
idleMs: z.ZodNumber;
|
|
2275
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
2276
|
+
kind: z.ZodEnum<{
|
|
2277
|
+
gate: "gate";
|
|
2278
|
+
command: "command";
|
|
2279
|
+
agent: "agent";
|
|
2280
|
+
step: "step";
|
|
2281
|
+
}>;
|
|
2282
|
+
label: z.ZodString;
|
|
2283
|
+
}, z.core.$strict>>;
|
|
2284
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2285
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
2286
|
+
report: "report";
|
|
2287
|
+
stop: "stop";
|
|
2288
|
+
}>>;
|
|
2289
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
2290
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
2291
|
+
pid: z.ZodNumber;
|
|
2292
|
+
parentPid: z.ZodNumber;
|
|
2293
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
2294
|
+
command: z.ZodString;
|
|
2295
|
+
}, z.core.$strict>>;
|
|
2296
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2297
|
+
tail: z.ZodString;
|
|
2298
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
2299
|
+
}, z.core.$strict>>;
|
|
2300
|
+
verificationId: z.ZodString;
|
|
2134
2301
|
}, z.core.$strict> | z.ZodObject<{
|
|
2135
2302
|
verificationId: z.ZodString;
|
|
2136
2303
|
status: z.ZodEnum<{
|
|
@@ -2589,6 +2756,7 @@ export declare const publishedSchemas: {
|
|
|
2589
2756
|
environment: "environment";
|
|
2590
2757
|
timeout: "timeout";
|
|
2591
2758
|
"provider-auth": "provider-auth";
|
|
2759
|
+
stalled: "stalled";
|
|
2592
2760
|
"stale-base": "stale-base";
|
|
2593
2761
|
"empty-result": "empty-result";
|
|
2594
2762
|
unfinished: "unfinished";
|
|
@@ -2805,6 +2973,7 @@ export declare const publishedSchemas: {
|
|
|
2805
2973
|
environment: "environment";
|
|
2806
2974
|
timeout: "timeout";
|
|
2807
2975
|
"provider-auth": "provider-auth";
|
|
2976
|
+
stalled: "stalled";
|
|
2808
2977
|
"stale-base": "stale-base";
|
|
2809
2978
|
"empty-result": "empty-result";
|
|
2810
2979
|
unfinished: "unfinished";
|
|
@@ -2917,6 +3086,7 @@ export declare const publishedSchemas: {
|
|
|
2917
3086
|
environment: "environment";
|
|
2918
3087
|
timeout: "timeout";
|
|
2919
3088
|
"provider-auth": "provider-auth";
|
|
3089
|
+
stalled: "stalled";
|
|
2920
3090
|
"stale-base": "stale-base";
|
|
2921
3091
|
"empty-result": "empty-result";
|
|
2922
3092
|
unfinished: "unfinished";
|
|
@@ -2947,6 +3117,29 @@ export declare const publishedSchemas: {
|
|
|
2947
3117
|
approvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2948
3118
|
readyAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2949
3119
|
}, z.core.$strict>>;
|
|
3120
|
+
liveness: z.ZodOptional<z.ZodObject<{
|
|
3121
|
+
state: z.ZodEnum<{
|
|
3122
|
+
active: "active";
|
|
3123
|
+
stalled: "stalled";
|
|
3124
|
+
quiet: "quiet";
|
|
3125
|
+
}>;
|
|
3126
|
+
at: z.ZodISODateTime;
|
|
3127
|
+
lastMovementAt: z.ZodISODateTime;
|
|
3128
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
3129
|
+
kind: z.ZodEnum<{
|
|
3130
|
+
gate: "gate";
|
|
3131
|
+
command: "command";
|
|
3132
|
+
agent: "agent";
|
|
3133
|
+
step: "step";
|
|
3134
|
+
}>;
|
|
3135
|
+
label: z.ZodString;
|
|
3136
|
+
}, z.core.$strict>>;
|
|
3137
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
3138
|
+
report: "report";
|
|
3139
|
+
stop: "stop";
|
|
3140
|
+
}>>;
|
|
3141
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
3142
|
+
}, z.core.$strict>>;
|
|
2950
3143
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2951
3144
|
id: z.ZodString;
|
|
2952
3145
|
stage: z.ZodString;
|
|
@@ -3461,6 +3654,7 @@ export declare const publishedSchemas: {
|
|
|
3461
3654
|
environment: "environment";
|
|
3462
3655
|
timeout: "timeout";
|
|
3463
3656
|
"provider-auth": "provider-auth";
|
|
3657
|
+
stalled: "stalled";
|
|
3464
3658
|
"stale-base": "stale-base";
|
|
3465
3659
|
"empty-result": "empty-result";
|
|
3466
3660
|
unfinished: "unfinished";
|
|
@@ -3688,6 +3882,7 @@ export declare const publishedSchemas: {
|
|
|
3688
3882
|
environment: "environment";
|
|
3689
3883
|
timeout: "timeout";
|
|
3690
3884
|
"provider-auth": "provider-auth";
|
|
3885
|
+
stalled: "stalled";
|
|
3691
3886
|
"stale-base": "stale-base";
|
|
3692
3887
|
"empty-result": "empty-result";
|
|
3693
3888
|
unfinished: "unfinished";
|
|
@@ -4008,6 +4203,7 @@ export declare const publishedSchemas: {
|
|
|
4008
4203
|
environment: "environment";
|
|
4009
4204
|
timeout: "timeout";
|
|
4010
4205
|
"provider-auth": "provider-auth";
|
|
4206
|
+
stalled: "stalled";
|
|
4011
4207
|
"stale-base": "stale-base";
|
|
4012
4208
|
"empty-result": "empty-result";
|
|
4013
4209
|
unfinished: "unfinished";
|
|
@@ -4314,4 +4510,647 @@ export declare const publishedSchemas: {
|
|
|
4314
4510
|
text: z.ZodString;
|
|
4315
4511
|
}, z.core.$strict>>;
|
|
4316
4512
|
}, z.core.$strict>;
|
|
4513
|
+
readonly 'handoff-pack': z.ZodObject<{
|
|
4514
|
+
handoffVersion: z.ZodLiteral<1>;
|
|
4515
|
+
at: z.ZodISODateTime;
|
|
4516
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
4517
|
+
limits: z.ZodObject<{
|
|
4518
|
+
maxAttempts: z.ZodNumber;
|
|
4519
|
+
repairBudget: z.ZodNumber;
|
|
4520
|
+
}, z.core.$strict>;
|
|
4521
|
+
summary: z.ZodObject<{
|
|
4522
|
+
works: z.ZodNumber;
|
|
4523
|
+
open: z.ZodNumber;
|
|
4524
|
+
done: z.ZodNumber;
|
|
4525
|
+
cancelled: z.ZodNumber;
|
|
4526
|
+
byStatus: z.ZodArray<z.ZodObject<{
|
|
4527
|
+
status: z.ZodEnum<{
|
|
4528
|
+
ready: "ready";
|
|
4529
|
+
failed: "failed";
|
|
4530
|
+
cancelled: "cancelled";
|
|
4531
|
+
draft: "draft";
|
|
4532
|
+
running: "running";
|
|
4533
|
+
verifying: "verifying";
|
|
4534
|
+
reviewing: "reviewing";
|
|
4535
|
+
integrating: "integrating";
|
|
4536
|
+
done: "done";
|
|
4537
|
+
}>;
|
|
4538
|
+
count: z.ZodNumber;
|
|
4539
|
+
}, z.core.$strict>>;
|
|
4540
|
+
}, z.core.$strict>;
|
|
4541
|
+
queue: z.ZodObject<{
|
|
4542
|
+
paused: z.ZodBoolean;
|
|
4543
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4544
|
+
runtime: "runtime";
|
|
4545
|
+
operator: "operator";
|
|
4546
|
+
shutdown: "shutdown";
|
|
4547
|
+
"base-check": "base-check";
|
|
4548
|
+
reconfigure: "reconfigure";
|
|
4549
|
+
}>>;
|
|
4550
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4551
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
4552
|
+
operation: z.ZodOptional<z.ZodString>;
|
|
4553
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4554
|
+
gate: "gate";
|
|
4555
|
+
unknown: "unknown";
|
|
4556
|
+
review: "review";
|
|
4557
|
+
cancelled: "cancelled";
|
|
4558
|
+
environment: "environment";
|
|
4559
|
+
timeout: "timeout";
|
|
4560
|
+
"provider-auth": "provider-auth";
|
|
4561
|
+
stalled: "stalled";
|
|
4562
|
+
"stale-base": "stale-base";
|
|
4563
|
+
"empty-result": "empty-result";
|
|
4564
|
+
unfinished: "unfinished";
|
|
4565
|
+
"scope-violation": "scope-violation";
|
|
4566
|
+
"review-protocol": "review-protocol";
|
|
4567
|
+
merge: "merge";
|
|
4568
|
+
budget: "budget";
|
|
4569
|
+
"needs-lead": "needs-lead";
|
|
4570
|
+
}>>>;
|
|
4571
|
+
liftedByRun: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4572
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
4573
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
4574
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
4575
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
4576
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
4577
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
4578
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
4579
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
4580
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
4581
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
4582
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
4583
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
4584
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
4585
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
4586
|
+
LEASE_STALE: "LEASE_STALE";
|
|
4587
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
4588
|
+
PAUSED: "PAUSED";
|
|
4589
|
+
NOT_READY: "NOT_READY";
|
|
4590
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
4591
|
+
GATE_FAILED: "GATE_FAILED";
|
|
4592
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
4593
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
4594
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
4595
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
4596
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
4597
|
+
CANCELLED: "CANCELLED";
|
|
4598
|
+
NOT_FOUND: "NOT_FOUND";
|
|
4599
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
4600
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
4601
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
4602
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
4603
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
4604
|
+
GIT_FAILED: "GIT_FAILED";
|
|
4605
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
4606
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
4607
|
+
INTERNAL: "INTERNAL";
|
|
4608
|
+
}>>;
|
|
4609
|
+
actor: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4610
|
+
controller: "controller";
|
|
4611
|
+
lead: "lead";
|
|
4612
|
+
user: "user";
|
|
4613
|
+
}>>>;
|
|
4614
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
4615
|
+
none: "none";
|
|
4616
|
+
wait: "wait";
|
|
4617
|
+
retry: "retry";
|
|
4618
|
+
"review-plan": "review-plan";
|
|
4619
|
+
"diagnose-failure": "diagnose-failure";
|
|
4620
|
+
"reset-attempts": "reset-attempts";
|
|
4621
|
+
"raise-budget": "raise-budget";
|
|
4622
|
+
"replan-dependents": "replan-dependents";
|
|
4623
|
+
"recovery-decision": "recovery-decision";
|
|
4624
|
+
"user-decision": "user-decision";
|
|
4625
|
+
"resume-queue": "resume-queue";
|
|
4626
|
+
"fix-environment": "fix-environment";
|
|
4627
|
+
"fix-access": "fix-access";
|
|
4628
|
+
}>>;
|
|
4629
|
+
}, z.core.$strict>;
|
|
4630
|
+
controller: z.ZodOptional<z.ZodObject<{
|
|
4631
|
+
owner: z.ZodString;
|
|
4632
|
+
until: z.ZodISODateTime;
|
|
4633
|
+
live: z.ZodBoolean;
|
|
4634
|
+
}, z.core.$strict>>;
|
|
4635
|
+
active: z.ZodArray<z.ZodObject<{
|
|
4636
|
+
workId: z.ZodString;
|
|
4637
|
+
title: z.ZodString;
|
|
4638
|
+
runId: z.ZodString;
|
|
4639
|
+
attempt: z.ZodNumber;
|
|
4640
|
+
phase: z.ZodEnum<{
|
|
4641
|
+
ready: "ready";
|
|
4642
|
+
failed: "failed";
|
|
4643
|
+
cancelled: "cancelled";
|
|
4644
|
+
draft: "draft";
|
|
4645
|
+
running: "running";
|
|
4646
|
+
verifying: "verifying";
|
|
4647
|
+
reviewing: "reviewing";
|
|
4648
|
+
integrating: "integrating";
|
|
4649
|
+
done: "done";
|
|
4650
|
+
}>;
|
|
4651
|
+
runtime: z.ZodString;
|
|
4652
|
+
elapsedMs: z.ZodNumber;
|
|
4653
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
4654
|
+
name: z.ZodString;
|
|
4655
|
+
elapsedMs: z.ZodNumber;
|
|
4656
|
+
}, z.core.$strict>>;
|
|
4657
|
+
sinceHeartbeatMs: z.ZodOptional<z.ZodNumber>;
|
|
4658
|
+
leaseUntil: z.ZodISODateTime;
|
|
4659
|
+
stale: z.ZodBoolean;
|
|
4660
|
+
gates: z.ZodObject<{
|
|
4661
|
+
phase: z.ZodEnum<{
|
|
4662
|
+
candidate: "candidate";
|
|
4663
|
+
integration: "integration";
|
|
4664
|
+
}>;
|
|
4665
|
+
required: z.ZodNumber;
|
|
4666
|
+
passed: z.ZodNumber;
|
|
4667
|
+
failed: z.ZodNumber;
|
|
4668
|
+
remaining: z.ZodNumber;
|
|
4669
|
+
}, z.core.$strict>;
|
|
4670
|
+
}, z.core.$strict>>;
|
|
4671
|
+
unfinished: z.ZodArray<z.ZodObject<{
|
|
4672
|
+
runId: z.ZodString;
|
|
4673
|
+
workId: z.ZodString;
|
|
4674
|
+
attempt: z.ZodNumber;
|
|
4675
|
+
phase: z.ZodEnum<{
|
|
4676
|
+
ready: "ready";
|
|
4677
|
+
failed: "failed";
|
|
4678
|
+
cancelled: "cancelled";
|
|
4679
|
+
draft: "draft";
|
|
4680
|
+
running: "running";
|
|
4681
|
+
verifying: "verifying";
|
|
4682
|
+
reviewing: "reviewing";
|
|
4683
|
+
integrating: "integrating";
|
|
4684
|
+
done: "done";
|
|
4685
|
+
}>;
|
|
4686
|
+
startedAt: z.ZodISODateTime;
|
|
4687
|
+
stale: z.ZodBoolean;
|
|
4688
|
+
current: z.ZodBoolean;
|
|
4689
|
+
interrupted: z.ZodOptional<z.ZodLiteral<"shutdown">>;
|
|
4690
|
+
}, z.core.$strict>>;
|
|
4691
|
+
works: z.ZodArray<z.ZodObject<{
|
|
4692
|
+
id: z.ZodString;
|
|
4693
|
+
graphId: z.ZodString;
|
|
4694
|
+
title: z.ZodString;
|
|
4695
|
+
status: z.ZodEnum<{
|
|
4696
|
+
ready: "ready";
|
|
4697
|
+
failed: "failed";
|
|
4698
|
+
cancelled: "cancelled";
|
|
4699
|
+
draft: "draft";
|
|
4700
|
+
running: "running";
|
|
4701
|
+
verifying: "verifying";
|
|
4702
|
+
reviewing: "reviewing";
|
|
4703
|
+
integrating: "integrating";
|
|
4704
|
+
done: "done";
|
|
4705
|
+
}>;
|
|
4706
|
+
attempt: z.ZodNumber;
|
|
4707
|
+
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
4708
|
+
gate: "gate";
|
|
4709
|
+
unknown: "unknown";
|
|
4710
|
+
review: "review";
|
|
4711
|
+
cancelled: "cancelled";
|
|
4712
|
+
environment: "environment";
|
|
4713
|
+
timeout: "timeout";
|
|
4714
|
+
"provider-auth": "provider-auth";
|
|
4715
|
+
stalled: "stalled";
|
|
4716
|
+
"stale-base": "stale-base";
|
|
4717
|
+
"empty-result": "empty-result";
|
|
4718
|
+
unfinished: "unfinished";
|
|
4719
|
+
"scope-violation": "scope-violation";
|
|
4720
|
+
"review-protocol": "review-protocol";
|
|
4721
|
+
merge: "merge";
|
|
4722
|
+
budget: "budget";
|
|
4723
|
+
"needs-lead": "needs-lead";
|
|
4724
|
+
}>>;
|
|
4725
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
4726
|
+
hold: z.ZodOptional<z.ZodObject<{
|
|
4727
|
+
operation: z.ZodString;
|
|
4728
|
+
reason: z.ZodString;
|
|
4729
|
+
}, z.core.$strict>>;
|
|
4730
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
4731
|
+
status: z.ZodString;
|
|
4732
|
+
property: z.ZodString;
|
|
4733
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4734
|
+
proposal: z.ZodOptional<z.ZodString>;
|
|
4735
|
+
}, z.core.$strict>>;
|
|
4736
|
+
blockers: z.ZodArray<z.ZodObject<{
|
|
4737
|
+
code: z.ZodEnum<{
|
|
4738
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
4739
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
4740
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
4741
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
4742
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
4743
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
4744
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
4745
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
4746
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
4747
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
4748
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
4749
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
4750
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
4751
|
+
LEASE_STALE: "LEASE_STALE";
|
|
4752
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
4753
|
+
PAUSED: "PAUSED";
|
|
4754
|
+
NOT_READY: "NOT_READY";
|
|
4755
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
4756
|
+
GATE_FAILED: "GATE_FAILED";
|
|
4757
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
4758
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
4759
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
4760
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
4761
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
4762
|
+
CANCELLED: "CANCELLED";
|
|
4763
|
+
NOT_FOUND: "NOT_FOUND";
|
|
4764
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
4765
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
4766
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
4767
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
4768
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
4769
|
+
GIT_FAILED: "GIT_FAILED";
|
|
4770
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
4771
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
4772
|
+
INTERNAL: "INTERNAL";
|
|
4773
|
+
}>;
|
|
4774
|
+
message: z.ZodString;
|
|
4775
|
+
}, z.core.$strict>>;
|
|
4776
|
+
blockersTruncated: z.ZodOptional<z.ZodNumber>;
|
|
4777
|
+
next: z.ZodObject<{
|
|
4778
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
4779
|
+
controller: "controller";
|
|
4780
|
+
lead: "lead";
|
|
4781
|
+
user: "user";
|
|
4782
|
+
}>>;
|
|
4783
|
+
action: z.ZodEnum<{
|
|
4784
|
+
none: "none";
|
|
4785
|
+
wait: "wait";
|
|
4786
|
+
retry: "retry";
|
|
4787
|
+
"review-plan": "review-plan";
|
|
4788
|
+
"diagnose-failure": "diagnose-failure";
|
|
4789
|
+
"reset-attempts": "reset-attempts";
|
|
4790
|
+
"raise-budget": "raise-budget";
|
|
4791
|
+
"replan-dependents": "replan-dependents";
|
|
4792
|
+
"recovery-decision": "recovery-decision";
|
|
4793
|
+
"user-decision": "user-decision";
|
|
4794
|
+
"resume-queue": "resume-queue";
|
|
4795
|
+
"fix-environment": "fix-environment";
|
|
4796
|
+
"fix-access": "fix-access";
|
|
4797
|
+
}>;
|
|
4798
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
4799
|
+
accepted: "accepted";
|
|
4800
|
+
cancelled: "cancelled";
|
|
4801
|
+
"recovery-awaiting-lead": "recovery-awaiting-lead";
|
|
4802
|
+
"recovery-analyzing": "recovery-analyzing";
|
|
4803
|
+
"recovery-applying": "recovery-applying";
|
|
4804
|
+
"recovery-retry-allowed": "recovery-retry-allowed";
|
|
4805
|
+
"recovery-retrying": "recovery-retrying";
|
|
4806
|
+
"recovery-awaiting-user": "recovery-awaiting-user";
|
|
4807
|
+
"recovery-stopped": "recovery-stopped";
|
|
4808
|
+
"corpus-adoption": "corpus-adoption";
|
|
4809
|
+
held: "held";
|
|
4810
|
+
"plan-review": "plan-review";
|
|
4811
|
+
"attempt-running": "attempt-running";
|
|
4812
|
+
"retry-within-budget": "retry-within-budget";
|
|
4813
|
+
"attempts-exhausted": "attempts-exhausted";
|
|
4814
|
+
"awaiting-claim": "awaiting-claim";
|
|
4815
|
+
}>>;
|
|
4816
|
+
property: z.ZodOptional<z.ZodString>;
|
|
4817
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4818
|
+
command: z.ZodOptional<z.ZodEnum<{
|
|
4819
|
+
"harness run": "harness run";
|
|
4820
|
+
"harness resume": "harness resume";
|
|
4821
|
+
}>>;
|
|
4822
|
+
}, z.core.$strict>;
|
|
4823
|
+
}, z.core.$strict>>;
|
|
4824
|
+
stops: z.ZodArray<z.ZodObject<{
|
|
4825
|
+
code: z.ZodEnum<{
|
|
4826
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
4827
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
4828
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
4829
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
4830
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
4831
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
4832
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
4833
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
4834
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
4835
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
4836
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
4837
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
4838
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
4839
|
+
LEASE_STALE: "LEASE_STALE";
|
|
4840
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
4841
|
+
PAUSED: "PAUSED";
|
|
4842
|
+
NOT_READY: "NOT_READY";
|
|
4843
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
4844
|
+
GATE_FAILED: "GATE_FAILED";
|
|
4845
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
4846
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
4847
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
4848
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
4849
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
4850
|
+
CANCELLED: "CANCELLED";
|
|
4851
|
+
NOT_FOUND: "NOT_FOUND";
|
|
4852
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
4853
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
4854
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
4855
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
4856
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
4857
|
+
GIT_FAILED: "GIT_FAILED";
|
|
4858
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
4859
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
4860
|
+
INTERNAL: "INTERNAL";
|
|
4861
|
+
}>;
|
|
4862
|
+
cause: z.ZodEnum<{
|
|
4863
|
+
gate: "gate";
|
|
4864
|
+
unknown: "unknown";
|
|
4865
|
+
review: "review";
|
|
4866
|
+
cancelled: "cancelled";
|
|
4867
|
+
environment: "environment";
|
|
4868
|
+
timeout: "timeout";
|
|
4869
|
+
"provider-auth": "provider-auth";
|
|
4870
|
+
stalled: "stalled";
|
|
4871
|
+
"stale-base": "stale-base";
|
|
4872
|
+
"empty-result": "empty-result";
|
|
4873
|
+
unfinished: "unfinished";
|
|
4874
|
+
"scope-violation": "scope-violation";
|
|
4875
|
+
"review-protocol": "review-protocol";
|
|
4876
|
+
merge: "merge";
|
|
4877
|
+
budget: "budget";
|
|
4878
|
+
"needs-lead": "needs-lead";
|
|
4879
|
+
"runtime-missing": "runtime-missing";
|
|
4880
|
+
"controller-busy": "controller-busy";
|
|
4881
|
+
"operator-pause": "operator-pause";
|
|
4882
|
+
"approval-required": "approval-required";
|
|
4883
|
+
"not-ready": "not-ready";
|
|
4884
|
+
}>;
|
|
4885
|
+
phase: z.ZodEnum<{
|
|
4886
|
+
gates: "gates";
|
|
4887
|
+
preflight: "preflight";
|
|
4888
|
+
review: "review";
|
|
4889
|
+
integration: "integration";
|
|
4890
|
+
delivery: "delivery";
|
|
4891
|
+
claim: "claim";
|
|
4892
|
+
implementation: "implementation";
|
|
4893
|
+
}>;
|
|
4894
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
4895
|
+
controller: "controller";
|
|
4896
|
+
lead: "lead";
|
|
4897
|
+
user: "user";
|
|
4898
|
+
}>>;
|
|
4899
|
+
action: z.ZodEnum<{
|
|
4900
|
+
none: "none";
|
|
4901
|
+
wait: "wait";
|
|
4902
|
+
retry: "retry";
|
|
4903
|
+
"review-plan": "review-plan";
|
|
4904
|
+
"diagnose-failure": "diagnose-failure";
|
|
4905
|
+
"reset-attempts": "reset-attempts";
|
|
4906
|
+
"raise-budget": "raise-budget";
|
|
4907
|
+
"replan-dependents": "replan-dependents";
|
|
4908
|
+
"recovery-decision": "recovery-decision";
|
|
4909
|
+
"user-decision": "user-decision";
|
|
4910
|
+
"resume-queue": "resume-queue";
|
|
4911
|
+
"fix-environment": "fix-environment";
|
|
4912
|
+
"fix-access": "fix-access";
|
|
4913
|
+
}>;
|
|
4914
|
+
retryPlanned: z.ZodBoolean;
|
|
4915
|
+
message: z.ZodString;
|
|
4916
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
4917
|
+
kind: z.ZodEnum<{
|
|
4918
|
+
attempt: "attempt";
|
|
4919
|
+
evidence: "evidence";
|
|
4920
|
+
event: "event";
|
|
4921
|
+
doctor: "doctor";
|
|
4922
|
+
}>;
|
|
4923
|
+
id: z.ZodString;
|
|
4924
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
4925
|
+
}, z.core.$strict>>;
|
|
4926
|
+
workId: z.ZodOptional<z.ZodString>;
|
|
4927
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
4928
|
+
queue: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4929
|
+
works: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4930
|
+
worksCount: z.ZodOptional<z.ZodNumber>;
|
|
4931
|
+
}, z.core.$strict>>;
|
|
4932
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
4933
|
+
runId: z.ZodString;
|
|
4934
|
+
workId: z.ZodString;
|
|
4935
|
+
workStatus: z.ZodOptional<z.ZodEnum<{
|
|
4936
|
+
ready: "ready";
|
|
4937
|
+
failed: "failed";
|
|
4938
|
+
cancelled: "cancelled";
|
|
4939
|
+
draft: "draft";
|
|
4940
|
+
running: "running";
|
|
4941
|
+
verifying: "verifying";
|
|
4942
|
+
reviewing: "reviewing";
|
|
4943
|
+
integrating: "integrating";
|
|
4944
|
+
done: "done";
|
|
4945
|
+
}>>;
|
|
4946
|
+
attempt: z.ZodNumber;
|
|
4947
|
+
status: z.ZodEnum<{
|
|
4948
|
+
failed: "failed";
|
|
4949
|
+
expired: "expired";
|
|
4950
|
+
}>;
|
|
4951
|
+
phase: z.ZodEnum<{
|
|
4952
|
+
ready: "ready";
|
|
4953
|
+
failed: "failed";
|
|
4954
|
+
cancelled: "cancelled";
|
|
4955
|
+
draft: "draft";
|
|
4956
|
+
running: "running";
|
|
4957
|
+
verifying: "verifying";
|
|
4958
|
+
reviewing: "reviewing";
|
|
4959
|
+
integrating: "integrating";
|
|
4960
|
+
done: "done";
|
|
4961
|
+
}>;
|
|
4962
|
+
finishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
4963
|
+
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
4964
|
+
gate: "gate";
|
|
4965
|
+
unknown: "unknown";
|
|
4966
|
+
review: "review";
|
|
4967
|
+
cancelled: "cancelled";
|
|
4968
|
+
environment: "environment";
|
|
4969
|
+
timeout: "timeout";
|
|
4970
|
+
"provider-auth": "provider-auth";
|
|
4971
|
+
stalled: "stalled";
|
|
4972
|
+
"stale-base": "stale-base";
|
|
4973
|
+
"empty-result": "empty-result";
|
|
4974
|
+
unfinished: "unfinished";
|
|
4975
|
+
"scope-violation": "scope-violation";
|
|
4976
|
+
"review-protocol": "review-protocol";
|
|
4977
|
+
merge: "merge";
|
|
4978
|
+
budget: "budget";
|
|
4979
|
+
"needs-lead": "needs-lead";
|
|
4980
|
+
}>>;
|
|
4981
|
+
code: z.ZodEnum<{
|
|
4982
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
4983
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
4984
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
4985
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
4986
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
4987
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
4988
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
4989
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
4990
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
4991
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
4992
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
4993
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
4994
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
4995
|
+
LEASE_STALE: "LEASE_STALE";
|
|
4996
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
4997
|
+
PAUSED: "PAUSED";
|
|
4998
|
+
NOT_READY: "NOT_READY";
|
|
4999
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
5000
|
+
GATE_FAILED: "GATE_FAILED";
|
|
5001
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
5002
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
5003
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
5004
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
5005
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
5006
|
+
CANCELLED: "CANCELLED";
|
|
5007
|
+
NOT_FOUND: "NOT_FOUND";
|
|
5008
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
5009
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
5010
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
5011
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
5012
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
5013
|
+
GIT_FAILED: "GIT_FAILED";
|
|
5014
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
5015
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
5016
|
+
INTERNAL: "INTERNAL";
|
|
5017
|
+
}>;
|
|
5018
|
+
error: z.ZodOptional<z.ZodString>;
|
|
5019
|
+
}, z.core.$strict>>;
|
|
5020
|
+
budgets: z.ZodOptional<z.ZodObject<{
|
|
5021
|
+
onUnknown: z.ZodEnum<{
|
|
5022
|
+
continue: "continue";
|
|
5023
|
+
stop: "stop";
|
|
5024
|
+
}>;
|
|
5025
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
5026
|
+
scope: z.ZodEnum<{
|
|
5027
|
+
work: "work";
|
|
5028
|
+
group: "group";
|
|
5029
|
+
total: "total";
|
|
5030
|
+
}>;
|
|
5031
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5032
|
+
state: z.ZodEnum<{
|
|
5033
|
+
exceeded: "exceeded";
|
|
5034
|
+
undetermined: "undetermined";
|
|
5035
|
+
within: "within";
|
|
5036
|
+
}>;
|
|
5037
|
+
limitUsd: z.ZodOptional<z.ZodNumber>;
|
|
5038
|
+
limitMs: z.ZodOptional<z.ZodNumber>;
|
|
5039
|
+
reportedUsd: z.ZodNumber;
|
|
5040
|
+
estimatedUsd: z.ZodNumber;
|
|
5041
|
+
complete: z.ZodBoolean;
|
|
5042
|
+
unknownCalls: z.ZodNumber;
|
|
5043
|
+
unfinishedCalls: z.ZodNumber;
|
|
5044
|
+
abandonedCalls: z.ZodNumber;
|
|
5045
|
+
uncoveredRuns: z.ZodNumber;
|
|
5046
|
+
durationMs: z.ZodNumber;
|
|
5047
|
+
remainingUsd: z.ZodNullable<z.ZodNumber>;
|
|
5048
|
+
remainingMs: z.ZodNullable<z.ZodNumber>;
|
|
5049
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5050
|
+
}, z.core.$strict>>;
|
|
5051
|
+
}, z.core.$strict>>;
|
|
5052
|
+
repairs: z.ZodArray<z.ZodObject<{
|
|
5053
|
+
graphId: z.ZodString;
|
|
5054
|
+
status: z.ZodString;
|
|
5055
|
+
used: z.ZodNumber;
|
|
5056
|
+
budget: z.ZodNumber;
|
|
5057
|
+
}, z.core.$strict>>;
|
|
5058
|
+
next: z.ZodObject<{
|
|
5059
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
5060
|
+
controller: "controller";
|
|
5061
|
+
lead: "lead";
|
|
5062
|
+
user: "user";
|
|
5063
|
+
}>>;
|
|
5064
|
+
action: z.ZodEnum<{
|
|
5065
|
+
none: "none";
|
|
5066
|
+
wait: "wait";
|
|
5067
|
+
retry: "retry";
|
|
5068
|
+
"review-plan": "review-plan";
|
|
5069
|
+
"diagnose-failure": "diagnose-failure";
|
|
5070
|
+
"reset-attempts": "reset-attempts";
|
|
5071
|
+
"raise-budget": "raise-budget";
|
|
5072
|
+
"replan-dependents": "replan-dependents";
|
|
5073
|
+
"recovery-decision": "recovery-decision";
|
|
5074
|
+
"user-decision": "user-decision";
|
|
5075
|
+
"resume-queue": "resume-queue";
|
|
5076
|
+
"fix-environment": "fix-environment";
|
|
5077
|
+
"fix-access": "fix-access";
|
|
5078
|
+
}>;
|
|
5079
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
5080
|
+
accepted: "accepted";
|
|
5081
|
+
cancelled: "cancelled";
|
|
5082
|
+
"recovery-awaiting-lead": "recovery-awaiting-lead";
|
|
5083
|
+
"recovery-analyzing": "recovery-analyzing";
|
|
5084
|
+
"recovery-applying": "recovery-applying";
|
|
5085
|
+
"recovery-retry-allowed": "recovery-retry-allowed";
|
|
5086
|
+
"recovery-retrying": "recovery-retrying";
|
|
5087
|
+
"recovery-awaiting-user": "recovery-awaiting-user";
|
|
5088
|
+
"recovery-stopped": "recovery-stopped";
|
|
5089
|
+
"corpus-adoption": "corpus-adoption";
|
|
5090
|
+
held: "held";
|
|
5091
|
+
"plan-review": "plan-review";
|
|
5092
|
+
"attempt-running": "attempt-running";
|
|
5093
|
+
"retry-within-budget": "retry-within-budget";
|
|
5094
|
+
"attempts-exhausted": "attempts-exhausted";
|
|
5095
|
+
"awaiting-claim": "awaiting-claim";
|
|
5096
|
+
}>>;
|
|
5097
|
+
property: z.ZodOptional<z.ZodString>;
|
|
5098
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5099
|
+
command: z.ZodOptional<z.ZodEnum<{
|
|
5100
|
+
"harness run": "harness run";
|
|
5101
|
+
"harness resume": "harness resume";
|
|
5102
|
+
}>>;
|
|
5103
|
+
workId: z.ZodOptional<z.ZodString>;
|
|
5104
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
5105
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
5106
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
5107
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
5108
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
5109
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
5110
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
5111
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
5112
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
5113
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
5114
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
5115
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
5116
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
5117
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
5118
|
+
LEASE_STALE: "LEASE_STALE";
|
|
5119
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
5120
|
+
PAUSED: "PAUSED";
|
|
5121
|
+
NOT_READY: "NOT_READY";
|
|
5122
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
5123
|
+
GATE_FAILED: "GATE_FAILED";
|
|
5124
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
5125
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
5126
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
5127
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
5128
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
5129
|
+
CANCELLED: "CANCELLED";
|
|
5130
|
+
NOT_FOUND: "NOT_FOUND";
|
|
5131
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
5132
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
5133
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
5134
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
5135
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
5136
|
+
GIT_FAILED: "GIT_FAILED";
|
|
5137
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
5138
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
5139
|
+
INTERNAL: "INTERNAL";
|
|
5140
|
+
}>>;
|
|
5141
|
+
}, z.core.$strict>;
|
|
5142
|
+
intentions: z.ZodArray<z.ZodString>;
|
|
5143
|
+
truncated: z.ZodObject<{
|
|
5144
|
+
works: z.ZodNumber;
|
|
5145
|
+
stops: z.ZodNumber;
|
|
5146
|
+
failures: z.ZodNumber;
|
|
5147
|
+
unfinished: z.ZodNumber;
|
|
5148
|
+
budgets: z.ZodNumber;
|
|
5149
|
+
budgetsWithin: z.ZodNumber;
|
|
5150
|
+
repairs: z.ZodNumber;
|
|
5151
|
+
intentions: z.ZodNumber;
|
|
5152
|
+
intentionsDropped: z.ZodNumber;
|
|
5153
|
+
bySize: z.ZodBoolean;
|
|
5154
|
+
}, z.core.$strict>;
|
|
5155
|
+
}, z.core.$strict>;
|
|
4317
5156
|
};
|