@claudexor/schema 5.0.2 → 6.0.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 (281) hide show
  1. package/dist/account-routing-evidence.d.ts +324 -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/attempt-execution.d.ts +23 -0
  14. package/dist/attempt-execution.d.ts.map +1 -1
  15. package/dist/attempt-execution.js +2 -0
  16. package/dist/attempt-execution.js.map +1 -1
  17. package/dist/browser-evidence.d.ts +85 -0
  18. package/dist/browser-evidence.d.ts.map +1 -0
  19. package/dist/browser-evidence.js +72 -0
  20. package/dist/browser-evidence.js.map +1 -0
  21. package/dist/config.d.ts.map +1 -1
  22. package/dist/config.js +1 -1
  23. package/dist/config.js.map +1 -1
  24. package/dist/control-gc.d.ts +30 -0
  25. package/dist/control-gc.d.ts.map +1 -1
  26. package/dist/control-gc.js +28 -1
  27. package/dist/control-gc.js.map +1 -1
  28. package/dist/control-harness-list.d.ts +34 -0
  29. package/dist/control-harness-list.d.ts.map +1 -1
  30. package/dist/control-harness-models.d.ts +122 -0
  31. package/dist/control-harness-models.d.ts.map +1 -1
  32. package/dist/control-harness-models.js +2 -0
  33. package/dist/control-harness-models.js.map +1 -1
  34. package/dist/control-operation-responses.d.ts +459 -36
  35. package/dist/control-operation-responses.d.ts.map +1 -1
  36. package/dist/control-operation-responses.js +11 -2
  37. package/dist/control-operation-responses.js.map +1 -1
  38. package/dist/control-pending-interaction.d.ts +96 -0
  39. package/dist/control-pending-interaction.d.ts.map +1 -0
  40. package/dist/control-pending-interaction.js +42 -0
  41. package/dist/control-pending-interaction.js.map +1 -0
  42. package/dist/control-process-scope.d.ts +34 -0
  43. package/dist/control-process-scope.d.ts.map +1 -1
  44. package/dist/control-process-scope.js +13 -0
  45. package/dist/control-process-scope.js.map +1 -1
  46. package/dist/control-run-detail.d.ts +877 -89
  47. package/dist/control-run-detail.d.ts.map +1 -1
  48. package/dist/control-run-detail.js +2 -1
  49. package/dist/control-run-detail.js.map +1 -1
  50. package/dist/control-run-failure.d.ts +40 -6
  51. package/dist/control-run-failure.d.ts.map +1 -1
  52. package/dist/control-run-failure.js +34 -3
  53. package/dist/control-run-failure.js.map +1 -1
  54. package/dist/control-run-message.js +1 -1
  55. package/dist/control-run-message.js.map +1 -1
  56. package/dist/control-trust.d.ts +8 -0
  57. package/dist/control-trust.d.ts.map +1 -1
  58. package/dist/control-trust.js +4 -0
  59. package/dist/control-trust.js.map +1 -1
  60. package/dist/control-web-evidence.d.ts +125 -0
  61. package/dist/control-web-evidence.d.ts.map +1 -0
  62. package/dist/control-web-evidence.js +109 -0
  63. package/dist/control-web-evidence.js.map +1 -0
  64. package/dist/control.d.ts +322 -179
  65. package/dist/control.d.ts.map +1 -1
  66. package/dist/control.js +52 -75
  67. package/dist/control.js.map +1 -1
  68. package/dist/credential-profile-snapshot.d.ts +136 -0
  69. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  70. package/dist/credential-profile.d.ts +4 -3
  71. package/dist/credential-profile.d.ts.map +1 -1
  72. package/dist/credential-profile.js +4 -3
  73. package/dist/credential-profile.js.map +1 -1
  74. package/dist/decision.d.ts +9 -9
  75. package/dist/decision.d.ts.map +1 -1
  76. package/dist/decision.js +2 -0
  77. package/dist/decision.js.map +1 -1
  78. package/dist/deferred-message.d.ts +646 -0
  79. package/dist/deferred-message.d.ts.map +1 -1
  80. package/dist/deferred-message.js +16 -2
  81. package/dist/deferred-message.js.map +1 -1
  82. package/dist/events.d.ts +6 -6
  83. package/dist/events.d.ts.map +1 -1
  84. package/dist/events.js +1 -0
  85. package/dist/events.js.map +1 -1
  86. package/dist/harness-confinement.js +1 -1
  87. package/dist/harness-confinement.js.map +1 -1
  88. package/dist/harness-input.d.ts +12 -0
  89. package/dist/harness-input.d.ts.map +1 -1
  90. package/dist/harness-input.js +11 -1
  91. package/dist/harness-input.js.map +1 -1
  92. package/dist/harness-interaction.d.ts +32 -0
  93. package/dist/harness-interaction.d.ts.map +1 -1
  94. package/dist/harness-interaction.js +47 -0
  95. package/dist/harness-interaction.js.map +1 -1
  96. package/dist/harness-maintenance.d.ts +3561 -717
  97. package/dist/harness-maintenance.d.ts.map +1 -1
  98. package/dist/harness-maintenance.js +107 -111
  99. package/dist/harness-maintenance.js.map +1 -1
  100. package/dist/harness-program.d.ts +2164 -0
  101. package/dist/harness-program.d.ts.map +1 -0
  102. package/dist/harness-program.js +110 -0
  103. package/dist/harness-program.js.map +1 -0
  104. package/dist/harness.d.ts +162 -19
  105. package/dist/harness.d.ts.map +1 -1
  106. package/dist/harness.js +25 -15
  107. package/dist/harness.js.map +1 -1
  108. package/dist/index.d.ts +6 -0
  109. package/dist/index.d.ts.map +1 -1
  110. package/dist/index.js +6 -0
  111. package/dist/index.js.map +1 -1
  112. package/dist/mcp-run-result.d.ts +453 -50
  113. package/dist/mcp-run-result.d.ts.map +1 -1
  114. package/dist/mcp-run-wait.d.ts +131 -0
  115. package/dist/mcp-run-wait.d.ts.map +1 -1
  116. package/dist/mcp-run-wait.js +3 -2
  117. package/dist/mcp-run-wait.js.map +1 -1
  118. package/dist/model-operation.d.ts +107 -0
  119. package/dist/model-operation.d.ts.map +1 -1
  120. package/dist/model-operation.js +3 -0
  121. package/dist/model-operation.js.map +1 -1
  122. package/dist/operation.d.ts +1 -1
  123. package/dist/operation.d.ts.map +1 -1
  124. package/dist/operation.js +1 -1
  125. package/dist/operation.js.map +1 -1
  126. package/dist/process-scope.d.ts +154 -0
  127. package/dist/process-scope.d.ts.map +1 -1
  128. package/dist/process-scope.js +16 -1
  129. package/dist/process-scope.js.map +1 -1
  130. package/dist/quota.d.ts +15 -0
  131. package/dist/quota.d.ts.map +1 -1
  132. package/dist/quota.js +15 -0
  133. package/dist/quota.js.map +1 -1
  134. package/dist/rate-limit.d.ts +3 -0
  135. package/dist/rate-limit.d.ts.map +1 -1
  136. package/dist/rate-limit.js +4 -0
  137. package/dist/rate-limit.js.map +1 -1
  138. package/dist/raw.d.ts.map +1 -1
  139. package/dist/raw.js +11 -5
  140. package/dist/raw.js.map +1 -1
  141. package/dist/readiness.d.ts +26 -0
  142. package/dist/readiness.d.ts.map +1 -1
  143. package/dist/route-controls.d.ts +49 -0
  144. package/dist/route-controls.d.ts.map +1 -0
  145. package/dist/route-controls.js +53 -0
  146. package/dist/route-controls.js.map +1 -0
  147. package/dist/route-health.d.ts +23 -23
  148. package/dist/route-health.js +1 -1
  149. package/dist/route-health.js.map +1 -1
  150. package/dist/run-continuation.d.ts +6 -6
  151. package/dist/run-continuity.d.ts +7 -7
  152. package/dist/run-continuity.d.ts.map +1 -1
  153. package/dist/run-continuity.js +2 -1
  154. package/dist/run-continuity.js.map +1 -1
  155. package/dist/run-facts.d.ts +5 -5
  156. package/dist/run-facts.js +1 -1
  157. package/dist/run-facts.js.map +1 -1
  158. package/dist/run-observation.d.ts +70 -0
  159. package/dist/run-observation.d.ts.map +1 -1
  160. package/dist/run-observation.js +31 -12
  161. package/dist/run-observation.js.map +1 -1
  162. package/dist/status-projection.d.ts +3 -2
  163. package/dist/status-projection.d.ts.map +1 -1
  164. package/dist/status-projection.js +5 -2
  165. package/dist/status-projection.js.map +1 -1
  166. package/dist/task-group.d.ts +3 -0
  167. package/dist/task-group.d.ts.map +1 -1
  168. package/dist/task-group.js +11 -1
  169. package/dist/task-group.js.map +1 -1
  170. package/dist/task.d.ts +2 -2
  171. package/dist/task.d.ts.map +1 -1
  172. package/dist/task.js +4 -4
  173. package/dist/task.js.map +1 -1
  174. package/dist/telemetry.d.ts +658 -117
  175. package/dist/telemetry.d.ts.map +1 -1
  176. package/dist/telemetry.js +19 -88
  177. package/dist/telemetry.js.map +1 -1
  178. package/dist/thread-export.d.ts +847 -0
  179. package/dist/thread-export.d.ts.map +1 -0
  180. package/dist/thread-export.js +238 -0
  181. package/dist/thread-export.js.map +1 -0
  182. package/dist/thread-history.d.ts +356 -132
  183. package/dist/thread-history.d.ts.map +1 -1
  184. package/dist/thread.d.ts +72 -6
  185. package/dist/thread.d.ts.map +1 -1
  186. package/dist/thread.js +19 -3
  187. package/dist/thread.js.map +1 -1
  188. package/dist/tool-ref.d.ts +172 -21
  189. package/dist/tool-ref.d.ts.map +1 -1
  190. package/dist/tool-ref.js +114 -29
  191. package/dist/tool-ref.js.map +1 -1
  192. package/dist/web-evidence.d.ts +91 -0
  193. package/dist/web-evidence.d.ts.map +1 -0
  194. package/dist/web-evidence.js +77 -0
  195. package/dist/web-evidence.js.map +1 -0
  196. package/dist/workspace.js +1 -1
  197. package/dist/workspace.js.map +1 -1
  198. package/generated/AgentCapabilityCatalog.schema.json +20 -2
  199. package/generated/AttemptExecutionEvidence.schema.json +35 -0
  200. package/generated/ConformanceReport.schema.json +26 -0
  201. package/generated/ControlAccountRoutingEvidenceResponse.schema.json +61 -1
  202. package/generated/ControlCredentialProfilesQueryResponse.schema.json +28 -2
  203. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +28 -2
  204. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +28 -2
  205. package/generated/ControlGcLastResponse.schema.json +22 -0
  206. package/generated/ControlGcReceipt.schema.json +13 -1
  207. package/generated/ControlHarnessAccountCatalog.schema.json +27 -0
  208. package/generated/ControlHarnessAccountModelsResponse.schema.json +27 -0
  209. package/generated/ControlHarnessListResponse.schema.json +28 -2
  210. package/generated/ControlHarnessMaintenanceCreateRequest.schema.json +2 -28
  211. package/generated/ControlHarnessMaintenanceInventory.schema.json +547 -184
  212. package/generated/ControlHarnessMaintenanceOperation.schema.json +211 -63
  213. package/generated/ControlHarnessModelsQueryResponse.schema.json +30 -0
  214. package/generated/ControlHarnessModelsResponse.schema.json +27 -0
  215. package/generated/ControlModelAccountCatalogResponse.schema.json +27 -0
  216. package/generated/ControlModelCatalogQueryResponse.schema.json +27 -0
  217. package/generated/ControlModelCatalogResponse.schema.json +27 -0
  218. package/generated/ControlPendingInteraction.schema.json +10 -1
  219. package/generated/ControlQueuedRunInfo.schema.json +1 -1
  220. package/generated/ControlResource.schema.json +5 -0
  221. package/generated/ControlResourceRelease.schema.json +44 -0
  222. package/generated/ControlResourceReleaseRequest.schema.json +27 -0
  223. package/generated/ControlRetainedEnvelope.schema.json +2 -1
  224. package/generated/ControlRouteHealth.schema.json +13 -1
  225. package/generated/ControlRunControlResponse.schema.json +41 -3
  226. package/generated/ControlRunDecisionRequest.schema.json +8 -2
  227. package/generated/ControlRunDecisionResponse.schema.json +4 -3
  228. package/generated/ControlRunDetail.schema.json +403 -11
  229. package/generated/ControlRunListResponse.schema.json +317 -7
  230. package/generated/ControlRunMessageResponse.schema.json +1 -1
  231. package/generated/ControlRunRetryResponse.schema.json +1 -1
  232. package/generated/ControlRunStartInfo.schema.json +1 -1
  233. package/generated/ControlRunStartResponse.schema.json +2 -2
  234. package/generated/ControlRunSummary.schema.json +317 -7
  235. package/generated/ControlThreadDetail.schema.json +6 -0
  236. package/generated/ControlThreadTurnResponse.schema.json +9 -0
  237. package/generated/ControlTrustListResponse.schema.json +8 -0
  238. package/generated/ControlTrustState.schema.json +8 -0
  239. package/generated/ControlUploadImport.schema.json +12 -2
  240. package/generated/ControlUploadImportRequest.schema.json +5 -0
  241. package/generated/DecisionRecord.schema.json +1 -0
  242. package/generated/DeferredMessageDetail.schema.json +43 -7
  243. package/generated/DeferredMessageProjection.schema.json +41 -3
  244. package/generated/DeferredMessageReadResult.schema.json +42 -4
  245. package/generated/DeferredMessageReceipt.schema.json +41 -3
  246. package/generated/EnvelopeCustody.schema.json +3 -2
  247. package/generated/GlobalConfig.schema.json +1 -1
  248. package/generated/HarnessEvent.schema.json +181 -4
  249. package/generated/HarnessManifest.schema.json +28 -2
  250. package/generated/HarnessProgram.schema.json +278 -0
  251. package/generated/HarnessProgramIdentity.schema.json +25 -0
  252. package/generated/HarnessStatusDto.schema.json +28 -2
  253. package/generated/McpAccountsToolResult.schema.json +88 -2
  254. package/generated/McpRunHandleResult.schema.json +141 -6
  255. package/generated/McpRunToolResult.schema.json +140 -6
  256. package/generated/McpRunWaitResult.schema.json +52 -5
  257. package/generated/McpThreadTurnResult.schema.json +9 -0
  258. package/generated/NativeProgramEvidence.schema.json +38 -0
  259. package/generated/RawContextPacket.schema.json +6 -4
  260. package/generated/RawGitPatchEnvelope.schema.json +1 -1
  261. package/generated/RoutePoolDegradedPayload.schema.json +2 -1
  262. package/generated/RunContinuityReceipt.schema.json +2 -1
  263. package/generated/RunFacts.schema.json +1 -0
  264. package/generated/RunFailure.schema.json +62 -2
  265. package/generated/RunResumable.schema.json +2 -1
  266. package/generated/RunTelemetry.schema.json +323 -7
  267. package/generated/RunWaitManyInput.schema.json +4 -0
  268. package/generated/RunWaitManyResult.schema.json +30 -0
  269. package/generated/SelectedHarnessProgram.schema.json +56 -0
  270. package/generated/TaskContract.schema.json +3 -3
  271. package/generated/TaskGroupReceipt.schema.json +1 -1
  272. package/generated/Thread.schema.json +41 -0
  273. package/generated/ThreadExportManifest.schema.json +461 -0
  274. package/generated/ThreadExportReceipt.schema.json +94 -0
  275. package/generated/ThreadHistoryPage.schema.json +71 -2
  276. package/generated/ThreadRetireAbandonRequest.schema.json +21 -0
  277. package/generated/ThreadRetireRequest.schema.json +41 -0
  278. package/generated/ThreadRetirement.schema.json +175 -0
  279. package/generated/ThreadTurn.schema.json +1 -1
  280. package/generated/WorkspaceEnvelope.schema.json +1 -1
  281. package/package.json +2 -2
