@claudexor/schema 5.0.1 → 5.1.0

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 (229) hide show
  1. package/dist/account-routing-evidence.d.ts +256 -0
  2. package/dist/account-routing-evidence.d.ts.map +1 -1
  3. package/dist/account-routing-evidence.js +27 -2
  4. package/dist/account-routing-evidence.js.map +1 -1
  5. package/dist/agent-capabilities.d.ts +3 -0
  6. package/dist/agent-capabilities.d.ts.map +1 -1
  7. package/dist/agent-capabilities.js +6 -2
  8. package/dist/agent-capabilities.js.map +1 -1
  9. package/dist/attachment.d.ts +103 -6
  10. package/dist/attachment.d.ts.map +1 -1
  11. package/dist/attachment.js +32 -6
  12. package/dist/attachment.js.map +1 -1
  13. package/dist/browser-evidence.d.ts +85 -0
  14. package/dist/browser-evidence.d.ts.map +1 -0
  15. package/dist/browser-evidence.js +72 -0
  16. package/dist/browser-evidence.js.map +1 -0
  17. package/dist/config.d.ts.map +1 -1
  18. package/dist/config.js +1 -1
  19. package/dist/config.js.map +1 -1
  20. package/dist/control-gc.d.ts +30 -0
  21. package/dist/control-gc.d.ts.map +1 -1
  22. package/dist/control-gc.js +28 -1
  23. package/dist/control-gc.js.map +1 -1
  24. package/dist/control-operation-responses.d.ts +438 -36
  25. package/dist/control-operation-responses.d.ts.map +1 -1
  26. package/dist/control-operation-responses.js +11 -2
  27. package/dist/control-operation-responses.js.map +1 -1
  28. package/dist/control-process-scope.d.ts +34 -0
  29. package/dist/control-process-scope.d.ts.map +1 -1
  30. package/dist/control-process-scope.js +13 -0
  31. package/dist/control-process-scope.js.map +1 -1
  32. package/dist/control-run-detail.d.ts +785 -89
  33. package/dist/control-run-detail.d.ts.map +1 -1
  34. package/dist/control-run-event-part.d.ts +3 -3
  35. package/dist/control-run-failure.d.ts +29 -6
  36. package/dist/control-run-failure.d.ts.map +1 -1
  37. package/dist/control-run-failure.js +28 -3
  38. package/dist/control-run-failure.js.map +1 -1
  39. package/dist/control-trust.d.ts +8 -0
  40. package/dist/control-trust.d.ts.map +1 -1
  41. package/dist/control-trust.js +4 -0
  42. package/dist/control-trust.js.map +1 -1
  43. package/dist/control-web-evidence.d.ts +125 -0
  44. package/dist/control-web-evidence.d.ts.map +1 -0
  45. package/dist/control-web-evidence.js +109 -0
  46. package/dist/control-web-evidence.js.map +1 -0
  47. package/dist/control.d.ts +292 -98
  48. package/dist/control.d.ts.map +1 -1
  49. package/dist/control.js +43 -49
  50. package/dist/control.js.map +1 -1
  51. package/dist/credential-profile.d.ts +4 -3
  52. package/dist/credential-profile.d.ts.map +1 -1
  53. package/dist/credential-profile.js +4 -3
  54. package/dist/credential-profile.js.map +1 -1
  55. package/dist/decision.d.ts +9 -9
  56. package/dist/decision.d.ts.map +1 -1
  57. package/dist/decision.js +2 -0
  58. package/dist/decision.js.map +1 -1
  59. package/dist/deferred-message.d.ts +646 -0
  60. package/dist/deferred-message.d.ts.map +1 -1
  61. package/dist/deferred-message.js +16 -2
  62. package/dist/deferred-message.js.map +1 -1
  63. package/dist/events.d.ts +10 -10
  64. package/dist/events.d.ts.map +1 -1
  65. package/dist/events.js +6 -0
  66. package/dist/events.js.map +1 -1
  67. package/dist/harness-confinement.js +1 -1
  68. package/dist/harness-confinement.js.map +1 -1
  69. package/dist/harness-input.d.ts +12 -0
  70. package/dist/harness-input.d.ts.map +1 -1
  71. package/dist/harness-input.js +11 -1
  72. package/dist/harness-input.js.map +1 -1
  73. package/dist/harness-interaction.d.ts +20 -0
  74. package/dist/harness-interaction.d.ts.map +1 -1
  75. package/dist/harness-interaction.js +36 -0
  76. package/dist/harness-interaction.js.map +1 -1
  77. package/dist/harness.d.ts +95 -19
  78. package/dist/harness.d.ts.map +1 -1
  79. package/dist/harness.js +16 -15
  80. package/dist/harness.js.map +1 -1
  81. package/dist/index.d.ts +5 -0
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/index.js +5 -0
  84. package/dist/index.js.map +1 -1
  85. package/dist/mcp-run-result.d.ts +363 -50
  86. package/dist/mcp-run-result.d.ts.map +1 -1
  87. package/dist/mcp-run-wait.d.ts +133 -7
  88. package/dist/mcp-run-wait.d.ts.map +1 -1
  89. package/dist/operation.d.ts +1 -1
  90. package/dist/operation.d.ts.map +1 -1
  91. package/dist/operation.js +1 -1
  92. package/dist/operation.js.map +1 -1
  93. package/dist/process-scope.d.ts +154 -0
  94. package/dist/process-scope.d.ts.map +1 -1
  95. package/dist/process-scope.js +16 -1
  96. package/dist/process-scope.js.map +1 -1
  97. package/dist/quota.d.ts +14 -0
  98. package/dist/quota.d.ts.map +1 -1
  99. package/dist/quota.js +14 -0
  100. package/dist/quota.js.map +1 -1
  101. package/dist/rate-limit.d.ts +3 -0
  102. package/dist/rate-limit.d.ts.map +1 -1
  103. package/dist/rate-limit.js +4 -0
  104. package/dist/rate-limit.js.map +1 -1
  105. package/dist/raw.d.ts.map +1 -1
  106. package/dist/raw.js +11 -5
  107. package/dist/raw.js.map +1 -1
  108. package/dist/route-controls.d.ts +49 -0
  109. package/dist/route-controls.d.ts.map +1 -0
  110. package/dist/route-controls.js +53 -0
  111. package/dist/route-controls.js.map +1 -0
  112. package/dist/route-health.d.ts +23 -23
  113. package/dist/route-health.js +1 -1
  114. package/dist/route-health.js.map +1 -1
  115. package/dist/run-continuation.d.ts +6 -6
  116. package/dist/run-continuity.d.ts +7 -7
  117. package/dist/run-continuity.d.ts.map +1 -1
  118. package/dist/run-continuity.js +2 -1
  119. package/dist/run-continuity.js.map +1 -1
  120. package/dist/run-facts.d.ts +5 -5
  121. package/dist/run-facts.js +1 -1
  122. package/dist/run-facts.js.map +1 -1
  123. package/dist/status-projection.d.ts +3 -2
  124. package/dist/status-projection.d.ts.map +1 -1
  125. package/dist/status-projection.js +5 -2
  126. package/dist/status-projection.js.map +1 -1
  127. package/dist/task-group.d.ts +3 -0
  128. package/dist/task-group.d.ts.map +1 -1
  129. package/dist/task-group.js +11 -1
  130. package/dist/task-group.js.map +1 -1
  131. package/dist/task.d.ts +2 -2
  132. package/dist/task.d.ts.map +1 -1
  133. package/dist/task.js +4 -4
  134. package/dist/task.js.map +1 -1
  135. package/dist/telemetry.d.ts +602 -117
  136. package/dist/telemetry.d.ts.map +1 -1
  137. package/dist/telemetry.js +17 -88
  138. package/dist/telemetry.js.map +1 -1
  139. package/dist/thread-export.d.ts +847 -0
  140. package/dist/thread-export.d.ts.map +1 -0
  141. package/dist/thread-export.js +238 -0
  142. package/dist/thread-export.js.map +1 -0
  143. package/dist/thread-history.d.ts +248 -132
  144. package/dist/thread-history.d.ts.map +1 -1
  145. package/dist/thread.d.ts +72 -6
  146. package/dist/thread.d.ts.map +1 -1
  147. package/dist/thread.js +19 -3
  148. package/dist/thread.js.map +1 -1
  149. package/dist/tool-ref.d.ts +172 -21
  150. package/dist/tool-ref.d.ts.map +1 -1
  151. package/dist/tool-ref.js +114 -29
  152. package/dist/tool-ref.js.map +1 -1
  153. package/dist/web-evidence.d.ts +91 -0
  154. package/dist/web-evidence.d.ts.map +1 -0
  155. package/dist/web-evidence.js +77 -0
  156. package/dist/web-evidence.js.map +1 -0
  157. package/dist/workspace-preparation.d.ts +54 -0
  158. package/dist/workspace-preparation.d.ts.map +1 -0
  159. package/dist/workspace-preparation.js +59 -0
  160. package/dist/workspace-preparation.js.map +1 -0
  161. package/dist/workspace.js +1 -1
  162. package/dist/workspace.js.map +1 -1
  163. package/generated/AgentCapabilityCatalog.schema.json +20 -2
  164. package/generated/ControlAccountRoutingEvidenceResponse.schema.json +61 -1
  165. package/generated/ControlCredentialProfilesQueryResponse.schema.json +2 -2
  166. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +2 -2
  167. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +2 -2
  168. package/generated/ControlGcLastResponse.schema.json +22 -0
  169. package/generated/ControlGcReceipt.schema.json +13 -1
  170. package/generated/ControlHarnessListResponse.schema.json +2 -2
  171. package/generated/ControlQueuedRunInfo.schema.json +1 -1
  172. package/generated/ControlResource.schema.json +5 -0
  173. package/generated/ControlResourceRelease.schema.json +44 -0
  174. package/generated/ControlResourceReleaseRequest.schema.json +27 -0
  175. package/generated/ControlRetainedEnvelope.schema.json +2 -1
  176. package/generated/ControlRouteHealth.schema.json +13 -1
  177. package/generated/ControlRunControlResponse.schema.json +41 -3
  178. package/generated/ControlRunDecisionRequest.schema.json +8 -2
  179. package/generated/ControlRunDecisionResponse.schema.json +4 -3
  180. package/generated/ControlRunDetail.schema.json +337 -10
  181. package/generated/ControlRunEventPart.schema.json +1 -0
  182. package/generated/ControlRunListResponse.schema.json +296 -7
  183. package/generated/ControlRunRetryResponse.schema.json +1 -1
  184. package/generated/ControlRunStartInfo.schema.json +1 -1
  185. package/generated/ControlRunStartResponse.schema.json +2 -2
  186. package/generated/ControlRunSummary.schema.json +296 -7
  187. package/generated/ControlThreadDetail.schema.json +1 -0
  188. package/generated/ControlThreadTurnResponse.schema.json +9 -0
  189. package/generated/ControlTrustListResponse.schema.json +8 -0
  190. package/generated/ControlTrustState.schema.json +8 -0
  191. package/generated/ControlUploadImport.schema.json +12 -2
  192. package/generated/ControlUploadImportRequest.schema.json +5 -0
  193. package/generated/DecisionRecord.schema.json +1 -0
  194. package/generated/DeferredMessageDetail.schema.json +43 -7
  195. package/generated/DeferredMessageProjection.schema.json +41 -3
  196. package/generated/DeferredMessageReadResult.schema.json +42 -4
  197. package/generated/DeferredMessageReceipt.schema.json +41 -3
  198. package/generated/EnvelopeCustody.schema.json +3 -2
  199. package/generated/GlobalConfig.schema.json +1 -1
  200. package/generated/HarnessEvent.schema.json +140 -4
  201. package/generated/HarnessManifest.schema.json +2 -2
  202. package/generated/HarnessStatusDto.schema.json +2 -2
  203. package/generated/McpAccountsToolResult.schema.json +62 -2
  204. package/generated/McpRunHandleResult.schema.json +90 -6
  205. package/generated/McpRunToolResult.schema.json +89 -6
  206. package/generated/McpRunWaitResult.schema.json +42 -3
  207. package/generated/McpThreadTurnResult.schema.json +9 -0
  208. package/generated/RawContextPacket.schema.json +6 -4
  209. package/generated/RawGitPatchEnvelope.schema.json +1 -1
  210. package/generated/RoutePoolDegradedPayload.schema.json +2 -1
  211. package/generated/RunContinuityReceipt.schema.json +2 -1
  212. package/generated/RunEvent.schema.json +1 -0
  213. package/generated/RunFacts.schema.json +1 -0
  214. package/generated/RunFailure.schema.json +46 -2
  215. package/generated/RunResumable.schema.json +2 -1
  216. package/generated/RunTelemetry.schema.json +288 -7
  217. package/generated/TaskContract.schema.json +3 -3
  218. package/generated/TaskGroupReceipt.schema.json +1 -1
  219. package/generated/Thread.schema.json +41 -0
  220. package/generated/ThreadExportManifest.schema.json +461 -0
  221. package/generated/ThreadExportReceipt.schema.json +94 -0
  222. package/generated/ThreadHistoryPage.schema.json +47 -2
  223. package/generated/ThreadRetireAbandonRequest.schema.json +21 -0
  224. package/generated/ThreadRetireRequest.schema.json +41 -0
  225. package/generated/ThreadRetirement.schema.json +175 -0
  226. package/generated/ThreadTurn.schema.json +1 -1
  227. package/generated/WorkspaceEnvelope.schema.json +1 -1
  228. package/generated/WorkspacePreparedPayload.schema.json +67 -0
  229. package/package.json +2 -2
