devcontour-harness 0.1.0-alpha.35 → 0.1.0-alpha.37

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.
Files changed (116) hide show
  1. package/README.md +16 -2
  2. package/docs/contracts.md +261 -33
  3. package/docs/release-notes/0.1.0-alpha.36.md +26 -0
  4. package/docs/release-notes/0.1.0-alpha.37.md +40 -0
  5. package/docs/standalone.md +20 -0
  6. package/docs/toolchains.md +57 -2
  7. package/docs/upgrade.md +108 -0
  8. package/lib/agents/schemas.d.ts +84 -2
  9. package/lib/agents/schemas.js +49 -1
  10. package/lib/cli.js +149 -1
  11. package/lib/contracts/cli.d.ts +1495 -170
  12. package/lib/contracts/cli.js +232 -2
  13. package/lib/contracts/diagnosis.d.ts +8 -4
  14. package/lib/contracts/diagnosis.js +3 -0
  15. package/lib/contracts/errors.d.ts +7 -1
  16. package/lib/contracts/errors.js +6 -0
  17. package/lib/contracts/events.d.ts +453 -60
  18. package/lib/contracts/events.js +79 -0
  19. package/lib/contracts/execution.d.ts +270 -50
  20. package/lib/contracts/execution.js +41 -0
  21. package/lib/contracts/failure.d.ts +14 -1
  22. package/lib/contracts/failure.js +9 -1
  23. package/lib/contracts/handoff.d.ts +70 -20
  24. package/lib/contracts/handoff.js +42 -1
  25. package/lib/contracts/index.d.ts +1 -0
  26. package/lib/contracts/index.js +1 -0
  27. package/lib/contracts/input-state.d.ts +13 -0
  28. package/lib/contracts/input-state.js +32 -0
  29. package/lib/contracts/input.d.ts +442 -0
  30. package/lib/contracts/input.js +321 -0
  31. package/lib/contracts/planning.d.ts +2 -0
  32. package/lib/contracts/policy.d.ts +17 -2
  33. package/lib/contracts/policy.js +31 -2
  34. package/lib/contracts/ports.d.ts +54 -0
  35. package/lib/contracts/project.d.ts +127 -0
  36. package/lib/contracts/project.js +99 -0
  37. package/lib/contracts/published.d.ts +603 -92
  38. package/lib/contracts/published.js +4 -1
  39. package/lib/contracts/repair-policy.d.ts +20 -0
  40. package/lib/contracts/repair-policy.js +34 -0
  41. package/lib/contracts/report.d.ts +53 -21
  42. package/lib/contracts/report.js +33 -2
  43. package/lib/contracts/result.d.ts +26 -24
  44. package/lib/contracts/review.d.ts +47 -8
  45. package/lib/contracts/review.js +21 -1
  46. package/lib/control/harness.d.ts +2555 -51
  47. package/lib/control/harness.js +112 -6
  48. package/lib/control/recovery.d.ts +2 -2
  49. package/lib/control/report.js +1 -0
  50. package/lib/control/status.d.ts +30 -22
  51. package/lib/control/status.js +11 -1
  52. package/lib/control/workflow.d.ts +8 -8
  53. package/lib/engine/budget.d.ts +86 -3
  54. package/lib/engine/budget.js +45 -10
  55. package/lib/engine/engine.d.ts +3091 -85
  56. package/lib/engine/engine.js +1206 -101
  57. package/lib/engine/input-policy.d.ts +68 -0
  58. package/lib/engine/input-policy.js +285 -0
  59. package/lib/engine/input-requests.d.ts +64 -0
  60. package/lib/engine/input-requests.js +187 -0
  61. package/lib/engine/measured.d.ts +6 -1
  62. package/lib/engine/measured.js +12 -1
  63. package/lib/engine/prompt.d.ts +4 -2
  64. package/lib/engine/prompt.js +3 -1
  65. package/lib/engine/property-recovery.js +2 -0
  66. package/lib/engine/repair.d.ts +2 -0
  67. package/lib/engine/repair.js +10 -3
  68. package/lib/engine/runner.d.ts +33 -4
  69. package/lib/engine/runner.js +266 -23
  70. package/lib/environment/lifecycle.d.ts +8 -0
  71. package/lib/environment/lifecycle.js +15 -2
  72. package/lib/explain/state.d.ts +16 -2
  73. package/lib/explain/state.js +254 -77
  74. package/lib/handoff/markdown.js +10 -0
  75. package/lib/handoff/pack.js +42 -1
  76. package/lib/index.d.ts +10 -0
  77. package/lib/index.js +10 -0
  78. package/lib/init/inspect.d.ts +34 -0
  79. package/lib/init/inspect.js +292 -0
  80. package/lib/init/project.js +14 -31
  81. package/lib/integrations/connector/commands.d.ts +12 -12
  82. package/lib/integrations/connector/config.d.ts +4 -4
  83. package/lib/integrations/connector/delivery.d.ts +1 -1
  84. package/lib/integrations/relay-v2/protocol.d.ts +4 -4
  85. package/lib/profiles/resolve.d.ts +2 -1
  86. package/lib/projections/enums.d.ts +1 -1
  87. package/lib/projections/enums.js +4 -0
  88. package/lib/projections/index.d.ts +1 -0
  89. package/lib/projections/index.js +1 -0
  90. package/lib/projections/input.d.ts +17 -0
  91. package/lib/projections/input.js +28 -0
  92. package/lib/projections/stop.d.ts +40 -1
  93. package/lib/projections/stop.js +87 -4
  94. package/lib/report/compute.d.ts +4 -1
  95. package/lib/report/compute.js +25 -0
  96. package/lib/report/document.js +1 -0
  97. package/lib/storage/document.d.ts +66 -28
  98. package/lib/testing/index.d.ts +1 -1
  99. package/lib/testing/index.js +1 -1
  100. package/lib/testing/store-contract.d.ts +8 -1
  101. package/lib/testing/store-contract.js +194 -1
  102. package/lib/verification/confirm.d.ts +3 -3
  103. package/lib/verification/corpus.d.ts +9 -9
  104. package/lib/verification/gates.d.ts +119 -0
  105. package/lib/verification/gates.js +311 -4
  106. package/package.json +1 -1
  107. package/schemas/execution-document.schema.json +130 -0
  108. package/schemas/execution-policy.schema.json +26 -0
  109. package/schemas/handoff-pack.schema.json +146 -4
  110. package/schemas/input-request.schema.json +665 -0
  111. package/schemas/project-facts.schema.json +393 -0
  112. package/schemas/result-envelope.schema.json +1 -0
  113. package/schemas/run-event.schema.json +625 -0
  114. package/schemas/run-result.schema.json +1 -0
  115. package/schemas/stop-diagnosis.schema.json +5 -1
  116. package/schemas/value-report.schema.json +78 -7
@@ -84,7 +84,7 @@ export declare const cliCommands: {
84
84
  readonly required: true;
85
85
  readonly description: "ID графа или контракта";
86
86
  }];
87
- readonly refusals: ["APPROVAL_STALE", "APPROVAL_REQUIRED", "REVIEW_REJECTED"];
87
+ readonly refusals: ["APPROVAL_STALE", "APPROVAL_REQUIRED", "REVIEW_REJECTED", "INPUT_REQUIRED"];
88
88
  };
89
89
  readonly run: {
90
90
  readonly description: "Зарегистрировать согласованный граф (идемпотентно по connector, ref, revision, digest) и вести работу до простоя";
@@ -117,7 +117,7 @@ export declare const cliCommands: {
117
117
  readonly required: false;
118
118
  readonly description: "Автор графа для ревью плана; по умолчанию external";
119
119
  }];
120
- readonly refusals: ["APPROVAL_REQUIRED", "APPROVAL_STALE", "PAUSED", "CONTROLLER_BUSY", "REVISION_CONFLICT", "GATE_FAILED", "REVIEW_REJECTED", "SCOPE_VIOLATION", "BUDGET_EXHAUSTED", "BUDGET_UNKNOWN", "ATTEMPTS_EXHAUSTED", "CONTEXT_EXHAUSTED"];
120
+ readonly refusals: ["APPROVAL_REQUIRED", "APPROVAL_STALE", "PAUSED", "CONTROLLER_BUSY", "REVISION_CONFLICT", "GATE_FAILED", "REVIEW_REJECTED", "SCOPE_VIOLATION", "BUDGET_EXHAUSTED", "BUDGET_UNKNOWN", "ATTEMPTS_EXHAUSTED", "CONTEXT_EXHAUSTED", "INPUT_REQUIRED"];
121
121
  };
122
122
  readonly status: {
123
123
  readonly description: "Состояние очереди, графов и поручений с причинами блокировки";
@@ -194,7 +194,7 @@ export declare const cliCommands: {
194
194
  readonly required: false;
195
195
  readonly description: "Причина сброса";
196
196
  }];
197
- readonly refusals: ["NOT_FOUND", "ATTEMPTS_EXHAUSTED", "BUDGET_EXHAUSTED", "BUDGET_UNKNOWN"];
197
+ readonly refusals: ["NOT_FOUND", "ATTEMPTS_EXHAUSTED", "BUDGET_EXHAUSTED", "BUDGET_UNKNOWN", "INPUT_REQUIRED"];
198
198
  };
199
199
  readonly result: {
200
200
  readonly description: "Машинный результат последней завершённой попытки поручения и состояние доставки";
@@ -537,6 +537,128 @@ export declare const cliCommands: {
537
537
  }];
538
538
  readonly refusals: ["NOT_FOUND", "CONTROLLER_BUSY"];
539
539
  };
540
+ readonly 'input-list': {
541
+ readonly description: "Вопросы исполнителей (H02): ID, поручение, вид, состояние, серьёзность и версия запроса — без текста";
542
+ readonly writes: false;
543
+ readonly idempotency: "Только чтение";
544
+ readonly args: [CliArgument, {
545
+ readonly required: false;
546
+ readonly description: "Только вопросы этого поручения";
547
+ readonly name: string;
548
+ readonly value: "path" | "dir" | "id" | "digest" | "number" | "text" | "flag" | "sink";
549
+ readonly multiple?: true;
550
+ }];
551
+ readonly refusals: ["NOT_FOUND"];
552
+ };
553
+ readonly 'input-show': {
554
+ readonly description: "Запрос исполнителя целиком: вопрос, варианты, основание, ответы, цель применения";
555
+ readonly writes: false;
556
+ readonly idempotency: "Только чтение";
557
+ readonly args: [CliArgument, CliArgument];
558
+ readonly refusals: ["NOT_FOUND"];
559
+ };
560
+ readonly 'input-answer': {
561
+ readonly description: "Записать ответ на вопрос исполнителя новой неизменяемой версией; работу ответ не возобновляет — дальше input-context, review-plan, input-target, input-apply";
562
+ readonly writes: true;
563
+ readonly idempotency: "Тот же текст, вариант и вид — прежний ответ без записи; иначе новая версия при совпадении --request-version (CAS); закрытый запрос — NOT_READY";
564
+ readonly args: [CliArgument, CliArgument, {
565
+ readonly name: "--text";
566
+ readonly value: "text";
567
+ readonly required: true;
568
+ readonly description: "Ответ (до 3000 знаков)";
569
+ }, {
570
+ readonly name: "--option";
571
+ readonly value: "id";
572
+ readonly required: false;
573
+ readonly description: "Выбранный вариант (ID)";
574
+ }, {
575
+ readonly name: "--kind";
576
+ readonly value: "text";
577
+ readonly required: false;
578
+ readonly description: "clarification (по умолчанию: продолжение той же работы) или requirement-change (новая ревизия: input-supersede)";
579
+ }, {
580
+ readonly name: "--actor";
581
+ readonly value: "text";
582
+ readonly required: false;
583
+ readonly description: "Кто отвечает: operator (по умолчанию) или lead";
584
+ }, CliArgument];
585
+ readonly refusals: ["NOT_FOUND", "REVISION_CONFLICT", "NOT_READY"];
586
+ };
587
+ readonly 'input-context': {
588
+ readonly description: "Снимок контекста с последним ответом: действующий снимок графа и источник input-answer (вопрос, ответ, manifest с точным digest и версией ответа); сохраняется по digest и пишется в --out, но не активируется";
589
+ readonly writes: true;
590
+ readonly idempotency: "Тот же ответ и тот же действующий снимок — тот же digest и те же байты";
591
+ readonly args: [CliArgument, CliArgument, {
592
+ readonly name: "--out";
593
+ readonly value: "path";
594
+ readonly required: true;
595
+ readonly description: "Файл ContextSnapshot JSON для review-plan --context";
596
+ }];
597
+ readonly refusals: ["NOT_FOUND", "INPUT_REQUIRED"];
598
+ };
599
+ readonly 'input-target': {
600
+ readonly description: "Основание продолжения для снимка с ответом (только чтение): digest, который назовёт input-apply, и причины, по которым применение сейчас откажет";
601
+ readonly writes: false;
602
+ readonly idempotency: "Только чтение";
603
+ readonly args: [CliArgument, CliArgument, CliArgument];
604
+ readonly refusals: ["NOT_FOUND"];
605
+ };
606
+ readonly 'input-apply': {
607
+ readonly description: "Применить ответ одной транзакцией: проверки approve и retry, активация согласования снимка с ответом, запрос applied и обычный повтор поручения; модель не вызывается, пауза и удержания остаются";
608
+ readonly writes: true;
609
+ readonly idempotency: "Повтор того же применения ничего не меняет и второй попытки не создаёт; идущие попытки графа, исчерпанные попытки или бюджет — applied:false, запрос и согласование не меняются (exit 3)";
610
+ readonly args: [CliArgument, CliArgument, {
611
+ readonly name: "--answer";
612
+ readonly value: "digest";
613
+ readonly required: true;
614
+ readonly description: "Digest последнего ответа (input-show)";
615
+ }, CliArgument, CliArgument, {
616
+ readonly name: "--target";
617
+ readonly value: "digest";
618
+ readonly required: true;
619
+ readonly description: "Digest основания из input-target";
620
+ }, {
621
+ readonly name: "--reset";
622
+ readonly value: "flag";
623
+ readonly required: false;
624
+ readonly description: "Сбросить исчерпанный счётчик попыток; требует --reason";
625
+ }, {
626
+ readonly name: "--reason";
627
+ readonly value: "text";
628
+ readonly required: false;
629
+ readonly description: "Причина сброса";
630
+ }];
631
+ readonly refusals: ["NOT_FOUND", "REVISION_CONFLICT", "APPROVAL_STALE", "APPROVAL_REQUIRED", "REVIEW_REJECTED", "INPUT_REQUIRED", "NOT_READY", "ATTEMPTS_EXHAUSTED", "BUDGET_EXHAUSTED"];
632
+ };
633
+ readonly 'input-cancel': {
634
+ readonly description: "Отменить вопрос: работа больше его не ждёт (обычный повтор снова по своим правилам); применённый ответ не отменяется";
635
+ readonly writes: true;
636
+ readonly idempotency: "Повтор для отменённого ничего не меняет";
637
+ readonly args: [CliArgument, CliArgument, CliArgument, {
638
+ readonly name: "--reason";
639
+ readonly value: "text";
640
+ readonly required: true;
641
+ readonly description: "Причина";
642
+ }];
643
+ readonly refusals: ["NOT_FOUND", "REVISION_CONFLICT", "NOT_READY"];
644
+ };
645
+ readonly 'input-supersede': {
646
+ readonly description: "Заменить вопрос преемником: ответ меняет требования — новая ревизия или работа, а не продолжение этой";
647
+ readonly writes: true;
648
+ readonly idempotency: "Повтор для заменённого ничего не меняет";
649
+ readonly args: [CliArgument, CliArgument, CliArgument, {
650
+ readonly name: "--reason";
651
+ readonly value: "text";
652
+ readonly required: true;
653
+ readonly description: "Причина";
654
+ }, {
655
+ readonly name: "--successor";
656
+ readonly value: "id";
657
+ readonly required: true;
658
+ readonly description: "Преемник: новая работа или запрос";
659
+ }];
660
+ readonly refusals: ["NOT_FOUND", "REVISION_CONFLICT", "NOT_READY"];
661
+ };
540
662
  };
541
663
  export type CliCommand = keyof typeof cliCommands;
