@claudexor/schema 3.1.1 → 3.2.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 (282) hide show
  1. package/dist/agent-capabilities.d.ts +232 -116
  2. package/dist/agent-capabilities.d.ts.map +1 -1
  3. package/dist/agent-capabilities.js +8 -1
  4. package/dist/agent-capabilities.js.map +1 -1
  5. package/dist/apply-eligibility.d.ts +513 -222
  6. package/dist/apply-eligibility.d.ts.map +1 -1
  7. package/dist/apply-eligibility.js +42 -2
  8. package/dist/apply-eligibility.js.map +1 -1
  9. package/dist/attachment.d.ts +17 -17
  10. package/dist/attachment.d.ts.map +1 -1
  11. package/dist/attachment.js +1 -1
  12. package/dist/attachment.js.map +1 -1
  13. package/dist/auth.d.ts +475 -475
  14. package/dist/auth.d.ts.map +1 -1
  15. package/dist/auth.js +1 -1
  16. package/dist/auth.js.map +1 -1
  17. package/dist/budget.d.ts +61 -61
  18. package/dist/budget.d.ts.map +1 -1
  19. package/dist/budget.js +3 -1
  20. package/dist/budget.js.map +1 -1
  21. package/dist/config.d.ts +320 -316
  22. package/dist/config.d.ts.map +1 -1
  23. package/dist/config.js +26 -19
  24. package/dist/config.js.map +1 -1
  25. package/dist/context.d.ts +38 -38
  26. package/dist/context.d.ts.map +1 -1
  27. package/dist/context.js +1 -1
  28. package/dist/context.js.map +1 -1
  29. package/dist/control-auth-route.d.ts +46 -0
  30. package/dist/control-auth-route.d.ts.map +1 -0
  31. package/dist/control-auth-route.js +24 -0
  32. package/dist/control-auth-route.js.map +1 -0
  33. package/dist/control-gc.d.ts +15 -15
  34. package/dist/control-gc.d.ts.map +1 -1
  35. package/dist/control-gc.js +1 -1
  36. package/dist/control-gc.js.map +1 -1
  37. package/dist/control-harness-list.d.ts +896 -0
  38. package/dist/control-harness-list.d.ts.map +1 -0
  39. package/dist/control-harness-list.js +13 -0
  40. package/dist/control-harness-list.js.map +1 -0
  41. package/dist/control-operation-responses.d.ts +691 -590
  42. package/dist/control-operation-responses.d.ts.map +1 -1
  43. package/dist/control-operation-responses.js +27 -1
  44. package/dist/control-operation-responses.js.map +1 -1
  45. package/dist/control-run-detail.d.ts +2663 -920
  46. package/dist/control-run-detail.d.ts.map +1 -1
  47. package/dist/control-run-detail.js +13 -1
  48. package/dist/control-run-detail.js.map +1 -1
  49. package/dist/control-run-retry.d.ts +18 -18
  50. package/dist/control-run-retry.d.ts.map +1 -1
  51. package/dist/control-run-retry.js +1 -1
  52. package/dist/control-run-retry.js.map +1 -1
  53. package/dist/control-run-scope.d.ts +2 -2
  54. package/dist/control-run-scope.d.ts.map +1 -1
  55. package/dist/control-run-scope.js +1 -1
  56. package/dist/control-run-scope.js.map +1 -1
  57. package/dist/control-secret.d.ts +7 -7
  58. package/dist/control-secret.d.ts.map +1 -1
  59. package/dist/control-secret.js +1 -1
  60. package/dist/control-secret.js.map +1 -1
  61. package/dist/control-thread-apply.d.ts +65 -65
  62. package/dist/control-thread-apply.d.ts.map +1 -1
  63. package/dist/control-thread-apply.js +1 -1
  64. package/dist/control-thread-apply.js.map +1 -1
  65. package/dist/control-trust.d.ts +23 -23
  66. package/dist/control-trust.d.ts.map +1 -1
  67. package/dist/control-trust.js +1 -1
  68. package/dist/control-trust.js.map +1 -1
  69. package/dist/control.d.ts +1658 -2225
  70. package/dist/control.d.ts.map +1 -1
  71. package/dist/control.js +43 -73
  72. package/dist/control.js.map +1 -1
  73. package/dist/credential-profile-snapshot.d.ts +3185 -0
  74. package/dist/credential-profile-snapshot.d.ts.map +1 -0
  75. package/dist/credential-profile-snapshot.js +28 -0
  76. package/dist/credential-profile-snapshot.js.map +1 -0
  77. package/dist/credential-profile.d.ts +122 -107
  78. package/dist/credential-profile.d.ts.map +1 -1
  79. package/dist/credential-profile.js +12 -6
  80. package/dist/credential-profile.js.map +1 -1
  81. package/dist/decision.d.ts +122 -117
  82. package/dist/decision.d.ts.map +1 -1
  83. package/dist/decision.js +9 -4
  84. package/dist/decision.js.map +1 -1
  85. package/dist/deep-scan.d.ts +5 -5
  86. package/dist/deep-scan.d.ts.map +1 -1
  87. package/dist/deep-scan.js +1 -1
  88. package/dist/deep-scan.js.map +1 -1
  89. package/dist/delegation.d.ts +73 -0
  90. package/dist/delegation.d.ts.map +1 -0
  91. package/dist/delegation.js +120 -0
  92. package/dist/delegation.js.map +1 -0
  93. package/dist/delivery.d.ts +32 -32
  94. package/dist/delivery.d.ts.map +1 -1
  95. package/dist/delivery.js +1 -1
  96. package/dist/delivery.js.map +1 -1
  97. package/dist/effort.d.ts +1 -1
  98. package/dist/effort.d.ts.map +1 -1
  99. package/dist/effort.js +1 -1
  100. package/dist/effort.js.map +1 -1
  101. package/dist/events.d.ts +57 -37
  102. package/dist/events.d.ts.map +1 -1
  103. package/dist/events.js +23 -1
  104. package/dist/events.js.map +1 -1
  105. package/dist/gate.d.ts +7 -7
  106. package/dist/gate.d.ts.map +1 -1
  107. package/dist/gate.js +1 -1
  108. package/dist/gate.js.map +1 -1
  109. package/dist/git-capability.d.ts +23 -0
  110. package/dist/git-capability.d.ts.map +1 -0
  111. package/dist/git-capability.js +15 -0
  112. package/dist/git-capability.js.map +1 -0
  113. package/dist/harness.d.ts +409 -409
  114. package/dist/harness.d.ts.map +1 -1
  115. package/dist/harness.js +19 -22
  116. package/dist/harness.js.map +1 -1
  117. package/dist/index.d.ts +7 -0
  118. package/dist/index.d.ts.map +1 -1
  119. package/dist/index.js +7 -0
  120. package/dist/index.js.map +1 -1
  121. package/dist/interaction.d.ts +10 -0
  122. package/dist/interaction.d.ts.map +1 -0
  123. package/dist/interaction.js +2 -0
  124. package/dist/interaction.js.map +1 -0
  125. package/dist/operation.d.ts +113 -113
  126. package/dist/operation.d.ts.map +1 -1
  127. package/dist/operation.js +1 -1
  128. package/dist/operation.js.map +1 -1
  129. package/dist/output-schema-dialect.d.ts +1 -1
  130. package/dist/output-schema-dialect.d.ts.map +1 -1
  131. package/dist/output-schema-dialect.js +1 -1
  132. package/dist/output-schema-dialect.js.map +1 -1
  133. package/dist/output-schema.d.ts +2 -2
  134. package/dist/output-schema.js +2 -2
  135. package/dist/plan.d.ts +29 -29
  136. package/dist/plan.d.ts.map +1 -1
  137. package/dist/plan.js +1 -1
  138. package/dist/plan.js.map +1 -1
  139. package/dist/primitives.d.ts +1 -1
  140. package/dist/primitives.d.ts.map +1 -1
  141. package/dist/primitives.js +1 -1
  142. package/dist/primitives.js.map +1 -1
  143. package/dist/problem.d.ts +6 -6
  144. package/dist/problem.d.ts.map +1 -1
  145. package/dist/problem.js +1 -1
  146. package/dist/problem.js.map +1 -1
  147. package/dist/project.d.ts +87 -25
  148. package/dist/project.d.ts.map +1 -1
  149. package/dist/project.js +21 -1
  150. package/dist/project.js.map +1 -1
  151. package/dist/quota.d.ts +48 -48
  152. package/dist/quota.d.ts.map +1 -1
  153. package/dist/quota.js +1 -1
  154. package/dist/quota.js.map +1 -1
  155. package/dist/raw.d.ts +16 -16
  156. package/dist/raw.d.ts.map +1 -1
  157. package/dist/raw.js +1 -1
  158. package/dist/raw.js.map +1 -1
  159. package/dist/readiness.d.ts +264 -226
  160. package/dist/readiness.d.ts.map +1 -1
  161. package/dist/readiness.js +5 -1
  162. package/dist/readiness.js.map +1 -1
  163. package/dist/recovery.d.ts +106 -106
  164. package/dist/recovery.d.ts.map +1 -1
  165. package/dist/recovery.js +1 -1
  166. package/dist/recovery.js.map +1 -1
  167. package/dist/request-requirements.d.ts +12 -12
  168. package/dist/request-requirements.d.ts.map +1 -1
  169. package/dist/request-requirements.js +3 -2
  170. package/dist/request-requirements.js.map +1 -1
  171. package/dist/review.d.ts +29 -29
  172. package/dist/review.d.ts.map +1 -1
  173. package/dist/review.js +1 -1
  174. package/dist/review.js.map +1 -1
  175. package/dist/route.d.ts +11 -11
  176. package/dist/route.d.ts.map +1 -1
  177. package/dist/route.js +1 -1
  178. package/dist/route.js.map +1 -1
  179. package/dist/run-applicability.d.ts +764 -0
  180. package/dist/run-applicability.d.ts.map +1 -0
  181. package/dist/run-applicability.js +56 -0
  182. package/dist/run-applicability.js.map +1 -0
  183. package/dist/run-facts.d.ts +628 -0
  184. package/dist/run-facts.d.ts.map +1 -0
  185. package/dist/run-facts.js +429 -0
  186. package/dist/run-facts.js.map +1 -0
  187. package/dist/run-strategy.d.ts +40 -0
  188. package/dist/run-strategy.d.ts.map +1 -1
  189. package/dist/run-strategy.js +68 -1
  190. package/dist/run-strategy.js.map +1 -1
  191. package/dist/setup-device-code-envelope.d.ts +67 -0
  192. package/dist/setup-device-code-envelope.d.ts.map +1 -0
  193. package/dist/setup-device-code-envelope.js +25 -0
  194. package/dist/setup-device-code-envelope.js.map +1 -0
  195. package/dist/setup-login-protocol.d.ts +6 -0
  196. package/dist/setup-login-protocol.d.ts.map +1 -0
  197. package/dist/setup-login-protocol.js +12 -0
  198. package/dist/setup-login-protocol.js.map +1 -0
  199. package/dist/setup-transport.d.ts +12 -0
  200. package/dist/setup-transport.d.ts.map +1 -0
  201. package/dist/setup-transport.js +22 -0
  202. package/dist/setup-transport.js.map +1 -0
  203. package/dist/setup.d.ts +12572 -3749
  204. package/dist/setup.d.ts.map +1 -1
  205. package/dist/setup.js +34 -38
  206. package/dist/setup.js.map +1 -1
  207. package/dist/status-projection.d.ts +7 -5
  208. package/dist/status-projection.d.ts.map +1 -1
  209. package/dist/status-projection.js +11 -6
  210. package/dist/status-projection.js.map +1 -1
  211. package/dist/surface-run-controls.d.ts.map +1 -1
  212. package/dist/surface-run-controls.js +10 -1
  213. package/dist/surface-run-controls.js.map +1 -1
  214. package/dist/task.d.ts +331 -289
  215. package/dist/task.d.ts.map +1 -1
  216. package/dist/task.js +12 -1
  217. package/dist/task.js.map +1 -1
  218. package/dist/telemetry.d.ts +1189 -627
  219. package/dist/telemetry.d.ts.map +1 -1
  220. package/dist/telemetry.js +13 -13
  221. package/dist/telemetry.js.map +1 -1
  222. package/dist/thread.d.ts +128 -84
  223. package/dist/thread.d.ts.map +1 -1
  224. package/dist/thread.js +16 -2
  225. package/dist/thread.js.map +1 -1
  226. package/dist/tool-ref.d.ts +7 -7
  227. package/dist/tool-ref.d.ts.map +1 -1
  228. package/dist/tool-ref.js +1 -1
  229. package/dist/tool-ref.js.map +1 -1
  230. package/dist/work-report.d.ts +28 -28
  231. package/dist/work-report.d.ts.map +1 -1
  232. package/dist/work-report.js +3 -3
  233. package/dist/work-report.js.map +1 -1
  234. package/dist/workproduct.d.ts +6 -9
  235. package/dist/workproduct.d.ts.map +1 -1
  236. package/dist/workproduct.js +1 -2
  237. package/dist/workproduct.js.map +1 -1
  238. package/dist/workspace.d.ts +14 -14
  239. package/dist/workspace.d.ts.map +1 -1
  240. package/dist/workspace.js +8 -8
  241. package/dist/workspace.js.map +1 -1
  242. package/generated/AgentCapabilityCatalog.schema.json +80 -1
  243. package/generated/ControlCredentialProfilesQueryResponse.schema.json +1333 -0
  244. package/generated/ControlCredentialProfilesResponse.schema.json +10 -2
  245. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1312 -0
  246. package/generated/ControlDirectoryEntry.schema.json +36 -0
  247. package/generated/ControlDirectoryListing.schema.json +77 -0
  248. package/generated/ControlHarnessListResponse.schema.json +89 -3
  249. package/generated/ControlRunAgainDraft.schema.json +7 -3
  250. package/generated/ControlRunApplicabilityResponse.schema.json +217 -0
  251. package/generated/ControlRunControlResponse.schema.json +8 -0
  252. package/generated/ControlRunDetail.schema.json +543 -80
  253. package/generated/ControlRunListResponse.schema.json +104 -11
  254. package/generated/ControlRunStartRequest.schema.json +7 -3
  255. package/generated/ControlRunSummary.schema.json +104 -11
  256. package/generated/ControlSettingsSnapshot.schema.json +12 -3
  257. package/generated/ControlSettingsUpdateRequest.schema.json +12 -3
  258. package/generated/ControlSetupJob.schema.json +9 -0
  259. package/generated/ControlSetupJobCreateRequest.schema.json +9 -0
  260. package/generated/ControlSetupJobEvent.schema.json +858 -758
  261. package/generated/ControlSetupJobListResponse.schema.json +9 -0
  262. package/generated/ControlSetupJobSnapshot.schema.json +811 -736
  263. package/generated/ControlThreadDetail.schema.json +83 -1
  264. package/generated/ControlThreadTurnRequest.schema.json +2 -25
  265. package/generated/DecisionRecord.schema.json +12 -2
  266. package/generated/GitCapability.schema.json +46 -0
  267. package/generated/GlobalConfig.schema.json +13 -4
  268. package/generated/HarnessEvent.schema.json +2 -1
  269. package/generated/HarnessManifest.schema.json +3 -3
  270. package/generated/HarnessStatusDto.schema.json +49 -3
  271. package/generated/McpRunHandleResult.schema.json +237 -2
  272. package/generated/McpRunToolResult.schema.json +234 -1
  273. package/generated/OutputReadyPayload.schema.json +44 -0
  274. package/generated/RunEvent.schema.json +1 -0
  275. package/generated/RunFacts.schema.json +569 -0
  276. package/generated/RunFailure.schema.json +4 -3
  277. package/generated/RunTelemetry.schema.json +553 -4
  278. package/generated/TaskContract.schema.json +43 -3
  279. package/generated/ThreadTurn.schema.json +17 -0
  280. package/generated/WorkProduct.schema.json +0 -4
  281. package/generated/WorkspaceEnvelope.schema.json +6 -6
  282. package/package.json +3 -3
