@claudexor/schema 1.0.0 → 2.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 +88 -16
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +49 -18
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +22 -6
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +113 -48
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +60 -45
- package/dist/attachment.js.map +1 -1
- package/dist/auth.d.ts +1423 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +317 -0
- package/dist/auth.js.map +1 -0
- package/dist/budget.d.ts +133 -16
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +65 -22
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +449 -115
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +114 -41
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +6 -6
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +31 -7
- package/dist/context.js.map +1 -1
- package/dist/control-operation-responses.d.ts +1172 -0
- package/dist/control-operation-responses.d.ts.map +1 -0
- package/dist/control-operation-responses.js +35 -0
- package/dist/control-operation-responses.js.map +1 -0
- package/dist/control-run-detail.d.ts +443 -242
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +72 -17
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +88 -0
- package/dist/control-run-retry.d.ts.map +1 -0
- package/dist/control-run-retry.js +40 -0
- package/dist/control-run-retry.js.map +1 -0
- package/dist/control-run-scope.d.ts +25 -0
- package/dist/control-run-scope.d.ts.map +1 -0
- package/dist/control-run-scope.js +22 -0
- package/dist/control-run-scope.js.map +1 -0
- package/dist/control-secret.d.ts +90 -0
- package/dist/control-secret.d.ts.map +1 -0
- package/dist/control-secret.js +35 -0
- package/dist/control-secret.js.map +1 -0
- package/dist/control-spec.d.ts +592 -0
- package/dist/control-spec.d.ts.map +1 -0
- package/dist/control-spec.js +85 -0
- package/dist/control-spec.js.map +1 -0
- package/dist/control-thread-apply.d.ts +175 -0
- package/dist/control-thread-apply.d.ts.map +1 -0
- package/dist/control-thread-apply.js +31 -0
- package/dist/control-thread-apply.js.map +1 -0
- package/dist/control-trust.d.ts +74 -10
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +31 -11
- package/dist/control-trust.js.map +1 -1
- package/dist/control.d.ts +1391 -878
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +468 -310
- package/dist/control.js.map +1 -1
- package/dist/decision.d.ts +10 -10
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +62 -15
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +99 -0
- package/dist/delivery.d.ts.map +1 -0
- package/dist/delivery.js +19 -0
- package/dist/delivery.js.map +1 -0
- package/dist/events.d.ts +25 -2
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +25 -4
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +2 -2
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +25 -5
- package/dist/gate.js.map +1 -1
- package/dist/harness.d.ts +558 -175
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +207 -82
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +185 -0
- package/dist/operation.d.ts.map +1 -0
- package/dist/operation.js +50 -0
- package/dist/operation.js.map +1 -0
- package/dist/orchestrate.d.ts +127 -22
- package/dist/orchestrate.d.ts.map +1 -1
- package/dist/orchestrate.js +61 -7
- package/dist/orchestrate.js.map +1 -1
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +4 -1
- package/dist/primitives.js.map +1 -1
- package/dist/problem.d.ts +29 -0
- package/dist/problem.d.ts.map +1 -0
- package/dist/problem.js +17 -0
- package/dist/problem.js.map +1 -0
- package/dist/project.d.ts +97 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project.js +27 -0
- package/dist/project.js.map +1 -0
- package/dist/quota.d.ts +251 -0
- package/dist/quota.d.ts.map +1 -0
- package/dist/quota.js +46 -0
- package/dist/quota.js.map +1 -0
- package/dist/raw.d.ts +195 -0
- package/dist/raw.d.ts.map +1 -0
- package/dist/raw.js +58 -0
- package/dist/raw.js.map +1 -0
- package/dist/recovery.d.ts +515 -0
- package/dist/recovery.d.ts.map +1 -0
- package/dist/recovery.js +93 -0
- package/dist/recovery.js.map +1 -0
- package/dist/request-requirements.d.ts +36 -0
- package/dist/request-requirements.d.ts.map +1 -0
- package/dist/request-requirements.js +26 -0
- package/dist/request-requirements.js.map +1 -0
- package/dist/review.d.ts +26 -26
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +50 -10
- package/dist/review.js.map +1 -1
- package/dist/route.d.ts +10 -10
- package/dist/route.d.ts.map +1 -1
- package/dist/route.js +19 -4
- package/dist/route.js.map +1 -1
- package/dist/setup.d.ts +9766 -0
- package/dist/setup.d.ts.map +1 -0
- package/dist/setup.js +450 -0
- package/dist/setup.js.map +1 -0
- package/dist/spec.d.ts +174 -57
- package/dist/spec.d.ts.map +1 -1
- package/dist/spec.js +69 -16
- package/dist/spec.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +25 -21
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +1560 -58
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +97 -18
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +233 -60
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +97 -15
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +68 -41
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +45 -11
- package/dist/thread.js.map +1 -1
- package/dist/workproduct.d.ts +3 -3
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +12 -3
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +53 -11
- package/generated/BudgetLease.schema.json +55 -6
- package/generated/BudgetObservation.schema.json +28 -7
- package/generated/ConformanceReport.schema.json +49 -0
- package/generated/ControlApplyCheckResponse.schema.json +34 -0
- package/generated/ControlArtifactListResponse.schema.json +57 -0
- package/generated/ControlAuthReadinessRefreshRequest.schema.json +38 -0
- package/generated/ControlAuthReadinessRefreshResponse.schema.json +85 -0
- package/generated/ControlDeliveryResponse.schema.json +136 -0
- package/generated/ControlHandshakeRequest.schema.json +26 -0
- package/generated/ControlHandshakeResponse.schema.json +30 -0
- package/generated/ControlHarnessListResponse.schema.json +103 -12
- package/generated/ControlHarnessSettingsPatch.schema.json +0 -12
- package/generated/ControlJournalEvent.schema.json +42 -0
- package/generated/ControlJournalExportReceipt.schema.json +49 -0
- package/generated/ControlJournalInspection.schema.json +149 -0
- package/generated/ControlJournalQuarantineReceipt.schema.json +55 -0
- package/generated/ControlJournalQuarantineRequest.schema.json +24 -0
- package/generated/ControlJournalValidation.schema.json +181 -0
- package/generated/ControlOperationCatalog.schema.json +128 -0
- package/generated/ControlOperationDescriptor.schema.json +110 -0
- package/generated/ControlProblem.schema.json +59 -0
- package/generated/ControlProject.schema.json +42 -0
- package/generated/ControlProjectListResponse.schema.json +54 -0
- package/generated/ControlProjectRegisterRequest.schema.json +19 -0
- package/generated/ControlProjectRelinkRequest.schema.json +19 -0
- package/generated/ControlQueuedRunInfo.schema.json +4 -2
- package/generated/ControlQuotaResponse.schema.json +176 -0
- package/generated/ControlResource.schema.json +59 -0
- package/generated/ControlRunAgainDraft.schema.json +499 -0
- package/generated/ControlRunDetail.schema.json +197 -30
- package/generated/ControlRunListResponse.schema.json +797 -0
- package/generated/ControlRunRetryResponse.schema.json +54 -0
- package/generated/ControlRunStartRequest.schema.json +83 -55
- package/generated/ControlRunStartResponse.schema.json +78 -0
- package/generated/ControlRunSummary.schema.json +140 -20
- package/generated/ControlSecretListResponse.schema.json +8 -14
- package/generated/ControlSecretMutationResponse.schema.json +32 -0
- package/generated/ControlSecretSetRequest.schema.json +27 -0
- package/generated/ControlSettingsSnapshot.schema.json +118 -44
- package/generated/ControlSettingsUpdateRequest.schema.json +110 -40
- package/generated/ControlSetupJob.schema.json +763 -65
- package/generated/ControlSetupJobCreateRequest.schema.json +11 -13
- package/generated/ControlSetupJobEvent.schema.json +861 -5
- package/generated/ControlSetupJobListFilter.schema.json +35 -0
- package/generated/ControlSetupJobListResponse.schema.json +763 -65
- package/generated/ControlSetupJobSnapshot.schema.json +870 -0
- package/generated/ControlSpecAnswersRequest.schema.json +74 -0
- package/generated/ControlSpecQuestionsRequest.schema.json +128 -2
- package/generated/ControlSpecSession.schema.json +249 -0
- package/generated/ControlSpecSessionListResponse.schema.json +261 -0
- package/generated/ControlThread.schema.json +20 -2
- package/generated/ControlThreadApplyResponse.schema.json +139 -0
- package/generated/ControlThreadDetail.schema.json +32 -4
- package/generated/ControlThreadListResponse.schema.json +20 -2
- package/generated/ControlThreadTurnRequest.schema.json +373 -0
- package/generated/ControlThreadTurnResponse.schema.json +73 -0
- package/generated/ControlThreadUpdateRequest.schema.json +1 -1
- package/generated/ControlTrustListResponse.schema.json +6 -0
- package/generated/ControlTrustState.schema.json +6 -0
- package/generated/ControlTrustUpdateRequest.schema.json +65 -3
- package/generated/ControlUploadCreateRequest.schema.json +37 -0
- package/generated/ControlUploadFinalizeRequest.schema.json +17 -0
- package/generated/ControlUploadStatus.schema.json +40 -0
- package/generated/DecisionRecord.schema.json +6 -3
- package/generated/GlobalConfig.schema.json +105 -58
- package/generated/HarnessEvent.schema.json +201 -10
- package/generated/HarnessManifest.schema.json +63 -12
- package/generated/HarnessStatusDto.schema.json +103 -12
- package/generated/OrchestrateContract.schema.json +32 -6
- package/generated/OrchestratePlan.schema.json +20 -0
- package/generated/OrchestratePlanProgress.schema.json +61 -0
- package/generated/PaidBudget.schema.json +42 -0
- package/generated/Project.schema.json +45 -0
- package/generated/ProjectConfig.schema.json +45 -18
- package/generated/RawContextPacket.schema.json +184 -0
- package/generated/RawGitPatchEnvelope.schema.json +70 -0
- package/generated/RunTelemetry.schema.json +80 -0
- package/generated/SecretMetadata.schema.json +4 -7
- package/generated/SpecPack.schema.json +118 -7
- package/generated/TaskContract.schema.json +159 -26
- package/generated/TestCommandInvocation.schema.json +45 -0
- package/generated/Thread.schema.json +62 -6
- package/generated/ThreadTurn.schema.json +24 -11
- package/generated/TrustConfig.schema.json +77 -0
- package/package.json +1 -1
- package/generated/ControlSetupJobConfirmRequest.schema.json +0 -18
- package/generated/ControlSpecFreezeRequest.schema.json +0 -83
|
@@ -0,0 +1,797 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlRunListResponse",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlRunListResponse": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"runs": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"jobId": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Daemon job id backing the run."
|
|
15
|
+
},
|
|
16
|
+
"runId": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Run id."
|
|
19
|
+
},
|
|
20
|
+
"taskId": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Task id, when allocated."
|
|
23
|
+
},
|
|
24
|
+
"state": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enum": [
|
|
27
|
+
"queued",
|
|
28
|
+
"running",
|
|
29
|
+
"blocked",
|
|
30
|
+
"succeeded",
|
|
31
|
+
"no_op",
|
|
32
|
+
"ungated",
|
|
33
|
+
"review_not_run",
|
|
34
|
+
"failed",
|
|
35
|
+
"cancelled",
|
|
36
|
+
"interrupted_unknown",
|
|
37
|
+
"cost_unverifiable",
|
|
38
|
+
"exhausted_overshoot",
|
|
39
|
+
"exhausted",
|
|
40
|
+
"not_converged",
|
|
41
|
+
"stuck_no_progress"
|
|
42
|
+
],
|
|
43
|
+
"description": "Control-plane run state: queued/running while live, then an honest success, block, failure, interruption, cost, exhaustion, non-convergence, or cancellation terminal."
|
|
44
|
+
},
|
|
45
|
+
"runDir": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"description": "On-disk run artifact directory."
|
|
48
|
+
},
|
|
49
|
+
"error": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "Error message, when the run failed."
|
|
52
|
+
},
|
|
53
|
+
"failure": {
|
|
54
|
+
"anyOf": [
|
|
55
|
+
{
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"phase": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"default": "unknown",
|
|
61
|
+
"description": "Pipeline phase where the failure happened."
|
|
62
|
+
},
|
|
63
|
+
"category": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"enum": [
|
|
66
|
+
"validation",
|
|
67
|
+
"project",
|
|
68
|
+
"auth",
|
|
69
|
+
"harness_unavailable",
|
|
70
|
+
"harness_error",
|
|
71
|
+
"budget",
|
|
72
|
+
"policy",
|
|
73
|
+
"cancelled",
|
|
74
|
+
"internal",
|
|
75
|
+
"unknown"
|
|
76
|
+
],
|
|
77
|
+
"default": "unknown",
|
|
78
|
+
"description": "Typed failure category (validation, project, auth, harness, budget, policy, cancelled, internal, unknown)."
|
|
79
|
+
},
|
|
80
|
+
"harnessId": {
|
|
81
|
+
"type": [
|
|
82
|
+
"string",
|
|
83
|
+
"null"
|
|
84
|
+
],
|
|
85
|
+
"default": null,
|
|
86
|
+
"description": "Harness involved in the failure, when known."
|
|
87
|
+
},
|
|
88
|
+
"attemptId": {
|
|
89
|
+
"type": [
|
|
90
|
+
"string",
|
|
91
|
+
"null"
|
|
92
|
+
],
|
|
93
|
+
"default": null,
|
|
94
|
+
"description": "Attempt involved in the failure, when known."
|
|
95
|
+
},
|
|
96
|
+
"safeMessage": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"description": "Redacted human-readable failure message."
|
|
99
|
+
},
|
|
100
|
+
"rawDetailRef": {
|
|
101
|
+
"type": [
|
|
102
|
+
"string",
|
|
103
|
+
"null"
|
|
104
|
+
],
|
|
105
|
+
"default": null,
|
|
106
|
+
"description": "Artifact path holding the raw (redacted) failure detail."
|
|
107
|
+
},
|
|
108
|
+
"logRefs": {
|
|
109
|
+
"type": "array",
|
|
110
|
+
"items": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"default": [],
|
|
114
|
+
"description": "Log artifact paths relevant to the failure."
|
|
115
|
+
},
|
|
116
|
+
"eventRefs": {
|
|
117
|
+
"type": "array",
|
|
118
|
+
"items": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
"default": [],
|
|
122
|
+
"description": "Event references relevant to the failure."
|
|
123
|
+
},
|
|
124
|
+
"runDir": {
|
|
125
|
+
"type": [
|
|
126
|
+
"string",
|
|
127
|
+
"null"
|
|
128
|
+
],
|
|
129
|
+
"default": null,
|
|
130
|
+
"description": "Run artifact directory."
|
|
131
|
+
},
|
|
132
|
+
"nextActions": {
|
|
133
|
+
"type": "array",
|
|
134
|
+
"items": {
|
|
135
|
+
"type": "string"
|
|
136
|
+
},
|
|
137
|
+
"default": [],
|
|
138
|
+
"description": "Suggested operator next actions."
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"required": [
|
|
142
|
+
"safeMessage"
|
|
143
|
+
],
|
|
144
|
+
"additionalProperties": false,
|
|
145
|
+
"description": "Typed failure record for a run: phase, category, evidence references, and suggested next actions."
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"type": "null"
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"description": "Typed failure record; null unless the run failed.",
|
|
152
|
+
"default": null
|
|
153
|
+
},
|
|
154
|
+
"project": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"properties": {
|
|
157
|
+
"kind": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"enum": [
|
|
160
|
+
"project",
|
|
161
|
+
"none"
|
|
162
|
+
],
|
|
163
|
+
"default": "none",
|
|
164
|
+
"description": "Whether the run was anchored to a project."
|
|
165
|
+
},
|
|
166
|
+
"root": {
|
|
167
|
+
"type": [
|
|
168
|
+
"string",
|
|
169
|
+
"null"
|
|
170
|
+
],
|
|
171
|
+
"default": null,
|
|
172
|
+
"description": "Project root, when anchored."
|
|
173
|
+
},
|
|
174
|
+
"projectName": {
|
|
175
|
+
"type": [
|
|
176
|
+
"string",
|
|
177
|
+
"null"
|
|
178
|
+
],
|
|
179
|
+
"default": null,
|
|
180
|
+
"description": "Project display name, when anchored."
|
|
181
|
+
},
|
|
182
|
+
"context": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"enum": [
|
|
185
|
+
"off",
|
|
186
|
+
"auto"
|
|
187
|
+
],
|
|
188
|
+
"default": "off",
|
|
189
|
+
"description": "Project context depth used for the run."
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"additionalProperties": false,
|
|
193
|
+
"description": "Project metadata projected onto a run summary.",
|
|
194
|
+
"default": {}
|
|
195
|
+
},
|
|
196
|
+
"mode": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"enum": [
|
|
199
|
+
"ask",
|
|
200
|
+
"plan",
|
|
201
|
+
"audit",
|
|
202
|
+
"agent",
|
|
203
|
+
"orchestrate"
|
|
204
|
+
],
|
|
205
|
+
"description": "Canonical run mode: ask, plan, and audit are read-only; agent writes; orchestrate is the autonomous coordinator intent. Engine strategies (race, attempts, swarm, create) are flags on a mode, not modes."
|
|
206
|
+
},
|
|
207
|
+
"strategy": {
|
|
208
|
+
"anyOf": [
|
|
209
|
+
{
|
|
210
|
+
"type": "string",
|
|
211
|
+
"enum": [
|
|
212
|
+
"race",
|
|
213
|
+
"attempts",
|
|
214
|
+
"until_clean",
|
|
215
|
+
"swarm",
|
|
216
|
+
"create"
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"type": "null"
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"description": "Engine strategy flag on the mode (race width / attempt caps / until-clean / swarm / create); flags, not modes."
|
|
224
|
+
},
|
|
225
|
+
"prompt": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"description": "The user's prompt for the run."
|
|
228
|
+
},
|
|
229
|
+
"harnesses": {
|
|
230
|
+
"type": "array",
|
|
231
|
+
"items": {
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
234
|
+
"description": "Harness pool the run used."
|
|
235
|
+
},
|
|
236
|
+
"primaryHarness": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"description": "Primary harness the run preferred."
|
|
239
|
+
},
|
|
240
|
+
"routingGoal": {
|
|
241
|
+
"type": "string",
|
|
242
|
+
"enum": [
|
|
243
|
+
"auto",
|
|
244
|
+
"quality",
|
|
245
|
+
"economy"
|
|
246
|
+
],
|
|
247
|
+
"description": "Routing objective: pace expiring quota, choose the highest declared quality tier, or minimize incremental paid spend."
|
|
248
|
+
},
|
|
249
|
+
"model": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"description": "Scalar model requested for the run."
|
|
252
|
+
},
|
|
253
|
+
"reviewerPanel": {
|
|
254
|
+
"type": "array",
|
|
255
|
+
"items": {
|
|
256
|
+
"type": "object",
|
|
257
|
+
"properties": {
|
|
258
|
+
"harness": {
|
|
259
|
+
"type": "string",
|
|
260
|
+
"minLength": 1,
|
|
261
|
+
"pattern": "\\S",
|
|
262
|
+
"description": "Explicit reviewer harness id; repeated harness ids are allowed so one provider can review through multiple requested models."
|
|
263
|
+
},
|
|
264
|
+
"model": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"minLength": 1,
|
|
267
|
+
"pattern": "\\S",
|
|
268
|
+
"description": "Per-reviewer model hint, passed to that harness only."
|
|
269
|
+
},
|
|
270
|
+
"effort": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"enum": [
|
|
273
|
+
"low",
|
|
274
|
+
"medium",
|
|
275
|
+
"high",
|
|
276
|
+
"xhigh",
|
|
277
|
+
"max"
|
|
278
|
+
],
|
|
279
|
+
"description": "Per-reviewer effort hint, passed to that harness only."
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"required": [
|
|
283
|
+
"harness"
|
|
284
|
+
],
|
|
285
|
+
"additionalProperties": false,
|
|
286
|
+
"description": "One reviewer of an explicit reviewer panel."
|
|
287
|
+
},
|
|
288
|
+
"description": "Explicit reviewer panel used for the run."
|
|
289
|
+
},
|
|
290
|
+
"protectedPathApprovals": {
|
|
291
|
+
"type": "array",
|
|
292
|
+
"items": {
|
|
293
|
+
"type": "object",
|
|
294
|
+
"properties": {
|
|
295
|
+
"path": {
|
|
296
|
+
"type": "string",
|
|
297
|
+
"minLength": 1,
|
|
298
|
+
"pattern": "\\S",
|
|
299
|
+
"description": "Glob approved by the operator/user for this run; consumed only by the auto-protected gate/test path policy, not by built-in critical-path gates."
|
|
300
|
+
},
|
|
301
|
+
"reason": {
|
|
302
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/reviewerPanel/items/properties/model",
|
|
303
|
+
"description": "Optional human-readable reason for the approval."
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"required": [
|
|
307
|
+
"path"
|
|
308
|
+
],
|
|
309
|
+
"additionalProperties": false,
|
|
310
|
+
"description": "Per-run typed operator approval allowing changes under an auto-protected gate/test path."
|
|
311
|
+
},
|
|
312
|
+
"description": "Per-run protected-path approvals supplied."
|
|
313
|
+
},
|
|
314
|
+
"n": {
|
|
315
|
+
"type": "integer",
|
|
316
|
+
"description": "Race width, when the run was a race."
|
|
317
|
+
},
|
|
318
|
+
"paidBudget": {
|
|
319
|
+
"anyOf": [
|
|
320
|
+
{
|
|
321
|
+
"type": "object",
|
|
322
|
+
"properties": {
|
|
323
|
+
"kind": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"const": "unlimited"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"required": [
|
|
329
|
+
"kind"
|
|
330
|
+
],
|
|
331
|
+
"additionalProperties": false
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"type": "object",
|
|
335
|
+
"properties": {
|
|
336
|
+
"kind": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"const": "finite"
|
|
339
|
+
},
|
|
340
|
+
"maxUsd": {
|
|
341
|
+
"type": "number",
|
|
342
|
+
"minimum": 0
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"required": [
|
|
346
|
+
"kind",
|
|
347
|
+
"maxUsd"
|
|
348
|
+
],
|
|
349
|
+
"additionalProperties": false
|
|
350
|
+
}
|
|
351
|
+
],
|
|
352
|
+
"description": "Explicit incremental-cash budget for the run."
|
|
353
|
+
},
|
|
354
|
+
"spendUsd": {
|
|
355
|
+
"type": [
|
|
356
|
+
"number",
|
|
357
|
+
"null"
|
|
358
|
+
],
|
|
359
|
+
"description": "Settled spend in USD; null when unknown."
|
|
360
|
+
},
|
|
361
|
+
"spendEstimated": {
|
|
362
|
+
"type": "boolean",
|
|
363
|
+
"description": "True when spend is token-derived rather than natively reported."
|
|
364
|
+
},
|
|
365
|
+
"access": {
|
|
366
|
+
"type": "string",
|
|
367
|
+
"enum": [
|
|
368
|
+
"readonly",
|
|
369
|
+
"workspace_write",
|
|
370
|
+
"full",
|
|
371
|
+
"external_sandbox_full",
|
|
372
|
+
"inherit_native"
|
|
373
|
+
],
|
|
374
|
+
"description": "Access profile of the run: the effective profile when known, else the requested one (prefer requestedAccess/effectiveAccess)."
|
|
375
|
+
},
|
|
376
|
+
"requestedAccess": {
|
|
377
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/access",
|
|
378
|
+
"description": "Access profile the caller requested."
|
|
379
|
+
},
|
|
380
|
+
"effectiveAccess": {
|
|
381
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/access",
|
|
382
|
+
"description": "Access profile actually enforced by the engine."
|
|
383
|
+
},
|
|
384
|
+
"externalContextPolicy": {
|
|
385
|
+
"type": "string",
|
|
386
|
+
"enum": [
|
|
387
|
+
"off",
|
|
388
|
+
"auto",
|
|
389
|
+
"cached",
|
|
390
|
+
"live"
|
|
391
|
+
],
|
|
392
|
+
"description": "Requested web policy for the run."
|
|
393
|
+
},
|
|
394
|
+
"webRequired": {
|
|
395
|
+
"type": "boolean",
|
|
396
|
+
"description": "Whether the run required web evidence."
|
|
397
|
+
},
|
|
398
|
+
"webMode": {
|
|
399
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/externalContextPolicy",
|
|
400
|
+
"description": "Web policy actually executed by the selected route."
|
|
401
|
+
},
|
|
402
|
+
"webEvidence": {
|
|
403
|
+
"type": "object",
|
|
404
|
+
"properties": {
|
|
405
|
+
"required": {
|
|
406
|
+
"type": "boolean",
|
|
407
|
+
"default": false,
|
|
408
|
+
"description": "Whether the run required web evidence."
|
|
409
|
+
},
|
|
410
|
+
"mode": {
|
|
411
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/externalContextPolicy",
|
|
412
|
+
"default": "auto",
|
|
413
|
+
"description": "Requested external-context policy for the run."
|
|
414
|
+
},
|
|
415
|
+
"effectiveMode": {
|
|
416
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/externalContextPolicy",
|
|
417
|
+
"default": "auto",
|
|
418
|
+
"description": "Policy the selected route actually executed (disclosed upgrades, e.g. cached to live)."
|
|
419
|
+
},
|
|
420
|
+
"attempted": {
|
|
421
|
+
"type": "boolean",
|
|
422
|
+
"default": false,
|
|
423
|
+
"description": "Whether any web activity was attempted."
|
|
424
|
+
},
|
|
425
|
+
"satisfied": {
|
|
426
|
+
"type": "boolean",
|
|
427
|
+
"default": false,
|
|
428
|
+
"description": "Whether the web-evidence requirement was satisfied."
|
|
429
|
+
},
|
|
430
|
+
"status": {
|
|
431
|
+
"type": "string",
|
|
432
|
+
"enum": [
|
|
433
|
+
"none",
|
|
434
|
+
"attempted",
|
|
435
|
+
"satisfied",
|
|
436
|
+
"failed",
|
|
437
|
+
"unverified"
|
|
438
|
+
],
|
|
439
|
+
"default": "none",
|
|
440
|
+
"description": "Web-evidence verdict for the run."
|
|
441
|
+
},
|
|
442
|
+
"tool": {
|
|
443
|
+
"type": [
|
|
444
|
+
"string",
|
|
445
|
+
"null"
|
|
446
|
+
],
|
|
447
|
+
"default": null,
|
|
448
|
+
"description": "Web tool that produced the evidence, when any."
|
|
449
|
+
},
|
|
450
|
+
"target": {
|
|
451
|
+
"type": [
|
|
452
|
+
"string",
|
|
453
|
+
"null"
|
|
454
|
+
],
|
|
455
|
+
"default": null,
|
|
456
|
+
"description": "Redacted target (query/url) of the web activity, when any."
|
|
457
|
+
},
|
|
458
|
+
"errorSummary": {
|
|
459
|
+
"type": [
|
|
460
|
+
"string",
|
|
461
|
+
"null"
|
|
462
|
+
],
|
|
463
|
+
"default": null,
|
|
464
|
+
"description": "Redacted error detail when web activity failed."
|
|
465
|
+
},
|
|
466
|
+
"rawDetailRef": {
|
|
467
|
+
"type": [
|
|
468
|
+
"string",
|
|
469
|
+
"null"
|
|
470
|
+
],
|
|
471
|
+
"default": null,
|
|
472
|
+
"description": "Artifact path holding the raw (redacted) evidence detail."
|
|
473
|
+
},
|
|
474
|
+
"available": {
|
|
475
|
+
"type": "boolean",
|
|
476
|
+
"default": true,
|
|
477
|
+
"description": "False when the run predates the telemetry artifact; surfaces must render \"telemetry unavailable\"."
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"additionalProperties": false,
|
|
481
|
+
"description": "Web evidence projected onto a run summary from the telemetry artifact.",
|
|
482
|
+
"default": {}
|
|
483
|
+
},
|
|
484
|
+
"requestRequirements": {
|
|
485
|
+
"type": "array",
|
|
486
|
+
"items": {
|
|
487
|
+
"type": "object",
|
|
488
|
+
"properties": {
|
|
489
|
+
"capability": {
|
|
490
|
+
"type": "string",
|
|
491
|
+
"const": "browser"
|
|
492
|
+
},
|
|
493
|
+
"harness_id": {
|
|
494
|
+
"type": "string",
|
|
495
|
+
"minLength": 1
|
|
496
|
+
},
|
|
497
|
+
"eligible": {
|
|
498
|
+
"type": "boolean"
|
|
499
|
+
},
|
|
500
|
+
"requested": {
|
|
501
|
+
"type": "boolean"
|
|
502
|
+
},
|
|
503
|
+
"effective": {
|
|
504
|
+
"type": "boolean"
|
|
505
|
+
},
|
|
506
|
+
"reason": {
|
|
507
|
+
"type": "string",
|
|
508
|
+
"enum": [
|
|
509
|
+
"not_requested",
|
|
510
|
+
"effective",
|
|
511
|
+
"manifest_unsupported",
|
|
512
|
+
"web_policy_off",
|
|
513
|
+
"access_profile_incompatible"
|
|
514
|
+
]
|
|
515
|
+
},
|
|
516
|
+
"evidence_refs": {
|
|
517
|
+
"type": "array",
|
|
518
|
+
"items": {
|
|
519
|
+
"type": "string"
|
|
520
|
+
},
|
|
521
|
+
"default": []
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"required": [
|
|
525
|
+
"capability",
|
|
526
|
+
"harness_id",
|
|
527
|
+
"eligible",
|
|
528
|
+
"requested",
|
|
529
|
+
"effective",
|
|
530
|
+
"reason"
|
|
531
|
+
],
|
|
532
|
+
"additionalProperties": false,
|
|
533
|
+
"description": "Preflight resolution of one requested capability on one selected harness lane."
|
|
534
|
+
},
|
|
535
|
+
"default": [],
|
|
536
|
+
"description": "Engine-computed requested/effective capability receipts for selected harness lanes."
|
|
537
|
+
},
|
|
538
|
+
"toolPermissionPolicy": {
|
|
539
|
+
"type": "object",
|
|
540
|
+
"additionalProperties": {},
|
|
541
|
+
"description": "Tool allow/deny policy applied to the run."
|
|
542
|
+
},
|
|
543
|
+
"outputReadyState": {
|
|
544
|
+
"type": "string",
|
|
545
|
+
"enum": [
|
|
546
|
+
"pending",
|
|
547
|
+
"finalizing",
|
|
548
|
+
"ready",
|
|
549
|
+
"diagnostic"
|
|
550
|
+
],
|
|
551
|
+
"description": "Whether a terminal run also has a loaded user-facing output artifact: pending (not yet), finalizing (being produced), ready (loaded), diagnostic (only diagnostic output).",
|
|
552
|
+
"default": "pending"
|
|
553
|
+
},
|
|
554
|
+
"toolWarningsTotal": {
|
|
555
|
+
"type": "integer",
|
|
556
|
+
"minimum": 0,
|
|
557
|
+
"default": 0,
|
|
558
|
+
"description": "Non-blocking tool warnings projected from the telemetry artifact."
|
|
559
|
+
},
|
|
560
|
+
"result": {
|
|
561
|
+
"type": "object",
|
|
562
|
+
"properties": {
|
|
563
|
+
"kind": {
|
|
564
|
+
"type": "string",
|
|
565
|
+
"enum": [
|
|
566
|
+
"patch",
|
|
567
|
+
"answer",
|
|
568
|
+
"plan",
|
|
569
|
+
"report",
|
|
570
|
+
"none"
|
|
571
|
+
],
|
|
572
|
+
"default": "none",
|
|
573
|
+
"description": "What the turn actually produced: a patch, an answer, a plan (no files changed), a report, or nothing."
|
|
574
|
+
},
|
|
575
|
+
"diffStat": {
|
|
576
|
+
"anyOf": [
|
|
577
|
+
{
|
|
578
|
+
"type": "object",
|
|
579
|
+
"properties": {
|
|
580
|
+
"files": {
|
|
581
|
+
"type": "integer",
|
|
582
|
+
"minimum": 0,
|
|
583
|
+
"description": "Files changed."
|
|
584
|
+
},
|
|
585
|
+
"additions": {
|
|
586
|
+
"type": "integer",
|
|
587
|
+
"minimum": 0,
|
|
588
|
+
"description": "Lines added."
|
|
589
|
+
},
|
|
590
|
+
"deletions": {
|
|
591
|
+
"type": "integer",
|
|
592
|
+
"minimum": 0,
|
|
593
|
+
"description": "Lines deleted."
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"required": [
|
|
597
|
+
"files",
|
|
598
|
+
"additions",
|
|
599
|
+
"deletions"
|
|
600
|
+
],
|
|
601
|
+
"additionalProperties": false
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"type": "null"
|
|
605
|
+
}
|
|
606
|
+
],
|
|
607
|
+
"default": null,
|
|
608
|
+
"description": "Diff statistics; null unless a patch exists."
|
|
609
|
+
},
|
|
610
|
+
"blockers": {
|
|
611
|
+
"type": "integer",
|
|
612
|
+
"minimum": 0,
|
|
613
|
+
"default": 0,
|
|
614
|
+
"description": "Count of accepted blocking review findings."
|
|
615
|
+
},
|
|
616
|
+
"adopted": {
|
|
617
|
+
"type": [
|
|
618
|
+
"boolean",
|
|
619
|
+
"null"
|
|
620
|
+
],
|
|
621
|
+
"default": null,
|
|
622
|
+
"description": "True when the live in-place tree was mutated this turn (regardless of review); null when unknown."
|
|
623
|
+
},
|
|
624
|
+
"applyState": {
|
|
625
|
+
"type": "string",
|
|
626
|
+
"enum": [
|
|
627
|
+
"not_applied",
|
|
628
|
+
"applied",
|
|
629
|
+
"applied_review_blocked",
|
|
630
|
+
"reverted"
|
|
631
|
+
],
|
|
632
|
+
"description": "Honest application state of a run's changes: not_applied (no in-place mutation), applied (applied and review clean), applied_review_blocked (applied but review blocked/unconverged), or reverted.",
|
|
633
|
+
"default": "not_applied"
|
|
634
|
+
},
|
|
635
|
+
"preTurnSha": {
|
|
636
|
+
"type": [
|
|
637
|
+
"string",
|
|
638
|
+
"null"
|
|
639
|
+
],
|
|
640
|
+
"default": null,
|
|
641
|
+
"description": "Tree SHA before this turn mutated the in-place tree (revert restore target)."
|
|
642
|
+
},
|
|
643
|
+
"postTurnSha": {
|
|
644
|
+
"type": [
|
|
645
|
+
"string",
|
|
646
|
+
"null"
|
|
647
|
+
],
|
|
648
|
+
"default": null,
|
|
649
|
+
"description": "Tree SHA right after this turn's mutation; revert refuses if the working tree has diverged from this since."
|
|
650
|
+
},
|
|
651
|
+
"revertAnchorId": {
|
|
652
|
+
"type": [
|
|
653
|
+
"string",
|
|
654
|
+
"null"
|
|
655
|
+
],
|
|
656
|
+
"default": null,
|
|
657
|
+
"description": "GC-independent revert anchor."
|
|
658
|
+
},
|
|
659
|
+
"revertable": {
|
|
660
|
+
"type": "boolean",
|
|
661
|
+
"default": false,
|
|
662
|
+
"description": "Revert metadata is available so a Revert affordance may be offered; not a live-safe guarantee — the server re-checks tree divergence at revert time."
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
"additionalProperties": false,
|
|
666
|
+
"description": "Honest terminal outcome of a run (what the turn actually did), projected from the work product and answer artifacts.",
|
|
667
|
+
"default": {}
|
|
668
|
+
},
|
|
669
|
+
"waitingOnUser": {
|
|
670
|
+
"type": "boolean",
|
|
671
|
+
"default": false,
|
|
672
|
+
"description": "True while at least one interactive question is awaiting the user's answer."
|
|
673
|
+
},
|
|
674
|
+
"route": {
|
|
675
|
+
"anyOf": [
|
|
676
|
+
{
|
|
677
|
+
"type": "object",
|
|
678
|
+
"properties": {
|
|
679
|
+
"requestedModel": {
|
|
680
|
+
"type": [
|
|
681
|
+
"string",
|
|
682
|
+
"null"
|
|
683
|
+
],
|
|
684
|
+
"default": null,
|
|
685
|
+
"description": "Model requested for the run."
|
|
686
|
+
},
|
|
687
|
+
"observedModel": {
|
|
688
|
+
"type": [
|
|
689
|
+
"string",
|
|
690
|
+
"null"
|
|
691
|
+
],
|
|
692
|
+
"default": null,
|
|
693
|
+
"description": "Model the harness stream actually reported."
|
|
694
|
+
},
|
|
695
|
+
"harnessId": {
|
|
696
|
+
"type": [
|
|
697
|
+
"string",
|
|
698
|
+
"null"
|
|
699
|
+
],
|
|
700
|
+
"default": null,
|
|
701
|
+
"description": "Harness that ran the final attempt."
|
|
702
|
+
},
|
|
703
|
+
"verified": {
|
|
704
|
+
"type": "boolean",
|
|
705
|
+
"default": false,
|
|
706
|
+
"description": "True only when an observed model was actually reported by the harness stream — never inferred from the request."
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
"additionalProperties": false,
|
|
710
|
+
"description": "Run-level route evidence projected from telemetry (requested vs observed model)."
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"type": "null"
|
|
714
|
+
}
|
|
715
|
+
],
|
|
716
|
+
"description": "Route evidence from telemetry; null when no telemetry exists (legacy runs).",
|
|
717
|
+
"default": null
|
|
718
|
+
},
|
|
719
|
+
"tests": {
|
|
720
|
+
"type": "array",
|
|
721
|
+
"items": {
|
|
722
|
+
"type": "object",
|
|
723
|
+
"properties": {
|
|
724
|
+
"program": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"minLength": 1,
|
|
727
|
+
"pattern": "\\S",
|
|
728
|
+
"description": "Executable invoked directly without an implicit shell."
|
|
729
|
+
},
|
|
730
|
+
"args": {
|
|
731
|
+
"type": "array",
|
|
732
|
+
"items": {
|
|
733
|
+
"type": "string"
|
|
734
|
+
},
|
|
735
|
+
"default": [],
|
|
736
|
+
"description": "Exact argv passed to the executable."
|
|
737
|
+
},
|
|
738
|
+
"cwd": {
|
|
739
|
+
"type": "string",
|
|
740
|
+
"description": "Optional project-relative working directory for the command."
|
|
741
|
+
},
|
|
742
|
+
"envAllowlist": {
|
|
743
|
+
"type": "array",
|
|
744
|
+
"items": {
|
|
745
|
+
"$ref": "#/definitions/ControlRunListResponse/properties/runs/items/properties/reviewerPanel/items/properties/model"
|
|
746
|
+
},
|
|
747
|
+
"default": [],
|
|
748
|
+
"description": "Non-secret parent environment names explicitly forwarded to the command."
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
"required": [
|
|
752
|
+
"program"
|
|
753
|
+
],
|
|
754
|
+
"additionalProperties": false,
|
|
755
|
+
"description": "Canonical deterministic command invocation; no implicit shell parsing."
|
|
756
|
+
},
|
|
757
|
+
"description": "Typed argv gates."
|
|
758
|
+
},
|
|
759
|
+
"specId": {
|
|
760
|
+
"type": "string",
|
|
761
|
+
"description": "SpecPack id the run was held to."
|
|
762
|
+
},
|
|
763
|
+
"specHash": {
|
|
764
|
+
"type": "string",
|
|
765
|
+
"minLength": 1,
|
|
766
|
+
"description": "Content hash of the SpecPack the run was held to."
|
|
767
|
+
},
|
|
768
|
+
"createdAt": {
|
|
769
|
+
"type": "string",
|
|
770
|
+
"description": "When the run was created."
|
|
771
|
+
},
|
|
772
|
+
"startedAt": {
|
|
773
|
+
"type": "string",
|
|
774
|
+
"description": "When the run started."
|
|
775
|
+
},
|
|
776
|
+
"finishedAt": {
|
|
777
|
+
"type": "string",
|
|
778
|
+
"description": "When the run finished."
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
"required": [
|
|
782
|
+
"jobId",
|
|
783
|
+
"runId",
|
|
784
|
+
"state"
|
|
785
|
+
],
|
|
786
|
+
"additionalProperties": false,
|
|
787
|
+
"description": "Run summary row served by GET /runs and embedded in run detail: state, routing, budget, policies, and honest outcome."
|
|
788
|
+
},
|
|
789
|
+
"default": []
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
"additionalProperties": false,
|
|
793
|
+
"description": "All durable run summaries visible to the daemon."
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
797
|
+
}
|