devcontour-harness 0.1.0-alpha.29 → 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 +50 -14
- package/docs/architecture.md +64 -0
- package/docs/compatibility.md +15 -14
- package/docs/contracts.md +380 -26
- package/docs/release-notes/0.1.0-alpha.30.md +40 -0
- package/docs/release-notes/0.1.0-alpha.31.md +44 -0
- package/docs/review-probes.md +17 -17
- package/docs/upgrade.md +137 -0
- package/lib/agents/cli-adapter.js +1 -0
- package/lib/agents/review-probe.d.ts +1 -0
- package/lib/agents/review-probe.js +20 -0
- package/lib/cli.js +79 -1
- package/lib/contracts/cli.d.ts +2216 -15
- package/lib/contracts/cli.js +171 -4
- package/lib/contracts/diagnosis.d.ts +2 -1
- package/lib/contracts/diagnosis.js +1 -0
- package/lib/contracts/events.d.ts +1052 -4
- package/lib/contracts/events.js +94 -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 +2 -0
- package/lib/contracts/index.js +2 -0
- package/lib/contracts/policy.d.ts +27 -1
- package/lib/contracts/policy.js +38 -2
- package/lib/contracts/ports.d.ts +5 -1
- package/lib/contracts/published.d.ts +1398 -2
- package/lib/contracts/published.js +4 -0
- package/lib/contracts/repair-policy.js +5 -0
- package/lib/contracts/report.d.ts +1151 -0
- package/lib/contracts/report.js +401 -0
- package/lib/control/harness.d.ts +486 -7
- package/lib/control/harness.js +86 -1
- package/lib/control/recovery.d.ts +1 -1
- package/lib/control/report-file.d.ts +19 -0
- package/lib/control/report-file.js +85 -0
- package/lib/control/report.d.ts +9 -0
- package/lib/control/report.js +27 -0
- package/lib/engine/engine.d.ts +20 -8
- package/lib/engine/engine.js +73 -7
- 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 +121 -13
- 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/dependency-network.d.ts +42 -0
- package/lib/environment/dependency-network.js +413 -0
- package/lib/environment/lifecycle.d.ts +3 -1
- package/lib/environment/lifecycle.js +23 -4
- package/lib/environment/process.d.ts +12 -1
- package/lib/environment/process.js +52 -0
- package/lib/environment/redaction.d.ts +2 -0
- package/lib/environment/redaction.js +19 -0
- package/lib/explain/state.d.ts +38 -0
- package/lib/explain/state.js +31 -11
- 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 +4 -1
- package/lib/index.js +3 -0
- package/lib/integrations/connector/redact.d.ts +2 -13
- package/lib/integrations/connector/redact.js +2 -21
- package/lib/projections/attempt.d.ts +129 -0
- package/lib/projections/attempt.js +78 -0
- package/lib/projections/index.d.ts +2 -1
- package/lib/projections/index.js +2 -1
- package/lib/projections/stop.d.ts +30 -1
- package/lib/projections/stop.js +59 -24
- package/lib/report/compute.d.ts +72 -0
- package/lib/report/compute.js +1220 -0
- package/lib/report/document.d.ts +27 -0
- package/lib/report/document.js +206 -0
- package/lib/report/format.d.ts +23 -0
- package/lib/report/format.js +53 -0
- package/lib/report/html.d.ts +7 -0
- package/lib/report/html.js +109 -0
- package/lib/report/index.d.ts +4 -0
- package/lib/report/index.js +7 -0
- package/lib/report/markdown.d.ts +7 -0
- package/lib/report/markdown.js +112 -0
- package/lib/storage/document.d.ts +28 -6
- package/lib/storage/sqlite.d.ts +21 -0
- package/lib/storage/sqlite.js +70 -7
- package/lib/verification/gates-at.d.ts +11 -1
- package/lib/verification/gates-at.js +28 -2
- package/lib/verification/gates.d.ts +9 -1
- package/lib/verification/gates.js +20 -0
- package/package.json +5 -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 +455 -0
- package/schemas/stop-diagnosis.schema.json +1 -0
- package/schemas/value-report.schema.json +2542 -0
package/lib/contracts/cli.d.ts
CHANGED
|
@@ -128,6 +128,11 @@ export declare const cliCommands: {
|
|
|
128
128
|
readonly value: "id";
|
|
129
129
|
readonly required: false;
|
|
130
130
|
readonly description: "Только этот граф";
|
|
131
|
+
}, {
|
|
132
|
+
readonly name: "--detail";
|
|
133
|
+
readonly value: "flag";
|
|
134
|
+
readonly required: false;
|
|
135
|
+
readonly description: "Добавить detail: почему стоит выдача и активные попытки (стадия, владение, gates)";
|
|
131
136
|
}];
|
|
132
137
|
readonly refusals: ["NOT_FOUND"];
|
|
133
138
|
};
|
|
@@ -330,6 +335,66 @@ export declare const cliCommands: {
|
|
|
330
335
|
}];
|
|
331
336
|
readonly refusals: ["NOT_FOUND"];
|
|
332
337
|
};
|
|
338
|
+
readonly report: {
|
|
339
|
+
readonly description: "Отчёт об эффекте по данным каталога состояния: принятые поручения, отказы проверок и ревью, автономность, скорость, расход, окружение, недели; только чтение, без вызовов моделей";
|
|
340
|
+
readonly writes: false;
|
|
341
|
+
readonly idempotency: "Только чтение. Тот же каталог и те же параметры дают те же байты: момент отчёта по умолчанию — последняя метка времени в данных, а не часы";
|
|
342
|
+
readonly args: [CliArgument, {
|
|
343
|
+
readonly name: "--since";
|
|
344
|
+
readonly value: "text";
|
|
345
|
+
readonly required: false;
|
|
346
|
+
readonly description: "Начало окна включительно: ISO-время с поясом, дата YYYY-MM-DD или Nd/Nw до --as-of";
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: "--until";
|
|
349
|
+
readonly value: "text";
|
|
350
|
+
readonly required: false;
|
|
351
|
+
readonly description: "Конец окна не включительно: ISO-время с поясом или дата";
|
|
352
|
+
}, {
|
|
353
|
+
readonly name: "--as-of";
|
|
354
|
+
readonly value: "text";
|
|
355
|
+
readonly required: false;
|
|
356
|
+
readonly description: "Момент отчёта; по умолчанию — последняя метка времени в данных";
|
|
357
|
+
}, {
|
|
358
|
+
readonly name: "--format";
|
|
359
|
+
readonly value: "text";
|
|
360
|
+
readonly required: false;
|
|
361
|
+
readonly description: "json (по умолчанию, в конверте), md или html (текст в stdout без конверта; отказ — JSON-конверт)";
|
|
362
|
+
}, {
|
|
363
|
+
readonly name: "--no-titles";
|
|
364
|
+
readonly value: "flag";
|
|
365
|
+
readonly required: false;
|
|
366
|
+
readonly description: "Без заголовков поручений и метки проекта";
|
|
367
|
+
}, {
|
|
368
|
+
readonly name: "--out";
|
|
369
|
+
readonly value: "path";
|
|
370
|
+
readonly required: false;
|
|
371
|
+
readonly description: "Записать отчёт выбранного формата в файл (не символическую ссылку и не файл состояния); в stdout — конверт с путём и размером";
|
|
372
|
+
}];
|
|
373
|
+
readonly refusals: ["NOT_FOUND", "PATH_CONFLICT"];
|
|
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
|
+
};
|
|
333
398
|
readonly 'plan-request': {
|
|
334
399
|
readonly description: "Собрать read-only запрос планирования из постановки и фактов проекта (роли, gates, репозитории, контекст, ресурсы, контракты, требования) для ведущего агента; модель не вызывается, ничего не пишется";
|
|
335
400
|
readonly writes: false;
|
|
@@ -481,6 +546,191 @@ export declare const validateDataSchema: z.ZodObject<{
|
|
|
481
546
|
contextDigest: z.ZodOptional<z.ZodString>;
|
|
482
547
|
orders: z.ZodNumber;
|
|
483
548
|
}, z.core.$strict>;
|
|
549
|
+
/** Активная попытка `status --detail` (`attemptView`). */
|
|
550
|
+
export declare const attemptViewSchema: z.ZodObject<{
|
|
551
|
+
runId: z.ZodString;
|
|
552
|
+
workId: z.ZodString;
|
|
553
|
+
attempt: z.ZodNumber;
|
|
554
|
+
status: z.ZodString;
|
|
555
|
+
phase: z.ZodEnum<{
|
|
556
|
+
ready: "ready";
|
|
557
|
+
failed: "failed";
|
|
558
|
+
cancelled: "cancelled";
|
|
559
|
+
draft: "draft";
|
|
560
|
+
running: "running";
|
|
561
|
+
verifying: "verifying";
|
|
562
|
+
reviewing: "reviewing";
|
|
563
|
+
integrating: "integrating";
|
|
564
|
+
done: "done";
|
|
565
|
+
}>;
|
|
566
|
+
runtime: z.ZodString;
|
|
567
|
+
model: z.ZodOptional<z.ZodString>;
|
|
568
|
+
startedAt: z.ZodISODateTime;
|
|
569
|
+
elapsedMs: z.ZodNumber;
|
|
570
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
571
|
+
name: z.ZodString;
|
|
572
|
+
family: z.ZodString;
|
|
573
|
+
startedAt: z.ZodISODateTime;
|
|
574
|
+
elapsedMs: z.ZodNumber;
|
|
575
|
+
}, z.core.$strict>>;
|
|
576
|
+
lease: z.ZodObject<{
|
|
577
|
+
owner: z.ZodString;
|
|
578
|
+
leaseUntil: z.ZodNumber;
|
|
579
|
+
leaseMs: z.ZodNumber;
|
|
580
|
+
sinceHeartbeatMs: z.ZodOptional<z.ZodNumber>;
|
|
581
|
+
stale: z.ZodBoolean;
|
|
582
|
+
}, z.core.$strict>;
|
|
583
|
+
gates: z.ZodObject<{
|
|
584
|
+
phase: z.ZodEnum<{
|
|
585
|
+
candidate: "candidate";
|
|
586
|
+
integration: "integration";
|
|
587
|
+
}>;
|
|
588
|
+
required: z.ZodNumber;
|
|
589
|
+
passed: z.ZodNumber;
|
|
590
|
+
failed: z.ZodNumber;
|
|
591
|
+
remaining: z.ZodNumber;
|
|
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>>;
|
|
616
|
+
}, z.core.$strict>;
|
|
617
|
+
/**
|
|
618
|
+
* Почему выдача стоит (`status --detail`): причина паузы (`queueStop`), кто и
|
|
619
|
+
* что её снимает (`queuePause`, то же рассуждение, что у `explain`), классы
|
|
620
|
+
* отказа паузы runtime и последнее сообщение отказа этих классов.
|
|
621
|
+
*/
|
|
622
|
+
export declare const queueViewSchema: z.ZodObject<{
|
|
623
|
+
paused: z.ZodBoolean;
|
|
624
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
625
|
+
runtime: "runtime";
|
|
626
|
+
operator: "operator";
|
|
627
|
+
shutdown: "shutdown";
|
|
628
|
+
"base-check": "base-check";
|
|
629
|
+
reconfigure: "reconfigure";
|
|
630
|
+
}>>;
|
|
631
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
632
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
633
|
+
operation: z.ZodOptional<z.ZodString>;
|
|
634
|
+
liftedByRun: z.ZodOptional<z.ZodLiteral<true>>;
|
|
635
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
636
|
+
gate: "gate";
|
|
637
|
+
unknown: "unknown";
|
|
638
|
+
review: "review";
|
|
639
|
+
cancelled: "cancelled";
|
|
640
|
+
environment: "environment";
|
|
641
|
+
timeout: "timeout";
|
|
642
|
+
"provider-auth": "provider-auth";
|
|
643
|
+
stalled: "stalled";
|
|
644
|
+
"stale-base": "stale-base";
|
|
645
|
+
"empty-result": "empty-result";
|
|
646
|
+
unfinished: "unfinished";
|
|
647
|
+
"scope-violation": "scope-violation";
|
|
648
|
+
"review-protocol": "review-protocol";
|
|
649
|
+
merge: "merge";
|
|
650
|
+
budget: "budget";
|
|
651
|
+
"needs-lead": "needs-lead";
|
|
652
|
+
}>>>;
|
|
653
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
654
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
655
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
656
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
657
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
658
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
659
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
660
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
661
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
662
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
663
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
664
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
665
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
666
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
667
|
+
LEASE_STALE: "LEASE_STALE";
|
|
668
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
669
|
+
PAUSED: "PAUSED";
|
|
670
|
+
NOT_READY: "NOT_READY";
|
|
671
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
672
|
+
GATE_FAILED: "GATE_FAILED";
|
|
673
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
674
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
675
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
676
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
677
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
678
|
+
CANCELLED: "CANCELLED";
|
|
679
|
+
NOT_FOUND: "NOT_FOUND";
|
|
680
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
681
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
682
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
683
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
684
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
685
|
+
GIT_FAILED: "GIT_FAILED";
|
|
686
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
687
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
688
|
+
INTERNAL: "INTERNAL";
|
|
689
|
+
}>>;
|
|
690
|
+
cause: z.ZodOptional<z.ZodEnum<{
|
|
691
|
+
gate: "gate";
|
|
692
|
+
unknown: "unknown";
|
|
693
|
+
review: "review";
|
|
694
|
+
cancelled: "cancelled";
|
|
695
|
+
environment: "environment";
|
|
696
|
+
timeout: "timeout";
|
|
697
|
+
"provider-auth": "provider-auth";
|
|
698
|
+
stalled: "stalled";
|
|
699
|
+
"stale-base": "stale-base";
|
|
700
|
+
"empty-result": "empty-result";
|
|
701
|
+
unfinished: "unfinished";
|
|
702
|
+
"scope-violation": "scope-violation";
|
|
703
|
+
"review-protocol": "review-protocol";
|
|
704
|
+
merge: "merge";
|
|
705
|
+
budget: "budget";
|
|
706
|
+
"needs-lead": "needs-lead";
|
|
707
|
+
"runtime-missing": "runtime-missing";
|
|
708
|
+
"controller-busy": "controller-busy";
|
|
709
|
+
"operator-pause": "operator-pause";
|
|
710
|
+
"approval-required": "approval-required";
|
|
711
|
+
"not-ready": "not-ready";
|
|
712
|
+
}>>;
|
|
713
|
+
actor: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
714
|
+
controller: "controller";
|
|
715
|
+
lead: "lead";
|
|
716
|
+
user: "user";
|
|
717
|
+
}>>>;
|
|
718
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
719
|
+
none: "none";
|
|
720
|
+
wait: "wait";
|
|
721
|
+
retry: "retry";
|
|
722
|
+
"review-plan": "review-plan";
|
|
723
|
+
"diagnose-failure": "diagnose-failure";
|
|
724
|
+
"reset-attempts": "reset-attempts";
|
|
725
|
+
"raise-budget": "raise-budget";
|
|
726
|
+
"replan-dependents": "replan-dependents";
|
|
727
|
+
"recovery-decision": "recovery-decision";
|
|
728
|
+
"user-decision": "user-decision";
|
|
729
|
+
"resume-queue": "resume-queue";
|
|
730
|
+
"fix-environment": "fix-environment";
|
|
731
|
+
"fix-access": "fix-access";
|
|
732
|
+
}>>;
|
|
733
|
+
}, z.core.$strict>;
|
|
484
734
|
export declare const statusDataSchema: z.ZodObject<{
|
|
485
735
|
stateVersion: z.ZodLiteral<1>;
|
|
486
736
|
control: z.ZodObject<{
|
|
@@ -502,6 +752,7 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
502
752
|
environment: "environment";
|
|
503
753
|
timeout: "timeout";
|
|
504
754
|
"provider-auth": "provider-auth";
|
|
755
|
+
stalled: "stalled";
|
|
505
756
|
"stale-base": "stale-base";
|
|
506
757
|
"empty-result": "empty-result";
|
|
507
758
|
unfinished: "unfinished";
|
|
@@ -566,6 +817,10 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
566
817
|
}>;
|
|
567
818
|
attempt: z.ZodNumber;
|
|
568
819
|
activeRunId: z.ZodOptional<z.ZodString>;
|
|
820
|
+
liveness: z.ZodOptional<z.ZodEnum<{
|
|
821
|
+
stalled: "stalled";
|
|
822
|
+
quiet: "quiet";
|
|
823
|
+
}>>;
|
|
569
824
|
resultSha: z.ZodOptional<z.ZodString>;
|
|
570
825
|
blockers: z.ZodArray<z.ZodObject<{
|
|
571
826
|
code: z.ZodEnum<{
|
|
@@ -644,6 +899,188 @@ export declare const statusDataSchema: z.ZodObject<{
|
|
|
644
899
|
reason: z.ZodOptional<z.ZodString>;
|
|
645
900
|
}, z.core.$strict>>;
|
|
646
901
|
}, z.core.$strict>>;
|
|
902
|
+
detail: z.ZodOptional<z.ZodObject<{
|
|
903
|
+
at: z.ZodISODateTime;
|
|
904
|
+
queue: z.ZodObject<{
|
|
905
|
+
paused: z.ZodBoolean;
|
|
906
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
907
|
+
runtime: "runtime";
|
|
908
|
+
operator: "operator";
|
|
909
|
+
shutdown: "shutdown";
|
|
910
|
+
"base-check": "base-check";
|
|
911
|
+
reconfigure: "reconfigure";
|
|
912
|
+
}>>;
|
|
913
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
914
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
915
|
+
operation: z.ZodOptional<z.ZodString>;
|
|
916
|
+
liftedByRun: z.ZodOptional<z.ZodLiteral<true>>;
|
|
917
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
918
|
+
gate: "gate";
|
|
919
|
+
unknown: "unknown";
|
|
920
|
+
review: "review";
|
|
921
|
+
cancelled: "cancelled";
|
|
922
|
+
environment: "environment";
|
|
923
|
+
timeout: "timeout";
|
|
924
|
+
"provider-auth": "provider-auth";
|
|
925
|
+
stalled: "stalled";
|
|
926
|
+
"stale-base": "stale-base";
|
|
927
|
+
"empty-result": "empty-result";
|
|
928
|
+
unfinished: "unfinished";
|
|
929
|
+
"scope-violation": "scope-violation";
|
|
930
|
+
"review-protocol": "review-protocol";
|
|
931
|
+
merge: "merge";
|
|
932
|
+
budget: "budget";
|
|
933
|
+
"needs-lead": "needs-lead";
|
|
934
|
+
}>>>;
|
|
935
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
936
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
937
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
938
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
939
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
940
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
941
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
942
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
943
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
944
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
945
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
946
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
947
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
948
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
949
|
+
LEASE_STALE: "LEASE_STALE";
|
|
950
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
951
|
+
PAUSED: "PAUSED";
|
|
952
|
+
NOT_READY: "NOT_READY";
|
|
953
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
954
|
+
GATE_FAILED: "GATE_FAILED";
|
|
955
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
956
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
957
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
958
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
959
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
960
|
+
CANCELLED: "CANCELLED";
|
|
961
|
+
NOT_FOUND: "NOT_FOUND";
|
|
962
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
963
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
964
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
965
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
966
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
967
|
+
GIT_FAILED: "GIT_FAILED";
|
|
968
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
969
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
970
|
+
INTERNAL: "INTERNAL";
|
|
971
|
+
}>>;
|
|
972
|
+
cause: z.ZodOptional<z.ZodEnum<{
|
|
973
|
+
gate: "gate";
|
|
974
|
+
unknown: "unknown";
|
|
975
|
+
review: "review";
|
|
976
|
+
cancelled: "cancelled";
|
|
977
|
+
environment: "environment";
|
|
978
|
+
timeout: "timeout";
|
|
979
|
+
"provider-auth": "provider-auth";
|
|
980
|
+
stalled: "stalled";
|
|
981
|
+
"stale-base": "stale-base";
|
|
982
|
+
"empty-result": "empty-result";
|
|
983
|
+
unfinished: "unfinished";
|
|
984
|
+
"scope-violation": "scope-violation";
|
|
985
|
+
"review-protocol": "review-protocol";
|
|
986
|
+
merge: "merge";
|
|
987
|
+
budget: "budget";
|
|
988
|
+
"needs-lead": "needs-lead";
|
|
989
|
+
"runtime-missing": "runtime-missing";
|
|
990
|
+
"controller-busy": "controller-busy";
|
|
991
|
+
"operator-pause": "operator-pause";
|
|
992
|
+
"approval-required": "approval-required";
|
|
993
|
+
"not-ready": "not-ready";
|
|
994
|
+
}>>;
|
|
995
|
+
actor: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
996
|
+
controller: "controller";
|
|
997
|
+
lead: "lead";
|
|
998
|
+
user: "user";
|
|
999
|
+
}>>>;
|
|
1000
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1001
|
+
none: "none";
|
|
1002
|
+
wait: "wait";
|
|
1003
|
+
retry: "retry";
|
|
1004
|
+
"review-plan": "review-plan";
|
|
1005
|
+
"diagnose-failure": "diagnose-failure";
|
|
1006
|
+
"reset-attempts": "reset-attempts";
|
|
1007
|
+
"raise-budget": "raise-budget";
|
|
1008
|
+
"replan-dependents": "replan-dependents";
|
|
1009
|
+
"recovery-decision": "recovery-decision";
|
|
1010
|
+
"user-decision": "user-decision";
|
|
1011
|
+
"resume-queue": "resume-queue";
|
|
1012
|
+
"fix-environment": "fix-environment";
|
|
1013
|
+
"fix-access": "fix-access";
|
|
1014
|
+
}>>;
|
|
1015
|
+
}, z.core.$strict>;
|
|
1016
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
1017
|
+
runId: z.ZodString;
|
|
1018
|
+
workId: z.ZodString;
|
|
1019
|
+
attempt: z.ZodNumber;
|
|
1020
|
+
status: z.ZodString;
|
|
1021
|
+
phase: z.ZodEnum<{
|
|
1022
|
+
ready: "ready";
|
|
1023
|
+
failed: "failed";
|
|
1024
|
+
cancelled: "cancelled";
|
|
1025
|
+
draft: "draft";
|
|
1026
|
+
running: "running";
|
|
1027
|
+
verifying: "verifying";
|
|
1028
|
+
reviewing: "reviewing";
|
|
1029
|
+
integrating: "integrating";
|
|
1030
|
+
done: "done";
|
|
1031
|
+
}>;
|
|
1032
|
+
runtime: z.ZodString;
|
|
1033
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
startedAt: z.ZodISODateTime;
|
|
1035
|
+
elapsedMs: z.ZodNumber;
|
|
1036
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
1037
|
+
name: z.ZodString;
|
|
1038
|
+
family: z.ZodString;
|
|
1039
|
+
startedAt: z.ZodISODateTime;
|
|
1040
|
+
elapsedMs: z.ZodNumber;
|
|
1041
|
+
}, z.core.$strict>>;
|
|
1042
|
+
lease: z.ZodObject<{
|
|
1043
|
+
owner: z.ZodString;
|
|
1044
|
+
leaseUntil: z.ZodNumber;
|
|
1045
|
+
leaseMs: z.ZodNumber;
|
|
1046
|
+
sinceHeartbeatMs: z.ZodOptional<z.ZodNumber>;
|
|
1047
|
+
stale: z.ZodBoolean;
|
|
1048
|
+
}, z.core.$strict>;
|
|
1049
|
+
gates: z.ZodObject<{
|
|
1050
|
+
phase: z.ZodEnum<{
|
|
1051
|
+
candidate: "candidate";
|
|
1052
|
+
integration: "integration";
|
|
1053
|
+
}>;
|
|
1054
|
+
required: z.ZodNumber;
|
|
1055
|
+
passed: z.ZodNumber;
|
|
1056
|
+
failed: z.ZodNumber;
|
|
1057
|
+
remaining: z.ZodNumber;
|
|
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>>;
|
|
1082
|
+
}, z.core.$strict>>;
|
|
1083
|
+
}, z.core.$strict>>;
|
|
647
1084
|
}, z.core.$strict>;
|
|
648
1085
|
export declare const eventsDataSchema: z.ZodObject<{
|
|
649
1086
|
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -654,7 +1091,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
654
1091
|
workId: z.ZodOptional<z.ZodString>;
|
|
655
1092
|
runId: z.ZodOptional<z.ZodString>;
|
|
656
1093
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
657
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "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">;
|
|
658
1095
|
payload: z.ZodObject<{
|
|
659
1096
|
digest: z.ZodString;
|
|
660
1097
|
orders: z.ZodNumber;
|
|
@@ -745,14 +1182,66 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
745
1182
|
sameVendor: z.ZodBoolean;
|
|
746
1183
|
blocking: z.ZodNumber;
|
|
747
1184
|
}, z.core.$strict> | z.ZodObject<{
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
1185
|
+
timingId: z.ZodString;
|
|
1186
|
+
stage: z.ZodString;
|
|
1187
|
+
phase: z.ZodEnum<{
|
|
1188
|
+
started: "started";
|
|
1189
|
+
finished: "finished";
|
|
1190
|
+
}>;
|
|
1191
|
+
at: z.ZodISODateTime;
|
|
1192
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1193
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1194
|
+
passed: "passed";
|
|
1195
|
+
failed: "failed";
|
|
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>>;
|
|
1235
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1236
|
+
failureKind: z.ZodEnum<{
|
|
1237
|
+
gate: "gate";
|
|
1238
|
+
unknown: "unknown";
|
|
751
1239
|
review: "review";
|
|
752
1240
|
cancelled: "cancelled";
|
|
753
1241
|
environment: "environment";
|
|
754
1242
|
timeout: "timeout";
|
|
755
1243
|
"provider-auth": "provider-auth";
|
|
1244
|
+
stalled: "stalled";
|
|
756
1245
|
"stale-base": "stale-base";
|
|
757
1246
|
"empty-result": "empty-result";
|
|
758
1247
|
unfinished: "unfinished";
|
|
@@ -794,6 +1283,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
794
1283
|
environment: "environment";
|
|
795
1284
|
timeout: "timeout";
|
|
796
1285
|
"provider-auth": "provider-auth";
|
|
1286
|
+
stalled: "stalled";
|
|
797
1287
|
"stale-base": "stale-base";
|
|
798
1288
|
"empty-result": "empty-result";
|
|
799
1289
|
unfinished: "unfinished";
|
|
@@ -855,6 +1345,45 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
855
1345
|
verificationId: z.ZodString;
|
|
856
1346
|
workIds: z.ZodArray<z.ZodString>;
|
|
857
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;
|
|
858
1387
|
}, z.core.$strict> | z.ZodObject<{
|
|
859
1388
|
verificationId: z.ZodString;
|
|
860
1389
|
status: z.ZodEnum<{
|
|
@@ -916,7 +1445,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
916
1445
|
workId: z.ZodOptional<z.ZodString>;
|
|
917
1446
|
runId: z.ZodOptional<z.ZodString>;
|
|
918
1447
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
919
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "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">;
|
|
920
1449
|
payload: z.ZodObject<{
|
|
921
1450
|
digest: z.ZodString;
|
|
922
1451
|
orders: z.ZodNumber;
|
|
@@ -1006,6 +1535,57 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1006
1535
|
}>;
|
|
1007
1536
|
sameVendor: z.ZodBoolean;
|
|
1008
1537
|
blocking: z.ZodNumber;
|
|
1538
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1539
|
+
timingId: z.ZodString;
|
|
1540
|
+
stage: z.ZodString;
|
|
1541
|
+
phase: z.ZodEnum<{
|
|
1542
|
+
started: "started";
|
|
1543
|
+
finished: "finished";
|
|
1544
|
+
}>;
|
|
1545
|
+
at: z.ZodISODateTime;
|
|
1546
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1547
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1548
|
+
passed: "passed";
|
|
1549
|
+
failed: "failed";
|
|
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>>;
|
|
1009
1589
|
}, z.core.$strict> | z.ZodObject<{
|
|
1010
1590
|
failureKind: z.ZodEnum<{
|
|
1011
1591
|
gate: "gate";
|
|
@@ -1015,6 +1595,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1015
1595
|
environment: "environment";
|
|
1016
1596
|
timeout: "timeout";
|
|
1017
1597
|
"provider-auth": "provider-auth";
|
|
1598
|
+
stalled: "stalled";
|
|
1018
1599
|
"stale-base": "stale-base";
|
|
1019
1600
|
"empty-result": "empty-result";
|
|
1020
1601
|
unfinished: "unfinished";
|
|
@@ -1056,6 +1637,7 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1056
1637
|
environment: "environment";
|
|
1057
1638
|
timeout: "timeout";
|
|
1058
1639
|
"provider-auth": "provider-auth";
|
|
1640
|
+
stalled: "stalled";
|
|
1059
1641
|
"stale-base": "stale-base";
|
|
1060
1642
|
"empty-result": "empty-result";
|
|
1061
1643
|
unfinished: "unfinished";
|
|
@@ -1117,6 +1699,45 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1117
1699
|
verificationId: z.ZodString;
|
|
1118
1700
|
workIds: z.ZodArray<z.ZodString>;
|
|
1119
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;
|
|
1120
1741
|
}, z.core.$strict> | z.ZodObject<{
|
|
1121
1742
|
verificationId: z.ZodString;
|
|
1122
1743
|
status: z.ZodEnum<{
|
|
@@ -1170,7 +1791,17 @@ export declare const eventsDataSchema: z.ZodObject<{
|
|
|
1170
1791
|
revision: z.ZodString;
|
|
1171
1792
|
attempts: z.ZodNumber;
|
|
1172
1793
|
}, z.core.$strict>;
|
|
1173
|
-
}, z.core.$strict>[]
|
|
1794
|
+
}, z.core.$strict>[], z.ZodObject<{
|
|
1795
|
+
apiVersion: z.ZodLiteral<"devcontour-harness/v1alpha1">;
|
|
1796
|
+
seq: z.ZodNumber;
|
|
1797
|
+
at: z.ZodISODateTime;
|
|
1798
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
1799
|
+
workId: z.ZodOptional<z.ZodString>;
|
|
1800
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1801
|
+
attempt: z.ZodOptional<z.ZodNumber>;
|
|
1802
|
+
type: z.ZodLiteral<"unknown">;
|
|
1803
|
+
original: z.ZodString;
|
|
1804
|
+
}, z.core.$strict>], "type">>;
|
|
1174
1805
|
next: z.ZodNumber;
|
|
1175
1806
|
}, z.core.$strict>;
|
|
1176
1807
|
export declare const runDataSchema: z.ZodObject<{
|
|
@@ -1281,6 +1912,7 @@ export declare const controlDataSchema: z.ZodObject<{
|
|
|
1281
1912
|
environment: "environment";
|
|
1282
1913
|
timeout: "timeout";
|
|
1283
1914
|
"provider-auth": "provider-auth";
|
|
1915
|
+
stalled: "stalled";
|
|
1284
1916
|
"stale-base": "stale-base";
|
|
1285
1917
|
"empty-result": "empty-result";
|
|
1286
1918
|
unfinished: "unfinished";
|
|
@@ -2016,6 +2648,7 @@ export declare const explainDataSchema: z.ZodObject<{
|
|
|
2016
2648
|
environment: "environment";
|
|
2017
2649
|
timeout: "timeout";
|
|
2018
2650
|
"provider-auth": "provider-auth";
|
|
2651
|
+
stalled: "stalled";
|
|
2019
2652
|
"stale-base": "stale-base";
|
|
2020
2653
|
"empty-result": "empty-result";
|
|
2021
2654
|
unfinished: "unfinished";
|
|
@@ -2295,6 +2928,7 @@ export declare const cliDataSchemas: {
|
|
|
2295
2928
|
environment: "environment";
|
|
2296
2929
|
timeout: "timeout";
|
|
2297
2930
|
"provider-auth": "provider-auth";
|
|
2931
|
+
stalled: "stalled";
|
|
2298
2932
|
"stale-base": "stale-base";
|
|
2299
2933
|
"empty-result": "empty-result";
|
|
2300
2934
|
unfinished: "unfinished";
|
|
@@ -2359,6 +2993,10 @@ export declare const cliDataSchemas: {
|
|
|
2359
2993
|
}>;
|
|
2360
2994
|
attempt: z.ZodNumber;
|
|
2361
2995
|
activeRunId: z.ZodOptional<z.ZodString>;
|
|
2996
|
+
liveness: z.ZodOptional<z.ZodEnum<{
|
|
2997
|
+
stalled: "stalled";
|
|
2998
|
+
quiet: "quiet";
|
|
2999
|
+
}>>;
|
|
2362
3000
|
resultSha: z.ZodOptional<z.ZodString>;
|
|
2363
3001
|
blockers: z.ZodArray<z.ZodObject<{
|
|
2364
3002
|
code: z.ZodEnum<{
|
|
@@ -2437,6 +3075,188 @@ export declare const cliDataSchemas: {
|
|
|
2437
3075
|
reason: z.ZodOptional<z.ZodString>;
|
|
2438
3076
|
}, z.core.$strict>>;
|
|
2439
3077
|
}, z.core.$strict>>;
|
|
3078
|
+
detail: z.ZodOptional<z.ZodObject<{
|
|
3079
|
+
at: z.ZodISODateTime;
|
|
3080
|
+
queue: z.ZodObject<{
|
|
3081
|
+
paused: z.ZodBoolean;
|
|
3082
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
3083
|
+
runtime: "runtime";
|
|
3084
|
+
operator: "operator";
|
|
3085
|
+
shutdown: "shutdown";
|
|
3086
|
+
"base-check": "base-check";
|
|
3087
|
+
reconfigure: "reconfigure";
|
|
3088
|
+
}>>;
|
|
3089
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3090
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
3091
|
+
operation: z.ZodOptional<z.ZodString>;
|
|
3092
|
+
liftedByRun: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3093
|
+
failures: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3094
|
+
gate: "gate";
|
|
3095
|
+
unknown: "unknown";
|
|
3096
|
+
review: "review";
|
|
3097
|
+
cancelled: "cancelled";
|
|
3098
|
+
environment: "environment";
|
|
3099
|
+
timeout: "timeout";
|
|
3100
|
+
"provider-auth": "provider-auth";
|
|
3101
|
+
stalled: "stalled";
|
|
3102
|
+
"stale-base": "stale-base";
|
|
3103
|
+
"empty-result": "empty-result";
|
|
3104
|
+
unfinished: "unfinished";
|
|
3105
|
+
"scope-violation": "scope-violation";
|
|
3106
|
+
"review-protocol": "review-protocol";
|
|
3107
|
+
merge: "merge";
|
|
3108
|
+
budget: "budget";
|
|
3109
|
+
"needs-lead": "needs-lead";
|
|
3110
|
+
}>>>;
|
|
3111
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
3112
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
3113
|
+
UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
|
|
3114
|
+
UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
|
|
3115
|
+
GRAPH_CYCLE: "GRAPH_CYCLE";
|
|
3116
|
+
GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
|
|
3117
|
+
GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
|
|
3118
|
+
GATE_UNKNOWN: "GATE_UNKNOWN";
|
|
3119
|
+
GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
|
|
3120
|
+
REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
|
|
3121
|
+
REVIEWER_MISSING: "REVIEWER_MISSING";
|
|
3122
|
+
RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
|
|
3123
|
+
APPROVAL_STALE: "APPROVAL_STALE";
|
|
3124
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
3125
|
+
LEASE_STALE: "LEASE_STALE";
|
|
3126
|
+
CONTROLLER_BUSY: "CONTROLLER_BUSY";
|
|
3127
|
+
PAUSED: "PAUSED";
|
|
3128
|
+
NOT_READY: "NOT_READY";
|
|
3129
|
+
SCOPE_VIOLATION: "SCOPE_VIOLATION";
|
|
3130
|
+
GATE_FAILED: "GATE_FAILED";
|
|
3131
|
+
REVIEW_REJECTED: "REVIEW_REJECTED";
|
|
3132
|
+
BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
|
|
3133
|
+
BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
|
|
3134
|
+
ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
|
|
3135
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
3136
|
+
CANCELLED: "CANCELLED";
|
|
3137
|
+
NOT_FOUND: "NOT_FOUND";
|
|
3138
|
+
PATH_CONFLICT: "PATH_CONFLICT";
|
|
3139
|
+
STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
|
|
3140
|
+
RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
|
|
3141
|
+
REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
|
|
3142
|
+
SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
|
|
3143
|
+
GIT_FAILED: "GIT_FAILED";
|
|
3144
|
+
STORAGE_FAILED: "STORAGE_FAILED";
|
|
3145
|
+
DELIVERY_FAILED: "DELIVERY_FAILED";
|
|
3146
|
+
INTERNAL: "INTERNAL";
|
|
3147
|
+
}>>;
|
|
3148
|
+
cause: z.ZodOptional<z.ZodEnum<{
|
|
3149
|
+
gate: "gate";
|
|
3150
|
+
unknown: "unknown";
|
|
3151
|
+
review: "review";
|
|
3152
|
+
cancelled: "cancelled";
|
|
3153
|
+
environment: "environment";
|
|
3154
|
+
timeout: "timeout";
|
|
3155
|
+
"provider-auth": "provider-auth";
|
|
3156
|
+
stalled: "stalled";
|
|
3157
|
+
"stale-base": "stale-base";
|
|
3158
|
+
"empty-result": "empty-result";
|
|
3159
|
+
unfinished: "unfinished";
|
|
3160
|
+
"scope-violation": "scope-violation";
|
|
3161
|
+
"review-protocol": "review-protocol";
|
|
3162
|
+
merge: "merge";
|
|
3163
|
+
budget: "budget";
|
|
3164
|
+
"needs-lead": "needs-lead";
|
|
3165
|
+
"runtime-missing": "runtime-missing";
|
|
3166
|
+
"controller-busy": "controller-busy";
|
|
3167
|
+
"operator-pause": "operator-pause";
|
|
3168
|
+
"approval-required": "approval-required";
|
|
3169
|
+
"not-ready": "not-ready";
|
|
3170
|
+
}>>;
|
|
3171
|
+
actor: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3172
|
+
controller: "controller";
|
|
3173
|
+
lead: "lead";
|
|
3174
|
+
user: "user";
|
|
3175
|
+
}>>>;
|
|
3176
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
3177
|
+
none: "none";
|
|
3178
|
+
wait: "wait";
|
|
3179
|
+
retry: "retry";
|
|
3180
|
+
"review-plan": "review-plan";
|
|
3181
|
+
"diagnose-failure": "diagnose-failure";
|
|
3182
|
+
"reset-attempts": "reset-attempts";
|
|
3183
|
+
"raise-budget": "raise-budget";
|
|
3184
|
+
"replan-dependents": "replan-dependents";
|
|
3185
|
+
"recovery-decision": "recovery-decision";
|
|
3186
|
+
"user-decision": "user-decision";
|
|
3187
|
+
"resume-queue": "resume-queue";
|
|
3188
|
+
"fix-environment": "fix-environment";
|
|
3189
|
+
"fix-access": "fix-access";
|
|
3190
|
+
}>>;
|
|
3191
|
+
}, z.core.$strict>;
|
|
3192
|
+
attempts: z.ZodArray<z.ZodObject<{
|
|
3193
|
+
runId: z.ZodString;
|
|
3194
|
+
workId: z.ZodString;
|
|
3195
|
+
attempt: z.ZodNumber;
|
|
3196
|
+
status: z.ZodString;
|
|
3197
|
+
phase: z.ZodEnum<{
|
|
3198
|
+
ready: "ready";
|
|
3199
|
+
failed: "failed";
|
|
3200
|
+
cancelled: "cancelled";
|
|
3201
|
+
draft: "draft";
|
|
3202
|
+
running: "running";
|
|
3203
|
+
verifying: "verifying";
|
|
3204
|
+
reviewing: "reviewing";
|
|
3205
|
+
integrating: "integrating";
|
|
3206
|
+
done: "done";
|
|
3207
|
+
}>;
|
|
3208
|
+
runtime: z.ZodString;
|
|
3209
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3210
|
+
startedAt: z.ZodISODateTime;
|
|
3211
|
+
elapsedMs: z.ZodNumber;
|
|
3212
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
3213
|
+
name: z.ZodString;
|
|
3214
|
+
family: z.ZodString;
|
|
3215
|
+
startedAt: z.ZodISODateTime;
|
|
3216
|
+
elapsedMs: z.ZodNumber;
|
|
3217
|
+
}, z.core.$strict>>;
|
|
3218
|
+
lease: z.ZodObject<{
|
|
3219
|
+
owner: z.ZodString;
|
|
3220
|
+
leaseUntil: z.ZodNumber;
|
|
3221
|
+
leaseMs: z.ZodNumber;
|
|
3222
|
+
sinceHeartbeatMs: z.ZodOptional<z.ZodNumber>;
|
|
3223
|
+
stale: z.ZodBoolean;
|
|
3224
|
+
}, z.core.$strict>;
|
|
3225
|
+
gates: z.ZodObject<{
|
|
3226
|
+
phase: z.ZodEnum<{
|
|
3227
|
+
candidate: "candidate";
|
|
3228
|
+
integration: "integration";
|
|
3229
|
+
}>;
|
|
3230
|
+
required: z.ZodNumber;
|
|
3231
|
+
passed: z.ZodNumber;
|
|
3232
|
+
failed: z.ZodNumber;
|
|
3233
|
+
remaining: z.ZodNumber;
|
|
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>>;
|
|
3258
|
+
}, z.core.$strict>>;
|
|
3259
|
+
}, z.core.$strict>>;
|
|
2440
3260
|
}, z.core.$strict>;
|
|
2441
3261
|
readonly events: z.ZodObject<{
|
|
2442
3262
|
events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2447,7 +3267,7 @@ export declare const cliDataSchemas: {
|
|
|
2447
3267
|
workId: z.ZodOptional<z.ZodString>;
|
|
2448
3268
|
runId: z.ZodOptional<z.ZodString>;
|
|
2449
3269
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
2450
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "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">;
|
|
2451
3271
|
payload: z.ZodObject<{
|
|
2452
3272
|
digest: z.ZodString;
|
|
2453
3273
|
orders: z.ZodNumber;
|
|
@@ -2537,6 +3357,57 @@ export declare const cliDataSchemas: {
|
|
|
2537
3357
|
}>;
|
|
2538
3358
|
sameVendor: z.ZodBoolean;
|
|
2539
3359
|
blocking: z.ZodNumber;
|
|
3360
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3361
|
+
timingId: z.ZodString;
|
|
3362
|
+
stage: z.ZodString;
|
|
3363
|
+
phase: z.ZodEnum<{
|
|
3364
|
+
started: "started";
|
|
3365
|
+
finished: "finished";
|
|
3366
|
+
}>;
|
|
3367
|
+
at: z.ZodISODateTime;
|
|
3368
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
3369
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
3370
|
+
passed: "passed";
|
|
3371
|
+
failed: "failed";
|
|
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>>;
|
|
2540
3411
|
}, z.core.$strict> | z.ZodObject<{
|
|
2541
3412
|
failureKind: z.ZodEnum<{
|
|
2542
3413
|
gate: "gate";
|
|
@@ -2546,6 +3417,7 @@ export declare const cliDataSchemas: {
|
|
|
2546
3417
|
environment: "environment";
|
|
2547
3418
|
timeout: "timeout";
|
|
2548
3419
|
"provider-auth": "provider-auth";
|
|
3420
|
+
stalled: "stalled";
|
|
2549
3421
|
"stale-base": "stale-base";
|
|
2550
3422
|
"empty-result": "empty-result";
|
|
2551
3423
|
unfinished: "unfinished";
|
|
@@ -2587,6 +3459,7 @@ export declare const cliDataSchemas: {
|
|
|
2587
3459
|
environment: "environment";
|
|
2588
3460
|
timeout: "timeout";
|
|
2589
3461
|
"provider-auth": "provider-auth";
|
|
3462
|
+
stalled: "stalled";
|
|
2590
3463
|
"stale-base": "stale-base";
|
|
2591
3464
|
"empty-result": "empty-result";
|
|
2592
3465
|
unfinished: "unfinished";
|
|
@@ -2648,6 +3521,45 @@ export declare const cliDataSchemas: {
|
|
|
2648
3521
|
verificationId: z.ZodString;
|
|
2649
3522
|
workIds: z.ZodArray<z.ZodString>;
|
|
2650
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;
|
|
2651
3563
|
}, z.core.$strict> | z.ZodObject<{
|
|
2652
3564
|
verificationId: z.ZodString;
|
|
2653
3565
|
status: z.ZodEnum<{
|
|
@@ -2709,7 +3621,7 @@ export declare const cliDataSchemas: {
|
|
|
2709
3621
|
workId: z.ZodOptional<z.ZodString>;
|
|
2710
3622
|
runId: z.ZodOptional<z.ZodString>;
|
|
2711
3623
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
2712
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "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">;
|
|
2713
3625
|
payload: z.ZodObject<{
|
|
2714
3626
|
digest: z.ZodString;
|
|
2715
3627
|
orders: z.ZodNumber;
|
|
@@ -2799,6 +3711,57 @@ export declare const cliDataSchemas: {
|
|
|
2799
3711
|
}>;
|
|
2800
3712
|
sameVendor: z.ZodBoolean;
|
|
2801
3713
|
blocking: z.ZodNumber;
|
|
3714
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
3715
|
+
timingId: z.ZodString;
|
|
3716
|
+
stage: z.ZodString;
|
|
3717
|
+
phase: z.ZodEnum<{
|
|
3718
|
+
started: "started";
|
|
3719
|
+
finished: "finished";
|
|
3720
|
+
}>;
|
|
3721
|
+
at: z.ZodISODateTime;
|
|
3722
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
3723
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
3724
|
+
passed: "passed";
|
|
3725
|
+
failed: "failed";
|
|
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>>;
|
|
2802
3765
|
}, z.core.$strict> | z.ZodObject<{
|
|
2803
3766
|
failureKind: z.ZodEnum<{
|
|
2804
3767
|
gate: "gate";
|
|
@@ -2808,6 +3771,7 @@ export declare const cliDataSchemas: {
|
|
|
2808
3771
|
environment: "environment";
|
|
2809
3772
|
timeout: "timeout";
|
|
2810
3773
|
"provider-auth": "provider-auth";
|
|
3774
|
+
stalled: "stalled";
|
|
2811
3775
|
"stale-base": "stale-base";
|
|
2812
3776
|
"empty-result": "empty-result";
|
|
2813
3777
|
unfinished: "unfinished";
|
|
@@ -2849,6 +3813,7 @@ export declare const cliDataSchemas: {
|
|
|
2849
3813
|
environment: "environment";
|
|
2850
3814
|
timeout: "timeout";
|
|
2851
3815
|
"provider-auth": "provider-auth";
|
|
3816
|
+
stalled: "stalled";
|
|
2852
3817
|
"stale-base": "stale-base";
|
|
2853
3818
|
"empty-result": "empty-result";
|
|
2854
3819
|
unfinished: "unfinished";
|
|
@@ -2910,6 +3875,45 @@ export declare const cliDataSchemas: {
|
|
|
2910
3875
|
verificationId: z.ZodString;
|
|
2911
3876
|
workIds: z.ZodArray<z.ZodString>;
|
|
2912
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;
|
|
2913
3917
|
}, z.core.$strict> | z.ZodObject<{
|
|
2914
3918
|
verificationId: z.ZodString;
|
|
2915
3919
|
status: z.ZodEnum<{
|
|
@@ -2963,13 +3967,23 @@ export declare const cliDataSchemas: {
|
|
|
2963
3967
|
revision: z.ZodString;
|
|
2964
3968
|
attempts: z.ZodNumber;
|
|
2965
3969
|
}, z.core.$strict>;
|
|
2966
|
-
}, z.core.$strict>[]
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
3970
|
+
}, z.core.$strict>[], z.ZodObject<{
|
|
3971
|
+
apiVersion: z.ZodLiteral<"devcontour-harness/v1alpha1">;
|
|
3972
|
+
seq: z.ZodNumber;
|
|
3973
|
+
at: z.ZodISODateTime;
|
|
3974
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
3975
|
+
workId: z.ZodOptional<z.ZodString>;
|
|
3976
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
3977
|
+
attempt: z.ZodOptional<z.ZodNumber>;
|
|
3978
|
+
type: z.ZodLiteral<"unknown">;
|
|
3979
|
+
original: z.ZodString;
|
|
3980
|
+
}, z.core.$strict>], "type">>;
|
|
3981
|
+
next: z.ZodNumber;
|
|
3982
|
+
}, z.core.$strict>;
|
|
3983
|
+
readonly pause: z.ZodObject<{
|
|
3984
|
+
control: z.ZodObject<{
|
|
3985
|
+
paused: z.ZodBoolean;
|
|
3986
|
+
pauseReason: z.ZodOptional<z.ZodEnum<{
|
|
2973
3987
|
runtime: "runtime";
|
|
2974
3988
|
operator: "operator";
|
|
2975
3989
|
shutdown: "shutdown";
|
|
@@ -2986,6 +4000,7 @@ export declare const cliDataSchemas: {
|
|
|
2986
4000
|
environment: "environment";
|
|
2987
4001
|
timeout: "timeout";
|
|
2988
4002
|
"provider-auth": "provider-auth";
|
|
4003
|
+
stalled: "stalled";
|
|
2989
4004
|
"stale-base": "stale-base";
|
|
2990
4005
|
"empty-result": "empty-result";
|
|
2991
4006
|
unfinished: "unfinished";
|
|
@@ -3041,6 +4056,7 @@ export declare const cliDataSchemas: {
|
|
|
3041
4056
|
environment: "environment";
|
|
3042
4057
|
timeout: "timeout";
|
|
3043
4058
|
"provider-auth": "provider-auth";
|
|
4059
|
+
stalled: "stalled";
|
|
3044
4060
|
"stale-base": "stale-base";
|
|
3045
4061
|
"empty-result": "empty-result";
|
|
3046
4062
|
unfinished: "unfinished";
|
|
@@ -4419,6 +5435,7 @@ export declare const cliDataSchemas: {
|
|
|
4419
5435
|
environment: "environment";
|
|
4420
5436
|
timeout: "timeout";
|
|
4421
5437
|
"provider-auth": "provider-auth";
|
|
5438
|
+
stalled: "stalled";
|
|
4422
5439
|
"stale-base": "stale-base";
|
|
4423
5440
|
"empty-result": "empty-result";
|
|
4424
5441
|
unfinished: "unfinished";
|
|
@@ -4478,6 +5495,1190 @@ export declare const cliDataSchemas: {
|
|
|
4478
5495
|
runId: z.ZodOptional<z.ZodString>;
|
|
4479
5496
|
}, z.core.$strict>>;
|
|
4480
5497
|
}, z.core.$strict>;
|
|
5498
|
+
readonly report: z.ZodUnion<readonly [z.ZodObject<{
|
|
5499
|
+
reportVersion: z.ZodLiteral<1>;
|
|
5500
|
+
harnessVersion: z.ZodString;
|
|
5501
|
+
label: z.ZodNullable<z.ZodString>;
|
|
5502
|
+
window: z.ZodObject<{
|
|
5503
|
+
since: z.ZodNullable<z.ZodISODateTime>;
|
|
5504
|
+
until: z.ZodNullable<z.ZodISODateTime>;
|
|
5505
|
+
asOf: z.ZodISODateTime;
|
|
5506
|
+
}, z.core.$strict>;
|
|
5507
|
+
enoughData: z.ZodBoolean;
|
|
5508
|
+
coverage: z.ZodObject<{
|
|
5509
|
+
works: z.ZodNumber;
|
|
5510
|
+
attempts: z.ZodNumber;
|
|
5511
|
+
failed: z.ZodNumber;
|
|
5512
|
+
withFailureKind: z.ZodNumber;
|
|
5513
|
+
withTimings: z.ZodNumber;
|
|
5514
|
+
withCalls: z.ZodNumber;
|
|
5515
|
+
doneWithoutAttempt: z.ZodNumber;
|
|
5516
|
+
withWait: z.ZodNumber;
|
|
5517
|
+
withEngineVersion: z.ZodNumber;
|
|
5518
|
+
engines: z.ZodArray<z.ZodString>;
|
|
5519
|
+
enginesTruncated: z.ZodBoolean;
|
|
5520
|
+
calls: z.ZodNumber;
|
|
5521
|
+
reviews: z.ZodNumber;
|
|
5522
|
+
events: z.ZodNumber;
|
|
5523
|
+
eventsFrom: z.ZodNullable<z.ZodISODateTime>;
|
|
5524
|
+
}, z.core.$strict>;
|
|
5525
|
+
summary: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5526
|
+
status: z.ZodLiteral<"ok">;
|
|
5527
|
+
headlines: z.ZodArray<z.ZodObject<{
|
|
5528
|
+
id: z.ZodEnum<{
|
|
5529
|
+
accepted: "accepted";
|
|
5530
|
+
environment: "environment";
|
|
5531
|
+
"sent-back": "sent-back";
|
|
5532
|
+
"lead-time": "lead-time";
|
|
5533
|
+
spend: "spend";
|
|
5534
|
+
}>;
|
|
5535
|
+
value: z.ZodString;
|
|
5536
|
+
text: z.ZodString;
|
|
5537
|
+
basis: z.ZodString;
|
|
5538
|
+
measure: z.ZodObject<{
|
|
5539
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
5540
|
+
n: z.ZodNumber;
|
|
5541
|
+
unknown: z.ZodNumber;
|
|
5542
|
+
bound: z.ZodEnum<{
|
|
5543
|
+
exact: "exact";
|
|
5544
|
+
unknown: "unknown";
|
|
5545
|
+
lower: "lower";
|
|
5546
|
+
upper: "upper";
|
|
5547
|
+
}>;
|
|
5548
|
+
}, z.core.$strict>;
|
|
5549
|
+
}, z.core.$strict>>;
|
|
5550
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5551
|
+
status: z.ZodLiteral<"not-enough-data">;
|
|
5552
|
+
text: z.ZodString;
|
|
5553
|
+
accepted: z.ZodNumber;
|
|
5554
|
+
attempts: z.ZodNumber;
|
|
5555
|
+
failedAttempts: z.ZodNumber;
|
|
5556
|
+
works: z.ZodNumber;
|
|
5557
|
+
}, z.core.$strict>], "status">;
|
|
5558
|
+
defects: z.ZodObject<{
|
|
5559
|
+
rejected: z.ZodNumber;
|
|
5560
|
+
byKind: z.ZodObject<{
|
|
5561
|
+
gate: z.ZodNumber;
|
|
5562
|
+
review: z.ZodNumber;
|
|
5563
|
+
'scope-violation': z.ZodNumber;
|
|
5564
|
+
}, z.core.$strict>;
|
|
5565
|
+
byPhase: z.ZodObject<{
|
|
5566
|
+
candidate: z.ZodNumber;
|
|
5567
|
+
integration: z.ZodNumber;
|
|
5568
|
+
unknown: z.ZodNumber;
|
|
5569
|
+
}, z.core.$strict>;
|
|
5570
|
+
sentBack: z.ZodObject<{
|
|
5571
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
5572
|
+
n: z.ZodNumber;
|
|
5573
|
+
unknown: z.ZodNumber;
|
|
5574
|
+
bound: z.ZodEnum<{
|
|
5575
|
+
exact: "exact";
|
|
5576
|
+
unknown: "unknown";
|
|
5577
|
+
lower: "lower";
|
|
5578
|
+
upper: "upper";
|
|
5579
|
+
}>;
|
|
5580
|
+
}, z.core.$strict>;
|
|
5581
|
+
sentBackSetupOnly: z.ZodNumber;
|
|
5582
|
+
sentBackRange: z.ZodObject<{
|
|
5583
|
+
min: z.ZodNumber;
|
|
5584
|
+
max: z.ZodNumber;
|
|
5585
|
+
}, z.core.$strict>;
|
|
5586
|
+
byGate: z.ZodArray<z.ZodObject<{
|
|
5587
|
+
gate: z.ZodString;
|
|
5588
|
+
phase: z.ZodEnum<{
|
|
5589
|
+
candidate: "candidate";
|
|
5590
|
+
integration: "integration";
|
|
5591
|
+
}>;
|
|
5592
|
+
failed: z.ZodNumber;
|
|
5593
|
+
setup: z.ZodBoolean;
|
|
5594
|
+
}, z.core.$strict>>;
|
|
5595
|
+
byGateTruncated: z.ZodBoolean;
|
|
5596
|
+
reviews: z.ZodObject<{
|
|
5597
|
+
rejected: z.ZodNumber;
|
|
5598
|
+
candidate: z.ZodNumber;
|
|
5599
|
+
integration: z.ZodNumber;
|
|
5600
|
+
blockingFindings: z.ZodNumber;
|
|
5601
|
+
withoutFindings: z.ZodNumber;
|
|
5602
|
+
}, z.core.$strict>;
|
|
5603
|
+
afterGreenGates: z.ZodObject<{
|
|
5604
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
5605
|
+
n: z.ZodNumber;
|
|
5606
|
+
unknown: z.ZodNumber;
|
|
5607
|
+
bound: z.ZodEnum<{
|
|
5608
|
+
exact: "exact";
|
|
5609
|
+
unknown: "unknown";
|
|
5610
|
+
lower: "lower";
|
|
5611
|
+
upper: "upper";
|
|
5612
|
+
}>;
|
|
5613
|
+
}, z.core.$strict>;
|
|
5614
|
+
integration: z.ZodNumber;
|
|
5615
|
+
planContract: z.ZodObject<{
|
|
5616
|
+
rounds: z.ZodNumber;
|
|
5617
|
+
rejected: z.ZodNumber;
|
|
5618
|
+
plans: z.ZodObject<{
|
|
5619
|
+
rounds: z.ZodNumber;
|
|
5620
|
+
rejected: z.ZodNumber;
|
|
5621
|
+
}, z.core.$strict>;
|
|
5622
|
+
contracts: z.ZodObject<{
|
|
5623
|
+
rounds: z.ZodNumber;
|
|
5624
|
+
rejected: z.ZodNumber;
|
|
5625
|
+
}, z.core.$strict>;
|
|
5626
|
+
blockingClosed: z.ZodNumber;
|
|
5627
|
+
blockingOpen: z.ZodNumber;
|
|
5628
|
+
blockingWithdrawn: z.ZodNumber;
|
|
5629
|
+
}, z.core.$strict>;
|
|
5630
|
+
withdrawn: z.ZodObject<{
|
|
5631
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
5632
|
+
n: z.ZodNumber;
|
|
5633
|
+
unknown: z.ZodNumber;
|
|
5634
|
+
bound: z.ZodEnum<{
|
|
5635
|
+
exact: "exact";
|
|
5636
|
+
unknown: "unknown";
|
|
5637
|
+
lower: "lower";
|
|
5638
|
+
upper: "upper";
|
|
5639
|
+
}>;
|
|
5640
|
+
}, z.core.$strict>;
|
|
5641
|
+
items: z.ZodArray<z.ZodObject<{
|
|
5642
|
+
workId: z.ZodString;
|
|
5643
|
+
runId: z.ZodString;
|
|
5644
|
+
attempt: z.ZodNumber;
|
|
5645
|
+
kind: z.ZodEnum<{
|
|
5646
|
+
test: "test";
|
|
5647
|
+
review: "review";
|
|
5648
|
+
scope: "scope";
|
|
5649
|
+
}>;
|
|
5650
|
+
phase: z.ZodNullable<z.ZodEnum<{
|
|
5651
|
+
candidate: "candidate";
|
|
5652
|
+
integration: "integration";
|
|
5653
|
+
}>>;
|
|
5654
|
+
gate: z.ZodNullable<z.ZodString>;
|
|
5655
|
+
at: z.ZodISODateTime;
|
|
5656
|
+
sha: z.ZodNullable<z.ZodString>;
|
|
5657
|
+
log: z.ZodNullable<z.ZodString>;
|
|
5658
|
+
blocking: z.ZodNullable<z.ZodNumber>;
|
|
5659
|
+
}, z.core.$strict>>;
|
|
5660
|
+
itemsTotal: z.ZodNumber;
|
|
5661
|
+
itemsTruncated: z.ZodBoolean;
|
|
5662
|
+
}, z.core.$strict>;
|
|
5663
|
+
autonomy: z.ZodObject<{
|
|
5664
|
+
withAction: z.ZodObject<{
|
|
5665
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
5666
|
+
n: z.ZodNumber;
|
|
5667
|
+
unknown: z.ZodNumber;
|
|
5668
|
+
bound: z.ZodEnum<{
|
|
5669
|
+
exact: "exact";
|
|
5670
|
+
unknown: "unknown";
|
|
5671
|
+
lower: "lower";
|
|
5672
|
+
upper: "upper";
|
|
5673
|
+
}>;
|
|
5674
|
+
}, z.core.$strict>;
|
|
5675
|
+
withoutAction: z.ZodObject<{
|
|
5676
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
5677
|
+
n: z.ZodNumber;
|
|
5678
|
+
unknown: z.ZodNumber;
|
|
5679
|
+
bound: z.ZodEnum<{
|
|
5680
|
+
exact: "exact";
|
|
5681
|
+
unknown: "unknown";
|
|
5682
|
+
lower: "lower";
|
|
5683
|
+
upper: "upper";
|
|
5684
|
+
}>;
|
|
5685
|
+
}, z.core.$strict>;
|
|
5686
|
+
actions: z.ZodObject<{
|
|
5687
|
+
operatorDecisions: z.ZodNumber;
|
|
5688
|
+
holds: z.ZodNumber;
|
|
5689
|
+
cancelledAttempts: z.ZodNumber;
|
|
5690
|
+
retries: z.ZodNullable<z.ZodNumber>;
|
|
5691
|
+
resets: z.ZodNullable<z.ZodNumber>;
|
|
5692
|
+
baseMoves: z.ZodNullable<z.ZodNumber>;
|
|
5693
|
+
}, z.core.$strict>;
|
|
5694
|
+
approvals: z.ZodObject<{
|
|
5695
|
+
operator: z.ZodNumber;
|
|
5696
|
+
agent: z.ZodNumber;
|
|
5697
|
+
source: z.ZodEnum<{
|
|
5698
|
+
none: "none";
|
|
5699
|
+
state: "state";
|
|
5700
|
+
events: "events";
|
|
5701
|
+
mixed: "mixed";
|
|
5702
|
+
}>;
|
|
5703
|
+
}, z.core.$strict>;
|
|
5704
|
+
pauses: z.ZodArray<z.ZodObject<{
|
|
5705
|
+
reason: z.ZodEnum<{
|
|
5706
|
+
runtime: "runtime";
|
|
5707
|
+
operator: "operator";
|
|
5708
|
+
shutdown: "shutdown";
|
|
5709
|
+
"base-check": "base-check";
|
|
5710
|
+
reconfigure: "reconfigure";
|
|
5711
|
+
}>;
|
|
5712
|
+
count: z.ZodNumber;
|
|
5713
|
+
pausedMs: z.ZodNumber;
|
|
5714
|
+
open: z.ZodNumber;
|
|
5715
|
+
failures: z.ZodArray<z.ZodEnum<{
|
|
5716
|
+
gate: "gate";
|
|
5717
|
+
unknown: "unknown";
|
|
5718
|
+
review: "review";
|
|
5719
|
+
cancelled: "cancelled";
|
|
5720
|
+
environment: "environment";
|
|
5721
|
+
timeout: "timeout";
|
|
5722
|
+
"provider-auth": "provider-auth";
|
|
5723
|
+
stalled: "stalled";
|
|
5724
|
+
"stale-base": "stale-base";
|
|
5725
|
+
"empty-result": "empty-result";
|
|
5726
|
+
unfinished: "unfinished";
|
|
5727
|
+
"scope-violation": "scope-violation";
|
|
5728
|
+
"review-protocol": "review-protocol";
|
|
5729
|
+
merge: "merge";
|
|
5730
|
+
budget: "budget";
|
|
5731
|
+
"needs-lead": "needs-lead";
|
|
5732
|
+
}>>;
|
|
5733
|
+
}, z.core.$strict>>;
|
|
5734
|
+
escalations: z.ZodNumber;
|
|
5735
|
+
}, z.core.$strict>;
|
|
5736
|
+
speed: z.ZodObject<{
|
|
5737
|
+
leadTime: z.ZodObject<{
|
|
5738
|
+
n: z.ZodNumber;
|
|
5739
|
+
unknown: z.ZodNumber;
|
|
5740
|
+
median: z.ZodNullable<z.ZodNumber>;
|
|
5741
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
5742
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
5743
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
5744
|
+
}, z.core.$strict>;
|
|
5745
|
+
leadTimeFallback: z.ZodNumber;
|
|
5746
|
+
dependencyWait: z.ZodObject<{
|
|
5747
|
+
n: z.ZodNumber;
|
|
5748
|
+
unknown: z.ZodNumber;
|
|
5749
|
+
median: z.ZodNullable<z.ZodNumber>;
|
|
5750
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
5751
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
5752
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
5753
|
+
}, z.core.$strict>;
|
|
5754
|
+
queueWait: z.ZodObject<{
|
|
5755
|
+
n: z.ZodNumber;
|
|
5756
|
+
unknown: z.ZodNumber;
|
|
5757
|
+
median: z.ZodNullable<z.ZodNumber>;
|
|
5758
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
5759
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
5760
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
5761
|
+
}, z.core.$strict>;
|
|
5762
|
+
stages: z.ZodArray<z.ZodObject<{
|
|
5763
|
+
family: z.ZodString;
|
|
5764
|
+
spans: z.ZodNumber;
|
|
5765
|
+
totalMs: z.ZodNumber;
|
|
5766
|
+
medianMs: z.ZodNullable<z.ZodNumber>;
|
|
5767
|
+
acceptedMs: z.ZodNumber;
|
|
5768
|
+
rejectedMs: z.ZodNumber;
|
|
5769
|
+
incomplete: z.ZodNumber;
|
|
5770
|
+
}, z.core.$strict>>;
|
|
5771
|
+
stagesTruncated: z.ZodBoolean;
|
|
5772
|
+
firstPass: z.ZodObject<{
|
|
5773
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
5774
|
+
n: z.ZodNumber;
|
|
5775
|
+
unknown: z.ZodNumber;
|
|
5776
|
+
bound: z.ZodEnum<{
|
|
5777
|
+
exact: "exact";
|
|
5778
|
+
unknown: "unknown";
|
|
5779
|
+
lower: "lower";
|
|
5780
|
+
upper: "upper";
|
|
5781
|
+
}>;
|
|
5782
|
+
}, z.core.$strict>;
|
|
5783
|
+
firstPassRaw: z.ZodObject<{
|
|
5784
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
5785
|
+
n: z.ZodNumber;
|
|
5786
|
+
unknown: z.ZodNumber;
|
|
5787
|
+
bound: z.ZodEnum<{
|
|
5788
|
+
exact: "exact";
|
|
5789
|
+
unknown: "unknown";
|
|
5790
|
+
lower: "lower";
|
|
5791
|
+
upper: "upper";
|
|
5792
|
+
}>;
|
|
5793
|
+
}, z.core.$strict>;
|
|
5794
|
+
finished: z.ZodObject<{
|
|
5795
|
+
accepted: z.ZodNumber;
|
|
5796
|
+
failed: z.ZodNumber;
|
|
5797
|
+
cancelled: z.ZodNumber;
|
|
5798
|
+
}, z.core.$strict>;
|
|
5799
|
+
attemptsPerAccepted: z.ZodObject<{
|
|
5800
|
+
n: z.ZodNumber;
|
|
5801
|
+
buckets: z.ZodObject<{
|
|
5802
|
+
'1': z.ZodNumber;
|
|
5803
|
+
'2': z.ZodNumber;
|
|
5804
|
+
'3': z.ZodNumber;
|
|
5805
|
+
'4-6': z.ZodNumber;
|
|
5806
|
+
'7+': z.ZodNumber;
|
|
5807
|
+
}, z.core.$strict>;
|
|
5808
|
+
median: z.ZodNullable<z.ZodNumber>;
|
|
5809
|
+
mean: z.ZodNullable<z.ZodNumber>;
|
|
5810
|
+
}, z.core.$strict>;
|
|
5811
|
+
attemptsOnOther: z.ZodNumber;
|
|
5812
|
+
machineTime: z.ZodObject<{
|
|
5813
|
+
n: z.ZodNumber;
|
|
5814
|
+
unknown: z.ZodNumber;
|
|
5815
|
+
median: z.ZodNullable<z.ZodNumber>;
|
|
5816
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
5817
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
5818
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
5819
|
+
}, z.core.$strict>;
|
|
5820
|
+
}, z.core.$strict>;
|
|
5821
|
+
cost: z.ZodObject<{
|
|
5822
|
+
calls: z.ZodNumber;
|
|
5823
|
+
knownCalls: z.ZodNumber;
|
|
5824
|
+
knownUsd: z.ZodNumber;
|
|
5825
|
+
reportedUsd: z.ZodNumber;
|
|
5826
|
+
estimatedUsd: z.ZodNumber;
|
|
5827
|
+
unknown: z.ZodObject<{
|
|
5828
|
+
total: z.ZodNumber;
|
|
5829
|
+
noPrice: z.ZodNumber;
|
|
5830
|
+
incomplete: z.ZodNumber;
|
|
5831
|
+
active: z.ZodNumber;
|
|
5832
|
+
abandoned: z.ZodNumber;
|
|
5833
|
+
byRuntime: z.ZodArray<z.ZodObject<{
|
|
5834
|
+
runtime: z.ZodString;
|
|
5835
|
+
calls: z.ZodNumber;
|
|
5836
|
+
}, z.core.$strict>>;
|
|
5837
|
+
}, z.core.$strict>;
|
|
5838
|
+
attemptsWithoutCalls: z.ZodNumber;
|
|
5839
|
+
attemptsPartialCalls: z.ZodNumber;
|
|
5840
|
+
perAccepted: z.ZodObject<{
|
|
5841
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
5842
|
+
n: z.ZodNumber;
|
|
5843
|
+
unknown: z.ZodNumber;
|
|
5844
|
+
bound: z.ZodEnum<{
|
|
5845
|
+
exact: "exact";
|
|
5846
|
+
unknown: "unknown";
|
|
5847
|
+
lower: "lower";
|
|
5848
|
+
upper: "upper";
|
|
5849
|
+
}>;
|
|
5850
|
+
}, z.core.$strict>;
|
|
5851
|
+
perAttempt: z.ZodObject<{
|
|
5852
|
+
n: z.ZodNumber;
|
|
5853
|
+
unknown: z.ZodNumber;
|
|
5854
|
+
median: z.ZodNullable<z.ZodNumber>;
|
|
5855
|
+
p75: z.ZodNullable<z.ZodNumber>;
|
|
5856
|
+
max: z.ZodNullable<z.ZodNumber>;
|
|
5857
|
+
values: z.ZodArray<z.ZodNumber>;
|
|
5858
|
+
}, z.core.$strict>;
|
|
5859
|
+
rejected: z.ZodObject<{
|
|
5860
|
+
bound: z.ZodEnum<{
|
|
5861
|
+
exact: "exact";
|
|
5862
|
+
unknown: "unknown";
|
|
5863
|
+
lower: "lower";
|
|
5864
|
+
upper: "upper";
|
|
5865
|
+
}>;
|
|
5866
|
+
usd: z.ZodNumber;
|
|
5867
|
+
totalUsd: z.ZodNumber;
|
|
5868
|
+
attempts: z.ZodNumber;
|
|
5869
|
+
byBucket: z.ZodArray<z.ZodObject<{
|
|
5870
|
+
bucket: z.ZodEnum<{
|
|
5871
|
+
unknown: "unknown";
|
|
5872
|
+
integration: "integration";
|
|
5873
|
+
environment: "environment";
|
|
5874
|
+
operator: "operator";
|
|
5875
|
+
budget: "budget";
|
|
5876
|
+
defect: "defect";
|
|
5877
|
+
incomplete: "incomplete";
|
|
5878
|
+
"time-limit": "time-limit";
|
|
5879
|
+
tool: "tool";
|
|
5880
|
+
unclassified: "unclassified";
|
|
5881
|
+
}>;
|
|
5882
|
+
usd: z.ZodNumber;
|
|
5883
|
+
}, z.core.$strict>>;
|
|
5884
|
+
}, z.core.$strict>;
|
|
5885
|
+
byStage: z.ZodArray<z.ZodObject<{
|
|
5886
|
+
stage: z.ZodString;
|
|
5887
|
+
calls: z.ZodNumber;
|
|
5888
|
+
knownUsd: z.ZodNumber;
|
|
5889
|
+
unknownCalls: z.ZodNumber;
|
|
5890
|
+
}, z.core.$strict>>;
|
|
5891
|
+
tokens: z.ZodObject<{
|
|
5892
|
+
input: z.ZodNumber;
|
|
5893
|
+
output: z.ZodNumber;
|
|
5894
|
+
cacheRead: z.ZodNumber;
|
|
5895
|
+
cacheWrite: z.ZodNumber;
|
|
5896
|
+
incompleteCalls: z.ZodNumber;
|
|
5897
|
+
}, z.core.$strict>;
|
|
5898
|
+
}, z.core.$strict>;
|
|
5899
|
+
environment: z.ZodObject<{
|
|
5900
|
+
failed: z.ZodNumber;
|
|
5901
|
+
classified: z.ZodNumber;
|
|
5902
|
+
interrupted: z.ZodNumber;
|
|
5903
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
5904
|
+
bucket: z.ZodEnum<{
|
|
5905
|
+
unknown: "unknown";
|
|
5906
|
+
integration: "integration";
|
|
5907
|
+
environment: "environment";
|
|
5908
|
+
operator: "operator";
|
|
5909
|
+
budget: "budget";
|
|
5910
|
+
defect: "defect";
|
|
5911
|
+
incomplete: "incomplete";
|
|
5912
|
+
"time-limit": "time-limit";
|
|
5913
|
+
tool: "tool";
|
|
5914
|
+
unclassified: "unclassified";
|
|
5915
|
+
}>;
|
|
5916
|
+
count: z.ZodNumber;
|
|
5917
|
+
}, z.core.$strict>>;
|
|
5918
|
+
share: z.ZodObject<{
|
|
5919
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
5920
|
+
n: z.ZodNumber;
|
|
5921
|
+
unknown: z.ZodNumber;
|
|
5922
|
+
bound: z.ZodEnum<{
|
|
5923
|
+
exact: "exact";
|
|
5924
|
+
unknown: "unknown";
|
|
5925
|
+
lower: "lower";
|
|
5926
|
+
upper: "upper";
|
|
5927
|
+
}>;
|
|
5928
|
+
}, z.core.$strict>;
|
|
5929
|
+
setupCheckFailures: z.ZodNumber;
|
|
5930
|
+
timeLimit: z.ZodNumber;
|
|
5931
|
+
causes: z.ZodNull;
|
|
5932
|
+
neutral: z.ZodObject<{
|
|
5933
|
+
costBound: z.ZodEnum<{
|
|
5934
|
+
exact: "exact";
|
|
5935
|
+
unknown: "unknown";
|
|
5936
|
+
lower: "lower";
|
|
5937
|
+
upper: "upper";
|
|
5938
|
+
}>;
|
|
5939
|
+
attempts: z.ZodNumber;
|
|
5940
|
+
blocked: z.ZodNumber;
|
|
5941
|
+
machineMs: z.ZodNumber;
|
|
5942
|
+
knownUsd: z.ZodNumber;
|
|
5943
|
+
runtimePauses: z.ZodNumber;
|
|
5944
|
+
}, z.core.$strict>;
|
|
5945
|
+
rechecks: z.ZodObject<{
|
|
5946
|
+
flaky: z.ZodNumber;
|
|
5947
|
+
confirmed: z.ZodNumber;
|
|
5948
|
+
}, z.core.$strict>;
|
|
5949
|
+
}, z.core.$strict>;
|
|
5950
|
+
weeks: z.ZodObject<{
|
|
5951
|
+
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
5952
|
+
kind: z.ZodLiteral<"week">;
|
|
5953
|
+
week: z.ZodString;
|
|
5954
|
+
attempts: z.ZodNumber;
|
|
5955
|
+
accepted: z.ZodNumber;
|
|
5956
|
+
firstPass: z.ZodNumber;
|
|
5957
|
+
defects: z.ZodNumber;
|
|
5958
|
+
environment: z.ZodNumber;
|
|
5959
|
+
knownUsd: z.ZodNumber;
|
|
5960
|
+
unknownCalls: z.ZodNumber;
|
|
5961
|
+
leadMedianMs: z.ZodNullable<z.ZodNumber>;
|
|
5962
|
+
engines: z.ZodArray<z.ZodString>;
|
|
5963
|
+
engineChanged: z.ZodBoolean;
|
|
5964
|
+
enginesTruncated: z.ZodBoolean;
|
|
5965
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5966
|
+
kind: z.ZodLiteral<"gap">;
|
|
5967
|
+
from: z.ZodString;
|
|
5968
|
+
to: z.ZodString;
|
|
5969
|
+
}, z.core.$strict>]>>;
|
|
5970
|
+
earlier: z.ZodNullable<z.ZodObject<{
|
|
5971
|
+
kind: z.ZodLiteral<"earlier">;
|
|
5972
|
+
from: z.ZodString;
|
|
5973
|
+
to: z.ZodString;
|
|
5974
|
+
weeks: z.ZodNumber;
|
|
5975
|
+
attempts: z.ZodNumber;
|
|
5976
|
+
accepted: z.ZodNumber;
|
|
5977
|
+
firstPass: z.ZodNumber;
|
|
5978
|
+
defects: z.ZodNumber;
|
|
5979
|
+
environment: z.ZodNumber;
|
|
5980
|
+
knownUsd: z.ZodNumber;
|
|
5981
|
+
unknownCalls: z.ZodNumber;
|
|
5982
|
+
}, z.core.$strict>>;
|
|
5983
|
+
active: z.ZodNumber;
|
|
5984
|
+
}, z.core.$strict>;
|
|
5985
|
+
works: z.ZodObject<{
|
|
5986
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
5987
|
+
id: z.ZodString;
|
|
5988
|
+
title: z.ZodOptional<z.ZodString>;
|
|
5989
|
+
outcome: z.ZodEnum<{
|
|
5990
|
+
failed: "failed";
|
|
5991
|
+
accepted: "accepted";
|
|
5992
|
+
cancelled: "cancelled";
|
|
5993
|
+
}>;
|
|
5994
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
5995
|
+
attempts: z.ZodNumber;
|
|
5996
|
+
counted: z.ZodNumber;
|
|
5997
|
+
leadMs: z.ZodNullable<z.ZodNumber>;
|
|
5998
|
+
knownUsd: z.ZodNumber;
|
|
5999
|
+
unknownCalls: z.ZodNumber;
|
|
6000
|
+
costBound: z.ZodEnum<{
|
|
6001
|
+
exact: "exact";
|
|
6002
|
+
unknown: "unknown";
|
|
6003
|
+
lower: "lower";
|
|
6004
|
+
upper: "upper";
|
|
6005
|
+
}>;
|
|
6006
|
+
rejections: z.ZodArray<z.ZodObject<{
|
|
6007
|
+
key: z.ZodEnum<{
|
|
6008
|
+
unknown: "unknown";
|
|
6009
|
+
integration: "integration";
|
|
6010
|
+
environment: "environment";
|
|
6011
|
+
operator: "operator";
|
|
6012
|
+
budget: "budget";
|
|
6013
|
+
defect: "defect";
|
|
6014
|
+
incomplete: "incomplete";
|
|
6015
|
+
"time-limit": "time-limit";
|
|
6016
|
+
tool: "tool";
|
|
6017
|
+
unclassified: "unclassified";
|
|
6018
|
+
}>;
|
|
6019
|
+
count: z.ZodNumber;
|
|
6020
|
+
}, z.core.$strict>>;
|
|
6021
|
+
}, z.core.$strict>>;
|
|
6022
|
+
total: z.ZodNumber;
|
|
6023
|
+
truncated: z.ZodBoolean;
|
|
6024
|
+
}, z.core.$strict>;
|
|
6025
|
+
limitations: z.ZodArray<z.ZodObject<{
|
|
6026
|
+
id: z.ZodString;
|
|
6027
|
+
text: z.ZodString;
|
|
6028
|
+
}, z.core.$strict>>;
|
|
6029
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6030
|
+
out: z.ZodString;
|
|
6031
|
+
format: z.ZodEnum<{
|
|
6032
|
+
json: "json";
|
|
6033
|
+
md: "md";
|
|
6034
|
+
html: "html";
|
|
6035
|
+
}>;
|
|
6036
|
+
bytes: z.ZodNumber;
|
|
6037
|
+
asOf: z.ZodISODateTime;
|
|
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>;
|
|
4481
6682
|
readonly 'plan-request': z.ZodObject<{
|
|
4482
6683
|
prompt: z.ZodString;
|
|
4483
6684
|
readOnly: z.ZodLiteral<true>;
|