@@ -533,6 +533,7 @@
533
533
  "wall_clock_exceeded",
534
534
  "user_cancelled",
535
535
  "crash_interrupted",
536
+ "workspace_unavailable",
536
537
  "input_required",
537
538
  "work_incomplete",
538
539
  "context_capacity_exhausted",
@@ -567,7 +568,7 @@
567
568
  "validated",
568
569
  "absent"
569
570
  ],
570
- "description": "Provenance of a WorkReport: constrained (native schema transport), validated (whole-answer JSON), or absent (no transport could carry one — a disclosed absence, not a failure)."
571
+ "description": "Provenance of a WorkReport: constrained (native schema transport), validated (instructed terminal metadata), or absent (no transport could carry one — a disclosed absence, not a failure)."
571
572
  },
572
573
  "required_inputs": {
573
574
  "type": "array",
@@ -667,6 +668,70 @@
667
668
  ],
668
669
  "default": null,
669
670
  "description": "When the run finished; null while live."
671
+ },
672
+ "delegation": {
673
+ "anyOf": [
674
+ {
675
+ "type": "object",
676
+ "properties": {
677
+ "requested": {
678
+ "type": "boolean",
679
+ "default": false
680
+ },
681
+ "effective": {
682
+ "type": "boolean",
683
+ "default": false
684
+ },
685
+ "used": {
686
+ "type": "boolean",
687
+ "default": false
688
+ },
689
+ "reason": {
690
+ "type": "string",
691
+ "enum": [
692
+ "pending",
693
+ "not_requested",
694
+ "injected_unused",
695
+ "used",
696
+ "runtime_unavailable",
697
+ "manifest_unsupported",
698
+ "access_profile_incompatible",
699
+ "partially_degraded",
700
+ "startup_failed"
701
+ ],
702
+ "default": "not_requested"
703
+ },
704
+ "remediation": {
705
+ "anyOf": [
706
+ {
707
+ "type": "string",
708
+ "minLength": 1
709
+ },
710
+ {
711
+ "type": "null"
712
+ }
713
+ ],
714
+ "default": null
715
+ }
716
+ },
717
+ "additionalProperties": false,
718
+ "description": "Engine-owned Delegate requested/effective/used receipt; surfaces project it without parsing model output."
719
+ },
720
+ {
721
+ "type": "null"
722
+ }
723
+ ],
724
+ "description": "Durable Delegate outcome receipt; null for ordinary and legacy turns.",
725
+ "default": null
726
+ },
727
+ "delegatedChildRunIds": {
728
+ "type": "array",
729
+ "items": {
730
+ "$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/credentialProfileId/anyOf/0"
731
+ },
732
+ "maxItems": 8,
733
+ "default": [],
734
+ "description": "At most eight server-owned direct Delegate child ids for whole-thread workspace aggregation."
670
735
  }
