@claudexor/schema 4.1.0 → 4.2.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/account-routing-evidence.d.ts +5823 -0
- package/dist/account-routing-evidence.d.ts.map +1 -0
- package/dist/account-routing-evidence.js +49 -0
- package/dist/account-routing-evidence.js.map +1 -0
- package/dist/control-operation-responses.d.ts +325 -0
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-process-scope.d.ts +58 -0
- package/dist/control-process-scope.d.ts.map +1 -0
- package/dist/control-process-scope.js +39 -0
- package/dist/control-process-scope.js.map +1 -0
- package/dist/control-run-detail.d.ts +863 -0
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-failure.d.ts +258 -0
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +55 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control.d.ts +252 -0
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +3 -0
- package/dist/control.js.map +1 -1
- package/dist/daemon-status.d.ts +40 -0
- package/dist/daemon-status.d.ts.map +1 -1
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +1 -1
- package/dist/gate.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/mcp-run-result.d.ts +426 -0
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/process-scope.d.ts +125 -0
- package/dist/process-scope.d.ts.map +1 -0
- package/dist/process-scope.js +81 -0
- package/dist/process-scope.js.map +1 -0
- package/dist/run-continuation.d.ts +3 -0
- package/dist/run-continuation.d.ts.map +1 -1
- package/dist/run-continuation.js +4 -0
- package/dist/run-continuation.js.map +1 -1
- package/dist/store-status.d.ts +28 -0
- package/dist/store-status.d.ts.map +1 -1
- package/dist/store-status.js +10 -0
- package/dist/store-status.js.map +1 -1
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +101 -0
- package/generated/ControlDaemonStatus.schema.json +52 -0
- package/generated/ControlRunDetail.schema.json +224 -0
- package/generated/ControlRunListResponse.schema.json +224 -0
- package/generated/ControlRunSummary.schema.json +224 -0
- package/generated/EnvelopeCustody.schema.json +4 -0
- package/generated/GateResult.schema.json +1 -1
- package/generated/McpAccountsToolResult.schema.json +2527 -0
- package/generated/McpRunHandleResult.schema.json +162 -0
- package/generated/McpRunToolResult.schema.json +162 -0
- package/generated/RunFailure.schema.json +162 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-run-detail.d.ts","sourceRoot":"","sources":["../src/control-run-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAoB3B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAwB4B,CAAC;AAC9D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE;;;kCAGkC;AAClC,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAwBrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEtF;;;gCAGgC;AAChC,eAAO,MAAM,gBAAgB;;;;;;;;;;IAgCzB,0DAA0D;;;;;;;;;;;;;;;;;;IA0B1D;;;;;;;;OAQG;;IAQH;uEACmE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASpE,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"control-run-detail.d.ts","sourceRoot":"","sources":["../src/control-run-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUtE,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -30,6 +30,109 @@ export declare const VendorFailureEvidence: z.ZodObject<{
|
|
|
30
30
|
source: string;
|
|
31
31
|
}>;
|
|
32
32
|
export type VendorFailureEvidence = z.infer<typeof VendorFailureEvidence>;
|
|
33
|
+
/** Capture evidence is separate from native harness failure and never inferred from prose. */
|
|
34
|
+
export declare const WorkspaceCaptureFailure: z.ZodObject<{
|
|
35
|
+
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
36
|
+
message: z.ZodString;
|
|
37
|
+
causeCode: z.ZodOptional<z.ZodString>;
|
|
38
|
+
bufferBudgetBytes: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
stream: z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>;
|
|
40
|
+
drain: z.ZodOptional<z.ZodLiteral<"truncated">>;
|
|
41
|
+
cleanup: z.ZodOptional<z.ZodObject<{
|
|
42
|
+
code: z.ZodNullable<z.ZodString>;
|
|
43
|
+
message: z.ZodString;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
code: string | null;
|
|
46
|
+
message: string;
|
|
47
|
+
}, {
|
|
48
|
+
code: string | null;
|
|
49
|
+
message: string;
|
|
50
|
+
}>>;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
53
|
+
message: string;
|
|
54
|
+
causeCode?: string | undefined;
|
|
55
|
+
bufferBudgetBytes?: number | undefined;
|
|
56
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
57
|
+
drain?: "truncated" | undefined;
|
|
58
|
+
cleanup?: {
|
|
59
|
+
code: string | null;
|
|
60
|
+
message: string;
|
|
61
|
+
} | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
64
|
+
message: string;
|
|
65
|
+
causeCode?: string | undefined;
|
|
66
|
+
bufferBudgetBytes?: number | undefined;
|
|
67
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
68
|
+
drain?: "truncated" | undefined;
|
|
69
|
+
cleanup?: {
|
|
70
|
+
code: string | null;
|
|
71
|
+
message: string;
|
|
72
|
+
} | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
export type WorkspaceCaptureFailure = z.infer<typeof WorkspaceCaptureFailure>;
|
|
75
|
+
/** One actual execution try that ended in an error, attributed to the account it
|
|
76
|
+
* ran on. Diagnostic evidence only: retry, rotation and routing never read it,
|
|
77
|
+
* and a selected successor that never started has no row. */
|
|
78
|
+
export declare const PoolAttemptFailure: z.ZodObject<{
|
|
79
|
+
harnessId: z.ZodString;
|
|
80
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
81
|
+
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
82
|
+
requestedModel: z.ZodNullable<z.ZodString>;
|
|
83
|
+
attemptId: z.ZodString;
|
|
84
|
+
tryIndex: z.ZodNumber;
|
|
85
|
+
observedAt: z.ZodString;
|
|
86
|
+
phase: z.ZodEnum<["pre_start", "pre_progress", "after_progress"]>;
|
|
87
|
+
category: z.ZodEnum<["timeout", "rate_limited", "auth_failed", "capability_refused", "process_crash", "config_error", "unknown_harness_error"]>;
|
|
88
|
+
error: z.ZodString;
|
|
89
|
+
vendorFailure: z.ZodNullable<z.ZodObject<{
|
|
90
|
+
code: z.ZodNullable<z.ZodString>;
|
|
91
|
+
message: z.ZodNullable<z.ZodString>;
|
|
92
|
+
source: z.ZodString;
|
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
|
94
|
+
code: string | null;
|
|
95
|
+
message: string | null;
|
|
96
|
+
source: string;
|
|
97
|
+
}, {
|
|
98
|
+
code: string | null;
|
|
99
|
+
message: string | null;
|
|
100
|
+
source: string;
|
|
101
|
+
}>>;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
harnessId: string;
|
|
104
|
+
profileId: string | null;
|
|
105
|
+
profileDisplayName: string | null;
|
|
106
|
+
requestedModel: string | null;
|
|
107
|
+
attemptId: string;
|
|
108
|
+
tryIndex: number;
|
|
109
|
+
observedAt: string;
|
|
110
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
111
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
112
|
+
error: string;
|
|
113
|
+
vendorFailure: {
|
|
114
|
+
code: string | null;
|
|
115
|
+
message: string | null;
|
|
116
|
+
source: string;
|
|
117
|
+
} | null;
|
|
118
|
+
}, {
|
|
119
|
+
harnessId: string;
|
|
120
|
+
profileId: string | null;
|
|
121
|
+
profileDisplayName: string | null;
|
|
122
|
+
requestedModel: string | null;
|
|
123
|
+
attemptId: string;
|
|
124
|
+
tryIndex: number;
|
|
125
|
+
observedAt: string;
|
|
126
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
127
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
128
|
+
error: string;
|
|
129
|
+
vendorFailure: {
|
|
130
|
+
code: string | null;
|
|
131
|
+
message: string | null;
|
|
132
|
+
source: string;
|
|
133
|
+
} | null;
|
|
134
|
+
}>;
|
|
135
|
+
export type PoolAttemptFailure = z.infer<typeof PoolAttemptFailure>;
|
|
33
136
|
export declare const RunFailure: z.ZodObject<{
|
|
34
137
|
requestRefusal: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
35
138
|
scope: z.ZodLiteral<"turn_text">;
|
|
@@ -75,6 +178,46 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
75
178
|
binary_path: string | null;
|
|
76
179
|
installed_version: string | null;
|
|
77
180
|
}>]>>;
|
|
181
|
+
captureFailure: z.ZodOptional<z.ZodObject<{
|
|
182
|
+
code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
|
|
183
|
+
message: z.ZodString;
|
|
184
|
+
causeCode: z.ZodOptional<z.ZodString>;
|
|
185
|
+
bufferBudgetBytes: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
stream: z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>;
|
|
187
|
+
drain: z.ZodOptional<z.ZodLiteral<"truncated">>;
|
|
188
|
+
cleanup: z.ZodOptional<z.ZodObject<{
|
|
189
|
+
code: z.ZodNullable<z.ZodString>;
|
|
190
|
+
message: z.ZodString;
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
|
+
code: string | null;
|
|
193
|
+
message: string;
|
|
194
|
+
}, {
|
|
195
|
+
code: string | null;
|
|
196
|
+
message: string;
|
|
197
|
+
}>>;
|
|
198
|
+
}, "strip", z.ZodTypeAny, {
|
|
199
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
200
|
+
message: string;
|
|
201
|
+
causeCode?: string | undefined;
|
|
202
|
+
bufferBudgetBytes?: number | undefined;
|
|
203
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
204
|
+
drain?: "truncated" | undefined;
|
|
205
|
+
cleanup?: {
|
|
206
|
+
code: string | null;
|
|
207
|
+
message: string;
|
|
208
|
+
} | undefined;
|
|
209
|
+
}, {
|
|
210
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
211
|
+
message: string;
|
|
212
|
+
causeCode?: string | undefined;
|
|
213
|
+
bufferBudgetBytes?: number | undefined;
|
|
214
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
215
|
+
drain?: "truncated" | undefined;
|
|
216
|
+
cleanup?: {
|
|
217
|
+
code: string | null;
|
|
218
|
+
message: string;
|
|
219
|
+
} | undefined;
|
|
220
|
+
}>>;
|
|
78
221
|
phase: z.ZodDefault<z.ZodString>;
|
|
79
222
|
category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
|
|
80
223
|
code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "vendor_cli_too_old", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "retired_access_profile"]>>>;
|
|
@@ -102,6 +245,63 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
102
245
|
message: string | null;
|
|
103
246
|
source: string;
|
|
104
247
|
}>>>;
|
|
248
|
+
poolAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
249
|
+
harnessId: z.ZodString;
|
|
250
|
+
profileId: z.ZodNullable<z.ZodString>;
|
|
251
|
+
profileDisplayName: z.ZodNullable<z.ZodString>;
|
|
252
|
+
requestedModel: z.ZodNullable<z.ZodString>;
|
|
253
|
+
attemptId: z.ZodString;
|
|
254
|
+
tryIndex: z.ZodNumber;
|
|
255
|
+
observedAt: z.ZodString;
|
|
256
|
+
phase: z.ZodEnum<["pre_start", "pre_progress", "after_progress"]>;
|
|
257
|
+
category: z.ZodEnum<["timeout", "rate_limited", "auth_failed", "capability_refused", "process_crash", "config_error", "unknown_harness_error"]>;
|
|
258
|
+
error: z.ZodString;
|
|
259
|
+
vendorFailure: z.ZodNullable<z.ZodObject<{
|
|
260
|
+
code: z.ZodNullable<z.ZodString>;
|
|
261
|
+
message: z.ZodNullable<z.ZodString>;
|
|
262
|
+
source: z.ZodString;
|
|
263
|
+
}, "strip", z.ZodTypeAny, {
|
|
264
|
+
code: string | null;
|
|
265
|
+
message: string | null;
|
|
266
|
+
source: string;
|
|
267
|
+
}, {
|
|
268
|
+
code: string | null;
|
|
269
|
+
message: string | null;
|
|
270
|
+
source: string;
|
|
271
|
+
}>>;
|
|
272
|
+
}, "strip", z.ZodTypeAny, {
|
|
273
|
+
harnessId: string;
|
|
274
|
+
profileId: string | null;
|
|
275
|
+
profileDisplayName: string | null;
|
|
276
|
+
requestedModel: string | null;
|
|
277
|
+
attemptId: string;
|
|
278
|
+
tryIndex: number;
|
|
279
|
+
observedAt: string;
|
|
280
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
281
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
282
|
+
error: string;
|
|
283
|
+
vendorFailure: {
|
|
284
|
+
code: string | null;
|
|
285
|
+
message: string | null;
|
|
286
|
+
source: string;
|
|
287
|
+
} | null;
|
|
288
|
+
}, {
|
|
289
|
+
harnessId: string;
|
|
290
|
+
profileId: string | null;
|
|
291
|
+
profileDisplayName: string | null;
|
|
292
|
+
requestedModel: string | null;
|
|
293
|
+
attemptId: string;
|
|
294
|
+
tryIndex: number;
|
|
295
|
+
observedAt: string;
|
|
296
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
297
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
298
|
+
error: string;
|
|
299
|
+
vendorFailure: {
|
|
300
|
+
code: string | null;
|
|
301
|
+
message: string | null;
|
|
302
|
+
source: string;
|
|
303
|
+
} | null;
|
|
304
|
+
}>, "many">>;
|
|
105
305
|
nextActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
106
306
|
}, "strip", z.ZodTypeAny, {
|
|
107
307
|
requestRefusal?: {
|
|
@@ -119,6 +319,18 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
119
319
|
binary_path: string | null;
|
|
120
320
|
installed_version: string | null;
|
|
121
321
|
} | undefined;
|
|
322
|
+
captureFailure?: {
|
|
323
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
324
|
+
message: string;
|
|
325
|
+
causeCode?: string | undefined;
|
|
326
|
+
bufferBudgetBytes?: number | undefined;
|
|
327
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
328
|
+
drain?: "truncated" | undefined;
|
|
329
|
+
cleanup?: {
|
|
330
|
+
code: string | null;
|
|
331
|
+
message: string;
|
|
332
|
+
} | undefined;
|
|
333
|
+
} | undefined;
|
|
122
334
|
phase: string;
|
|
123
335
|
category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
|
|
124
336
|
code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
|
|
@@ -135,6 +347,23 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
135
347
|
message: string | null;
|
|
136
348
|
source: string;
|
|
137
349
|
} | null;
|
|
350
|
+
poolAttempts: {
|
|
351
|
+
harnessId: string;
|
|
352
|
+
profileId: string | null;
|
|
353
|
+
profileDisplayName: string | null;
|
|
354
|
+
requestedModel: string | null;
|
|
355
|
+
attemptId: string;
|
|
356
|
+
tryIndex: number;
|
|
357
|
+
observedAt: string;
|
|
358
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
359
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
360
|
+
error: string;
|
|
361
|
+
vendorFailure: {
|
|
362
|
+
code: string | null;
|
|
363
|
+
message: string | null;
|
|
364
|
+
source: string;
|
|
365
|
+
} | null;
|
|
366
|
+
}[];
|
|
138
367
|
nextActions: string[];
|
|
139
368
|
}, {
|
|
140
369
|
requestRefusal?: {
|
|
@@ -152,6 +381,18 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
152
381
|
binary_path: string | null;
|
|
153
382
|
installed_version: string | null;
|
|
154
383
|
} | undefined;
|
|
384
|
+
captureFailure?: {
|
|
385
|
+
code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
|
|
386
|
+
message: string;
|
|
387
|
+
causeCode?: string | undefined;
|
|
388
|
+
bufferBudgetBytes?: number | undefined;
|
|
389
|
+
stream?: "stderr" | "stdout" | undefined;
|
|
390
|
+
drain?: "truncated" | undefined;
|
|
391
|
+
cleanup?: {
|
|
392
|
+
code: string | null;
|
|
393
|
+
message: string;
|
|
394
|
+
} | undefined;
|
|
395
|
+
} | undefined;
|
|
155
396
|
phase?: string | undefined;
|
|
156
397
|
category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
|
|
157
398
|
code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
|
|
@@ -168,6 +409,23 @@ export declare const RunFailure: z.ZodObject<{
|
|
|
168
409
|
message: string | null;
|
|
169
410
|
source: string;
|
|
170
411
|
} | null | undefined;
|
|
412
|
+
poolAttempts?: {
|
|
413
|
+
harnessId: string;
|
|
414
|
+
profileId: string | null;
|
|
415
|
+
profileDisplayName: string | null;
|
|
416
|
+
requestedModel: string | null;
|
|
417
|
+
attemptId: string;
|
|
418
|
+
tryIndex: number;
|
|
419
|
+
observedAt: string;
|
|
420
|
+
phase: "after_progress" | "pre_progress" | "pre_start";
|
|
421
|
+
category: "auth_failed" | "capability_refused" | "config_error" | "process_crash" | "rate_limited" | "timeout" | "unknown_harness_error";
|
|
422
|
+
error: string;
|
|
423
|
+
vendorFailure: {
|
|
424
|
+
code: string | null;
|
|
425
|
+
message: string | null;
|
|
426
|
+
source: string;
|
|
427
|
+
} | null;
|
|
428
|
+
}[] | undefined;
|
|
171
429
|
nextActions?: string[] | undefined;
|
|
172
430
|
}>;
|
|
173
431
|
export type RunFailure = z.infer<typeof RunFailure>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-run-failure.d.ts","sourceRoot":"","sources":["../src/control-run-failure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"control-run-failure.d.ts","sourceRoot":"","sources":["../src/control-run-failure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,saA8BxB,CAAC;AACJ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;;;+CAK+C;AAC/C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EA2B/B,CAAC;AACJ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE1E,8FAA8F;AAC9F,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAalC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E;;6DAE6D;AAC7D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCiE,CAAC;AACjG,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqDnB;;iEAE6D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB9D,CAAC;AACJ,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
2
|
import { HarnessRequestRefusal } from "./harness-input.js";
|
|
3
|
+
import { HarnessFailureCategory } from "./telemetry.js";
|
|
3
4
|
/**
|
|
4
5
|
* The typed run-failure contract, split out of `control.ts` for the reason the
|
|
5
6
|
* complexity ratchet exists (INV-124): `control.ts` is the file every new
|
|
@@ -64,9 +65,59 @@ export const VendorFailureEvidence = z
|
|
|
64
65
|
.describe("Evidence channel the code was read from (codex: `codex_rollout`). An open vocabulary: consumers display it, never branch on it."),
|
|
65
66
|
})
|
|
66
67
|
.describe("Vendor-typed failure evidence read from a vendor-owned machine-readable record, never parsed from prose.");
|
|
68
|
+
/** Capture evidence is separate from native harness failure and never inferred from prose. */
|
|
69
|
+
export const WorkspaceCaptureFailure = z.object({
|
|
70
|
+
code: z.enum([
|
|
71
|
+
"capture_output_exceeded",
|
|
72
|
+
"capture_output_incomplete",
|
|
73
|
+
"capture_preview_truncated",
|
|
74
|
+
"capture_failed",
|
|
75
|
+
]),
|
|
76
|
+
message: z.string(),
|
|
77
|
+
causeCode: z.string().optional(),
|
|
78
|
+
bufferBudgetBytes: z.number().int().nonnegative().optional(),
|
|
79
|
+
stream: z.enum(["stdout", "stderr"]).optional(),
|
|
80
|
+
drain: z.literal("truncated").optional(),
|
|
81
|
+
cleanup: z.object({ code: z.string().nullable(), message: z.string() }).optional(),
|
|
82
|
+
});
|
|
83
|
+
/** One actual execution try that ended in an error, attributed to the account it
|
|
84
|
+
* ran on. Diagnostic evidence only: retry, rotation and routing never read it,
|
|
85
|
+
* and a selected successor that never started has no row. */
|
|
86
|
+
export const PoolAttemptFailure = z
|
|
87
|
+
.object({
|
|
88
|
+
harnessId: z.string().min(1).describe("Harness the try ran on."),
|
|
89
|
+
profileId: z
|
|
90
|
+
.string()
|
|
91
|
+
.nullable()
|
|
92
|
+
.describe("Account row the try ran on; null = the harness default route."),
|
|
93
|
+
profileDisplayName: z
|
|
94
|
+
.string()
|
|
95
|
+
.nullable()
|
|
96
|
+
.describe("The row's display name at try time (redacted); null for the default route."),
|
|
97
|
+
requestedModel: z
|
|
98
|
+
.string()
|
|
99
|
+
.nullable()
|
|
100
|
+
.describe("Model the try asked for; null = the harness default model."),
|
|
101
|
+
attemptId: z.string().min(1).describe("Attempt the try belongs to."),
|
|
102
|
+
tryIndex: z.number().int().nonnegative().describe("Zero-based try index within the attempt."),
|
|
103
|
+
observedAt: z
|
|
104
|
+
.string()
|
|
105
|
+
.datetime({ offset: true })
|
|
106
|
+
.describe("When the try's first error was observed."),
|
|
107
|
+
phase: z
|
|
108
|
+
.enum(["pre_start", "pre_progress", "after_progress"])
|
|
109
|
+
.describe("How far the try got: before a typed session start, after start but before agent progress, or after progress."),
|
|
110
|
+
category: HarnessFailureCategory.describe("Typed failure category of the try; untyped errors are unknown_harness_error."),
|
|
111
|
+
error: z
|
|
112
|
+
.string()
|
|
113
|
+
.describe("The try's own error text with its original wording and whitespace, redacted."),
|
|
114
|
+
vendorFailure: VendorFailureEvidence.nullable().describe("The vendor's own typed failure for this try, when the adapter attached one."),
|
|
115
|
+
})
|
|
116
|
+
.describe("Per-try account attribution of a failed execution try (diagnostic evidence only).");
|
|
67
117
|
export const RunFailure = z
|
|
68
118
|
.object({
|
|
69
119
|
requestRefusal: HarnessRequestRefusal.optional(),
|
|
120
|
+
captureFailure: WorkspaceCaptureFailure.optional(),
|
|
70
121
|
phase: z.string().default("unknown").describe("Pipeline phase where the failure happened."),
|
|
71
122
|
category: z
|
|
72
123
|
.enum([
|
|
@@ -124,6 +175,10 @@ export const RunFailure = z
|
|
|
124
175
|
vendorFailure: VendorFailureEvidence.nullable()
|
|
125
176
|
.default(null)
|
|
126
177
|
.describe("The vendor's own typed failure for the attempt this record speaks for, or null when no vendor-typed evidence exists (every harness without such a channel, and any unreadable record). Facts only: carries no remedy."),
|
|
178
|
+
poolAttempts: z
|
|
179
|
+
.array(PoolAttemptFailure)
|
|
180
|
+
.default([])
|
|
181
|
+
.describe("Every failed execution try in order, each with its own account and error text; empty when no try failed (and for records written before this field existed)."),
|
|
127
182
|
nextActions: z.array(z.string()).default([]).describe("Suggested operator next actions."),
|
|
128
183
|
})
|
|
129
184
|
.describe("Typed failure record for a run: phase, category, evidence references, and suggested next actions.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-run-failure.js","sourceRoot":"","sources":["../src/control-run-failure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"control-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