@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
@@ -0,0 +1,36 @@
1
+ {
2
+ "$ref": "#/definitions/ControlDirectoryEntry",
3
+ "definitions": {
4
+ "ControlDirectoryEntry": {
5
+ "type": "object",
6
+ "properties": {
7
+ "name": {
8
+ "type": "string",
9
+ "minLength": 1
10
+ },
11
+ "path": {
12
+ "type": "string",
13
+ "minLength": 1
14
+ },
15
+ "kind": {
16
+ "type": "string",
17
+ "enum": [
18
+ "directory",
19
+ "file"
20
+ ]
21
+ },
22
+ "readable": {
23
+ "type": "boolean"
24
+ }
25
+ },
26
+ "required": [
27
+ "name",
28
+ "path",
29
+ "kind",
30
+ "readable"
31
+ ],
32
+ "additionalProperties": false
33
+ }
34
+ },
35
+ "$schema": "http://json-schema.org/draft-07/schema#"
36
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "$ref": "#/definitions/ControlDirectoryListing",
3
+ "definitions": {
4
+ "ControlDirectoryListing": {
5
+ "type": "object",
6
+ "properties": {
7
+ "path": {
8
+ "type": "string",
9
+ "minLength": 1
10
+ },
11
+ "home": {
12
+ "type": "string",
13
+ "minLength": 1
14
+ },
15
+ "parent": {
16
+ "anyOf": [
17
+ {
18
+ "type": "string",
19
+ "minLength": 1
20
+ },
21
+ {
22
+ "type": "null"
23
+ }
24
+ ]
25
+ },
26
+ "entries": {
27
+ "type": "array",
28
+ "items": {
29
+ "type": "object",
30
+ "properties": {
31
+ "name": {
32
+ "type": "string",
33
+ "minLength": 1
34
+ },
35
+ "path": {
36
+ "type": "string",
37
+ "minLength": 1
38
+ },
39
+ "kind": {
40
+ "type": "string",
41
+ "enum": [
42
+ "directory",
43
+ "file"
44
+ ]
45
+ },
46
+ "readable": {
47
+ "type": "boolean"
48
+ }
49
+ },
50
+ "required": [
51
+ "name",
52
+ "path",
53
+ "kind",
54
+ "readable"
55
+ ],
56
+ "additionalProperties": false
57
+ },
58
+ "maxItems": 1000
59
+ },
60
+ "truncated": {
61
+ "type": "boolean",
62
+ "description": "True when more actionable entries existed than the bounded response contains."
63
+ }
64
+ },
65
+ "required": [
66
+ "path",
67
+ "home",
68
+ "parent",
69
+ "entries",
70
+ "truncated"
71
+ ],
72
+ "additionalProperties": false,
73
+ "description": "A home-contained server directory listing for the remote project picker."
74
+ }
75
+ },
76
+ "$schema": "http://json-schema.org/draft-07/schema#"
77
+ }
@@ -254,12 +254,12 @@
254
254
  "mcp_injection": {
255
255
  "type": "boolean",
256
256
  "default": false,
257
- "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."
257
+ "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."
258
258
  },
259
259
  "mcp_injection_requires_full_access": {
260
260
  "type": "boolean",
261
261
  "default": false,
262
- "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."
262
+ "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."
263
263
  }
264
264
  },
265
265
  "additionalProperties": false,
@@ -357,7 +357,7 @@
357
357
  "unsupported"
358
358
  ],
359
359
  "default": "unsupported",
360
- "description": "How the harness carries the D-16 WorkReport envelope: constrained (native schema transport), validated (whole-answer JSON), or unsupported (work_state stays unverified)."
360
+ "description": "How the harness carries the D-16 WorkReport envelope: constrained (native schema transport), validated (instructed terminal metadata), or unsupported (work_state stays unverified)."
361
361
  },
362
362
  "structured_output_channel": {
363
363
  "type": "string",
@@ -721,6 +721,52 @@
721
721
  ],
722
722
  "default": null,
723
723
  "description": "Strict truth-source check of configuredModel; null when no model is configured."
724
+ },
725
+ "delegation": {
726
+ "anyOf": [
727
+ {
728
+ "type": "object",
729
+ "properties": {
730
+ "available": {
731
+ "type": "boolean",
732
+ "description": "Whether this harness can receive the packaged delegation belt."
733
+ },
734
+ "reason": {
735
+ "type": "string",
736
+ "enum": [
737
+ "ready",
738
+ "runtime_unavailable",
739
+ "manifest_unsupported"
740
+ ],
741
+ "description": "Stable reason for the current delegation capability verdict."
742
+ },
743
+ "remediation": {
744
+ "type": [
745
+ "string",
746
+ "null"
747
+ ],
748
+ "default": null,
749
+ "description": "Concrete update/repair guidance when unavailable; null when ready."
750
+ },
751
+ "requiresFullAccess": {
752
+ "type": "boolean",
753
+ "default": false,
754
+ "description": "Whether this harness can reach the belt only under a full-access profile."
755
+ }
756
+ },
757
+ "required": [
758
+ "available",
759
+ "reason"
760
+ ],
761
+ "additionalProperties": false,
762
+ "description": "Engine-owned Delegate capability projection for one harness and installed runtime."
763
+ },
764
+ {
765
+ "type": "null"
766
+ }
767
+ ],
768
+ "description": "Engine-owned Delegate capability for this harness and installed runtime; null on legacy status rows.",
769
+ "default": null
724
770
  }