671
736
  },
672
737
  "required": [
@@ -704,6 +769,23 @@
704
769
  "default": true,
705
770
  "description": "False when no recorded job exists to replay — surfaces offer a new message instead of a doomed retry."
706
771
  },
772
+ "requiredActions": {
773
+ "type": "array",
774
+ "items": {
775
+ "type": "string",
776
+ "minLength": 1,
777
+ "maxLength": 512
778
+ },
779
+ "maxItems": 16,
780
+ "default": [],
781
+ "description": "Bounded user actions that may make an exact retry succeed."
782
+ },
783
+ "context": {
784
+ "type": "object",
785
+ "additionalProperties": {},
786
+ "default": {},
787
+ "description": "Bounded typed recovery context for exact retry."
788
+ },
707
789
  "failedAt": {
708
790
  "type": "string",
709
791
  "description": "When the enqueue failed."
@@ -312,29 +312,6 @@
312
312
  "minLength": 1,
313
313
  "description": "Internal daemon handoff only; rejected (400) on POST /runs. When set, the turn implements an approved plan from that run."
314
314
  },
315
- "planRef": {
316
- "type": "object",
317
- "properties": {
318
- "runId": {
319
- "$ref": "#/definitions/ControlThreadTurnRequest/properties/planRunId"
320
- },
321
- "sha256": {
322
- "type": "string",
323
- "pattern": "^[0-9a-f]{64}$"
324
- },
325
- "path": {
326
- "type": "string",
327
- "minLength": 1
328
- }
329
- },
330
- "required": [
331
- "runId",
332
- "sha256",
333
- "path"
334
- ],
335
- "additionalProperties": false,
336
- "description": "Internal daemon handoff only; rejected (400) on POST /runs. Frozen-plan reference delivered to the executor as a file."
337
- },
338
315
  "reviewerPanel": {
339
316
  "type": "array",
340
317
  "items": {
@@ -362,7 +339,7 @@
362
339
  "description": "One reviewer of an explicit reviewer panel — a harness plus optional model and effort. The CLI spells one entry `harness=model:effort` (e.g. `claude=claude-opus-4-8:max`)."
363
340
  },
364
341
  "minItems": 1,
365
- "description": "Explicit reviewer panel — who reviews the change, one entry per reviewer as `harness=model:effort` (CLI `--reviewers \"claude=claude-opus-4-8:max,cursor=gemini-3.1-pro\"`). Duplicate harness entries are kept so one provider can review through several models; overrides the legacy reviewerModels/reviewerEfforts maps."
342
+ "description": "Explicit Agent reviewer panel — who reviews the change, one entry per reviewer as `harness=model:effort` (CLI `--reviewer-panel \"claude=claude-opus-4-8:max,cursor=gemini-3.1-pro\"`). Duplicate harness entries are kept so one provider can review through several models; overrides the legacy reviewerModels/reviewerEfforts maps."
366
343
  },
