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
package/lib/contracts/cli.d.ts
CHANGED
|
@@ -372,6 +372,29 @@ export declare const cliCommands: {
|
|
|
372
372
|
}];
|
|
373
373
|
readonly refusals: ["NOT_FOUND", "PATH_CONFLICT"];
|
|
374
374
|
};
|
|
375
|
+
readonly handoff: {
|
|
376
|
+
readonly description: "Пакет передачи контекста для новой сессии ведущего агента из хранилища: активная работа и стадия, решения и остановки, незавершённые попытки, последние провалы, бюджеты, следующий шаг; только чтение";
|
|
377
|
+
readonly writes: false;
|
|
378
|
+
readonly idempotency: "Только чтение; агент добавляет только намерения (--intent)";
|
|
379
|
+
readonly args: [CliArgument, {
|
|
380
|
+
readonly name: "--graph";
|
|
381
|
+
readonly value: "id";
|
|
382
|
+
readonly required: false;
|
|
383
|
+
readonly description: "Только этот граф";
|
|
384
|
+
}, {
|
|
385
|
+
readonly name: "--intent";
|
|
386
|
+
readonly value: "text";
|
|
387
|
+
readonly required: false;
|
|
388
|
+
readonly multiple: true;
|
|
389
|
+
readonly description: "Намерение агента (до 20, каждое до 1000 знаков); единственный текст не из хранилища";
|
|
390
|
+
}, {
|
|
391
|
+
readonly name: "--format";
|
|
392
|
+
readonly value: "text";
|
|
393
|
+
readonly required: false;
|
|
394
|
+
readonly description: "json (по умолчанию, конверт HandoffPack) или md (Markdown без конверта)";
|
|
395
|
+
}];
|
|
396
|
+
readonly refusals: ["NOT_FOUND"];
|
|
397
|
+
};
|
|
375
398
|
readonly 'plan-request': {
|
|
376
399
|
readonly description: "Собрать read-only запрос планирования из постановки и фактов проекта (роли, gates, репозитории, контекст, ресурсы, контракты, требования) для ведущего агента; модель не вызывается, ничего не пишется";
|
|
377
400
|
readonly writes: false;
|
|
@@ -567,6 +590,29 @@ export declare const attemptViewSchema: z.ZodObject<{
|
|
|
567
590
|
failed: z.ZodNumber;
|
|
568
591
|
remaining: z.ZodNumber;
|
|
569
592
|
}, z.core.$strict>;
|
|
593
|
+
liveness: z.ZodOptional<z.ZodObject<{
|
|
594
|
+
state: z.ZodEnum<{
|
|
595
|
+
active: "active";
|
|
596
|
+
stalled: "stalled";
|
|
597
|
+
quiet: "quiet";
|
|
598
|
+
}>;
|
|
599
|
+
since: z.ZodISODateTime;
|
|
600
|
+
lastMovementAt: z.ZodISODateTime;
|
|
601
|
+
idleMs: z.ZodOptional<z.ZodNumber>;
|
|
602
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
603
|
+
kind: z.ZodEnum<{
|
|
604
|
+
gate: "gate";
|
|
605
|
+
command: "command";
|
|
606
|
+
agent: "agent";
|
|
607
|
+
step: "step";
|
|
608
|
+
}>;
|
|
609
|
+
label: z.ZodString;
|
|
610
|
+
}, z.core.$strict>>;
|
|
611
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
612
|
+
report: "report";
|
|
613
|
+
stop: "stop";
|
|
614
|
+
}>>;
|
|
615
|
+
}, z.core.$strict>>;
|
|
570
616
|
}, z.core.$strict>;
|
|
571
617
|
/**
|
|
572
618
|
* Почему выдача стоит (`status --detail`): причина паузы (`queueStop`), кто и
|
|
@@ -594,6 +640,7 @@ export declare const queueViewSchema: z.ZodObject<{
|
|
|
594
640
|
environment: "environment";
|
|
595
641
|
timeout: "timeout";
|
|
596
642
|
"provider-auth": "provider-auth";
|
|
643
|
+
stalled: "stalled";
|
|
597
644
|
"stale-base": "stale-base";
|
|
598
645
|
"empty-result": "empty-result";
|
|
599
646
|
unfinished: "unfinished";
|
|
@@ -648,6 +695,7 @@ export declare const queueViewSchema: z.ZodObject<{
|
|
|
648
695
|
environment: "environment";
|
|
649
696
|
timeout: "timeout";
|
|
650
697
|
"provider-auth": "provider-auth";
|
|
698
|
+
stalled: "stalled";
|
|
651
699
|
"stale-base": "stale-base";
|
|
652
700
|
"empty-result": "empty-result";
|
|
653
701
|
unfinished: "unfinished";
|
|
@@ -704,6 +752,7 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
704
752
|
environment: "environment";
|
|
705
753
|
timeout: "timeout";
|
|
706
754
|
"provider-auth": "provider-auth";
|
|
755
|
+
stalled: "stalled";
|
|
707
756
|
"stale-base": "stale-base";
|
|
708
757
|
"empty-result": "empty-result";
|
|
709
758
|
unfinished: "unfinished";
|
|
@@ -768,6 +817,10 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
768
817
|
}>;
|
|
769
818
|
attempt: z.ZodNumber;
|
|
770
819
|
activeRunId: z.ZodOptional<z.ZodString>;
|
|
820
|
+
liveness: z.ZodOptional<z.ZodEnum<{
|
|
821
|
+
stalled: "stalled";
|
|
822
|
+
quiet: "quiet";
|
|
823
|
+
}>>;
|
|
771
824
|
resultSha: z.ZodOptional<z.ZodString>;
|
|
772
825
|
blockers: z.ZodArray<z.ZodObject<{
|
|
773
826
|
code: z.ZodEnum<{
|
|
@@ -869,6 +922,7 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
869
922
|
environment: "environment";
|
|
870
923
|
timeout: "timeout";
|
|
871
924
|
"provider-auth": "provider-auth";
|
|
925
|
+
stalled: "stalled";
|
|
872
926
|
"stale-base": "stale-base";
|
|
873
927
|
"empty-result": "empty-result";
|
|
874
928
|
unfinished: "unfinished";
|
|
@@ -923,6 +977,7 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
923
977
|
environment: "environment";
|
|
924
978
|
timeout: "timeout";
|
|
925
979
|
"provider-auth": "provider-auth";
|
|
980
|
+
stalled: "stalled";
|
|
926
981
|
"stale-base": "stale-base";
|
|
927
982
|
"empty-result": "empty-result";
|
|
928
983
|
unfinished: "unfinished";
|
|
@@ -1001,6 +1056,29 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
1001
1056
|
failed: z.ZodNumber;
|
|
1002
1057
|
remaining: z.ZodNumber;
|
|
1003
1058
|
}, z.core.$strict>;
|
|
1059
|
+
liveness: z.ZodOptional<z.ZodObject<{
|
|
1060
|
+
state: z.ZodEnum<{
|
|
1061
|
+
active: "active";
|
|
1062
|
+
stalled: "stalled";
|
|
1063
|
+
quiet: "quiet";
|
|
1064
|
+
}>;
|
|
1065
|
+
since: z.ZodISODateTime;
|
|
1066
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1067
|
+
idleMs: z.ZodOptional<z.ZodNumber>;
|
|
1068
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1069
|
+
kind: z.ZodEnum<{
|
|
1070
|
+
gate: "gate";
|
|
1071
|
+
command: "command";
|
|
1072
|
+
agent: "agent";
|
|
1073
|
+
step: "step";
|
|
1074
|
+
}>;
|
|
1075
|
+
label: z.ZodString;
|
|
1076
|
+
}, z.core.$strict>>;
|
|
1077
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1078
|
+
report: "report";
|
|
1079
|
+
stop: "stop";
|
|
1080
|
+
}>>;
|
|
1081
|
+
}, z.core.$strict>>;
|
|
1004
1082
|
}, z.core.$strict>>;
|
|
1005
1083
|
}, z.core.$strict>>;
|
|
1006
1084
|
}, z.core.$strict>;
|
|
@@ -1013,7 +1091,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1013
1091
|
workId: z.ZodOptional<z.ZodString>;
|
|
1014
1092
|
runId: z.ZodOptional<z.ZodString>;
|
|
1015
1093
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
1016
|
-
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">;
|
|
1094
|
+
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">;
|
|
1017
1095
|
payload: z.ZodObject<{
|
|
1018
1096
|
digest: z.ZodString;
|
|
1019
1097
|
orders: z.ZodNumber;
|
|
@@ -1116,6 +1194,44 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1116
1194
|
passed: "passed";
|
|
1117
1195
|
failed: "failed";
|
|
1118
1196
|
}>>;
|
|
1197
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1198
|
+
state: z.ZodEnum<{
|
|
1199
|
+
active: "active";
|
|
1200
|
+
stalled: "stalled";
|
|
1201
|
+
quiet: "quiet";
|
|
1202
|
+
}>;
|
|
1203
|
+
previous: z.ZodEnum<{
|
|
1204
|
+
active: "active";
|
|
1205
|
+
stalled: "stalled";
|
|
1206
|
+
quiet: "quiet";
|
|
1207
|
+
}>;
|
|
1208
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1209
|
+
idleMs: z.ZodNumber;
|
|
1210
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1211
|
+
kind: z.ZodEnum<{
|
|
1212
|
+
gate: "gate";
|
|
1213
|
+
command: "command";
|
|
1214
|
+
agent: "agent";
|
|
1215
|
+
step: "step";
|
|
1216
|
+
}>;
|
|
1217
|
+
label: z.ZodString;
|
|
1218
|
+
}, z.core.$strict>>;
|
|
1219
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1220
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1221
|
+
report: "report";
|
|
1222
|
+
stop: "stop";
|
|
1223
|
+
}>>;
|
|
1224
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1225
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1226
|
+
pid: z.ZodNumber;
|
|
1227
|
+
parentPid: z.ZodNumber;
|
|
1228
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1229
|
+
command: z.ZodString;
|
|
1230
|
+
}, z.core.$strict>>;
|
|
1231
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1232
|
+
tail: z.ZodString;
|
|
1233
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
}, z.core.$strict>>;
|
|
1119
1235
|
}, z.core.$strict> | z.ZodObject<{
|
|
1120
1236
|
failureKind: z.ZodEnum<{
|
|
1121
1237
|
gate: "gate";
|
|
@@ -1125,6 +1241,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1125
1241
|
environment: "environment";
|
|
1126
1242
|
timeout: "timeout";
|
|
1127
1243
|
"provider-auth": "provider-auth";
|
|
1244
|
+
stalled: "stalled";
|
|
1128
1245
|
"stale-base": "stale-base";
|
|
1129
1246
|
"empty-result": "empty-result";
|
|
1130
1247
|
unfinished: "unfinished";
|
|
@@ -1166,6 +1283,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1166
1283
|
environment: "environment";
|
|
1167
1284
|
timeout: "timeout";
|
|
1168
1285
|
"provider-auth": "provider-auth";
|
|
1286
|
+
stalled: "stalled";
|
|
1169
1287
|
"stale-base": "stale-base";
|
|
1170
1288
|
"empty-result": "empty-result";
|
|
1171
1289
|
unfinished: "unfinished";
|
|
@@ -1227,6 +1345,45 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1227
1345
|
verificationId: z.ZodString;
|
|
1228
1346
|
workIds: z.ZodArray<z.ZodString>;
|
|
1229
1347
|
policyDigest: z.ZodString;
|
|
1348
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1349
|
+
state: z.ZodEnum<{
|
|
1350
|
+
active: "active";
|
|
1351
|
+
stalled: "stalled";
|
|
1352
|
+
quiet: "quiet";
|
|
1353
|
+
}>;
|
|
1354
|
+
previous: z.ZodEnum<{
|
|
1355
|
+
active: "active";
|
|
1356
|
+
stalled: "stalled";
|
|
1357
|
+
quiet: "quiet";
|
|
1358
|
+
}>;
|
|
1359
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1360
|
+
idleMs: z.ZodNumber;
|
|
1361
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1362
|
+
kind: z.ZodEnum<{
|
|
1363
|
+
gate: "gate";
|
|
1364
|
+
command: "command";
|
|
1365
|
+
agent: "agent";
|
|
1366
|
+
step: "step";
|
|
1367
|
+
}>;
|
|
1368
|
+
label: z.ZodString;
|
|
1369
|
+
}, z.core.$strict>>;
|
|
1370
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1371
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1372
|
+
report: "report";
|
|
1373
|
+
stop: "stop";
|
|
1374
|
+
}>>;
|
|
1375
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1376
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1377
|
+
pid: z.ZodNumber;
|
|
1378
|
+
parentPid: z.ZodNumber;
|
|
1379
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1380
|
+
command: z.ZodString;
|
|
1381
|
+
}, z.core.$strict>>;
|
|
1382
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1383
|
+
tail: z.ZodString;
|
|
1384
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
}, z.core.$strict>>;
|
|
1386
|
+
verificationId: z.ZodString;
|
|
1230
1387
|
}, z.core.$strict> | z.ZodObject<{
|
|
1231
1388
|
verificationId: z.ZodString;
|
|
1232
1389
|
status: z.ZodEnum<{
|
|
@@ -1288,7 +1445,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1288
1445
|
workId: z.ZodOptional<z.ZodString>;
|
|
1289
1446
|
runId: z.ZodOptional<z.ZodString>;
|
|
1290
1447
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
1291
|
-
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">;
|
|
1448
|
+
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">;
|
|
1292
1449
|
payload: z.ZodObject<{
|
|
1293
1450
|
digest: z.ZodString;
|
|
1294
1451
|
orders: z.ZodNumber;
|
|
@@ -1391,6 +1548,44 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1391
1548
|
passed: "passed";
|
|
1392
1549
|
failed: "failed";
|
|
1393
1550
|
}>>;
|
|
1551
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1552
|
+
state: z.ZodEnum<{
|
|
1553
|
+
active: "active";
|
|
1554
|
+
stalled: "stalled";
|
|
1555
|
+
quiet: "quiet";
|
|
1556
|
+
}>;
|
|
1557
|
+
previous: z.ZodEnum<{
|
|
1558
|
+
active: "active";
|
|
1559
|
+
stalled: "stalled";
|
|
1560
|
+
quiet: "quiet";
|
|
1561
|
+
}>;
|
|
1562
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1563
|
+
idleMs: z.ZodNumber;
|
|
1564
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1565
|
+
kind: z.ZodEnum<{
|
|
1566
|
+
gate: "gate";
|
|
1567
|
+
command: "command";
|
|
1568
|
+
agent: "agent";
|
|
1569
|
+
step: "step";
|
|
1570
|
+
}>;
|
|
1571
|
+
label: z.ZodString;
|
|
1572
|
+
}, z.core.$strict>>;
|
|
1573
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1574
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1575
|
+
report: "report";
|
|
1576
|
+
stop: "stop";
|
|
1577
|
+
}>>;
|
|
1578
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1579
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1580
|
+
pid: z.ZodNumber;
|
|
1581
|
+
parentPid: z.ZodNumber;
|
|
1582
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1583
|
+
command: z.ZodString;
|
|
1584
|
+
}, z.core.$strict>>;
|
|
1585
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1586
|
+
tail: z.ZodString;
|
|
1587
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1588
|
+
}, z.core.$strict>>;
|
|
1394
1589
|
}, z.core.$strict> | z.ZodObject<{
|
|
1395
1590
|
failureKind: z.ZodEnum<{
|
|
1396
1591
|
gate: "gate";
|
|
@@ -1400,6 +1595,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1400
1595
|
environment: "environment";
|
|
1401
1596
|
timeout: "timeout";
|
|
1402
1597
|
"provider-auth": "provider-auth";
|
|
1598
|
+
stalled: "stalled";
|
|
1403
1599
|
"stale-base": "stale-base";
|
|
1404
1600
|
"empty-result": "empty-result";
|
|
1405
1601
|
unfinished: "unfinished";
|
|
@@ -1441,6 +1637,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1441
1637
|
environment: "environment";
|
|
1442
1638
|
timeout: "timeout";
|
|
1443
1639
|
"provider-auth": "provider-auth";
|
|
1640
|
+
stalled: "stalled";
|
|
1444
1641
|
"stale-base": "stale-base";
|
|
1445
1642
|
"empty-result": "empty-result";
|
|
1446
1643
|
unfinished: "unfinished";
|
|
@@ -1502,6 +1699,45 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1502
1699
|
verificationId: z.ZodString;
|
|
1503
1700
|
workIds: z.ZodArray<z.ZodString>;
|
|
1504
1701
|
policyDigest: z.ZodString;
|
|
1702
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1703
|
+
state: z.ZodEnum<{
|
|
1704
|
+
active: "active";
|
|
1705
|
+
stalled: "stalled";
|
|
1706
|
+
quiet: "quiet";
|
|
1707
|
+
}>;
|
|
1708
|
+
previous: z.ZodEnum<{
|
|
1709
|
+
active: "active";
|
|
1710
|
+
stalled: "stalled";
|
|
1711
|
+
quiet: "quiet";
|
|
1712
|
+
}>;
|
|
1713
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1714
|
+
idleMs: z.ZodNumber;
|
|
1715
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1716
|
+
kind: z.ZodEnum<{
|
|
1717
|
+
gate: "gate";
|
|
1718
|
+
command: "command";
|
|
1719
|
+
agent: "agent";
|
|
1720
|
+
step: "step";
|
|
1721
|
+
}>;
|
|
1722
|
+
label: z.ZodString;
|
|
1723
|
+
}, z.core.$strict>>;
|
|
1724
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1725
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1726
|
+
report: "report";
|
|
1727
|
+
stop: "stop";
|
|
1728
|
+
}>>;
|
|
1729
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1730
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1731
|
+
pid: z.ZodNumber;
|
|
1732
|
+
parentPid: z.ZodNumber;
|
|
1733
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1734
|
+
command: z.ZodString;
|
|
1735
|
+
}, z.core.$strict>>;
|
|
1736
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1737
|
+
tail: z.ZodString;
|
|
1738
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1739
|
+
}, z.core.$strict>>;
|
|
1740
|
+
verificationId: z.ZodString;
|
|
1505
1741
|
}, z.core.$strict> | z.ZodObject<{
|
|
1506
1742
|
verificationId: z.ZodString;
|
|
1507
1743
|
status: z.ZodEnum<{
|
|
@@ -1676,6 +1912,7 @@ export declare const controlDataSchema: z.ZodObject<{
|
|
|
1676
1912
|
environment: "environment";
|
|
1677
1913
|
timeout: "timeout";
|
|
1678
1914
|
"provider-auth": "provider-auth";
|
|
1915
|
+
stalled: "stalled";
|
|
1679
1916
|
"stale-base": "stale-base";
|
|
1680
1917
|
"empty-result": "empty-result";
|
|
1681
1918
|
unfinished: "unfinished";
|
|
@@ -2411,6 +2648,7 @@ export declare const explainDataSchema: z.ZodObject<{
|
|
|
2411
2648
|
environment: "environment";
|
|
2412
2649
|
timeout: "timeout";
|
|
2413
2650
|
"provider-auth": "provider-auth";
|
|
2651
|
+
stalled: "stalled";
|
|
2414
2652
|
"stale-base": "stale-base";
|
|
2415
2653
|
"empty-result": "empty-result";
|
|
2416
2654
|
unfinished: "unfinished";
|
|
@@ -2690,6 +2928,7 @@ export declare const cliDataSchemas: {
|
|
|
2690
2928
|
environment: "environment";
|
|
2691
2929
|
timeout: "timeout";
|
|
2692
2930
|
"provider-auth": "provider-auth";
|
|
2931
|
+
stalled: "stalled";
|
|
2693
2932
|
"stale-base": "stale-base";
|
|
2694
2933
|
"empty-result": "empty-result";
|
|
2695
2934
|
unfinished: "unfinished";
|
|
@@ -2754,6 +2993,10 @@ export declare const cliDataSchemas: {
|
|
|
2754
2993
|
}>;
|
|
2755
2994
|
attempt: z.ZodNumber;
|
|
2756
2995
|
activeRunId: z.ZodOptional<z.ZodString>;
|
|
2996
|
+
liveness: z.ZodOptional<z.ZodEnum<{
|
|
2997
|
+
stalled: "stalled";
|
|
2998
|
+
quiet: "quiet";
|
|
2999
|
+
}>>;
|
|
2757
3000
|
resultSha: z.ZodOptional<z.ZodString>;
|
|
2758
3001
|
blockers: z.ZodArray<z.ZodObject<{
|
|
2759
3002
|
code: z.ZodEnum<{
|
|
@@ -2855,6 +3098,7 @@ export declare const cliDataSchemas: {
|
|
|
2855
3098
|
environment: "environment";
|
|
2856
3099
|
timeout: "timeout";
|
|
2857
3100
|
"provider-auth": "provider-auth";
|
|
3101
|
+
stalled: "stalled";
|
|
2858
3102
|
"stale-base": "stale-base";
|
|
2859
3103
|
"empty-result": "empty-result";
|
|
2860
3104
|
unfinished: "unfinished";
|
|
@@ -2909,6 +3153,7 @@ export declare const cliDataSchemas: {
|
|
|
2909
3153
|
environment: "environment";
|
|
2910
3154
|
timeout: "timeout";
|
|
2911
3155
|
"provider-auth": "provider-auth";
|
|
3156
|
+
stalled: "stalled";
|
|
2912
3157
|
"stale-base": "stale-base";
|
|
2913
3158
|
"empty-result": "empty-result";
|
|
2914
3159
|
unfinished: "unfinished";
|
|
@@ -2987,6 +3232,29 @@ export declare const cliDataSchemas: {
|
|
|
2987
3232
|
failed: z.ZodNumber;
|
|
2988
3233
|
remaining: z.ZodNumber;
|
|
2989
3234
|
}, z.core.$strict>;
|
|
3235
|
+
liveness: z.ZodOptional<z.ZodObject<{
|
|
3236
|
+
state: z.ZodEnum<{
|
|
3237
|
+
active: "active";
|
|
3238
|
+
stalled: "stalled";
|
|
3239
|
+
quiet: "quiet";
|
|
3240
|
+
}>;
|
|
3241
|
+
since: z.ZodISODateTime;
|
|
3242
|
+
lastMovementAt: z.ZodISODateTime;
|
|
3243
|
+
idleMs: z.ZodOptional<z.ZodNumber>;
|
|
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
|
+
}, z.core.$strict>>;
|
|
2990
3258
|
}, z.core.$strict>>;
|
|
2991
3259
|
}, z.core.$strict>>;
|
|
2992
3260
|
}, z.core.$strict>;
|
|
@@ -2999,7 +3267,7 @@ export declare const cliDataSchemas: {
|
|
|
2999
3267
|
workId: z.ZodOptional<z.ZodString>;
|
|
3000
3268
|
runId: z.ZodOptional<z.ZodString>;
|
|
3001
3269
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
3002
|
-
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">;
|
|
3270
|
+
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">;
|
|
3003
3271
|
payload: z.ZodObject<{
|
|
3004
3272
|
digest: z.ZodString;
|
|
3005
3273
|
orders: z.ZodNumber;
|
|
@@ -3102,6 +3370,44 @@ export declare const cliDataSchemas: {
|
|
|
3102
3370
|
passed: "passed";
|
|
3103
3371
|
failed: "failed";
|
|
3104
3372
|
}>>;
|
|
3373
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3374
|
+
state: z.ZodEnum<{
|
|
3375
|
+
active: "active";
|
|
3376
|
+
stalled: "stalled";
|
|
3377
|
+
quiet: "quiet";
|
|
3378
|
+
}>;
|
|
3379
|
+
previous: z.ZodEnum<{
|
|
3380
|
+
active: "active";
|
|
3381
|
+
stalled: "stalled";
|
|
3382
|
+
quiet: "quiet";
|
|
3383
|
+
}>;
|
|
3384
|
+
lastMovementAt: z.ZodISODateTime;
|
|
3385
|
+
idleMs: z.ZodNumber;
|
|
3386
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
3387
|
+
kind: z.ZodEnum<{
|
|
3388
|
+
gate: "gate";
|
|
3389
|
+
command: "command";
|
|
3390
|
+
agent: "agent";
|
|
3391
|
+
step: "step";
|
|
3392
|
+
}>;
|
|
3393
|
+
label: z.ZodString;
|
|
3394
|
+
}, z.core.$strict>>;
|
|
3395
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3396
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
3397
|
+
report: "report";
|
|
3398
|
+
stop: "stop";
|
|
3399
|
+
}>>;
|
|
3400
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
3401
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
3402
|
+
pid: z.ZodNumber;
|
|
3403
|
+
parentPid: z.ZodNumber;
|
|
3404
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
3405
|
+
command: z.ZodString;
|
|
3406
|
+
}, z.core.$strict>>;
|
|
3407
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3408
|
+
tail: z.ZodString;
|
|
3409
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
3410
|
+
}, z.core.$strict>>;
|
|
3105
3411
|
}, z.core.$strict> | z.ZodObject<{
|
|
3106
3412
|
failureKind: z.ZodEnum<{
|
|
3107
3413
|
gate: "gate";
|
|
@@ -3111,6 +3417,7 @@ export declare const cliDataSchemas: {
|
|
|
3111
3417
|
environment: "environment";
|
|
3112
3418
|
timeout: "timeout";
|
|
3113
3419
|
"provider-auth": "provider-auth";
|
|
3420
|
+
stalled: "stalled";
|
|
3114
3421
|
"stale-base": "stale-base";
|
|
3115
3422
|
"empty-result": "empty-result";
|
|
3116
3423
|
unfinished: "unfinished";
|
|
@@ -3152,6 +3459,7 @@ export declare const cliDataSchemas: {
|
|
|
3152
3459
|
environment: "environment";
|
|
3153
3460
|
timeout: "timeout";
|
|
3154
3461
|
"provider-auth": "provider-auth";
|
|
3462
|
+
stalled: "stalled";
|
|
3155
3463
|
"stale-base": "stale-base";
|
|
3156
3464
|
"empty-result": "empty-result";
|
|
3157
3465
|
unfinished: "unfinished";
|
|
@@ -3213,6 +3521,45 @@ export declare const cliDataSchemas: {
|
|
|
3213
3521
|
verificationId: z.ZodString;
|
|
3214
3522
|
workIds: z.ZodArray<z.ZodString>;
|
|
3215
3523
|
policyDigest: z.ZodString;
|
|
3524
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3525
|
+
state: z.ZodEnum<{
|
|
3526
|
+
active: "active";
|
|
3527
|
+
stalled: "stalled";
|
|
3528
|
+
quiet: "quiet";
|
|
3529
|
+
}>;
|
|
3530
|
+
previous: z.ZodEnum<{
|
|
3531
|
+
active: "active";
|
|
3532
|
+
stalled: "stalled";
|
|
3533
|
+
quiet: "quiet";
|
|
3534
|
+
}>;
|
|
3535
|
+
lastMovementAt: z.ZodISODateTime;
|
|
3536
|
+
idleMs: z.ZodNumber;
|
|
3537
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
3538
|
+
kind: z.ZodEnum<{
|
|
3539
|
+
gate: "gate";
|
|
3540
|
+
command: "command";
|
|
3541
|
+
agent: "agent";
|
|
3542
|
+
step: "step";
|
|
3543
|
+
}>;
|
|
3544
|
+
label: z.ZodString;
|
|
3545
|
+
}, z.core.$strict>>;
|
|
3546
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3547
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
3548
|
+
report: "report";
|
|
3549
|
+
stop: "stop";
|
|
3550
|
+
}>>;
|
|
3551
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
3552
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
3553
|
+
pid: z.ZodNumber;
|
|
3554
|
+
parentPid: z.ZodNumber;
|
|
3555
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
3556
|
+
command: z.ZodString;
|
|
3557
|
+
}, z.core.$strict>>;
|
|
3558
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3559
|
+
tail: z.ZodString;
|
|
3560
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
3561
|
+
}, z.core.$strict>>;
|
|
3562
|
+
verificationId: z.ZodString;
|
|
3216
3563
|
}, z.core.$strict> | z.ZodObject<{
|
|
3217
3564
|
verificationId: z.ZodString;
|
|
3218
3565
|
status: z.ZodEnum<{
|
|
@@ -3274,7 +3621,7 @@ export declare const cliDataSchemas: {
|
|
|
3274
3621
|
workId: z.ZodOptional<z.ZodString>;
|
|
3275
3622
|
runId: z.ZodOptional<z.ZodString>;
|
|
3276
3623
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
3277
|
-
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">;
|
|
3624
|
+
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">;
|
|
3278
3625
|
payload: z.ZodObject<{
|
|
3279
3626
|
digest: z.ZodString;
|
|
3280
3627
|
orders: z.ZodNumber;
|
|
@@ -3377,6 +3724,44 @@ export declare const cliDataSchemas: {
|
|
|
3377
3724
|
passed: "passed";
|
|
3378
3725
|
failed: "failed";
|
|
3379
3726
|
}>>;
|
|
3727
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3728
|
+
state: z.ZodEnum<{
|
|
3729
|
+
active: "active";
|
|
3730
|
+
stalled: "stalled";
|
|
3731
|
+
quiet: "quiet";
|
|
3732
|
+
}>;
|
|
3733
|
+
previous: z.ZodEnum<{
|
|
3734
|
+
active: "active";
|
|
3735
|
+
stalled: "stalled";
|
|
3736
|
+
quiet: "quiet";
|
|
3737
|
+
}>;
|
|
3738
|
+
lastMovementAt: z.ZodISODateTime;
|
|
3739
|
+
idleMs: z.ZodNumber;
|
|
3740
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
3741
|
+
kind: z.ZodEnum<{
|
|
3742
|
+
gate: "gate";
|
|
3743
|
+
command: "command";
|
|
3744
|
+
agent: "agent";
|
|
3745
|
+
step: "step";
|
|
3746
|
+
}>;
|
|
3747
|
+
label: z.ZodString;
|
|
3748
|
+
}, z.core.$strict>>;
|
|
3749
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3750
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
3751
|
+
report: "report";
|
|
3752
|
+
stop: "stop";
|
|
3753
|
+
}>>;
|
|
3754
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
3755
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
3756
|
+
pid: z.ZodNumber;
|
|
3757
|
+
parentPid: z.ZodNumber;
|
|
3758
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
3759
|
+
command: z.ZodString;
|
|
3760
|
+
}, z.core.$strict>>;
|
|
3761
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3762
|
+
tail: z.ZodString;
|
|
3763
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
3764
|
+
}, z.core.$strict>>;
|
|
3380
3765
|
}, z.core.$strict> | z.ZodObject<{
|
|
3381
3766
|
failureKind: z.ZodEnum<{
|
|
3382
3767
|
gate: "gate";
|
|
@@ -3386,6 +3771,7 @@ export declare const cliDataSchemas: {
|
|
|
3386
3771
|
environment: "environment";
|
|
3387
3772
|
timeout: "timeout";
|
|
3388
3773
|
"provider-auth": "provider-auth";
|
|
3774
|
+
stalled: "stalled";
|
|
3389
3775
|
"stale-base": "stale-base";
|
|
3390
3776
|
"empty-result": "empty-result";
|
|
3391
3777
|
unfinished: "unfinished";
|
|
@@ -3427,6 +3813,7 @@ export declare const cliDataSchemas: {
|
|
|
3427
3813
|
environment: "environment";
|
|
3428
3814
|
timeout: "timeout";
|
|
3429
3815
|
"provider-auth": "provider-auth";
|
|
3816
|
+
stalled: "stalled";
|
|
3430
3817
|
"stale-base": "stale-base";
|
|
3431
3818
|
"empty-result": "empty-result";
|
|
3432
3819
|
unfinished: "unfinished";
|
|
@@ -3488,6 +3875,45 @@ export declare const cliDataSchemas: {
|
|
|
3488
3875
|
verificationId: z.ZodString;
|
|
3489
3876
|
workIds: z.ZodArray<z.ZodString>;
|
|
3490
3877
|
policyDigest: z.ZodString;
|
|
3878
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3879
|
+
state: z.ZodEnum<{
|
|
3880
|
+
active: "active";
|
|
3881
|
+
stalled: "stalled";
|
|
3882
|
+
quiet: "quiet";
|
|
3883
|
+
}>;
|
|
3884
|
+
previous: z.ZodEnum<{
|
|
3885
|
+
active: "active";
|
|
3886
|
+
stalled: "stalled";
|
|
3887
|
+
quiet: "quiet";
|
|
3888
|
+
}>;
|
|
3889
|
+
lastMovementAt: z.ZodISODateTime;
|
|
3890
|
+
idleMs: z.ZodNumber;
|
|
3891
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
3892
|
+
kind: z.ZodEnum<{
|
|
3893
|
+
gate: "gate";
|
|
3894
|
+
command: "command";
|
|
3895
|
+
agent: "agent";
|
|
3896
|
+
step: "step";
|
|
3897
|
+
}>;
|
|
3898
|
+
label: z.ZodString;
|
|
3899
|
+
}, z.core.$strict>>;
|
|
3900
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3901
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
3902
|
+
report: "report";
|
|
3903
|
+
stop: "stop";
|
|
3904
|
+
}>>;
|
|
3905
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
3906
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
3907
|
+
pid: z.ZodNumber;
|
|
3908
|
+
parentPid: z.ZodNumber;
|
|
3909
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
3910
|
+
command: z.ZodString;
|
|
3911
|
+
}, z.core.$strict>>;
|
|
3912
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
3913
|
+
tail: z.ZodString;
|
|
3914
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
3915
|
+
}, z.core.$strict>>;
|
|
3916
|
+
verificationId: z.ZodString;
|
|
3491
3917
|
}, z.core.$strict> | z.ZodObject<{
|
|
3492
3918
|
verificationId: z.ZodString;
|
|
3493
3919
|
status: z.ZodEnum<{
|
|
@@ -3574,6 +4000,7 @@ export declare const cliDataSchemas: {
|
|
|
3574
4000
|
environment: "environment";
|
|
3575
4001
|
timeout: "timeout";
|
|
3576
4002
|
"provider-auth": "provider-auth";
|
|
4003
|
+
stalled: "stalled";
|
|
3577
4004
|
"stale-base": "stale-base";
|
|
3578
4005
|
"empty-result": "empty-result";
|
|
3579
4006
|
unfinished: "unfinished";
|
|
@@ -3629,6 +4056,7 @@ export declare const cliDataSchemas: {
|
|
|
3629
4056
|
environment: "environment";
|
|
3630
4057
|
timeout: "timeout";
|
|
3631
4058
|
"provider-auth": "provider-auth";
|
|
4059
|
+
stalled: "stalled";
|
|
3632
4060
|
"stale-base": "stale-base";
|
|
3633
4061
|
"empty-result": "empty-result";
|
|
3634
4062
|
unfinished: "unfinished";
|
|
@@ -5007,6 +5435,7 @@ export declare const cliDataSchemas: {
|
|
|
5007
5435
|
environment: "environment";
|
|
5008
5436
|
timeout: "timeout";
|
|
5009
5437
|
"provider-auth": "provider-auth";
|
|
5438
|
+
stalled: "stalled";
|
|
5010
5439
|
"stale-base": "stale-base";
|
|
5011
5440
|
"empty-result": "empty-result";
|
|
5012
5441
|
unfinished: "unfinished";
|
|
@@ -5291,6 +5720,7 @@ export declare const cliDataSchemas: {
|
|
|
5291
5720
|
environment: "environment";
|
|
5292
5721
|
timeout: "timeout";
|
|
5293
5722
|
"provider-auth": "provider-auth";
|
|
5723
|
+
stalled: "stalled";
|
|
5294
5724
|
"stale-base": "stale-base";
|
|
5295
5725
|
"empty-result": "empty-result";
|
|
5296
5726
|
unfinished: "unfinished";
|
|
@@ -5606,6 +6036,649 @@ export declare const cliDataSchemas: {
|
|
|
5606
6036
|
bytes: z.ZodNumber;
|
|
5607
6037
|
asOf: z.ZodISODateTime;
|
|
5608
6038
|
}, z.core.$strict>]>;
|
|
6039
|
+
readonly handoff: z.ZodObject<{
|
|
6040
|
+
handoffVersion: z.ZodLiteral<1>;
|
|
6041
|
+
at: z.ZodISODateTime;
|
|
6042
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
6043
|
+
limits: z.ZodObject<{
|
|
6044
|
+
maxAttempts: z.ZodNumber;
|
|
6045
|
+
repairBudget: z.ZodNumber;
|
|
6046
|
+
}, z.core.$strict>;
|
|
6047
|
+
summary: z.ZodObject<{
|
|
6048
|
+
works: z.ZodNumber;
|
|
6049
|
+
open: z.ZodNumber;
|
|
6050
|
+
done: z.ZodNumber;
|
|
6051
|
+
cancelled: z.ZodNumber;
|
|
6052
|
+
byStatus: z.ZodArray<z.ZodObject<{
|
|
6053
|
+
status: z.ZodEnum<{
|
|
6054
|
+
ready: "ready";
|
|
6055
|
+
failed: "failed";
|
|
6056
|
+
cancelled: "cancelled";
|
|
6057
|
+
draft: "draft";
|
|
6058
|
+
running: "running";
|
|
6059
|
+
verifying: "verifying";
|
|
6060
|
+
reviewing: "reviewing";
|
|
6061
|
+
integrating: "integrating";
|
|
6062
|
+
done: "done";
|
|
6063
|
+
}>;
|
|
6064
|
+
count: z.ZodNumber;
|
|
6065
|
+
}, z.core.$strict>>;
|
|
6066
|
+
}, z.core.$strict>;
|
|
6067
|
+
queue: z.ZodObject<{
|
|
6068
|
+
paused: z.ZodBoolean;
|
|
6069
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
6070
|
+
runtime: "runtime";
|
|
6071
|
+
operator: "operator";
|
|
6072
|
+
shutdown: "shutdown";
|
|
6073
|
+
"base-check": "base-check";
|
|
6074
|
+
reconfigure: "reconfigure";
|
|
6075
|
+
}>>;
|
|
6076
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6077
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
6078
|
+
operation: z.ZodOptional<z.ZodString>;
|
|
6079
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6080
|
+
gate: "gate";
|
|
6081
|
+
unknown: "unknown";
|
|
6082
|
+
review: "review";
|
|
6083
|
+
cancelled: "cancelled";
|
|
6084
|
+
environment: "environment";
|
|
6085
|
+
timeout: "timeout";
|
|
6086
|
+
"provider-auth": "provider-auth";
|
|
6087
|
+
stalled: "stalled";
|
|
6088
|
+
"stale-base": "stale-base";
|
|
6089
|
+
"empty-result": "empty-result";
|
|
6090
|
+
unfinished: "unfinished";
|
|
6091
|
+
"scope-violation": "scope-violation";
|
|
6092
|
+
"review-protocol": "review-protocol";
|
|
6093
|
+
merge: "merge";
|
|
6094
|
+
budget: "budget";
|
|
6095
|
+
"needs-lead": "needs-lead";
|
|
6096
|
+
}>>>;
|
|
6097
|
+
liftedByRun: z.ZodOptional<z.ZodLiteral<true>>;
|
|
6098
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
6099
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
6100
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
6101
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
6102
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
6103
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
6104
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
6105
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
6106
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
6107
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
6108
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
6109
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
6110
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
6111
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
6112
|
+
LEASE_STALE: "LEASE_STALE";
|
|
6113
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
6114
|
+
PAUSED: "PAUSED";
|
|
6115
|
+
NOT_READY: "NOT_READY";
|
|
6116
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
6117
|
+
GATE_FAILED: "GATE_FAILED";
|
|
6118
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
6119
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
6120
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
6121
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
6122
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
6123
|
+
CANCELLED: "CANCELLED";
|
|
6124
|
+
NOT_FOUND: "NOT_FOUND";
|
|
6125
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
6126
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
6127
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
6128
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
6129
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
6130
|
+
GIT_FAILED: "GIT_FAILED";
|
|
6131
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
6132
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
6133
|
+
INTERNAL: "INTERNAL";
|
|
6134
|
+
}>>;
|
|
6135
|
+
actor: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6136
|
+
controller: "controller";
|
|
6137
|
+
lead: "lead";
|
|
6138
|
+
user: "user";
|
|
6139
|
+
}>>>;
|
|
6140
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
6141
|
+
none: "none";
|
|
6142
|
+
wait: "wait";
|
|
6143
|
+
retry: "retry";
|
|
6144
|
+
"review-plan": "review-plan";
|
|
6145
|
+
"diagnose-failure": "diagnose-failure";
|
|
6146
|
+
"reset-attempts": "reset-attempts";
|
|
6147
|
+
"raise-budget": "raise-budget";
|
|
6148
|
+
"replan-dependents": "replan-dependents";
|
|
6149
|
+
"recovery-decision": "recovery-decision";
|
|
6150
|
+
"user-decision": "user-decision";
|
|
6151
|
+
"resume-queue": "resume-queue";
|
|
6152
|
+
"fix-environment": "fix-environment";
|
|
6153
|
+
"fix-access": "fix-access";
|
|
6154
|
+
}>>;
|
|
6155
|
+
}, z.core.$strict>;
|
|
6156
|
+
controller: z.ZodOptional<z.ZodObject<{
|
|
6157
|
+
owner: z.ZodString;
|
|
6158
|
+
until: z.ZodISODateTime;
|
|
6159
|
+
live: z.ZodBoolean;
|
|
6160
|
+
}, z.core.$strict>>;
|
|
6161
|
+
active: z.ZodArray<z.ZodObject<{
|
|
6162
|
+
workId: z.ZodString;
|
|
6163
|
+
title: z.ZodString;
|
|
6164
|
+
runId: z.ZodString;
|
|
6165
|
+
attempt: z.ZodNumber;
|
|
6166
|
+
phase: z.ZodEnum<{
|
|
6167
|
+
ready: "ready";
|
|
6168
|
+
failed: "failed";
|
|
6169
|
+
cancelled: "cancelled";
|
|
6170
|
+
draft: "draft";
|
|
6171
|
+
running: "running";
|
|
6172
|
+
verifying: "verifying";
|
|
6173
|
+
reviewing: "reviewing";
|
|
6174
|
+
integrating: "integrating";
|
|
6175
|
+
done: "done";
|
|
6176
|
+
}>;
|
|
6177
|
+
runtime: z.ZodString;
|
|
6178
|
+
elapsedMs: z.ZodNumber;
|
|
6179
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
6180
|
+
name: z.ZodString;
|
|
6181
|
+
elapsedMs: z.ZodNumber;
|
|
6182
|
+
}, z.core.$strict>>;
|
|
6183
|
+
sinceHeartbeatMs: z.ZodOptional<z.ZodNumber>;
|
|
6184
|
+
leaseUntil: z.ZodISODateTime;
|
|
6185
|
+
stale: z.ZodBoolean;
|
|
6186
|
+
gates: z.ZodObject<{
|
|
6187
|
+
phase: z.ZodEnum<{
|
|
6188
|
+
candidate: "candidate";
|
|
6189
|
+
integration: "integration";
|
|
6190
|
+
}>;
|
|
6191
|
+
required: z.ZodNumber;
|
|
6192
|
+
passed: z.ZodNumber;
|
|
6193
|
+
failed: z.ZodNumber;
|
|
6194
|
+
remaining: z.ZodNumber;
|
|
6195
|
+
}, z.core.$strict>;
|
|
6196
|
+
}, z.core.$strict>>;
|
|
6197
|
+
unfinished: z.ZodArray<z.ZodObject<{
|
|
6198
|
+
runId: z.ZodString;
|
|
6199
|
+
workId: z.ZodString;
|
|
6200
|
+
attempt: z.ZodNumber;
|
|
6201
|
+
phase: z.ZodEnum<{
|
|
6202
|
+
ready: "ready";
|
|
6203
|
+
failed: "failed";
|
|
6204
|
+
cancelled: "cancelled";
|
|
6205
|
+
draft: "draft";
|
|
6206
|
+
running: "running";
|
|
6207
|
+
verifying: "verifying";
|
|
6208
|
+
reviewing: "reviewing";
|
|
6209
|
+
integrating: "integrating";
|
|
6210
|
+
done: "done";
|
|
6211
|
+
}>;
|
|
6212
|
+
startedAt: z.ZodISODateTime;
|
|
6213
|
+
stale: z.ZodBoolean;
|
|
6214
|
+
current: z.ZodBoolean;
|
|
6215
|
+
interrupted: z.ZodOptional<z.ZodLiteral<"shutdown">>;
|
|
6216
|
+
}, z.core.$strict>>;
|
|
6217
|
+
works: z.ZodArray<z.ZodObject<{
|
|
6218
|
+
id: z.ZodString;
|
|
6219
|
+
graphId: z.ZodString;
|
|
6220
|
+
title: z.ZodString;
|
|
6221
|
+
status: z.ZodEnum<{
|
|
6222
|
+
ready: "ready";
|
|
6223
|
+
failed: "failed";
|
|
6224
|
+
cancelled: "cancelled";
|
|
6225
|
+
draft: "draft";
|
|
6226
|
+
running: "running";
|
|
6227
|
+
verifying: "verifying";
|
|
6228
|
+
reviewing: "reviewing";
|
|
6229
|
+
integrating: "integrating";
|
|
6230
|
+
done: "done";
|
|
6231
|
+
}>;
|
|
6232
|
+
attempt: z.ZodNumber;
|
|
6233
|
+
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
6234
|
+
gate: "gate";
|
|
6235
|
+
unknown: "unknown";
|
|
6236
|
+
review: "review";
|
|
6237
|
+
cancelled: "cancelled";
|
|
6238
|
+
environment: "environment";
|
|
6239
|
+
timeout: "timeout";
|
|
6240
|
+
"provider-auth": "provider-auth";
|
|
6241
|
+
stalled: "stalled";
|
|
6242
|
+
"stale-base": "stale-base";
|
|
6243
|
+
"empty-result": "empty-result";
|
|
6244
|
+
unfinished: "unfinished";
|
|
6245
|
+
"scope-violation": "scope-violation";
|
|
6246
|
+
"review-protocol": "review-protocol";
|
|
6247
|
+
merge: "merge";
|
|
6248
|
+
budget: "budget";
|
|
6249
|
+
"needs-lead": "needs-lead";
|
|
6250
|
+
}>>;
|
|
6251
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
6252
|
+
hold: z.ZodOptional<z.ZodObject<{
|
|
6253
|
+
operation: z.ZodString;
|
|
6254
|
+
reason: z.ZodString;
|
|
6255
|
+
}, z.core.$strict>>;
|
|
6256
|
+
recovery: z.ZodOptional<z.ZodObject<{
|
|
6257
|
+
status: z.ZodString;
|
|
6258
|
+
property: z.ZodString;
|
|
6259
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6260
|
+
proposal: z.ZodOptional<z.ZodString>;
|
|
6261
|
+
}, z.core.$strict>>;
|
|
6262
|
+
blockers: z.ZodArray<z.ZodObject<{
|
|
6263
|
+
code: z.ZodEnum<{
|
|
6264
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
6265
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
6266
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
6267
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
6268
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
6269
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
6270
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
6271
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
6272
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
6273
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
6274
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
6275
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
6276
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
6277
|
+
LEASE_STALE: "LEASE_STALE";
|
|
6278
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
6279
|
+
PAUSED: "PAUSED";
|
|
6280
|
+
NOT_READY: "NOT_READY";
|
|
6281
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
6282
|
+
GATE_FAILED: "GATE_FAILED";
|
|
6283
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
6284
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
6285
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
6286
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
6287
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
6288
|
+
CANCELLED: "CANCELLED";
|
|
6289
|
+
NOT_FOUND: "NOT_FOUND";
|
|
6290
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
6291
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
6292
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
6293
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
6294
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
6295
|
+
GIT_FAILED: "GIT_FAILED";
|
|
6296
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
6297
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
6298
|
+
INTERNAL: "INTERNAL";
|
|
6299
|
+
}>;
|
|
6300
|
+
message: z.ZodString;
|
|
6301
|
+
}, z.core.$strict>>;
|
|
6302
|
+
blockersTruncated: z.ZodOptional<z.ZodNumber>;
|
|
6303
|
+
next: z.ZodObject<{
|
|
6304
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
6305
|
+
controller: "controller";
|
|
6306
|
+
lead: "lead";
|
|
6307
|
+
user: "user";
|
|
6308
|
+
}>>;
|
|
6309
|
+
action: z.ZodEnum<{
|
|
6310
|
+
none: "none";
|
|
6311
|
+
wait: "wait";
|
|
6312
|
+
retry: "retry";
|
|
6313
|
+
"review-plan": "review-plan";
|
|
6314
|
+
"diagnose-failure": "diagnose-failure";
|
|
6315
|
+
"reset-attempts": "reset-attempts";
|
|
6316
|
+
"raise-budget": "raise-budget";
|
|
6317
|
+
"replan-dependents": "replan-dependents";
|
|
6318
|
+
"recovery-decision": "recovery-decision";
|
|
6319
|
+
"user-decision": "user-decision";
|
|
6320
|
+
"resume-queue": "resume-queue";
|
|
6321
|
+
"fix-environment": "fix-environment";
|
|
6322
|
+
"fix-access": "fix-access";
|
|
6323
|
+
}>;
|
|
6324
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
6325
|
+
accepted: "accepted";
|
|
6326
|
+
cancelled: "cancelled";
|
|
6327
|
+
"recovery-awaiting-lead": "recovery-awaiting-lead";
|
|
6328
|
+
"recovery-analyzing": "recovery-analyzing";
|
|
6329
|
+
"recovery-applying": "recovery-applying";
|
|
6330
|
+
"recovery-retry-allowed": "recovery-retry-allowed";
|
|
6331
|
+
"recovery-retrying": "recovery-retrying";
|
|
6332
|
+
"recovery-awaiting-user": "recovery-awaiting-user";
|
|
6333
|
+
"recovery-stopped": "recovery-stopped";
|
|
6334
|
+
"corpus-adoption": "corpus-adoption";
|
|
6335
|
+
held: "held";
|
|
6336
|
+
"plan-review": "plan-review";
|
|
6337
|
+
"attempt-running": "attempt-running";
|
|
6338
|
+
"retry-within-budget": "retry-within-budget";
|
|
6339
|
+
"attempts-exhausted": "attempts-exhausted";
|
|
6340
|
+
"awaiting-claim": "awaiting-claim";
|
|
6341
|
+
}>>;
|
|
6342
|
+
property: z.ZodOptional<z.ZodString>;
|
|
6343
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6344
|
+
command: z.ZodOptional<z.ZodEnum<{
|
|
6345
|
+
"harness run": "harness run";
|
|
6346
|
+
"harness resume": "harness resume";
|
|
6347
|
+
}>>;
|
|
6348
|
+
}, z.core.$strict>;
|
|
6349
|
+
}, z.core.$strict>>;
|
|
6350
|
+
stops: z.ZodArray<z.ZodObject<{
|
|
6351
|
+
code: z.ZodEnum<{
|
|
6352
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
6353
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
6354
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
6355
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
6356
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
6357
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
6358
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
6359
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
6360
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
6361
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
6362
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
6363
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
6364
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
6365
|
+
LEASE_STALE: "LEASE_STALE";
|
|
6366
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
6367
|
+
PAUSED: "PAUSED";
|
|
6368
|
+
NOT_READY: "NOT_READY";
|
|
6369
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
6370
|
+
GATE_FAILED: "GATE_FAILED";
|
|
6371
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
6372
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
6373
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
6374
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
6375
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
6376
|
+
CANCELLED: "CANCELLED";
|
|
6377
|
+
NOT_FOUND: "NOT_FOUND";
|
|
6378
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
6379
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
6380
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
6381
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
6382
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
6383
|
+
GIT_FAILED: "GIT_FAILED";
|
|
6384
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
6385
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
6386
|
+
INTERNAL: "INTERNAL";
|
|
6387
|
+
}>;
|
|
6388
|
+
cause: z.ZodEnum<{
|
|
6389
|
+
gate: "gate";
|
|
6390
|
+
unknown: "unknown";
|
|
6391
|
+
review: "review";
|
|
6392
|
+
cancelled: "cancelled";
|
|
6393
|
+
environment: "environment";
|
|
6394
|
+
timeout: "timeout";
|
|
6395
|
+
"provider-auth": "provider-auth";
|
|
6396
|
+
stalled: "stalled";
|
|
6397
|
+
"stale-base": "stale-base";
|
|
6398
|
+
"empty-result": "empty-result";
|
|
6399
|
+
unfinished: "unfinished";
|
|
6400
|
+
"scope-violation": "scope-violation";
|
|
6401
|
+
"review-protocol": "review-protocol";
|
|
6402
|
+
merge: "merge";
|
|
6403
|
+
budget: "budget";
|
|
6404
|
+
"needs-lead": "needs-lead";
|
|
6405
|
+
"runtime-missing": "runtime-missing";
|
|
6406
|
+
"controller-busy": "controller-busy";
|
|
6407
|
+
"operator-pause": "operator-pause";
|
|
6408
|
+
"approval-required": "approval-required";
|
|
6409
|
+
"not-ready": "not-ready";
|
|
6410
|
+
}>;
|
|
6411
|
+
phase: z.ZodEnum<{
|
|
6412
|
+
gates: "gates";
|
|
6413
|
+
preflight: "preflight";
|
|
6414
|
+
review: "review";
|
|
6415
|
+
integration: "integration";
|
|
6416
|
+
delivery: "delivery";
|
|
6417
|
+
claim: "claim";
|
|
6418
|
+
implementation: "implementation";
|
|
6419
|
+
}>;
|
|
6420
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
6421
|
+
controller: "controller";
|
|
6422
|
+
lead: "lead";
|
|
6423
|
+
user: "user";
|
|
6424
|
+
}>>;
|
|
6425
|
+
action: z.ZodEnum<{
|
|
6426
|
+
none: "none";
|
|
6427
|
+
wait: "wait";
|
|
6428
|
+
retry: "retry";
|
|
6429
|
+
"review-plan": "review-plan";
|
|
6430
|
+
"diagnose-failure": "diagnose-failure";
|
|
6431
|
+
"reset-attempts": "reset-attempts";
|
|
6432
|
+
"raise-budget": "raise-budget";
|
|
6433
|
+
"replan-dependents": "replan-dependents";
|
|
6434
|
+
"recovery-decision": "recovery-decision";
|
|
6435
|
+
"user-decision": "user-decision";
|
|
6436
|
+
"resume-queue": "resume-queue";
|
|
6437
|
+
"fix-environment": "fix-environment";
|
|
6438
|
+
"fix-access": "fix-access";
|
|
6439
|
+
}>;
|
|
6440
|
+
retryPlanned: z.ZodBoolean;
|
|
6441
|
+
message: z.ZodString;
|
|
6442
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
6443
|
+
kind: z.ZodEnum<{
|
|
6444
|
+
attempt: "attempt";
|
|
6445
|
+
evidence: "evidence";
|
|
6446
|
+
event: "event";
|
|
6447
|
+
doctor: "doctor";
|
|
6448
|
+
}>;
|
|
6449
|
+
id: z.ZodString;
|
|
6450
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
6451
|
+
}, z.core.$strict>>;
|
|
6452
|
+
workId: z.ZodOptional<z.ZodString>;
|
|
6453
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
6454
|
+
queue: z.ZodOptional<z.ZodLiteral<true>>;
|
|
6455
|
+
works: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6456
|
+
worksCount: z.ZodOptional<z.ZodNumber>;
|
|
6457
|
+
}, z.core.$strict>>;
|
|
6458
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
6459
|
+
runId: z.ZodString;
|
|
6460
|
+
workId: z.ZodString;
|
|
6461
|
+
workStatus: z.ZodOptional<z.ZodEnum<{
|
|
6462
|
+
ready: "ready";
|
|
6463
|
+
failed: "failed";
|
|
6464
|
+
cancelled: "cancelled";
|
|
6465
|
+
draft: "draft";
|
|
6466
|
+
running: "running";
|
|
6467
|
+
verifying: "verifying";
|
|
6468
|
+
reviewing: "reviewing";
|
|
6469
|
+
integrating: "integrating";
|
|
6470
|
+
done: "done";
|
|
6471
|
+
}>>;
|
|
6472
|
+
attempt: z.ZodNumber;
|
|
6473
|
+
status: z.ZodEnum<{
|
|
6474
|
+
failed: "failed";
|
|
6475
|
+
expired: "expired";
|
|
6476
|
+
}>;
|
|
6477
|
+
phase: z.ZodEnum<{
|
|
6478
|
+
ready: "ready";
|
|
6479
|
+
failed: "failed";
|
|
6480
|
+
cancelled: "cancelled";
|
|
6481
|
+
draft: "draft";
|
|
6482
|
+
running: "running";
|
|
6483
|
+
verifying: "verifying";
|
|
6484
|
+
reviewing: "reviewing";
|
|
6485
|
+
integrating: "integrating";
|
|
6486
|
+
done: "done";
|
|
6487
|
+
}>;
|
|
6488
|
+
finishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
6489
|
+
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
6490
|
+
gate: "gate";
|
|
6491
|
+
unknown: "unknown";
|
|
6492
|
+
review: "review";
|
|
6493
|
+
cancelled: "cancelled";
|
|
6494
|
+
environment: "environment";
|
|
6495
|
+
timeout: "timeout";
|
|
6496
|
+
"provider-auth": "provider-auth";
|
|
6497
|
+
stalled: "stalled";
|
|
6498
|
+
"stale-base": "stale-base";
|
|
6499
|
+
"empty-result": "empty-result";
|
|
6500
|
+
unfinished: "unfinished";
|
|
6501
|
+
"scope-violation": "scope-violation";
|
|
6502
|
+
"review-protocol": "review-protocol";
|
|
6503
|
+
merge: "merge";
|
|
6504
|
+
budget: "budget";
|
|
6505
|
+
"needs-lead": "needs-lead";
|
|
6506
|
+
}>>;
|
|
6507
|
+
code: z.ZodEnum<{
|
|
6508
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
6509
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
6510
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
6511
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
6512
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
6513
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
6514
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
6515
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
6516
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
6517
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
6518
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
6519
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
6520
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
6521
|
+
LEASE_STALE: "LEASE_STALE";
|
|
6522
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
6523
|
+
PAUSED: "PAUSED";
|
|
6524
|
+
NOT_READY: "NOT_READY";
|
|
6525
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
6526
|
+
GATE_FAILED: "GATE_FAILED";
|
|
6527
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
6528
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
6529
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
6530
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
6531
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
6532
|
+
CANCELLED: "CANCELLED";
|
|
6533
|
+
NOT_FOUND: "NOT_FOUND";
|
|
6534
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
6535
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
6536
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
6537
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
6538
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
6539
|
+
GIT_FAILED: "GIT_FAILED";
|
|
6540
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
6541
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
6542
|
+
INTERNAL: "INTERNAL";
|
|
6543
|
+
}>;
|
|
6544
|
+
error: z.ZodOptional<z.ZodString>;
|
|
6545
|
+
}, z.core.$strict>>;
|
|
6546
|
+
budgets: z.ZodOptional<z.ZodObject<{
|
|
6547
|
+
onUnknown: z.ZodEnum<{
|
|
6548
|
+
continue: "continue";
|
|
6549
|
+
stop: "stop";
|
|
6550
|
+
}>;
|
|
6551
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
6552
|
+
scope: z.ZodEnum<{
|
|
6553
|
+
work: "work";
|
|
6554
|
+
group: "group";
|
|
6555
|
+
total: "total";
|
|
6556
|
+
}>;
|
|
6557
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6558
|
+
state: z.ZodEnum<{
|
|
6559
|
+
exceeded: "exceeded";
|
|
6560
|
+
undetermined: "undetermined";
|
|
6561
|
+
within: "within";
|
|
6562
|
+
}>;
|
|
6563
|
+
limitUsd: z.ZodOptional<z.ZodNumber>;
|
|
6564
|
+
limitMs: z.ZodOptional<z.ZodNumber>;
|
|
6565
|
+
reportedUsd: z.ZodNumber;
|
|
6566
|
+
estimatedUsd: z.ZodNumber;
|
|
6567
|
+
complete: z.ZodBoolean;
|
|
6568
|
+
unknownCalls: z.ZodNumber;
|
|
6569
|
+
unfinishedCalls: z.ZodNumber;
|
|
6570
|
+
abandonedCalls: z.ZodNumber;
|
|
6571
|
+
uncoveredRuns: z.ZodNumber;
|
|
6572
|
+
durationMs: z.ZodNumber;
|
|
6573
|
+
remainingUsd: z.ZodNullable<z.ZodNumber>;
|
|
6574
|
+
remainingMs: z.ZodNullable<z.ZodNumber>;
|
|
6575
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6576
|
+
}, z.core.$strict>>;
|
|
6577
|
+
}, z.core.$strict>>;
|
|
6578
|
+
repairs: z.ZodArray<z.ZodObject<{
|
|
6579
|
+
graphId: z.ZodString;
|
|
6580
|
+
status: z.ZodString;
|
|
6581
|
+
used: z.ZodNumber;
|
|
6582
|
+
budget: z.ZodNumber;
|
|
6583
|
+
}, z.core.$strict>>;
|
|
6584
|
+
next: z.ZodObject<{
|
|
6585
|
+
actor: z.ZodNullable<z.ZodEnum<{
|
|
6586
|
+
controller: "controller";
|
|
6587
|
+
lead: "lead";
|
|
6588
|
+
user: "user";
|
|
6589
|
+
}>>;
|
|
6590
|
+
action: z.ZodEnum<{
|
|
6591
|
+
none: "none";
|
|
6592
|
+
wait: "wait";
|
|
6593
|
+
retry: "retry";
|
|
6594
|
+
"review-plan": "review-plan";
|
|
6595
|
+
"diagnose-failure": "diagnose-failure";
|
|
6596
|
+
"reset-attempts": "reset-attempts";
|
|
6597
|
+
"raise-budget": "raise-budget";
|
|
6598
|
+
"replan-dependents": "replan-dependents";
|
|
6599
|
+
"recovery-decision": "recovery-decision";
|
|
6600
|
+
"user-decision": "user-decision";
|
|
6601
|
+
"resume-queue": "resume-queue";
|
|
6602
|
+
"fix-environment": "fix-environment";
|
|
6603
|
+
"fix-access": "fix-access";
|
|
6604
|
+
}>;
|
|
6605
|
+
step: z.ZodOptional<z.ZodEnum<{
|
|
6606
|
+
accepted: "accepted";
|
|
6607
|
+
cancelled: "cancelled";
|
|
6608
|
+
"recovery-awaiting-lead": "recovery-awaiting-lead";
|
|
6609
|
+
"recovery-analyzing": "recovery-analyzing";
|
|
6610
|
+
"recovery-applying": "recovery-applying";
|
|
6611
|
+
"recovery-retry-allowed": "recovery-retry-allowed";
|
|
6612
|
+
"recovery-retrying": "recovery-retrying";
|
|
6613
|
+
"recovery-awaiting-user": "recovery-awaiting-user";
|
|
6614
|
+
"recovery-stopped": "recovery-stopped";
|
|
6615
|
+
"corpus-adoption": "corpus-adoption";
|
|
6616
|
+
held: "held";
|
|
6617
|
+
"plan-review": "plan-review";
|
|
6618
|
+
"attempt-running": "attempt-running";
|
|
6619
|
+
"retry-within-budget": "retry-within-budget";
|
|
6620
|
+
"attempts-exhausted": "attempts-exhausted";
|
|
6621
|
+
"awaiting-claim": "awaiting-claim";
|
|
6622
|
+
}>>;
|
|
6623
|
+
property: z.ZodOptional<z.ZodString>;
|
|
6624
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6625
|
+
command: z.ZodOptional<z.ZodEnum<{
|
|
6626
|
+
"harness run": "harness run";
|
|
6627
|
+
"harness resume": "harness resume";
|
|
6628
|
+
}>>;
|
|
6629
|
+
workId: z.ZodOptional<z.ZodString>;
|
|
6630
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
6631
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
6632
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
6633
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
6634
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
6635
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
6636
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
6637
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
6638
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
6639
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
6640
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
6641
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
6642
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
6643
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
6644
|
+
LEASE_STALE: "LEASE_STALE";
|
|
6645
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
6646
|
+
PAUSED: "PAUSED";
|
|
6647
|
+
NOT_READY: "NOT_READY";
|
|
6648
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
6649
|
+
GATE_FAILED: "GATE_FAILED";
|
|
6650
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
6651
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
6652
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
6653
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
6654
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
6655
|
+
CANCELLED: "CANCELLED";
|
|
6656
|
+
NOT_FOUND: "NOT_FOUND";
|
|
6657
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
6658
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
6659
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
6660
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
6661
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
6662
|
+
GIT_FAILED: "GIT_FAILED";
|
|
6663
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
6664
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
6665
|
+
INTERNAL: "INTERNAL";
|
|
6666
|
+
}>>;
|
|
6667
|
+
}, z.core.$strict>;
|
|
6668
|
+
intentions: z.ZodArray<z.ZodString>;
|
|
6669
|
+
truncated: z.ZodObject<{
|
|
6670
|
+
works: z.ZodNumber;
|
|
6671
|
+
stops: z.ZodNumber;
|
|
6672
|
+
failures: z.ZodNumber;
|
|
6673
|
+
unfinished: z.ZodNumber;
|
|
6674
|
+
budgets: z.ZodNumber;
|
|
6675
|
+
budgetsWithin: z.ZodNumber;
|
|
6676
|
+
repairs: z.ZodNumber;
|
|
6677
|
+
intentions: z.ZodNumber;
|
|
6678
|
+
intentionsDropped: z.ZodNumber;
|
|
6679
|
+
bySize: z.ZodBoolean;
|
|
6680
|
+
}, z.core.$strict>;
|
|
6681
|
+
}, z.core.$strict>;
|
|
5609
6682
|
readonly 'plan-request': z.ZodObject<{
|
|
5610
6683
|
prompt: z.ZodString;
|
|
5611
6684
|
readOnly: z.ZodLiteral<true>;
|