542
664
  export declare const validateDataSchema: z.ZodObject<{
@@ -553,10 +675,10 @@ export declare const attemptViewSchema: z.ZodObject<{
553
675
  attempt: z.ZodNumber;
554
676
  status: z.ZodString;
555
677
  phase: z.ZodEnum<{
556
- ready: "ready";
557
- failed: "failed";
558
678
  cancelled: "cancelled";
559
679
  draft: "draft";
680
+ ready: "ready";
681
+ failed: "failed";
560
682
  running: "running";
561
683
  verifying: "verifying";
562
684
  reviewing: "reviewing";
@@ -602,8 +724,8 @@ export declare const attemptViewSchema: z.ZodObject<{
602
724
  activity: z.ZodOptional<z.ZodObject<{
603
725
  kind: z.ZodEnum<{
604
726
  gate: "gate";
605
- command: "command";
606
727
  agent: "agent";
728
+ command: "command";
607
729
  step: "step";
608
730
  }>;
609
731
  label: z.ZodString;
@@ -622,8 +744,8 @@ export declare const attemptViewSchema: z.ZodObject<{
622
744
  export declare const queueViewSchema: z.ZodObject<{
623
745
  paused: z.ZodBoolean;
624
746
  reason: z.ZodOptional<z.ZodEnum<{
625
- runtime: "runtime";
626
747
  operator: "operator";
748
+ runtime: "runtime";
627
749
  shutdown: "shutdown";
628
750
  "base-check": "base-check";
629
751
  reconfigure: "reconfigure";
@@ -650,6 +772,7 @@ export declare const queueViewSchema: z.ZodObject<{
650
772
  merge: "merge";
651
773
  budget: "budget";
652
774
  "needs-lead": "needs-lead";
775
+ "needs-input": "needs-input";
653
776
  }>>>;
654
777
  code: z.ZodOptional<z.ZodEnum<{
655
778
  INVALID_INPUT: "INVALID_INPUT";
@@ -676,6 +799,7 @@ export declare const queueViewSchema: z.ZodObject<{
676
799
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
677
800
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
678
801
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
802
+ INPUT_REQUIRED: "INPUT_REQUIRED";
679
803
  REVISION_CONFLICT: "REVISION_CONFLICT";
680
804
  CANCELLED: "CANCELLED";
681
805
  NOT_FOUND: "NOT_FOUND";
@@ -707,6 +831,7 @@ export declare const queueViewSchema: z.ZodObject<{
707
831
  merge: "merge";
708
832
  budget: "budget";
709
833
  "needs-lead": "needs-lead";
834
+ "needs-input": "needs-input";
710
835
  "runtime-missing": "runtime-missing";
711
836
  "controller-busy": "controller-busy";
712
837
  "operator-pause": "operator-pause";
@@ -714,8 +839,8 @@ export declare const queueViewSchema: z.ZodObject<{
714
839
  "not-ready": "not-ready";
715
840
  }>>;
716
841
  actor: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
717
- controller: "controller";
718
842
  lead: "lead";
843
+ controller: "controller";
719
844
  user: "user";
720
845
  }>>>;
721
846
  action: z.ZodOptional<z.ZodEnum<{
@@ -732,6 +857,8 @@ export declare const queueViewSchema: z.ZodObject<{
732
857
  "resume-queue": "resume-queue";
733
858
  "fix-environment": "fix-environment";
734
859
  "fix-access": "fix-access";
860
+ "answer-input": "answer-input";
861
+ "apply-input": "apply-input";
735
862
  }>>;
736
863
  }, z.core.$strict>;
737
864
  export declare const statusDataSchema: z.ZodObject<{
@@ -739,8 +866,8 @@ export declare const statusDataSchema: z.ZodObject<{
739
866
  control: z.ZodObject<{
740
867
  paused: z.ZodBoolean;
741
868
  pauseReason: z.ZodOptional<z.ZodEnum<{
742
- runtime: "runtime";
743
869
  operator: "operator";
870
+ runtime: "runtime";
744
871
  shutdown: "shutdown";
745
872
  "base-check": "base-check";
746
873
  reconfigure: "reconfigure";
@@ -765,6 +892,7 @@ export declare const statusDataSchema: z.ZodObject<{
765
892
  merge: "merge";
766
893
  budget: "budget";
767
894
  "needs-lead": "needs-lead";
895
+ "needs-input": "needs-input";
768
896
  }>>>;
769
897
  waits: z.ZodOptional<z.ZodArray<z.ZodObject<{
770
898
  kind: z.ZodEnum<{
@@ -809,10 +937,10 @@ export declare const statusDataSchema: z.ZodObject<{
809
937
  id: z.ZodString;
810
938
  graphId: z.ZodString;
811
939
  status: z.ZodEnum<{
812
- ready: "ready";
813
- failed: "failed";
814
940
  cancelled: "cancelled";
815
941
  draft: "draft";
942
+ ready: "ready";
943
+ failed: "failed";
816
944
  running: "running";
817
945
  verifying: "verifying";
818
946
  reviewing: "reviewing";
@@ -826,6 +954,19 @@ export declare const statusDataSchema: z.ZodObject<{
826
954
  quiet: "quiet";
827
955
  }>>;
828
956
  resultSha: z.ZodOptional<z.ZodString>;
957
+ input: z.ZodOptional<z.ZodObject<{
958
+ requestId: z.ZodString;
959
+ state: z.ZodEnum<{
960
+ "awaiting-answer": "awaiting-answer";
961
+ "answered-not-applied": "answered-not-applied";
962
+ "applied-awaiting-claim": "applied-awaiting-claim";
963
+ delivered: "delivered";
964
+ "carry-stale": "carry-stale";
965
+ }>;
966
+ version: z.ZodNumber;
967
+ severity: z.ZodNumber;
968
+ }, z.core.$strict>>;
969
+ followUps: z.ZodOptional<z.ZodNumber>;
829
970
  blockers: z.ZodArray<z.ZodObject<{
830
971
  code: z.ZodEnum<{
831
972
  INVALID_INPUT: "INVALID_INPUT";
@@ -852,6 +993,7 @@ export declare const statusDataSchema: z.ZodObject<{
852
993
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
853
994
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
854
995
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
996
+ INPUT_REQUIRED: "INPUT_REQUIRED";
855
997
  REVISION_CONFLICT: "REVISION_CONFLICT";
856
998
  CANCELLED: "CANCELLED";
857
999
  NOT_FOUND: "NOT_FOUND";
@@ -909,8 +1051,8 @@ export declare const statusDataSchema: z.ZodObject<{
909
1051
  queue: z.ZodObject<{
910
1052
  paused: z.ZodBoolean;
911
1053
  reason: z.ZodOptional<z.ZodEnum<{
912
- runtime: "runtime";
913
1054
  operator: "operator";
1055
+ runtime: "runtime";
914
1056
  shutdown: "shutdown";
915
1057
  "base-check": "base-check";
916
1058
  reconfigure: "reconfigure";
@@ -937,6 +1079,7 @@ export declare const statusDataSchema: z.ZodObject<{
937
1079
  merge: "merge";
938
1080
  budget: "budget";
939
1081
  "needs-lead": "needs-lead";
1082
+ "needs-input": "needs-input";
940
1083
  }>>>;
941
1084
  code: z.ZodOptional<z.ZodEnum<{
942
1085
  INVALID_INPUT: "INVALID_INPUT";
@@ -963,6 +1106,7 @@ export declare const statusDataSchema: z.ZodObject<{
963
1106
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
964
1107
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
965
1108
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
1109
+ INPUT_REQUIRED: "INPUT_REQUIRED";
966
1110
  REVISION_CONFLICT: "REVISION_CONFLICT";
967
1111
  CANCELLED: "CANCELLED";
968
1112
  NOT_FOUND: "NOT_FOUND";
@@ -994,6 +1138,7 @@ export declare const statusDataSchema: z.ZodObject<{
994
1138
  merge: "merge";
995
1139
  budget: "budget";
996
1140
  "needs-lead": "needs-lead";
1141
+ "needs-input": "needs-input";
997
1142
  "runtime-missing": "runtime-missing";
998
1143
  "controller-busy": "controller-busy";
999
1144
  "operator-pause": "operator-pause";
@@ -1001,8 +1146,8 @@ export declare const statusDataSchema: z.ZodObject<{
1001
1146
  "not-ready": "not-ready";
1002
1147
  }>>;
1003
1148
  actor: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1004
- controller: "controller";
1005
1149
  lead: "lead";
1150
+ controller: "controller";
1006
1151
  user: "user";
1007
1152
  }>>>;
1008
1153
  action: z.ZodOptional<z.ZodEnum<{
@@ -1019,6 +1164,8 @@ export declare const statusDataSchema: z.ZodObject<{
1019
1164
  "resume-queue": "resume-queue";
1020
1165
  "fix-environment": "fix-environment";
1021
1166
  "fix-access": "fix-access";
1167
+ "answer-input": "answer-input";
1168
+ "apply-input": "apply-input";
1022
1169
  }>>;
1023
1170
  }, z.core.$strict>;
1024
1171
  attempts: z.ZodArray<z.ZodObject<{
@@ -1027,10 +1174,10 @@ export declare const statusDataSchema: z.ZodObject<{
1027
1174
  attempt: z.ZodNumber;
1028
1175
  status: z.ZodString;
1029
1176
  phase: z.ZodEnum<{
1030
- ready: "ready";
1031
- failed: "failed";
1032
1177
  cancelled: "cancelled";
1033
1178
  draft: "draft";
1179
+ ready: "ready";
1180
+ failed: "failed";
1034
1181
  running: "running";
1035
1182
  verifying: "verifying";
1036
1183
  reviewing: "reviewing";
@@ -1076,8 +1223,8 @@ export declare const statusDataSchema: z.ZodObject<{
1076
1223
  activity: z.ZodOptional<z.ZodObject<{
1077
1224
  kind: z.ZodEnum<{
1078
1225
  gate: "gate";
1079
- command: "command";
1080
1226
  agent: "agent";
1227
+ command: "command";
1081
1228
  step: "step";
1082
1229
  }>;
1083
1230
  label: z.ZodString;
@@ -1099,7 +1246,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1099
1246
  workId: z.ZodOptional<z.ZodString>;
1100
1247
  runId: z.ZodOptional<z.ZodString>;
1101
1248
  attempt: z.ZodOptional<z.ZodNumber>;
1102
- type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
1249
+ type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "input.requested" | "input.answered" | "input.applied" | "input.closed" | "input.stale" | "input.delivered" | "attempt.assumptions" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
1103
1250
  payload: z.ZodObject<{
1104
1251
  digest: z.ZodString;
1105
1252
  orders: z.ZodNumber;
@@ -1110,8 +1257,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1110
1257
  }, z.core.$strict>;
1111
1258
  }, z.core.$strict> | z.ZodObject<{
1112
1259
  kind: z.ZodEnum<{
1113
- plan: "plan";
1114
1260
  contract: "contract";
1261
+ plan: "plan";
1115
1262
  }>;
1116
1263
  subject: z.ZodString;
1117
1264
  digest: z.ZodString;
@@ -1121,8 +1268,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1121
1268
  }, z.core.$strict> | z.ZodObject<{
1122
1269
  digest: z.ZodString;
1123
1270
  actor: z.ZodEnum<{
1124
- agent: "agent";
1125
1271
  operator: "operator";
1272
+ agent: "agent";
1126
1273
  }>;
1127
1274
  }, z.core.$strict> | z.ZodObject<{
1128
1275
  orderDigest: z.ZodString;
@@ -1146,10 +1293,10 @@ export declare const eventsDataSchema: z.ZodObject<{
1146
1293
  engineVersion: z.ZodString;
1147
1294
  }, z.core.$strict> | z.ZodObject<{
1148
1295
  phase: z.ZodEnum<{
1149
- ready: "ready";
1150
- failed: "failed";
1151
1296
  cancelled: "cancelled";
1152
1297
  draft: "draft";
1298
+ ready: "ready";
1299
+ failed: "failed";
1153
1300
  running: "running";
1154
1301
  verifying: "verifying";
1155
1302
  reviewing: "reviewing";
@@ -1218,8 +1365,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1218
1365
  activity: z.ZodOptional<z.ZodObject<{
1219
1366
  kind: z.ZodEnum<{
1220
1367
  gate: "gate";
1221
- command: "command";
1222
1368
  agent: "agent";
1369
+ command: "command";
1223
1370
  step: "step";
1224
1371
  }>;
1225
1372
  label: z.ZodString;
@@ -1259,6 +1406,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1259
1406
  merge: "merge";
1260
1407
  budget: "budget";
1261
1408
  "needs-lead": "needs-lead";
1409
+ "needs-input": "needs-input";
1262
1410
  }>;
1263
1411
  message: z.ZodString;
1264
1412
  blocked: z.ZodBoolean;
@@ -1281,6 +1429,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1281
1429
  merge: "merge";
1282
1430
  budget: "budget";
1283
1431
  "needs-lead": "needs-lead";
1432
+ "needs-input": "needs-input";
1284
1433
  }>;
1285
1434
  cause: z.ZodEnum<{
1286
1435
  preflight: "preflight";
@@ -1313,8 +1462,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1313
1462
  }, z.core.$strict> | z.ZodObject<{
1314
1463
  by: z.ZodEnum<{
1315
1464
  operator: "operator";
1316
- recovery: "recovery";
1317
1465
  host: "host";
1466
+ recovery: "recovery";
1318
1467
  }>;
1319
1468
  reset: z.ZodBoolean;
1320
1469
  spent: z.ZodOptional<z.ZodNumber>;
@@ -1322,8 +1471,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1322
1471
  }, z.core.$strict> | z.ZodObject<{
1323
1472
  by: z.ZodEnum<{
1324
1473
  operator: "operator";
1325
- graph: "graph";
1326
1474
  host: "host";
1475
+ graph: "graph";
1327
1476
  }>;
1328
1477
  hadAttempt: z.ZodBoolean;
1329
1478
  }, z.core.$strict> | z.ZodObject<{
@@ -1331,8 +1480,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1331
1480
  message: z.ZodString;
1332
1481
  }, z.core.$strict> | z.ZodObject<{
1333
1482
  reason: z.ZodEnum<{
1334
- runtime: "runtime";
1335
1483
  operator: "operator";
1484
+ runtime: "runtime";
1336
1485
  shutdown: "shutdown";
1337
1486
  "base-check": "base-check";
1338
1487
  reconfigure: "reconfigure";
@@ -1355,11 +1504,12 @@ export declare const eventsDataSchema: z.ZodObject<{
1355
1504
  merge: "merge";
1356
1505
  budget: "budget";
1357
1506
  "needs-lead": "needs-lead";
1507
+ "needs-input": "needs-input";
1358
1508
  }>>>;
1359
1509
  }, z.core.$strict> | z.ZodObject<{
1360
1510
  reason: z.ZodEnum<{
1361
- runtime: "runtime";
1362
1511
  operator: "operator";
1512
+ runtime: "runtime";
1363
1513
  shutdown: "shutdown";
1364
1514
  "base-check": "base-check";
1365
1515
  reconfigure: "reconfigure";
@@ -1369,8 +1519,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1369
1519
  }, z.core.$strict> | z.ZodObject<{
1370
1520
  by: z.ZodEnum<{
1371
1521
  operator: "operator";
1372
- controller: "controller";
1373
1522
  host: "host";
1523
+ controller: "controller";
1374
1524
  }>;
1375
1525
  }, z.core.$strict> | z.ZodObject<{
1376
1526
  owner: z.ZodString;
@@ -1430,8 +1580,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1430
1580
  activity: z.ZodOptional<z.ZodObject<{
1431
1581
  kind: z.ZodEnum<{
1432
1582
  gate: "gate";
1433
- command: "command";
1434
1583
  agent: "agent";
1584
+ command: "command";
1435
1585
  step: "step";
1436
1586
  }>;
1437
1587
  label: z.ZodString;
@@ -1475,6 +1625,76 @@ export declare const eventsDataSchema: z.ZodObject<{
1475
1625
  cleared: "cleared";
1476
1626
  }>;
1477
1627
  error: z.ZodOptional<z.ZodString>;
1628
+ }, z.core.$strict> | z.ZodObject<{
1629
+ requestId: z.ZodString;
1630
+ kind: z.ZodEnum<{
1631
+ question: "question";
1632
+ "follow-up": "follow-up";
1633
+ }>;
1634
+ blocking: z.ZodBoolean;
1635
+ lifecycle: z.ZodEnum<{
1636
+ pending: "pending";
1637
+ cancelled: "cancelled";
1638
+ }>;
1639
+ effectiveSeverity: z.ZodNumber;
1640
+ floors: z.ZodArray<z.ZodEnum<{
1641
+ declared: "declared";
1642
+ "critical-path": "critical-path";
1643
+ }>>;
1644
+ criticalHits: z.ZodNumber;
1645
+ questionDigest: z.ZodString;
1646
+ draftDigest: z.ZodNullable<z.ZodString>;
1647
+ }, z.core.$strict> | z.ZodObject<{
1648
+ requestId: z.ZodString;
1649
+ revision: z.ZodNumber;
1650
+ answerDigest: z.ZodString;
1651
+ kind: z.ZodEnum<{
1652
+ clarification: "clarification";
1653
+ "requirement-change": "requirement-change";
1654
+ }>;
1655
+ actor: z.ZodEnum<{
1656
+ operator: "operator";
1657
+ lead: "lead";
1658
+ host: "host";
1659
+ }>;
1660
+ }, z.core.$strict> | z.ZodObject<{
1661
+ requestId: z.ZodString;
1662
+ answerDigest: z.ZodString;
1663
+ targetDigest: z.ZodString;
1664
+ contextDigest: z.ZodNullable<z.ZodString>;
1665
+ retried: z.ZodBoolean;
1666
+ }, z.core.$strict> | z.ZodObject<{
1667
+ requestId: z.ZodString;
1668
+ lifecycle: z.ZodEnum<{
1669
+ cancelled: "cancelled";
1670
+ superseded: "superseded";
1671
+ }>;
1672
+ by: z.ZodEnum<{
1673
+ operator: "operator";
1674
+ lead: "lead";
1675
+ host: "host";
1676
+ controller: "controller";
1677
+ }>;
1678
+ successor: z.ZodOptional<z.ZodString>;
1679
+ }, z.core.$strict> | z.ZodObject<{
1680
+ requestId: z.ZodString;
1681
+ targetDigest: z.ZodString;
1682
+ reason: z.ZodEnum<{
1683
+ context: "context";
1684
+ graph: "graph";
1685
+ order: "order";
1686
+ policy: "policy";
1687
+ }>;
1688
+ }, z.core.$strict> | z.ZodObject<{
1689
+ requestId: z.ZodString;
1690
+ answerDigest: z.ZodString;
1691
+ callId: z.ZodString;
1692
+ }, z.core.$strict> | z.ZodObject<{
1693
+ count: z.ZodNumber;
1694
+ maxSeverity: z.ZodNumber;
1695
+ floors: z.ZodNumber;
1696
+ followUps: z.ZodNumber;
1697
+ digest: z.ZodString;
1478
1698
  }, z.core.$strict> | z.ZodObject<{
1479
1699
  sink: z.ZodString;
1480
1700
  key: z.ZodString;
@@ -1514,7 +1734,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1514
1734
  workId: z.ZodOptional<z.ZodString>;
1515
1735
  runId: z.ZodOptional<z.ZodString>;
1516
1736
  attempt: z.ZodOptional<z.ZodNumber>;
1517
- type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
1737
+ type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "input.requested" | "input.answered" | "input.applied" | "input.closed" | "input.stale" | "input.delivered" | "attempt.assumptions" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
1518
1738
  payload: z.ZodObject<{
1519
1739
  digest: z.ZodString;
1520
1740
  orders: z.ZodNumber;
@@ -1525,8 +1745,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1525
1745
  }, z.core.$strict>;
1526
1746
  }, z.core.$strict> | z.ZodObject<{
1527
1747
  kind: z.ZodEnum<{
1528
- plan: "plan";
1529
1748
  contract: "contract";
1749
+ plan: "plan";
1530
1750
  }>;
1531
1751
  subject: z.ZodString;
1532
1752
  digest: z.ZodString;
@@ -1536,8 +1756,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1536
1756
  }, z.core.$strict> | z.ZodObject<{
1537
1757
  digest: z.ZodString;
1538
1758
  actor: z.ZodEnum<{
1539
- agent: "agent";
1540
1759
  operator: "operator";
1760
+ agent: "agent";
1541
1761
  }>;
1542
1762
  }, z.core.$strict> | z.ZodObject<{
1543
1763
  orderDigest: z.ZodString;
@@ -1561,10 +1781,10 @@ export declare const eventsDataSchema: z.ZodObject<{
1561
1781
  engineVersion: z.ZodString;
1562
1782
  }, z.core.$strict> | z.ZodObject<{
1563
1783
  phase: z.ZodEnum<{
1564
- ready: "ready";
1565
- failed: "failed";
1566
1784
  cancelled: "cancelled";
1567
1785
  draft: "draft";
1786
+ ready: "ready";
1787
+ failed: "failed";
1568
1788
  running: "running";
1569
1789
  verifying: "verifying";
1570
1790
  reviewing: "reviewing";
@@ -1633,8 +1853,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1633
1853
  activity: z.ZodOptional<z.ZodObject<{
1634
1854
  kind: z.ZodEnum<{
1635
1855
  gate: "gate";
1636
- command: "command";
1637
1856
  agent: "agent";
1857
+ command: "command";
1638
1858
  step: "step";
1639
1859
  }>;
1640
1860
  label: z.ZodString;
@@ -1674,6 +1894,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1674
1894
  merge: "merge";
1675
1895
  budget: "budget";
1676
1896
  "needs-lead": "needs-lead";
1897
+ "needs-input": "needs-input";
1677
1898
  }>;
1678
1899
  message: z.ZodString;
1679
1900
  blocked: z.ZodBoolean;
@@ -1696,6 +1917,7 @@ export declare const eventsDataSchema: z.ZodObject<{
1696
1917
  merge: "merge";
1697
1918
  budget: "budget";
1698
1919
  "needs-lead": "needs-lead";
1920
+ "needs-input": "needs-input";
1699
1921
  }>;
1700
1922
  cause: z.ZodEnum<{
1701
1923
  preflight: "preflight";
@@ -1728,8 +1950,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1728
1950
  }, z.core.$strict> | z.ZodObject<{
1729
1951
  by: z.ZodEnum<{
1730
1952
  operator: "operator";
1731
- recovery: "recovery";
1732
1953
  host: "host";
1954
+ recovery: "recovery";
1733
1955
  }>;
1734
1956
  reset: z.ZodBoolean;
1735
1957
  spent: z.ZodOptional<z.ZodNumber>;
@@ -1737,8 +1959,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1737
1959
  }, z.core.$strict> | z.ZodObject<{
1738
1960
  by: z.ZodEnum<{
1739
1961
  operator: "operator";
1740
- graph: "graph";
1741
1962
  host: "host";
1963
+ graph: "graph";
1742
1964
  }>;
1743
1965
  hadAttempt: z.ZodBoolean;
1744
1966
  }, z.core.$strict> | z.ZodObject<{
@@ -1746,8 +1968,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1746
1968
  message: z.ZodString;
1747
1969
  }, z.core.$strict> | z.ZodObject<{
1748
1970
  reason: z.ZodEnum<{
1749
- runtime: "runtime";
1750
1971
  operator: "operator";
1972
+ runtime: "runtime";
1751
1973
  shutdown: "shutdown";
1752
1974
  "base-check": "base-check";
1753
1975
  reconfigure: "reconfigure";
@@ -1770,11 +1992,12 @@ export declare const eventsDataSchema: z.ZodObject<{
1770
1992
  merge: "merge";
1771
1993
  budget: "budget";
1772
1994
  "needs-lead": "needs-lead";
1995
+ "needs-input": "needs-input";
1773
1996
  }>>>;
1774
1997
  }, z.core.$strict> | z.ZodObject<{
1775
1998
  reason: z.ZodEnum<{
1776
- runtime: "runtime";
1777
1999
  operator: "operator";
2000
+ runtime: "runtime";
1778
2001
  shutdown: "shutdown";
1779
2002
  "base-check": "base-check";
1780
2003
  reconfigure: "reconfigure";
@@ -1784,8 +2007,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1784
2007
  }, z.core.$strict> | z.ZodObject<{
1785
2008
  by: z.ZodEnum<{
1786
2009
  operator: "operator";
1787
- controller: "controller";
1788
2010
  host: "host";
2011
+ controller: "controller";
1789
2012
  }>;
1790
2013
  }, z.core.$strict> | z.ZodObject<{
1791
2014
  owner: z.ZodString;
@@ -1845,8 +2068,8 @@ export declare const eventsDataSchema: z.ZodObject<{
1845
2068
  activity: z.ZodOptional<z.ZodObject<{
1846
2069
  kind: z.ZodEnum<{
1847
2070
  gate: "gate";
1848
- command: "command";
1849
2071
  agent: "agent";
2072
+ command: "command";
1850
2073
  step: "step";
1851
2074
  }>;
1852
2075
  label: z.ZodString;
@@ -1890,6 +2113,76 @@ export declare const eventsDataSchema: z.ZodObject<{
1890
2113
  cleared: "cleared";
1891
2114
  }>;
1892
2115
  error: z.ZodOptional<z.ZodString>;
2116
+ }, z.core.$strict> | z.ZodObject<{
2117
+ requestId: z.ZodString;
2118
+ kind: z.ZodEnum<{
2119
+ question: "question";
2120
+ "follow-up": "follow-up";
2121
+ }>;
2122
+ blocking: z.ZodBoolean;
2123
+ lifecycle: z.ZodEnum<{
2124
+ pending: "pending";
2125
+ cancelled: "cancelled";
2126
+ }>;
2127
+ effectiveSeverity: z.ZodNumber;
2128
+ floors: z.ZodArray<z.ZodEnum<{
2129
+ declared: "declared";
2130
+ "critical-path": "critical-path";
2131
+ }>>;
2132
+ criticalHits: z.ZodNumber;
2133
+ questionDigest: z.ZodString;
2134
+ draftDigest: z.ZodNullable<z.ZodString>;
2135
+ }, z.core.$strict> | z.ZodObject<{
2136
+ requestId: z.ZodString;
2137
+ revision: z.ZodNumber;
2138
+ answerDigest: z.ZodString;
2139
+ kind: z.ZodEnum<{
2140
+ clarification: "clarification";
2141
+ "requirement-change": "requirement-change";
2142
+ }>;
2143
+ actor: z.ZodEnum<{
2144
+ operator: "operator";
2145
+ lead: "lead";
2146
+ host: "host";
2147
+ }>;
2148
+ }, z.core.$strict> | z.ZodObject<{
2149
+ requestId: z.ZodString;
2150
+ answerDigest: z.ZodString;
2151
+ targetDigest: z.ZodString;
2152
+ contextDigest: z.ZodNullable<z.ZodString>;
2153
+ retried: z.ZodBoolean;
2154
+ }, z.core.$strict> | z.ZodObject<{
2155
+ requestId: z.ZodString;
2156
+ lifecycle: z.ZodEnum<{
2157
+ cancelled: "cancelled";
2158
+ superseded: "superseded";
2159
+ }>;
2160
+ by: z.ZodEnum<{
2161
+ operator: "operator";
2162
+ lead: "lead";
2163
+ host: "host";
2164
+ controller: "controller";
2165
+ }>;
2166
+ successor: z.ZodOptional<z.ZodString>;
2167
+ }, z.core.$strict> | z.ZodObject<{
2168
+ requestId: z.ZodString;
2169
+ targetDigest: z.ZodString;
2170
+ reason: z.ZodEnum<{
2171
+ context: "context";
2172
+ graph: "graph";
2173
+ order: "order";
2174
+ policy: "policy";
2175
+ }>;
2176
+ }, z.core.$strict> | z.ZodObject<{
2177
+ requestId: z.ZodString;
2178
+ answerDigest: z.ZodString;
2179
+ callId: z.ZodString;
2180
+ }, z.core.$strict> | z.ZodObject<{
2181
+ count: z.ZodNumber;
2182
+ maxSeverity: z.ZodNumber;
2183
+ floors: z.ZodNumber;
2184
+ followUps: z.ZodNumber;
2185
+ digest: z.ZodString;
1893
2186
  }, z.core.$strict> | z.ZodObject<{
1894
2187
  sink: z.ZodString;
1895
2188
  key: z.ZodString;
@@ -1946,10 +2239,10 @@ export declare const runDataSchema: z.ZodObject<{
1946
2239
  works: z.ZodArray<z.ZodObject<{
1947
2240
  id: z.ZodString;
1948
2241
  status: z.ZodEnum<{
1949
- ready: "ready";
1950
- failed: "failed";
1951
2242
  cancelled: "cancelled";
1952
2243
  draft: "draft";
2244
+ ready: "ready";
2245
+ failed: "failed";
1953
2246
  running: "running";
1954
2247
  verifying: "verifying";
1955
2248
  reviewing: "reviewing";
@@ -1984,6 +2277,7 @@ export declare const runDataSchema: z.ZodObject<{
1984
2277
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
1985
2278
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
1986
2279
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
2280
+ INPUT_REQUIRED: "INPUT_REQUIRED";
1987
2281
  REVISION_CONFLICT: "REVISION_CONFLICT";
1988
2282
  CANCELLED: "CANCELLED";
1989
2283
  NOT_FOUND: "NOT_FOUND";
@@ -2006,11 +2300,11 @@ export declare const runDataSchema: z.ZodObject<{
2006
2300
  id: z.ZodString;
2007
2301
  stage: z.ZodNumber;
2008
2302
  status: z.ZodEnum<{
2303
+ stale: "stale";
2009
2304
  failed: "failed";
2010
2305
  completed: "completed";
2011
2306
  running: "running";
2012
2307
  queued: "queued";
2013
- stale: "stale";
2014
2308
  }>;
2015
2309
  attempts: z.ZodNumber;
2016
2310
  repairs: z.ZodNumber;
@@ -2027,8 +2321,8 @@ export declare const controlDataSchema: z.ZodObject<{
2027
2321
  control: z.ZodObject<{
2028
2322
  paused: z.ZodBoolean;
2029
2323
  pauseReason: z.ZodOptional<z.ZodEnum<{
2030
- runtime: "runtime";
2031
2324
  operator: "operator";
2325
+ runtime: "runtime";
2032
2326
  shutdown: "shutdown";
2033
2327
  "base-check": "base-check";
2034
2328
  reconfigure: "reconfigure";
@@ -2053,6 +2347,7 @@ export declare const controlDataSchema: z.ZodObject<{
2053
2347
  merge: "merge";
2054
2348
  budget: "budget";
2055
2349
  "needs-lead": "needs-lead";
2350
+ "needs-input": "needs-input";
2056
2351
  }>>>;
2057
2352
  waits: z.ZodOptional<z.ZodArray<z.ZodObject<{
2058
2353
  kind: z.ZodEnum<{
@@ -2083,10 +2378,10 @@ export declare const controlDataSchema: z.ZodObject<{
2083
2378
  export declare const workActionDataSchema: z.ZodObject<{
2084
2379
  workId: z.ZodString;
2085
2380
  status: z.ZodEnum<{
2086
- ready: "ready";
2087
- failed: "failed";
2088
2381
  cancelled: "cancelled";
2089
2382
  draft: "draft";
2383
+ ready: "ready";
2384
+ failed: "failed";
2090
2385
  running: "running";
2091
2386
  verifying: "verifying";
2092
2387
  reviewing: "reviewing";
@@ -2467,8 +2762,8 @@ export declare const sourceStatusDataSchema: z.ZodObject<{
2467
2762
  runId: z.ZodString;
2468
2763
  outcome: z.ZodString;
2469
2764
  status: z.ZodEnum<{
2470
- failed: "failed";
2471
2765
  delivered: "delivered";
2766
+ failed: "failed";
2472
2767
  conflict: "conflict";
2473
2768
  uncertain: "uncertain";
2474
2769
  intent: "intent";
@@ -2515,9 +2810,9 @@ export declare const sourceDeliverDataSchema: z.ZodObject<{
2515
2810
  key: z.ZodString;
2516
2811
  revision: z.ZodString;
2517
2812
  status: z.ZodEnum<{
2518
- failed: "failed";
2519
2813
  pending: "pending";
2520
2814
  delivered: "delivered";
2815
+ failed: "failed";
2521
2816
  conflict: "conflict";
2522
2817
  uncertain: "uncertain";
2523
2818
  }>;
@@ -2542,9 +2837,9 @@ export declare const sourceReconcileDataSchema: z.ZodObject<{
2542
2837
  key: z.ZodString;
2543
2838
  revision: z.ZodString;
2544
2839
  status: z.ZodEnum<{
2545
- failed: "failed";
2546
2840
  pending: "pending";
2547
2841
  delivered: "delivered";
2842
+ failed: "failed";
2548
2843
  conflict: "conflict";
2549
2844
  uncertain: "uncertain";
2550
2845
  }>;
@@ -2760,6 +3055,7 @@ export declare const explainDataSchema: z.ZodObject<{
2760
3055
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
2761
3056
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
2762
3057
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
3058
+ INPUT_REQUIRED: "INPUT_REQUIRED";
2763
3059
  REVISION_CONFLICT: "REVISION_CONFLICT";
2764
3060
  CANCELLED: "CANCELLED";
2765
3061
  NOT_FOUND: "NOT_FOUND";
@@ -2791,6 +3087,7 @@ export declare const explainDataSchema: z.ZodObject<{
2791
3087
  merge: "merge";
2792
3088
  budget: "budget";
2793
3089
  "needs-lead": "needs-lead";
3090
+ "needs-input": "needs-input";
2794
3091
  "runtime-missing": "runtime-missing";
2795
3092
  "controller-busy": "controller-busy";
2796
3093
  "operator-pause": "operator-pause";
@@ -2799,16 +3096,16 @@ export declare const explainDataSchema: z.ZodObject<{
2799
3096
  }>;
2800
3097
  phase: z.ZodEnum<{
2801
3098
  gates: "gates";
2802
- preflight: "preflight";
2803
3099
  review: "review";
3100
+ preflight: "preflight";
2804
3101
  integration: "integration";
2805
3102
  delivery: "delivery";
2806
3103
  claim: "claim";
2807
3104
  implementation: "implementation";
2808
3105
  }>;
2809
3106
  actor: z.ZodNullable<z.ZodEnum<{
2810
- controller: "controller";
2811
3107
  lead: "lead";
3108
+ controller: "controller";
2812
3109
  user: "user";
2813
3110
  }>>;
2814
3111
  action: z.ZodEnum<{
@@ -2825,6 +3122,8 @@ export declare const explainDataSchema: z.ZodObject<{
2825
3122
  "resume-queue": "resume-queue";
2826
3123
  "fix-environment": "fix-environment";
2827
3124
  "fix-access": "fix-access";
3125
+ "answer-input": "answer-input";
3126
+ "apply-input": "apply-input";
2828
3127
  }>;
2829
3128
  retryPlanned: z.ZodBoolean;
2830
3129
  message: z.ZodString;
@@ -2842,24 +3141,338 @@ export declare const explainDataSchema: z.ZodObject<{
2842
3141
  runId: z.ZodOptional<z.ZodString>;
2843
3142
  }, z.core.$strict>>;
2844
3143
  }, z.core.$strict>;
2845
- /** Схема `data` каждой команды. */
2846
- export declare const cliDataSchemas: {
2847
- readonly validate: z.ZodObject<{
2848
- graphId: z.ZodString;
2849
- graphDigest: z.ZodString;
2850
- policyDigest: z.ZodString;
2851
- contextDigest: z.ZodOptional<z.ZodString>;
2852
- orders: z.ZodNumber;
2853
- }, z.core.$strict>;
2854
- readonly 'review-plan': z.ZodObject<{
3144
+ export declare const inputListDataSchema: z.ZodObject<{
3145
+ requests: z.ZodArray<z.ZodObject<{
2855
3146
  id: z.ZodString;
3147
+ workId: z.ZodString;
2856
3148
  kind: z.ZodEnum<{
2857
- plan: "plan";
2858
- contract: "contract";
3149
+ question: "question";
3150
+ "follow-up": "follow-up";
2859
3151
  }>;
2860
- subject: z.ZodString;
2861
- digest: z.ZodString;
2862
- round: z.ZodNumber;
3152
+ blocking: z.ZodBoolean;
3153
+ lifecycle: z.ZodEnum<{
3154
+ pending: "pending";
3155
+ answered: "answered";
3156
+ applied: "applied";
3157
+ cancelled: "cancelled";
3158
+ superseded: "superseded";
3159
+ }>;
3160
+ state: z.ZodOptional<z.ZodEnum<{
3161
+ "awaiting-answer": "awaiting-answer";
3162
+ "answered-not-applied": "answered-not-applied";
3163
+ "applied-awaiting-claim": "applied-awaiting-claim";
3164
+ delivered: "delivered";
3165
+ "carry-stale": "carry-stale";
3166
+ }>>;
3167
+ severity: z.ZodNumber;
3168
+ version: z.ZodNumber;
3169
+ answers: z.ZodNumber;
3170
+ createdAt: z.ZodISODateTime;
3171
+ }, z.core.$strict>>;
3172
+ }, z.core.$strict>;
3173
+ export declare const inputAnswerDataSchema: z.ZodObject<{
3174
+ request: z.ZodObject<{
3175
+ id: z.ZodString;
3176
+ kind: z.ZodEnum<{
3177
+ question: "question";
3178
+ "follow-up": "follow-up";
3179
+ }>;
3180
+ blocking: z.ZodBoolean;
3181
+ workId: z.ZodString;
3182
+ graphId: z.ZodString;
3183
+ runId: z.ZodString;
3184
+ attempt: z.ZodNumber;
3185
+ callId: z.ZodNullable<z.ZodString>;
3186
+ question: z.ZodObject<{
3187
+ question: z.ZodString;
3188
+ options: z.ZodArray<z.ZodObject<{
3189
+ id: z.ZodString;
3190
+ label: z.ZodString;
3191
+ consequence: z.ZodNullable<z.ZodString>;
3192
+ }, z.core.$strict>>;
3193
+ recommended: z.ZodNullable<z.ZodString>;
3194
+ severity: z.ZodNumber;
3195
+ rationale: z.ZodString;
3196
+ affects: z.ZodArray<z.ZodEnum<{
3197
+ acceptance: "acceptance";
3198
+ contract: "contract";
3199
+ product: "product";
3200
+ api: "api";
3201
+ migration: "migration";
3202
+ }>>;
3203
+ }, z.core.$strict>;
3204
+ effectiveSeverity: z.ZodNumber;
3205
+ floors: z.ZodArray<z.ZodEnum<{
3206
+ declared: "declared";
3207
+ "critical-path": "critical-path";
3208
+ }>>;
3209
+ criticalHits: z.ZodArray<z.ZodString>;
3210
+ draft: z.ZodNullable<z.ZodObject<{
3211
+ digest: z.ZodString;
3212
+ files: z.ZodArray<z.ZodString>;
3213
+ }, z.core.$strict>>;
3214
+ createdAt: z.ZodISODateTime;
3215
+ originBasis: z.ZodObject<{
3216
+ source: z.ZodObject<{
3217
+ connector: z.ZodString;
3218
+ ref: z.ZodString;
3219
+ revision: z.ZodString;
3220
+ }, z.core.$strict>;
3221
+ graphId: z.ZodString;
3222
+ graphDigest: z.ZodString;
3223
+ orderDigest: z.ZodString;
3224
+ policyDigest: z.ZodString;
3225
+ contextDigest: z.ZodNullable<z.ZodString>;
3226
+ baseSha: z.ZodNullable<z.ZodString>;
3227
+ inputPolicy: z.ZodObject<{
3228
+ threshold: z.ZodDefault<z.ZodNumber>;
3229
+ criticalPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
3230
+ }, z.core.$strict>;
3231
+ contentDigest: z.ZodOptional<z.ZodString>;
3232
+ }, z.core.$strict>;
3233
+ lifecycle: z.ZodEnum<{
3234
+ pending: "pending";
3235
+ answered: "answered";
3236
+ applied: "applied";
3237
+ cancelled: "cancelled";
3238
+ superseded: "superseded";
3239
+ }>;
3240
+ answers: z.ZodArray<z.ZodObject<{
3241
+ revision: z.ZodNumber;
3242
+ text: z.ZodString;
3243
+ optionId: z.ZodNullable<z.ZodString>;
3244
+ kind: z.ZodEnum<{
3245
+ clarification: "clarification";
3246
+ "requirement-change": "requirement-change";
3247
+ }>;
3248
+ actor: z.ZodObject<{
3249
+ kind: z.ZodEnum<{
3250
+ operator: "operator";
3251
+ lead: "lead";
3252
+ host: "host";
3253
+ }>;
3254
+ id: z.ZodOptional<z.ZodString>;
3255
+ }, z.core.$strict>;
3256
+ messageRef: z.ZodOptional<z.ZodString>;
3257
+ digest: z.ZodString;
3258
+ at: z.ZodISODateTime;
3259
+ }, z.core.$strict>>;
3260
+ target: z.ZodOptional<z.ZodObject<{
3261
+ originDigest: z.ZodString;
3262
+ answerDigest: z.ZodString;
3263
+ graphDigest: z.ZodString;
3264
+ orderDigest: z.ZodString;
3265
+ contentDigest: z.ZodOptional<z.ZodString>;
3266
+ policyDigest: z.ZodString;
3267
+ contextDigest: z.ZodNullable<z.ZodString>;
3268
+ review: z.ZodNullable<z.ZodObject<{
3269
+ round: z.ZodNumber;
3270
+ approved: z.ZodBoolean;
3271
+ reviewerBinding: z.ZodNullable<z.ZodString>;
3272
+ }, z.core.$strict>>;
3273
+ actor: z.ZodEnum<{
3274
+ operator: "operator";
3275
+ agent: "agent";
3276
+ }>;
3277
+ digest: z.ZodString;
3278
+ }, z.core.$strict>>;
3279
+ delivered: z.ZodOptional<z.ZodObject<{
3280
+ runId: z.ZodString;
3281
+ callId: z.ZodString;
3282
+ at: z.ZodISODateTime;
3283
+ }, z.core.$strict>>;
3284
+ closed: z.ZodOptional<z.ZodObject<{
3285
+ at: z.ZodISODateTime;
3286
+ by: z.ZodEnum<{
3287
+ operator: "operator";
3288
+ lead: "lead";
3289
+ host: "host";
3290
+ controller: "controller";
3291
+ }>;
3292
+ reason: z.ZodString;
3293
+ successor: z.ZodOptional<z.ZodString>;
3294
+ carry: z.ZodOptional<z.ZodBoolean>;
3295
+ previous: z.ZodOptional<z.ZodObject<{
3296
+ at: z.ZodISODateTime;
3297
+ by: z.ZodEnum<{
3298
+ operator: "operator";
3299
+ lead: "lead";
3300
+ host: "host";
3301
+ controller: "controller";
3302
+ }>;
3303
+ reason: z.ZodString;
3304
+ successor: z.ZodOptional<z.ZodString>;
3305
+ carry: z.ZodOptional<z.ZodBoolean>;
3306
+ }, z.core.$strict>>;
3307
+ }, z.core.$strict>>;
3308
+ stale: z.ZodOptional<z.ZodObject<{
3309
+ targetDigest: z.ZodString;
3310
+ reason: z.ZodEnum<{
3311
+ context: "context";
3312
+ graph: "graph";
3313
+ order: "order";
3314
+ policy: "policy";
3315
+ }>;
3316
+ at: z.ZodISODateTime;
3317
+ }, z.core.$strict>>;
3318
+ normalized: z.ZodOptional<z.ZodArray<z.ZodString>>;
3319
+ version: z.ZodNumber;
3320
+ }, z.core.$strict>;
3321
+ answer: z.ZodObject<{
3322
+ revision: z.ZodNumber;
3323
+ text: z.ZodString;
3324
+ optionId: z.ZodNullable<z.ZodString>;
3325
+ kind: z.ZodEnum<{
3326
+ clarification: "clarification";
3327
+ "requirement-change": "requirement-change";
3328
+ }>;
3329
+ actor: z.ZodObject<{
3330
+ kind: z.ZodEnum<{
3331
+ operator: "operator";
3332
+ lead: "lead";
3333
+ host: "host";
3334
+ }>;
3335
+ id: z.ZodOptional<z.ZodString>;
3336
+ }, z.core.$strict>;
3337
+ messageRef: z.ZodOptional<z.ZodString>;
3338
+ digest: z.ZodString;
3339
+ at: z.ZodISODateTime;
3340
+ }, z.core.$strict>;
3341
+ changed: z.ZodBoolean;
3342
+ }, z.core.$strict>;
3343
+ export declare const inputContextDataSchema: z.ZodObject<{
3344
+ requestId: z.ZodString;
3345
+ answerDigest: z.ZodString;
3346
+ digest: z.ZodString;
3347
+ out: z.ZodString;
3348
+ }, z.core.$strict>;
3349
+ export declare const inputTargetDataSchema: z.ZodObject<{
3350
+ requestId: z.ZodString;
3351
+ target: z.ZodOptional<z.ZodObject<{
3352
+ originDigest: z.ZodString;
3353
+ answerDigest: z.ZodString;
3354
+ graphDigest: z.ZodString;
3355
+ orderDigest: z.ZodString;
3356
+ contentDigest: z.ZodOptional<z.ZodString>;
3357
+ policyDigest: z.ZodString;
3358
+ contextDigest: z.ZodNullable<z.ZodString>;
3359
+ review: z.ZodNullable<z.ZodObject<{
3360
+ round: z.ZodNumber;
3361
+ approved: z.ZodBoolean;
3362
+ reviewerBinding: z.ZodNullable<z.ZodString>;
3363
+ }, z.core.$strict>>;
3364
+ actor: z.ZodEnum<{
3365
+ operator: "operator";
3366
+ agent: "agent";
3367
+ }>;
3368
+ digest: z.ZodString;
3369
+ }, z.core.$strict>>;
3370
+ problems: z.ZodArray<z.ZodString>;
3371
+ }, z.core.$strict>;
3372
+ export declare const inputApplyDataSchema: z.ZodObject<{
3373
+ requestId: z.ZodString;
3374
+ applied: z.ZodBoolean;
3375
+ changed: z.ZodBoolean;
3376
+ lifecycle: z.ZodEnum<{
3377
+ pending: "pending";
3378
+ answered: "answered";
3379
+ applied: "applied";
3380
+ cancelled: "cancelled";
3381
+ superseded: "superseded";
3382
+ }>;
3383
+ work: z.ZodOptional<z.ZodObject<{
3384
+ id: z.ZodString;
3385
+ status: z.ZodEnum<{
3386
+ cancelled: "cancelled";
3387
+ draft: "draft";
3388
+ ready: "ready";
3389
+ failed: "failed";
3390
+ running: "running";
3391
+ verifying: "verifying";
3392
+ reviewing: "reviewing";
3393
+ integrating: "integrating";
3394
+ done: "done";
3395
+ }>;
3396
+ attempt: z.ZodNumber;
3397
+ }, z.core.$strict>>;
3398
+ active: z.ZodOptional<z.ZodArray<z.ZodObject<{
3399
+ id: z.ZodString;
3400
+ workId: z.ZodString;
3401
+ }, z.core.$strict>>>;
3402
+ joint: z.ZodOptional<z.ZodLiteral<true>>;
3403
+ blocker: z.ZodOptional<z.ZodObject<{
3404
+ code: z.ZodEnum<{
3405
+ INVALID_INPUT: "INVALID_INPUT";
3406
+ UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
3407
+ UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
3408
+ GRAPH_CYCLE: "GRAPH_CYCLE";
3409
+ GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
3410
+ GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
3411
+ GATE_UNKNOWN: "GATE_UNKNOWN";
3412
+ GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
3413
+ REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
3414
+ REVIEWER_MISSING: "REVIEWER_MISSING";
3415
+ RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
3416
+ APPROVAL_STALE: "APPROVAL_STALE";
3417
+ APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
3418
+ LEASE_STALE: "LEASE_STALE";
3419
+ CONTROLLER_BUSY: "CONTROLLER_BUSY";
3420
+ PAUSED: "PAUSED";
3421
+ NOT_READY: "NOT_READY";
3422
+ SCOPE_VIOLATION: "SCOPE_VIOLATION";
3423
+ GATE_FAILED: "GATE_FAILED";
3424
+ REVIEW_REJECTED: "REVIEW_REJECTED";
3425
+ BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
3426
+ BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
3427
+ ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
3428
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
3429
+ INPUT_REQUIRED: "INPUT_REQUIRED";
3430
+ REVISION_CONFLICT: "REVISION_CONFLICT";
3431
+ CANCELLED: "CANCELLED";
3432
+ NOT_FOUND: "NOT_FOUND";
3433
+ PATH_CONFLICT: "PATH_CONFLICT";
3434
+ STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
3435
+ RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
3436
+ REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
3437
+ SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
3438
+ GIT_FAILED: "GIT_FAILED";
3439
+ STORAGE_FAILED: "STORAGE_FAILED";
3440
+ DELIVERY_FAILED: "DELIVERY_FAILED";
3441
+ INTERNAL: "INTERNAL";
3442
+ }>;
3443
+ message: z.ZodString;
3444
+ }, z.core.$strict>>;
3445
+ }, z.core.$strict>;
3446
+ export declare const inputCloseDataSchema: z.ZodObject<{
3447
+ requestId: z.ZodString;
3448
+ lifecycle: z.ZodEnum<{
3449
+ pending: "pending";
3450
+ answered: "answered";
3451
+ applied: "applied";
3452
+ cancelled: "cancelled";
3453
+ superseded: "superseded";
3454
+ }>;
3455
+ version: z.ZodNumber;
3456
+ changed: z.ZodBoolean;
3457
+ }, z.core.$strict>;
3458
+ /** Схема `data` каждой команды. */
3459
+ export declare const cliDataSchemas: {
3460
+ readonly validate: z.ZodObject<{
3461
+ graphId: z.ZodString;
3462
+ graphDigest: z.ZodString;
3463
+ policyDigest: z.ZodString;
3464
+ contextDigest: z.ZodOptional<z.ZodString>;
3465
+ orders: z.ZodNumber;
3466
+ }, z.core.$strict>;
3467
+ readonly 'review-plan': z.ZodObject<{
3468
+ id: z.ZodString;
3469
+ kind: z.ZodEnum<{
3470
+ contract: "contract";
3471
+ plan: "plan";
3472
+ }>;
3473
+ subject: z.ZodString;
3474
+ digest: z.ZodString;
3475
+ round: z.ZodNumber;
2863
3476
  at: z.ZodISODateTime;
2864
3477
  approved: z.ZodBoolean;
2865
3478
  summary: z.ZodString;
@@ -2889,8 +3502,8 @@ export declare const cliDataSchemas: {
2889
3502
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2890
3503
  line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2891
3504
  status: z.ZodEnum<{
2892
- open: "open";
2893
3505
  closed: "closed";
3506
+ open: "open";
2894
3507
  withdrawn: "withdrawn";
2895
3508
  }>;
2896
3509
  openedIn: z.ZodNumber;
@@ -2902,8 +3515,8 @@ export declare const cliDataSchemas: {
2902
3515
  readonly 'review-contract': z.ZodObject<{
2903
3516
  id: z.ZodString;
2904
3517
  kind: z.ZodEnum<{
2905
- plan: "plan";
2906
3518
  contract: "contract";
3519
+ plan: "plan";
2907
3520
  }>;
2908
3521
  subject: z.ZodString;
2909
3522
  digest: z.ZodString;
@@ -2937,8 +3550,8 @@ export declare const cliDataSchemas: {
2937
3550
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2938
3551
  line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2939
3552
  status: z.ZodEnum<{
2940
- open: "open";
2941
3553
  closed: "closed";
3554
+ open: "open";
2942
3555
  withdrawn: "withdrawn";
2943
3556
  }>;
2944
3557
  openedIn: z.ZodNumber;
@@ -2965,10 +3578,10 @@ export declare const cliDataSchemas: {
2965
3578
  works: z.ZodArray<z.ZodObject<{
2966
3579
  id: z.ZodString;
2967
3580
  status: z.ZodEnum<{
2968
- ready: "ready";
2969
- failed: "failed";
2970
3581
  cancelled: "cancelled";
2971
3582
  draft: "draft";
3583
+ ready: "ready";
3584
+ failed: "failed";
2972
3585
  running: "running";
2973
3586
  verifying: "verifying";
2974
3587
  reviewing: "reviewing";
@@ -3003,6 +3616,7 @@ export declare const cliDataSchemas: {
3003
3616
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
3004
3617
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
3005
3618
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
3619
+ INPUT_REQUIRED: "INPUT_REQUIRED";
3006
3620
  REVISION_CONFLICT: "REVISION_CONFLICT";
3007
3621
  CANCELLED: "CANCELLED";
3008
3622
  NOT_FOUND: "NOT_FOUND";
@@ -3025,11 +3639,11 @@ export declare const cliDataSchemas: {
3025
3639
  id: z.ZodString;
3026
3640
  stage: z.ZodNumber;
3027
3641
  status: z.ZodEnum<{
3642
+ stale: "stale";
3028
3643
  failed: "failed";
3029
3644
  completed: "completed";
3030
3645
  running: "running";
3031
3646
  queued: "queued";
3032
- stale: "stale";
3033
3647
  }>;
3034
3648
  attempts: z.ZodNumber;
3035
3649
  repairs: z.ZodNumber;
@@ -3047,8 +3661,8 @@ export declare const cliDataSchemas: {
3047
3661
  control: z.ZodObject<{
3048
3662
  paused: z.ZodBoolean;
3049
3663
  pauseReason: z.ZodOptional<z.ZodEnum<{
3050
- runtime: "runtime";
3051
3664
  operator: "operator";
3665
+ runtime: "runtime";
3052
3666
  shutdown: "shutdown";
3053
3667
  "base-check": "base-check";
3054
3668
  reconfigure: "reconfigure";
@@ -3073,6 +3687,7 @@ export declare const cliDataSchemas: {
3073
3687
  merge: "merge";
3074
3688
  budget: "budget";
3075
3689
  "needs-lead": "needs-lead";
3690
+ "needs-input": "needs-input";
3076
3691
  }>>>;
3077
3692
  waits: z.ZodOptional<z.ZodArray<z.ZodObject<{
3078
3693
  kind: z.ZodEnum<{
@@ -3117,10 +3732,10 @@ export declare const cliDataSchemas: {
3117
3732
  id: z.ZodString;
3118
3733
  graphId: z.ZodString;
3119
3734
  status: z.ZodEnum<{
3120
- ready: "ready";
3121
- failed: "failed";
3122
3735
  cancelled: "cancelled";
3123
3736
  draft: "draft";
3737
+ ready: "ready";
3738
+ failed: "failed";
3124
3739
  running: "running";
3125
3740
  verifying: "verifying";
3126
3741
  reviewing: "reviewing";
@@ -3134,6 +3749,19 @@ export declare const cliDataSchemas: {
3134
3749
  quiet: "quiet";
3135
3750
  }>>;
3136
3751
  resultSha: z.ZodOptional<z.ZodString>;
3752
+ input: z.ZodOptional<z.ZodObject<{
3753
+ requestId: z.ZodString;
3754
+ state: z.ZodEnum<{
3755
+ "awaiting-answer": "awaiting-answer";
3756
+ "answered-not-applied": "answered-not-applied";
3757
+ "applied-awaiting-claim": "applied-awaiting-claim";
3758
+ delivered: "delivered";
3759
+ "carry-stale": "carry-stale";
3760
+ }>;
3761
+ version: z.ZodNumber;
3762
+ severity: z.ZodNumber;
3763
+ }, z.core.$strict>>;
3764
+ followUps: z.ZodOptional<z.ZodNumber>;
3137
3765
  blockers: z.ZodArray<z.ZodObject<{
3138
3766
  code: z.ZodEnum<{
3139
3767
  INVALID_INPUT: "INVALID_INPUT";
@@ -3160,6 +3788,7 @@ export declare const cliDataSchemas: {
3160
3788
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
3161
3789
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
3162
3790
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
3791
+ INPUT_REQUIRED: "INPUT_REQUIRED";
3163
3792
  REVISION_CONFLICT: "REVISION_CONFLICT";
3164
3793
  CANCELLED: "CANCELLED";
3165
3794
  NOT_FOUND: "NOT_FOUND";
@@ -3217,8 +3846,8 @@ export declare const cliDataSchemas: {
3217
3846
  queue: z.ZodObject<{
3218
3847
  paused: z.ZodBoolean;
3219
3848
  reason: z.ZodOptional<z.ZodEnum<{
3220
- runtime: "runtime";
3221
3849
  operator: "operator";
3850
+ runtime: "runtime";
3222
3851
  shutdown: "shutdown";
3223
3852
  "base-check": "base-check";
3224
3853
  reconfigure: "reconfigure";
@@ -3245,6 +3874,7 @@ export declare const cliDataSchemas: {
3245
3874
  merge: "merge";
3246
3875
  budget: "budget";
3247
3876
  "needs-lead": "needs-lead";
3877
+ "needs-input": "needs-input";
3248
3878
  }>>>;
3249
3879
  code: z.ZodOptional<z.ZodEnum<{
3250
3880
  INVALID_INPUT: "INVALID_INPUT";
@@ -3271,6 +3901,7 @@ export declare const cliDataSchemas: {
3271
3901
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
3272
3902
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
3273
3903
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
3904
+ INPUT_REQUIRED: "INPUT_REQUIRED";
3274
3905
  REVISION_CONFLICT: "REVISION_CONFLICT";
3275
3906
  CANCELLED: "CANCELLED";
3276
3907
  NOT_FOUND: "NOT_FOUND";
@@ -3302,6 +3933,7 @@ export declare const cliDataSchemas: {
3302
3933
  merge: "merge";
3303
3934
  budget: "budget";
3304
3935
  "needs-lead": "needs-lead";
3936
+ "needs-input": "needs-input";
3305
3937
  "runtime-missing": "runtime-missing";
3306
3938
  "controller-busy": "controller-busy";
3307
3939
  "operator-pause": "operator-pause";
@@ -3309,8 +3941,8 @@ export declare const cliDataSchemas: {
3309
3941
  "not-ready": "not-ready";
3310
3942
  }>>;
3311
3943
  actor: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3312
- controller: "controller";
3313
3944
  lead: "lead";
3945
+ controller: "controller";
3314
3946
  user: "user";
3315
3947
  }>>>;
3316
3948
  action: z.ZodOptional<z.ZodEnum<{
@@ -3327,6 +3959,8 @@ export declare const cliDataSchemas: {
3327
3959
  "resume-queue": "resume-queue";
3328
3960
  "fix-environment": "fix-environment";
3329
3961
  "fix-access": "fix-access";
3962
+ "answer-input": "answer-input";
3963
+ "apply-input": "apply-input";
3330
3964
  }>>;
3331
3965
  }, z.core.$strict>;
3332
3966
  attempts: z.ZodArray<z.ZodObject<{
@@ -3335,10 +3969,10 @@ export declare const cliDataSchemas: {
3335
3969
  attempt: z.ZodNumber;
3336
3970
  status: z.ZodString;
3337
3971
  phase: z.ZodEnum<{
3338
- ready: "ready";
3339
- failed: "failed";
3340
3972
  cancelled: "cancelled";
3341
3973
  draft: "draft";
3974
+ ready: "ready";
3975
+ failed: "failed";
3342
3976
  running: "running";
3343
3977
  verifying: "verifying";
3344
3978
  reviewing: "reviewing";
@@ -3384,8 +4018,8 @@ export declare const cliDataSchemas: {
3384
4018
  activity: z.ZodOptional<z.ZodObject<{
3385
4019
  kind: z.ZodEnum<{
3386
4020
  gate: "gate";
3387
- command: "command";
3388
4021
  agent: "agent";
4022
+ command: "command";
3389
4023
  step: "step";
3390
4024
  }>;
3391
4025
  label: z.ZodString;
@@ -3407,7 +4041,7 @@ export declare const cliDataSchemas: {
3407
4041
  workId: z.ZodOptional<z.ZodString>;
3408
4042
  runId: z.ZodOptional<z.ZodString>;
3409
4043
  attempt: z.ZodOptional<z.ZodNumber>;
3410
- type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
4044
+ type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "input.requested" | "input.answered" | "input.applied" | "input.closed" | "input.stale" | "input.delivered" | "attempt.assumptions" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
3411
4045
  payload: z.ZodObject<{
3412
4046
  digest: z.ZodString;
3413
4047
  orders: z.ZodNumber;
@@ -3418,8 +4052,8 @@ export declare const cliDataSchemas: {
3418
4052
  }, z.core.$strict>;
3419
4053
  }, z.core.$strict> | z.ZodObject<{
3420
4054
  kind: z.ZodEnum<{
3421
- plan: "plan";
3422
4055
  contract: "contract";
4056
+ plan: "plan";
3423
4057
  }>;
3424
4058
  subject: z.ZodString;
3425
4059
  digest: z.ZodString;
@@ -3429,8 +4063,8 @@ export declare const cliDataSchemas: {
3429
4063
  }, z.core.$strict> | z.ZodObject<{
3430
4064
  digest: z.ZodString;
3431
4065
  actor: z.ZodEnum<{
3432
- agent: "agent";
3433
4066
  operator: "operator";
4067
+ agent: "agent";
3434
4068
  }>;
3435
4069
  }, z.core.$strict> | z.ZodObject<{
3436
4070
  orderDigest: z.ZodString;
@@ -3454,10 +4088,10 @@ export declare const cliDataSchemas: {
3454
4088
  engineVersion: z.ZodString;
3455
4089
  }, z.core.$strict> | z.ZodObject<{
3456
4090
  phase: z.ZodEnum<{
3457
- ready: "ready";
3458
- failed: "failed";
3459
4091
  cancelled: "cancelled";
3460
4092
  draft: "draft";
4093
+ ready: "ready";
4094
+ failed: "failed";
3461
4095
  running: "running";
3462
4096
  verifying: "verifying";
3463
4097
  reviewing: "reviewing";
@@ -3526,8 +4160,8 @@ export declare const cliDataSchemas: {
3526
4160
  activity: z.ZodOptional<z.ZodObject<{
3527
4161
  kind: z.ZodEnum<{
3528
4162
  gate: "gate";
3529
- command: "command";
3530
4163
  agent: "agent";
4164
+ command: "command";
3531
4165
  step: "step";
3532
4166
  }>;
3533
4167
  label: z.ZodString;
@@ -3567,6 +4201,7 @@ export declare const cliDataSchemas: {
3567
4201
  merge: "merge";
3568
4202
  budget: "budget";
3569
4203
  "needs-lead": "needs-lead";
4204
+ "needs-input": "needs-input";
3570
4205
  }>;
3571
4206
  message: z.ZodString;
3572
4207
  blocked: z.ZodBoolean;
@@ -3589,6 +4224,7 @@ export declare const cliDataSchemas: {
3589
4224
  merge: "merge";
3590
4225
  budget: "budget";
3591
4226
  "needs-lead": "needs-lead";
4227
+ "needs-input": "needs-input";
3592
4228
  }>;
3593
4229
  cause: z.ZodEnum<{
3594
4230
  preflight: "preflight";
@@ -3621,8 +4257,8 @@ export declare const cliDataSchemas: {
3621
4257
  }, z.core.$strict> | z.ZodObject<{
3622
4258
  by: z.ZodEnum<{
3623
4259
  operator: "operator";
3624
- recovery: "recovery";
3625
4260
  host: "host";
4261
+ recovery: "recovery";
3626
4262
  }>;
3627
4263
  reset: z.ZodBoolean;
3628
4264
  spent: z.ZodOptional<z.ZodNumber>;
@@ -3630,8 +4266,8 @@ export declare const cliDataSchemas: {
3630
4266
  }, z.core.$strict> | z.ZodObject<{
3631
4267
  by: z.ZodEnum<{
3632
4268
  operator: "operator";
3633
- graph: "graph";
3634
4269
  host: "host";
4270
+ graph: "graph";
3635
4271
  }>;
3636
4272
  hadAttempt: z.ZodBoolean;
3637
4273
  }, z.core.$strict> | z.ZodObject<{
@@ -3639,8 +4275,8 @@ export declare const cliDataSchemas: {
3639
4275
  message: z.ZodString;
3640
4276
  }, z.core.$strict> | z.ZodObject<{
3641
4277
  reason: z.ZodEnum<{
3642
- runtime: "runtime";
3643
4278
  operator: "operator";
4279
+ runtime: "runtime";
3644
4280
  shutdown: "shutdown";
3645
4281
  "base-check": "base-check";
3646
4282
  reconfigure: "reconfigure";
@@ -3663,11 +4299,12 @@ export declare const cliDataSchemas: {
3663
4299
  merge: "merge";
3664
4300
  budget: "budget";
3665
4301
  "needs-lead": "needs-lead";
4302
+ "needs-input": "needs-input";
3666
4303
  }>>>;
3667
4304
  }, z.core.$strict> | z.ZodObject<{
3668
4305
  reason: z.ZodEnum<{
3669
- runtime: "runtime";
3670
4306
  operator: "operator";
4307
+ runtime: "runtime";
3671
4308
  shutdown: "shutdown";
3672
4309
  "base-check": "base-check";
3673
4310
  reconfigure: "reconfigure";
@@ -3677,8 +4314,8 @@ export declare const cliDataSchemas: {
3677
4314
  }, z.core.$strict> | z.ZodObject<{
3678
4315
  by: z.ZodEnum<{
3679
4316
  operator: "operator";
3680
- controller: "controller";
3681
4317
  host: "host";
4318
+ controller: "controller";
3682
4319
  }>;
3683
4320
  }, z.core.$strict> | z.ZodObject<{
3684
4321
  owner: z.ZodString;
@@ -3738,8 +4375,8 @@ export declare const cliDataSchemas: {
3738
4375
  activity: z.ZodOptional<z.ZodObject<{
3739
4376
  kind: z.ZodEnum<{
3740
4377
  gate: "gate";
3741
- command: "command";
3742
4378
  agent: "agent";
4379
+ command: "command";
3743
4380
  step: "step";
3744
4381
  }>;
3745
4382
  label: z.ZodString;
@@ -3784,11 +4421,81 @@ export declare const cliDataSchemas: {
3784
4421
  }>;
3785
4422
  error: z.ZodOptional<z.ZodString>;
3786
4423
  }, z.core.$strict> | z.ZodObject<{
3787
- sink: z.ZodString;
3788
- key: z.ZodString;
3789
- revision: z.ZodString;
3790
- attempts: z.ZodNumber;
3791
- }, z.core.$strict> | z.ZodObject<{
4424
+ requestId: z.ZodString;
4425
+ kind: z.ZodEnum<{
4426
+ question: "question";
4427
+ "follow-up": "follow-up";
4428
+ }>;
4429
+ blocking: z.ZodBoolean;
4430
+ lifecycle: z.ZodEnum<{
4431
+ pending: "pending";
4432
+ cancelled: "cancelled";
4433
+ }>;
4434
+ effectiveSeverity: z.ZodNumber;
4435
+ floors: z.ZodArray<z.ZodEnum<{
4436
+ declared: "declared";
4437
+ "critical-path": "critical-path";
4438
+ }>>;
4439
+ criticalHits: z.ZodNumber;
4440
+ questionDigest: z.ZodString;
4441
+ draftDigest: z.ZodNullable<z.ZodString>;
4442
+ }, z.core.$strict> | z.ZodObject<{
4443
+ requestId: z.ZodString;
4444
+ revision: z.ZodNumber;
4445
+ answerDigest: z.ZodString;
4446
+ kind: z.ZodEnum<{
4447
+ clarification: "clarification";
4448
+ "requirement-change": "requirement-change";
4449
+ }>;
4450
+ actor: z.ZodEnum<{
4451
+ operator: "operator";
4452
+ lead: "lead";
4453
+ host: "host";
4454
+ }>;
4455
+ }, z.core.$strict> | z.ZodObject<{
4456
+ requestId: z.ZodString;
4457
+ answerDigest: z.ZodString;
4458
+ targetDigest: z.ZodString;
4459
+ contextDigest: z.ZodNullable<z.ZodString>;
4460
+ retried: z.ZodBoolean;
4461
+ }, z.core.$strict> | z.ZodObject<{
4462
+ requestId: z.ZodString;
4463
+ lifecycle: z.ZodEnum<{
4464
+ cancelled: "cancelled";
4465
+ superseded: "superseded";
4466
+ }>;
4467
+ by: z.ZodEnum<{
4468
+ operator: "operator";
4469
+ lead: "lead";
4470
+ host: "host";
4471
+ controller: "controller";
4472
+ }>;
4473
+ successor: z.ZodOptional<z.ZodString>;
4474
+ }, z.core.$strict> | z.ZodObject<{
4475
+ requestId: z.ZodString;
4476
+ targetDigest: z.ZodString;
4477
+ reason: z.ZodEnum<{
4478
+ context: "context";
4479
+ graph: "graph";
4480
+ order: "order";
4481
+ policy: "policy";
4482
+ }>;
4483
+ }, z.core.$strict> | z.ZodObject<{
4484
+ requestId: z.ZodString;
4485
+ answerDigest: z.ZodString;
4486
+ callId: z.ZodString;
4487
+ }, z.core.$strict> | z.ZodObject<{
4488
+ count: z.ZodNumber;
4489
+ maxSeverity: z.ZodNumber;
4490
+ floors: z.ZodNumber;
4491
+ followUps: z.ZodNumber;
4492
+ digest: z.ZodString;
4493
+ }, z.core.$strict> | z.ZodObject<{
4494
+ sink: z.ZodString;
4495
+ key: z.ZodString;
4496
+ revision: z.ZodString;
4497
+ attempts: z.ZodNumber;
4498
+ }, z.core.$strict> | z.ZodObject<{
3792
4499
  receipt: z.ZodOptional<z.ZodString>;
3793
4500
  sink: z.ZodString;
3794
4501
  key: z.ZodString;
@@ -3822,7 +4529,7 @@ export declare const cliDataSchemas: {
3822
4529
  workId: z.ZodOptional<z.ZodString>;
3823
4530
  runId: z.ZodOptional<z.ZodString>;
3824
4531
  attempt: z.ZodOptional<z.ZodNumber>;
3825
- type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
4532
+ type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "input.requested" | "input.answered" | "input.applied" | "input.closed" | "input.stale" | "input.delivered" | "attempt.assumptions" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
3826
4533
  payload: z.ZodObject<{
3827
4534
  digest: z.ZodString;
3828
4535
  orders: z.ZodNumber;
@@ -3833,8 +4540,8 @@ export declare const cliDataSchemas: {
3833
4540
  }, z.core.$strict>;
3834
4541
  }, z.core.$strict> | z.ZodObject<{
3835
4542
  kind: z.ZodEnum<{
3836
- plan: "plan";
3837
4543
  contract: "contract";
4544
+ plan: "plan";
3838
4545
  }>;
3839
4546
  subject: z.ZodString;
3840
4547
  digest: z.ZodString;
@@ -3844,8 +4551,8 @@ export declare const cliDataSchemas: {
3844
4551
  }, z.core.$strict> | z.ZodObject<{
3845
4552
  digest: z.ZodString;
3846
4553
  actor: z.ZodEnum<{
3847
- agent: "agent";
3848
4554
  operator: "operator";
4555
+ agent: "agent";
3849
4556
  }>;
3850
4557
  }, z.core.$strict> | z.ZodObject<{
3851
4558
  orderDigest: z.ZodString;
@@ -3869,10 +4576,10 @@ export declare const cliDataSchemas: {
3869
4576
  engineVersion: z.ZodString;
3870
4577
  }, z.core.$strict> | z.ZodObject<{
3871
4578
  phase: z.ZodEnum<{
3872
- ready: "ready";
3873
- failed: "failed";
3874
4579
  cancelled: "cancelled";
3875
4580
  draft: "draft";
4581
+ ready: "ready";
4582
+ failed: "failed";
3876
4583
  running: "running";
3877
4584
  verifying: "verifying";
3878
4585
  reviewing: "reviewing";
@@ -3941,8 +4648,8 @@ export declare const cliDataSchemas: {
3941
4648
  activity: z.ZodOptional<z.ZodObject<{
3942
4649
  kind: z.ZodEnum<{
3943
4650
  gate: "gate";
3944
- command: "command";
3945
4651
  agent: "agent";
4652
+ command: "command";
3946
4653
  step: "step";
3947
4654
  }>;
3948
4655
  label: z.ZodString;
@@ -3982,6 +4689,7 @@ export declare const cliDataSchemas: {
3982
4689
  merge: "merge";
3983
4690
  budget: "budget";
3984
4691
  "needs-lead": "needs-lead";
4692
+ "needs-input": "needs-input";
3985
4693
  }>;
3986
4694
  message: z.ZodString;
3987
4695
  blocked: z.ZodBoolean;
@@ -4004,6 +4712,7 @@ export declare const cliDataSchemas: {
4004
4712
  merge: "merge";
4005
4713
  budget: "budget";
4006
4714
  "needs-lead": "needs-lead";
4715
+ "needs-input": "needs-input";
4007
4716
  }>;
4008
4717
  cause: z.ZodEnum<{
4009
4718
  preflight: "preflight";
@@ -4036,8 +4745,8 @@ export declare const cliDataSchemas: {
4036
4745
  }, z.core.$strict> | z.ZodObject<{
4037
4746
  by: z.ZodEnum<{
4038
4747
  operator: "operator";
4039
- recovery: "recovery";
4040
4748
  host: "host";
4749
+ recovery: "recovery";
4041
4750
  }>;
4042
4751
  reset: z.ZodBoolean;
4043
4752
  spent: z.ZodOptional<z.ZodNumber>;
@@ -4045,8 +4754,8 @@ export declare const cliDataSchemas: {
4045
4754
  }, z.core.$strict> | z.ZodObject<{
4046
4755
  by: z.ZodEnum<{
4047
4756
  operator: "operator";
4048
- graph: "graph";
4049
4757
  host: "host";
4758
+ graph: "graph";
4050
4759
  }>;
4051
4760
  hadAttempt: z.ZodBoolean;
4052
4761
  }, z.core.$strict> | z.ZodObject<{
@@ -4054,8 +4763,8 @@ export declare const cliDataSchemas: {
4054
4763
  message: z.ZodString;
4055
4764
  }, z.core.$strict> | z.ZodObject<{
4056
4765
  reason: z.ZodEnum<{
4057
- runtime: "runtime";
4058
4766
  operator: "operator";
4767
+ runtime: "runtime";
4059
4768
  shutdown: "shutdown";
4060
4769
  "base-check": "base-check";
4061
4770
  reconfigure: "reconfigure";
@@ -4078,11 +4787,12 @@ export declare const cliDataSchemas: {
4078
4787
  merge: "merge";
4079
4788
  budget: "budget";
4080
4789
  "needs-lead": "needs-lead";
4790
+ "needs-input": "needs-input";
4081
4791
  }>>>;
4082
4792
  }, z.core.$strict> | z.ZodObject<{
4083
4793
  reason: z.ZodEnum<{
4084
- runtime: "runtime";
4085
4794
  operator: "operator";
4795
+ runtime: "runtime";
4086
4796
  shutdown: "shutdown";
4087
4797
  "base-check": "base-check";
4088
4798
  reconfigure: "reconfigure";
@@ -4092,8 +4802,8 @@ export declare const cliDataSchemas: {
4092
4802
  }, z.core.$strict> | z.ZodObject<{
4093
4803
  by: z.ZodEnum<{
4094
4804
  operator: "operator";
4095
- controller: "controller";
4096
4805
  host: "host";
4806
+ controller: "controller";
4097
4807
  }>;
4098
4808
  }, z.core.$strict> | z.ZodObject<{
4099
4809
  owner: z.ZodString;
@@ -4153,8 +4863,8 @@ export declare const cliDataSchemas: {
4153
4863
  activity: z.ZodOptional<z.ZodObject<{
4154
4864
  kind: z.ZodEnum<{
4155
4865
  gate: "gate";
4156
- command: "command";
4157
4866
  agent: "agent";
4867
+ command: "command";
4158
4868
  step: "step";
4159
4869
  }>;
4160
4870
  label: z.ZodString;
@@ -4198,6 +4908,76 @@ export declare const cliDataSchemas: {
4198
4908
  cleared: "cleared";
4199
4909
  }>;
4200
4910
  error: z.ZodOptional<z.ZodString>;
4911
+ }, z.core.$strict> | z.ZodObject<{
4912
+ requestId: z.ZodString;
4913
+ kind: z.ZodEnum<{
4914
+ question: "question";
4915
+ "follow-up": "follow-up";
4916
+ }>;
4917
+ blocking: z.ZodBoolean;
4918
+ lifecycle: z.ZodEnum<{
4919
+ pending: "pending";
4920
+ cancelled: "cancelled";
4921
+ }>;
4922
+ effectiveSeverity: z.ZodNumber;
4923
+ floors: z.ZodArray<z.ZodEnum<{
4924
+ declared: "declared";
4925
+ "critical-path": "critical-path";
4926
+ }>>;
4927
+ criticalHits: z.ZodNumber;
4928
+ questionDigest: z.ZodString;
4929
+ draftDigest: z.ZodNullable<z.ZodString>;
4930
+ }, z.core.$strict> | z.ZodObject<{
4931
+ requestId: z.ZodString;
4932
+ revision: z.ZodNumber;
4933
+ answerDigest: z.ZodString;
4934
+ kind: z.ZodEnum<{
4935
+ clarification: "clarification";
4936
+ "requirement-change": "requirement-change";
4937
+ }>;
4938
+ actor: z.ZodEnum<{
4939
+ operator: "operator";
4940
+ lead: "lead";
4941
+ host: "host";
4942
+ }>;
4943
+ }, z.core.$strict> | z.ZodObject<{
4944
+ requestId: z.ZodString;
4945
+ answerDigest: z.ZodString;
4946
+ targetDigest: z.ZodString;
4947
+ contextDigest: z.ZodNullable<z.ZodString>;
4948
+ retried: z.ZodBoolean;
4949
+ }, z.core.$strict> | z.ZodObject<{
4950
+ requestId: z.ZodString;
4951
+ lifecycle: z.ZodEnum<{
4952
+ cancelled: "cancelled";
4953
+ superseded: "superseded";
4954
+ }>;
4955
+ by: z.ZodEnum<{
4956
+ operator: "operator";
4957
+ lead: "lead";
4958
+ host: "host";
4959
+ controller: "controller";
4960
+ }>;
4961
+ successor: z.ZodOptional<z.ZodString>;
4962
+ }, z.core.$strict> | z.ZodObject<{
4963
+ requestId: z.ZodString;
4964
+ targetDigest: z.ZodString;
4965
+ reason: z.ZodEnum<{
4966
+ context: "context";
4967
+ graph: "graph";
4968
+ order: "order";
4969
+ policy: "policy";
4970
+ }>;
4971
+ }, z.core.$strict> | z.ZodObject<{
4972
+ requestId: z.ZodString;
4973
+ answerDigest: z.ZodString;
4974
+ callId: z.ZodString;
4975
+ }, z.core.$strict> | z.ZodObject<{
4976
+ count: z.ZodNumber;
4977
+ maxSeverity: z.ZodNumber;
4978
+ floors: z.ZodNumber;
4979
+ followUps: z.ZodNumber;
4980
+ digest: z.ZodString;
4201
4981
  }, z.core.$strict> | z.ZodObject<{
4202
4982
  sink: z.ZodString;
4203
4983
  key: z.ZodString;
@@ -4246,8 +5026,8 @@ export declare const cliDataSchemas: {
4246
5026
  control: z.ZodObject<{
4247
5027
  paused: z.ZodBoolean;
4248
5028
  pauseReason: z.ZodOptional<z.ZodEnum<{
4249
- runtime: "runtime";
4250
5029
  operator: "operator";
5030
+ runtime: "runtime";
4251
5031
  shutdown: "shutdown";
4252
5032
  "base-check": "base-check";
4253
5033
  reconfigure: "reconfigure";
@@ -4272,6 +5052,7 @@ export declare const cliDataSchemas: {
4272
5052
  merge: "merge";
4273
5053
  budget: "budget";
4274
5054
  "needs-lead": "needs-lead";
5055
+ "needs-input": "needs-input";
4275
5056
  }>>>;
4276
5057
  waits: z.ZodOptional<z.ZodArray<z.ZodObject<{
4277
5058
  kind: z.ZodEnum<{
@@ -4303,8 +5084,8 @@ export declare const cliDataSchemas: {
4303
5084
  control: z.ZodObject<{
4304
5085
  paused: z.ZodBoolean;
4305
5086
  pauseReason: z.ZodOptional<z.ZodEnum<{
4306
- runtime: "runtime";
4307
5087
  operator: "operator";
5088
+ runtime: "runtime";
4308
5089
  shutdown: "shutdown";
4309
5090
  "base-check": "base-check";
4310
5091
  reconfigure: "reconfigure";
@@ -4329,6 +5110,7 @@ export declare const cliDataSchemas: {
4329
5110
  merge: "merge";
4330
5111
  budget: "budget";
4331
5112
  "needs-lead": "needs-lead";
5113
+ "needs-input": "needs-input";
4332
5114
  }>>>;
4333
5115
  waits: z.ZodOptional<z.ZodArray<z.ZodObject<{
4334
5116
  kind: z.ZodEnum<{
@@ -4359,10 +5141,10 @@ export declare const cliDataSchemas: {
4359
5141
  readonly cancel: z.ZodObject<{
4360
5142
  workId: z.ZodString;
4361
5143
  status: z.ZodEnum<{
4362
- ready: "ready";
4363
- failed: "failed";
4364
5144
  cancelled: "cancelled";
4365
5145
  draft: "draft";
5146
+ ready: "ready";
5147
+ failed: "failed";
4366
5148
  running: "running";
4367
5149
  verifying: "verifying";
4368
5150
  reviewing: "reviewing";
@@ -4375,10 +5157,10 @@ export declare const cliDataSchemas: {
4375
5157
  readonly retry: z.ZodObject<{
4376
5158
  workId: z.ZodString;
4377
5159
  status: z.ZodEnum<{
4378
- ready: "ready";
4379
- failed: "failed";
4380
5160
  cancelled: "cancelled";
4381
5161
  draft: "draft";
5162
+ ready: "ready";
5163
+ failed: "failed";
4382
5164
  running: "running";
4383
5165
  verifying: "verifying";
4384
5166
  reviewing: "reviewing";
@@ -4476,8 +5258,8 @@ export declare const cliDataSchemas: {
4476
5258
  id: z.ZodString;
4477
5259
  kind: z.ZodEnum<{
4478
5260
  check: "check";
4479
- test: "test";
4480
5261
  review: "review";
5262
+ test: "test";
4481
5263
  property: "property";
4482
5264
  consumer: "consumer";
4483
5265
  }>;
@@ -4541,13 +5323,13 @@ export declare const cliDataSchemas: {
4541
5323
  transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
4542
5324
  id: z.ZodString;
4543
5325
  from: z.ZodEnum<{
4544
- open: "open";
4545
5326
  closed: "closed";
5327
+ open: "open";
4546
5328
  withdrawn: "withdrawn";
4547
5329
  }>;
4548
5330
  to: z.ZodEnum<{
4549
- open: "open";
4550
5331
  closed: "closed";
5332
+ open: "open";
4551
5333
  withdrawn: "withdrawn";
4552
5334
  }>;
4553
5335
  }, z.core.$strict>>>;
@@ -4561,8 +5343,8 @@ export declare const cliDataSchemas: {
4561
5343
  rule: z.ZodOptional<z.ZodString>;
4562
5344
  id: z.ZodOptional<z.ZodString>;
4563
5345
  status: z.ZodOptional<z.ZodEnum<{
4564
- open: "open";
4565
5346
  closed: "closed";
5347
+ open: "open";
4566
5348
  withdrawn: "withdrawn";
4567
5349
  }>>;
4568
5350
  }, z.core.$strict>>>;
@@ -4570,9 +5352,9 @@ export declare const cliDataSchemas: {
4570
5352
  finishedAt: z.ZodISODateTime;
4571
5353
  }, z.core.$strict>, z.ZodObject<{
4572
5354
  outcome: z.ZodEnum<{
5355
+ cancelled: "cancelled";
4573
5356
  rejected: "rejected";
4574
5357
  blocked: "blocked";
4575
- cancelled: "cancelled";
4576
5358
  stopped: "stopped";
4577
5359
  }>;
4578
5360
  shas: z.ZodObject<{
@@ -4606,6 +5388,7 @@ export declare const cliDataSchemas: {
4606
5388
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
4607
5389
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
4608
5390
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
5391
+ INPUT_REQUIRED: "INPUT_REQUIRED";
4609
5392
  REVISION_CONFLICT: "REVISION_CONFLICT";
4610
5393
  CANCELLED: "CANCELLED";
4611
5394
  NOT_FOUND: "NOT_FOUND";
@@ -4699,8 +5482,8 @@ export declare const cliDataSchemas: {
4699
5482
  id: z.ZodString;
4700
5483
  kind: z.ZodEnum<{
4701
5484
  check: "check";
4702
- test: "test";
4703
5485
  review: "review";
5486
+ test: "test";
4704
5487
  property: "property";
4705
5488
  consumer: "consumer";
4706
5489
  }>;
@@ -4764,13 +5547,13 @@ export declare const cliDataSchemas: {
4764
5547
  transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
4765
5548
  id: z.ZodString;
4766
5549
  from: z.ZodEnum<{
4767
- open: "open";
4768
5550
  closed: "closed";
5551
+ open: "open";
4769
5552
  withdrawn: "withdrawn";
4770
5553
  }>;
4771
5554
  to: z.ZodEnum<{
4772
- open: "open";
4773
5555
  closed: "closed";
5556
+ open: "open";
4774
5557
  withdrawn: "withdrawn";
4775
5558
  }>;
4776
5559
  }, z.core.$strict>>>;
@@ -4784,8 +5567,8 @@ export declare const cliDataSchemas: {
4784
5567
  rule: z.ZodOptional<z.ZodString>;
4785
5568
  id: z.ZodOptional<z.ZodString>;
4786
5569
  status: z.ZodOptional<z.ZodEnum<{
4787
- open: "open";
4788
5570
  closed: "closed";
5571
+ open: "open";
4789
5572
  withdrawn: "withdrawn";
4790
5573
  }>>;
4791
5574
  }, z.core.$strict>>>;
@@ -4797,9 +5580,9 @@ export declare const cliDataSchemas: {
4797
5580
  key: z.ZodString;
4798
5581
  revision: z.ZodString;
4799
5582
  status: z.ZodEnum<{
4800
- failed: "failed";
4801
5583
  pending: "pending";
4802
5584
  delivered: "delivered";
5585
+ failed: "failed";
4803
5586
  conflict: "conflict";
4804
5587
  uncertain: "uncertain";
4805
5588
  }>;
@@ -4899,8 +5682,8 @@ export declare const cliDataSchemas: {
4899
5682
  id: z.ZodString;
4900
5683
  kind: z.ZodEnum<{
4901
5684
  check: "check";
4902
- test: "test";
4903
5685
  review: "review";
5686
+ test: "test";
4904
5687
  property: "property";
4905
5688
  consumer: "consumer";
4906
5689
  }>;
@@ -4964,13 +5747,13 @@ export declare const cliDataSchemas: {
4964
5747
  transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
4965
5748
  id: z.ZodString;
4966
5749
  from: z.ZodEnum<{
4967
- open: "open";
4968
5750
  closed: "closed";
5751
+ open: "open";
4969
5752
  withdrawn: "withdrawn";
4970
5753
  }>;
4971
5754
  to: z.ZodEnum<{
4972
- open: "open";
4973
5755
  closed: "closed";
5756
+ open: "open";
4974
5757
  withdrawn: "withdrawn";
4975
5758
  }>;
4976
5759
  }, z.core.$strict>>>;
@@ -4984,8 +5767,8 @@ export declare const cliDataSchemas: {
4984
5767
  rule: z.ZodOptional<z.ZodString>;
4985
5768
  id: z.ZodOptional<z.ZodString>;
4986
5769
  status: z.ZodOptional<z.ZodEnum<{
4987
- open: "open";
4988
5770
  closed: "closed";
5771
+ open: "open";
4989
5772
  withdrawn: "withdrawn";
4990
5773
  }>>;
4991
5774
  }, z.core.$strict>>>;
@@ -4993,9 +5776,9 @@ export declare const cliDataSchemas: {
4993
5776
  finishedAt: z.ZodISODateTime;
4994
5777
  }, z.core.$strict>, z.ZodObject<{
4995
5778
  outcome: z.ZodEnum<{
5779
+ cancelled: "cancelled";
4996
5780
  rejected: "rejected";
4997
5781
  blocked: "blocked";
4998
- cancelled: "cancelled";
4999
5782
  stopped: "stopped";
5000
5783
  }>;
5001
5784
  shas: z.ZodObject<{
@@ -5029,6 +5812,7 @@ export declare const cliDataSchemas: {
5029
5812
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
5030
5813
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
5031
5814
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
5815
+ INPUT_REQUIRED: "INPUT_REQUIRED";
5032
5816
  REVISION_CONFLICT: "REVISION_CONFLICT";
5033
5817
  CANCELLED: "CANCELLED";
5034
5818
  NOT_FOUND: "NOT_FOUND";
@@ -5122,8 +5906,8 @@ export declare const cliDataSchemas: {
5122
5906
  id: z.ZodString;
5123
5907
  kind: z.ZodEnum<{
5124
5908
  check: "check";
5125
- test: "test";
5126
5909
  review: "review";
5910
+ test: "test";
5127
5911
  property: "property";
5128
5912
  consumer: "consumer";
5129
5913
  }>;
@@ -5187,13 +5971,13 @@ export declare const cliDataSchemas: {
5187
5971
  transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
5188
5972
  id: z.ZodString;
5189
5973
  from: z.ZodEnum<{
5190
- open: "open";
5191
5974
  closed: "closed";
5975
+ open: "open";
5192
5976
  withdrawn: "withdrawn";
5193
5977
  }>;
5194
5978
  to: z.ZodEnum<{
5195
- open: "open";
5196
5979
  closed: "closed";
5980
+ open: "open";
5197
5981
  withdrawn: "withdrawn";
5198
5982
  }>;
5199
5983
  }, z.core.$strict>>>;
@@ -5207,8 +5991,8 @@ export declare const cliDataSchemas: {
5207
5991
  rule: z.ZodOptional<z.ZodString>;
5208
5992
  id: z.ZodOptional<z.ZodString>;
5209
5993
  status: z.ZodOptional<z.ZodEnum<{
5210
- open: "open";
5211
5994
  closed: "closed";
5995
+ open: "open";
5212
5996
  withdrawn: "withdrawn";
5213
5997
  }>>;
5214
5998
  }, z.core.$strict>>>;
@@ -5220,9 +6004,9 @@ export declare const cliDataSchemas: {
5220
6004
  key: z.ZodString;
5221
6005
  revision: z.ZodString;
5222
6006
  status: z.ZodEnum<{
5223
- failed: "failed";
5224
6007
  pending: "pending";
5225
6008
  delivered: "delivered";
6009
+ failed: "failed";
5226
6010
  conflict: "conflict";
5227
6011
  uncertain: "uncertain";
5228
6012
  }>;
@@ -5681,6 +6465,7 @@ export declare const cliDataSchemas: {
5681
6465
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
5682
6466
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
5683
6467
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
6468
+ INPUT_REQUIRED: "INPUT_REQUIRED";
5684
6469
  REVISION_CONFLICT: "REVISION_CONFLICT";
5685
6470
  CANCELLED: "CANCELLED";
5686
6471
  NOT_FOUND: "NOT_FOUND";
@@ -5712,6 +6497,7 @@ export declare const cliDataSchemas: {
5712
6497
  merge: "merge";
5713
6498
  budget: "budget";
5714
6499
  "needs-lead": "needs-lead";
6500
+ "needs-input": "needs-input";
5715
6501
  "runtime-missing": "runtime-missing";
5716
6502
  "controller-busy": "controller-busy";
5717
6503
  "operator-pause": "operator-pause";
@@ -5720,16 +6506,16 @@ export declare const cliDataSchemas: {
5720
6506
  }>;
5721
6507
  phase: z.ZodEnum<{
5722
6508
  gates: "gates";
5723
- preflight: "preflight";
5724
6509
  review: "review";
6510
+ preflight: "preflight";
5725
6511
  integration: "integration";
5726
6512
  delivery: "delivery";
5727
6513
  claim: "claim";
5728
6514
  implementation: "implementation";
5729
6515
  }>;
5730
6516
  actor: z.ZodNullable<z.ZodEnum<{
5731
- controller: "controller";
5732
6517
  lead: "lead";
6518
+ controller: "controller";
5733
6519
  user: "user";
5734
6520
  }>>;
5735
6521
  action: z.ZodEnum<{
@@ -5746,6 +6532,8 @@ export declare const cliDataSchemas: {
5746
6532
  "resume-queue": "resume-queue";
5747
6533
  "fix-environment": "fix-environment";
5748
6534
  "fix-access": "fix-access";
6535
+ "answer-input": "answer-input";
6536
+ "apply-input": "apply-input";
5749
6537
  }>;
5750
6538
  retryPlanned: z.ZodBoolean;
5751
6539
  message: z.ZodString;
@@ -5911,8 +6699,8 @@ export declare const cliDataSchemas: {
5911
6699
  runId: z.ZodString;
5912
6700
  attempt: z.ZodNumber;
5913
6701
  kind: z.ZodEnum<{
5914
- test: "test";
5915
6702
  review: "review";
6703
+ test: "test";
5916
6704
  scope: "scope";
5917
6705
  }>;
5918
6706
  phase: z.ZodNullable<z.ZodEnum<{
@@ -5966,24 +6754,24 @@ export declare const cliDataSchemas: {
5966
6754
  }>;
5967
6755
  retries: z.ZodObject<{
5968
6756
  operator: z.ZodNumber;
5969
- recovery: z.ZodNumber;
5970
6757
  host: z.ZodNumber;
6758
+ recovery: z.ZodNumber;
5971
6759
  }, z.core.$strict>;
5972
6760
  resets: z.ZodObject<{
5973
6761
  operator: z.ZodNumber;
5974
- recovery: z.ZodNumber;
5975
6762
  host: z.ZodNumber;
6763
+ recovery: z.ZodNumber;
5976
6764
  }, z.core.$strict>;
5977
6765
  cancellations: z.ZodObject<{
5978
6766
  operator: z.ZodNumber;
5979
- graph: z.ZodNumber;
5980
6767
  host: z.ZodNumber;
6768
+ graph: z.ZodNumber;
5981
6769
  }, z.core.$strict>;
5982
6770
  cancelledWithoutAttempt: z.ZodNumber;
5983
6771
  baseMoves: z.ZodObject<{
5984
6772
  operator: z.ZodNumber;
5985
- controller: z.ZodNumber;
5986
6773
  host: z.ZodNumber;
6774
+ controller: z.ZodNumber;
5987
6775
  }, z.core.$strict>;
5988
6776
  baseMovesBound: z.ZodLiteral<"lower">;
5989
6777
  gaps: z.ZodNumber;
@@ -6001,8 +6789,8 @@ export declare const cliDataSchemas: {
6001
6789
  }, z.core.$strict>;
6002
6790
  pauses: z.ZodArray<z.ZodObject<{
6003
6791
  reason: z.ZodEnum<{
6004
- runtime: "runtime";
6005
6792
  operator: "operator";
6793
+ runtime: "runtime";
6006
6794
  shutdown: "shutdown";
6007
6795
  "base-check": "base-check";
6008
6796
  reconfigure: "reconfigure";
@@ -6028,6 +6816,7 @@ export declare const cliDataSchemas: {
6028
6816
  merge: "merge";
6029
6817
  budget: "budget";
6030
6818
  "needs-lead": "needs-lead";
6819
+ "needs-input": "needs-input";
6031
6820
  }>>;
6032
6821
  }, z.core.$strict>>;
6033
6822
  escalations: z.ZodNumber;
@@ -6167,10 +6956,11 @@ export declare const cliDataSchemas: {
6167
6956
  attempts: z.ZodNumber;
6168
6957
  byBucket: z.ZodArray<z.ZodObject<{
6169
6958
  bucket: z.ZodEnum<{
6959
+ input: "input";
6170
6960
  unknown: "unknown";
6961
+ operator: "operator";
6171
6962
  integration: "integration";
6172
6963
  environment: "environment";
6173
- operator: "operator";
6174
6964
  budget: "budget";
6175
6965
  defect: "defect";
6176
6966
  incomplete: "incomplete";
@@ -6201,10 +6991,11 @@ export declare const cliDataSchemas: {
6201
6991
  interrupted: z.ZodNumber;
6202
6992
  buckets: z.ZodArray<z.ZodObject<{
6203
6993
  bucket: z.ZodEnum<{
6994
+ input: "input";
6204
6995
  unknown: "unknown";
6996
+ operator: "operator";
6205
6997
  integration: "integration";
6206
6998
  environment: "environment";
6207
- operator: "operator";
6208
6999
  budget: "budget";
6209
7000
  defect: "defect";
6210
7001
  incomplete: "incomplete";
@@ -6308,14 +7099,26 @@ export declare const cliDataSchemas: {
6308
7099
  }, z.core.$strict>>;
6309
7100
  active: z.ZodNumber;
6310
7101
  }, z.core.$strict>;
7102
+ inputs: z.ZodOptional<z.ZodObject<{
7103
+ questions: z.ZodNumber;
7104
+ awaitingAnswer: z.ZodNumber;
7105
+ answeredNotApplied: z.ZodNumber;
7106
+ appliedAwaitingClaim: z.ZodNumber;
7107
+ delivered: z.ZodNumber;
7108
+ carryStale: z.ZodOptional<z.ZodNumber>;
7109
+ closed: z.ZodNumber;
7110
+ declined: z.ZodNumber;
7111
+ followUps: z.ZodNumber;
7112
+ assumptions: z.ZodNumber;
7113
+ }, z.core.$strict>>;
6311
7114
  works: z.ZodObject<{
6312
7115
  rows: z.ZodArray<z.ZodObject<{
6313
7116
  id: z.ZodString;
6314
7117
  title: z.ZodOptional<z.ZodString>;
6315
7118
  outcome: z.ZodEnum<{
7119
+ cancelled: "cancelled";
6316
7120
  failed: "failed";
6317
7121
  accepted: "accepted";
6318
- cancelled: "cancelled";
6319
7122
  }>;
6320
7123
  finishedAt: z.ZodNullable<z.ZodISODateTime>;
6321
7124
  attempts: z.ZodNumber;
@@ -6331,10 +7134,11 @@ export declare const cliDataSchemas: {
6331
7134
  }>;
6332
7135
  rejections: z.ZodArray<z.ZodObject<{
6333
7136
  key: z.ZodEnum<{
7137
+ input: "input";
6334
7138
  unknown: "unknown";
7139
+ operator: "operator";
6335
7140
  integration: "integration";
6336
7141
  environment: "environment";
6337
- operator: "operator";
6338
7142
  budget: "budget";
6339
7143
  defect: "defect";
6340
7144
  incomplete: "incomplete";
@@ -6377,10 +7181,10 @@ export declare const cliDataSchemas: {
6377
7181
  cancelled: z.ZodNumber;
6378
7182
  byStatus: z.ZodArray<z.ZodObject<{
6379
7183
  status: z.ZodEnum<{
6380
- ready: "ready";
6381
- failed: "failed";
6382
7184
  cancelled: "cancelled";
6383
7185
  draft: "draft";
7186
+ ready: "ready";
7187
+ failed: "failed";
6384
7188
  running: "running";
6385
7189
  verifying: "verifying";
6386
7190
  reviewing: "reviewing";
@@ -6393,8 +7197,8 @@ export declare const cliDataSchemas: {
6393
7197
  queue: z.ZodObject<{
6394
7198
  paused: z.ZodBoolean;
6395
7199
  reason: z.ZodOptional<z.ZodEnum<{
6396
- runtime: "runtime";
6397
7200
  operator: "operator";
7201
+ runtime: "runtime";
6398
7202
  shutdown: "shutdown";
6399
7203
  "base-check": "base-check";
6400
7204
  reconfigure: "reconfigure";
@@ -6420,6 +7224,7 @@ export declare const cliDataSchemas: {
6420
7224
  merge: "merge";
6421
7225
  budget: "budget";
6422
7226
  "needs-lead": "needs-lead";
7227
+ "needs-input": "needs-input";
6423
7228
  }>>>;
6424
7229
  liftedByRun: z.ZodOptional<z.ZodLiteral<true>>;
6425
7230
  code: z.ZodOptional<z.ZodEnum<{
@@ -6447,6 +7252,7 @@ export declare const cliDataSchemas: {
6447
7252
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
6448
7253
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
6449
7254
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
7255
+ INPUT_REQUIRED: "INPUT_REQUIRED";
6450
7256
  REVISION_CONFLICT: "REVISION_CONFLICT";
6451
7257
  CANCELLED: "CANCELLED";
6452
7258
  NOT_FOUND: "NOT_FOUND";
@@ -6461,8 +7267,8 @@ export declare const cliDataSchemas: {
6461
7267
  INTERNAL: "INTERNAL";
6462
7268
  }>>;
6463
7269
  actor: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6464
- controller: "controller";
6465
7270
  lead: "lead";
7271
+ controller: "controller";
6466
7272
  user: "user";
6467
7273
  }>>>;
6468
7274
  action: z.ZodOptional<z.ZodEnum<{
@@ -6479,6 +7285,8 @@ export declare const cliDataSchemas: {
6479
7285
  "resume-queue": "resume-queue";
6480
7286
  "fix-environment": "fix-environment";
6481
7287
  "fix-access": "fix-access";
7288
+ "answer-input": "answer-input";
7289
+ "apply-input": "apply-input";
6482
7290
  }>>;
6483
7291
  }, z.core.$strict>;
6484
7292
  controller: z.ZodOptional<z.ZodObject<{
@@ -6492,10 +7300,10 @@ export declare const cliDataSchemas: {
6492
7300
  runId: z.ZodString;
6493
7301
  attempt: z.ZodNumber;
6494
7302
  phase: z.ZodEnum<{
6495
- ready: "ready";
6496
- failed: "failed";
6497
7303
  cancelled: "cancelled";
6498
7304
  draft: "draft";
7305
+ ready: "ready";
7306
+ failed: "failed";
6499
7307
  running: "running";
6500
7308
  verifying: "verifying";
6501
7309
  reviewing: "reviewing";
@@ -6527,10 +7335,10 @@ export declare const cliDataSchemas: {
6527
7335
  workId: z.ZodString;
6528
7336
  attempt: z.ZodNumber;
6529
7337
  phase: z.ZodEnum<{
6530
- ready: "ready";
6531
- failed: "failed";
6532
7338
  cancelled: "cancelled";
6533
7339
  draft: "draft";
7340
+ ready: "ready";
7341
+ failed: "failed";
6534
7342
  running: "running";
6535
7343
  verifying: "verifying";
6536
7344
  reviewing: "reviewing";
@@ -6547,10 +7355,10 @@ export declare const cliDataSchemas: {
6547
7355
  graphId: z.ZodString;
6548
7356
  title: z.ZodString;
6549
7357
  status: z.ZodEnum<{
6550
- ready: "ready";
6551
- failed: "failed";
6552
7358
  cancelled: "cancelled";
6553
7359
  draft: "draft";
7360
+ ready: "ready";
7361
+ failed: "failed";
6554
7362
  running: "running";
6555
7363
  verifying: "verifying";
6556
7364
  reviewing: "reviewing";
@@ -6576,6 +7384,7 @@ export declare const cliDataSchemas: {
6576
7384
  merge: "merge";
6577
7385
  budget: "budget";
6578
7386
  "needs-lead": "needs-lead";
7387
+ "needs-input": "needs-input";
6579
7388
  }>>;
6580
7389
  failure: z.ZodOptional<z.ZodString>;
6581
7390
  hold: z.ZodOptional<z.ZodObject<{
@@ -6614,6 +7423,7 @@ export declare const cliDataSchemas: {
6614
7423
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
6615
7424
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
6616
7425
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
7426
+ INPUT_REQUIRED: "INPUT_REQUIRED";
6617
7427
  REVISION_CONFLICT: "REVISION_CONFLICT";
6618
7428
  CANCELLED: "CANCELLED";
6619
7429
  NOT_FOUND: "NOT_FOUND";
@@ -6632,8 +7442,8 @@ export declare const cliDataSchemas: {
6632
7442
  blockersTruncated: z.ZodOptional<z.ZodNumber>;
6633
7443
  next: z.ZodObject<{
6634
7444
  actor: z.ZodNullable<z.ZodEnum<{
6635
- controller: "controller";
6636
7445
  lead: "lead";
7446
+ controller: "controller";
6637
7447
  user: "user";
6638
7448
  }>>;
6639
7449
  action: z.ZodEnum<{
@@ -6650,10 +7460,12 @@ export declare const cliDataSchemas: {
6650
7460
  "resume-queue": "resume-queue";
6651
7461
  "fix-environment": "fix-environment";
6652
7462
  "fix-access": "fix-access";
7463
+ "answer-input": "answer-input";
7464
+ "apply-input": "apply-input";
6653
7465
  }>;
6654
7466
  step: z.ZodOptional<z.ZodEnum<{
6655
- accepted: "accepted";
6656
7467
  cancelled: "cancelled";
7468
+ accepted: "accepted";
6657
7469
  "recovery-awaiting-lead": "recovery-awaiting-lead";
6658
7470
  "recovery-analyzing": "recovery-analyzing";
6659
7471
  "recovery-applying": "recovery-applying";
@@ -6703,6 +7515,7 @@ export declare const cliDataSchemas: {
6703
7515
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
6704
7516
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
6705
7517
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
7518
+ INPUT_REQUIRED: "INPUT_REQUIRED";
6706
7519
  REVISION_CONFLICT: "REVISION_CONFLICT";
6707
7520
  CANCELLED: "CANCELLED";
6708
7521
  NOT_FOUND: "NOT_FOUND";
@@ -6734,6 +7547,7 @@ export declare const cliDataSchemas: {
6734
7547
  merge: "merge";
6735
7548
  budget: "budget";
6736
7549
  "needs-lead": "needs-lead";
7550
+ "needs-input": "needs-input";
6737
7551
  "runtime-missing": "runtime-missing";
6738
7552
  "controller-busy": "controller-busy";
6739
7553
  "operator-pause": "operator-pause";
@@ -6742,16 +7556,16 @@ export declare const cliDataSchemas: {
6742
7556
  }>;
6743
7557
  phase: z.ZodEnum<{
6744
7558
  gates: "gates";
6745
- preflight: "preflight";
6746
7559
  review: "review";
7560
+ preflight: "preflight";
6747
7561
  integration: "integration";
6748
7562
  delivery: "delivery";
6749
7563
  claim: "claim";
6750
7564
  implementation: "implementation";
6751
7565
  }>;
6752
7566
  actor: z.ZodNullable<z.ZodEnum<{
6753
- controller: "controller";
6754
7567
  lead: "lead";
7568
+ controller: "controller";
6755
7569
  user: "user";
6756
7570
  }>>;
6757
7571
  action: z.ZodEnum<{
@@ -6768,6 +7582,8 @@ export declare const cliDataSchemas: {
6768
7582
  "resume-queue": "resume-queue";
6769
7583
  "fix-environment": "fix-environment";
6770
7584
  "fix-access": "fix-access";
7585
+ "answer-input": "answer-input";
7586
+ "apply-input": "apply-input";
6771
7587
  }>;
6772
7588
  retryPlanned: z.ZodBoolean;
6773
7589
  message: z.ZodString;
@@ -6791,10 +7607,10 @@ export declare const cliDataSchemas: {
6791
7607
  runId: z.ZodString;
6792
7608
  workId: z.ZodString;
6793
7609
  workStatus: z.ZodOptional<z.ZodEnum<{
6794
- ready: "ready";
6795
- failed: "failed";
6796
7610
  cancelled: "cancelled";
6797
7611
  draft: "draft";
7612
+ ready: "ready";
7613
+ failed: "failed";
6798
7614
  running: "running";
6799
7615
  verifying: "verifying";
6800
7616
  reviewing: "reviewing";
@@ -6807,10 +7623,10 @@ export declare const cliDataSchemas: {
6807
7623
  expired: "expired";
6808
7624
  }>;
6809
7625
  phase: z.ZodEnum<{
6810
- ready: "ready";
6811
- failed: "failed";
6812
7626
  cancelled: "cancelled";
6813
7627
  draft: "draft";
7628
+ ready: "ready";
7629
+ failed: "failed";
6814
7630
  running: "running";
6815
7631
  verifying: "verifying";
6816
7632
  reviewing: "reviewing";
@@ -6836,6 +7652,7 @@ export declare const cliDataSchemas: {
6836
7652
  merge: "merge";
6837
7653
  budget: "budget";
6838
7654
  "needs-lead": "needs-lead";
7655
+ "needs-input": "needs-input";
6839
7656
  }>>;
6840
7657
  code: z.ZodEnum<{
6841
7658
  INVALID_INPUT: "INVALID_INPUT";
@@ -6862,6 +7679,7 @@ export declare const cliDataSchemas: {
6862
7679
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
6863
7680
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
6864
7681
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
7682
+ INPUT_REQUIRED: "INPUT_REQUIRED";
6865
7683
  REVISION_CONFLICT: "REVISION_CONFLICT";
6866
7684
  CANCELLED: "CANCELLED";
6867
7685
  NOT_FOUND: "NOT_FOUND";
@@ -6915,10 +7733,38 @@ export declare const cliDataSchemas: {
6915
7733
  used: z.ZodNumber;
6916
7734
  budget: z.ZodNumber;
6917
7735
  }, z.core.$strict>>;
7736
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
7737
+ requestId: z.ZodString;
7738
+ workId: z.ZodString;
7739
+ kind: z.ZodEnum<{
7740
+ question: "question";
7741
+ "follow-up": "follow-up";
7742
+ }>;
7743
+ state: z.ZodEnum<{
7744
+ "awaiting-answer": "awaiting-answer";
7745
+ "answered-not-applied": "answered-not-applied";
7746
+ "applied-awaiting-claim": "applied-awaiting-claim";
7747
+ "carry-stale": "carry-stale";
7748
+ }>;
7749
+ severity: z.ZodNumber;
7750
+ question: z.ZodString;
7751
+ options: z.ZodArray<z.ZodString>;
7752
+ answer: z.ZodOptional<z.ZodObject<{
7753
+ revision: z.ZodNumber;
7754
+ digest: z.ZodString;
7755
+ excerpt: z.ZodString;
7756
+ }, z.core.$strict>>;
7757
+ origin: z.ZodObject<{
7758
+ graphDigest: z.ZodString;
7759
+ orderDigest: z.ZodString;
7760
+ contextDigest: z.ZodNullable<z.ZodString>;
7761
+ }, z.core.$strict>;
7762
+ targetDigest: z.ZodOptional<z.ZodString>;
7763
+ }, z.core.$strict>>>;
6918
7764
  next: z.ZodObject<{
6919
7765
  actor: z.ZodNullable<z.ZodEnum<{
6920
- controller: "controller";
6921
7766
  lead: "lead";
7767
+ controller: "controller";
6922
7768
  user: "user";
6923
7769
  }>>;
6924
7770
  action: z.ZodEnum<{
@@ -6935,10 +7781,12 @@ export declare const cliDataSchemas: {
6935
7781
  "resume-queue": "resume-queue";
6936
7782
  "fix-environment": "fix-environment";
6937
7783
  "fix-access": "fix-access";
7784
+ "answer-input": "answer-input";
7785
+ "apply-input": "apply-input";
6938
7786
  }>;
6939
7787
  step: z.ZodOptional<z.ZodEnum<{
6940
- accepted: "accepted";
6941
7788
  cancelled: "cancelled";
7789
+ accepted: "accepted";
6942
7790
  "recovery-awaiting-lead": "recovery-awaiting-lead";
6943
7791
  "recovery-analyzing": "recovery-analyzing";
6944
7792
  "recovery-applying": "recovery-applying";
@@ -6986,6 +7834,7 @@ export declare const cliDataSchemas: {
6986
7834
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
6987
7835
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
6988
7836
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
7837
+ INPUT_REQUIRED: "INPUT_REQUIRED";
6989
7838
  REVISION_CONFLICT: "REVISION_CONFLICT";
6990
7839
  CANCELLED: "CANCELLED";
6991
7840
  NOT_FOUND: "NOT_FOUND";
@@ -7010,6 +7859,7 @@ export declare const cliDataSchemas: {
7010
7859
  budgetsWithin: z.ZodNumber;
7011
7860
  budgetsShared: z.ZodDefault<z.ZodNumber>;
7012
7861
  repairs: z.ZodNumber;
7862
+ inputs: z.ZodDefault<z.ZodNumber>;
7013
7863
  intentions: z.ZodNumber;
7014
7864
  intentionsDropped: z.ZodNumber;
7015
7865
  bySize: z.ZodBoolean;
@@ -7090,6 +7940,7 @@ export declare const cliDataSchemas: {
7090
7940
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
7091
7941
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
7092
7942
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
7943
+ INPUT_REQUIRED: "INPUT_REQUIRED";
7093
7944
  REVISION_CONFLICT: "REVISION_CONFLICT";
7094
7945
  CANCELLED: "CANCELLED";
7095
7946
  NOT_FOUND: "NOT_FOUND";
@@ -7304,8 +8155,8 @@ export declare const cliDataSchemas: {
7304
8155
  runId: z.ZodString;
7305
8156
  outcome: z.ZodString;
7306
8157
  status: z.ZodEnum<{
7307
- failed: "failed";
7308
8158
  delivered: "delivered";
8159
+ failed: "failed";
7309
8160
  conflict: "conflict";
7310
8161
  uncertain: "uncertain";
7311
8162
  intent: "intent";
@@ -7352,9 +8203,9 @@ export declare const cliDataSchemas: {
7352
8203
  key: z.ZodString;
7353
8204
  revision: z.ZodString;
7354
8205
  status: z.ZodEnum<{
7355
- failed: "failed";
7356
8206
  pending: "pending";
7357
8207
  delivered: "delivered";
8208
+ failed: "failed";
7358
8209
  conflict: "conflict";
7359
8210
  uncertain: "uncertain";
7360
8211
  }>;
@@ -7379,9 +8230,9 @@ export declare const cliDataSchemas: {
7379
8230
  key: z.ZodString;
7380
8231
  revision: z.ZodString;
7381
8232
  status: z.ZodEnum<{
7382
- failed: "failed";
7383
8233
  pending: "pending";
7384
8234
  delivered: "delivered";
8235
+ failed: "failed";
7385
8236
  conflict: "conflict";
7386
8237
  uncertain: "uncertain";
7387
8238
  }>;
@@ -7393,6 +8244,479 @@ export declare const cliDataSchemas: {
7393
8244
  updatedAt: z.ZodISODateTime;
7394
8245
  }, z.core.$strict>>>;
7395
8246
  }, z.core.$strict>;
8247
+ readonly 'input-list': z.ZodObject<{
8248
+ requests: z.ZodArray<z.ZodObject<{
8249
+ id: z.ZodString;
8250
+ workId: z.ZodString;
8251
+ kind: z.ZodEnum<{
8252
+ question: "question";
8253
+ "follow-up": "follow-up";
8254
+ }>;
8255
+ blocking: z.ZodBoolean;
8256
+ lifecycle: z.ZodEnum<{
8257
+ pending: "pending";
8258
+ answered: "answered";
8259
+ applied: "applied";
8260
+ cancelled: "cancelled";
8261
+ superseded: "superseded";
8262
+ }>;
8263
+ state: z.ZodOptional<z.ZodEnum<{
8264
+ "awaiting-answer": "awaiting-answer";
8265
+ "answered-not-applied": "answered-not-applied";
8266
+ "applied-awaiting-claim": "applied-awaiting-claim";
8267
+ delivered: "delivered";
8268
+ "carry-stale": "carry-stale";
8269
+ }>>;
8270
+ severity: z.ZodNumber;
8271
+ version: z.ZodNumber;
8272
+ answers: z.ZodNumber;
8273
+ createdAt: z.ZodISODateTime;
8274
+ }, z.core.$strict>>;
8275
+ }, z.core.$strict>;
8276
+ readonly 'input-show': z.ZodObject<{
8277
+ id: z.ZodString;
8278
+ kind: z.ZodEnum<{
8279
+ question: "question";
8280
+ "follow-up": "follow-up";
8281
+ }>;
8282
+ blocking: z.ZodBoolean;
8283
+ workId: z.ZodString;
8284
+ graphId: z.ZodString;
8285
+ runId: z.ZodString;
8286
+ attempt: z.ZodNumber;
8287
+ callId: z.ZodNullable<z.ZodString>;
8288
+ question: z.ZodObject<{
8289
+ question: z.ZodString;
8290
+ options: z.ZodArray<z.ZodObject<{
8291
+ id: z.ZodString;
8292
+ label: z.ZodString;
8293
+ consequence: z.ZodNullable<z.ZodString>;
8294
+ }, z.core.$strict>>;
8295
+ recommended: z.ZodNullable<z.ZodString>;
8296
+ severity: z.ZodNumber;
8297
+ rationale: z.ZodString;
8298
+ affects: z.ZodArray<z.ZodEnum<{
8299
+ acceptance: "acceptance";
8300
+ contract: "contract";
8301
+ product: "product";
8302
+ api: "api";
8303
+ migration: "migration";
8304
+ }>>;
8305
+ }, z.core.$strict>;
8306
+ effectiveSeverity: z.ZodNumber;
8307
+ floors: z.ZodArray<z.ZodEnum<{
8308
+ declared: "declared";
8309
+ "critical-path": "critical-path";
8310
+ }>>;
8311
+ criticalHits: z.ZodArray<z.ZodString>;
8312
+ draft: z.ZodNullable<z.ZodObject<{
8313
+ digest: z.ZodString;
8314
+ files: z.ZodArray<z.ZodString>;
8315
+ }, z.core.$strict>>;
8316
+ createdAt: z.ZodISODateTime;
8317
+ originBasis: z.ZodObject<{
8318
+ source: z.ZodObject<{
8319
+ connector: z.ZodString;
8320
+ ref: z.ZodString;
8321
+ revision: z.ZodString;
8322
+ }, z.core.$strict>;
8323
+ graphId: z.ZodString;
8324
+ graphDigest: z.ZodString;
8325
+ orderDigest: z.ZodString;
8326
+ policyDigest: z.ZodString;
8327
+ contextDigest: z.ZodNullable<z.ZodString>;
8328
+ baseSha: z.ZodNullable<z.ZodString>;
8329
+ inputPolicy: z.ZodObject<{
8330
+ threshold: z.ZodDefault<z.ZodNumber>;
8331
+ criticalPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
8332
+ }, z.core.$strict>;
8333
+ contentDigest: z.ZodOptional<z.ZodString>;
8334
+ }, z.core.$strict>;
8335
+ lifecycle: z.ZodEnum<{
8336
+ pending: "pending";
8337
+ answered: "answered";
8338
+ applied: "applied";
8339
+ cancelled: "cancelled";
8340
+ superseded: "superseded";
8341
+ }>;
8342
+ answers: z.ZodArray<z.ZodObject<{
8343
+ revision: z.ZodNumber;
8344
+ text: z.ZodString;
8345
+ optionId: z.ZodNullable<z.ZodString>;
8346
+ kind: z.ZodEnum<{
8347
+ clarification: "clarification";
8348
+ "requirement-change": "requirement-change";
8349
+ }>;
8350
+ actor: z.ZodObject<{
8351
+ kind: z.ZodEnum<{
8352
+ operator: "operator";
8353
+ lead: "lead";
8354
+ host: "host";
8355
+ }>;
8356
+ id: z.ZodOptional<z.ZodString>;
8357
+ }, z.core.$strict>;
8358
+ messageRef: z.ZodOptional<z.ZodString>;
8359
+ digest: z.ZodString;
8360
+ at: z.ZodISODateTime;
8361
+ }, z.core.$strict>>;
8362
+ target: z.ZodOptional<z.ZodObject<{
8363
+ originDigest: z.ZodString;
8364
+ answerDigest: z.ZodString;
8365
+ graphDigest: z.ZodString;
8366
+ orderDigest: z.ZodString;
8367
+ contentDigest: z.ZodOptional<z.ZodString>;
8368
+ policyDigest: z.ZodString;
8369
+ contextDigest: z.ZodNullable<z.ZodString>;
8370
+ review: z.ZodNullable<z.ZodObject<{
8371
+ round: z.ZodNumber;
8372
+ approved: z.ZodBoolean;
8373
+ reviewerBinding: z.ZodNullable<z.ZodString>;
8374
+ }, z.core.$strict>>;
8375
+ actor: z.ZodEnum<{
8376
+ operator: "operator";
8377
+ agent: "agent";
8378
+ }>;
8379
+ digest: z.ZodString;
8380
+ }, z.core.$strict>>;
8381
+ delivered: z.ZodOptional<z.ZodObject<{
8382
+ runId: z.ZodString;
8383
+ callId: z.ZodString;
8384
+ at: z.ZodISODateTime;
8385
+ }, z.core.$strict>>;
8386
+ closed: z.ZodOptional<z.ZodObject<{
8387
+ at: z.ZodISODateTime;
8388
+ by: z.ZodEnum<{
8389
+ operator: "operator";
8390
+ lead: "lead";
8391
+ host: "host";
8392
+ controller: "controller";
8393
+ }>;
8394
+ reason: z.ZodString;
8395
+ successor: z.ZodOptional<z.ZodString>;
8396
+ carry: z.ZodOptional<z.ZodBoolean>;
8397
+ previous: z.ZodOptional<z.ZodObject<{
8398
+ at: z.ZodISODateTime;
8399
+ by: z.ZodEnum<{
8400
+ operator: "operator";
8401
+ lead: "lead";
8402
+ host: "host";
8403
+ controller: "controller";
8404
+ }>;
8405
+ reason: z.ZodString;
8406
+ successor: z.ZodOptional<z.ZodString>;
8407
+ carry: z.ZodOptional<z.ZodBoolean>;
8408
+ }, z.core.$strict>>;
8409
+ }, z.core.$strict>>;
8410
+ stale: z.ZodOptional<z.ZodObject<{
8411
+ targetDigest: z.ZodString;
8412
+ reason: z.ZodEnum<{
8413
+ context: "context";
8414
+ graph: "graph";
8415
+ order: "order";
8416
+ policy: "policy";
8417
+ }>;
8418
+ at: z.ZodISODateTime;
8419
+ }, z.core.$strict>>;
8420
+ normalized: z.ZodOptional<z.ZodArray<z.ZodString>>;
8421
+ version: z.ZodNumber;
8422
+ }, z.core.$strict>;
8423
+ readonly 'input-answer': z.ZodObject<{
8424
+ request: z.ZodObject<{
8425
+ id: z.ZodString;
8426
+ kind: z.ZodEnum<{
8427
+ question: "question";
8428
+ "follow-up": "follow-up";
8429
+ }>;
8430
+ blocking: z.ZodBoolean;
8431
+ workId: z.ZodString;
8432
+ graphId: z.ZodString;
8433
+ runId: z.ZodString;
8434
+ attempt: z.ZodNumber;
8435
+ callId: z.ZodNullable<z.ZodString>;
8436
+ question: z.ZodObject<{
8437
+ question: z.ZodString;
8438
+ options: z.ZodArray<z.ZodObject<{
8439
+ id: z.ZodString;
8440
+ label: z.ZodString;
8441
+ consequence: z.ZodNullable<z.ZodString>;
8442
+ }, z.core.$strict>>;
8443
+ recommended: z.ZodNullable<z.ZodString>;
8444
+ severity: z.ZodNumber;
8445
+ rationale: z.ZodString;
8446
+ affects: z.ZodArray<z.ZodEnum<{
8447
+ acceptance: "acceptance";
8448
+ contract: "contract";
8449
+ product: "product";
8450
+ api: "api";
8451
+ migration: "migration";
8452
+ }>>;
8453
+ }, z.core.$strict>;
8454
+ effectiveSeverity: z.ZodNumber;
8455
+ floors: z.ZodArray<z.ZodEnum<{
8456
+ declared: "declared";
8457
+ "critical-path": "critical-path";
8458
+ }>>;
8459
+ criticalHits: z.ZodArray<z.ZodString>;
8460
+ draft: z.ZodNullable<z.ZodObject<{
8461
+ digest: z.ZodString;
8462
+ files: z.ZodArray<z.ZodString>;
8463
+ }, z.core.$strict>>;
8464
+ createdAt: z.ZodISODateTime;
8465
+ originBasis: z.ZodObject<{
8466
+ source: z.ZodObject<{
8467
+ connector: z.ZodString;
8468
+ ref: z.ZodString;
8469
+ revision: z.ZodString;
8470
+ }, z.core.$strict>;
8471
+ graphId: z.ZodString;
8472
+ graphDigest: z.ZodString;
8473
+ orderDigest: z.ZodString;
8474
+ policyDigest: z.ZodString;
8475
+ contextDigest: z.ZodNullable<z.ZodString>;
8476
+ baseSha: z.ZodNullable<z.ZodString>;
8477
+ inputPolicy: z.ZodObject<{
8478
+ threshold: z.ZodDefault<z.ZodNumber>;
8479
+ criticalPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
8480
+ }, z.core.$strict>;
8481
+ contentDigest: z.ZodOptional<z.ZodString>;
8482
+ }, z.core.$strict>;
8483
+ lifecycle: z.ZodEnum<{
8484
+ pending: "pending";
8485
+ answered: "answered";
8486
+ applied: "applied";
8487
+ cancelled: "cancelled";
8488
+ superseded: "superseded";
8489
+ }>;
8490
+ answers: z.ZodArray<z.ZodObject<{
8491
+ revision: z.ZodNumber;
8492
+ text: z.ZodString;
8493
+ optionId: z.ZodNullable<z.ZodString>;
8494
+ kind: z.ZodEnum<{
8495
+ clarification: "clarification";
8496
+ "requirement-change": "requirement-change";
8497
+ }>;
8498
+ actor: z.ZodObject<{
8499
+ kind: z.ZodEnum<{
8500
+ operator: "operator";
8501
+ lead: "lead";
8502
+ host: "host";
8503
+ }>;
8504
+ id: z.ZodOptional<z.ZodString>;
8505
+ }, z.core.$strict>;
8506
+ messageRef: z.ZodOptional<z.ZodString>;
8507
+ digest: z.ZodString;
8508
+ at: z.ZodISODateTime;
8509
+ }, z.core.$strict>>;
8510
+ target: z.ZodOptional<z.ZodObject<{
8511
+ originDigest: z.ZodString;
8512
+ answerDigest: z.ZodString;
8513
+ graphDigest: z.ZodString;
8514
+ orderDigest: z.ZodString;
8515
+ contentDigest: z.ZodOptional<z.ZodString>;
8516
+ policyDigest: z.ZodString;
8517
+ contextDigest: z.ZodNullable<z.ZodString>;
8518
+ review: z.ZodNullable<z.ZodObject<{
8519
+ round: z.ZodNumber;
8520
+ approved: z.ZodBoolean;
8521
+ reviewerBinding: z.ZodNullable<z.ZodString>;
8522
+ }, z.core.$strict>>;
8523
+ actor: z.ZodEnum<{
8524
+ operator: "operator";
8525
+ agent: "agent";
8526
+ }>;
8527
+ digest: z.ZodString;
8528
+ }, z.core.$strict>>;
8529
+ delivered: z.ZodOptional<z.ZodObject<{
8530
+ runId: z.ZodString;
8531
+ callId: z.ZodString;
8532
+ at: z.ZodISODateTime;
8533
+ }, z.core.$strict>>;
8534
+ closed: z.ZodOptional<z.ZodObject<{
8535
+ at: z.ZodISODateTime;
8536
+ by: z.ZodEnum<{
8537
+ operator: "operator";
8538
+ lead: "lead";
8539
+ host: "host";
8540
+ controller: "controller";
8541
+ }>;
8542
+ reason: z.ZodString;
8543
+ successor: z.ZodOptional<z.ZodString>;
8544
+ carry: z.ZodOptional<z.ZodBoolean>;
8545
+ previous: z.ZodOptional<z.ZodObject<{
8546
+ at: z.ZodISODateTime;
8547
+ by: z.ZodEnum<{
8548
+ operator: "operator";
8549
+ lead: "lead";
8550
+ host: "host";
8551
+ controller: "controller";
8552
+ }>;
8553
+ reason: z.ZodString;
8554
+ successor: z.ZodOptional<z.ZodString>;
8555
+ carry: z.ZodOptional<z.ZodBoolean>;
8556
+ }, z.core.$strict>>;
8557
+ }, z.core.$strict>>;
8558
+ stale: z.ZodOptional<z.ZodObject<{
8559
+ targetDigest: z.ZodString;
8560
+ reason: z.ZodEnum<{
8561
+ context: "context";
8562
+ graph: "graph";
8563
+ order: "order";
8564
+ policy: "policy";
8565
+ }>;
8566
+ at: z.ZodISODateTime;
8567
+ }, z.core.$strict>>;
8568
+ normalized: z.ZodOptional<z.ZodArray<z.ZodString>>;
8569
+ version: z.ZodNumber;
8570
+ }, z.core.$strict>;
8571
+ answer: z.ZodObject<{
8572
+ revision: z.ZodNumber;
8573
+ text: z.ZodString;
8574
+ optionId: z.ZodNullable<z.ZodString>;
8575
+ kind: z.ZodEnum<{
8576
+ clarification: "clarification";
8577
+ "requirement-change": "requirement-change";
8578
+ }>;
8579
+ actor: z.ZodObject<{
8580
+ kind: z.ZodEnum<{
8581
+ operator: "operator";
8582
+ lead: "lead";
8583
+ host: "host";
8584
+ }>;
8585
+ id: z.ZodOptional<z.ZodString>;
8586
+ }, z.core.$strict>;
8587
+ messageRef: z.ZodOptional<z.ZodString>;
8588
+ digest: z.ZodString;
8589
+ at: z.ZodISODateTime;
8590
+ }, z.core.$strict>;
8591
+ changed: z.ZodBoolean;
8592
+ }, z.core.$strict>;
8593
+ readonly 'input-context': z.ZodObject<{
8594
+ requestId: z.ZodString;
8595
+ answerDigest: z.ZodString;
8596
+ digest: z.ZodString;
8597
+ out: z.ZodString;
8598
+ }, z.core.$strict>;
8599
+ readonly 'input-target': z.ZodObject<{
8600
+ requestId: z.ZodString;
8601
+ target: z.ZodOptional<z.ZodObject<{
8602
+ originDigest: z.ZodString;
8603
+ answerDigest: z.ZodString;
8604
+ graphDigest: z.ZodString;
8605
+ orderDigest: z.ZodString;
8606
+ contentDigest: z.ZodOptional<z.ZodString>;
8607
+ policyDigest: z.ZodString;
8608
+ contextDigest: z.ZodNullable<z.ZodString>;
8609
+ review: z.ZodNullable<z.ZodObject<{
8610
+ round: z.ZodNumber;
8611
+ approved: z.ZodBoolean;
8612
+ reviewerBinding: z.ZodNullable<z.ZodString>;
8613
+ }, z.core.$strict>>;
8614
+ actor: z.ZodEnum<{
8615
+ operator: "operator";
8616
+ agent: "agent";
8617
+ }>;
8618
+ digest: z.ZodString;
8619
+ }, z.core.$strict>>;
8620
+ problems: z.ZodArray<z.ZodString>;
8621
+ }, z.core.$strict>;
8622
+ readonly 'input-apply': z.ZodObject<{
8623
+ requestId: z.ZodString;
8624
+ applied: z.ZodBoolean;
8625
+ changed: z.ZodBoolean;
8626
+ lifecycle: z.ZodEnum<{
8627
+ pending: "pending";
8628
+ answered: "answered";
8629
+ applied: "applied";
8630
+ cancelled: "cancelled";
8631
+ superseded: "superseded";
8632
+ }>;
8633
+ work: z.ZodOptional<z.ZodObject<{
8634
+ id: z.ZodString;
8635
+ status: z.ZodEnum<{
8636
+ cancelled: "cancelled";
8637
+ draft: "draft";
8638
+ ready: "ready";
8639
+ failed: "failed";
8640
+ running: "running";
8641
+ verifying: "verifying";
8642
+ reviewing: "reviewing";
8643
+ integrating: "integrating";
8644
+ done: "done";
8645
+ }>;
8646
+ attempt: z.ZodNumber;
8647
+ }, z.core.$strict>>;
8648
+ active: z.ZodOptional<z.ZodArray<z.ZodObject<{
8649
+ id: z.ZodString;
8650
+ workId: z.ZodString;
8651
+ }, z.core.$strict>>>;
8652
+ joint: z.ZodOptional<z.ZodLiteral<true>>;
8653
+ blocker: z.ZodOptional<z.ZodObject<{
8654
+ code: z.ZodEnum<{
8655
+ INVALID_INPUT: "INVALID_INPUT";
8656
+ UNSUPPORTED_COMMAND: "UNSUPPORTED_COMMAND";
8657
+ UNSUPPORTED_VERSION: "UNSUPPORTED_VERSION";
8658
+ GRAPH_CYCLE: "GRAPH_CYCLE";
8659
+ GRAPH_UNKNOWN_DEPENDENCY: "GRAPH_UNKNOWN_DEPENDENCY";
8660
+ GRAPH_DUPLICATE_ID: "GRAPH_DUPLICATE_ID";
8661
+ GATE_UNKNOWN: "GATE_UNKNOWN";
8662
+ GATE_GROUP_CYCLE: "GATE_GROUP_CYCLE";
8663
+ REVIEWER_SAME_VENDOR: "REVIEWER_SAME_VENDOR";
8664
+ REVIEWER_MISSING: "REVIEWER_MISSING";
8665
+ RESPONSE_TOO_LARGE: "RESPONSE_TOO_LARGE";
8666
+ APPROVAL_STALE: "APPROVAL_STALE";
8667
+ APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
8668
+ LEASE_STALE: "LEASE_STALE";
8669
+ CONTROLLER_BUSY: "CONTROLLER_BUSY";
8670
+ PAUSED: "PAUSED";
8671
+ NOT_READY: "NOT_READY";
8672
+ SCOPE_VIOLATION: "SCOPE_VIOLATION";
8673
+ GATE_FAILED: "GATE_FAILED";
8674
+ REVIEW_REJECTED: "REVIEW_REJECTED";
8675
+ BUDGET_EXHAUSTED: "BUDGET_EXHAUSTED";
8676
+ BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
8677
+ ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
8678
+ CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
8679
+ INPUT_REQUIRED: "INPUT_REQUIRED";
8680
+ REVISION_CONFLICT: "REVISION_CONFLICT";
8681
+ CANCELLED: "CANCELLED";
8682
+ NOT_FOUND: "NOT_FOUND";
8683
+ PATH_CONFLICT: "PATH_CONFLICT";
8684
+ STATE_VERSION_UNSUPPORTED: "STATE_VERSION_UNSUPPORTED";
8685
+ RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
8686
+ REVIEW_PROTOCOL_INVALID: "REVIEW_PROTOCOL_INVALID";
8687
+ SANDBOX_UNAVAILABLE: "SANDBOX_UNAVAILABLE";
8688
+ GIT_FAILED: "GIT_FAILED";
8689
+ STORAGE_FAILED: "STORAGE_FAILED";
8690
+ DELIVERY_FAILED: "DELIVERY_FAILED";
8691
+ INTERNAL: "INTERNAL";
8692
+ }>;
8693
+ message: z.ZodString;
8694
+ }, z.core.$strict>>;
8695
+ }, z.core.$strict>;
8696
+ readonly 'input-cancel': z.ZodObject<{
8697
+ requestId: z.ZodString;
8698
+ lifecycle: z.ZodEnum<{
8699
+ pending: "pending";
8700
+ answered: "answered";
8701
+ applied: "applied";
8702
+ cancelled: "cancelled";
8703
+ superseded: "superseded";
8704
+ }>;
8705
+ version: z.ZodNumber;
8706
+ changed: z.ZodBoolean;
8707
+ }, z.core.$strict>;
8708
+ readonly 'input-supersede': z.ZodObject<{
8709
+ requestId: z.ZodString;
8710
+ lifecycle: z.ZodEnum<{
8711
+ pending: "pending";
8712
+ answered: "answered";
8713
+ applied: "applied";
8714
+ cancelled: "cancelled";
8715
+ superseded: "superseded";
8716
+ }>;
8717
+ version: z.ZodNumber;
8718
+ changed: z.ZodBoolean;
8719
+ }, z.core.$strict>;
7396
8720
  readonly version: z.ZodObject<{
7397
8721
  harness: z.ZodString;
7398
8722
  apiVersion: z.ZodLiteral<"devcontour-harness/v1alpha1">;
@@ -7424,6 +8748,7 @@ export declare const cliErrorSchema: z.ZodObject<{
7424
8748
  BUDGET_UNKNOWN: "BUDGET_UNKNOWN";
7425
8749
  ATTEMPTS_EXHAUSTED: "ATTEMPTS_EXHAUSTED";
7426
8750
  CONTEXT_EXHAUSTED: "CONTEXT_EXHAUSTED";
8751
+ INPUT_REQUIRED: "INPUT_REQUIRED";
7427
8752
  REVISION_CONFLICT: "REVISION_CONFLICT";
7428
8753
  CANCELLED: "CANCELLED";
7429
8754
  NOT_FOUND: "NOT_FOUND";