367
344
  "authPreference": {
368
345
  "type": "string",
@@ -387,7 +364,7 @@
387
364
  },
388
365
  "delegate": {
389
366
  "type": "boolean",
390
- "description": "Agent-only: inject the Claudexor delegation belt so the harness can spawn bounded isolated sub-runs; refused on non-agent modes or harnesses without mcp_injection."
367
+ "description": "Agent-only: inject the Claudexor delegation belt so the harness can spawn bounded isolated sub-runs; non-agent modes refuse, while known belt or harness unavailability degrades before start to ordinary Agent with a durable warning."
391
368
  },
392
369
  "maxSeconds": {
393
370
  "type": "integer",
@@ -72,6 +72,7 @@
72
72
  "wall_clock_exceeded",
73
73
  "user_cancelled",
74
74
  "crash_interrupted",
75
+ "workspace_unavailable",
75
76
  "input_required",
76
77
  "work_incomplete",
77
78
  "context_capacity_exhausted",
@@ -106,7 +107,7 @@
106
107
  "validated",
107
108
  "absent"
108
109
  ],
109
- "description": "Provenance of a WorkReport: constrained (native schema transport), validated (whole-answer JSON), or absent (no transport could carry one — a disclosed absence, not a failure)."
110
+ "description": "Provenance of a WorkReport: constrained (native schema transport), validated (instructed terminal metadata), or absent (no transport could carry one — a disclosed absence, not a failure)."
110
111
  },
