@claudexor/schema 1.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/LICENSE +21 -0
- package/README.md +16 -0
- package/dist/agent-capabilities.d.ts +366 -0
- package/dist/agent-capabilities.d.ts.map +1 -0
- package/dist/agent-capabilities.js +125 -0
- package/dist/agent-capabilities.js.map +1 -0
- package/dist/apply-eligibility.d.ts +76 -0
- package/dist/apply-eligibility.d.ts.map +1 -0
- package/dist/apply-eligibility.js +37 -0
- package/dist/apply-eligibility.js.map +1 -0
- package/dist/attachment.d.ts +69 -0
- package/dist/attachment.d.ts.map +1 -0
- package/dist/attachment.js +54 -0
- package/dist/attachment.js.map +1 -0
- package/dist/budget.d.ts +75 -0
- package/dist/budget.d.ts.map +1 -0
- package/dist/budget.js +54 -0
- package/dist/budget.js.map +1 -0
- package/dist/config.d.ts +743 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +194 -0
- package/dist/config.js.map +1 -0
- package/dist/context.d.ts +222 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +70 -0
- package/dist/context.js.map +1 -0
- package/dist/control-run-detail.d.ts +1686 -0
- package/dist/control-run-detail.d.ts.map +1 -0
- package/dist/control-run-detail.js +107 -0
- package/dist/control-run-detail.js.map +1 -0
- package/dist/control-trust.d.ts +79 -0
- package/dist/control-trust.d.ts.map +1 -0
- package/dist/control-trust.js +39 -0
- package/dist/control-trust.js.map +1 -0
- package/dist/control.d.ts +4226 -0
- package/dist/control.d.ts.map +1 -0
- package/dist/control.js +1022 -0
- package/dist/control.js.map +1 -0
- package/dist/decision.d.ts +208 -0
- package/dist/decision.d.ts.map +1 -0
- package/dist/decision.js +98 -0
- package/dist/decision.js.map +1 -0
- package/dist/events.d.ts +70 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +105 -0
- package/dist/events.js.map +1 -0
- package/dist/gate.d.ts +37 -0
- package/dist/gate.d.ts.map +1 -0
- package/dist/gate.js +20 -0
- package/dist/gate.js.map +1 -0
- package/dist/harness.d.ts +1418 -0
- package/dist/harness.d.ts.map +1 -0
- package/dist/harness.js +552 -0
- package/dist/harness.js.map +1 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/dist/orchestrate.d.ts +428 -0
- package/dist/orchestrate.d.ts.map +1 -0
- package/dist/orchestrate.js +246 -0
- package/dist/orchestrate.js.map +1 -0
- package/dist/primitives.d.ts +71 -0
- package/dist/primitives.d.ts.map +1 -0
- package/dist/primitives.js +114 -0
- package/dist/primitives.js.map +1 -0
- package/dist/review.d.ts +220 -0
- package/dist/review.d.ts.map +1 -0
- package/dist/review.js +91 -0
- package/dist/review.js.map +1 -0
- package/dist/route.d.ts +67 -0
- package/dist/route.d.ts.map +1 -0
- package/dist/route.js +33 -0
- package/dist/route.js.map +1 -0
- package/dist/spec.d.ts +561 -0
- package/dist/spec.d.ts.map +1 -0
- package/dist/spec.js +133 -0
- package/dist/spec.js.map +1 -0
- package/dist/surface-run-controls.d.ts +14 -0
- package/dist/surface-run-controls.d.ts.map +1 -0
- package/dist/surface-run-controls.js +142 -0
- package/dist/surface-run-controls.js.map +1 -0
- package/dist/task.d.ts +565 -0
- package/dist/task.d.ts.map +1 -0
- package/dist/task.js +186 -0
- package/dist/task.js.map +1 -0
- package/dist/telemetry.d.ts +660 -0
- package/dist/telemetry.d.ts.map +1 -0
- package/dist/telemetry.js +140 -0
- package/dist/telemetry.js.map +1 -0
- package/dist/thread.d.ts +348 -0
- package/dist/thread.d.ts.map +1 -0
- package/dist/thread.js +194 -0
- package/dist/thread.js.map +1 -0
- package/dist/workproduct.d.ts +31 -0
- package/dist/workproduct.d.ts.map +1 -0
- package/dist/workproduct.js +25 -0
- package/dist/workproduct.js.map +1 -0
- package/dist/workspace.d.ts +53 -0
- package/dist/workspace.d.ts.map +1 -0
- package/dist/workspace.js +30 -0
- package/dist/workspace.js.map +1 -0
- package/generated/AgentCapabilityCatalog.schema.json +389 -0
- package/generated/ApplyEligibility.schema.json +44 -0
- package/generated/BudgetLease.schema.json +95 -0
- package/generated/BudgetObservation.schema.json +76 -0
- package/generated/ConformanceReport.schema.json +107 -0
- package/generated/ContextPack.schema.json +186 -0
- package/generated/ControlApplyCheckRequest.schema.json +54 -0
- package/generated/ControlApplyRequest.schema.json +74 -0
- package/generated/ControlHarnessListResponse.schema.json +498 -0
- package/generated/ControlHarnessModelsResponse.schema.json +78 -0
- package/generated/ControlHarnessSettingsPatch.schema.json +130 -0
- package/generated/ControlInteractionAnswerRequest.schema.json +48 -0
- package/generated/ControlInteractionAnswerResponse.schema.json +35 -0
- package/generated/ControlPendingInteraction.schema.json +129 -0
- package/generated/ControlQueuedRunInfo.schema.json +44 -0
- package/generated/ControlRunControlRequest.schema.json +61 -0
- package/generated/ControlRunControlResponse.schema.json +40 -0
- package/generated/ControlRunDecisionRequest.schema.json +98 -0
- package/generated/ControlRunDecisionResponse.schema.json +40 -0
- package/generated/ControlRunDetail.schema.json +1925 -0
- package/generated/ControlRunStartInfo.schema.json +33 -0
- package/generated/ControlRunStartRequest.schema.json +429 -0
- package/generated/ControlRunSummary.schema.json +666 -0
- package/generated/ControlSecretListResponse.schema.json +57 -0
- package/generated/ControlSettingsSnapshot.schema.json +281 -0
- package/generated/ControlSettingsUpdateRequest.schema.json +212 -0
- package/generated/ControlSetupJob.schema.json +148 -0
- package/generated/ControlSetupJobConfirmRequest.schema.json +18 -0
- package/generated/ControlSetupJobCreateRequest.schema.json +38 -0
- package/generated/ControlSetupJobEvent.schema.json +58 -0
- package/generated/ControlSetupJobListResponse.schema.json +162 -0
- package/generated/ControlSpecFreezeRequest.schema.json +83 -0
- package/generated/ControlSpecQuestionsRequest.schema.json +80 -0
- package/generated/ControlThread.schema.json +129 -0
- package/generated/ControlThreadApplyRequest.schema.json +32 -0
- package/generated/ControlThreadApplyResponse.schema.json +47 -0
- package/generated/ControlThreadCreateRequest.schema.json +107 -0
- package/generated/ControlThreadDetail.schema.json +515 -0
- package/generated/ControlThreadListResponse.schema.json +141 -0
- package/generated/ControlThreadUpdateRequest.schema.json +46 -0
- package/generated/ControlTrustListResponse.schema.json +59 -0
- package/generated/ControlTrustState.schema.json +45 -0
- package/generated/ControlTrustUpdateRequest.schema.json +26 -0
- package/generated/DecisionRecord.schema.json +232 -0
- package/generated/GateResult.schema.json +81 -0
- package/generated/GlobalConfig.schema.json +313 -0
- package/generated/HarnessEvent.schema.json +360 -0
- package/generated/HarnessManifest.schema.json +350 -0
- package/generated/HarnessModel.schema.json +41 -0
- package/generated/HarnessStatusDto.schema.json +486 -0
- package/generated/McpRunToolResult.schema.json +91 -0
- package/generated/OrchestrateContract.schema.json +93 -0
- package/generated/OrchestratePlan.schema.json +244 -0
- package/generated/OrchestratePlanProgress.schema.json +103 -0
- package/generated/ProjectConfig.schema.json +95 -0
- package/generated/ReviewFinding.schema.json +226 -0
- package/generated/RouteFallbackPayload.schema.json +79 -0
- package/generated/RouteProof.schema.json +111 -0
- package/generated/RunControl.schema.json +51 -0
- package/generated/RunEvent.schema.json +103 -0
- package/generated/RunFailure.schema.json +98 -0
- package/generated/RunTelemetry.schema.json +433 -0
- package/generated/SecretMetadata.schema.json +34 -0
- package/generated/Session.schema.json +80 -0
- package/generated/SessionReboundLineage.schema.json +73 -0
- package/generated/SpecPack.schema.json +372 -0
- package/generated/TaskContract.schema.json +501 -0
- package/generated/Thread.schema.json +176 -0
- package/generated/ThreadTurn.schema.json +172 -0
- package/generated/TrustConfig.schema.json +44 -0
- package/generated/WorkProduct.schema.json +60 -0
- package/generated/WorkspaceEnvelope.schema.json +94 -0
- package/package.json +43 -0
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RunTelemetry",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RunTelemetry": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"schema_version": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"const": 2,
|
|
10
|
+
"description": "Schema version of the artifact; bumped on breaking ABI changes."
|
|
11
|
+
},
|
|
12
|
+
"run_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"description": "Run the telemetry belongs to."
|
|
16
|
+
},
|
|
17
|
+
"task_id": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1,
|
|
20
|
+
"description": "Task the run belongs to."
|
|
21
|
+
},
|
|
22
|
+
"mode": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"enum": [
|
|
25
|
+
"ask",
|
|
26
|
+
"plan",
|
|
27
|
+
"audit",
|
|
28
|
+
"agent",
|
|
29
|
+
"orchestrate"
|
|
30
|
+
],
|
|
31
|
+
"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."
|
|
32
|
+
},
|
|
33
|
+
"requested_access": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"readonly",
|
|
37
|
+
"workspace_write",
|
|
38
|
+
"full",
|
|
39
|
+
"external_sandbox_full",
|
|
40
|
+
"inherit_native"
|
|
41
|
+
],
|
|
42
|
+
"description": "Access profile the caller requested."
|
|
43
|
+
},
|
|
44
|
+
"effective_access": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": [
|
|
47
|
+
"readonly",
|
|
48
|
+
"workspace_write",
|
|
49
|
+
"full",
|
|
50
|
+
"external_sandbox_full",
|
|
51
|
+
"inherit_native"
|
|
52
|
+
],
|
|
53
|
+
"description": "Access profile actually enforced by the engine."
|
|
54
|
+
},
|
|
55
|
+
"external_context_policy": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"enum": [
|
|
58
|
+
"off",
|
|
59
|
+
"auto",
|
|
60
|
+
"cached",
|
|
61
|
+
"live"
|
|
62
|
+
],
|
|
63
|
+
"description": "Requested web policy for the run."
|
|
64
|
+
},
|
|
65
|
+
"effective_web_mode": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"enum": [
|
|
68
|
+
"off",
|
|
69
|
+
"auto",
|
|
70
|
+
"cached",
|
|
71
|
+
"live"
|
|
72
|
+
],
|
|
73
|
+
"description": "Web policy actually executed by the selected route."
|
|
74
|
+
},
|
|
75
|
+
"web_required": {
|
|
76
|
+
"type": "boolean",
|
|
77
|
+
"default": false,
|
|
78
|
+
"description": "Whether the run required web evidence."
|
|
79
|
+
},
|
|
80
|
+
"final_attempt_id": {
|
|
81
|
+
"anyOf": [
|
|
82
|
+
{
|
|
83
|
+
"type": "string",
|
|
84
|
+
"minLength": 1,
|
|
85
|
+
"description": "Non-empty identifier string."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "null"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"description": "Attempt whose output became the final answer/patch; null when no attempt succeeded.",
|
|
92
|
+
"default": null
|
|
93
|
+
},
|
|
94
|
+
"web": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"required": {
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"default": false,
|
|
100
|
+
"description": "Whether the run required web evidence."
|
|
101
|
+
},
|
|
102
|
+
"policy": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"enum": [
|
|
105
|
+
"off",
|
|
106
|
+
"auto",
|
|
107
|
+
"cached",
|
|
108
|
+
"live"
|
|
109
|
+
],
|
|
110
|
+
"description": "Requested web policy for the run.",
|
|
111
|
+
"default": "auto"
|
|
112
|
+
},
|
|
113
|
+
"effective_mode": {
|
|
114
|
+
"$ref": "#/definitions/RunTelemetry/properties/web/properties/policy",
|
|
115
|
+
"default": "auto",
|
|
116
|
+
"description": "Policy actually executed by the harness route (disclosed upgrades, e.g. cached to live)."
|
|
117
|
+
},
|
|
118
|
+
"attempted": {
|
|
119
|
+
"type": "boolean",
|
|
120
|
+
"default": false,
|
|
121
|
+
"description": "Whether any web activity was attempted."
|
|
122
|
+
},
|
|
123
|
+
"satisfied": {
|
|
124
|
+
"type": "boolean",
|
|
125
|
+
"default": false,
|
|
126
|
+
"description": "Whether the web-evidence requirement was satisfied."
|
|
127
|
+
},
|
|
128
|
+
"status": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"enum": [
|
|
131
|
+
"none",
|
|
132
|
+
"attempted",
|
|
133
|
+
"satisfied",
|
|
134
|
+
"failed",
|
|
135
|
+
"unverified"
|
|
136
|
+
],
|
|
137
|
+
"description": "Web-evidence verdict for an attempt/run: none (no web activity), attempted, satisfied (required evidence produced), failed, or unverified.",
|
|
138
|
+
"default": "none"
|
|
139
|
+
},
|
|
140
|
+
"tool": {
|
|
141
|
+
"type": [
|
|
142
|
+
"string",
|
|
143
|
+
"null"
|
|
144
|
+
],
|
|
145
|
+
"default": null,
|
|
146
|
+
"description": "Web tool that produced the evidence, when any."
|
|
147
|
+
},
|
|
148
|
+
"target": {
|
|
149
|
+
"type": [
|
|
150
|
+
"string",
|
|
151
|
+
"null"
|
|
152
|
+
],
|
|
153
|
+
"default": null,
|
|
154
|
+
"description": "Redacted target (query/url) of the web activity, when any."
|
|
155
|
+
},
|
|
156
|
+
"error_summary": {
|
|
157
|
+
"type": [
|
|
158
|
+
"string",
|
|
159
|
+
"null"
|
|
160
|
+
],
|
|
161
|
+
"default": null,
|
|
162
|
+
"description": "Redacted error detail when web activity failed."
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"additionalProperties": false,
|
|
166
|
+
"description": "Run-level web evidence: the final attempt's evidence, else the most severe attempt evidence."
|
|
167
|
+
},
|
|
168
|
+
"attempts": {
|
|
169
|
+
"type": "array",
|
|
170
|
+
"items": {
|
|
171
|
+
"type": "object",
|
|
172
|
+
"properties": {
|
|
173
|
+
"attempt_id": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"minLength": 1,
|
|
176
|
+
"description": "Attempt id."
|
|
177
|
+
},
|
|
178
|
+
"harness_id": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"minLength": 1,
|
|
181
|
+
"description": "Harness that ran the attempt."
|
|
182
|
+
},
|
|
183
|
+
"observed_model": {
|
|
184
|
+
"type": [
|
|
185
|
+
"string",
|
|
186
|
+
"null"
|
|
187
|
+
],
|
|
188
|
+
"default": null,
|
|
189
|
+
"description": "Model the harness stream actually reported; null when never disclosed (rendered as unverified, never guessed)."
|
|
190
|
+
},
|
|
191
|
+
"web": {
|
|
192
|
+
"type": "object",
|
|
193
|
+
"properties": {
|
|
194
|
+
"required": {
|
|
195
|
+
"$ref": "#/definitions/RunTelemetry/properties/web/properties/required"
|
|
196
|
+
},
|
|
197
|
+
"policy": {
|
|
198
|
+
"$ref": "#/definitions/RunTelemetry/properties/web/properties/policy"
|
|
199
|
+
},
|
|
200
|
+
"effective_mode": {
|
|
201
|
+
"$ref": "#/definitions/RunTelemetry/properties/web/properties/effective_mode"
|
|
202
|
+
},
|
|
203
|
+
"attempted": {
|
|
204
|
+
"$ref": "#/definitions/RunTelemetry/properties/web/properties/attempted"
|
|
205
|
+
},
|
|
206
|
+
"satisfied": {
|
|
207
|
+
"$ref": "#/definitions/RunTelemetry/properties/web/properties/satisfied"
|
|
208
|
+
},
|
|
209
|
+
"status": {
|
|
210
|
+
"$ref": "#/definitions/RunTelemetry/properties/web/properties/status"
|
|
211
|
+
},
|
|
212
|
+
"tool": {
|
|
213
|
+
"$ref": "#/definitions/RunTelemetry/properties/web/properties/tool"
|
|
214
|
+
},
|
|
215
|
+
"target": {
|
|
216
|
+
"$ref": "#/definitions/RunTelemetry/properties/web/properties/target"
|
|
217
|
+
},
|
|
218
|
+
"error_summary": {
|
|
219
|
+
"$ref": "#/definitions/RunTelemetry/properties/web/properties/error_summary"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"additionalProperties": false,
|
|
223
|
+
"description": "Typed web-evidence record computed by the orchestrator; surfaces project it and never re-derive evidence from raw events."
|
|
224
|
+
},
|
|
225
|
+
"tool_errors": {
|
|
226
|
+
"type": "array",
|
|
227
|
+
"items": {
|
|
228
|
+
"type": "object",
|
|
229
|
+
"properties": {
|
|
230
|
+
"tool": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"description": "Native tool name that errored."
|
|
233
|
+
},
|
|
234
|
+
"kind": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"enum": [
|
|
237
|
+
"web",
|
|
238
|
+
"file",
|
|
239
|
+
"command",
|
|
240
|
+
"mcp",
|
|
241
|
+
"search",
|
|
242
|
+
"other"
|
|
243
|
+
],
|
|
244
|
+
"description": "Coarse tool classification used for typed governance; adapters map native tool names to a kind.",
|
|
245
|
+
"default": "other"
|
|
246
|
+
},
|
|
247
|
+
"target": {
|
|
248
|
+
"type": [
|
|
249
|
+
"string",
|
|
250
|
+
"null"
|
|
251
|
+
],
|
|
252
|
+
"default": null,
|
|
253
|
+
"description": "Redacted target of the tool use, when known."
|
|
254
|
+
},
|
|
255
|
+
"summary": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"description": "Redacted error summary."
|
|
258
|
+
},
|
|
259
|
+
"recovered": {
|
|
260
|
+
"type": "boolean",
|
|
261
|
+
"default": false,
|
|
262
|
+
"description": "True when a later successful result of the same tool exists in the same attempt."
|
|
263
|
+
},
|
|
264
|
+
"tool_use_id": {
|
|
265
|
+
"type": [
|
|
266
|
+
"string",
|
|
267
|
+
"null"
|
|
268
|
+
],
|
|
269
|
+
"default": null,
|
|
270
|
+
"description": "Tool use id correlating the error to its call, when known."
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"required": [
|
|
274
|
+
"tool",
|
|
275
|
+
"summary"
|
|
276
|
+
],
|
|
277
|
+
"additionalProperties": false,
|
|
278
|
+
"description": "One tool error observed during an attempt."
|
|
279
|
+
},
|
|
280
|
+
"default": [],
|
|
281
|
+
"description": "Tool errors, bounded by the writer (most recent first when truncated; tool_errors_total keeps the true count)."
|
|
282
|
+
},
|
|
283
|
+
"tool_errors_total": {
|
|
284
|
+
"type": "integer",
|
|
285
|
+
"minimum": 0,
|
|
286
|
+
"default": 0,
|
|
287
|
+
"description": "True total count of tool errors."
|
|
288
|
+
},
|
|
289
|
+
"unrecovered_tool_errors": {
|
|
290
|
+
"type": "integer",
|
|
291
|
+
"minimum": 0,
|
|
292
|
+
"default": 0,
|
|
293
|
+
"description": "Tool errors with no later successful recovery."
|
|
294
|
+
},
|
|
295
|
+
"statusless_tool_results": {
|
|
296
|
+
"type": "integer",
|
|
297
|
+
"minimum": 0,
|
|
298
|
+
"default": 0,
|
|
299
|
+
"description": "tool_result events that arrived without a status field (never treated as ok)."
|
|
300
|
+
},
|
|
301
|
+
"dropped_events": {
|
|
302
|
+
"type": "integer",
|
|
303
|
+
"minimum": 0,
|
|
304
|
+
"default": 0,
|
|
305
|
+
"description": "Native lines/events the adapter could not parse or did not recognize (never silently zero)."
|
|
306
|
+
},
|
|
307
|
+
"transient_failures": {
|
|
308
|
+
"type": "array",
|
|
309
|
+
"items": {
|
|
310
|
+
"type": "object",
|
|
311
|
+
"properties": {
|
|
312
|
+
"kind": {
|
|
313
|
+
"type": "string",
|
|
314
|
+
"enum": [
|
|
315
|
+
"network",
|
|
316
|
+
"stream_disconnect",
|
|
317
|
+
"service_unavailable",
|
|
318
|
+
"timeout",
|
|
319
|
+
"unknown"
|
|
320
|
+
],
|
|
321
|
+
"default": "unknown",
|
|
322
|
+
"description": "Kind of transient failure."
|
|
323
|
+
},
|
|
324
|
+
"retry_delay_ms": {
|
|
325
|
+
"anyOf": [
|
|
326
|
+
{
|
|
327
|
+
"type": "integer",
|
|
328
|
+
"minimum": 0
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"type": "null"
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"default": null,
|
|
335
|
+
"description": "Suggested retry delay in milliseconds, when reported."
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"additionalProperties": false,
|
|
339
|
+
"description": "An adapter-declared transient failure that informed bounded retry policy."
|
|
340
|
+
},
|
|
341
|
+
"default": [],
|
|
342
|
+
"description": "Adapter-declared transient failures that informed bounded retry policy."
|
|
343
|
+
},
|
|
344
|
+
"outcome": {
|
|
345
|
+
"type": "object",
|
|
346
|
+
"properties": {
|
|
347
|
+
"deliverable_present": {
|
|
348
|
+
"type": "boolean",
|
|
349
|
+
"default": false,
|
|
350
|
+
"description": "Whether the attempt produced the deliverable the intent asked for."
|
|
351
|
+
},
|
|
352
|
+
"gates_passed": {
|
|
353
|
+
"type": [
|
|
354
|
+
"boolean",
|
|
355
|
+
"null"
|
|
356
|
+
],
|
|
357
|
+
"default": null,
|
|
358
|
+
"description": "Whether deterministic gates passed; null when no gates ran."
|
|
359
|
+
},
|
|
360
|
+
"harness_errored": {
|
|
361
|
+
"type": "boolean",
|
|
362
|
+
"default": false,
|
|
363
|
+
"description": "Whether the harness itself errored."
|
|
364
|
+
},
|
|
365
|
+
"web_required_unsatisfied": {
|
|
366
|
+
"type": "boolean",
|
|
367
|
+
"default": false,
|
|
368
|
+
"description": "True when required web evidence was not satisfied."
|
|
369
|
+
},
|
|
370
|
+
"tool_warnings_count": {
|
|
371
|
+
"type": "integer",
|
|
372
|
+
"minimum": 0,
|
|
373
|
+
"default": 0,
|
|
374
|
+
"description": "Count of tool warnings in the attempt."
|
|
375
|
+
},
|
|
376
|
+
"status": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"enum": [
|
|
379
|
+
"success",
|
|
380
|
+
"success_with_warnings",
|
|
381
|
+
"blocked",
|
|
382
|
+
"failed"
|
|
383
|
+
],
|
|
384
|
+
"description": "Outcome of one attempt: success, success_with_warnings, blocked, or failed.",
|
|
385
|
+
"default": "success"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"additionalProperties": false,
|
|
389
|
+
"description": "Contract/outcome truth for one attempt; tool errors are tracked separately from deliverable production.",
|
|
390
|
+
"default": {}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"required": [
|
|
394
|
+
"attempt_id",
|
|
395
|
+
"harness_id",
|
|
396
|
+
"web"
|
|
397
|
+
],
|
|
398
|
+
"additionalProperties": false,
|
|
399
|
+
"description": "Telemetry for one attempt: route evidence, web evidence, tool errors, dropped events, and outcome."
|
|
400
|
+
},
|
|
401
|
+
"default": [],
|
|
402
|
+
"description": "Per-attempt telemetry records."
|
|
403
|
+
},
|
|
404
|
+
"tool_warnings_total": {
|
|
405
|
+
"type": "integer",
|
|
406
|
+
"minimum": 0,
|
|
407
|
+
"default": 0,
|
|
408
|
+
"description": "Sum of attempt tool warnings; rendered separately from terminal state."
|
|
409
|
+
},
|
|
410
|
+
"generated_at": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"minLength": 1,
|
|
413
|
+
"description": "When the telemetry artifact was generated."
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"required": [
|
|
417
|
+
"schema_version",
|
|
418
|
+
"run_id",
|
|
419
|
+
"task_id",
|
|
420
|
+
"mode",
|
|
421
|
+
"requested_access",
|
|
422
|
+
"effective_access",
|
|
423
|
+
"external_context_policy",
|
|
424
|
+
"effective_web_mode",
|
|
425
|
+
"web",
|
|
426
|
+
"generated_at"
|
|
427
|
+
],
|
|
428
|
+
"additionalProperties": false,
|
|
429
|
+
"description": "Run telemetry artifact (final/telemetry.yaml), the single computed source of web/tool evidence; surfaces project it and never re-derive evidence from raw events."
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
433
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SecretMetadata",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"SecretMetadata": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Secret name/label."
|
|
10
|
+
},
|
|
11
|
+
"backend": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"keychain",
|
|
15
|
+
"file"
|
|
16
|
+
],
|
|
17
|
+
"description": "Where the secret is stored: the OS keychain or a file store."
|
|
18
|
+
},
|
|
19
|
+
"present": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"default": true,
|
|
22
|
+
"description": "Whether a value is actually stored."
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [
|
|
26
|
+
"name",
|
|
27
|
+
"backend"
|
|
28
|
+
],
|
|
29
|
+
"additionalProperties": false,
|
|
30
|
+
"description": "Secret list row: name, storage backend, and presence — never the value."
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
34
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/Session",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"Session": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Session id."
|
|
11
|
+
},
|
|
12
|
+
"thread_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"description": "Thread the session belongs to."
|
|
16
|
+
},
|
|
17
|
+
"harness_id": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1,
|
|
20
|
+
"description": "Harness the session is bound to."
|
|
21
|
+
},
|
|
22
|
+
"native_session_id": {
|
|
23
|
+
"type": [
|
|
24
|
+
"string",
|
|
25
|
+
"null"
|
|
26
|
+
],
|
|
27
|
+
"default": null,
|
|
28
|
+
"description": "The vendor CLI session id (codex thread id / claude session uuid / ...); null when none exists."
|
|
29
|
+
},
|
|
30
|
+
"resume_kind": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": [
|
|
33
|
+
"resume_by_id",
|
|
34
|
+
"none"
|
|
35
|
+
],
|
|
36
|
+
"description": "How the session can be continued on its native CLI: resume_by_id when a native session id exists, none otherwise.",
|
|
37
|
+
"default": "none"
|
|
38
|
+
},
|
|
39
|
+
"last_observed_model": {
|
|
40
|
+
"type": [
|
|
41
|
+
"string",
|
|
42
|
+
"null"
|
|
43
|
+
],
|
|
44
|
+
"default": null,
|
|
45
|
+
"description": "Model last observed on the session's stream."
|
|
46
|
+
},
|
|
47
|
+
"state": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"live",
|
|
51
|
+
"stale",
|
|
52
|
+
"rebound"
|
|
53
|
+
],
|
|
54
|
+
"description": "Vendor session cache state: live (resumable), stale, or rebound (re-hosted elsewhere).",
|
|
55
|
+
"default": "live"
|
|
56
|
+
},
|
|
57
|
+
"created_at": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"minLength": 1,
|
|
60
|
+
"description": "When the session was created."
|
|
61
|
+
},
|
|
62
|
+
"updated_at": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"minLength": 1,
|
|
65
|
+
"description": "When the session was last updated."
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"id",
|
|
70
|
+
"thread_id",
|
|
71
|
+
"harness_id",
|
|
72
|
+
"created_at",
|
|
73
|
+
"updated_at"
|
|
74
|
+
],
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"description": "A re-hostable pointer to one harness's native CLI session for a thread — a cache, not the source of truth."
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
80
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SessionReboundLineage",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"SessionReboundLineage": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"thread_id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Thread whose session was re-hosted."
|
|
11
|
+
},
|
|
12
|
+
"harness_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"description": "Harness the new session runs on."
|
|
16
|
+
},
|
|
17
|
+
"from_native_session_id": {
|
|
18
|
+
"type": [
|
|
19
|
+
"string",
|
|
20
|
+
"null"
|
|
21
|
+
],
|
|
22
|
+
"default": null,
|
|
23
|
+
"description": "The vendor native session id being left behind (not a Claudexor id); null when none existed."
|
|
24
|
+
},
|
|
25
|
+
"to_session_id": {
|
|
26
|
+
"anyOf": [
|
|
27
|
+
{
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1,
|
|
30
|
+
"description": "Non-empty identifier string."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "null"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"description": "New Claudexor session id; null when no new session was created.",
|
|
37
|
+
"default": null
|
|
38
|
+
},
|
|
39
|
+
"summary": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"default": "",
|
|
42
|
+
"description": "Carried-over conversation summary injected into the new session."
|
|
43
|
+
},
|
|
44
|
+
"reason": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": [
|
|
47
|
+
"quota_exhausted",
|
|
48
|
+
"money_exhausted",
|
|
49
|
+
"subscription_exhausted",
|
|
50
|
+
"rate_limited",
|
|
51
|
+
"harness_error",
|
|
52
|
+
"stall",
|
|
53
|
+
"web_evidence_unsatisfied",
|
|
54
|
+
"fallback_model",
|
|
55
|
+
"not_portable",
|
|
56
|
+
"auth_unavailable",
|
|
57
|
+
"readiness_preferred",
|
|
58
|
+
"manual"
|
|
59
|
+
],
|
|
60
|
+
"description": "Typed reason an auto-fallback (route/auth switch) or session re-host happened, driven by typed budget/quota signals and events, never by regex over prose.",
|
|
61
|
+
"default": "not_portable"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"thread_id",
|
|
66
|
+
"harness_id"
|
|
67
|
+
],
|
|
68
|
+
"additionalProperties": false,
|
|
69
|
+
"description": "The lossy payload serialized when a turn cannot resume the native session in place (isolated candidates or re-hosting onto a different harness); carried by the session.rebound event."
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
73
|
+
}
|