@@ -13,17 +13,17 @@ export declare const ROUTE_HEALTH_MESSAGE_MAX_CHARS = 160;
13
13
  export declare const ROUTE_HEALTH_TOP_FAILURES = 3;
14
14
  export declare const ControlRouteHealthFailure: z.ZodObject<{
15
15
  category: z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>;
16
- code: z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "vendor_cli_too_old", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>;
16
+ code: z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "model_selection_required", "raw_patch_requires_isolation", "raw_patch_missing_evidence", "raw_patch_digest_mismatch", "raw_patch_base_mismatch", "raw_patch_path_traversal", "raw_patch_outside_scope", "raw_patch_stale_preimage", "raw_patch_binary_unsupported", "raw_patch_truncated", "raw_patch_apply_failed", "vendor_cli_too_old", "credential_source_unconfirmed", "vendor_not_retryable", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>;
17
17
  message: z.ZodString;
18
18
  count: z.ZodNumber;
19
19
  }, "strict", z.ZodTypeAny, {
20
20
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
21
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
21
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
22
22
  message: string;
23
23
  count: number;
24
24
  }, {
25
25
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
26
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
26
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
27
27
  message: string;
28
28
  count: number;
29
29
  }>;
@@ -38,17 +38,17 @@ export declare const ControlRouteHealthRoute: z.ZodEffects<z.ZodEffects<z.ZodObj
38
38
  other: z.ZodNumber;