111
112
  "required_inputs": {
112
113
  "type": "array",
@@ -298,7 +299,7 @@
298
299
  "estimated": {
299
300
  "type": "boolean",
300
301
  "default": false,
301
- "description": "True when any of the spend is token-derived rather than natively reported."
302
+ "description": "True when settled cash is estimated rather than exact."
302
303
  },
303
304
  "cash_usd": {
304
305
  "type": [
@@ -315,6 +316,15 @@
315
316
  ],
316
317
  "default": null,
317
318
  "description": "Settled subscription-equivalent valuation in USD (includes the reviewer panel); null when unknown."
319
+ },
320
+ "valuation_knowledge": {
321
+ "type": "string",
322
+ "enum": [
323
+ "exact",
324
+ "estimated",
325
+ "unknown"
326
+ ],
327
+ "description": "Certainty of valuation_usd, independent from the settled-cash estimated flag. Absent only on legacy decisions."
318
328
  }
319
329
  },
320
330
  "additionalProperties": false,
@@ -0,0 +1,46 @@
1
+ {
2
+ "$ref": "#/definitions/GitCapability",
3
+ "definitions": {
4
+ "GitCapability": {
5
+ "type": "object",
6
+ "properties": {
7
+ "status": {
8
+ "type": "string",
9
+ "enum": [
10
+ "available",
11
+ "missing",
12
+ "developer_tools_stub",
13
+ "failed"
14
+ ]
15
+ },
16
+ "version": {
17
+ "type": [
18
+ "string",
19
+ "null"
20
+ ]
21
+ },
22
+ "detail": {
23
+ "type": [
24
+ "string",
25
+ "null"
26
+ ]
27
+ },
28
+ "remediation": {
29
+ "type": [
30
+ "string",
31
+ "null"
32
+ ]
33
+ }
34
+ },
35
+ "required": [
36
+ "status",
37
+ "version",
38
+ "detail",
39
+ "remediation"
40
+ ],
41
+ "additionalProperties": false,
42
+ "description": "Live Git executable readiness for workspace/envelope operations."
43
+ }
44
+ },
45
+ "$schema": "http://json-schema.org/draft-07/schema#"
46
+ }
@@ -11,10 +11,19 @@
11
11
  "description": "Config format version."
