@claudexor/schema 3.1.0 → 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 +97 -9
- 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 +13 -13
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +2 -0
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +70 -38
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +12 -1
- package/dist/config.js.map +1 -1
- package/dist/control-operation-responses.d.ts +160 -56
- 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 +1413 -205
- 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 +486 -163
- 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/effort.d.ts +132 -0
- package/dist/effort.d.ts.map +1 -0
- package/dist/effort.js +167 -0
- package/dist/effort.js.map +1 -0
- package/dist/events.d.ts +4 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +9 -0
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +2 -2
- package/dist/harness.d.ts +113 -40
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +40 -27
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +16 -16
- package/dist/readiness.d.ts +86 -7
- 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 +104 -59
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +20 -8
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +103 -65
- 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 +43 -9
- package/generated/ControlHarnessListResponse.schema.json +93 -11
- package/generated/ControlHarnessSettingsPatch.schema.json +4 -8
- package/generated/ControlRunAgainDraft.schema.json +9 -9
- package/generated/ControlRunControlResponse.schema.json +8 -0
- package/generated/ControlRunDetail.schema.json +119 -21
- package/generated/ControlRunListResponse.schema.json +96 -16
- package/generated/ControlRunStartRequest.schema.json +9 -9
- package/generated/ControlRunSummary.schema.json +96 -16
- package/generated/ControlSettingsSnapshot.schema.json +4 -8
- package/generated/ControlSettingsUpdateRequest.schema.json +4 -8
- package/generated/ControlThreadDetail.schema.json +64 -0
- package/generated/ControlThreadTurnRequest.schema.json +4 -8
- package/generated/DecisionRecord.schema.json +10 -1
- package/generated/GlobalConfig.schema.json +4 -8
- package/generated/HarnessManifest.schema.json +47 -11
- package/generated/HarnessStatusDto.schema.json +93 -11
- package/generated/McpRunHandleResult.schema.json +72 -1
- package/generated/McpRunToolResult.schema.json +69 -0
- package/generated/ProjectConfig.schema.json +26 -0
- package/generated/RunEvent.schema.json +2 -0
- package/generated/RunFailure.schema.json +4 -3
- package/generated/RunTelemetry.schema.json +61 -2
- package/generated/TaskContract.schema.json +48 -12
- package/generated/WorkspaceEnvelope.schema.json +6 -6
- package/package.json +2 -2
|
@@ -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": {
|
|
@@ -278,13 +360,9 @@
|
|
|
278
360
|
},
|
|
279
361
|
"effort": {
|
|
280
362
|
"type": "string",
|
|
281
|
-
"
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
"high",
|
|
285
|
-
"xhigh",
|
|
286
|
-
"max"
|
|
287
|
-
],
|
|
363
|
+
"minLength": 1,
|
|
364
|
+
"maxLength": 32,
|
|
365
|
+
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
288
366
|
"description": "Per-reviewer effort hint, passed to that harness only."
|
|
289
367
|
}
|
|
290
368
|
},
|
|
@@ -369,7 +447,7 @@
|
|
|
369
447
|
},
|
|
370
448
|
"spendEstimated": {
|
|
371
449
|
"type": "boolean",
|
|
372
|
-
"description": "True when
|
|
450
|
+
"description": "True when settled cash is estimated rather than exact."
|
|
373
451
|
},
|
|
374
452
|
"inputTokens": {
|
|
375
453
|
"anyOf": [
|
|
@@ -666,7 +744,8 @@
|
|
|
666
744
|
"type": "string",
|
|
667
745
|
"enum": [
|
|
668
746
|
"browser",
|
|
669
|
-
"path_deny"
|
|
747
|
+
"path_deny",
|
|
748
|
+
"delegation"
|
|
670
749
|
]
|
|
671
750
|
},
|
|
672
751
|
"harness_id": {
|
|
@@ -690,6 +769,7 @@
|
|
|
690
769
|
"manifest_unsupported",
|
|
691
770
|
"web_policy_off",
|
|
692
771
|
"access_profile_incompatible",
|
|
772
|
+
"runtime_unavailable",
|
|
693
773
|
"postdiff_only"
|
|
694
774
|
]
|
|
695
775
|
},
|
|
@@ -1077,9 +1157,7 @@
|
|
|
1077
1157
|
"order": {
|
|
1078
1158
|
"type": "array",
|
|
1079
1159
|
"items": {
|
|
1080
|
-
"
|
|
1081
|
-
"minLength": 1,
|
|
1082
|
-
"description": "Non-empty identifier string."
|
|
1160
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1083
1161
|
},
|
|
1084
1162
|
"default": [],
|
|
1085
1163
|
"description": "Final ranked order, harness ids."
|
|
@@ -1087,7 +1165,7 @@
|
|
|
1087
1165
|
"dropped": {
|
|
1088
1166
|
"type": "array",
|
|
1089
1167
|
"items": {
|
|
1090
|
-
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/
|
|
1168
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1091
1169
|
},
|
|
1092
1170
|
"default": [],
|
|
1093
1171
|
"description": "Ids removed by paid_fallback or cooldown before ranking."
|
|
@@ -1100,6 +1178,8 @@
|
|
|
1100
1178
|
"quality_tier",
|
|
1101
1179
|
"expiring_quota_slack",
|
|
1102
1180
|
"all_incremental_cash_unknown",
|
|
1181
|
+
"delegate_effective_first",
|
|
1182
|
+
"explicit_primary",
|
|
1103
1183
|
"declared_order"
|
|
1104
1184
|
],
|
|
1105
1185
|
"description": "Typed decisive reason the pool ranked the way it did (QA-034)."
|
|
@@ -1229,6 +1309,15 @@
|
|
|
1229
1309
|
"additionalProperties": false,
|
|
1230
1310
|
"description": "Run summary row served by GET /runs and embedded in run detail: state, routing, budget, policies, and honest outcome."
|
|
1231
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
|
+
},
|
|
1232
1321
|
"outcomeBanner": {
|
|
1233
1322
|
"type": [
|
|
1234
1323
|
"string",
|
|
@@ -1484,7 +1573,7 @@
|
|
|
1484
1573
|
"estimated": {
|
|
1485
1574
|
"type": "boolean",
|
|
1486
1575
|
"default": false,
|
|
1487
|
-
"description": "True when
|
|
1576
|
+
"description": "True when settled cash is estimated rather than exact; subscription valuation confidence is reported separately."
|
|
1488
1577
|
},
|
|
1489
1578
|
"source": {
|
|
1490
1579
|
"type": "string",
|
|
@@ -1528,7 +1617,7 @@
|
|
|
1528
1617
|
"winner": {
|
|
1529
1618
|
"anyOf": [
|
|
1530
1619
|
{
|
|
1531
|
-
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/
|
|
1620
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1532
1621
|
},
|
|
1533
1622
|
{
|
|
1534
1623
|
"type": "null"
|
|
@@ -1668,7 +1757,7 @@
|
|
|
1668
1757
|
"estimated": {
|
|
1669
1758
|
"type": "boolean",
|
|
1670
1759
|
"default": false,
|
|
1671
|
-
"description": "True when
|
|
1760
|
+
"description": "True when settled cash is estimated rather than exact."
|
|
1672
1761
|
},
|
|
1673
1762
|
"cash_usd": {
|
|
1674
1763
|
"type": [
|
|
@@ -1685,6 +1774,15 @@
|
|
|
1685
1774
|
],
|
|
1686
1775
|
"default": null,
|
|
1687
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."
|
|
1688
1786
|
}
|
|
1689
1787
|
},
|
|
1690
1788
|
"additionalProperties": false,
|
|
@@ -1878,7 +1976,7 @@
|
|
|
1878
1976
|
"description": "Task the work product came from."
|
|
1879
1977
|
},
|
|
1880
1978
|
"producer_attempt_id": {
|
|
1881
|
-
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/
|
|
1979
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0",
|
|
1882
1980
|
"description": "Attempt that produced it, when known."
|
|
1883
1981
|
},
|
|
1884
1982
|
"evidence_dir": {
|
|
@@ -2198,7 +2296,7 @@
|
|
|
2198
2296
|
"linked_acceptance_criteria": {
|
|
2199
2297
|
"type": "array",
|
|
2200
2298
|
"items": {
|
|
2201
|
-
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/
|
|
2299
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
2202
2300
|
},
|
|
2203
2301
|
"default": [],
|
|
2204
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": {
|
|
@@ -280,13 +362,9 @@
|
|
|
280
362
|
},
|
|
281
363
|
"effort": {
|
|
282
364
|
"type": "string",
|
|
283
|
-
"
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
"high",
|
|
287
|
-
"xhigh",
|
|
288
|
-
"max"
|
|
289
|
-
],
|
|
365
|
+
"minLength": 1,
|
|
366
|
+
"maxLength": 32,
|
|
367
|
+
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
290
368
|
"description": "Per-reviewer effort hint, passed to that harness only."
|
|
291
369
|
}
|
|
292
370
|
},
|
|
@@ -371,7 +449,7 @@
|
|
|
371
449
|
},
|
|
372
450
|
"spendEstimated": {
|
|
373
451
|
"type": "boolean",
|
|
374
|
-
"description": "True when
|
|
452
|
+
"description": "True when settled cash is estimated rather than exact."
|
|
375
453
|
},
|
|
376
454
|
"inputTokens": {
|
|
377
455
|
"anyOf": [
|
|
@@ -668,7 +746,8 @@
|
|
|
668
746
|
"type": "string",
|
|
669
747
|
"enum": [
|
|
670
748
|
"browser",
|
|
671
|
-
"path_deny"
|
|
749
|
+
"path_deny",
|
|
750
|
+
"delegation"
|
|
672
751
|
]
|
|
673
752
|
},
|
|
674
753
|
"harness_id": {
|
|
@@ -692,6 +771,7 @@
|
|
|
692
771
|
"manifest_unsupported",
|
|
693
772
|
"web_policy_off",
|
|
694
773
|
"access_profile_incompatible",
|
|
774
|
+
"runtime_unavailable",
|
|
695
775
|
"postdiff_only"
|
|
696
776
|
]
|
|
697
777
|
},
|
|
@@ -1079,9 +1159,7 @@
|
|
|
1079
1159
|
"order": {
|
|
1080
1160
|
"type": "array",
|
|
1081
1161
|
"items": {
|
|
1082
|
-
"
|
|
1083
|
-
"minLength": 1,
|
|
1084
|
-
"description": "Non-empty identifier string."
|
|
1162
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/parentRunId/anyOf/0"
|
|
1085
1163
|
},
|
|
1086
1164
|
"default": [],
|
|
1087
1165
|
"description": "Final ranked order, harness ids."
|
|
@@ -1089,7 +1167,7 @@
|
|
|
1089
1167
|
"dropped": {
|
|
1090
1168
|
"type": "array",
|
|
1091
1169
|
"items": {
|
|
1092
|
-
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/
|
|
1170
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/parentRunId/anyOf/0"
|
|
1093
1171
|
},
|
|
1094
1172
|
"default": [],
|
|
1095
1173
|
"description": "Ids removed by paid_fallback or cooldown before ranking."
|
|
@@ -1102,6 +1180,8 @@
|
|
|
1102
1180
|
"quality_tier",
|
|
1103
1181
|
"expiring_quota_slack",
|
|
1104
1182
|
"all_incremental_cash_unknown",
|
|
1183
|
+
"delegate_effective_first",
|
|
1184
|
+
"explicit_primary",
|
|
1105
1185
|
"declared_order"
|
|
1106
1186
|
],
|
|
1107
1187
|
"description": "Typed decisive reason the pool ranked the way it did (QA-034)."
|
|
@@ -150,13 +150,9 @@
|
|
|
150
150
|
},
|
|
151
151
|
"effort": {
|
|
152
152
|
"type": "string",
|
|
153
|
-
"
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
"high",
|
|
157
|
-
"xhigh",
|
|
158
|
-
"max"
|
|
159
|
-
],
|
|
153
|
+
"minLength": 1,
|
|
154
|
+
"maxLength": 32,
|
|
155
|
+
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
160
156
|
"description": "Requested reasoning effort."
|
|
161
157
|
},
|
|
162
158
|
"efforts": {
|
|
@@ -390,7 +386,11 @@
|
|
|
390
386
|
},
|
|
391
387
|
"parentRunId": {
|
|
392
388
|
"$ref": "#/definitions/ControlRunStartRequest/properties/threadId",
|
|
393
|
-
"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."
|
|
394
394
|
},
|
|
395
395
|
"retryOf": {
|
|
396
396
|
"$ref": "#/definitions/ControlRunStartRequest/properties/threadId",
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
},
|
|
476
476
|
"delegate": {
|
|
477
477
|
"type": "boolean",
|
|
478
|
-
"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."
|
|
479
479
|
},
|
|
480
480
|
"maxSeconds": {
|
|
481
481
|
"type": "integer",
|
|
@@ -12,6 +12,87 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"description": "Run id."
|
|
14
14
|
},
|
|
15
|
+
"parentRunId": {
|
|
16
|
+
"anyOf": [
|
|
17
|
+
{
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1,
|
|
20
|
+
"description": "Non-empty identifier string."
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "null"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"description": "Parent/follow-up run id, when any.",
|
|
27
|
+
"default": null
|
|
28
|
+
},
|
|
29
|
+
"delegatedFromRunId": {
|
|
30
|
+
"anyOf": [
|
|
31
|
+
{
|
|
32
|
+
"$ref": "#/definitions/ControlRunSummary/properties/parentRunId/anyOf/0"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "null"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"description": "Claudexor Delegate parent run id; null for ordinary runs and native vendor subagents.",
|
|
39
|
+
"default": null
|
|
40
|
+
},
|
|
41
|
+
"delegation": {
|
|
42
|
+
"anyOf": [
|
|
43
|
+
{
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"requested": {
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"default": false
|
|
49
|
+
},
|
|
50
|
+
"effective": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"default": false
|
|
53
|
+
},
|
|
54
|
+
"used": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"default": false
|
|
57
|
+
},
|
|
58
|
+
"reason": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"enum": [
|
|
61
|
+
"pending",
|
|
62
|
+
"not_requested",
|
|
63
|
+
"injected_unused",
|
|
64
|
+
"used",
|
|
65
|
+
"runtime_unavailable",
|
|
66
|
+
"manifest_unsupported",
|
|
67
|
+
"access_profile_incompatible",
|
|
68
|
+
"partially_degraded",
|
|
69
|
+
"startup_failed"
|
|
70
|
+
],
|
|
71
|
+
"default": "not_requested"
|
|
72
|
+
},
|
|
73
|
+
"remediation": {
|
|
74
|
+
"anyOf": [
|
|
75
|
+
{
|
|
76
|
+
"type": "string",
|
|
77
|
+
"minLength": 1
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "null"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"default": null
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"additionalProperties": false,
|
|
87
|
+
"description": "Engine-owned Delegate requested/effective/used receipt; surfaces project it without parsing model output."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "null"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"description": "Durable Delegate requested/effective/used receipt projected from engine telemetry; null when legacy telemetry has no receipt.",
|
|
94
|
+
"default": null
|
|
95
|
+
},
|
|
15
96
|
"taskId": {
|
|
16
97
|
"type": "string",
|
|
17
98
|
"description": "Task id, when allocated."
|
|
@@ -74,15 +155,16 @@
|
|
|
74
155
|
"estimate_headroom",
|
|
75
156
|
"unknown_paid_in_flight",
|
|
76
157
|
"budget_overshoot",
|
|
77
|
-
"cost_unverifiable"
|
|
158
|
+
"cost_unverifiable",
|
|
159
|
+
"delegation_child_drain_timeout"
|
|
78
160
|
],
|
|
79
|
-
"description": "Machine-readable failure sub-code within a RunFailure category (
|
|
161
|
+
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons and Delegate child-drain timeout)."
|
|
80
162
|
},
|
|
81
163
|
{
|
|
82
164
|
"type": "null"
|
|
83
165
|
}
|
|
84
166
|
],
|
|
85
|
-
"description": "Machine-readable failure sub-code within the category
|
|
167
|
+
"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.",
|
|
86
168
|
"default": null
|
|
87
169
|
},
|
|
88
170
|
"harnessId": {
|
|
@@ -275,13 +357,9 @@
|
|
|
275
357
|
},
|
|
276
358
|
"effort": {
|
|
277
359
|
"type": "string",
|
|
278
|
-
"
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
"high",
|
|
282
|
-
"xhigh",
|
|
283
|
-
"max"
|
|
284
|
-
],
|
|
360
|
+
"minLength": 1,
|
|
361
|
+
"maxLength": 32,
|
|
362
|
+
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
285
363
|
"description": "Per-reviewer effort hint, passed to that harness only."
|
|
286
364
|
}
|
|
287
365
|
},
|
|
@@ -366,7 +444,7 @@
|
|
|
366
444
|
},
|
|
367
445
|
"spendEstimated": {
|
|
368
446
|
"type": "boolean",
|
|
369
|
-
"description": "True when
|
|
447
|
+
"description": "True when settled cash is estimated rather than exact."
|
|
370
448
|
},
|
|
371
449
|
"inputTokens": {
|
|
372
450
|
"anyOf": [
|
|
@@ -663,7 +741,8 @@
|
|
|
663
741
|
"type": "string",
|
|
664
742
|
"enum": [
|
|
665
743
|
"browser",
|
|
666
|
-
"path_deny"
|
|
744
|
+
"path_deny",
|
|
745
|
+
"delegation"
|
|
667
746
|
]
|
|
668
747
|
},
|
|
669
748
|
"harness_id": {
|
|
@@ -687,6 +766,7 @@
|
|
|
687
766
|
"manifest_unsupported",
|
|
688
767
|
"web_policy_off",
|
|
689
768
|
"access_profile_incompatible",
|
|
769
|
+
"runtime_unavailable",
|
|
690
770
|
"postdiff_only"
|
|
691
771
|
]
|
|
692
772
|
},
|
|
@@ -1074,9 +1154,7 @@
|
|
|
1074
1154
|
"order": {
|
|
1075
1155
|
"type": "array",
|
|
1076
1156
|
"items": {
|
|
1077
|
-
"
|
|
1078
|
-
"minLength": 1,
|
|
1079
|
-
"description": "Non-empty identifier string."
|
|
1157
|
+
"$ref": "#/definitions/ControlRunSummary/properties/parentRunId/anyOf/0"
|
|
1080
1158
|
},
|
|
1081
1159
|
"default": [],
|
|
1082
1160
|
"description": "Final ranked order, harness ids."
|
|
@@ -1084,7 +1162,7 @@
|
|
|
1084
1162
|
"dropped": {
|
|
1085
1163
|
"type": "array",
|
|
1086
1164
|
"items": {
|
|
1087
|
-
"$ref": "#/definitions/ControlRunSummary/properties/
|
|
1165
|
+
"$ref": "#/definitions/ControlRunSummary/properties/parentRunId/anyOf/0"
|
|
1088
1166
|
},
|
|
1089
1167
|
"default": [],
|
|
1090
1168
|
"description": "Ids removed by paid_fallback or cooldown before ranking."
|
|
@@ -1097,6 +1175,8 @@
|
|
|
1097
1175
|
"quality_tier",
|
|
1098
1176
|
"expiring_quota_slack",
|
|
1099
1177
|
"all_incremental_cash_unknown",
|
|
1178
|
+
"delegate_effective_first",
|
|
1179
|
+
"explicit_primary",
|
|
1100
1180
|
"declared_order"
|
|
1101
1181
|
],
|
|
1102
1182
|
"description": "Typed decisive reason the pool ranked the way it did (QA-034)."
|