@claudexor/schema 2.1.3 → 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 +347 -215
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +34 -7
- 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 -306
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +164 -61
- 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 +45 -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 +292 -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 +9 -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 -603
- package/dist/control-spec.d.ts.map +0 -1
- package/dist/control-spec.js +0 -87
- 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 -209
- package/generated/ControlSpecSession.schema.json +0 -261
- package/generated/ControlSpecSessionListResponse.schema.json +0 -273
- 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
|
@@ -33,9 +33,7 @@
|
|
|
33
33
|
"enum": [
|
|
34
34
|
"ask",
|
|
35
35
|
"plan",
|
|
36
|
-
"
|
|
37
|
-
"agent",
|
|
38
|
-
"orchestrate"
|
|
36
|
+
"agent"
|
|
39
37
|
],
|
|
40
38
|
"description": "Default mode for new turns."
|
|
41
39
|
},
|
|
@@ -88,6 +86,26 @@
|
|
|
88
86
|
"description": "Sticky credential profile for the thread; per-turn selection wins, null = engine-default credentials.",
|
|
89
87
|
"default": null
|
|
90
88
|
},
|
|
89
|
+
"access": {
|
|
90
|
+
"anyOf": [
|
|
91
|
+
{
|
|
92
|
+
"type": "string",
|
|
93
|
+
"enum": [
|
|
94
|
+
"readonly",
|
|
95
|
+
"workspace_write",
|
|
96
|
+
"full",
|
|
97
|
+
"external_sandbox_full",
|
|
98
|
+
"inherit_native"
|
|
99
|
+
],
|
|
100
|
+
"description": "Filesystem/command access profile for a run: readonly (no writes), workspace_write (writes inside the workspace only), full (unrestricted; requires the per-repo trust allow), external_sandbox_full (full access inside an external sandbox), inherit_native (defer to the harness's own native sandbox settings)."
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"type": "null"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"description": "Sticky write scope for write turns; null = the repo trust default.",
|
|
107
|
+
"default": null
|
|
108
|
+
},
|
|
91
109
|
"state": {
|
|
92
110
|
"type": "string",
|
|
93
111
|
"enum": [
|
|
@@ -303,25 +321,16 @@
|
|
|
303
321
|
"enum": [
|
|
304
322
|
"queued",
|
|
305
323
|
"running",
|
|
306
|
-
"blocked",
|
|
307
324
|
"succeeded",
|
|
308
|
-
"no_op",
|
|
309
|
-
"ungated",
|
|
310
|
-
"review_not_run",
|
|
311
325
|
"failed",
|
|
312
326
|
"cancelled",
|
|
313
|
-
"
|
|
314
|
-
"cost_unverifiable",
|
|
315
|
-
"exhausted_overshoot",
|
|
316
|
-
"exhausted",
|
|
317
|
-
"not_converged",
|
|
318
|
-
"stuck_no_progress"
|
|
327
|
+
"interrupted"
|
|
319
328
|
],
|
|
320
|
-
"description": "Control-plane run state: queued/running while live, then
|
|
329
|
+
"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."
|
|
321
330
|
},
|
|
322
331
|
"mode": {
|
|
323
332
|
"$ref": "#/definitions/ControlThreadDetail/properties/thread/properties/mode",
|
|
324
|
-
"description": "Canonical run mode: ask
|
|
333
|
+
"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."
|
|
325
334
|
},
|
|
326
335
|
"strategy": {
|
|
327
336
|
"anyOf": [
|
|
@@ -331,7 +340,7 @@
|
|
|
331
340
|
"race",
|
|
332
341
|
"attempts",
|
|
333
342
|
"until_clean",
|
|
334
|
-
"
|
|
343
|
+
"deep_scan",
|
|
335
344
|
"create"
|
|
336
345
|
]
|
|
337
346
|
},
|
|
@@ -454,6 +463,87 @@
|
|
|
454
463
|
"description": "Honest terminal outcome of a run (what the turn actually did), projected from the work product and answer artifacts.",
|
|
455
464
|
"default": {}
|
|
456
465
|
},
|
|
466
|
+
"outcomeFacts": {
|
|
467
|
+
"anyOf": [
|
|
468
|
+
{
|
|
469
|
+
"type": "object",
|
|
470
|
+
"properties": {
|
|
471
|
+
"lifecycle": {
|
|
472
|
+
"type": "string",
|
|
473
|
+
"enum": [
|
|
474
|
+
"succeeded",
|
|
475
|
+
"failed",
|
|
476
|
+
"cancelled",
|
|
477
|
+
"interrupted"
|
|
478
|
+
],
|
|
479
|
+
"description": "Terminal lifecycle of the run."
|
|
480
|
+
},
|
|
481
|
+
"noChanges": {
|
|
482
|
+
"type": "boolean",
|
|
483
|
+
"default": false,
|
|
484
|
+
"description": "True when the run finished without changing any files (the ex no_op fact)."
|
|
485
|
+
},
|
|
486
|
+
"checks": {
|
|
487
|
+
"type": "string",
|
|
488
|
+
"enum": [
|
|
489
|
+
"passed",
|
|
490
|
+
"failed",
|
|
491
|
+
"not_configured"
|
|
492
|
+
],
|
|
493
|
+
"description": "Deterministic checks axis: configured project checks passed, failed, or none are configured (a named state, never a stand-in for review results).",
|
|
494
|
+
"default": "not_configured"
|
|
495
|
+
},
|
|
496
|
+
"review": {
|
|
497
|
+
"type": "string",
|
|
498
|
+
"enum": [
|
|
499
|
+
"approved",
|
|
500
|
+
"blocked",
|
|
501
|
+
"not_run"
|
|
502
|
+
],
|
|
503
|
+
"description": "Review axis: approved (clean cross-family verified review), blocked (open accepted findings), or not_run.",
|
|
504
|
+
"default": "not_run"
|
|
505
|
+
},
|
|
506
|
+
"reason": {
|
|
507
|
+
"anyOf": [
|
|
508
|
+
{
|
|
509
|
+
"type": "string",
|
|
510
|
+
"enum": [
|
|
511
|
+
"harness_failed",
|
|
512
|
+
"no_changes",
|
|
513
|
+
"review_blocked",
|
|
514
|
+
"checks_failed",
|
|
515
|
+
"budget_exhausted",
|
|
516
|
+
"budget_overshoot",
|
|
517
|
+
"cost_unverifiable",
|
|
518
|
+
"not_converged",
|
|
519
|
+
"stuck_no_progress",
|
|
520
|
+
"wall_clock_exceeded",
|
|
521
|
+
"user_cancelled",
|
|
522
|
+
"crash_interrupted"
|
|
523
|
+
],
|
|
524
|
+
"description": "Typed reason qualifying a non-clean terminal; null on a clean success."
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"type": "null"
|
|
528
|
+
}
|
|
529
|
+
],
|
|
530
|
+
"description": "Typed reason qualifying a non-clean terminal; null on a clean success.",
|
|
531
|
+
"default": null
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"required": [
|
|
535
|
+
"lifecycle"
|
|
536
|
+
],
|
|
537
|
+
"additionalProperties": false,
|
|
538
|
+
"description": "Independent terminal outcome axes of a run (D8/D18)."
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"type": "null"
|
|
542
|
+
}
|
|
543
|
+
],
|
|
544
|
+
"description": "D8 terminal outcome axes (checks/review/reason/noChanges) for the turn; null while non-terminal.",
|
|
545
|
+
"default": null
|
|
546
|
+
},
|
|
457
547
|
"spendUsd": {
|
|
458
548
|
"type": [
|
|
459
549
|
"number",
|
|
@@ -539,6 +629,74 @@
|
|
|
539
629
|
"default": null,
|
|
540
630
|
"description": "Why this turn has no run (enqueue/preflight refusal); null once a run binds."
|
|
541
631
|
},
|
|
632
|
+
"continuity": {
|
|
633
|
+
"anyOf": [
|
|
634
|
+
{
|
|
635
|
+
"type": "object",
|
|
636
|
+
"properties": {
|
|
637
|
+
"kind": {
|
|
638
|
+
"type": "string",
|
|
639
|
+
"enum": [
|
|
640
|
+
"native_resume",
|
|
641
|
+
"packet",
|
|
642
|
+
"fresh"
|
|
643
|
+
],
|
|
644
|
+
"description": "How a turn's lane was continued: native_resume (the lane's own vendor session already held the delta), packet (a continuation packet hydrated a lane switch/gap), or fresh (nothing to carry — the thread's first turn on any lane)."
|
|
645
|
+
},
|
|
646
|
+
"packetTurns": {
|
|
647
|
+
"type": "integer",
|
|
648
|
+
"minimum": 0,
|
|
649
|
+
"default": 0,
|
|
650
|
+
"description": "Delta turns carried in the continuation packet (0 for native_resume/fresh)."
|
|
651
|
+
},
|
|
652
|
+
"summarized": {
|
|
653
|
+
"type": "boolean",
|
|
654
|
+
"default": false,
|
|
655
|
+
"description": "True when the packet collapsed an older prefix (mechanical fallback)."
|
|
656
|
+
},
|
|
657
|
+
"laneSwitchedFrom": {
|
|
658
|
+
"anyOf": [
|
|
659
|
+
{
|
|
660
|
+
"type": "object",
|
|
661
|
+
"properties": {
|
|
662
|
+
"harness": {
|
|
663
|
+
"type": "string",
|
|
664
|
+
"description": "Harness of the lane switched away from."
|
|
665
|
+
},
|
|
666
|
+
"profileId": {
|
|
667
|
+
"type": [
|
|
668
|
+
"string",
|
|
669
|
+
"null"
|
|
670
|
+
],
|
|
671
|
+
"default": null,
|
|
672
|
+
"description": "Profile of the lane switched away from (null = engine default)."
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
"required": [
|
|
676
|
+
"harness"
|
|
677
|
+
],
|
|
678
|
+
"additionalProperties": false
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"type": "null"
|
|
682
|
+
}
|
|
683
|
+
],
|
|
684
|
+
"default": null,
|
|
685
|
+
"description": "The lane this turn switched away from; null for an in-lane continuation."
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
"required": [
|
|
689
|
+
"kind"
|
|
690
|
+
],
|
|
691
|
+
"additionalProperties": false
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"type": "null"
|
|
695
|
+
}
|
|
696
|
+
],
|
|
697
|
+
"default": null,
|
|
698
|
+
"description": "How this turn's lane was continued (native resume / packet / fresh); null until stamped."
|
|
699
|
+
},
|
|
542
700
|
"createdAt": {
|
|
543
701
|
"type": "string",
|
|
544
702
|
"description": "When the turn was created."
|
|
@@ -35,9 +35,7 @@
|
|
|
35
35
|
"enum": [
|
|
36
36
|
"ask",
|
|
37
37
|
"plan",
|
|
38
|
-
"
|
|
39
|
-
"agent",
|
|
40
|
-
"orchestrate"
|
|
38
|
+
"agent"
|
|
41
39
|
],
|
|
42
40
|
"description": "Default mode for new turns."
|
|
43
41
|
},
|
|
@@ -90,6 +88,26 @@
|
|
|
90
88
|
"description": "Sticky credential profile for the thread; per-turn selection wins, null = engine-default credentials.",
|
|
91
89
|
"default": null
|
|
92
90
|
},
|
|
91
|
+
"access": {
|
|
92
|
+
"anyOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": "string",
|
|
95
|
+
"enum": [
|
|
96
|
+
"readonly",
|
|
97
|
+
"workspace_write",
|
|
98
|
+
"full",
|
|
99
|
+
"external_sandbox_full",
|
|
100
|
+
"inherit_native"
|
|
101
|
+
],
|
|
102
|
+
"description": "Filesystem/command access profile for a run: readonly (no writes), workspace_write (writes inside the workspace only), full (unrestricted; requires the per-repo trust allow), external_sandbox_full (full access inside an external sandbox), inherit_native (defer to the harness's own native sandbox settings)."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "null"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"description": "Sticky write scope for write turns; null = the repo trust default.",
|
|
109
|
+
"default": null
|
|
110
|
+
},
|
|
93
111
|
"state": {
|
|
94
112
|
"type": "string",
|
|
95
113
|
"enum": [
|
|
@@ -161,6 +179,45 @@
|
|
|
161
179
|
},
|
|
162
180
|
"default": [],
|
|
163
181
|
"description": "All threads."
|
|
182
|
+
},
|
|
183
|
+
"problems": {
|
|
184
|
+
"type": "array",
|
|
185
|
+
"items": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"properties": {
|
|
188
|
+
"projectId": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"minLength": 1,
|
|
191
|
+
"pattern": "\\S",
|
|
192
|
+
"description": "The registered project that was skipped."
|
|
193
|
+
},
|
|
194
|
+
"root": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"description": "The project root that could not be listed."
|
|
197
|
+
},
|
|
198
|
+
"code": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"enum": [
|
|
201
|
+
"project_root_missing"
|
|
202
|
+
],
|
|
203
|
+
"description": "Why skipped (root no longer exists)."
|
|
204
|
+
},
|
|
205
|
+
"message": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"description": "Human-readable disclosure of why it was skipped."
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"required": [
|
|
211
|
+
"projectId",
|
|
212
|
+
"root",
|
|
213
|
+
"code",
|
|
214
|
+
"message"
|
|
215
|
+
],
|
|
216
|
+
"additionalProperties": false,
|
|
217
|
+
"description": "A project skipped during thread listing, disclosed rather than failing it."
|
|
218
|
+
},
|
|
219
|
+
"default": [],
|
|
220
|
+
"description": "Projects skipped because their root is no longer usable (F2 disclosure)."
|
|
164
221
|
}
|
|
165
222
|
},
|
|
166
223
|
"additionalProperties": false,
|
|
@@ -37,11 +37,9 @@
|
|
|
37
37
|
"enum": [
|
|
38
38
|
"ask",
|
|
39
39
|
"plan",
|
|
40
|
-
"
|
|
41
|
-
"agent",
|
|
42
|
-
"orchestrate"
|
|
40
|
+
"agent"
|
|
43
41
|
],
|
|
44
|
-
"description": "Canonical run mode: ask
|
|
42
|
+
"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.",
|
|
45
43
|
"default": "agent"
|
|
46
44
|
},
|
|
47
45
|
"harnesses": {
|
|
@@ -152,14 +150,18 @@
|
|
|
152
150
|
"type": "boolean",
|
|
153
151
|
"description": "Agent flag: iterate until the convergence predicate is clean (no fixed cap)."
|
|
154
152
|
},
|
|
155
|
-
"
|
|
153
|
+
"deepScan": {
|
|
156
154
|
"type": "boolean",
|
|
157
|
-
"description": "
|
|
155
|
+
"description": "Ask flag: bounded multi-scout research sweep with synthesis."
|
|
158
156
|
},
|
|
159
157
|
"create": {
|
|
160
158
|
"type": "boolean",
|
|
161
159
|
"description": "Agent flag: create-from-scratch intent."
|
|
162
160
|
},
|
|
161
|
+
"council": {
|
|
162
|
+
"type": "boolean",
|
|
163
|
+
"description": "Plan strategy: N harnesses draft plans in parallel, the primary merges into one unified plan + one question set. Plan mode only."
|
|
164
|
+
},
|
|
163
165
|
"synthesis": {
|
|
164
166
|
"type": "string",
|
|
165
167
|
"enum": [
|
|
@@ -298,24 +300,34 @@
|
|
|
298
300
|
},
|
|
299
301
|
"description": "Typed per-run approvals for changing auto-protected gate/test paths; does not bypass built-in critical/security path human gates."
|
|
300
302
|
},
|
|
301
|
-
"specPath": {
|
|
302
|
-
"$ref": "#/definitions/ControlThreadTurnRequest/properties/harnesses/items",
|
|
303
|
-
"description": "Path to a frozen SpecPack the run is held to."
|
|
304
|
-
},
|
|
305
|
-
"specId": {
|
|
306
|
-
"type": "string",
|
|
307
|
-
"description": "Id of the SpecPack the run is held to."
|
|
308
|
-
},
|
|
309
|
-
"specHash": {
|
|
310
|
-
"type": "string",
|
|
311
|
-
"minLength": 1,
|
|
312
|
-
"description": "Content hash of the SpecPack the run is held to."
|
|
313
|
-
},
|
|
314
303
|
"planRunId": {
|
|
315
304
|
"type": "string",
|
|
316
305
|
"minLength": 1,
|
|
317
306
|
"description": "Internal daemon handoff only; rejected (400) on POST /runs. When set, the turn implements an approved plan from that run."
|
|
318
307
|
},
|
|
308
|
+
"planRef": {
|
|
309
|
+
"type": "object",
|
|
310
|
+
"properties": {
|
|
311
|
+
"runId": {
|
|
312
|
+
"$ref": "#/definitions/ControlThreadTurnRequest/properties/planRunId"
|
|
313
|
+
},
|
|
314
|
+
"sha256": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
317
|
+
},
|
|
318
|
+
"path": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"minLength": 1
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"required": [
|
|
324
|
+
"runId",
|
|
325
|
+
"sha256",
|
|
326
|
+
"path"
|
|
327
|
+
],
|
|
328
|
+
"additionalProperties": false,
|
|
329
|
+
"description": "Internal daemon handoff only; rejected (400) on POST /runs. Frozen-plan reference delivered to the executor as a file."
|
|
330
|
+
},
|
|
319
331
|
"reviewerPanel": {
|
|
320
332
|
"type": "array",
|
|
321
333
|
"items": {
|
|
@@ -340,10 +352,10 @@
|
|
|
340
352
|
"harness"
|
|
341
353
|
],
|
|
342
354
|
"additionalProperties": false,
|
|
343
|
-
"description": "One reviewer of an explicit reviewer panel."
|
|
355
|
+
"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`)."
|
|
344
356
|
},
|
|
345
357
|
"minItems": 1,
|
|
346
|
-
"description": "Explicit reviewer panel
|
|
358
|
+
"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."
|
|
347
359
|
},
|
|
348
360
|
"authPreference": {
|
|
349
361
|
"type": "string",
|
|
@@ -366,19 +378,9 @@
|
|
|
366
378
|
],
|
|
367
379
|
"description": "Explicit per-run credential profile id; null FORCES the engine-default ladder past a thread-sticky profile; unknown/disabled ids refuse, never default."
|
|
368
380
|
},
|
|
369
|
-
"
|
|
370
|
-
"type": "
|
|
371
|
-
"
|
|
372
|
-
"suggest",
|
|
373
|
-
"auto_safe",
|
|
374
|
-
"auto_full"
|
|
375
|
-
],
|
|
376
|
-
"description": "Autonomy level for the orchestrate planner; only meaningful for mode=orchestrate."
|
|
377
|
-
},
|
|
378
|
-
"maxToolCalls": {
|
|
379
|
-
"type": "integer",
|
|
380
|
-
"exclusiveMinimum": 0,
|
|
381
|
-
"description": "Cap on orchestrate plan tool calls; only meaningful for mode=orchestrate."
|
|
381
|
+
"delegate": {
|
|
382
|
+
"type": "boolean",
|
|
383
|
+
"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."
|
|
382
384
|
},
|
|
383
385
|
"maxSeconds": {
|
|
384
386
|
"type": "integer",
|
|
@@ -403,6 +405,10 @@
|
|
|
403
405
|
"type": "integer",
|
|
404
406
|
"exclusiveMinimum": 0,
|
|
405
407
|
"description": "Per-run turn cap (beats per-harness settings)."
|
|
408
|
+
},
|
|
409
|
+
"overridePlanReadiness": {
|
|
410
|
+
"type": "boolean",
|
|
411
|
+
"description": "Implement a not-ready plan anyway; recorded on the turn."
|
|
406
412
|
}
|
|
407
413
|
},
|
|
408
414
|
"additionalProperties": false,
|
|
@@ -47,6 +47,25 @@
|
|
|
47
47
|
"$ref": "#/definitions/ControlThreadUpdateRequest/properties/primaryHarness/anyOf/0"
|
|
48
48
|
},
|
|
49
49
|
"description": "New sticky eligible harness pool."
|
|
50
|
+
},
|
|
51
|
+
"access": {
|
|
52
|
+
"anyOf": [
|
|
53
|
+
{
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": [
|
|
56
|
+
"readonly",
|
|
57
|
+
"workspace_write",
|
|
58
|
+
"full",
|
|
59
|
+
"external_sandbox_full",
|
|
60
|
+
"inherit_native"
|
|
61
|
+
],
|
|
62
|
+
"description": "Filesystem/command access profile for a run: readonly (no writes), workspace_write (writes inside the workspace only), full (unrestricted; requires the per-repo trust allow), external_sandbox_full (full access inside an external sandbox), inherit_native (defer to the harness's own native sandbox settings)."
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "null"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"description": "New sticky write scope; null clears back to the repo trust default."
|
|
50
69
|
}
|
|
51
70
|
},
|
|
52
71
|
"additionalProperties": false,
|
|
@@ -17,36 +17,77 @@
|
|
|
17
17
|
],
|
|
18
18
|
"description": "Winning attempt/candidate id; null when nothing won."
|
|
19
19
|
},
|
|
20
|
-
"
|
|
21
|
-
"type": "
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
20
|
+
"facts": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"lifecycle": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": [
|
|
26
|
+
"succeeded",
|
|
27
|
+
"failed",
|
|
28
|
+
"cancelled",
|
|
29
|
+
"interrupted"
|
|
30
|
+
],
|
|
31
|
+
"description": "Terminal lifecycle of the run."
|
|
32
|
+
},
|
|
33
|
+
"noChanges": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"default": false,
|
|
36
|
+
"description": "True when the run finished without changing any files (the ex no_op fact)."
|
|
37
|
+
},
|
|
38
|
+
"checks": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": [
|
|
41
|
+
"passed",
|
|
42
|
+
"failed",
|
|
43
|
+
"not_configured"
|
|
44
|
+
],
|
|
45
|
+
"description": "Deterministic checks axis: configured project checks passed, failed, or none are configured (a named state, never a stand-in for review results).",
|
|
46
|
+
"default": "not_configured"
|
|
47
|
+
},
|
|
48
|
+
"review": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": [
|
|
51
|
+
"approved",
|
|
52
|
+
"blocked",
|
|
53
|
+
"not_run"
|
|
54
|
+
],
|
|
55
|
+
"description": "Review axis: approved (clean cross-family verified review), blocked (open accepted findings), or not_run.",
|
|
56
|
+
"default": "not_run"
|
|
57
|
+
},
|
|
58
|
+
"reason": {
|
|
59
|
+
"anyOf": [
|
|
60
|
+
{
|
|
61
|
+
"type": "string",
|
|
62
|
+
"enum": [
|
|
63
|
+
"harness_failed",
|
|
64
|
+
"no_changes",
|
|
65
|
+
"review_blocked",
|
|
66
|
+
"checks_failed",
|
|
67
|
+
"budget_exhausted",
|
|
68
|
+
"budget_overshoot",
|
|
69
|
+
"cost_unverifiable",
|
|
70
|
+
"not_converged",
|
|
71
|
+
"stuck_no_progress",
|
|
72
|
+
"wall_clock_exceeded",
|
|
73
|
+
"user_cancelled",
|
|
74
|
+
"crash_interrupted"
|
|
75
|
+
],
|
|
76
|
+
"description": "Typed reason qualifying a non-clean terminal; null on a clean success."
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "null"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"description": "Typed reason qualifying a non-clean terminal; null on a clean success.",
|
|
83
|
+
"default": null
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"required": [
|
|
87
|
+
"lifecycle"
|
|
47
88
|
],
|
|
48
|
-
"
|
|
49
|
-
"
|
|
89
|
+
"additionalProperties": false,
|
|
90
|
+
"description": "Independent terminal outcome axes of a run (D8/D18)."
|
|
50
91
|
},
|
|
51
92
|
"why_winner": {
|
|
52
93
|
"type": "string",
|
|
@@ -115,10 +156,9 @@
|
|
|
115
156
|
"apply",
|
|
116
157
|
"inspect",
|
|
117
158
|
"continue",
|
|
118
|
-
"split_task",
|
|
119
159
|
"human_review"
|
|
120
160
|
],
|
|
121
|
-
"description": "Recommended next action for the run's work product: apply it, inspect first, continue working,
|
|
161
|
+
"description": "Recommended next action for the run's work product: apply it, inspect first, continue working, or get human review.",
|
|
122
162
|
"default": "inspect"
|
|
123
163
|
},
|
|
124
164
|
"verification_basis": {
|
|
@@ -225,10 +265,10 @@
|
|
|
225
265
|
},
|
|
226
266
|
"required": [
|
|
227
267
|
"winner",
|
|
228
|
-
"
|
|
268
|
+
"facts"
|
|
229
269
|
],
|
|
230
270
|
"additionalProperties": false,
|
|
231
|
-
"description": "The arbitration decision for a run: winner,
|
|
271
|
+
"description": "The arbitration decision for a run: winner, outcome axes, reasons, spend, and the verification that backs applyability."
|
|
232
272
|
}
|
|
233
273
|
},
|
|
234
274
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -29,10 +29,9 @@
|
|
|
29
29
|
"enum": [
|
|
30
30
|
"passed",
|
|
31
31
|
"failed",
|
|
32
|
-
"skipped",
|
|
33
32
|
"timed_out"
|
|
34
33
|
],
|
|
35
|
-
"description": "Outcome of a deterministic gate: passed, failed,
|
|
34
|
+
"description": "Outcome of a deterministic gate: passed, failed, or timed_out."
|
|
36
35
|
},
|
|
37
36
|
"duration_ms": {
|
|
38
37
|
"type": "integer",
|