@claudexor/schema 3.1.2 → 3.3.7-rc.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 +157 -129
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +3 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +472 -273
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +25 -1
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +17 -17
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +1 -1
- package/dist/attachment.js.map +1 -1
- package/dist/auth.d.ts +475 -475
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +1 -1
- package/dist/auth.js.map +1 -1
- package/dist/budget.d.ts +59 -59
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +1 -1
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +320 -316
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +26 -19
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +38 -38
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -1
- package/dist/context.js.map +1 -1
- package/dist/control-auth-route.d.ts +46 -0
- package/dist/control-auth-route.d.ts.map +1 -0
- package/dist/control-auth-route.js +24 -0
- package/dist/control-auth-route.js.map +1 -0
- package/dist/control-gc.d.ts +15 -15
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +1 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-harness-list.d.ts +896 -0
- package/dist/control-harness-list.d.ts.map +1 -0
- package/dist/control-harness-list.js +13 -0
- package/dist/control-harness-list.js.map +1 -0
- package/dist/control-operation-responses.d.ts +644 -629
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +5 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +2229 -1569
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +46 -2
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-failure.d.ts +57 -0
- package/dist/control-run-failure.d.ts.map +1 -0
- package/dist/control-run-failure.js +89 -0
- package/dist/control-run-failure.js.map +1 -0
- package/dist/control-run-retry.d.ts +16 -16
- package/dist/control-run-retry.d.ts.map +1 -1
- package/dist/control-run-retry.js +1 -1
- package/dist/control-run-retry.js.map +1 -1
- package/dist/control-run-scope.d.ts +19 -2
- package/dist/control-run-scope.d.ts.map +1 -1
- package/dist/control-run-scope.js +22 -1
- package/dist/control-run-scope.js.map +1 -1
- package/dist/control-secret.d.ts +7 -7
- package/dist/control-secret.d.ts.map +1 -1
- package/dist/control-secret.js +1 -1
- package/dist/control-secret.js.map +1 -1
- package/dist/control-thread-apply.d.ts +65 -65
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control-thread-apply.js +1 -1
- package/dist/control-thread-apply.js.map +1 -1
- package/dist/control-trust.d.ts +23 -23
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +1 -1
- package/dist/control-trust.js.map +1 -1
- package/dist/control.d.ts +1551 -2385
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +29 -107
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +3206 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -0
- package/dist/credential-profile-snapshot.js +28 -0
- package/dist/credential-profile-snapshot.js.map +1 -0
- package/dist/credential-profile.d.ts +170 -107
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +24 -7
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +121 -121
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +2 -1
- package/dist/decision.js.map +1 -1
- package/dist/deep-scan.d.ts +5 -5
- package/dist/deep-scan.d.ts.map +1 -1
- package/dist/deep-scan.js +1 -1
- package/dist/deep-scan.js.map +1 -1
- package/dist/delegation.d.ts +13 -13
- package/dist/delegation.d.ts.map +1 -1
- package/dist/delegation.js +1 -1
- package/dist/delegation.js.map +1 -1
- package/dist/delivery.d.ts +32 -32
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +1 -1
- package/dist/delivery.js.map +1 -1
- package/dist/effort.d.ts +1 -1
- package/dist/effort.d.ts.map +1 -1
- package/dist/effort.js +1 -1
- package/dist/effort.js.map +1 -1
- package/dist/events.d.ts +55 -35
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +20 -1
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +7 -7
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +1 -1
- package/dist/gate.js.map +1 -1
- package/dist/git-capability.d.ts +23 -0
- package/dist/git-capability.d.ts.map +1 -0
- package/dist/git-capability.js +15 -0
- package/dist/git-capability.js.map +1 -0
- package/dist/harness-confinement.d.ts +64 -0
- package/dist/harness-confinement.d.ts.map +1 -0
- package/dist/harness-confinement.js +64 -0
- package/dist/harness-confinement.js.map +1 -0
- package/dist/harness.d.ts +428 -408
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +15 -26
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/interaction.d.ts +10 -0
- package/dist/interaction.d.ts.map +1 -0
- package/dist/interaction.js +2 -0
- package/dist/interaction.js.map +1 -0
- package/dist/operation.d.ts +113 -113
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +1 -1
- package/dist/operation.js.map +1 -1
- package/dist/output-schema-dialect.d.ts +1 -1
- package/dist/output-schema-dialect.d.ts.map +1 -1
- package/dist/output-schema-dialect.js +1 -1
- package/dist/output-schema-dialect.js.map +1 -1
- package/dist/output-schema.d.ts +2 -2
- package/dist/output-schema.js +2 -2
- package/dist/plan.d.ts +29 -29
- package/dist/plan.d.ts.map +1 -1
- package/dist/plan.js +2 -2
- package/dist/plan.js.map +1 -1
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +1 -1
- package/dist/primitives.js.map +1 -1
- package/dist/problem.d.ts +6 -6
- package/dist/problem.d.ts.map +1 -1
- package/dist/problem.js +1 -1
- package/dist/problem.js.map +1 -1
- package/dist/project.d.ts +87 -25
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +21 -1
- package/dist/project.js.map +1 -1
- package/dist/quota.d.ts +51 -51
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +6 -1
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +16 -16
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +1 -1
- package/dist/raw.js.map +1 -1
- package/dist/readiness.d.ts +242 -242
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +1 -1
- package/dist/readiness.js.map +1 -1
- package/dist/recovery.d.ts +106 -106
- package/dist/recovery.d.ts.map +1 -1
- package/dist/recovery.js +1 -1
- package/dist/recovery.js.map +1 -1
- package/dist/request-requirements.d.ts +9 -9
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +1 -1
- package/dist/request-requirements.js.map +1 -1
- package/dist/review.d.ts +29 -29
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +1 -1
- package/dist/review.js.map +1 -1
- package/dist/route.d.ts +11 -11
- package/dist/route.d.ts.map +1 -1
- package/dist/route.js +1 -1
- package/dist/route.js.map +1 -1
- package/dist/run-applicability.d.ts +764 -0
- package/dist/run-applicability.d.ts.map +1 -0
- package/dist/run-applicability.js +56 -0
- package/dist/run-applicability.js.map +1 -0
- package/dist/run-facts.d.ts +628 -0
- package/dist/run-facts.d.ts.map +1 -0
- package/dist/run-facts.js +429 -0
- package/dist/run-facts.js.map +1 -0
- package/dist/run-strategy.d.ts +40 -0
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +68 -1
- package/dist/run-strategy.js.map +1 -1
- package/dist/setup-device-code-envelope.d.ts +67 -0
- package/dist/setup-device-code-envelope.d.ts.map +1 -0
- package/dist/setup-device-code-envelope.js +25 -0
- package/dist/setup-device-code-envelope.js.map +1 -0
- package/dist/setup-login-protocol.d.ts +6 -0
- package/dist/setup-login-protocol.d.ts.map +1 -0
- package/dist/setup-login-protocol.js +12 -0
- package/dist/setup-login-protocol.js.map +1 -0
- package/dist/setup-transport.d.ts +12 -0
- package/dist/setup-transport.d.ts.map +1 -0
- package/dist/setup-transport.js +22 -0
- package/dist/setup-transport.js.map +1 -0
- package/dist/setup.d.ts +12572 -3749
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +34 -38
- package/dist/setup.js.map +1 -1
- package/dist/status-projection.d.ts +7 -5
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +11 -6
- package/dist/status-projection.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +10 -1
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +303 -303
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +1 -1
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +1157 -633
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +7 -4
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +133 -84
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +21 -2
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +7 -7
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +1 -1
- package/dist/tool-ref.js.map +1 -1
- package/dist/work-report.d.ts +28 -28
- package/dist/work-report.d.ts.map +1 -1
- package/dist/work-report.js +3 -3
- package/dist/work-report.js.map +1 -1
- package/dist/workproduct.d.ts +6 -9
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js +1 -2
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +13 -13
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +1 -1
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +41 -0
- package/generated/ControlCredentialProfileCreateResponse.schema.json +10 -1
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +10 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +1343 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +20 -3
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1322 -0
- package/generated/ControlDirectoryEntry.schema.json +36 -0
- package/generated/ControlDirectoryListing.schema.json +77 -0
- package/generated/ControlHarnessListResponse.schema.json +41 -1
- package/generated/ControlQuotaResponse.schema.json +2 -1
- package/generated/ControlRunAgainDraft.schema.json +12 -2
- package/generated/ControlRunApplicabilityResponse.schema.json +217 -0
- package/generated/ControlRunDetail.schema.json +494 -69
- package/generated/ControlRunListResponse.schema.json +30 -4
- package/generated/ControlRunStartRequest.schema.json +12 -2
- package/generated/ControlRunSummary.schema.json +30 -4
- package/generated/ControlSettingsSnapshot.schema.json +12 -3
- package/generated/ControlSettingsUpdateRequest.schema.json +12 -3
- package/generated/ControlSetupJob.schema.json +9 -0
- package/generated/ControlSetupJobCreateRequest.schema.json +9 -0
- package/generated/ControlSetupJobEvent.schema.json +858 -758
- package/generated/ControlSetupJobListResponse.schema.json +9 -0
- package/generated/ControlSetupJobSnapshot.schema.json +811 -736
- package/generated/ControlThreadCreateRequest.schema.json +5 -0
- package/generated/ControlThreadDetail.schema.json +31 -1
- package/generated/ControlThreadTurnRequest.schema.json +5 -24
- package/generated/CredentialProfileStatus.schema.json +10 -1
- package/generated/DecisionRecord.schema.json +2 -1
- package/generated/GitCapability.schema.json +46 -0
- package/generated/GlobalConfig.schema.json +13 -4
- package/generated/HarnessEvent.schema.json +2 -1
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/McpRunHandleResult.schema.json +182 -1
- package/generated/McpRunToolResult.schema.json +182 -1
- package/generated/OutputReadyPayload.schema.json +44 -0
- package/generated/RunFacts.schema.json +569 -0
- package/generated/RunFailure.schema.json +19 -2
- package/generated/RunTelemetry.schema.json +492 -2
- package/generated/ThreadTurn.schema.json +29 -0
- package/generated/WorkProduct.schema.json +0 -4
- package/package.json +3 -3
|
@@ -159,9 +159,13 @@
|
|
|
159
159
|
"unknown_paid_in_flight",
|
|
160
160
|
"budget_overshoot",
|
|
161
161
|
"cost_unverifiable",
|
|
162
|
-
"delegation_child_drain_timeout"
|
|
162
|
+
"delegation_child_drain_timeout",
|
|
163
|
+
"subscription_window_exhausted",
|
|
164
|
+
"delegated_home_unavailable",
|
|
165
|
+
"delegated_confinement_unavailable",
|
|
166
|
+
"delegated_evidence_incomplete"
|
|
163
167
|
],
|
|
164
|
-
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons
|
|
168
|
+
"description": "Machine-readable failure sub-code within a RunFailure category (budget-denial reasons, Delegate child-drain timeout, a spent subscription quota window whose reopen time is RunFailure.resetsAt, and the delegated-run confinement refusals: missing scoped home, no OS-enforced boundary on this host, incomplete applied evidence)."
|
|
165
169
|
},
|
|
166
170
|
{
|
|
167
171
|
"type": "null"
|
|
@@ -222,6 +226,19 @@
|
|
|
222
226
|
"default": null,
|
|
223
227
|
"description": "Run artifact directory."
|
|
224
228
|
},
|
|
229
|
+
"resetsAt": {
|
|
230
|
+
"anyOf": [
|
|
231
|
+
{
|
|
232
|
+
"type": "string",
|
|
233
|
+
"format": "date-time"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"type": "null"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"default": null,
|
|
240
|
+
"description": "When the refused window reopens (a spent subscription quota window), or null when the failure has no such time. Callers schedule a retry off this field, never off safeMessage."
|
|
241
|
+
},
|
|
225
242
|
"nextActions": {
|
|
226
243
|
"type": "array",
|
|
227
244
|
"items": {
|
|
@@ -578,6 +595,14 @@
|
|
|
578
595
|
],
|
|
579
596
|
"default": null
|
|
580
597
|
},
|
|
598
|
+
"profileId": {
|
|
599
|
+
"type": [
|
|
600
|
+
"string",
|
|
601
|
+
"null"
|
|
602
|
+
],
|
|
603
|
+
"default": null,
|
|
604
|
+
"description": "Credential profile the deciding attempt ran under; null = engine-default credentials."
|
|
605
|
+
},
|
|
581
606
|
"modelMismatch": {
|
|
582
607
|
"anyOf": [
|
|
583
608
|
{
|
|
@@ -983,6 +1008,7 @@
|
|
|
983
1008
|
"wall_clock_exceeded",
|
|
984
1009
|
"user_cancelled",
|
|
985
1010
|
"crash_interrupted",
|
|
1011
|
+
"workspace_unavailable",
|
|
986
1012
|
"input_required",
|
|
987
1013
|
"work_incomplete",
|
|
988
1014
|
"context_capacity_exhausted",
|
|
@@ -1017,7 +1043,7 @@
|
|
|
1017
1043
|
"validated",
|
|
1018
1044
|
"absent"
|
|
1019
1045
|
],
|
|
1020
|
-
"description": "Provenance of a WorkReport: constrained (native schema transport), validated (
|
|
1046
|
+
"description": "Provenance of a WorkReport: constrained (native schema transport), validated (instructed terminal metadata), or absent (no transport could carry one — a disclosed absence, not a failure)."
|
|
1021
1047
|
},
|
|
1022
1048
|
"required_inputs": {
|
|
1023
1049
|
"type": "array",
|
|
@@ -1090,7 +1116,7 @@
|
|
|
1090
1116
|
"waitingOnUser": {
|
|
1091
1117
|
"type": "boolean",
|
|
1092
1118
|
"default": false,
|
|
1093
|
-
"description": "True while at least one interactive question
|
|
1119
|
+
"description": "True while at least one interactive question awaits answer, timeout, run-terminal, or interruption release."
|
|
1094
1120
|
},
|
|
1095
1121
|
"route": {
|
|
1096
1122
|
"anyOf": [
|
|
@@ -1318,6 +1344,420 @@
|
|
|
1318
1344
|
"default": [],
|
|
1319
1345
|
"description": "Direct Claudexor Delegate child runs, projected from persisted delegatedFromRunId lineage for reload-safe flat rows."
|
|
1320
1346
|
},
|
|
1347
|
+
"runFacts": {
|
|
1348
|
+
"anyOf": [
|
|
1349
|
+
{
|
|
1350
|
+
"type": "object",
|
|
1351
|
+
"properties": {
|
|
1352
|
+
"schema_version": {
|
|
1353
|
+
"type": "number",
|
|
1354
|
+
"const": 2,
|
|
1355
|
+
"description": "Schema version of the artifact; bumped on breaking ABI changes."
|
|
1356
|
+
},
|
|
1357
|
+
"run_id": {
|
|
1358
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1359
|
+
},
|
|
1360
|
+
"task_id": {
|
|
1361
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1362
|
+
},
|
|
1363
|
+
"mode": {
|
|
1364
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/mode"
|
|
1365
|
+
},
|
|
1366
|
+
"outcome": {
|
|
1367
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/outcomeFacts/anyOf/0"
|
|
1368
|
+
},
|
|
1369
|
+
"deliverable": {
|
|
1370
|
+
"type": "object",
|
|
1371
|
+
"properties": {
|
|
1372
|
+
"present": {
|
|
1373
|
+
"type": "boolean",
|
|
1374
|
+
"description": "Whether the canonical primary deliverable exists."
|
|
1375
|
+
},
|
|
1376
|
+
"kind": {
|
|
1377
|
+
"anyOf": [
|
|
1378
|
+
{
|
|
1379
|
+
"type": "string",
|
|
1380
|
+
"enum": [
|
|
1381
|
+
"answer",
|
|
1382
|
+
"report",
|
|
1383
|
+
"plan",
|
|
1384
|
+
"patch",
|
|
1385
|
+
"structured_output"
|
|
1386
|
+
]
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"type": "null"
|
|
1390
|
+
}
|
|
1391
|
+
],
|
|
1392
|
+
"description": "Kind of canonical primary deliverable; null when none exists."
|
|
1393
|
+
},
|
|
1394
|
+
"path": {
|
|
1395
|
+
"type": [
|
|
1396
|
+
"string",
|
|
1397
|
+
"null"
|
|
1398
|
+
],
|
|
1399
|
+
"description": "Run-relative path of the canonical primary deliverable; null when absent."
|
|
1400
|
+
},
|
|
1401
|
+
"producer_attempt_id": {
|
|
1402
|
+
"anyOf": [
|
|
1403
|
+
{
|
|
1404
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"type": "null"
|
|
1408
|
+
}
|
|
1409
|
+
],
|
|
1410
|
+
"description": "Attempt that produced the deliverable, when known.",
|
|
1411
|
+
"default": null
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
"required": [
|
|
1415
|
+
"present",
|
|
1416
|
+
"kind",
|
|
1417
|
+
"path"
|
|
1418
|
+
],
|
|
1419
|
+
"additionalProperties": false,
|
|
1420
|
+
"description": "Canonical primary-output presence and identity for a terminal run."
|
|
1421
|
+
},
|
|
1422
|
+
"presentation": {
|
|
1423
|
+
"type": "object",
|
|
1424
|
+
"properties": {
|
|
1425
|
+
"state": {
|
|
1426
|
+
"type": "string",
|
|
1427
|
+
"enum": [
|
|
1428
|
+
"ready",
|
|
1429
|
+
"diagnostic"
|
|
1430
|
+
],
|
|
1431
|
+
"description": "Terminal output readiness decided by the last valid output.ready receipt."
|
|
1432
|
+
},
|
|
1433
|
+
"primary": {
|
|
1434
|
+
"anyOf": [
|
|
1435
|
+
{
|
|
1436
|
+
"type": "object",
|
|
1437
|
+
"properties": {
|
|
1438
|
+
"kind": {
|
|
1439
|
+
"type": "string",
|
|
1440
|
+
"enum": [
|
|
1441
|
+
"answer",
|
|
1442
|
+
"report",
|
|
1443
|
+
"plan",
|
|
1444
|
+
"patch",
|
|
1445
|
+
"structured_output",
|
|
1446
|
+
"diagnostic"
|
|
1447
|
+
],
|
|
1448
|
+
"description": "Presentation kind of the terminal primary artifact."
|
|
1449
|
+
},
|
|
1450
|
+
"path": {
|
|
1451
|
+
"type": "string",
|
|
1452
|
+
"minLength": 1,
|
|
1453
|
+
"description": "Normalized run-relative path of the terminal primary artifact."
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
"required": [
|
|
1457
|
+
"kind",
|
|
1458
|
+
"path"
|
|
1459
|
+
],
|
|
1460
|
+
"additionalProperties": false,
|
|
1461
|
+
"description": "Primary user-facing artifact selected once during terminal preparation."
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"type": "null"
|
|
1465
|
+
}
|
|
1466
|
+
],
|
|
1467
|
+
"description": "Selected terminal primary artifact, or null when the receipt announces readiness without a primary deliverable."
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
"required": [
|
|
1471
|
+
"state",
|
|
1472
|
+
"primary"
|
|
1473
|
+
],
|
|
1474
|
+
"additionalProperties": false,
|
|
1475
|
+
"description": "Immutable terminal output state and primary artifact. Absent only on legacy RunFacts receipts."
|
|
1476
|
+
},
|
|
1477
|
+
"participants": {
|
|
1478
|
+
"type": "object",
|
|
1479
|
+
"properties": {
|
|
1480
|
+
"planners": {
|
|
1481
|
+
"type": "integer",
|
|
1482
|
+
"minimum": 0,
|
|
1483
|
+
"description": "Number of participants whose canonical role is planner."
|
|
1484
|
+
},
|
|
1485
|
+
"attempts": {
|
|
1486
|
+
"type": "array",
|
|
1487
|
+
"items": {
|
|
1488
|
+
"type": "object",
|
|
1489
|
+
"properties": {
|
|
1490
|
+
"attempt_id": {
|
|
1491
|
+
"anyOf": [
|
|
1492
|
+
{
|
|
1493
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"type": "null"
|
|
1497
|
+
}
|
|
1498
|
+
],
|
|
1499
|
+
"description": "Attempt id when the participant owns an orchestrator attempt; null for reviewer-panel members."
|
|
1500
|
+
},
|
|
1501
|
+
"harness_id": {
|
|
1502
|
+
"type": "string",
|
|
1503
|
+
"minLength": 1,
|
|
1504
|
+
"description": "Harness that served this participant role."
|
|
1505
|
+
},
|
|
1506
|
+
"role": {
|
|
1507
|
+
"type": "string",
|
|
1508
|
+
"enum": [
|
|
1509
|
+
"planner",
|
|
1510
|
+
"merge",
|
|
1511
|
+
"candidate",
|
|
1512
|
+
"scout",
|
|
1513
|
+
"reducer",
|
|
1514
|
+
"reviewer"
|
|
1515
|
+
],
|
|
1516
|
+
"description": "Canonical role of one participant in the terminal run graph."
|
|
1517
|
+
},
|
|
1518
|
+
"deliverable_present": {
|
|
1519
|
+
"type": "boolean",
|
|
1520
|
+
"default": false,
|
|
1521
|
+
"description": "Whether this participant produced the deliverable its role requested."
|
|
1522
|
+
},
|
|
1523
|
+
"status": {
|
|
1524
|
+
"anyOf": [
|
|
1525
|
+
{
|
|
1526
|
+
"type": "string",
|
|
1527
|
+
"enum": [
|
|
1528
|
+
"success",
|
|
1529
|
+
"success_with_warnings",
|
|
1530
|
+
"blocked",
|
|
1531
|
+
"failed"
|
|
1532
|
+
],
|
|
1533
|
+
"description": "Terminal outcome recorded for one run participant."
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"type": "null"
|
|
1537
|
+
}
|
|
1538
|
+
],
|
|
1539
|
+
"description": "Participant outcome when recorded; null for artifact-only reviewer membership.",
|
|
1540
|
+
"default": null
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
"required": [
|
|
1544
|
+
"attempt_id",
|
|
1545
|
+
"harness_id",
|
|
1546
|
+
"role"
|
|
1547
|
+
],
|
|
1548
|
+
"additionalProperties": false,
|
|
1549
|
+
"description": "One role-labelled participant in the terminal run graph."
|
|
1550
|
+
},
|
|
1551
|
+
"default": [],
|
|
1552
|
+
"description": "Role-labelled participant roster."
|
|
1553
|
+
}
|
|
1554
|
+
},
|
|
1555
|
+
"required": [
|
|
1556
|
+
"planners"
|
|
1557
|
+
],
|
|
1558
|
+
"additionalProperties": false,
|
|
1559
|
+
"description": "Terminal participant graph plus its planner-lane count."
|
|
1560
|
+
},
|
|
1561
|
+
"gates": {
|
|
1562
|
+
"type": "object",
|
|
1563
|
+
"properties": {
|
|
1564
|
+
"configured": {
|
|
1565
|
+
"type": "boolean",
|
|
1566
|
+
"description": "Whether the frozen task configured deterministic gates."
|
|
1567
|
+
},
|
|
1568
|
+
"required": {
|
|
1569
|
+
"type": "integer",
|
|
1570
|
+
"minimum": 0,
|
|
1571
|
+
"description": "Number of configured required gates."
|
|
1572
|
+
},
|
|
1573
|
+
"total": {
|
|
1574
|
+
"type": "integer",
|
|
1575
|
+
"minimum": 0,
|
|
1576
|
+
"description": "Total configured deterministic gates."
|
|
1577
|
+
},
|
|
1578
|
+
"executed": {
|
|
1579
|
+
"type": "boolean",
|
|
1580
|
+
"description": "Whether the terminal attempt executed the gate set."
|
|
1581
|
+
},
|
|
1582
|
+
"state": {
|
|
1583
|
+
"type": "string",
|
|
1584
|
+
"enum": [
|
|
1585
|
+
"not_configured",
|
|
1586
|
+
"passed",
|
|
1587
|
+
"failed",
|
|
1588
|
+
"skipped"
|
|
1589
|
+
],
|
|
1590
|
+
"description": "Terminal state of the configured deterministic gate set."
|
|
1591
|
+
},
|
|
1592
|
+
"receipt_attempt_id": {
|
|
1593
|
+
"anyOf": [
|
|
1594
|
+
{
|
|
1595
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"type": "null"
|
|
1599
|
+
}
|
|
1600
|
+
],
|
|
1601
|
+
"description": "Attempt whose gate receipt decides this projection; null when no gates executed.",
|
|
1602
|
+
"default": null
|
|
1603
|
+
}
|
|
1604
|
+
},
|
|
1605
|
+
"required": [
|
|
1606
|
+
"configured",
|
|
1607
|
+
"required",
|
|
1608
|
+
"total",
|
|
1609
|
+
"executed",
|
|
1610
|
+
"state"
|
|
1611
|
+
],
|
|
1612
|
+
"additionalProperties": false,
|
|
1613
|
+
"description": "Canonical gate configuration and terminal receipt projection."
|
|
1614
|
+
},
|
|
1615
|
+
"review": {
|
|
1616
|
+
"type": "object",
|
|
1617
|
+
"properties": {
|
|
1618
|
+
"state": {
|
|
1619
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/outcomeFacts/anyOf/0/properties/review"
|
|
1620
|
+
},
|
|
1621
|
+
"blocker_ids": {
|
|
1622
|
+
"type": "array",
|
|
1623
|
+
"items": {
|
|
1624
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0"
|
|
1625
|
+
},
|
|
1626
|
+
"default": [],
|
|
1627
|
+
"description": "Stable ids of accepted evidence-backed blocking findings."
|
|
1628
|
+
},
|
|
1629
|
+
"blockers": {
|
|
1630
|
+
"type": "integer",
|
|
1631
|
+
"minimum": 0,
|
|
1632
|
+
"description": "Number of blocking findings."
|
|
1633
|
+
}
|
|
1634
|
+
},
|
|
1635
|
+
"required": [
|
|
1636
|
+
"state",
|
|
1637
|
+
"blockers"
|
|
1638
|
+
],
|
|
1639
|
+
"additionalProperties": false,
|
|
1640
|
+
"description": "Canonical terminal review verdict and blocking-finding identity."
|
|
1641
|
+
},
|
|
1642
|
+
"apply": {
|
|
1643
|
+
"type": "object",
|
|
1644
|
+
"properties": {
|
|
1645
|
+
"eligibility": {
|
|
1646
|
+
"anyOf": [
|
|
1647
|
+
{
|
|
1648
|
+
"type": "object",
|
|
1649
|
+
"properties": {
|
|
1650
|
+
"eligible": {
|
|
1651
|
+
"type": "boolean",
|
|
1652
|
+
"description": "True when the apply gate would accept this run's patch right now."
|
|
1653
|
+
},
|
|
1654
|
+
"state": {
|
|
1655
|
+
"type": [
|
|
1656
|
+
"string",
|
|
1657
|
+
"null"
|
|
1658
|
+
],
|
|
1659
|
+
"description": "The gate's apply-eligibility classification (e.g. needs_review | not_verified | no_changes | ok) when known."
|
|
1660
|
+
},
|
|
1661
|
+
"reason": {
|
|
1662
|
+
"type": [
|
|
1663
|
+
"string",
|
|
1664
|
+
"null"
|
|
1665
|
+
],
|
|
1666
|
+
"description": "The gate's refusal text when not eligible (null when eligible)."
|
|
1667
|
+
},
|
|
1668
|
+
"requiredAction": {
|
|
1669
|
+
"type": [
|
|
1670
|
+
"string",
|
|
1671
|
+
"null"
|
|
1672
|
+
],
|
|
1673
|
+
"description": "Honest guidance for what actually unblocks apply (typed operator decision, add gates, re-run, or nothing to apply)."
|
|
1674
|
+
}
|
|
1675
|
+
},
|
|
1676
|
+
"required": [
|
|
1677
|
+
"eligible",
|
|
1678
|
+
"state",
|
|
1679
|
+
"reason",
|
|
1680
|
+
"requiredAction"
|
|
1681
|
+
],
|
|
1682
|
+
"additionalProperties": false,
|
|
1683
|
+
"description": "Derived apply-gate verdict for a run's WorkProduct (single producer in the delivery gate)."
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"type": "null"
|
|
1687
|
+
}
|
|
1688
|
+
],
|
|
1689
|
+
"description": "Delivery-gate eligibility at terminalization; null when nothing is applyable.",
|
|
1690
|
+
"default": null
|
|
1691
|
+
},
|
|
1692
|
+
"operator_decision_present": {
|
|
1693
|
+
"type": "boolean",
|
|
1694
|
+
"default": false,
|
|
1695
|
+
"description": "Whether a valid operator decision was present when the receipt was finalized."
|
|
1696
|
+
}
|
|
1697
|
+
},
|
|
1698
|
+
"additionalProperties": false,
|
|
1699
|
+
"description": "Terminal apply eligibility and operator-decision state."
|
|
1700
|
+
},
|
|
1701
|
+
"required_actions": {
|
|
1702
|
+
"type": "array",
|
|
1703
|
+
"items": {
|
|
1704
|
+
"type": "object",
|
|
1705
|
+
"properties": {
|
|
1706
|
+
"id": {
|
|
1707
|
+
"type": "string",
|
|
1708
|
+
"enum": [
|
|
1709
|
+
"provide_required_input",
|
|
1710
|
+
"complete_incomplete_work",
|
|
1711
|
+
"resolve_review_block",
|
|
1712
|
+
"fix_failed_checks",
|
|
1713
|
+
"record_operator_decision"
|
|
1714
|
+
],
|
|
1715
|
+
"description": "Stable machine id for a required operator action on a blocked terminal run."
|
|
1716
|
+
},
|
|
1717
|
+
"detail": {
|
|
1718
|
+
"type": "string",
|
|
1719
|
+
"description": "Human-readable guidance for this action (English-only, INV-141)."
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1722
|
+
"required": [
|
|
1723
|
+
"id",
|
|
1724
|
+
"detail"
|
|
1725
|
+
],
|
|
1726
|
+
"additionalProperties": false,
|
|
1727
|
+
"description": "One typed required operator action derived from a run's terminal outcome facts."
|
|
1728
|
+
},
|
|
1729
|
+
"default": [],
|
|
1730
|
+
"description": "Typed actions required to unblock this terminal outcome."
|
|
1731
|
+
},
|
|
1732
|
+
"generated_at": {
|
|
1733
|
+
"type": "string",
|
|
1734
|
+
"minLength": 1,
|
|
1735
|
+
"description": "When this immutable terminal receipt was finalized."
|
|
1736
|
+
}
|
|
1737
|
+
},
|
|
1738
|
+
"required": [
|
|
1739
|
+
"schema_version",
|
|
1740
|
+
"run_id",
|
|
1741
|
+
"task_id",
|
|
1742
|
+
"mode",
|
|
1743
|
+
"outcome",
|
|
1744
|
+
"deliverable",
|
|
1745
|
+
"participants",
|
|
1746
|
+
"gates",
|
|
1747
|
+
"review",
|
|
1748
|
+
"apply",
|
|
1749
|
+
"generated_at"
|
|
1750
|
+
],
|
|
1751
|
+
"additionalProperties": false,
|
|
1752
|
+
"description": "Validated immutable terminal facts for one run."
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"type": "null"
|
|
1756
|
+
}
|
|
1757
|
+
],
|
|
1758
|
+
"description": "Validated terminal RunFacts receipt; null while active or unavailable.",
|
|
1759
|
+
"default": null
|
|
1760
|
+
},
|
|
1321
1761
|
"outcomeBanner": {
|
|
1322
1762
|
"type": [
|
|
1323
1763
|
"string",
|
|
@@ -1979,10 +2419,6 @@
|
|
|
1979
2419
|
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/parentRunId/anyOf/0",
|
|
1980
2420
|
"description": "Attempt that produced it, when known."
|
|
1981
2421
|
},
|
|
1982
|
-
"evidence_dir": {
|
|
1983
|
-
"type": "string",
|
|
1984
|
-
"description": "Directory holding run evidence artifacts."
|
|
1985
|
-
},
|
|
1986
2422
|
"files": {
|
|
1987
2423
|
"type": "object",
|
|
1988
2424
|
"additionalProperties": {
|
|
@@ -2099,7 +2535,7 @@
|
|
|
2099
2535
|
"allow_text": {
|
|
2100
2536
|
"type": "boolean",
|
|
2101
2537
|
"default": false,
|
|
2102
|
-
"description": "True when
|
|
2538
|
+
"description": "True when free text is accepted as a complete answer, including as an alternative to single/multi options."
|
|
2103
2539
|
}
|
|
2104
2540
|
},
|
|
2105
2541
|
"required": [
|
|
@@ -2206,42 +2642,7 @@
|
|
|
2206
2642
|
"applyEligibility": {
|
|
2207
2643
|
"anyOf": [
|
|
2208
2644
|
{
|
|
2209
|
-
"
|
|
2210
|
-
"properties": {
|
|
2211
|
-
"eligible": {
|
|
2212
|
-
"type": "boolean",
|
|
2213
|
-
"description": "True when the apply gate would accept this run's patch right now."
|
|
2214
|
-
},
|
|
2215
|
-
"state": {
|
|
2216
|
-
"type": [
|
|
2217
|
-
"string",
|
|
2218
|
-
"null"
|
|
2219
|
-
],
|
|
2220
|
-
"description": "The gate's apply-eligibility classification (e.g. needs_review | not_verified | no_changes | ok) when known."
|
|
2221
|
-
},
|
|
2222
|
-
"reason": {
|
|
2223
|
-
"type": [
|
|
2224
|
-
"string",
|
|
2225
|
-
"null"
|
|
2226
|
-
],
|
|
2227
|
-
"description": "The gate's refusal text when not eligible (null when eligible)."
|
|
2228
|
-
},
|
|
2229
|
-
"requiredAction": {
|
|
2230
|
-
"type": [
|
|
2231
|
-
"string",
|
|
2232
|
-
"null"
|
|
2233
|
-
],
|
|
2234
|
-
"description": "Honest guidance for what actually unblocks apply (typed operator decision, add gates, re-run, or nothing to apply)."
|
|
2235
|
-
}
|
|
2236
|
-
},
|
|
2237
|
-
"required": [
|
|
2238
|
-
"eligible",
|
|
2239
|
-
"state",
|
|
2240
|
-
"reason",
|
|
2241
|
-
"requiredAction"
|
|
2242
|
-
],
|
|
2243
|
-
"additionalProperties": false,
|
|
2244
|
-
"description": "Derived apply-gate verdict for a run's WorkProduct (single producer in the delivery gate)."
|
|
2645
|
+
"$ref": "#/definitions/ControlRunDetail/properties/runFacts/anyOf/0/properties/apply/properties/eligibility/anyOf/0"
|
|
2245
2646
|
},
|
|
2246
2647
|
{
|
|
2247
2648
|
"type": "null"
|
|
@@ -2728,6 +3129,53 @@
|
|
|
2728
3129
|
],
|
|
2729
3130
|
"default": null,
|
|
2730
3131
|
"description": "This candidate's ranking-scorecard axis values (from decision.ranking_scorecard); null when no arbitration ran."
|
|
3132
|
+
},
|
|
3133
|
+
"confinement": {
|
|
3134
|
+
"anyOf": [
|
|
3135
|
+
{
|
|
3136
|
+
"type": "object",
|
|
3137
|
+
"properties": {
|
|
3138
|
+
"proven": {
|
|
3139
|
+
"type": "boolean",
|
|
3140
|
+
"description": "Whether a boundary was actually enforced for this attempt: a named mechanism AND the path it was proven to deny. The only field a consumer should branch on."
|
|
3141
|
+
},
|
|
3142
|
+
"mechanism": {
|
|
3143
|
+
"type": [
|
|
3144
|
+
"string",
|
|
3145
|
+
"null"
|
|
3146
|
+
],
|
|
3147
|
+
"description": "Opaque label of the enforcing mechanism; null when no boundary was applied."
|
|
3148
|
+
},
|
|
3149
|
+
"verifiedDeniedPath": {
|
|
3150
|
+
"type": [
|
|
3151
|
+
"string",
|
|
3152
|
+
"null"
|
|
3153
|
+
],
|
|
3154
|
+
"description": "Path proven unreadable under the applied policy before the harness was spawned."
|
|
3155
|
+
},
|
|
3156
|
+
"unavailableReason": {
|
|
3157
|
+
"type": [
|
|
3158
|
+
"string",
|
|
3159
|
+
"null"
|
|
3160
|
+
],
|
|
3161
|
+
"description": "Why this attempt ran with NO boundary; null when one was applied. Present exactly when proven is false for a run that asked for a boundary."
|
|
3162
|
+
}
|
|
3163
|
+
},
|
|
3164
|
+
"required": [
|
|
3165
|
+
"proven",
|
|
3166
|
+
"mechanism",
|
|
3167
|
+
"verifiedDeniedPath",
|
|
3168
|
+
"unavailableReason"
|
|
3169
|
+
],
|
|
3170
|
+
"additionalProperties": false,
|
|
3171
|
+
"description": "Applied OS filesystem boundary for one attempt, or the stated reason there was none."
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"type": "null"
|
|
3175
|
+
}
|
|
3176
|
+
],
|
|
3177
|
+
"description": "Applied OS boundary for this attempt; null when the run never asked for one (every non-delegated run).",
|
|
3178
|
+
"default": null
|
|
2731
3179
|
}
|
|
2732
3180
|
},
|
|
2733
3181
|
"required": [
|
|
@@ -2808,30 +3256,7 @@
|
|
|
2808
3256
|
"requiredActions": {
|
|
2809
3257
|
"type": "array",
|
|
2810
3258
|
"items": {
|
|
2811
|
-
"
|
|
2812
|
-
"properties": {
|
|
2813
|
-
"id": {
|
|
2814
|
-
"type": "string",
|
|
2815
|
-
"enum": [
|
|
2816
|
-
"provide_required_input",
|
|
2817
|
-
"complete_incomplete_work",
|
|
2818
|
-
"resolve_review_block",
|
|
2819
|
-
"fix_failed_checks",
|
|
2820
|
-
"record_operator_decision"
|
|
2821
|
-
],
|
|
2822
|
-
"description": "Stable machine id for a required operator action on a blocked terminal run."
|
|
2823
|
-
},
|
|
2824
|
-
"detail": {
|
|
2825
|
-
"type": "string",
|
|
2826
|
-
"description": "Human-readable guidance for this action (English-only, INV-141)."
|
|
2827
|
-
}
|
|
2828
|
-
},
|
|
2829
|
-
"required": [
|
|
2830
|
-
"id",
|
|
2831
|
-
"detail"
|
|
2832
|
-
],
|
|
2833
|
-
"additionalProperties": false,
|
|
2834
|
-
"description": "One typed required operator action derived from a run's terminal outcome facts."
|
|
3259
|
+
"$ref": "#/definitions/ControlRunDetail/properties/runFacts/anyOf/0/properties/required_actions/items"
|
|
2835
3260
|
},
|
|
2836
3261
|
"default": [],
|
|
2837
3262
|
"description": "Stable-id required operator actions for a succeeded-but-blocked run (GH #29); empty for clean/decided/failed runs."
|