@claudexor/schema 3.0.4 → 3.1.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 +37 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +14 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +384 -18
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +20 -1
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/budget.d.ts +75 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +46 -0
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +41 -41
- package/dist/control-operation-responses.d.ts +287 -65
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +33 -3
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +600 -150
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +28 -2
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +1 -1
- package/dist/control-run-scope.d.ts +1 -1
- package/dist/control-thread-apply.d.ts +10 -0
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control.d.ts +664 -156
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +76 -2
- package/dist/control.js.map +1 -1
- package/dist/decision.d.ts +205 -9
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +69 -1
- package/dist/decision.js.map +1 -1
- package/dist/deep-scan.d.ts +27 -0
- package/dist/deep-scan.d.ts.map +1 -0
- package/dist/deep-scan.js +27 -0
- package/dist/deep-scan.js.map +1 -0
- package/dist/delivery.d.ts +13 -0
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +15 -0
- package/dist/delivery.js.map +1 -1
- package/dist/events.d.ts +59 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +85 -0
- package/dist/events.js.map +1 -1
- package/dist/harness.d.ts +111 -3
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +77 -1
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +193 -10
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +45 -0
- package/dist/operation.js.map +1 -1
- package/dist/output-schema-dialect.d.ts +22 -0
- package/dist/output-schema-dialect.d.ts.map +1 -0
- package/dist/output-schema-dialect.js +37 -0
- package/dist/output-schema-dialect.js.map +1 -0
- package/dist/output-schema.d.ts +26 -2
- package/dist/output-schema.d.ts.map +1 -1
- package/dist/output-schema.js +313 -16
- package/dist/output-schema.js.map +1 -1
- package/dist/plan.d.ts +2 -2
- package/dist/problem.d.ts +3 -3
- package/dist/project.d.ts +47 -12
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +32 -0
- package/dist/project.js.map +1 -1
- package/dist/readiness.d.ts +14 -0
- package/dist/readiness.d.ts.map +1 -1
- package/dist/recovery.d.ts +14 -14
- package/dist/review.d.ts +7 -7
- package/dist/route.d.ts +2 -2
- package/dist/setup.d.ts +288 -94
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +90 -6
- package/dist/setup.js.map +1 -1
- package/dist/status-projection.d.ts +79 -4
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +161 -4
- package/dist/status-projection.js.map +1 -1
- package/dist/task.d.ts +14 -0
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +9 -0
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +779 -16
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +177 -4
- package/dist/telemetry.js.map +1 -1
- package/dist/tool-ref.d.ts +14 -0
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +15 -0
- package/dist/tool-ref.js.map +1 -1
- package/dist/work-report.d.ts +131 -0
- package/dist/work-report.d.ts.map +1 -0
- package/dist/work-report.js +124 -0
- package/dist/work-report.js.map +1 -0
- package/dist/workspace.d.ts +2 -2
- package/generated/AgentCapabilityCatalog.schema.json +35 -0
- package/generated/ControlApplyCheckResponse.schema.json +5 -0
- package/generated/ControlDeliveryResponse.schema.json +14 -0
- package/generated/ControlHarnessListResponse.schema.json +19 -0
- package/generated/ControlOperationCatalog.schema.json +74 -0
- package/generated/ControlOperationDescriptor.schema.json +74 -0
- package/generated/ControlOperationParameter.schema.json +75 -0
- package/generated/ControlProjectRemoveReceipt.schema.json +58 -0
- package/generated/ControlRunAgainDraft.schema.json +11 -0
- package/generated/ControlRunDetail.schema.json +403 -9
- package/generated/ControlRunListResponse.schema.json +229 -3
- package/generated/ControlRunStartRequest.schema.json +11 -0
- package/generated/ControlRunSummary.schema.json +215 -2
- package/generated/ControlSetupJobCreateRequest.schema.json +2 -1
- package/generated/ControlSetupJobEvent.schema.json +28 -0
- package/generated/ControlSetupJobSnapshot.schema.json +28 -0
- package/generated/ControlThreadApplyResponse.schema.json +14 -0
- package/generated/ControlThreadDetail.schema.json +94 -1
- package/generated/ControlThreadTurnRequest.schema.json +11 -0
- package/generated/DecisionRecord.schema.json +178 -2
- package/generated/HarnessEvent.schema.json +79 -1
- package/generated/HarnessManifest.schema.json +19 -0
- package/generated/HarnessStatusDto.schema.json +19 -0
- package/generated/McpRunHandleResult.schema.json +286 -1
- package/generated/McpRunToolResult.schema.json +171 -1
- package/generated/RoutePoolDegradedPayload.schema.json +79 -0
- package/generated/RunEvent.schema.json +7 -1
- package/generated/RunFailure.schema.json +23 -1
- package/generated/RunTelemetry.schema.json +376 -1
- package/generated/StructuredOutputConformance.schema.json +83 -0
- package/generated/TaskContract.schema.json +16 -0
- package/package.json +2 -2
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"auth",
|
|
58
58
|
"harness_unavailable",
|
|
59
59
|
"harness_error",
|
|
60
|
+
"config_error",
|
|
60
61
|
"budget",
|
|
61
62
|
"policy",
|
|
62
63
|
"cancelled",
|
|
@@ -64,7 +65,28 @@
|
|
|
64
65
|
"unknown"
|
|
65
66
|
],
|
|
66
67
|
"default": "unknown",
|
|
67
|
-
"description": "Typed failure category (validation, project, auth, harness, budget, policy, cancelled, internal, unknown)."
|
|
68
|
+
"description": "Typed failure category (validation, project, auth, harness, config, budget, policy, cancelled, internal, unknown). config_error is a settings/routing misconfiguration (e.g. quality routing with no comparable tier), corrected by changing configuration, not by re-auth or waiting for a harness."
|
|
69
|
+
},
|
|
70
|
+
"code": {
|
|
71
|
+
"anyOf": [
|
|
72
|
+
{
|
|
73
|
+
"type": "string",
|
|
74
|
+
"enum": [
|
|
75
|
+
"finite_zero",
|
|
76
|
+
"hard_cap",
|
|
77
|
+
"estimate_headroom",
|
|
78
|
+
"unknown_paid_in_flight",
|
|
79
|
+
"budget_overshoot",
|
|
80
|
+
"cost_unverifiable"
|
|
81
|
+
],
|
|
82
|
+
"description": "Machine-readable failure sub-code within a RunFailure category (today the typed budget-denial reasons produced by the budget ledger)."
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "null"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"description": "Machine-readable failure sub-code within the category (today the typed budget-denial reason from the ledger); null when the category alone is sufficient. Surfaces choose remediation from this, never by parsing safeMessage.",
|
|
89
|
+
"default": null
|
|
68
90
|
},
|
|
69
91
|
"harnessId": {
|
|
70
92
|
"type": [
|
|
@@ -880,7 +902,11 @@
|
|
|
880
902
|
"stuck_no_progress",
|
|
881
903
|
"wall_clock_exceeded",
|
|
882
904
|
"user_cancelled",
|
|
883
|
-
"crash_interrupted"
|
|
905
|
+
"crash_interrupted",
|
|
906
|
+
"input_required",
|
|
907
|
+
"work_incomplete",
|
|
908
|
+
"context_capacity_exhausted",
|
|
909
|
+
"work_report_contract"
|
|
884
910
|
],
|
|
885
911
|
"description": "Typed reason qualifying a non-clean terminal; null on a clean success."
|
|
886
912
|
},
|
|
@@ -890,6 +916,82 @@
|
|
|
890
916
|
],
|
|
891
917
|
"description": "Typed reason qualifying a non-clean terminal; null on a clean success.",
|
|
892
918
|
"default": null
|
|
919
|
+
},
|
|
920
|
+
"work_state": {
|
|
921
|
+
"type": "object",
|
|
922
|
+
"properties": {
|
|
923
|
+
"state": {
|
|
924
|
+
"type": "string",
|
|
925
|
+
"enum": [
|
|
926
|
+
"completed",
|
|
927
|
+
"needs_input",
|
|
928
|
+
"incomplete",
|
|
929
|
+
"unverified"
|
|
930
|
+
],
|
|
931
|
+
"description": "Folded work state: the WorkReport state, or unverified when no report was obtainable (transport unsupported / lane gated)."
|
|
932
|
+
},
|
|
933
|
+
"source": {
|
|
934
|
+
"type": "string",
|
|
935
|
+
"enum": [
|
|
936
|
+
"constrained",
|
|
937
|
+
"validated",
|
|
938
|
+
"absent"
|
|
939
|
+
],
|
|
940
|
+
"description": "Provenance of a WorkReport: constrained (native schema transport), validated (whole-answer JSON), or absent (no transport could carry one — a disclosed absence, not a failure)."
|
|
941
|
+
},
|
|
942
|
+
"required_inputs": {
|
|
943
|
+
"type": "array",
|
|
944
|
+
"items": {
|
|
945
|
+
"type": "object",
|
|
946
|
+
"properties": {
|
|
947
|
+
"kind": {
|
|
948
|
+
"type": "string",
|
|
949
|
+
"enum": [
|
|
950
|
+
"file",
|
|
951
|
+
"context",
|
|
952
|
+
"credential",
|
|
953
|
+
"permission",
|
|
954
|
+
"decision",
|
|
955
|
+
"external_dependency"
|
|
956
|
+
],
|
|
957
|
+
"description": "Category of a missing input a needs_input/incomplete report lists: a file, additional context, a credential, a permission, a human decision, or an external dependency."
|
|
958
|
+
},
|
|
959
|
+
"locator": {
|
|
960
|
+
"anyOf": [
|
|
961
|
+
{
|
|
962
|
+
"type": "string",
|
|
963
|
+
"maxLength": 512
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"type": "null"
|
|
967
|
+
}
|
|
968
|
+
],
|
|
969
|
+
"default": null,
|
|
970
|
+
"description": "Concrete pointer to the missing thing (path/url/name); null when unnameable."
|
|
971
|
+
},
|
|
972
|
+
"description": {
|
|
973
|
+
"type": "string",
|
|
974
|
+
"maxLength": 1024,
|
|
975
|
+
"description": "Human-readable description of what is needed and why."
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"required": [
|
|
979
|
+
"kind",
|
|
980
|
+
"description"
|
|
981
|
+
],
|
|
982
|
+
"additionalProperties": false,
|
|
983
|
+
"description": "One blocking input a needs_input/incomplete WorkReport lists."
|
|
984
|
+
},
|
|
985
|
+
"maxItems": 16,
|
|
986
|
+
"description": "Carried through from a needs_input/incomplete WorkReport for honest disclosure."
|
|
987
|
+
}
|
|
988
|
+
},
|
|
989
|
+
"required": [
|
|
990
|
+
"state",
|
|
991
|
+
"source"
|
|
992
|
+
],
|
|
993
|
+
"additionalProperties": false,
|
|
994
|
+
"description": "D-16 model-attested work outcome, orthogonal to lifecycle; a needs_input/incomplete state vetoes applyability and exit 0. Absent on runs with no work_report transport."
|
|
893
995
|
}
|
|
894
996
|
},
|
|
895
997
|
"required": [
|
|
@@ -955,6 +1057,117 @@
|
|
|
955
1057
|
"description": "Route evidence from telemetry; null when no telemetry exists (legacy runs).",
|
|
956
1058
|
"default": null
|
|
957
1059
|
},
|
|
1060
|
+
"routingRationale": {
|
|
1061
|
+
"anyOf": [
|
|
1062
|
+
{
|
|
1063
|
+
"type": "object",
|
|
1064
|
+
"properties": {
|
|
1065
|
+
"goal": {
|
|
1066
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/routingGoal"
|
|
1067
|
+
},
|
|
1068
|
+
"paid_fallback": {
|
|
1069
|
+
"type": "string",
|
|
1070
|
+
"enum": [
|
|
1071
|
+
"never",
|
|
1072
|
+
"when_unavailable",
|
|
1073
|
+
"allowed_within_cap"
|
|
1074
|
+
],
|
|
1075
|
+
"description": "When a route with incremental paid spend may be used."
|
|
1076
|
+
},
|
|
1077
|
+
"order": {
|
|
1078
|
+
"type": "array",
|
|
1079
|
+
"items": {
|
|
1080
|
+
"type": "string",
|
|
1081
|
+
"minLength": 1,
|
|
1082
|
+
"description": "Non-empty identifier string."
|
|
1083
|
+
},
|
|
1084
|
+
"default": [],
|
|
1085
|
+
"description": "Final ranked order, harness ids."
|
|
1086
|
+
},
|
|
1087
|
+
"dropped": {
|
|
1088
|
+
"type": "array",
|
|
1089
|
+
"items": {
|
|
1090
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/routingRationale/anyOf/0/properties/order/items"
|
|
1091
|
+
},
|
|
1092
|
+
"default": [],
|
|
1093
|
+
"description": "Ids removed by paid_fallback or cooldown before ranking."
|
|
1094
|
+
},
|
|
1095
|
+
"reason": {
|
|
1096
|
+
"type": "string",
|
|
1097
|
+
"enum": [
|
|
1098
|
+
"subscription_entitlement_first",
|
|
1099
|
+
"lowest_incremental_cash",
|
|
1100
|
+
"quality_tier",
|
|
1101
|
+
"expiring_quota_slack",
|
|
1102
|
+
"all_incremental_cash_unknown",
|
|
1103
|
+
"declared_order"
|
|
1104
|
+
],
|
|
1105
|
+
"description": "Typed decisive reason the pool ranked the way it did (QA-034)."
|
|
1106
|
+
},
|
|
1107
|
+
"entries": {
|
|
1108
|
+
"type": "array",
|
|
1109
|
+
"items": {
|
|
1110
|
+
"type": "object",
|
|
1111
|
+
"properties": {
|
|
1112
|
+
"harness_id": {
|
|
1113
|
+
"type": "string",
|
|
1114
|
+
"minLength": 1,
|
|
1115
|
+
"description": "Candidate harness id."
|
|
1116
|
+
},
|
|
1117
|
+
"billing_knowledge": {
|
|
1118
|
+
"type": "string",
|
|
1119
|
+
"enum": [
|
|
1120
|
+
"proven_zero",
|
|
1121
|
+
"subscription_entitlement",
|
|
1122
|
+
"metered",
|
|
1123
|
+
"unknown"
|
|
1124
|
+
],
|
|
1125
|
+
"description": "Effective billing knowledge used to rank it."
|
|
1126
|
+
},
|
|
1127
|
+
"incremental_cost_usd": {
|
|
1128
|
+
"anyOf": [
|
|
1129
|
+
{
|
|
1130
|
+
"type": "number",
|
|
1131
|
+
"minimum": 0
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"type": "null"
|
|
1135
|
+
}
|
|
1136
|
+
],
|
|
1137
|
+
"default": null,
|
|
1138
|
+
"description": "Known incremental cash cost, when any; null when unknown."
|
|
1139
|
+
},
|
|
1140
|
+
"eligible": {
|
|
1141
|
+
"type": "boolean",
|
|
1142
|
+
"description": "Whether the candidate survived paid_fallback/cooldown filtering."
|
|
1143
|
+
}
|
|
1144
|
+
},
|
|
1145
|
+
"required": [
|
|
1146
|
+
"harness_id",
|
|
1147
|
+
"billing_knowledge",
|
|
1148
|
+
"eligible"
|
|
1149
|
+
],
|
|
1150
|
+
"additionalProperties": false,
|
|
1151
|
+
"description": "Per-candidate billing/cost tuple in the routing rationale (QA-034)."
|
|
1152
|
+
},
|
|
1153
|
+
"default": []
|
|
1154
|
+
}
|
|
1155
|
+
},
|
|
1156
|
+
"required": [
|
|
1157
|
+
"goal",
|
|
1158
|
+
"paid_fallback",
|
|
1159
|
+
"reason"
|
|
1160
|
+
],
|
|
1161
|
+
"additionalProperties": false,
|
|
1162
|
+
"description": "Typed routing rationale recorded once at pool ordering (QA-034)."
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"type": "null"
|
|
1166
|
+
}
|
|
1167
|
+
],
|
|
1168
|
+
"description": "Typed routing rationale (QA-034) projected from telemetry; null when no ranking was computed or on legacy runs.",
|
|
1169
|
+
"default": null
|
|
1170
|
+
},
|
|
958
1171
|
"tests": {
|
|
959
1172
|
"type": "array",
|
|
960
1173
|
"items": {
|
|
@@ -1197,6 +1410,14 @@
|
|
|
1197
1410
|
"default": null,
|
|
1198
1411
|
"description": "Redacted error detail for error events."
|
|
1199
1412
|
},
|
|
1413
|
+
"ignoredSettings": {
|
|
1414
|
+
"type": "array",
|
|
1415
|
+
"items": {
|
|
1416
|
+
"type": "string"
|
|
1417
|
+
},
|
|
1418
|
+
"default": [],
|
|
1419
|
+
"description": "Unsupported per-harness knobs the route could not honor (INV-105), disclosed on harness.started; empty when nothing was dropped (QA-070)."
|
|
1420
|
+
},
|
|
1200
1421
|
"rawRef": {
|
|
1201
1422
|
"type": [
|
|
1202
1423
|
"string",
|
|
@@ -1234,6 +1455,24 @@
|
|
|
1234
1455
|
"default": null,
|
|
1235
1456
|
"description": "CASH spend so far in USD; null when unknown."
|
|
1236
1457
|
},
|
|
1458
|
+
"valuationUsd": {
|
|
1459
|
+
"type": [
|
|
1460
|
+
"number",
|
|
1461
|
+
"null"
|
|
1462
|
+
],
|
|
1463
|
+
"default": null,
|
|
1464
|
+
"description": "Subscription valuation in USD (separate from billed cash); null when unknown — never a fabricated $0 (QA-023c)."
|
|
1465
|
+
},
|
|
1466
|
+
"valuationKnowledge": {
|
|
1467
|
+
"type": "string",
|
|
1468
|
+
"enum": [
|
|
1469
|
+
"exact",
|
|
1470
|
+
"estimated",
|
|
1471
|
+
"unknown"
|
|
1472
|
+
],
|
|
1473
|
+
"default": "unknown",
|
|
1474
|
+
"description": "Confidence of valuationUsd: 'estimated' when token-derived, 'unknown' when no usage was reported (valuationUsd is then null), 'exact' when natively priced."
|
|
1475
|
+
},
|
|
1237
1476
|
"remainingUsd": {
|
|
1238
1477
|
"type": [
|
|
1239
1478
|
"number",
|
|
@@ -1257,6 +1496,16 @@
|
|
|
1257
1496
|
],
|
|
1258
1497
|
"default": "unknown",
|
|
1259
1498
|
"description": "Where the snapshot came from: the decision record, live events, settings, or unknown."
|
|
1499
|
+
},
|
|
1500
|
+
"evidence": {
|
|
1501
|
+
"type": "string",
|
|
1502
|
+
"enum": [
|
|
1503
|
+
"complete",
|
|
1504
|
+
"incomplete",
|
|
1505
|
+
"unavailable"
|
|
1506
|
+
],
|
|
1507
|
+
"description": "Integrity of the canonical events this spend fallback read: 'incomplete' when malformed/non-object event lines were skipped, 'unavailable' when the events file was unreadable, else 'complete'. A non-complete value means the projected spend may disagree with disk truth.",
|
|
1508
|
+
"default": "complete"
|
|
1260
1509
|
}
|
|
1261
1510
|
},
|
|
1262
1511
|
"additionalProperties": false,
|
|
@@ -1279,9 +1528,7 @@
|
|
|
1279
1528
|
"winner": {
|
|
1280
1529
|
"anyOf": [
|
|
1281
1530
|
{
|
|
1282
|
-
"
|
|
1283
|
-
"minLength": 1,
|
|
1284
|
-
"description": "Non-empty identifier string."
|
|
1531
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/routingRationale/anyOf/0/properties/order/items"
|
|
1285
1532
|
},
|
|
1286
1533
|
{
|
|
1287
1534
|
"type": "null"
|
|
@@ -1305,6 +1552,84 @@
|
|
|
1305
1552
|
"default": {},
|
|
1306
1553
|
"description": "Per-candidate reasons the others lost, keyed by candidate id."
|
|
1307
1554
|
},
|
|
1555
|
+
"ranking_policy_version": {
|
|
1556
|
+
"type": "integer",
|
|
1557
|
+
"exclusiveMinimum": 0,
|
|
1558
|
+
"default": 1,
|
|
1559
|
+
"description": "Version of the ranking axis registry the scorecard was produced under."
|
|
1560
|
+
},
|
|
1561
|
+
"score_axes": {
|
|
1562
|
+
"type": "array",
|
|
1563
|
+
"items": {
|
|
1564
|
+
"type": "string"
|
|
1565
|
+
},
|
|
1566
|
+
"default": [],
|
|
1567
|
+
"description": "Every compared ranking axis key, in precedence (best-first) order."
|
|
1568
|
+
},
|
|
1569
|
+
"ranking_scorecard": {
|
|
1570
|
+
"type": "array",
|
|
1571
|
+
"items": {
|
|
1572
|
+
"type": "object",
|
|
1573
|
+
"properties": {
|
|
1574
|
+
"attempt_id": {
|
|
1575
|
+
"type": "string",
|
|
1576
|
+
"minLength": 1,
|
|
1577
|
+
"description": "Candidate attempt id (stable key; labels may localize)."
|
|
1578
|
+
},
|
|
1579
|
+
"label": {
|
|
1580
|
+
"type": "string",
|
|
1581
|
+
"description": "Anonymized candidate label shown to the arbiter."
|
|
1582
|
+
},
|
|
1583
|
+
"axes": {
|
|
1584
|
+
"type": "object",
|
|
1585
|
+
"additionalProperties": {
|
|
1586
|
+
"type": "string"
|
|
1587
|
+
},
|
|
1588
|
+
"description": "Formatted value for every ranking axis, keyed by axis key."
|
|
1589
|
+
}
|
|
1590
|
+
},
|
|
1591
|
+
"required": [
|
|
1592
|
+
"attempt_id",
|
|
1593
|
+
"label",
|
|
1594
|
+
"axes"
|
|
1595
|
+
],
|
|
1596
|
+
"additionalProperties": false
|
|
1597
|
+
},
|
|
1598
|
+
"default": [],
|
|
1599
|
+
"description": "Per-candidate full ranking scorecard, in final ranking order."
|
|
1600
|
+
},
|
|
1601
|
+
"decisive_axis": {
|
|
1602
|
+
"anyOf": [
|
|
1603
|
+
{
|
|
1604
|
+
"type": "object",
|
|
1605
|
+
"properties": {
|
|
1606
|
+
"key": {
|
|
1607
|
+
"type": "string",
|
|
1608
|
+
"description": "The first ranking axis that separated winner from runner-up."
|
|
1609
|
+
},
|
|
1610
|
+
"winner_value": {
|
|
1611
|
+
"type": "string",
|
|
1612
|
+
"description": "The winner's formatted value on the decisive axis."
|
|
1613
|
+
},
|
|
1614
|
+
"runner_up_value": {
|
|
1615
|
+
"type": "string",
|
|
1616
|
+
"description": "The runner-up's formatted value on the decisive axis."
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
"required": [
|
|
1620
|
+
"key",
|
|
1621
|
+
"winner_value",
|
|
1622
|
+
"runner_up_value"
|
|
1623
|
+
],
|
|
1624
|
+
"additionalProperties": false
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
"type": "null"
|
|
1628
|
+
}
|
|
1629
|
+
],
|
|
1630
|
+
"default": null,
|
|
1631
|
+
"description": "The axis that actually decided the winner vs the runner-up; null on an exact tie (route order decided, disclosed in final_checks)."
|
|
1632
|
+
},
|
|
1308
1633
|
"accepted_risks": {
|
|
1309
1634
|
"type": "array",
|
|
1310
1635
|
"items": {
|
|
@@ -1344,12 +1669,30 @@
|
|
|
1344
1669
|
"type": "boolean",
|
|
1345
1670
|
"default": false,
|
|
1346
1671
|
"description": "True when any of the spend is token-derived rather than natively reported."
|
|
1672
|
+
},
|
|
1673
|
+
"cash_usd": {
|
|
1674
|
+
"type": [
|
|
1675
|
+
"number",
|
|
1676
|
+
"null"
|
|
1677
|
+
],
|
|
1678
|
+
"default": null,
|
|
1679
|
+
"description": "Settled cash spend in USD (0 on native-subscription routes); null when unknown."
|
|
1680
|
+
},
|
|
1681
|
+
"valuation_usd": {
|
|
1682
|
+
"type": [
|
|
1683
|
+
"number",
|
|
1684
|
+
"null"
|
|
1685
|
+
],
|
|
1686
|
+
"default": null,
|
|
1687
|
+
"description": "Settled subscription-equivalent valuation in USD (includes the reviewer panel); null when unknown."
|
|
1347
1688
|
}
|
|
1348
1689
|
},
|
|
1349
1690
|
"additionalProperties": false,
|
|
1350
1691
|
"default": {
|
|
1351
1692
|
"spend_usd": null,
|
|
1352
|
-
"estimated": false
|
|
1693
|
+
"estimated": false,
|
|
1694
|
+
"cash_usd": null,
|
|
1695
|
+
"valuation_usd": null
|
|
1353
1696
|
},
|
|
1354
1697
|
"description": "Settled spend for the run; estimates are disclosed, never presented as exact."
|
|
1355
1698
|
},
|
|
@@ -1535,7 +1878,7 @@
|
|
|
1535
1878
|
"description": "Task the work product came from."
|
|
1536
1879
|
},
|
|
1537
1880
|
"producer_attempt_id": {
|
|
1538
|
-
"$ref": "#/definitions/ControlRunDetail/properties/
|
|
1881
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/routingRationale/anyOf/0/properties/order/items",
|
|
1539
1882
|
"description": "Attempt that produced it, when known."
|
|
1540
1883
|
},
|
|
1541
1884
|
"evidence_dir": {
|
|
@@ -1855,7 +2198,7 @@
|
|
|
1855
2198
|
"linked_acceptance_criteria": {
|
|
1856
2199
|
"type": "array",
|
|
1857
2200
|
"items": {
|
|
1858
|
-
"$ref": "#/definitions/ControlRunDetail/properties/
|
|
2201
|
+
"$ref": "#/definitions/ControlRunDetail/properties/summary/properties/routingRationale/anyOf/0/properties/order/items"
|
|
1859
2202
|
},
|
|
1860
2203
|
"default": [],
|
|
1861
2204
|
"description": "Ids of acceptance criteria this finding relates to."
|
|
@@ -2272,6 +2615,21 @@
|
|
|
2272
2615
|
],
|
|
2273
2616
|
"default": null,
|
|
2274
2617
|
"description": "Diff statistics of the candidate's patch; null when there is no patch."
|
|
2618
|
+
},
|
|
2619
|
+
"rankingAxes": {
|
|
2620
|
+
"anyOf": [
|
|
2621
|
+
{
|
|
2622
|
+
"type": "object",
|
|
2623
|
+
"additionalProperties": {
|
|
2624
|
+
"type": "string"
|
|
2625
|
+
}
|
|
2626
|
+
},
|
|
2627
|
+
{
|
|
2628
|
+
"type": "null"
|
|
2629
|
+
}
|
|
2630
|
+
],
|
|
2631
|
+
"default": null,
|
|
2632
|
+
"description": "This candidate's ranking-scorecard axis values (from decision.ranking_scorecard); null when no arbitration ran."
|
|
2275
2633
|
}
|
|
2276
2634
|
},
|
|
2277
2635
|
"required": [
|
|
@@ -2321,6 +2679,11 @@
|
|
|
2321
2679
|
},
|
|
2322
2680
|
"default": [],
|
|
2323
2681
|
"description": "Plan items, last-wins."
|
|
2682
|
+
},
|
|
2683
|
+
"evidence": {
|
|
2684
|
+
"$ref": "#/definitions/ControlRunDetail/properties/budget/properties/evidence",
|
|
2685
|
+
"default": "complete",
|
|
2686
|
+
"description": "Integrity of the canonical events this checklist was projected from: 'incomplete'/'unavailable' warns that a plan.progress event may have been lost to a malformed or unreadable events file, so the checklist may be stale or empty; 'complete' otherwise."
|
|
2324
2687
|
}
|
|
2325
2688
|
},
|
|
2326
2689
|
"additionalProperties": false
|
|
@@ -2330,7 +2693,7 @@
|
|
|
2330
2693
|
}
|
|
2331
2694
|
],
|
|
2332
2695
|
"default": null,
|
|
2333
|
-
"description": "Live plan checklist from the last plan.progress event; null when the run never emitted one."
|
|
2696
|
+
"description": "Live plan checklist from the last plan.progress event; null when the run never emitted one AND its canonical events were fully readable. Non-null with empty items + non-complete evidence discloses that a plan event may have been dropped."
|
|
2334
2697
|
},
|
|
2335
2698
|
"failure": {
|
|
2336
2699
|
"anyOf": [
|
|
@@ -2343,6 +2706,37 @@
|
|
|
2343
2706
|
],
|
|
2344
2707
|
"description": "Typed failure info; null unless the run failed.",
|
|
2345
2708
|
"default": null
|
|
2709
|
+
},
|
|
2710
|
+
"requiredActions": {
|
|
2711
|
+
"type": "array",
|
|
2712
|
+
"items": {
|
|
2713
|
+
"type": "object",
|
|
2714
|
+
"properties": {
|
|
2715
|
+
"id": {
|
|
2716
|
+
"type": "string",
|
|
2717
|
+
"enum": [
|
|
2718
|
+
"provide_required_input",
|
|
2719
|
+
"complete_incomplete_work",
|
|
2720
|
+
"resolve_review_block",
|
|
2721
|
+
"fix_failed_checks",
|
|
2722
|
+
"record_operator_decision"
|
|
2723
|
+
],
|
|
2724
|
+
"description": "Stable machine id for a required operator action on a blocked terminal run."
|
|
2725
|
+
},
|
|
2726
|
+
"detail": {
|
|
2727
|
+
"type": "string",
|
|
2728
|
+
"description": "Human-readable guidance for this action (English-only, INV-141)."
|
|
2729
|
+
}
|
|
2730
|
+
},
|
|
2731
|
+
"required": [
|
|
2732
|
+
"id",
|
|
2733
|
+
"detail"
|
|
2734
|
+
],
|
|
2735
|
+
"additionalProperties": false,
|
|
2736
|
+
"description": "One typed required operator action derived from a run's terminal outcome facts."
|
|
2737
|
+
},
|
|
2738
|
+
"default": [],
|
|
2739
|
+
"description": "Stable-id required operator actions for a succeeded-but-blocked run (GH #29); empty for clean/decided/failed runs."
|
|
2346
2740
|
}
|
|
2347
2741
|
},
|
|
2348
2742
|
"required": [
|