@@ -40,6 +40,16 @@ export declare const HarnessStatusDto: z.ZodObject<{
40
40
  id: z.ZodString;
41
41
  status: z.ZodEnum<["ok", "degraded", "unavailable"]>;
42
42
  manifest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ sourceProgram: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44
+ path: z.ZodString;
45
+ version: z.ZodNullable<z.ZodString>;
46
+ }, "strict", z.ZodTypeAny, {
47
+ path: string;
48
+ version: string | null;
49
+ }, {
50
+ path: string;
51
+ version: string | null;
52
+ }>>>;
43
53
  id: z.ZodString;
44
54
  display_name: z.ZodString;
45
55
  kind: z.ZodEnum<["local_cli", "remote_api", "fake"]>;
@@ -472,6 +482,10 @@ export declare const HarnessStatusDto: z.ZodObject<{
472
482
  auth_modes: z.ZodDefault<z.ZodArray<z.ZodEnum<["local_session", "api_key", "none"]>, "many">>;
473
483
  access_profiles_supported: z.ZodDefault<z.ZodArray<z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>, "many">>;
474
484
  }, "strip", z.ZodTypeAny, {
485
+ sourceProgram?: {
486
+ path: string;
487
+ version: string | null;
488
+ } | null | undefined;
475
489
  id: string;
476
490
  display_name: string;
477
491
  kind: "fake" | "local_cli" | "remote_api";
@@ -569,6 +583,10 @@ export declare const HarnessStatusDto: z.ZodObject<{
569
583
  auth_modes: ("api_key" | "local_session" | "none")[];
570
584
  access_profiles_supported: ("full" | "inherit_native" | "readonly" | "workspace_write")[];
571
585
  }, {
586
+ sourceProgram?: {
587
+ path: string;
588
+ version: string | null;
589
+ } | null | undefined;
572
590
  id: string;
573
591
  display_name: string;
574
592
  kind: "fake" | "local_cli" | "remote_api";
@@ -782,6 +800,10 @@ export declare const HarnessStatusDto: z.ZodObject<{
782
800
  id: string;
783
801
  status: "degraded" | "ok" | "unavailable";
784
802
  manifest?: {
803
+ sourceProgram?: {
804
+ path: string;
805
+ version: string | null;
806
+ } | null | undefined;
785
807
  id: string;
786
808
  display_name: string;
787
809
  kind: "fake" | "local_cli" | "remote_api";
@@ -920,6 +942,10 @@ export declare const HarnessStatusDto: z.ZodObject<{
920
942
  id: string;
921
943
  status: "degraded" | "ok" | "unavailable";
922
944
  manifest?: {
945
+ sourceProgram?: {
946
+ path: string;
947
+ version: string | null;
948
+ } | null | undefined;
923
949
  id: string;
924
950
  display_name: string;
925
951
  kind: "fake" | "local_cli" | "remote_api";
@@ -1 +1 @@
1
- {"version":3,"file":"readiness.d.ts","sourceRoot":"","sources":["../src/readiness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,2EAA2E;AAC3E,eAAO,MAAM,oBAAoB;;;;;;EAS8C,CAAC;AAChF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;EAgB2C,CAAC;AAC1E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCjC,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { z } from "zod/v3";
2
+ /**
3
+ * How a harness can honor the external web policy:
4
+ * - `native`: web modes are a native config surface (codex web_search).
5
+ * - `tools`: web runs through permissioned tools the adapter can allow/deny (claude).
6
+ * - `uncontrolled`: the harness CAN reach the web but exposes no enforceable
7
+ * switch — incompatible only with strict `off`. cursor/opencode today.
8
+ * - `none`: the harness has NO web access at all — trivially satisfies `off`,
9
+ * while non-off policies remain optional preferences. raw-api/fake.
10
+ * None of them is a network switch: vendor API traffic always flows, and an
11
+ * allowed shell command can still reach the network.
12
+ */
13
+ export declare const WebPolicySupport: z.ZodEnum<["native", "tools", "uncontrolled", "none"]>;
14
+ export type WebPolicySupport = z.infer<typeof WebPolicySupport>;
15
+ /** The mechanism a manifest declares for whichever profile a spawn passes: the
16
+ * union of `ReadonlyMechanism` and `WriteMechanism` (the receipt builder only
17
+ * compiles while both stay assignable to it), plus what the profile itself says
18
+ * when it asks for no confinement. */
19
+ export declare const RouteAccessMechanism: z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "tool_policy", "native_settings", "none"]>;
20
+ export type RouteAccessMechanism = z.infer<typeof RouteAccessMechanism>;
21
+ /**
22
+ * What the engine PREPARED for one harness spawn's web and file access (#118,
23
+ * #413): the per-spawn gate records it just before it dispatches the adapter,
24
+ * from the route's manifest and the adapter's own argument helper. It says what
25
+ * the adapter was handed, not that a native process ran with it: the adapter can
26
+ * still refuse before launching, and a stop that lands after dispatch can end it
27
+ * before it reports a start (a stop at the receipt itself prevents the dispatch),
28
+ * so the attempt's `native_session_started` reports the launch separately. Disclosure only:
29
+ * Claudexor adds no network or file boundary, and nothing here changes what the
30
+ * harness receives.
31
+ */
32
+ export declare const RouteControls: z.ZodObject<{
33
+ web_mechanism: z.ZodEnum<["native", "tools", "uncontrolled", "none"]>;
34
+ access: z.ZodEnum<["readonly", "workspace_write", "full", "inherit_native"]>;
35
+ native_access: z.ZodNullable<z.ZodString>;
36
+ access_mechanism: z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "tool_policy", "native_settings", "none"]>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ web_mechanism: "native" | "none" | "tools" | "uncontrolled";
39
+ access: "full" | "inherit_native" | "readonly" | "workspace_write";
40
+ native_access: string | null;
41
+ access_mechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
42
+ }, {
43
+ web_mechanism: "native" | "none" | "tools" | "uncontrolled";
44
+ access: "full" | "inherit_native" | "readonly" | "workspace_write";
45
+ native_access: string | null;
46
+ access_mechanism: "fs_sandbox" | "native_settings" | "none" | "permission_deny" | "tool_allowlist" | "tool_policy";
47
+ }>;
48
+ export type RouteControls = z.infer<typeof RouteControls>;
49
+ //# sourceMappingURL=route-controls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route-controls.d.ts","sourceRoot":"","sources":["../src/route-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,wDAI1B,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE;;;sCAGsC;AACtC,eAAO,MAAM,oBAAoB,0GAW9B,CAAC;AACJ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;EAgBvB,CAAC;AACJ,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -0,0 +1,53 @@
1
+ import { z } from "zod/v3";
2
+ import { AccessProfile } from "./primitives.js";
3
+ /**
4
+ * How a harness can honor the external web policy:
5
+ * - `native`: web modes are a native config surface (codex web_search).
6
+ * - `tools`: web runs through permissioned tools the adapter can allow/deny (claude).
7
+ * - `uncontrolled`: the harness CAN reach the web but exposes no enforceable
8
+ * switch — incompatible only with strict `off`. cursor/opencode today.
9
+ * - `none`: the harness has NO web access at all — trivially satisfies `off`,
10
+ * while non-off policies remain optional preferences. raw-api/fake.
11
+ * None of them is a network switch: vendor API traffic always flows, and an
12
+ * allowed shell command can still reach the network.
13
+ */
14
+ export const WebPolicySupport = z
15
+ .enum(["native", "tools", "uncontrolled", "none"])
16
+ .describe("How a harness can honor the external web policy: native (a native config surface), tools (permissioned tools the adapter can allow/deny), uncontrolled (can reach the web but exposes no enforceable switch), or none (no web access at all).");
17
+ /** The mechanism a manifest declares for whichever profile a spawn passes: the
18
+ * union of `ReadonlyMechanism` and `WriteMechanism` (the receipt builder only
19
+ * compiles while both stay assignable to it), plus what the profile itself says
20
+ * when it asks for no confinement. */
21
+ export const RouteAccessMechanism = z
22
+ .enum([
23
+ "fs_sandbox",
24
+ "permission_deny",
25
+ "tool_allowlist",
26
+ "tool_policy",
27
+ "native_settings",
28
+ "none",
29
+ ])
30
+ .describe("How the route's access profile reaches the harness: fs_sandbox (the vendor's own file-system sandbox, as the vendor applies it), permission_deny, tool_allowlist or tool_policy (vendor tool permissions; the manifest declares no OS file boundary), native_settings (inherit_native: Claudexor passes no access profile, so the harness's own configuration decides and what it confines is unknown here), or none (full access, or a route that declares no control).");
31
+ /**
32
+ * What the engine PREPARED for one harness spawn's web and file access (#118,
33
+ * #413): the per-spawn gate records it just before it dispatches the adapter,
34
+ * from the route's manifest and the adapter's own argument helper. It says what
35
+ * the adapter was handed, not that a native process ran with it: the adapter can
36
+ * still refuse before launching, and a stop that lands after dispatch can end it
37
+ * before it reports a start (a stop at the receipt itself prevents the dispatch),
38
+ * so the attempt's `native_session_started` reports the launch separately. Disclosure only:
39
+ * Claudexor adds no network or file boundary, and nothing here changes what the
40
+ * harness receives.
41
+ */
42
+ export const RouteControls = z
43
+ .object({
44
+ web_mechanism: WebPolicySupport.describe("How this route's own web tools are switched for its web policy (the manifest's web_policy)."),
45
+ access: AccessProfile.describe("Access profile handed to this spawn."),
46
+ native_access: z
47
+ .string()
48
+ .nullable()
49
+ .describe("The vendor access setting the adapter builds for that profile, in the vendor's own spelling (argv or request parameters) and from the helper that passes it; null when it passes none or does not disclose it."),
50
+ access_mechanism: RouteAccessMechanism,
51
+ })
52
+ .describe("Per-spawn receipt of the native web and access controls prepared for a route, recorded just before dispatch; not proof that a native process ran with them. Claudexor adds no outer boundary.");
53
+ //# sourceMappingURL=route-controls.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route-controls.js","sourceRoot":"","sources":["../src/route-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC9B,IAAI,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,CAAC,CAAC;KACjD,QAAQ,CACP,+OAA+O,CAChP,CAAC;AAGJ;;;sCAGsC;AACtC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC;KAClC,IAAI,CAAC;IACJ,YAAY;IACZ,iBAAiB;IACjB,gBAAgB;IAChB,aAAa;IACb,iBAAiB;IACjB,MAAM;CACP,CAAC;KACD,QAAQ,CACP,0cAA0c,CAC3c,CAAC;AAGJ;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC;KAC3B,MAAM,CAAC;IACN,aAAa,EAAE,gBAAgB,CAAC,QAAQ,CACtC,6FAA6F,CAC9F;IACD,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IACtE,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,gNAAgN,CACjN;IACH,gBAAgB,EAAE,oBAAoB;CACvC,CAAC;KACD,QAAQ,CACP,+LAA+L,CAChM,CAAC"}
@@ -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,CAAC;IACN,QAAQ,EAAE,kBAAkB,CAAC,QAAQ,CACnC,6GAA6G,CAC9G;IACD,IAAI,EAAE,cAAc,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACtC,4EAA4E,CAC7E;IACD,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,GAAG,CAAC,8BAA8B,CAAC;SACnC,QAAQ,CACP,2HAA2H,CAC5H;IACH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;CACvF,CAAC;KACD,MAAM,EAAE;KACR,QAAQ,CAAC,0EAA0E,CAAC,CAAC;AAGxF,MAAM,CAAC,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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;