12
12
  },
13
13
  "interaction_timeout_ms": {
14
- "type": "integer",
15
- "exclusiveMinimum": 0,
14
+ "anyOf": [
15
+ {
16
+ "type": "integer",
17
+ "minimum": -9007199254740991,
18
+ "maximum": 8000000000000000,
19
+ "exclusiveMinimum": 0
20
+ },
21
+ {
22
+ "type": "null"
23
+ }
24
+ ],
16
25
  "default": 900000,
17
- "description": "How long an interactive run waits for the user's answer to a harness question before delivering a benign decline and letting the model continue."
26
+ "description": "Automatic-expiry policy for an interactive answer: positive milliseconds deliver a benign decline at the deadline; null disables automatic expiry."
18
27
  },
19
28
  "routing": {
20
29
  "type": "object",
@@ -180,7 +189,7 @@
180
189
  "type": "number",
181
190
  "minimum": 0,
182
191
  "default": 0.05,
183
- "description": "Per-candidate USD reservation floor held against the run cap for every race-wave slot after the first, so a parallel wave cannot blow past the cap between settlements."
192
+ "description": "USD reservation floor for later parallel race candidates, deep-scan scouts, and Council members; the Deep Scan reducer; the one-shot enveloped candidate continuation; and every paid attempt inside a Delegate child. The first ordinary top-level attempt remains unreserved."
184
193
  }