39
39
  topFailures: z.ZodArray<z.ZodObject<{
40
40
  category: z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>;
41
- code: z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "vendor_cli_too_old", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>;
41
+ code: z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "model_selection_required", "raw_patch_requires_isolation", "raw_patch_missing_evidence", "raw_patch_digest_mismatch", "raw_patch_base_mismatch", "raw_patch_path_traversal", "raw_patch_outside_scope", "raw_patch_stale_preimage", "raw_patch_binary_unsupported", "raw_patch_truncated", "raw_patch_apply_failed", "vendor_cli_too_old", "credential_source_unconfirmed", "vendor_not_retryable", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>;
42
42
  message: z.ZodString;
43
43
  count: z.ZodNumber;
44
44
  }, "strict", z.ZodTypeAny, {
45
45
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
46
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
46
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
47
47
  message: string;
48
48
  count: number;
49
49
  }, {
50
50
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
51
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
51
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
52
52
  message: string;
53
53
  count: number;
54
54
  }>, "many">;
@@ -62,7 +62,7 @@ export declare const ControlRouteHealthRoute: z.ZodEffects<z.ZodEffects<z.ZodObj
62
62
  other: number;
63
63
  topFailures: {
64
64
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
65
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
65
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
66
66
  message: string;
67
67
  count: number;
68
68
  }[];
