@claudexor/schema 2.1.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-capabilities.d.ts +32 -24
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +20 -11
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +166 -0
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +63 -2
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +5 -5
- package/dist/budget.d.ts +4 -4
- package/dist/config.d.ts +59 -41
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -6
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +6 -6
- package/dist/control-operation-responses.d.ts +190 -97
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +14 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +380 -215
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +54 -8
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-thread-apply.d.ts +5 -5
- package/dist/control-trust.d.ts +6 -6
- package/dist/control.d.ts +769 -323
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +164 -71
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +400 -1
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +109 -4
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +78 -14
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +53 -20
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +3 -3
- package/dist/delivery.js +1 -1
- package/dist/delivery.js.map +1 -1
- package/dist/events.d.ts +32 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +46 -11
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +4 -4
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +2 -2
- package/dist/gate.js.map +1 -1
- package/dist/harness.d.ts +137 -47
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +65 -16
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +66 -7
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +29 -2
- package/dist/operation.js.map +1 -1
- package/dist/output-schema.d.ts +40 -0
- package/dist/output-schema.d.ts.map +1 -0
- package/dist/output-schema.js +109 -0
- package/dist/output-schema.js.map +1 -0
- package/dist/plan.d.ts +206 -0
- package/dist/plan.d.ts.map +1 -0
- package/dist/plan.js +107 -0
- package/dist/plan.js.map +1 -0
- package/dist/primitives.d.ts +14 -10
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +14 -11
- package/dist/primitives.js.map +1 -1
- package/dist/project.d.ts +75 -0
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +17 -0
- package/dist/project.js.map +1 -1
- package/dist/quota.d.ts +119 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +22 -0
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +4 -4
- package/dist/readiness.d.ts +14 -7
- package/dist/readiness.d.ts.map +1 -1
- package/dist/run-strategy.d.ts +17 -0
- package/dist/run-strategy.d.ts.map +1 -0
- package/dist/run-strategy.js +47 -0
- package/dist/run-strategy.js.map +1 -0
- package/dist/setup.d.ts +160 -160
- package/dist/status-projection.d.ts +78 -0
- package/dist/status-projection.d.ts.map +1 -0
- package/dist/status-projection.js +171 -0
- package/dist/status-projection.js.map +1 -0
- package/dist/task.d.ts +48 -316
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +3 -60
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +89 -89
- package/dist/thread.d.ts +167 -32
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +92 -28
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +4 -6
- package/generated/ApplyEligibility.schema.json +1 -1
- package/generated/BudgetLease.schema.json +1 -2
- package/generated/ConformanceReport.schema.json +1 -2
- package/generated/ContinuityDisclosure.schema.json +74 -0
- package/generated/ControlApplyRequest.schema.json +1 -2
- package/generated/ControlCredentialProfileUpdateRequest.schema.json +20 -0
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +142 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +126 -2
- package/generated/ControlDeliveryResponse.schema.json +0 -1
- package/generated/ControlHandshakeResponse.schema.json +31 -3
- package/generated/ControlHarnessListResponse.schema.json +11 -6
- package/generated/ControlHarnessSettingsPatch.schema.json +4 -0
- package/generated/ControlOperationCatalog.schema.json +16 -1
- package/generated/ControlOperationDescriptor.schema.json +15 -0
- package/generated/ControlProject.schema.json +35 -0
- package/generated/ControlProjectListResponse.schema.json +35 -0
- package/generated/ControlProjectOutputsResponse.schema.json +57 -0
- package/generated/ControlQueuedRunInfo.schema.json +2 -11
- package/generated/ControlQuotaResponse.schema.json +42 -0
- package/generated/ControlRunAgainDraft.schema.json +37 -35
- package/generated/ControlRunDecisionRequest.schema.json +0 -1
- package/generated/ControlRunDetail.schema.json +305 -213
- package/generated/ControlRunListResponse.schema.json +88 -27
- package/generated/ControlRunStartRequest.schema.json +37 -35
- package/generated/ControlRunStartResponse.schema.json +2 -11
- package/generated/ControlRunSummary.schema.json +88 -27
- package/generated/ControlSettingsSnapshot.schema.json +6 -11
- package/generated/ControlSettingsUpdateRequest.schema.json +5 -10
- package/generated/ControlThread.schema.json +21 -3
- package/generated/ControlThreadApplyResponse.schema.json +0 -1
- package/generated/ControlThreadCreateRequest.schema.json +12 -3
- package/generated/ControlThreadDetail.schema.json +174 -16
- package/generated/ControlThreadListResponse.schema.json +60 -3
- package/generated/ControlThreadTurnRequest.schema.json +40 -34
- package/generated/ControlThreadUpdateRequest.schema.json +19 -0
- package/generated/DecisionRecord.schema.json +73 -33
- package/generated/GateResult.schema.json +1 -2
- package/generated/GlobalConfig.schema.json +7 -12
- package/generated/HarnessManifest.schema.json +11 -6
- package/generated/HarnessStatusDto.schema.json +11 -6
- package/generated/LaneCheckpoint.schema.json +59 -0
- package/generated/McpRunHandleResult.schema.json +234 -0
- package/generated/McpRunToolResult.schema.json +124 -2
- package/generated/RoutePrimaryDivergedPayload.schema.json +56 -0
- package/generated/RunEvent.schema.json +10 -5
- package/generated/RunTelemetry.schema.json +2 -4
- package/generated/TaskContract.schema.json +3 -135
- package/generated/Thread.schema.json +21 -3
- package/generated/ThreadTurn.schema.json +88 -0
- package/package.json +2 -2
- package/dist/control-spec.d.ts +0 -592
- package/dist/control-spec.d.ts.map +0 -1
- package/dist/control-spec.js +0 -85
- package/dist/control-spec.js.map +0 -1
- package/dist/orchestrate.d.ts +0 -556
- package/dist/orchestrate.d.ts.map +0 -1
- package/dist/orchestrate.js +0 -356
- package/dist/orchestrate.js.map +0 -1
- package/dist/spec.d.ts +0 -678
- package/dist/spec.d.ts.map +0 -1
- package/dist/spec.js +0 -186
- package/dist/spec.js.map +0 -1
- package/generated/ControlSpecAnswersRequest.schema.json +0 -74
- package/generated/ControlSpecQuestionsRequest.schema.json +0 -206
- package/generated/ControlSpecSession.schema.json +0 -249
- package/generated/ControlSpecSessionListResponse.schema.json +0 -261
- package/generated/OrchestrateContract.schema.json +0 -119
- package/generated/OrchestratePlan.schema.json +0 -264
- package/generated/OrchestratePlanProgress.schema.json +0 -164
- package/generated/SessionReboundLineage.schema.json +0 -73
- package/generated/SpecPack.schema.json +0 -483
|
@@ -24,21 +24,12 @@
|
|
|
24
24
|
"enum": [
|
|
25
25
|
"queued",
|
|
26
26
|
"running",
|
|
27
|
-
"blocked",
|
|
28
27
|
"succeeded",
|
|
29
|
-
"no_op",
|
|
30
|
-
"ungated",
|
|
31
|
-
"review_not_run",
|
|
32
28
|
"failed",
|
|
33
29
|
"cancelled",
|
|
34
|
-
"
|
|
35
|
-
"cost_unverifiable",
|
|
36
|
-
"exhausted_overshoot",
|
|
37
|
-
"exhausted",
|
|
38
|
-
"not_converged",
|
|
39
|
-
"stuck_no_progress"
|
|
30
|
+
"interrupted"
|
|
40
31
|
],
|
|
41
|
-
"description": "Control-plane run state: queued/running while live, then
|
|
32
|
+
"description": "Control-plane run state = the run LIFECYCLE (D8): queued/running while live, then exactly one of succeeded / failed / cancelled / interrupted. Outcome quality (checks/review/delivery) is orthogonal — see outcomeFacts."
|
|
42
33
|
},
|
|
43
34
|
"runDir": {
|
|
44
35
|
"type": "string",
|
|
@@ -196,11 +187,9 @@
|
|
|
196
187
|
"enum": [
|
|
197
188
|
"ask",
|
|
198
189
|
"plan",
|
|
199
|
-
"
|
|
200
|
-
"agent",
|
|
201
|
-
"orchestrate"
|
|
190
|
+
"agent"
|
|
202
191
|
],
|
|
203
|
-
"description": "Canonical run mode: ask
|
|
192
|
+
"description": "Canonical run mode: ask and plan are read-only, agent writes. Engine strategies (race width, attempts, deep_scan, create, delegate) are flags on a mode, not modes."
|
|
204
193
|
},
|
|
205
194
|
"strategy": {
|
|
206
195
|
"anyOf": [
|
|
@@ -210,7 +199,7 @@
|
|
|
210
199
|
"race",
|
|
211
200
|
"attempts",
|
|
212
201
|
"until_clean",
|
|
213
|
-
"
|
|
202
|
+
"deep_scan",
|
|
214
203
|
"create"
|
|
215
204
|
]
|
|
216
205
|
},
|
|
@@ -218,7 +207,7 @@
|
|
|
218
207
|
"type": "null"
|
|
219
208
|
}
|
|
220
209
|
],
|
|
221
|
-
"description": "Engine strategy flag on the mode (race width / attempt caps / until-clean /
|
|
210
|
+
"description": "Engine strategy flag on the mode (race width / attempt caps / until-clean / deep-scan / create); flags, not modes."
|
|
222
211
|
},
|
|
223
212
|
"prompt": {
|
|
224
213
|
"type": "string",
|
|
@@ -281,7 +270,7 @@
|
|
|
281
270
|
"harness"
|
|
282
271
|
],
|
|
283
272
|
"additionalProperties": false,
|
|
284
|
-
"description": "One reviewer of an explicit reviewer panel."
|
|
273
|
+
"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`)."
|
|
285
274
|
},
|
|
286
275
|
"description": "Explicit reviewer panel used for the run."
|
|
287
276
|
},
|
|
@@ -835,6 +824,87 @@
|
|
|
835
824
|
"description": "Honest terminal outcome of a run (what the turn actually did), projected from the work product and answer artifacts.",
|
|
836
825
|
"default": {}
|
|
837
826
|
},
|
|
827
|
+
"outcomeFacts": {
|
|
828
|
+
"anyOf": [
|
|
829
|
+
{
|
|
830
|
+
"type": "object",
|
|
831
|
+
"properties": {
|
|
832
|
+
"lifecycle": {
|
|
833
|
+
"type": "string",
|
|
834
|
+
"enum": [
|
|
835
|
+
"succeeded",
|
|
836
|
+
"failed",
|
|
837
|
+
"cancelled",
|
|
838
|
+
"interrupted"
|
|
839
|
+
],
|
|
840
|
+
"description": "Terminal lifecycle of the run."
|
|
841
|
+
},
|
|
842
|
+
"noChanges": {
|
|
843
|
+
"type": "boolean",
|
|
844
|
+
"default": false,
|
|
845
|
+
"description": "True when the run finished without changing any files (the ex no_op fact)."
|
|
846
|
+
},
|
|
847
|
+
"checks": {
|
|
848
|
+
"type": "string",
|
|
849
|
+
"enum": [
|
|
850
|
+
"passed",
|
|
851
|
+
"failed",
|
|
852
|
+
"not_configured"
|
|
853
|
+
],
|
|
854
|
+
"description": "Deterministic checks axis: configured project checks passed, failed, or none are configured (a named state, never a stand-in for review results).",
|
|
855
|
+
"default": "not_configured"
|
|
856
|
+
},
|
|
857
|
+
"review": {
|
|
858
|
+
"type": "string",
|
|
859
|
+
"enum": [
|
|
860
|
+
"approved",
|
|
861
|
+
"blocked",
|
|
862
|
+
"not_run"
|
|
863
|
+
],
|
|
864
|
+
"description": "Review axis: approved (clean cross-family verified review), blocked (open accepted findings), or not_run.",
|
|
865
|
+
"default": "not_run"
|
|
866
|
+
},
|
|
867
|
+
"reason": {
|
|
868
|
+
"anyOf": [
|
|
869
|
+
{
|
|
870
|
+
"type": "string",
|
|
871
|
+
"enum": [
|
|
872
|
+
"harness_failed",
|
|
873
|
+
"no_changes",
|
|
874
|
+
"review_blocked",
|
|
875
|
+
"checks_failed",
|
|
876
|
+
"budget_exhausted",
|
|
877
|
+
"budget_overshoot",
|
|
878
|
+
"cost_unverifiable",
|
|
879
|
+
"not_converged",
|
|
880
|
+
"stuck_no_progress",
|
|
881
|
+
"wall_clock_exceeded",
|
|
882
|
+
"user_cancelled",
|
|
883
|
+
"crash_interrupted"
|
|
884
|
+
],
|
|
885
|
+
"description": "Typed reason qualifying a non-clean terminal; null on a clean success."
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"type": "null"
|
|
889
|
+
}
|
|
890
|
+
],
|
|
891
|
+
"description": "Typed reason qualifying a non-clean terminal; null on a clean success.",
|
|
892
|
+
"default": null
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
"required": [
|
|
896
|
+
"lifecycle"
|
|
897
|
+
],
|
|
898
|
+
"additionalProperties": false,
|
|
899
|
+
"description": "Independent terminal outcome axes of a run (D8/D18)."
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"type": "null"
|
|
903
|
+
}
|
|
904
|
+
],
|
|
905
|
+
"description": "D8 terminal outcome axes (checks/review/reason/noChanges) projected from decision.facts or derived from the failure; null while non-terminal.",
|
|
906
|
+
"default": null
|
|
907
|
+
},
|
|
838
908
|
"waitingOnUser": {
|
|
839
909
|
"type": "boolean",
|
|
840
910
|
"default": false,
|
|
@@ -925,15 +995,6 @@
|
|
|
925
995
|
},
|
|
926
996
|
"description": "Typed argv gates."
|
|
927
997
|
},
|
|
928
|
-
"specId": {
|
|
929
|
-
"type": "string",
|
|
930
|
-
"description": "SpecPack id the run was held to."
|
|
931
|
-
},
|
|
932
|
-
"specHash": {
|
|
933
|
-
"type": "string",
|
|
934
|
-
"minLength": 1,
|
|
935
|
-
"description": "Content hash of the SpecPack the run was held to."
|
|
936
|
-
},
|
|
937
998
|
"createdAt": {
|
|
938
999
|
"type": "string",
|
|
939
1000
|
"description": "When the run was created."
|
|
@@ -955,6 +1016,14 @@
|
|
|
955
1016
|
"additionalProperties": false,
|
|
956
1017
|
"description": "Run summary row served by GET /runs and embedded in run detail: state, routing, budget, policies, and honest outcome."
|
|
957
1018
|
},
|
|
1019
|
+
"outcomeBanner": {
|
|
1020
|
+
"type": [
|
|
1021
|
+
"string",
|
|
1022
|
+
"null"
|
|
1023
|
+
],
|
|
1024
|
+
"default": null,
|
|
1025
|
+
"description": "Server-owned outcome headline (status-projection.outcomeBanner); null while the run is not terminal."
|
|
1026
|
+
},
|
|
958
1027
|
"lastSeq": {
|
|
959
1028
|
"type": "integer",
|
|
960
1029
|
"minimum": 0,
|
|
@@ -1032,6 +1101,11 @@
|
|
|
1032
1101
|
"type": "integer",
|
|
1033
1102
|
"minimum": 0,
|
|
1034
1103
|
"description": "Size of the output in bytes."
|
|
1104
|
+
},
|
|
1105
|
+
"truncated": {
|
|
1106
|
+
"type": "boolean",
|
|
1107
|
+
"default": false,
|
|
1108
|
+
"description": "True when text is a bounded inline preview of the full artifact."
|
|
1035
1109
|
}
|
|
1036
1110
|
},
|
|
1037
1111
|
"required": [
|
|
@@ -1215,36 +1289,8 @@
|
|
|
1215
1289
|
],
|
|
1216
1290
|
"description": "Winning attempt/candidate id; null when nothing won."
|
|
1217
1291
|
},
|
|
1218
|
-
"
|
|
1219
|
-
"
|
|
1220
|
-
"enum": [
|
|
1221
|
-
"success",
|
|
1222
|
-
"no_op",
|
|
1223
|
-
"ungated",
|
|
1224
|
-
"review_not_run",
|
|
1225
|
-
"blocked",
|
|
1226
|
-
"failed",
|
|
1227
|
-
"interrupted_unknown",
|
|
1228
|
-
"cost_unverifiable",
|
|
1229
|
-
"exhausted_overshoot",
|
|
1230
|
-
"exhausted",
|
|
1231
|
-
"not_converged",
|
|
1232
|
-
"stuck_no_progress",
|
|
1233
|
-
"cancelled"
|
|
1234
|
-
],
|
|
1235
|
-
"description": "Terminal status of a run, including truthful blocked, interrupted-unknown, cost-unverifiable, overshoot, exhaustion, non-convergence, failure, and cancellation outcomes."
|
|
1236
|
-
},
|
|
1237
|
-
"outcome": {
|
|
1238
|
-
"type": "string",
|
|
1239
|
-
"enum": [
|
|
1240
|
-
"ready",
|
|
1241
|
-
"no_op",
|
|
1242
|
-
"ungated",
|
|
1243
|
-
"review_not_run",
|
|
1244
|
-
"blocked"
|
|
1245
|
-
],
|
|
1246
|
-
"description": "Arbitration outcome for the winning candidate: ready (verified applyable), no_op (no changes), ungated (no gates configured), review_not_run, or blocked.",
|
|
1247
|
-
"default": "blocked"
|
|
1292
|
+
"facts": {
|
|
1293
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/outcomeFacts/anyOf/0"
|
|
1248
1294
|
},
|
|
1249
1295
|
"why_winner": {
|
|
1250
1296
|
"type": "string",
|
|
@@ -1313,10 +1359,9 @@
|
|
|
1313
1359
|
"apply",
|
|
1314
1360
|
"inspect",
|
|
1315
1361
|
"continue",
|
|
1316
|
-
"split_task",
|
|
1317
1362
|
"human_review"
|
|
1318
1363
|
],
|
|
1319
|
-
"description": "Recommended next action for the run's work product: apply it, inspect first, continue working,
|
|
1364
|
+
"description": "Recommended next action for the run's work product: apply it, inspect first, continue working, or get human review.",
|
|
1320
1365
|
"default": "inspect"
|
|
1321
1366
|
},
|
|
1322
1367
|
"verification_basis": {
|
|
@@ -1423,10 +1468,10 @@
|
|
|
1423
1468
|
},
|
|
1424
1469
|
"required": [
|
|
1425
1470
|
"winner",
|
|
1426
|
-
"
|
|
1471
|
+
"facts"
|
|
1427
1472
|
],
|
|
1428
1473
|
"additionalProperties": false,
|
|
1429
|
-
"description": "The arbitration decision for a run: winner,
|
|
1474
|
+
"description": "The arbitration decision for a run: winner, outcome axes, reasons, spend, and the verification that backs applyability."
|
|
1430
1475
|
},
|
|
1431
1476
|
{
|
|
1432
1477
|
"type": "null"
|
|
@@ -1527,6 +1572,196 @@
|
|
|
1527
1572
|
"description": "The run's work product; null when none was produced.",
|
|
1528
1573
|
"default": null
|
|
1529
1574
|
},
|
|
1575
|
+
"planReadiness": {
|
|
1576
|
+
"anyOf": [
|
|
1577
|
+
{
|
|
1578
|
+
"type": "object",
|
|
1579
|
+
"properties": {
|
|
1580
|
+
"state": {
|
|
1581
|
+
"type": "string",
|
|
1582
|
+
"enum": [
|
|
1583
|
+
"ready",
|
|
1584
|
+
"needs_answers",
|
|
1585
|
+
"unverified"
|
|
1586
|
+
],
|
|
1587
|
+
"description": "Derived plan readiness: ready (block parsed, zero open questions), needs_answers (open questions remain), unverified (no parseable block — the planner ignored the format)."
|
|
1588
|
+
},
|
|
1589
|
+
"questionCount": {
|
|
1590
|
+
"type": "integer",
|
|
1591
|
+
"minimum": 0,
|
|
1592
|
+
"default": 0
|
|
1593
|
+
}
|
|
1594
|
+
},
|
|
1595
|
+
"required": [
|
|
1596
|
+
"state"
|
|
1597
|
+
],
|
|
1598
|
+
"additionalProperties": false,
|
|
1599
|
+
"description": "Server-derived readiness of a plan run (one derivation owner; D17)."
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"type": "null"
|
|
1603
|
+
}
|
|
1604
|
+
],
|
|
1605
|
+
"description": "Derived readiness of a plan run; null for non-plan runs.",
|
|
1606
|
+
"default": null
|
|
1607
|
+
},
|
|
1608
|
+
"planQuestions": {
|
|
1609
|
+
"type": "array",
|
|
1610
|
+
"items": {
|
|
1611
|
+
"type": "object",
|
|
1612
|
+
"properties": {
|
|
1613
|
+
"id": {
|
|
1614
|
+
"type": "string",
|
|
1615
|
+
"minLength": 1,
|
|
1616
|
+
"description": "Stable question id within the plan revision."
|
|
1617
|
+
},
|
|
1618
|
+
"kind": {
|
|
1619
|
+
"type": "string",
|
|
1620
|
+
"enum": [
|
|
1621
|
+
"single",
|
|
1622
|
+
"multi",
|
|
1623
|
+
"text"
|
|
1624
|
+
],
|
|
1625
|
+
"description": "Question kind: pick exactly one, pick one or more, or free text."
|
|
1626
|
+
},
|
|
1627
|
+
"prompt": {
|
|
1628
|
+
"type": "string",
|
|
1629
|
+
"minLength": 1,
|
|
1630
|
+
"description": "The question text."
|
|
1631
|
+
},
|
|
1632
|
+
"options": {
|
|
1633
|
+
"type": "array",
|
|
1634
|
+
"items": {
|
|
1635
|
+
"type": "object",
|
|
1636
|
+
"properties": {
|
|
1637
|
+
"id": {
|
|
1638
|
+
"type": "string",
|
|
1639
|
+
"minLength": 1,
|
|
1640
|
+
"description": "Stable option id within the question."
|
|
1641
|
+
},
|
|
1642
|
+
"label": {
|
|
1643
|
+
"type": "string",
|
|
1644
|
+
"minLength": 1,
|
|
1645
|
+
"description": "Option label shown to the user."
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
"required": [
|
|
1649
|
+
"id",
|
|
1650
|
+
"label"
|
|
1651
|
+
],
|
|
1652
|
+
"additionalProperties": false,
|
|
1653
|
+
"description": "One selectable option of a plan question."
|
|
1654
|
+
},
|
|
1655
|
+
"default": [],
|
|
1656
|
+
"description": "Options for single/multi questions; empty for free text."
|
|
1657
|
+
},
|
|
1658
|
+
"allow_text": {
|
|
1659
|
+
"type": "boolean",
|
|
1660
|
+
"default": false,
|
|
1661
|
+
"description": "True when a free-text answer is accepted (text questions)."
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
"required": [
|
|
1665
|
+
"id",
|
|
1666
|
+
"kind",
|
|
1667
|
+
"prompt"
|
|
1668
|
+
],
|
|
1669
|
+
"additionalProperties": false,
|
|
1670
|
+
"description": "One open question surfaced by a plan revision."
|
|
1671
|
+
},
|
|
1672
|
+
"default": [],
|
|
1673
|
+
"description": "Open questions of a plan run (projected from final/questions.json); empty otherwise."
|
|
1674
|
+
},
|
|
1675
|
+
"council": {
|
|
1676
|
+
"anyOf": [
|
|
1677
|
+
{
|
|
1678
|
+
"type": "object",
|
|
1679
|
+
"properties": {
|
|
1680
|
+
"requested": {
|
|
1681
|
+
"type": "integer",
|
|
1682
|
+
"exclusiveMinimum": 0,
|
|
1683
|
+
"description": "Requested member count (n; 2..4)."
|
|
1684
|
+
},
|
|
1685
|
+
"drafted": {
|
|
1686
|
+
"type": "integer",
|
|
1687
|
+
"minimum": 0,
|
|
1688
|
+
"description": "Members whose draft survived to the merge."
|
|
1689
|
+
},
|
|
1690
|
+
"degraded": {
|
|
1691
|
+
"type": "boolean",
|
|
1692
|
+
"default": false,
|
|
1693
|
+
"description": "True when fewer members drafted than requested (failures disclosed per member)."
|
|
1694
|
+
},
|
|
1695
|
+
"mergedBy": {
|
|
1696
|
+
"type": [
|
|
1697
|
+
"string",
|
|
1698
|
+
"null"
|
|
1699
|
+
],
|
|
1700
|
+
"default": null,
|
|
1701
|
+
"description": "Harness that produced the unified plan (the primary); null if the merge failed."
|
|
1702
|
+
},
|
|
1703
|
+
"members": {
|
|
1704
|
+
"type": "array",
|
|
1705
|
+
"items": {
|
|
1706
|
+
"type": "object",
|
|
1707
|
+
"properties": {
|
|
1708
|
+
"harnessId": {
|
|
1709
|
+
"type": "string",
|
|
1710
|
+
"minLength": 1,
|
|
1711
|
+
"description": "Harness that drafted (or merged) this member's plan."
|
|
1712
|
+
},
|
|
1713
|
+
"role": {
|
|
1714
|
+
"type": "string",
|
|
1715
|
+
"enum": [
|
|
1716
|
+
"primary",
|
|
1717
|
+
"member"
|
|
1718
|
+
],
|
|
1719
|
+
"description": "primary = the merger that synthesizes the unified plan; member = draft only."
|
|
1720
|
+
},
|
|
1721
|
+
"status": {
|
|
1722
|
+
"type": "string",
|
|
1723
|
+
"enum": [
|
|
1724
|
+
"drafted",
|
|
1725
|
+
"failed",
|
|
1726
|
+
"merged"
|
|
1727
|
+
],
|
|
1728
|
+
"description": "drafted = draft landed; merged = this member produced the unified plan; failed."
|
|
1729
|
+
},
|
|
1730
|
+
"error": {
|
|
1731
|
+
"type": [
|
|
1732
|
+
"string",
|
|
1733
|
+
"null"
|
|
1734
|
+
],
|
|
1735
|
+
"default": null,
|
|
1736
|
+
"description": "First redacted draft error; null unless the member failed."
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
"required": [
|
|
1740
|
+
"harnessId",
|
|
1741
|
+
"role",
|
|
1742
|
+
"status"
|
|
1743
|
+
],
|
|
1744
|
+
"additionalProperties": false,
|
|
1745
|
+
"description": "One council member's role and draft/merge outcome."
|
|
1746
|
+
},
|
|
1747
|
+
"default": [],
|
|
1748
|
+
"description": "Per-member role and outcome."
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
"required": [
|
|
1752
|
+
"requested",
|
|
1753
|
+
"drafted"
|
|
1754
|
+
],
|
|
1755
|
+
"additionalProperties": false,
|
|
1756
|
+
"description": "Council membership + merge disclosure for a --council plan run."
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"type": "null"
|
|
1760
|
+
}
|
|
1761
|
+
],
|
|
1762
|
+
"description": "Council membership + merge disclosure; null for solo plans and non-plan runs.",
|
|
1763
|
+
"default": null
|
|
1764
|
+
},
|
|
1530
1765
|
"applyEligibility": {
|
|
1531
1766
|
"anyOf": [
|
|
1532
1767
|
{
|
|
@@ -1541,7 +1776,7 @@
|
|
|
1541
1776
|
"string",
|
|
1542
1777
|
"null"
|
|
1543
1778
|
],
|
|
1544
|
-
"description": "The gate's
|
|
1779
|
+
"description": "The gate's apply-eligibility classification (e.g. needs_review | not_verified | no_changes | ok) when known."
|
|
1545
1780
|
},
|
|
1546
1781
|
"reason": {
|
|
1547
1782
|
"type": [
|
|
@@ -1925,157 +2160,6 @@
|
|
|
1925
2160
|
"default": [],
|
|
1926
2161
|
"description": "Interactive questions currently awaiting answers."
|
|
1927
2162
|
},
|
|
1928
|
-
"orchestrate": {
|
|
1929
|
-
"anyOf": [
|
|
1930
|
-
{
|
|
1931
|
-
"type": "object",
|
|
1932
|
-
"properties": {
|
|
1933
|
-
"steps": {
|
|
1934
|
-
"type": "array",
|
|
1935
|
-
"items": {
|
|
1936
|
-
"type": "object",
|
|
1937
|
-
"properties": {
|
|
1938
|
-
"index": {
|
|
1939
|
-
"type": "integer",
|
|
1940
|
-
"minimum": 0,
|
|
1941
|
-
"description": "Position of the step in the plan."
|
|
1942
|
-
},
|
|
1943
|
-
"tool": {
|
|
1944
|
-
"type": "string",
|
|
1945
|
-
"enum": [
|
|
1946
|
-
"start_run",
|
|
1947
|
-
"race",
|
|
1948
|
-
"status",
|
|
1949
|
-
"answer_question",
|
|
1950
|
-
"apply",
|
|
1951
|
-
"review"
|
|
1952
|
-
],
|
|
1953
|
-
"description": "Tool in the orchestrate planner's belt, mapping 1:1 onto engine entry points: start_run, race (best-of-N), status, answer_question, apply, and review."
|
|
1954
|
-
},
|
|
1955
|
-
"risk": {
|
|
1956
|
-
"type": "string",
|
|
1957
|
-
"enum": [
|
|
1958
|
-
"safe",
|
|
1959
|
-
"risky"
|
|
1960
|
-
],
|
|
1961
|
-
"description": "Risk class of the step: safe (no live-tree mutation) or risky."
|
|
1962
|
-
},
|
|
1963
|
-
"status": {
|
|
1964
|
-
"type": "string",
|
|
1965
|
-
"enum": [
|
|
1966
|
-
"pending",
|
|
1967
|
-
"running",
|
|
1968
|
-
"done",
|
|
1969
|
-
"skipped",
|
|
1970
|
-
"blocked",
|
|
1971
|
-
"failed"
|
|
1972
|
-
],
|
|
1973
|
-
"description": "Executor status of one plan step: pending, running, done, skipped, blocked (risky step awaiting a human), or failed."
|
|
1974
|
-
},
|
|
1975
|
-
"required": {
|
|
1976
|
-
"type": "boolean",
|
|
1977
|
-
"default": true
|
|
1978
|
-
},
|
|
1979
|
-
"terminal_status": {
|
|
1980
|
-
"anyOf": [
|
|
1981
|
-
{
|
|
1982
|
-
"$ref": "#/definitions/ControlRunDetail/properties/decision/anyOf/0/properties/status"
|
|
1983
|
-
},
|
|
1984
|
-
{
|
|
1985
|
-
"type": "null"
|
|
1986
|
-
}
|
|
1987
|
-
],
|
|
1988
|
-
"description": "Actual child/delivery terminal used by the parent outcome reducer.",
|
|
1989
|
-
"default": null
|
|
1990
|
-
},
|
|
1991
|
-
"terminal_source": {
|
|
1992
|
-
"anyOf": [
|
|
1993
|
-
{
|
|
1994
|
-
"type": "string",
|
|
1995
|
-
"enum": [
|
|
1996
|
-
"executor",
|
|
1997
|
-
"subrun",
|
|
1998
|
-
"review",
|
|
1999
|
-
"delivery",
|
|
2000
|
-
"policy",
|
|
2001
|
-
"budget"
|
|
2002
|
-
]
|
|
2003
|
-
},
|
|
2004
|
-
{
|
|
2005
|
-
"type": "null"
|
|
2006
|
-
}
|
|
2007
|
-
],
|
|
2008
|
-
"default": null,
|
|
2009
|
-
"description": "Authority that produced terminal_status."
|
|
2010
|
-
},
|
|
2011
|
-
"evidence_refs": {
|
|
2012
|
-
"type": "array",
|
|
2013
|
-
"items": {
|
|
2014
|
-
"type": "string",
|
|
2015
|
-
"minLength": 1
|
|
2016
|
-
},
|
|
2017
|
-
"default": [],
|
|
2018
|
-
"description": "Immutable run artifact or delivery receipt references."
|
|
2019
|
-
},
|
|
2020
|
-
"run_id": {
|
|
2021
|
-
"type": [
|
|
2022
|
-
"string",
|
|
2023
|
-
"null"
|
|
2024
|
-
],
|
|
2025
|
-
"default": null,
|
|
2026
|
-
"description": "Sub-run id this step started/targeted, when known."
|
|
2027
|
-
},
|
|
2028
|
-
"detail": {
|
|
2029
|
-
"type": [
|
|
2030
|
-
"string",
|
|
2031
|
-
"null"
|
|
2032
|
-
],
|
|
2033
|
-
"default": null,
|
|
2034
|
-
"description": "Human-readable step detail."
|
|
2035
|
-
}
|
|
2036
|
-
},
|
|
2037
|
-
"required": [
|
|
2038
|
-
"index",
|
|
2039
|
-
"tool",
|
|
2040
|
-
"risk",
|
|
2041
|
-
"status"
|
|
2042
|
-
],
|
|
2043
|
-
"additionalProperties": false
|
|
2044
|
-
},
|
|
2045
|
-
"default": [],
|
|
2046
|
-
"description": "Per-step outcomes, in plan order."
|
|
2047
|
-
},
|
|
2048
|
-
"autonomy": {
|
|
2049
|
-
"type": "string",
|
|
2050
|
-
"enum": [
|
|
2051
|
-
"suggest",
|
|
2052
|
-
"auto_safe",
|
|
2053
|
-
"auto_full"
|
|
2054
|
-
],
|
|
2055
|
-
"description": "How much the orchestrate planner may act without confirmation: suggest (user executes the plan), auto_safe (auto-runs only provably safe steps), auto_full (auto-runs everything)."
|
|
2056
|
-
},
|
|
2057
|
-
"stopped_reason": {
|
|
2058
|
-
"type": [
|
|
2059
|
-
"string",
|
|
2060
|
-
"null"
|
|
2061
|
-
],
|
|
2062
|
-
"default": null,
|
|
2063
|
-
"description": "Set when the executor stopped early (first risky step under auto_safe, budget, abort)."
|
|
2064
|
-
}
|
|
2065
|
-
},
|
|
2066
|
-
"required": [
|
|
2067
|
-
"autonomy"
|
|
2068
|
-
],
|
|
2069
|
-
"additionalProperties": false,
|
|
2070
|
-
"description": "Typed executor progress over a plan's tool calls, persisted as final/orchestration_progress.yaml and projected into run detail."
|
|
2071
|
-
},
|
|
2072
|
-
{
|
|
2073
|
-
"type": "null"
|
|
2074
|
-
}
|
|
2075
|
-
],
|
|
2076
|
-
"description": "Typed executor progress for an orchestrate run; null for non-orchestrate runs or suggest autonomy.",
|
|
2077
|
-
"default": null
|
|
2078
|
-
},
|
|
2079
2163
|
"candidates": {
|
|
2080
2164
|
"type": "array",
|
|
2081
2165
|
"items": {
|
|
@@ -2112,6 +2196,14 @@
|
|
|
2112
2196
|
"default": false,
|
|
2113
2197
|
"description": "True when the candidate's attempt errored."
|
|
2114
2198
|
},
|
|
2199
|
+
"errorReason": {
|
|
2200
|
+
"type": [
|
|
2201
|
+
"string",
|
|
2202
|
+
"null"
|
|
2203
|
+
],
|
|
2204
|
+
"default": null,
|
|
2205
|
+
"description": "First redacted attempt error; null when the candidate did not error."
|
|
2206
|
+
},
|
|
2115
2207
|
"gatesPassed": {
|
|
2116
2208
|
"type": "integer",
|
|
2117
2209
|
"minimum": 0,
|