725
771
  },
726
772
  "required": [
@@ -732,6 +778,46 @@
732
778
  },
733
779
  "default": [],
734
780
  "description": "Status rows for all known harnesses."
781
+ },
782
+ "git": {
783
+ "type": "object",
784
+ "properties": {
785
+ "status": {
786
+ "type": "string",
787
+ "enum": [
788
+ "available",
789
+ "missing",
790
+ "developer_tools_stub",
791
+ "failed"
792
+ ]
793
+ },
794
+ "version": {
795
+ "type": [
796
+ "string",
797
+ "null"
798
+ ]
799
+ },
800
+ "detail": {
801
+ "type": [
802
+ "string",
803
+ "null"
804
+ ]
805
+ },
806
+ "remediation": {
807
+ "type": [
808
+ "string",
809
+ "null"
810
+ ]
811
+ }
812
+ },
813
+ "required": [
814
+ "status",
815
+ "version",
816
+ "detail",
817
+ "remediation"
818
+ ],
819
+ "additionalProperties": false,
820
+ "description": "Execution-location Git readiness; omitted by daemons predating capability projection."
735
821
  }
736
822
  },
737
823
  "additionalProperties": false,
@@ -393,7 +393,11 @@
393
393
  },
394
394
  "parentRunId": {
395
395
  "$ref": "#/definitions/ControlRunAgainDraft/properties/sourceRunId",
396
- "description": "Run this turn follows up on."
396
+ "description": "Server-owned parent/follow-up lineage; rejected on direct POST /runs."
397
+ },
398
+ "delegatedFromRunId": {
399
+ "$ref": "#/definitions/ControlRunAgainDraft/properties/sourceRunId",
400
+ "description": "Internal belt-child provenance only; equals parentRunId and is rejected on direct POST /runs."
397
401
  },
398
402
  "retryOf": {
399
403
  "$ref": "#/definitions/ControlRunAgainDraft/properties/sourceRunId",
@@ -453,7 +457,7 @@
453
457
  "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`)."
454
458
  },
455
459
  "minItems": 1,
456
- "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."
460
+ "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."
457
461
  },
458
462
  "authPreference": {
459
463
  "type": "string",
@@ -478,7 +482,7 @@
478
482
  },
479
483
  "delegate": {
480
484
  "type": "boolean",
481
- "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."
485
+ "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."
482
486
  },