185
194
  },
186
195
  "additionalProperties": false,
@@ -548,9 +548,10 @@
548
548
  "model_not_found",
549
549
  "server_error",
550
550
  "max_output_tokens",
551
+ "timeout",
551
552
  "unknown"
552
553
  ],
553
- "description": "Vendor's error category mapped onto the documented enum; unrecognized values collapse to 'unknown' (never free-form prose)."
554
+ "description": "Vendor error category mapped onto the normalized enum; unrecognized values collapse to 'unknown' (never free-form prose)."
554
555
  }
555
556
  },
556
557
  "required": [
@@ -231,12 +231,12 @@
231
231
  "mcp_injection": {
232
232
  "type": "boolean",
233
233
  "default": false,
234
- "description": "The adapter can inject engine-owned MCP servers into the harness sandbox (browser tool, delegation belt); false = extra_mcp_servers and the delegate toggle are refused."
234
+ "description": "The adapter can inject engine-owned MCP servers into the harness sandbox (browser tool, delegation belt); false = browser MCP is refused and Delegate degrades to ordinary Agent with a durable typed receipt."
235
235
  },
236
236
  "mcp_injection_requires_full_access": {
237
237
  "type": "boolean",
238
238
  "default": false,
239
- "description": "An injected MCP server can only reach the daemon (belt) at full access; below it the harness sandbox cancels the call. true => --delegate below full access is refused for this harness."
239
+ "description": "An injected MCP server can only reach the daemon (belt) at full access; below it the harness sandbox cancels the call. true => Delegate below full access degrades to ordinary Agent with a durable typed receipt."
240
240
  }
241
241
  },