@@ -76,7 +76,7 @@ export declare const ControlRouteHealthRoute: z.ZodEffects<z.ZodEffects<z.ZodObj
76
76
  other: number;
77
77
  topFailures: {
78
78
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
79
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
79
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
80
80
  message: string;
81
81
  count: number;
82
82
  }[];
@@ -90,7 +90,7 @@ export declare const ControlRouteHealthRoute: z.ZodEffects<z.ZodEffects<z.ZodObj
90
90
  other: number;
91
91
  topFailures: {
92
92
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
93
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
93
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
94
94
  message: string;
95
95
  count: number;
96
96
  }[];
@@ -104,7 +104,7 @@ export declare const ControlRouteHealthRoute: z.ZodEffects<z.ZodEffects<z.ZodObj
104
104
  other: number;
105
105
  topFailures: {
106
106
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
107
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
107
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
108
108
  message: string;
109
109
  count: number;
110
110
  }[];
@@ -118,7 +118,7 @@ export declare const ControlRouteHealthRoute: z.ZodEffects<z.ZodEffects<z.ZodObj
118
118
  other: number;
119
119
  topFailures: {
120
120
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
121
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
121
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
122
122
  message: string;
123
123
  count: number;
124
124
  }[];
@@ -132,7 +132,7 @@ export declare const ControlRouteHealthRoute: z.ZodEffects<z.ZodEffects<z.ZodObj
132
132
  other: number;