483
487
  "maxSeconds": {
484
488
  "type": "integer",
@@ -0,0 +1,217 @@
1
+ {
2
+ "$ref": "#/definitions/ControlRunApplicabilityResponse",
3
+ "definitions": {
4
+ "ControlRunApplicabilityResponse": {
5
+ "type": "object",
6
+ "properties": {
7
+ "repoRoot": {
8
+ "type": "string",
9
+ "minLength": 1,
10
+ "description": "Exact absolute project root for which this projection was computed."
11
+ },
12
+ "git": {
13
+ "type": "object",
14
+ "properties": {
15
+ "status": {
16
+ "type": "string",
17
+ "enum": [
18
+ "available",
19
+ "missing",
20
+ "developer_tools_stub",
21
+ "failed"
22
+ ]
23
+ },
24
+ "version": {
25
+ "type": [
26
+ "string",
27
+ "null"
28
+ ]
29
+ },
30
+ "detail": {
31
+ "type": [
32
+ "string",
33
+ "null"
34
+ ]
35
+ },
36
+ "remediation": {
37
+ "type": [
38
+ "string",
39
+ "null"
40
+ ]
41
+ }
42
+ },
43
+ "required": [
44
+ "status",
45
+ "version",
46
+ "detail",
47
+ "remediation"
48
+ ],
49
+ "additionalProperties": false,
50
+ "description": "Live Git readiness used for every applicability cell."
51
+ },
52
+ "matrix": {
53
+ "type": "object",
54
+ "properties": {
55
+ "in_place": {
56
+ "type": "object",
57
+ "properties": {
58
+ "read_only": {
59
+ "type": "object",
60
+ "properties": {
61
+ "applicable": {
62
+ "type": "boolean",
63
+ "description": "Whether the current Git capability admits this shape; other run preconditions are out of scope."
64
+ },
65
+ "requiresGit": {
66
+ "type": "boolean",
67
+ "description": "Whether this run/workspace shape crosses a Git-backed engine boundary."
68
+ },
69
+ "code": {
70
+ "anyOf": [
71
+ {
72
+ "type": "string",
73
+ "enum": [
74
+ "git_missing",
75
+ "git_developer_tools_stub",
76
+ "git_failed"
77
+ ]
78
+ },
79
+ {
80
+ "type": "null"
81
+ }
82
+ ],
83
+ "description": "Stable refusal code when not applicable; null when applicable."
84
+ },
85
+ "reason": {
86
+ "type": [
87
+ "string",
88
+ "null"
89
+ ],
90
+ "description": "Human causal explanation when not applicable; null when applicable."
91
+ },
92
+ "remediation": {
93
+ "type": [
94
+ "string",
95
+ "null"
96
+ ],
97
+ "description": "Exact recovery action when not applicable; null when applicable."
98
+ }
99
+ },
100
+ "required": [
101
+ "applicable",
102
+ "requiresGit",
103
+ "code",
104
+ "reason",
105
+ "remediation"
106
+ ],
107
+ "additionalProperties": false,
108
+ "description": "Ask or Plan."
109
+ },
110
+ "agent_convergence": {
111
+ "type": "object",
112
+ "properties": {
113
+ "applicable": {
114
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/read_only/properties/applicable"
115
+ },
116
+ "requiresGit": {
117
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/read_only/properties/requiresGit"
118
+ },
119
+ "code": {
120
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/read_only/properties/code"
121
+ },
122
+ "reason": {
123
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/read_only/properties/reason"
124
+ },
125
+ "remediation": {
126
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/read_only/properties/remediation"
127
+ }
128
+ },
129
+ "required": [
130
+ "applicable",
131
+ "requiresGit",
132
+ "code",
133
+ "reason",
134
+ "remediation"
135
+ ],
136
+ "additionalProperties": false,
137
+ "description": "Agent with an actual attempts cap or until-clean flag on the wire."
138
+ },
139
+ "agent_other": {
140
+ "type": "object",
141
+ "properties": {
142
+ "applicable": {
143
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/read_only/properties/applicable"
144
+ },
145
+ "requiresGit": {
146
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/read_only/properties/requiresGit"
147
+ },
148
+ "code": {
149
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/read_only/properties/code"
150
+ },
151
+ "reason": {
152
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/read_only/properties/reason"
153
+ },
154
+ "remediation": {
155
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/read_only/properties/remediation"
156
+ }
157
+ },
158
+ "required": [
159
+ "applicable",
160
+ "requiresGit",
161
+ "code",
162
+ "reason",
163
+ "remediation"
164
+ ],
165
+ "additionalProperties": false,
166
+ "description": "Plain Agent, Best-of, Create, or any other Agent wire shape."
167
+ }
168
+ },
169
+ "required": [
170
+ "read_only",
171
+ "agent_convergence",
172
+ "agent_other"
173
+ ],
174
+ "additionalProperties": false,
175
+ "description": "An in-place thread workspace."
176
+ },
177
+ "isolated": {
178
+ "type": "object",
179
+ "properties": {
180
+ "read_only": {
181
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/read_only"
182
+ },
183
+ "agent_convergence": {
184
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/agent_convergence"
185
+ },
186
+ "agent_other": {
187
+ "$ref": "#/definitions/ControlRunApplicabilityResponse/properties/matrix/properties/in_place/properties/agent_other"
188
+ }
189
+ },
190
+ "required": [
191
+ "read_only",
192
+ "agent_convergence",
193
+ "agent_other"
194
+ ],
195
+ "additionalProperties": false,
196
+ "description": "A persistent isolated thread worktree."
197
+ }
198
+ },
199
+ "required": [
200
+ "in_place",
201
+ "isolated"
202
+ ],
203
+ "additionalProperties": false,
204
+ "description": "Root-scoped Git applicability for every composer run/workspace shape."
205
+ }
206
+ },
207
+ "required": [
208
+ "repoRoot",
209
+ "git",
210
+ "matrix"
211
+ ],
212
+ "additionalProperties": false,
213
+ "description": "Root-scoped Git applicability projected by the engine; this is not total run readiness."
214
+ }
215
+ },
216
+ "$schema": "http://json-schema.org/draft-07/schema#"
217
+ }
@@ -24,6 +24,14 @@
24
24
  "minLength": 1,
25
25
  "description": "Run the control was applied to."
26
26
  },
27
+ "cascadeRunIds": {
28
+ "type": "array",
29
+ "items": {
30
+ "$ref": "#/definitions/ControlRunControlResponse/properties/runId"
31
+ },
32
+ "default": [],
33
+ "description": "Active Claudexor Delegate descendants included in this cancellation."
34
+ },
27
35
  "message": {
28
36
  "type": "string",
29
37
  "description": "Human-readable detail."