242
242
  "additionalProperties": false,
@@ -334,7 +334,7 @@
334
334
  "unsupported"
335
335
  ],
336
336
  "default": "unsupported",
337
- "description": "How the harness carries the D-16 WorkReport envelope: constrained (native schema transport), validated (whole-answer JSON), or unsupported (work_state stays unverified)."
337
+ "description": "How the harness carries the D-16 WorkReport envelope: constrained (native schema transport), validated (instructed terminal metadata), or unsupported (work_state stays unverified)."
338
338
  },
339
339
  "structured_output_channel": {
340
340
  "type": "string",
@@ -249,12 +249,12 @@
249
249
  "mcp_injection": {
250
250
  "type": "boolean",
251
251
  "default": false,
252
- "description": "The adapter can inject engine-owned MCP servers into the harness sandbox (browser tool, delegation belt); false = extra_mcp_servers and the delegate toggle are refused."
252
+ "description": "The adapter can inject engine-owned MCP servers into the harness sandbox (browser tool, delegation belt); false = browser MCP is refused and Delegate degrades to ordinary Agent with a durable typed receipt."
253
253
  },
254
254
  "mcp_injection_requires_full_access": {
255
255
  "type": "boolean",
256
256
  "default": false,
257
- "description": "An injected MCP server can only reach the daemon (belt) at full access; below it the harness sandbox cancels the call. true => --delegate below full access is refused for this harness."
257
+ "description": "An injected MCP server can only reach the daemon (belt) at full access; below it the harness sandbox cancels the call. true => Delegate below full access degrades to ordinary Agent with a durable typed receipt."
258
258
  }
259
259
  },
260
260
  "additionalProperties": false,
@@ -352,7 +352,7 @@
352
352
  "unsupported"
353
353
  ],
354
354
  "default": "unsupported",
355
- "description": "How the harness carries the D-16 WorkReport envelope: constrained (native schema transport), validated (whole-answer JSON), or unsupported (work_state stays unverified)."
355
+ "description": "How the harness carries the D-16 WorkReport envelope: constrained (native schema transport), validated (instructed terminal metadata), or unsupported (work_state stays unverified)."
356
356
  },
357
357
  "structured_output_channel": {
358
358
  "type": "string",
@@ -716,6 +716,52 @@
716
716
  ],
717
717
  "default": null,
718
718
  "description": "Strict truth-source check of configuredModel; null when no model is configured."
719
+ },
720
+ "delegation": {
721
+ "anyOf": [
722
+ {
723
+ "type": "object",
724
+ "properties": {
725
+ "available": {
726
+ "type": "boolean",
727
+ "description": "Whether this harness can receive the packaged delegation belt."
728
+ },
729
+ "reason": {
730
+ "type": "string",
731
+ "enum": [
732
+ "ready",
733
+ "runtime_unavailable",
734
+ "manifest_unsupported"
735
+ ],
736
+ "description": "Stable reason for the current delegation capability verdict."
737
+ },
738
+ "remediation": {
739
+ "type": [
740
+ "string",
741
+ "null"
742
+ ],
743
+ "default": null,
744
+ "description": "Concrete update/repair guidance when unavailable; null when ready."
745
+ },
746
+ "requiresFullAccess": {
747
+ "type": "boolean",
748
+ "default": false,
749
+ "description": "Whether this harness can reach the belt only under a full-access profile."
750
+ }
751
+ },
752
+ "required": [
753
+ "available",
754
+ "reason"
755
+ ],
756
+ "additionalProperties": false,
757
+ "description": "Engine-owned Delegate capability projection for one harness and installed runtime."
758
+ },
759
+ {
760
+ "type": "null"
761
+ }
762
+ ],
763
+ "description": "Engine-owned Delegate capability for this harness and installed runtime; null on legacy status rows.",
764
+ "default": null
719
765
  }
720
766
  },
721
767
  "required": [