@claudexor/schema 3.1.1 → 3.1.2
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.
- package/dist/agent-capabilities.d.ts +89 -1
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +5 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +102 -0
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +17 -0
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/budget.d.ts +4 -4
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +2 -0
- package/dist/budget.js.map +1 -1
- package/dist/control-operation-responses.d.ts +133 -29
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +25 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +1405 -197
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +6 -0
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +2 -2
- package/dist/control.d.ts +351 -79
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +23 -28
- package/dist/control.js.map +1 -1
- package/dist/decision.d.ts +5 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +7 -3
- package/dist/decision.js.map +1 -1
- package/dist/delegation.d.ts +73 -0
- package/dist/delegation.d.ts.map +1 -0
- package/dist/delegation.js +120 -0
- package/dist/delegation.js.map +1 -0
- package/dist/events.d.ts +4 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +3 -0
- package/dist/events.js.map +1 -1
- package/dist/harness.d.ts +15 -15
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +10 -14
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/readiness.d.ts +38 -0
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +4 -0
- package/dist/readiness.js.map +1 -1
- package/dist/request-requirements.d.ts +7 -7
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +2 -1
- package/dist/request-requirements.js.map +1 -1
- package/dist/task.d.ts +42 -0
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +11 -0
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +87 -49
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +6 -9
- package/dist/telemetry.js.map +1 -1
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +7 -7
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +39 -1
- package/generated/ControlHarnessListResponse.schema.json +48 -2
- package/generated/ControlRunAgainDraft.schema.json +6 -2
- package/generated/ControlRunControlResponse.schema.json +8 -0
- package/generated/ControlRunDetail.schema.json +116 -14
- package/generated/ControlRunListResponse.schema.json +93 -9
- package/generated/ControlRunStartRequest.schema.json +6 -2
- package/generated/ControlRunSummary.schema.json +93 -9
- package/generated/ControlThreadDetail.schema.json +64 -0
- package/generated/ControlThreadTurnRequest.schema.json +1 -1
- package/generated/DecisionRecord.schema.json +10 -1
- package/generated/HarnessManifest.schema.json +2 -2
- package/generated/HarnessStatusDto.schema.json +48 -2
- package/generated/McpRunHandleResult.schema.json +72 -1
- package/generated/McpRunToolResult.schema.json +69 -0
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunFailure.schema.json +4 -3
- package/generated/RunTelemetry.schema.json +61 -2
- package/generated/TaskContract.schema.json +43 -3
- package/generated/WorkspaceEnvelope.schema.json +6 -6
- package/package.json +2 -2
|
@@ -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 =
|
|
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 =>
|
|
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,
|
|
@@ -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": [
|
|
@@ -393,7 +393,11 @@
|
|
|
393
393
|
},
|
|
394
394
|
"parentRunId": {
|
|
395
395
|
"$ref": "#/definitions/ControlRunAgainDraft/properties/sourceRunId",
|
|
396
|
-
"description": "
|
|
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",
|
|
@@ -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;
|
|
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",
|
|
@@ -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."
|
|
@@ -15,6 +15,87 @@
|
|
|
15
15
|
"type": "string",
|
|
16
16
|
"description": "Run id."
|
|
17
17
|
},
|
|
18
|
+
"parentRunId": {
|
|
19
|
+
"anyOf": [
|
|
20
|
+
{
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1,
|
|
23
|
+
"description": "Non-empty identifier string."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "null"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"description": "Parent/follow-up run id, when any.",
|
|
30
|
+
"default": null
|
|
31
|
+
},
|
|
32
|
+
"delegatedFromRunId": {
|
|
33
|
+
"anyOf": [
|
|
34
|
+
{
|
|
35
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "null"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"description": "Claudexor Delegate parent run id; null for ordinary runs and native vendor subagents.",
|
|
42
|
+
"default": null
|
|
43
|
+
},
|
|
44
|
+
"delegation": {
|
|
45
|
+
"anyOf": [
|
|
46
|
+
{
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"requested": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"default": false
|
|
52
|
+
},
|
|
53
|
+
"effective": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"default": false
|
|
56
|
+
},
|
|
57
|
+
"used": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"default": false
|
|
60
|
+
},
|
|
61
|
+
"reason": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"enum": [
|
|
64
|
+
"pending",
|
|
65
|
+
"not_requested",
|
|
66
|
+
"injected_unused",
|
|
67
|
+
"used",
|
|
68
|
+
"runtime_unavailable",
|
|
69
|
+
"manifest_unsupported",
|
|
70
|
+
"access_profile_incompatible",
|
|
71
|
+
"partially_degraded",
|
|
72
|
+
"startup_failed"
|
|
73
|
+
],
|
|
74
|
+
"default": "not_requested"
|
|
75
|
+
},
|
|
76
|
+
"remediation": {
|
|
77
|
+
"anyOf": [
|
|
78
|
+
{
|
|
79
|
+
"type": "string",
|
|
80
|
+
"minLength": 1
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "null"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"default": null
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"additionalProperties": false,
|
|
90
|
+
"description": "Engine-owned Delegate requested/effective/used receipt; surfaces project it without parsing model output."
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "null"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"description": "Durable Delegate requested/effective/used receipt projected from engine telemetry; null when legacy telemetry has no receipt.",
|
|
97
|
+
"default": null
|
|
98
|
+
},
|
|
18
99
|
"taskId": {
|
|
19
100
|
"type": "string",
|
|
20
101
|
"description": "Task id, when allocated."
|
|
@@ -77,15 +158,16 @@
|
|
|
77
158
|
"estimate_headroom",
|
|
78
159
|
"unknown_paid_in_flight",
|
|
79
160
|
"budget_overshoot",
|
|
80
|
-
"cost_unverifiable"
|
|
161
|
+
"cost_unverifiable",
|
|
162
|
+
"delegation_child_drain_timeout"
|
|
81
163
|
],
|
|
82
|
-
"description": "Machine-readable failure sub-code within a RunFailure category (
|
|
164
|
+
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons and Delegate child-drain timeout)."
|
|
83
165
|
},
|
|
84
166
|
{
|
|
85
167
|
"type": "null"
|
|
86
168
|
}
|
|
87
169
|
],
|
|
88
|
-
"description": "Machine-readable failure sub-code within the category
|
|
170
|
+
"description": "Machine-readable failure sub-code within the category; null when the category alone is sufficient. Surfaces choose remediation from this, never by parsing safeMessage.",
|
|
89
171
|
"default": null
|
|
90
172
|
},
|
|
91
173
|
"harnessId": {
|
|
@@ -365,7 +447,7 @@
|
|
|
365
447
|
},
|
|
366
448
|
"spendEstimated": {
|
|
367
449
|
"type": "boolean",
|
|
368
|
-
"description": "True when
|
|
450
|
+
"description": "True when settled cash is estimated rather than exact."
|
|
369
451
|
},
|
|
370
452
|
"inputTokens": {
|
|
371
453
|
"anyOf": [
|
|
@@ -662,7 +744,8 @@
|
|
|
662
744
|
"type": "string",
|
|
663
745
|
"enum": [
|
|
664
746
|
"browser",
|
|
665
|
-
"path_deny"
|
|
747
|
+
"path_deny",
|
|
748
|
+
"delegation"
|
|
666
749
|
]
|
|
667
750
|
},
|
|
668
751
|
"harness_id": {
|
|
@@ -686,6 +769,7 @@
|
|
|
686
769
|
"manifest_unsupported",
|
|
687
770
|
"web_policy_off",
|
|
688
771
|
"access_profile_incompatible",
|
|
772
|
+
"runtime_unavailable",
|
|
689
773
|
"postdiff_only"
|
|
690
774
|
]
|
|
691
775
|
},
|
|
@@ -1073,9 +1157,7 @@
|
|
|
1073
1157
|
"order": {
|
|
1074
1158
|
"type": "array",
|
|
1075
1159
|
"items": {
|
|
1076
|
-
"
|
|
1077
|
-
"minLength": 1,
|
|
1078
|
-
"description": "Non-empty identifier string."
|
|
1160
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1079
1161
|
},
|
|
1080
1162
|
"default": [],
|
|
1081
1163
|
"description": "Final ranked order, harness ids."
|
|
@@ -1083,7 +1165,7 @@
|
|
|
1083
1165
|
"dropped": {
|
|
1084
1166
|
"type": "array",
|
|
1085
1167
|
"items": {
|
|
1086
|
-
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/
|
|
1168
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1087
1169
|
},
|
|
1088
1170
|
"default": [],
|
|
1089
1171
|
"description": "Ids removed by paid_fallback or cooldown before ranking."
|
|
@@ -1096,6 +1178,8 @@
|
|
|
1096
1178
|
"quality_tier",
|
|
1097
1179
|
"expiring_quota_slack",
|
|
1098
1180
|
"all_incremental_cash_unknown",
|
|
1181
|
+
"delegate_effective_first",
|
|
1182
|
+
"explicit_primary",
|
|
1099
1183
|
"declared_order"
|
|
1100
1184
|
],
|
|
1101
1185
|
"description": "Typed decisive reason the pool ranked the way it did (QA-034)."
|
|
@@ -1225,6 +1309,15 @@
|
|
|
1225
1309
|
"additionalProperties": false,
|
|
1226
1310
|
"description": "Run summary row served by GET /runs and embedded in run detail: state, routing, budget, policies, and honest outcome."
|
|
1227
1311
|
},
|
|
1312
|
+
"children": {
|
|
1313
|
+
"type": "array",
|
|
1314
|
+
"items": {
|
|
1315
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary"
|
|
1316
|
+
},
|
|
1317
|
+
"maxItems": 8,
|
|
1318
|
+
"default": [],
|
|
1319
|
+
"description": "Direct Claudexor Delegate child runs, projected from persisted delegatedFromRunId lineage for reload-safe flat rows."
|
|
1320
|
+
},
|
|
1228
1321
|
"outcomeBanner": {
|
|
1229
1322
|
"type": [
|
|
1230
1323
|
"string",
|
|
@@ -1480,7 +1573,7 @@
|
|
|
1480
1573
|
"estimated": {
|
|
1481
1574
|
"type": "boolean",
|
|
1482
1575
|
"default": false,
|
|
1483
|
-
"description": "True when
|
|
1576
|
+
"description": "True when settled cash is estimated rather than exact; subscription valuation confidence is reported separately."
|
|
1484
1577
|
},
|
|
1485
1578
|
"source": {
|
|
1486
1579
|
"type": "string",
|
|
@@ -1524,7 +1617,7 @@
|
|
|
1524
1617
|
"winner": {
|
|
1525
1618
|
"anyOf": [
|
|
1526
1619
|
{
|
|
1527
|
-
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/
|
|
1620
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1528
1621
|
},
|
|
1529
1622
|
{
|
|
1530
1623
|
"type": "null"
|
|
@@ -1664,7 +1757,7 @@
|
|
|
1664
1757
|
"estimated": {
|
|
1665
1758
|
"type": "boolean",
|
|
1666
1759
|
"default": false,
|
|
1667
|
-
"description": "True when
|
|
1760
|
+
"description": "True when settled cash is estimated rather than exact."
|
|
1668
1761
|
},
|
|
1669
1762
|
"cash_usd": {
|
|
1670
1763
|
"type": [
|
|
@@ -1681,6 +1774,15 @@
|
|
|
1681
1774
|
],
|
|
1682
1775
|
"default": null,
|
|
1683
1776
|
"description": "Settled subscription-equivalent valuation in USD (includes the reviewer panel); null when unknown."
|
|
1777
|
+
},
|
|
1778
|
+
"valuation_knowledge": {
|
|
1779
|
+
"type": "string",
|
|
1780
|
+
"enum": [
|
|
1781
|
+
"exact",
|
|
1782
|
+
"estimated",
|
|
1783
|
+
"unknown"
|
|
1784
|
+
],
|
|
1785
|
+
"description": "Certainty of valuation_usd, independent from the settled-cash estimated flag. Absent only on legacy decisions."
|
|
1684
1786
|
}
|
|
1685
1787
|
},
|
|
1686
1788
|
"additionalProperties": false,
|
|
@@ -1874,7 +1976,7 @@
|
|
|
1874
1976
|
"description": "Task the work product came from."
|
|
1875
1977
|
},
|
|
1876
1978
|
"producer_attempt_id": {
|
|
1877
|
-
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/
|
|
1979
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0",
|
|
1878
1980
|
"description": "Attempt that produced it, when known."
|
|
1879
1981
|
},
|
|
1880
1982
|
"evidence_dir": {
|
|
@@ -2194,7 +2296,7 @@
|
|
|
2194
2296
|
"linked_acceptance_criteria": {
|
|
2195
2297
|
"type": "array",
|
|
2196
2298
|
"items": {
|
|
2197
|
-
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/
|
|
2299
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
2198
2300
|
},
|
|
2199
2301
|
"default": [],
|
|
2200
2302
|
"description": "Ids of acceptance criteria this finding relates to."
|
|
@@ -17,6 +17,87 @@
|
|
|
17
17
|
"type": "string",
|
|
18
18
|
"description": "Run id."
|
|
19
19
|
},
|
|
20
|
+
"parentRunId": {
|
|
21
|
+
"anyOf": [
|
|
22
|
+
{
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 1,
|
|
25
|
+
"description": "Non-empty identifier string."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "null"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"description": "Parent/follow-up run id, when any.",
|
|
32
|
+
"default": null
|
|
33
|
+
},
|
|
34
|
+
"delegatedFromRunId": {
|
|
35
|
+
"anyOf": [
|
|
36
|
+
{
|
|
37
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/parentRunId/anyOf/0"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "null"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"description": "Claudexor Delegate parent run id; null for ordinary runs and native vendor subagents.",
|
|
44
|
+
"default": null
|
|
45
|
+
},
|
|
46
|
+
"delegation": {
|
|
47
|
+
"anyOf": [
|
|
48
|
+
{
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"requested": {
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"default": false
|
|
54
|
+
},
|
|
55
|
+
"effective": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"default": false
|
|
58
|
+
},
|
|
59
|
+
"used": {
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"default": false
|
|
62
|
+
},
|
|
63
|
+
"reason": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"enum": [
|
|
66
|
+
"pending",
|
|
67
|
+
"not_requested",
|
|
68
|
+
"injected_unused",
|
|
69
|
+
"used",
|
|
70
|
+
"runtime_unavailable",
|
|
71
|
+
"manifest_unsupported",
|
|
72
|
+
"access_profile_incompatible",
|
|
73
|
+
"partially_degraded",
|
|
74
|
+
"startup_failed"
|
|
75
|
+
],
|
|
76
|
+
"default": "not_requested"
|
|
77
|
+
},
|
|
78
|
+
"remediation": {
|
|
79
|
+
"anyOf": [
|
|
80
|
+
{
|
|
81
|
+
"type": "string",
|
|
82
|
+
"minLength": 1
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "null"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"default": null
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"additionalProperties": false,
|
|
92
|
+
"description": "Engine-owned Delegate requested/effective/used receipt; surfaces project it without parsing model output."
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "null"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"description": "Durable Delegate requested/effective/used receipt projected from engine telemetry; null when legacy telemetry has no receipt.",
|
|
99
|
+
"default": null
|
|
100
|
+
},
|
|
20
101
|
"taskId": {
|
|
21
102
|
"type": "string",
|
|
22
103
|
"description": "Task id, when allocated."
|
|
@@ -79,15 +160,16 @@
|
|
|
79
160
|
"estimate_headroom",
|
|
80
161
|
"unknown_paid_in_flight",
|
|
81
162
|
"budget_overshoot",
|
|
82
|
-
"cost_unverifiable"
|
|
163
|
+
"cost_unverifiable",
|
|
164
|
+
"delegation_child_drain_timeout"
|
|
83
165
|
],
|
|
84
|
-
"description": "Machine-readable failure sub-code within a RunFailure category (
|
|
166
|
+
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons and Delegate child-drain timeout)."
|
|
85
167
|
},
|
|
86
168
|
{
|
|
87
169
|
"type": "null"
|
|
88
170
|
}
|
|
89
171
|
],
|
|
90
|
-
"description": "Machine-readable failure sub-code within the category
|
|
172
|
+
"description": "Machine-readable failure sub-code within the category; null when the category alone is sufficient. Surfaces choose remediation from this, never by parsing safeMessage.",
|
|
91
173
|
"default": null
|
|
92
174
|
},
|
|
93
175
|
"harnessId": {
|
|
@@ -367,7 +449,7 @@
|
|
|
367
449
|
},
|
|
368
450
|
"spendEstimated": {
|
|
369
451
|
"type": "boolean",
|
|
370
|
-
"description": "True when
|
|
452
|
+
"description": "True when settled cash is estimated rather than exact."
|
|
371
453
|
},
|
|
372
454
|
"inputTokens": {
|
|
373
455
|
"anyOf": [
|
|
@@ -664,7 +746,8 @@
|
|
|
664
746
|
"type": "string",
|
|
665
747
|
"enum": [
|
|
666
748
|
"browser",
|
|
667
|
-
"path_deny"
|
|
749
|
+
"path_deny",
|
|
750
|
+
"delegation"
|
|
668
751
|
]
|
|
669
752
|
},
|
|
670
753
|
"harness_id": {
|
|
@@ -688,6 +771,7 @@
|
|
|
688
771
|
"manifest_unsupported",
|
|
689
772
|
"web_policy_off",
|
|
690
773
|
"access_profile_incompatible",
|
|
774
|
+
"runtime_unavailable",
|
|
691
775
|
"postdiff_only"
|
|
692
776
|
]
|
|
693
777
|
},
|
|
@@ -1075,9 +1159,7 @@
|
|
|
1075
1159
|
"order": {
|
|
1076
1160
|
"type": "array",
|
|
1077
1161
|
"items": {
|
|
1078
|
-
"
|
|
1079
|
-
"minLength": 1,
|
|
1080
|
-
"description": "Non-empty identifier string."
|
|
1162
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/parentRunId/anyOf/0"
|
|
1081
1163
|
},
|
|
1082
1164
|
"default": [],
|
|
1083
1165
|
"description": "Final ranked order, harness ids."
|
|
@@ -1085,7 +1167,7 @@
|
|
|
1085
1167
|
"dropped": {
|
|
1086
1168
|
"type": "array",
|
|
1087
1169
|
"items": {
|
|
1088
|
-
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/
|
|
1170
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/parentRunId/anyOf/0"
|
|
1089
1171
|
},
|
|
1090
1172
|
"default": [],
|
|
1091
1173
|
"description": "Ids removed by paid_fallback or cooldown before ranking."
|
|
@@ -1098,6 +1180,8 @@
|
|
|
1098
1180
|
"quality_tier",
|
|
1099
1181
|
"expiring_quota_slack",
|
|
1100
1182
|
"all_incremental_cash_unknown",
|
|
1183
|
+
"delegate_effective_first",
|
|
1184
|
+
"explicit_primary",
|
|
1101
1185
|
"declared_order"
|
|
1102
1186
|
],
|
|
1103
1187
|
"description": "Typed decisive reason the pool ranked the way it did (QA-034)."
|
|
@@ -386,7 +386,11 @@
|
|
|
386
386
|
},
|
|
387
387
|
"parentRunId": {
|
|
388
388
|
"$ref": "#/definitions/ControlRunStartRequest/properties/threadId",
|
|
389
|
-
"description": "
|
|
389
|
+
"description": "Server-owned parent/follow-up lineage; rejected on direct POST /runs."
|
|
390
|
+
},
|
|
391
|
+
"delegatedFromRunId": {
|
|
392
|
+
"$ref": "#/definitions/ControlRunStartRequest/properties/threadId",
|
|
393
|
+
"description": "Internal belt-child provenance only; equals parentRunId and is rejected on direct POST /runs."
|
|
390
394
|
},
|
|
391
395
|
"retryOf": {
|
|
392
396
|
"$ref": "#/definitions/ControlRunStartRequest/properties/threadId",
|
|
@@ -471,7 +475,7 @@
|
|
|
471
475
|
},
|
|
472
476
|
"delegate": {
|
|
473
477
|
"type": "boolean",
|
|
474
|
-
"description": "Agent-only: inject the Claudexor delegation belt so the harness can spawn bounded isolated sub-runs;
|
|
478
|
+
"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."
|
|
475
479
|
},
|
|
476
480
|
"maxSeconds": {
|
|
477
481
|
"type": "integer",
|