133
133
  topFailures: {
134
134
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
135
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
135
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
136
136
  message: string;
137
137
  count: number;
138
138
  }[];
@@ -155,17 +155,17 @@ export declare const ControlRouteHealth: z.ZodObject<{
155
155
  other: z.ZodNumber;
156
156
  topFailures: z.ZodArray<z.ZodObject<{
157
157
  category: z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>;
158
- code: z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "vendor_cli_too_old", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>;
158
+ code: z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "raw_context_mandatory_unavailable", "raw_context_exceeds_window", "model_catalog_unavailable", "model_selection_required", "raw_patch_requires_isolation", "raw_patch_missing_evidence", "raw_patch_digest_mismatch", "raw_patch_base_mismatch", "raw_patch_path_traversal", "raw_patch_outside_scope", "raw_patch_stale_preimage", "raw_patch_binary_unsupported", "raw_patch_truncated", "raw_patch_apply_failed", "vendor_cli_too_old", "credential_source_unconfirmed", "vendor_not_retryable", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>;
159
159
  message: z.ZodString;
160
160
  count: z.ZodNumber;
161
161
  }, "strict", z.ZodTypeAny, {
162
162
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
163
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
163
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
164
164
  message: string;
165
165
  count: number;
166
166
  }, {
167
167
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
168
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
168
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
169
169
  message: string;
170
170
  count: number;
171
171
  }>, "many">;
@@ -179,7 +179,7 @@ export declare const ControlRouteHealth: z.ZodObject<{
179
179
  other: number;
180
180
  topFailures: {
181
181
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
182
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
182
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
183
183
  message: string;
184
184
  count: number;
185
185
  }[];
@@ -193,7 +193,7 @@ export declare const ControlRouteHealth: z.ZodObject<{
193
193
  other: number;
194
194
  topFailures: {
195
195
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
196
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
196
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
197
197
  message: string;
198
198
  count: number;
199
199
  }[];
@@ -207,7 +207,7 @@ export declare const ControlRouteHealth: z.ZodObject<{
207
207
  other: number;
208
208
  topFailures: {
209
209
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
210
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
210
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
211
211
  message: string;
212
212
  count: number;
213
213
  }[];
@@ -221,7 +221,7 @@ export declare const ControlRouteHealth: z.ZodObject<{
221
221
  other: number;
222
222
  topFailures: {
223
223
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
224
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
224
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
225
225
  message: string;
226
226
  count: number;
227
227
  }[];
@@ -235,7 +235,7 @@ export declare const ControlRouteHealth: z.ZodObject<{
235
235
  other: number;
236
236
  topFailures: {
237
237
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
238
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
238
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
239
239
  message: string;
240
240
  count: number;
241
241
  }[];
@@ -249,7 +249,7 @@ export declare const ControlRouteHealth: z.ZodObject<{
249
249
  other: number;
250
250
  topFailures: {
251
251
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
252
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
252
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
253
253
  message: string;
254
254
  count: number;
255
255
  }[];
@@ -271,7 +271,7 @@ export declare const ControlRouteHealth: z.ZodObject<{
271
271
  other: number;
272
272
  topFailures: {
273
273
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
274
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
274
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
275
275
  message: string;
276
276
  count: number;
277
277
  }[];
@@ -293,7 +293,7 @@ export declare const ControlRouteHealth: z.ZodObject<{
293
293
  other: number;
294
294
  topFailures: {
295
295
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
296
- code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
296
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "model_catalog_unavailable" | "model_selection_required" | "raw_context_exceeds_window" | "raw_context_mandatory_unavailable" | "raw_patch_apply_failed" | "raw_patch_base_mismatch" | "raw_patch_binary_unsupported" | "raw_patch_digest_mismatch" | "raw_patch_missing_evidence" | "raw_patch_outside_scope" | "raw_patch_path_traversal" | "raw_patch_requires_isolation" | "raw_patch_stale_preimage" | "raw_patch_truncated" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | "vendor_not_retryable" | null;
297
297
  message: string;
298
298
  count: number;
299
299
  }[];
@@ -34,7 +34,7 @@ export const ControlRouteHealthRoute = z
34
34
  .describe("Harness of the route: the run's settled route harness, else its failure's harness, else its primary harness, else unknown."),
35
35
  access: z
36
36
  .enum([...AccessProfile.options, "unknown"])
37
- .describe("Effective access profile the engine enforced; unknown when the run recorded none. The retired external_sandbox_full counts as full."),
37
+ .describe("Effective access profile the engine passed to the route; unknown when the run recorded none. The retired external_sandbox_full counts as full."),
38
38
  runs: count.describe("Terminal product runs of the route created inside the window; always succeeded + failed + cancelled + other."),
39
39
  succeeded: count.describe("Runs whose lifecycle ended succeeded."),
40
40
  failed: count.describe("Runs whose lifecycle ended failed."),
@@ -1 +1 @@
1
- {"version":3,"file":"route-health.js","sourceRoot":"","sources":["../src/route-health.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE9E;;;;;GAKG;AAEH,sFAAsF;AACtF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAU,CAAC;AACnD,0EAA0E;AAC1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAC;AAClD,6CAA6C;AAC7C,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAE3C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC;AAE7C,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACvC,MAAM,CA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ACxH;IACD,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAC,0DAA0D,CAAC;IAC9F,WAAW,EAAE,KAAK,CAAC,QAAQ,CACzB,8EAA8E,CAC/E;IACD,QAAQ,EAAE,CAAC;SACR,OAAO,EAAE;SACT,QAAQ,CACP,uMAAuM,CACxM;IACH,gBAAgB,EAAE,CAAC;SAChB,IAAI,CAAC,CAAC,YAAY,CAAC,CAAC;SACpB,QAAQ,EAAE;SACV,QAAQ,CACP,kLAAkL,CACnL;IACH,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CACP,oFAAoF,CACrF;CACJ,CAAC;KACD,MAAM,EAAE;KACR,QAAQ,CACP,sIAAsI,CACvI,CAAC"}
@@ -73,7 +73,7 @@ export declare const EnvelopeCustody: z.ZodObject<{
73
73
  dirty_policy?: "refuse" | "snapshot" | undefined;
74
74
  created_at: string;
75
75
  }>;
76
- cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
76
+ cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
77
77
  retained_at: z.ZodNullable<z.ZodString>;
78
78
  bytes: z.ZodNullable<z.ZodNumber>;
79
79
  }, "strict", z.ZodTypeAny, {
@@ -99,7 +99,7 @@ export declare const EnvelopeCustody: z.ZodObject<{
99
99
  dirty_policy: "refuse" | "snapshot";
100
100
  created_at: string;
101
101
  };
102
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
102
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
103
103
  retained_at: string | null;
104
104
  bytes: number | null;
105
105
  }, {
@@ -125,7 +125,7 @@ export declare const EnvelopeCustody: z.ZodObject<{
125
125
  dirty_policy?: "refuse" | "snapshot" | undefined;
126
126
  created_at: string;
127
127
  };
128
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
128
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
129
129
  retained_at: string | null;
130
130
  bytes: number | null;
131
131
  }>;
@@ -135,17 +135,17 @@ export declare const ControlRetainedEnvelope: z.ZodObject<{
135
135
  root: z.ZodString;
136
136
  bytes: z.ZodNullable<z.ZodNumber>;
137
137
  retainedAt: z.ZodString;
138
- cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
138
+ cause: z.ZodNullable<z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>>;
139
139
  }, "strict", z.ZodTypeAny, {
140
140
  root: string;
141
141
  bytes: number | null;
142
142
  retainedAt: string;
143
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
143
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
144
144
  }, {
145
145
  root: string;
146
146
  bytes: number | null;
147
147
  retainedAt: string;
148
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock" | null;
148
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock" | null;
149
149
  }>;
150
150
  export type ControlRetainedEnvelope = z.infer<typeof ControlRetainedEnvelope>;
151
151
  /** Daemon-resolved predecessor references, newest first, persisted before run announcement. */
@@ -12,7 +12,7 @@ import { z } from "zod/v3";
12
12
  * record of the native vendor session and the concrete file that holds it.
13
13
  */
14
14
  /** Why the previous process stopped. Typed terminal facts only (INV-049). */
15
- export declare const ResumableCause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
15
+ export declare const ResumableCause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
16
16
  export type ResumableCause = z.infer<typeof ResumableCause>;
17
17
  /** How done work reaches the next vendor process. */
18
18
  export declare const ContinuityCarrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
@@ -71,7 +71,7 @@ export type SessionCapsule = z.infer<typeof SessionCapsule>;
71
71
  * lifecycle word alone. `resetsAt` comes only from a vendor window signal.
72
72
  */
73
73
  export declare const RunResumable: z.ZodObject<{
74
- cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
74
+ cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
75
75
  resetsAt: z.ZodNullable<z.ZodString>;
76
76
  limitWindow: z.ZodNullable<z.ZodString>;
77
77
  limitEvidence: z.ZodNullable<z.ZodEnum<["window", "unspecified"]>>;
@@ -101,7 +101,7 @@ export declare const RunResumable: z.ZodObject<{
101
101
  root: string | null;
102
102
  }>;
103
103
  }, "strict", z.ZodTypeAny, {
104
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
104
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
105
105
  resetsAt: string | null;
106
106
  limitWindow: string | null;
107
107
  limitEvidence: "unspecified" | "window" | null;
@@ -117,7 +117,7 @@ export declare const RunResumable: z.ZodObject<{
117
117
  root: string | null;
118
118
  };
119
119
  }, {
120
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
120
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
121
121
  resetsAt: string | null;
122
122
  limitWindow: string | null;
123
123
  limitEvidence: "unspecified" | "window" | null;
@@ -139,7 +139,7 @@ export declare const RunContinuityReceipt: z.ZodObject<{
139
139
  tryIndex: z.ZodNumber;
140
140
  attemptId: z.ZodString;
141
141
  carrier: z.ZodEnum<["native", "native_moved", "packet", "fresh"]>;
142
- cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
142
+ cause: z.ZodEnum<["vendor_limit", "pool_exhausted", "pinned_limit", "transport", "permission_denied", "context_exhausted", "turn_limit", "wall_clock", "cancelled", "host_restart", "input_required", "other"]>;
143
143
  from: z.ZodObject<{
144
144
  runId: z.ZodString;
145
145
  attemptId: z.ZodString;
@@ -173,7 +173,7 @@ export declare const RunContinuityReceipt: z.ZodObject<{
173
173
  tryIndex: number;
174
174
  attemptId: string;
175
175
  carrier: "fresh" | "native" | "native_moved" | "packet";
176
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
176
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
177
177
  from: {
178
178
  runId: string;
179
179
  attemptId: string;
@@ -195,7 +195,7 @@ export declare const RunContinuityReceipt: z.ZodObject<{
195
195
  tryIndex: number;
196
196
  attemptId: string;
197
197
  carrier: "fresh" | "native" | "native_moved" | "packet";
198
- cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "vendor_limit" | "wall_clock";
198
+ cause: "cancelled" | "context_exhausted" | "host_restart" | "input_required" | "other" | "permission_denied" | "pinned_limit" | "pool_exhausted" | "transport" | "turn_limit" | "vendor_limit" | "wall_clock";
199
199
  from: {
200
200
  runId: string;
201
201
  attemptId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"run-continuity.d.ts","sourceRoot":"","sources":["../src/run-continuity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B;;;;;;;;;;;GAWG;AAEH,6EAA6E;AAC7E,eAAO,MAAM,cAAc,4LAgBxB,CAAC;AACJ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,qDAAqD;AACrD,eAAO,MAAM,iBAAiB,0DAI3B,CAAC;AACJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,8EAA8E;AAC9E,eAAO,MAAM,gBAAgB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDgE,CAAC;AAClG,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -21,13 +21,14 @@ export const ResumableCause = z
21
21
  "transport",
22
22
  "permission_denied",
23
23
  "context_exhausted",
24
+ "turn_limit",
24
25
  "wall_clock",
25
26
  "cancelled",
26
27
  "host_restart",
27
28
  "input_required",
28
29
  "other",
29
30
  ])
30
- .describe("Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport death (crash, timeout, watchdog), a confirmed native tool permission refusal, context exhaustion, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause.");
31
+ .describe("Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, an error without a typed cause (`transport`: a crash, an inactivity timeout or a harness-reported error; not proof that a process died or the network failed), a confirmed native tool permission refusal, context exhaustion, the run's max-turns cap, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause.");
31
32
  /** How done work reaches the next vendor process. */
32
33
  export const ContinuityCarrier = z
33
34
  .enum(["native", "native_moved", "packet", "fresh"])
@@ -1 +1 @@
1
- {"version":3,"file":"run-continuity.js","sourceRoot":"","sources":["../src/run-continuity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC;;;;;;;;;;;GAWG;AAEH,6EAA6E;AAC7E,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC;KAC5B,IAAI,CAAC;IACJ,cAAc;IACd,gBAAgB;IAChB,cAAc;IACd,WAAW;IACX,mBAAmB;IACnB,mBAAmB;IACnB,YAAY;IACZ,WAAW;IACX,cAAc;IACd,gBAAgB;IAChB,OAAO;CACR,CAAC;KACD,Q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AAC,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;SAClC,QAAQ,EAAE;SACV,QAAQ,CACP,4MAA4M,CAC7M;CACJ,CAAC;KACD,MAAM,EAAE;KACR,QAAQ,CAAC,oFAAoF,CAAC,CAAC"}
@@ -215,7 +215,7 @@ export declare const RunFacts: z.ZodObject<{
215
215
  checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
216
216
  review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
217
217
  review_requested: z.ZodOptional<z.ZodBoolean>;
218
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["harness_failed", "no_changes", "review_blocked", "checks_failed", "budget_exhausted", "budget_overshoot", "cost_unverifiable", "not_converged", "stuck_no_progress", "wall_clock_exceeded", "user_cancelled", "host_cancelled", "owner_task_gone", "crash_interrupted", "workspace_unavailable", "capture_refused", "input_required", "work_incomplete", "context_capacity_exhausted", "work_report_contract"]>>>;
218
+ reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["harness_failed", "no_changes", "review_blocked", "checks_failed", "budget_exhausted", "budget_overshoot", "cost_unverifiable", "not_converged", "stuck_no_progress", "wall_clock_exceeded", "user_cancelled", "host_cancelled", "owner_task_gone", "crash_interrupted", "workspace_unavailable", "capture_refused", "input_required", "work_incomplete", "context_capacity_exhausted", "turn_limit_reached", "work_report_contract"]>>>;
219
219
  work_state: z.ZodOptional<z.ZodObject<{
220
220
  state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
221
221
  source: z.ZodEnum<["constrained", "validated", "absent"]>;
@@ -258,7 +258,7 @@ export declare const RunFacts: z.ZodObject<{
258
258
  checks: "failed" | "not_configured" | "passed";
259
259
  review: "approved" | "blocked" | "not_run";
260
260
  review_requested?: boolean | undefined;
261
- reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
261
+ reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
262
262
  work_state?: {
263
263
  state: "completed" | "incomplete" | "needs_input" | "unverified";
264
264
  source: "absent" | "constrained" | "validated";
@@ -275,7 +275,7 @@ export declare const RunFacts: z.ZodObject<{
275
275
  checks?: "failed" | "not_configured" | "passed" | undefined;
276
276
  review?: "approved" | "blocked" | "not_run" | undefined;
277
277
  review_requested?: boolean | undefined;
278
- reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
278
+ reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
279
279
  work_state?: {
280
280
  state: "completed" | "incomplete" | "needs_input" | "unverified";
281
281
  source: "absent" | "constrained" | "validated";
@@ -460,7 +460,7 @@ export declare const RunFacts: z.ZodObject<{
460
460
  checks: "failed" | "not_configured" | "passed";
461
461
  review: "approved" | "blocked" | "not_run";
462
462
  review_requested?: boolean | undefined;
463
- reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
463
+ reason: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
464
464
  work_state?: {
465
465
  state: "completed" | "incomplete" | "needs_input" | "unverified";
466
466
  source: "absent" | "constrained" | "validated";
@@ -533,7 +533,7 @@ export declare const RunFacts: z.ZodObject<{
533
533
  checks?: "failed" | "not_configured" | "passed" | undefined;
534
534
  review?: "approved" | "blocked" | "not_run" | undefined;
535
535
  review_requested?: boolean | undefined;
536
- reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
536
+ reason?: "budget_exhausted" | "budget_overshoot" | "capture_refused" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "host_cancelled" | "input_required" | "no_changes" | "not_converged" | "owner_task_gone" | "review_blocked" | "stuck_no_progress" | "turn_limit_reached" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
537
537
  work_state?: {
538
538
  state: "completed" | "incomplete" | "needs_input" | "unverified";
539
539
  source: "absent" | "constrained" | "validated";
package/dist/run-facts.js CHANGED
@@ -369,7 +369,7 @@ export function validateRunFactsInvariants(value) {
369
369
  "host_cancelled",
370
370
  "owner_task_gone",
371
371
  ]),
372
- interrupted: new Set(["crash_interrupted", "context_capacity_exhausted"]),
372
+ interrupted: new Set(["crash_interrupted", "context_capacity_exhausted", "turn_limit_reached"]),
373
373
  };
374
374
  if (!lifecycleReasons[outcome.lifecycle].has(outcome.reason)) {
375
375
  violations.push(`reason=${outcome.reason ?? "null"} is incompatible with lifecycle=${outcome.lifecycle}`);