devcontour-harness 0.1.0-alpha.30 → 0.1.0-alpha.34
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/README.md +43 -16
- package/docs/architecture.md +12 -0
- package/docs/compatibility.md +21 -18
- package/docs/contracts.md +270 -12
- package/docs/release-notes/0.1.0-alpha.31.md +44 -0
- package/docs/release-notes/0.1.0-alpha.32.md +33 -0
- package/docs/release-notes/0.1.0-alpha.33.md +29 -0
- package/docs/release-notes/0.1.0-alpha.34.md +32 -0
- package/docs/upgrade.md +181 -0
- package/lib/agents/cli-adapter.js +1 -0
- package/lib/cli.js +25 -3
- package/lib/contracts/cli.d.ts +1381 -18
- package/lib/contracts/cli.js +43 -1
- package/lib/contracts/diagnosis.d.ts +2 -1
- package/lib/contracts/diagnosis.js +1 -0
- package/lib/contracts/events.d.ts +760 -5
- package/lib/contracts/events.js +109 -3
- package/lib/contracts/execution.d.ts +112 -1
- package/lib/contracts/execution.js +38 -0
- package/lib/contracts/failure.d.ts +6 -1
- package/lib/contracts/failure.js +5 -1
- package/lib/contracts/handoff.d.ts +702 -0
- package/lib/contracts/handoff.js +305 -0
- package/lib/contracts/index.d.ts +1 -0
- package/lib/contracts/index.js +1 -0
- package/lib/contracts/policy.d.ts +27 -1
- package/lib/contracts/policy.js +38 -2
- package/lib/contracts/published.d.ts +1016 -3
- package/lib/contracts/published.js +2 -0
- package/lib/contracts/repair-policy.js +5 -0
- package/lib/contracts/report.d.ts +118 -2
- package/lib/contracts/report.js +61 -3
- package/lib/control/base-move.d.ts +7 -2
- package/lib/control/base-move.js +14 -1
- package/lib/control/harness.d.ts +81 -19
- package/lib/control/harness.js +8 -93
- package/lib/control/recovery.d.ts +1 -1
- package/lib/control/status.d.ts +235 -0
- package/lib/control/status.js +101 -0
- package/lib/engine/budget.d.ts +78 -0
- package/lib/engine/budget.js +13 -2
- package/lib/engine/classify.d.ts +14 -1
- package/lib/engine/classify.js +34 -0
- package/lib/engine/engine.d.ts +31 -11
- package/lib/engine/engine.js +99 -5
- package/lib/engine/joint-runner.d.ts +6 -0
- package/lib/engine/joint-runner.js +20 -4
- package/lib/engine/property-recovery.js +1 -0
- package/lib/engine/reuse.js +1 -0
- package/lib/engine/runner.d.ts +8 -0
- package/lib/engine/runner.js +120 -16
- package/lib/engine/stall-sweep.d.ts +137 -0
- package/lib/engine/stall-sweep.js +393 -0
- package/lib/environment/activity.d.ts +34 -0
- package/lib/environment/activity.js +55 -0
- package/lib/environment/isolation.d.ts +67 -3
- package/lib/environment/isolation.js +148 -5
- package/lib/environment/lifecycle.js +2 -1
- package/lib/environment/process.d.ts +7 -1
- package/lib/environment/process.js +14 -0
- package/lib/environment/redaction.d.ts +2 -0
- package/lib/environment/redaction.js +19 -0
- package/lib/explain/state.d.ts +26 -5
- package/lib/explain/state.js +41 -0
- package/lib/handoff/index.d.ts +2 -0
- package/lib/handoff/index.js +3 -0
- package/lib/handoff/markdown.d.ts +6 -0
- package/lib/handoff/markdown.js +155 -0
- package/lib/handoff/pack.d.ts +79 -0
- package/lib/handoff/pack.js +531 -0
- package/lib/index.d.ts +19 -3
- package/lib/index.js +18 -1
- package/lib/integrations/connector/redact.d.ts +2 -13
- package/lib/integrations/connector/redact.js +2 -21
- package/lib/integrations/connector/testing.js +1 -1
- package/lib/projections/attempt.d.ts +28 -0
- package/lib/projections/attempt.js +14 -0
- package/lib/projections/next.d.ts +3 -1
- package/lib/projections/next.js +4 -1
- package/lib/projections/stop.d.ts +22 -1
- package/lib/projections/stop.js +73 -15
- package/lib/report/compute.js +229 -21
- package/lib/report/document.js +31 -7
- package/lib/storage/document.d.ts +28 -6
- package/lib/storage/sqlite.d.ts +2 -0
- package/lib/storage/sqlite.js +9 -1
- package/lib/verification/gates-at.d.ts +11 -1
- package/lib/verification/gates-at.js +28 -2
- package/lib/verification/gates.d.ts +3 -1
- package/lib/verification/gates.js +25 -4
- package/package.json +1 -1
- package/schemas/execution-document.schema.json +68 -0
- package/schemas/execution-policy.schema.json +32 -0
- package/schemas/handoff-pack.schema.json +1430 -0
- package/schemas/run-event.schema.json +679 -0
- package/schemas/stop-diagnosis.schema.json +1 -0
- package/schemas/value-report.schema.json +236 -3
|
@@ -1,4 +1,37 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Причина отказа окружения (`attempt.diagnosed`): ставится в точке
|
|
4
|
+
* обнаружения (песочница gate, сеть установки зависимостей, провайдер,
|
|
5
|
+
* транспорт), а не разбором текста потом. `none` — отказ не окружения
|
|
6
|
+
* (код, ревью, область); `other` — отказ окружения без известной причины.
|
|
7
|
+
*/
|
|
8
|
+
export declare const environmentCauses: readonly ["sandbox-launch", "sandbox-network", "sandbox-filesystem", "sandbox-policy", "dependency-network", "provider-auth", "provider-limit", "transport", "preflight", "lease-expired", "stalled", "shutdown", "other", "none"];
|
|
9
|
+
export declare const environmentCauseSchema: z.ZodEnum<{
|
|
10
|
+
preflight: "preflight";
|
|
11
|
+
transport: "transport";
|
|
12
|
+
none: "none";
|
|
13
|
+
other: "other";
|
|
14
|
+
"provider-auth": "provider-auth";
|
|
15
|
+
stalled: "stalled";
|
|
16
|
+
shutdown: "shutdown";
|
|
17
|
+
"sandbox-launch": "sandbox-launch";
|
|
18
|
+
"sandbox-network": "sandbox-network";
|
|
19
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
20
|
+
"sandbox-policy": "sandbox-policy";
|
|
21
|
+
"dependency-network": "dependency-network";
|
|
22
|
+
"provider-limit": "provider-limit";
|
|
23
|
+
"lease-expired": "lease-expired";
|
|
24
|
+
}>;
|
|
25
|
+
export type EnvironmentCause = (typeof environmentCauses)[number];
|
|
26
|
+
/** Кто повторил поручение (`work.retried`): `host` — хост не назвал актёра. */
|
|
27
|
+
export declare const retryActors: readonly ["operator", "recovery", "host"];
|
|
28
|
+
export type RetryActor = (typeof retryActors)[number];
|
|
29
|
+
/** Кто отменил поручение (`work.cancelled`): `graph` — новая редакция графа его убрала. */
|
|
30
|
+
export declare const cancelActors: readonly ["operator", "host", "graph"];
|
|
31
|
+
export type CancelActor = (typeof cancelActors)[number];
|
|
32
|
+
/** Кто сдвинул ref базы (`base.moved`): `host` — хост не назвал актёра. */
|
|
33
|
+
export declare const baseMoveActors: readonly ["operator", "controller", "host"];
|
|
34
|
+
export type BaseMoveActor = (typeof baseMoveActors)[number];
|
|
2
35
|
/** Предел имени стадии в событии `attempt.stage`. */
|
|
3
36
|
export declare const STAGE_NAME_LIMIT = 300;
|
|
4
37
|
/**
|
|
@@ -126,6 +159,50 @@ export declare const eventPayloads: {
|
|
|
126
159
|
failed: "failed";
|
|
127
160
|
}>>;
|
|
128
161
|
}, z.core.$strict>;
|
|
162
|
+
/**
|
|
163
|
+
* Обход controller сменил живость исполняющейся попытки (только переходы).
|
|
164
|
+
* У `stalled` — снимок: процессы исполняющихся команд и хвост их вывода
|
|
165
|
+
* (замаскированные), и что controller сделал (`action`).
|
|
166
|
+
*/
|
|
167
|
+
readonly 'attempt.liveness': z.ZodObject<{
|
|
168
|
+
state: z.ZodEnum<{
|
|
169
|
+
active: "active";
|
|
170
|
+
stalled: "stalled";
|
|
171
|
+
quiet: "quiet";
|
|
172
|
+
}>;
|
|
173
|
+
previous: z.ZodEnum<{
|
|
174
|
+
active: "active";
|
|
175
|
+
stalled: "stalled";
|
|
176
|
+
quiet: "quiet";
|
|
177
|
+
}>;
|
|
178
|
+
lastMovementAt: z.ZodISODateTime;
|
|
179
|
+
idleMs: z.ZodNumber;
|
|
180
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
181
|
+
kind: z.ZodEnum<{
|
|
182
|
+
gate: "gate";
|
|
183
|
+
command: "command";
|
|
184
|
+
agent: "agent";
|
|
185
|
+
step: "step";
|
|
186
|
+
}>;
|
|
187
|
+
label: z.ZodString;
|
|
188
|
+
}, z.core.$strict>>;
|
|
189
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
191
|
+
report: "report";
|
|
192
|
+
stop: "stop";
|
|
193
|
+
}>>;
|
|
194
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
195
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
196
|
+
pid: z.ZodNumber;
|
|
197
|
+
parentPid: z.ZodNumber;
|
|
198
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
199
|
+
command: z.ZodString;
|
|
200
|
+
}, z.core.$strict>>;
|
|
201
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
202
|
+
tail: z.ZodString;
|
|
203
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
204
|
+
}, z.core.$strict>>;
|
|
205
|
+
}, z.core.$strict>;
|
|
129
206
|
readonly 'attempt.failed': z.ZodObject<{
|
|
130
207
|
failureKind: z.ZodEnum<{
|
|
131
208
|
gate: "gate";
|
|
@@ -135,6 +212,7 @@ export declare const eventPayloads: {
|
|
|
135
212
|
environment: "environment";
|
|
136
213
|
timeout: "timeout";
|
|
137
214
|
"provider-auth": "provider-auth";
|
|
215
|
+
stalled: "stalled";
|
|
138
216
|
"stale-base": "stale-base";
|
|
139
217
|
"empty-result": "empty-result";
|
|
140
218
|
unfinished: "unfinished";
|
|
@@ -147,6 +225,48 @@ export declare const eventPayloads: {
|
|
|
147
225
|
message: z.ZodString;
|
|
148
226
|
blocked: z.ZodBoolean;
|
|
149
227
|
}, z.core.$strict>;
|
|
228
|
+
/**
|
|
229
|
+
* Причина отказа попытки: пишется в той же транзакции, что `attempt.failed`
|
|
230
|
+
* (и `attempt.expired`, причина `lease-expired`). `counted` — отказ
|
|
231
|
+
* засчитан в предел попыток поручения. Текста отказа здесь нет.
|
|
232
|
+
*/
|
|
233
|
+
readonly 'attempt.diagnosed': z.ZodObject<{
|
|
234
|
+
failureKind: z.ZodEnum<{
|
|
235
|
+
gate: "gate";
|
|
236
|
+
unknown: "unknown";
|
|
237
|
+
review: "review";
|
|
238
|
+
cancelled: "cancelled";
|
|
239
|
+
environment: "environment";
|
|
240
|
+
timeout: "timeout";
|
|
241
|
+
"provider-auth": "provider-auth";
|
|
242
|
+
stalled: "stalled";
|
|
243
|
+
"stale-base": "stale-base";
|
|
244
|
+
"empty-result": "empty-result";
|
|
245
|
+
unfinished: "unfinished";
|
|
246
|
+
"scope-violation": "scope-violation";
|
|
247
|
+
"review-protocol": "review-protocol";
|
|
248
|
+
merge: "merge";
|
|
249
|
+
budget: "budget";
|
|
250
|
+
"needs-lead": "needs-lead";
|
|
251
|
+
}>;
|
|
252
|
+
cause: z.ZodEnum<{
|
|
253
|
+
preflight: "preflight";
|
|
254
|
+
transport: "transport";
|
|
255
|
+
none: "none";
|
|
256
|
+
other: "other";
|
|
257
|
+
"provider-auth": "provider-auth";
|
|
258
|
+
stalled: "stalled";
|
|
259
|
+
shutdown: "shutdown";
|
|
260
|
+
"sandbox-launch": "sandbox-launch";
|
|
261
|
+
"sandbox-network": "sandbox-network";
|
|
262
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
263
|
+
"sandbox-policy": "sandbox-policy";
|
|
264
|
+
"dependency-network": "dependency-network";
|
|
265
|
+
"provider-limit": "provider-limit";
|
|
266
|
+
"lease-expired": "lease-expired";
|
|
267
|
+
}>;
|
|
268
|
+
counted: z.ZodBoolean;
|
|
269
|
+
}, z.core.$strict>;
|
|
150
270
|
readonly 'attempt.expired': z.ZodObject<{
|
|
151
271
|
leaseUntil: z.ZodNumber;
|
|
152
272
|
}, z.core.$strict>;
|
|
@@ -162,6 +282,34 @@ export declare const eventPayloads: {
|
|
|
162
282
|
resultSha: z.ZodString;
|
|
163
283
|
integrationSha: z.ZodString;
|
|
164
284
|
}, z.core.$strict>;
|
|
285
|
+
/**
|
|
286
|
+
* Поручение возвращено в очередь повтором (`engine.retry`). `reset` —
|
|
287
|
+
* сброс исчерпанного предела; `spent` — засчитанных попыток до сброса
|
|
288
|
+
* (сброс обнуляет счётчик). Причины сброса нет: только её длина.
|
|
289
|
+
*/
|
|
290
|
+
readonly 'work.retried': z.ZodObject<{
|
|
291
|
+
by: z.ZodEnum<{
|
|
292
|
+
operator: "operator";
|
|
293
|
+
recovery: "recovery";
|
|
294
|
+
host: "host";
|
|
295
|
+
}>;
|
|
296
|
+
reset: z.ZodBoolean;
|
|
297
|
+
spent: z.ZodOptional<z.ZodNumber>;
|
|
298
|
+
reasonLength: z.ZodOptional<z.ZodNumber>;
|
|
299
|
+
}, z.core.$strict>;
|
|
300
|
+
/**
|
|
301
|
+
* Поручение отменено (`engine.cancel` или новая редакция графа).
|
|
302
|
+
* `hadAttempt` — отменена и активная попытка (её `attempt.cancelled` — в
|
|
303
|
+
* той же транзакции).
|
|
304
|
+
*/
|
|
305
|
+
readonly 'work.cancelled': z.ZodObject<{
|
|
306
|
+
by: z.ZodEnum<{
|
|
307
|
+
operator: "operator";
|
|
308
|
+
graph: "graph";
|
|
309
|
+
host: "host";
|
|
310
|
+
}>;
|
|
311
|
+
hadAttempt: z.ZodBoolean;
|
|
312
|
+
}, z.core.$strict>;
|
|
165
313
|
readonly 'work.blocked': z.ZodObject<{
|
|
166
314
|
code: z.ZodString;
|
|
167
315
|
message: z.ZodString;
|
|
@@ -182,6 +330,7 @@ export declare const eventPayloads: {
|
|
|
182
330
|
environment: "environment";
|
|
183
331
|
timeout: "timeout";
|
|
184
332
|
"provider-auth": "provider-auth";
|
|
333
|
+
stalled: "stalled";
|
|
185
334
|
"stale-base": "stale-base";
|
|
186
335
|
"empty-result": "empty-result";
|
|
187
336
|
unfinished: "unfinished";
|
|
@@ -204,6 +353,17 @@ export declare const eventPayloads: {
|
|
|
204
353
|
readonly 'controller.acquired': z.ZodObject<{
|
|
205
354
|
owner: z.ZodString;
|
|
206
355
|
}, z.core.$strict>;
|
|
356
|
+
/**
|
|
357
|
+
* Ref базы сдвинут (`fencedRefMove`) — в той же транзакции, что проверка
|
|
358
|
+
* владения и `git update-ref`. Одно событие на репозиторий.
|
|
359
|
+
*/
|
|
360
|
+
readonly 'base.moved': z.ZodObject<{
|
|
361
|
+
by: z.ZodEnum<{
|
|
362
|
+
operator: "operator";
|
|
363
|
+
controller: "controller";
|
|
364
|
+
host: "host";
|
|
365
|
+
}>;
|
|
366
|
+
}, z.core.$strict>;
|
|
207
367
|
readonly 'controller.released': z.ZodObject<{
|
|
208
368
|
owner: z.ZodString;
|
|
209
369
|
}, z.core.$strict>;
|
|
@@ -254,6 +414,51 @@ export declare const eventPayloads: {
|
|
|
254
414
|
workIds: z.ZodArray<z.ZodString>;
|
|
255
415
|
policyDigest: z.ZodString;
|
|
256
416
|
}, z.core.$strict>;
|
|
417
|
+
/**
|
|
418
|
+
* Обход зависших совместной проверки сменил её живость (только переходы);
|
|
419
|
+
* нагрузка — как у `attempt.liveness`. При `report` это единственный след
|
|
420
|
+
* зависания: записи попытки у проверки нет.
|
|
421
|
+
*/
|
|
422
|
+
readonly 'joint.liveness': z.ZodObject<{
|
|
423
|
+
state: z.ZodEnum<{
|
|
424
|
+
active: "active";
|
|
425
|
+
stalled: "stalled";
|
|
426
|
+
quiet: "quiet";
|
|
427
|
+
}>;
|
|
428
|
+
previous: z.ZodEnum<{
|
|
429
|
+
active: "active";
|
|
430
|
+
stalled: "stalled";
|
|
431
|
+
quiet: "quiet";
|
|
432
|
+
}>;
|
|
433
|
+
lastMovementAt: z.ZodISODateTime;
|
|
434
|
+
idleMs: z.ZodNumber;
|
|
435
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
436
|
+
kind: z.ZodEnum<{
|
|
437
|
+
gate: "gate";
|
|
438
|
+
command: "command";
|
|
439
|
+
agent: "agent";
|
|
440
|
+
step: "step";
|
|
441
|
+
}>;
|
|
442
|
+
label: z.ZodString;
|
|
443
|
+
}, z.core.$strict>>;
|
|
444
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
445
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
446
|
+
report: "report";
|
|
447
|
+
stop: "stop";
|
|
448
|
+
}>>;
|
|
449
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
450
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
451
|
+
pid: z.ZodNumber;
|
|
452
|
+
parentPid: z.ZodNumber;
|
|
453
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
454
|
+
command: z.ZodString;
|
|
455
|
+
}, z.core.$strict>>;
|
|
456
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
457
|
+
tail: z.ZodString;
|
|
458
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
459
|
+
}, z.core.$strict>>;
|
|
460
|
+
verificationId: z.ZodString;
|
|
461
|
+
}, z.core.$strict>;
|
|
257
462
|
/** Совместная проверка закончилась: `passed` — только с manifest. */
|
|
258
463
|
readonly 'joint.finished': z.ZodObject<{
|
|
259
464
|
verificationId: z.ZodString;
|
|
@@ -323,6 +528,8 @@ export declare const eventPayloads: {
|
|
|
323
528
|
}, z.core.$strict>;
|
|
324
529
|
};
|
|
325
530
|
export type EventType = keyof typeof eventPayloads;
|
|
531
|
+
/** Нагрузка события своего типа. */
|
|
532
|
+
export type RunEventPayload<T extends EventType> = z.infer<(typeof eventPayloads)[T]>;
|
|
326
533
|
export declare const eventTypes: EventType[];
|
|
327
534
|
declare const envelopeSchema: z.ZodObject<{
|
|
328
535
|
apiVersion: z.ZodLiteral<"devcontour-harness/v1alpha1">;
|
|
@@ -343,7 +550,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
343
550
|
workId: z.ZodOptional<z.ZodString>;
|
|
344
551
|
runId: z.ZodOptional<z.ZodString>;
|
|
345
552
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
346
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
553
|
+
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
347
554
|
payload: z.ZodObject<{
|
|
348
555
|
digest: z.ZodString;
|
|
349
556
|
orders: z.ZodNumber;
|
|
@@ -446,6 +653,44 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
446
653
|
passed: "passed";
|
|
447
654
|
failed: "failed";
|
|
448
655
|
}>>;
|
|
656
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
657
|
+
state: z.ZodEnum<{
|
|
658
|
+
active: "active";
|
|
659
|
+
stalled: "stalled";
|
|
660
|
+
quiet: "quiet";
|
|
661
|
+
}>;
|
|
662
|
+
previous: z.ZodEnum<{
|
|
663
|
+
active: "active";
|
|
664
|
+
stalled: "stalled";
|
|
665
|
+
quiet: "quiet";
|
|
666
|
+
}>;
|
|
667
|
+
lastMovementAt: z.ZodISODateTime;
|
|
668
|
+
idleMs: z.ZodNumber;
|
|
669
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
670
|
+
kind: z.ZodEnum<{
|
|
671
|
+
gate: "gate";
|
|
672
|
+
command: "command";
|
|
673
|
+
agent: "agent";
|
|
674
|
+
step: "step";
|
|
675
|
+
}>;
|
|
676
|
+
label: z.ZodString;
|
|
677
|
+
}, z.core.$strict>>;
|
|
678
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
679
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
680
|
+
report: "report";
|
|
681
|
+
stop: "stop";
|
|
682
|
+
}>>;
|
|
683
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
684
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
685
|
+
pid: z.ZodNumber;
|
|
686
|
+
parentPid: z.ZodNumber;
|
|
687
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
688
|
+
command: z.ZodString;
|
|
689
|
+
}, z.core.$strict>>;
|
|
690
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
691
|
+
tail: z.ZodString;
|
|
692
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
693
|
+
}, z.core.$strict>>;
|
|
449
694
|
}, z.core.$strict> | z.ZodObject<{
|
|
450
695
|
failureKind: z.ZodEnum<{
|
|
451
696
|
gate: "gate";
|
|
@@ -455,6 +700,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
455
700
|
environment: "environment";
|
|
456
701
|
timeout: "timeout";
|
|
457
702
|
"provider-auth": "provider-auth";
|
|
703
|
+
stalled: "stalled";
|
|
458
704
|
"stale-base": "stale-base";
|
|
459
705
|
"empty-result": "empty-result";
|
|
460
706
|
unfinished: "unfinished";
|
|
@@ -466,6 +712,42 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
466
712
|
}>;
|
|
467
713
|
message: z.ZodString;
|
|
468
714
|
blocked: z.ZodBoolean;
|
|
715
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
716
|
+
failureKind: z.ZodEnum<{
|
|
717
|
+
gate: "gate";
|
|
718
|
+
unknown: "unknown";
|
|
719
|
+
review: "review";
|
|
720
|
+
cancelled: "cancelled";
|
|
721
|
+
environment: "environment";
|
|
722
|
+
timeout: "timeout";
|
|
723
|
+
"provider-auth": "provider-auth";
|
|
724
|
+
stalled: "stalled";
|
|
725
|
+
"stale-base": "stale-base";
|
|
726
|
+
"empty-result": "empty-result";
|
|
727
|
+
unfinished: "unfinished";
|
|
728
|
+
"scope-violation": "scope-violation";
|
|
729
|
+
"review-protocol": "review-protocol";
|
|
730
|
+
merge: "merge";
|
|
731
|
+
budget: "budget";
|
|
732
|
+
"needs-lead": "needs-lead";
|
|
733
|
+
}>;
|
|
734
|
+
cause: z.ZodEnum<{
|
|
735
|
+
preflight: "preflight";
|
|
736
|
+
transport: "transport";
|
|
737
|
+
none: "none";
|
|
738
|
+
other: "other";
|
|
739
|
+
"provider-auth": "provider-auth";
|
|
740
|
+
stalled: "stalled";
|
|
741
|
+
shutdown: "shutdown";
|
|
742
|
+
"sandbox-launch": "sandbox-launch";
|
|
743
|
+
"sandbox-network": "sandbox-network";
|
|
744
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
745
|
+
"sandbox-policy": "sandbox-policy";
|
|
746
|
+
"dependency-network": "dependency-network";
|
|
747
|
+
"provider-limit": "provider-limit";
|
|
748
|
+
"lease-expired": "lease-expired";
|
|
749
|
+
}>;
|
|
750
|
+
counted: z.ZodBoolean;
|
|
469
751
|
}, z.core.$strict> | z.ZodObject<{
|
|
470
752
|
leaseUntil: z.ZodNumber;
|
|
471
753
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -477,6 +759,22 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
477
759
|
}, z.core.$strict> | z.ZodObject<{
|
|
478
760
|
resultSha: z.ZodString;
|
|
479
761
|
integrationSha: z.ZodString;
|
|
762
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
763
|
+
by: z.ZodEnum<{
|
|
764
|
+
operator: "operator";
|
|
765
|
+
recovery: "recovery";
|
|
766
|
+
host: "host";
|
|
767
|
+
}>;
|
|
768
|
+
reset: z.ZodBoolean;
|
|
769
|
+
spent: z.ZodOptional<z.ZodNumber>;
|
|
770
|
+
reasonLength: z.ZodOptional<z.ZodNumber>;
|
|
771
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
772
|
+
by: z.ZodEnum<{
|
|
773
|
+
operator: "operator";
|
|
774
|
+
graph: "graph";
|
|
775
|
+
host: "host";
|
|
776
|
+
}>;
|
|
777
|
+
hadAttempt: z.ZodBoolean;
|
|
480
778
|
}, z.core.$strict> | z.ZodObject<{
|
|
481
779
|
code: z.ZodString;
|
|
482
780
|
message: z.ZodString;
|
|
@@ -496,6 +794,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
496
794
|
environment: "environment";
|
|
497
795
|
timeout: "timeout";
|
|
498
796
|
"provider-auth": "provider-auth";
|
|
797
|
+
stalled: "stalled";
|
|
499
798
|
"stale-base": "stale-base";
|
|
500
799
|
"empty-result": "empty-result";
|
|
501
800
|
unfinished: "unfinished";
|
|
@@ -515,6 +814,12 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
515
814
|
}>;
|
|
516
815
|
}, z.core.$strict> | z.ZodObject<{
|
|
517
816
|
owner: z.ZodString;
|
|
817
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
818
|
+
by: z.ZodEnum<{
|
|
819
|
+
operator: "operator";
|
|
820
|
+
controller: "controller";
|
|
821
|
+
host: "host";
|
|
822
|
+
}>;
|
|
518
823
|
}, z.core.$strict> | z.ZodObject<{
|
|
519
824
|
owner: z.ZodString;
|
|
520
825
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -557,6 +862,45 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
557
862
|
verificationId: z.ZodString;
|
|
558
863
|
workIds: z.ZodArray<z.ZodString>;
|
|
559
864
|
policyDigest: z.ZodString;
|
|
865
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
866
|
+
state: z.ZodEnum<{
|
|
867
|
+
active: "active";
|
|
868
|
+
stalled: "stalled";
|
|
869
|
+
quiet: "quiet";
|
|
870
|
+
}>;
|
|
871
|
+
previous: z.ZodEnum<{
|
|
872
|
+
active: "active";
|
|
873
|
+
stalled: "stalled";
|
|
874
|
+
quiet: "quiet";
|
|
875
|
+
}>;
|
|
876
|
+
lastMovementAt: z.ZodISODateTime;
|
|
877
|
+
idleMs: z.ZodNumber;
|
|
878
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
879
|
+
kind: z.ZodEnum<{
|
|
880
|
+
gate: "gate";
|
|
881
|
+
command: "command";
|
|
882
|
+
agent: "agent";
|
|
883
|
+
step: "step";
|
|
884
|
+
}>;
|
|
885
|
+
label: z.ZodString;
|
|
886
|
+
}, z.core.$strict>>;
|
|
887
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
888
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
889
|
+
report: "report";
|
|
890
|
+
stop: "stop";
|
|
891
|
+
}>>;
|
|
892
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
893
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
894
|
+
pid: z.ZodNumber;
|
|
895
|
+
parentPid: z.ZodNumber;
|
|
896
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
897
|
+
command: z.ZodString;
|
|
898
|
+
}, z.core.$strict>>;
|
|
899
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
900
|
+
tail: z.ZodString;
|
|
901
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
902
|
+
}, z.core.$strict>>;
|
|
903
|
+
verificationId: z.ZodString;
|
|
560
904
|
}, z.core.$strict> | z.ZodObject<{
|
|
561
905
|
verificationId: z.ZodString;
|
|
562
906
|
status: z.ZodEnum<{
|
|
@@ -618,7 +962,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
618
962
|
workId: z.ZodOptional<z.ZodString>;
|
|
619
963
|
runId: z.ZodOptional<z.ZodString>;
|
|
620
964
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
621
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
965
|
+
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
622
966
|
payload: z.ZodObject<{
|
|
623
967
|
digest: z.ZodString;
|
|
624
968
|
orders: z.ZodNumber;
|
|
@@ -721,6 +1065,44 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
721
1065
|
passed: "passed";
|
|
722
1066
|
failed: "failed";
|
|
723
1067
|
}>>;
|
|
1068
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1069
|
+
state: z.ZodEnum<{
|
|
1070
|
+
active: "active";
|
|
1071
|
+
stalled: "stalled";
|
|
1072
|
+
quiet: "quiet";
|
|
1073
|
+
}>;
|
|
1074
|
+
previous: z.ZodEnum<{
|
|
1075
|
+
active: "active";
|
|
1076
|
+
stalled: "stalled";
|
|
1077
|
+
quiet: "quiet";
|
|
1078
|
+
}>;
|
|
1079
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1080
|
+
idleMs: z.ZodNumber;
|
|
1081
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1082
|
+
kind: z.ZodEnum<{
|
|
1083
|
+
gate: "gate";
|
|
1084
|
+
command: "command";
|
|
1085
|
+
agent: "agent";
|
|
1086
|
+
step: "step";
|
|
1087
|
+
}>;
|
|
1088
|
+
label: z.ZodString;
|
|
1089
|
+
}, z.core.$strict>>;
|
|
1090
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1091
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1092
|
+
report: "report";
|
|
1093
|
+
stop: "stop";
|
|
1094
|
+
}>>;
|
|
1095
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1096
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1097
|
+
pid: z.ZodNumber;
|
|
1098
|
+
parentPid: z.ZodNumber;
|
|
1099
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1100
|
+
command: z.ZodString;
|
|
1101
|
+
}, z.core.$strict>>;
|
|
1102
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1103
|
+
tail: z.ZodString;
|
|
1104
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1105
|
+
}, z.core.$strict>>;
|
|
724
1106
|
}, z.core.$strict> | z.ZodObject<{
|
|
725
1107
|
failureKind: z.ZodEnum<{
|
|
726
1108
|
gate: "gate";
|
|
@@ -730,6 +1112,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
730
1112
|
environment: "environment";
|
|
731
1113
|
timeout: "timeout";
|
|
732
1114
|
"provider-auth": "provider-auth";
|
|
1115
|
+
stalled: "stalled";
|
|
733
1116
|
"stale-base": "stale-base";
|
|
734
1117
|
"empty-result": "empty-result";
|
|
735
1118
|
unfinished: "unfinished";
|
|
@@ -741,6 +1124,42 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
741
1124
|
}>;
|
|
742
1125
|
message: z.ZodString;
|
|
743
1126
|
blocked: z.ZodBoolean;
|
|
1127
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1128
|
+
failureKind: z.ZodEnum<{
|
|
1129
|
+
gate: "gate";
|
|
1130
|
+
unknown: "unknown";
|
|
1131
|
+
review: "review";
|
|
1132
|
+
cancelled: "cancelled";
|
|
1133
|
+
environment: "environment";
|
|
1134
|
+
timeout: "timeout";
|
|
1135
|
+
"provider-auth": "provider-auth";
|
|
1136
|
+
stalled: "stalled";
|
|
1137
|
+
"stale-base": "stale-base";
|
|
1138
|
+
"empty-result": "empty-result";
|
|
1139
|
+
unfinished: "unfinished";
|
|
1140
|
+
"scope-violation": "scope-violation";
|
|
1141
|
+
"review-protocol": "review-protocol";
|
|
1142
|
+
merge: "merge";
|
|
1143
|
+
budget: "budget";
|
|
1144
|
+
"needs-lead": "needs-lead";
|
|
1145
|
+
}>;
|
|
1146
|
+
cause: z.ZodEnum<{
|
|
1147
|
+
preflight: "preflight";
|
|
1148
|
+
transport: "transport";
|
|
1149
|
+
none: "none";
|
|
1150
|
+
other: "other";
|
|
1151
|
+
"provider-auth": "provider-auth";
|
|
1152
|
+
stalled: "stalled";
|
|
1153
|
+
shutdown: "shutdown";
|
|
1154
|
+
"sandbox-launch": "sandbox-launch";
|
|
1155
|
+
"sandbox-network": "sandbox-network";
|
|
1156
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
1157
|
+
"sandbox-policy": "sandbox-policy";
|
|
1158
|
+
"dependency-network": "dependency-network";
|
|
1159
|
+
"provider-limit": "provider-limit";
|
|
1160
|
+
"lease-expired": "lease-expired";
|
|
1161
|
+
}>;
|
|
1162
|
+
counted: z.ZodBoolean;
|
|
744
1163
|
}, z.core.$strict> | z.ZodObject<{
|
|
745
1164
|
leaseUntil: z.ZodNumber;
|
|
746
1165
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -752,6 +1171,22 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
752
1171
|
}, z.core.$strict> | z.ZodObject<{
|
|
753
1172
|
resultSha: z.ZodString;
|
|
754
1173
|
integrationSha: z.ZodString;
|
|
1174
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1175
|
+
by: z.ZodEnum<{
|
|
1176
|
+
operator: "operator";
|
|
1177
|
+
recovery: "recovery";
|
|
1178
|
+
host: "host";
|
|
1179
|
+
}>;
|
|
1180
|
+
reset: z.ZodBoolean;
|
|
1181
|
+
spent: z.ZodOptional<z.ZodNumber>;
|
|
1182
|
+
reasonLength: z.ZodOptional<z.ZodNumber>;
|
|
1183
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1184
|
+
by: z.ZodEnum<{
|
|
1185
|
+
operator: "operator";
|
|
1186
|
+
graph: "graph";
|
|
1187
|
+
host: "host";
|
|
1188
|
+
}>;
|
|
1189
|
+
hadAttempt: z.ZodBoolean;
|
|
755
1190
|
}, z.core.$strict> | z.ZodObject<{
|
|
756
1191
|
code: z.ZodString;
|
|
757
1192
|
message: z.ZodString;
|
|
@@ -771,6 +1206,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
771
1206
|
environment: "environment";
|
|
772
1207
|
timeout: "timeout";
|
|
773
1208
|
"provider-auth": "provider-auth";
|
|
1209
|
+
stalled: "stalled";
|
|
774
1210
|
"stale-base": "stale-base";
|
|
775
1211
|
"empty-result": "empty-result";
|
|
776
1212
|
unfinished: "unfinished";
|
|
@@ -790,6 +1226,12 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
790
1226
|
}>;
|
|
791
1227
|
}, z.core.$strict> | z.ZodObject<{
|
|
792
1228
|
owner: z.ZodString;
|
|
1229
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1230
|
+
by: z.ZodEnum<{
|
|
1231
|
+
operator: "operator";
|
|
1232
|
+
controller: "controller";
|
|
1233
|
+
host: "host";
|
|
1234
|
+
}>;
|
|
793
1235
|
}, z.core.$strict> | z.ZodObject<{
|
|
794
1236
|
owner: z.ZodString;
|
|
795
1237
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -832,6 +1274,45 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
832
1274
|
verificationId: z.ZodString;
|
|
833
1275
|
workIds: z.ZodArray<z.ZodString>;
|
|
834
1276
|
policyDigest: z.ZodString;
|
|
1277
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1278
|
+
state: z.ZodEnum<{
|
|
1279
|
+
active: "active";
|
|
1280
|
+
stalled: "stalled";
|
|
1281
|
+
quiet: "quiet";
|
|
1282
|
+
}>;
|
|
1283
|
+
previous: z.ZodEnum<{
|
|
1284
|
+
active: "active";
|
|
1285
|
+
stalled: "stalled";
|
|
1286
|
+
quiet: "quiet";
|
|
1287
|
+
}>;
|
|
1288
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1289
|
+
idleMs: z.ZodNumber;
|
|
1290
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1291
|
+
kind: z.ZodEnum<{
|
|
1292
|
+
gate: "gate";
|
|
1293
|
+
command: "command";
|
|
1294
|
+
agent: "agent";
|
|
1295
|
+
step: "step";
|
|
1296
|
+
}>;
|
|
1297
|
+
label: z.ZodString;
|
|
1298
|
+
}, z.core.$strict>>;
|
|
1299
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1300
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1301
|
+
report: "report";
|
|
1302
|
+
stop: "stop";
|
|
1303
|
+
}>>;
|
|
1304
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1305
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1306
|
+
pid: z.ZodNumber;
|
|
1307
|
+
parentPid: z.ZodNumber;
|
|
1308
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1309
|
+
command: z.ZodString;
|
|
1310
|
+
}, z.core.$strict>>;
|
|
1311
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1312
|
+
tail: z.ZodString;
|
|
1313
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1314
|
+
}, z.core.$strict>>;
|
|
1315
|
+
verificationId: z.ZodString;
|
|
835
1316
|
}, z.core.$strict> | z.ZodObject<{
|
|
836
1317
|
verificationId: z.ZodString;
|
|
837
1318
|
status: z.ZodEnum<{
|
|
@@ -923,7 +1404,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
923
1404
|
workId: z.ZodOptional<z.ZodString>;
|
|
924
1405
|
runId: z.ZodOptional<z.ZodString>;
|
|
925
1406
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
926
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1407
|
+
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
927
1408
|
payload: z.ZodObject<{
|
|
928
1409
|
digest: z.ZodString;
|
|
929
1410
|
orders: z.ZodNumber;
|
|
@@ -1026,6 +1507,44 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1026
1507
|
passed: "passed";
|
|
1027
1508
|
failed: "failed";
|
|
1028
1509
|
}>>;
|
|
1510
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1511
|
+
state: z.ZodEnum<{
|
|
1512
|
+
active: "active";
|
|
1513
|
+
stalled: "stalled";
|
|
1514
|
+
quiet: "quiet";
|
|
1515
|
+
}>;
|
|
1516
|
+
previous: z.ZodEnum<{
|
|
1517
|
+
active: "active";
|
|
1518
|
+
stalled: "stalled";
|
|
1519
|
+
quiet: "quiet";
|
|
1520
|
+
}>;
|
|
1521
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1522
|
+
idleMs: z.ZodNumber;
|
|
1523
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1524
|
+
kind: z.ZodEnum<{
|
|
1525
|
+
gate: "gate";
|
|
1526
|
+
command: "command";
|
|
1527
|
+
agent: "agent";
|
|
1528
|
+
step: "step";
|
|
1529
|
+
}>;
|
|
1530
|
+
label: z.ZodString;
|
|
1531
|
+
}, z.core.$strict>>;
|
|
1532
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1533
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1534
|
+
report: "report";
|
|
1535
|
+
stop: "stop";
|
|
1536
|
+
}>>;
|
|
1537
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1538
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1539
|
+
pid: z.ZodNumber;
|
|
1540
|
+
parentPid: z.ZodNumber;
|
|
1541
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1542
|
+
command: z.ZodString;
|
|
1543
|
+
}, z.core.$strict>>;
|
|
1544
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1545
|
+
tail: z.ZodString;
|
|
1546
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1547
|
+
}, z.core.$strict>>;
|
|
1029
1548
|
}, z.core.$strict> | z.ZodObject<{
|
|
1030
1549
|
failureKind: z.ZodEnum<{
|
|
1031
1550
|
gate: "gate";
|
|
@@ -1035,6 +1554,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1035
1554
|
environment: "environment";
|
|
1036
1555
|
timeout: "timeout";
|
|
1037
1556
|
"provider-auth": "provider-auth";
|
|
1557
|
+
stalled: "stalled";
|
|
1038
1558
|
"stale-base": "stale-base";
|
|
1039
1559
|
"empty-result": "empty-result";
|
|
1040
1560
|
unfinished: "unfinished";
|
|
@@ -1046,6 +1566,42 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1046
1566
|
}>;
|
|
1047
1567
|
message: z.ZodString;
|
|
1048
1568
|
blocked: z.ZodBoolean;
|
|
1569
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1570
|
+
failureKind: z.ZodEnum<{
|
|
1571
|
+
gate: "gate";
|
|
1572
|
+
unknown: "unknown";
|
|
1573
|
+
review: "review";
|
|
1574
|
+
cancelled: "cancelled";
|
|
1575
|
+
environment: "environment";
|
|
1576
|
+
timeout: "timeout";
|
|
1577
|
+
"provider-auth": "provider-auth";
|
|
1578
|
+
stalled: "stalled";
|
|
1579
|
+
"stale-base": "stale-base";
|
|
1580
|
+
"empty-result": "empty-result";
|
|
1581
|
+
unfinished: "unfinished";
|
|
1582
|
+
"scope-violation": "scope-violation";
|
|
1583
|
+
"review-protocol": "review-protocol";
|
|
1584
|
+
merge: "merge";
|
|
1585
|
+
budget: "budget";
|
|
1586
|
+
"needs-lead": "needs-lead";
|
|
1587
|
+
}>;
|
|
1588
|
+
cause: z.ZodEnum<{
|
|
1589
|
+
preflight: "preflight";
|
|
1590
|
+
transport: "transport";
|
|
1591
|
+
none: "none";
|
|
1592
|
+
other: "other";
|
|
1593
|
+
"provider-auth": "provider-auth";
|
|
1594
|
+
stalled: "stalled";
|
|
1595
|
+
shutdown: "shutdown";
|
|
1596
|
+
"sandbox-launch": "sandbox-launch";
|
|
1597
|
+
"sandbox-network": "sandbox-network";
|
|
1598
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
1599
|
+
"sandbox-policy": "sandbox-policy";
|
|
1600
|
+
"dependency-network": "dependency-network";
|
|
1601
|
+
"provider-limit": "provider-limit";
|
|
1602
|
+
"lease-expired": "lease-expired";
|
|
1603
|
+
}>;
|
|
1604
|
+
counted: z.ZodBoolean;
|
|
1049
1605
|
}, z.core.$strict> | z.ZodObject<{
|
|
1050
1606
|
leaseUntil: z.ZodNumber;
|
|
1051
1607
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1057,6 +1613,22 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1057
1613
|
}, z.core.$strict> | z.ZodObject<{
|
|
1058
1614
|
resultSha: z.ZodString;
|
|
1059
1615
|
integrationSha: z.ZodString;
|
|
1616
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1617
|
+
by: z.ZodEnum<{
|
|
1618
|
+
operator: "operator";
|
|
1619
|
+
recovery: "recovery";
|
|
1620
|
+
host: "host";
|
|
1621
|
+
}>;
|
|
1622
|
+
reset: z.ZodBoolean;
|
|
1623
|
+
spent: z.ZodOptional<z.ZodNumber>;
|
|
1624
|
+
reasonLength: z.ZodOptional<z.ZodNumber>;
|
|
1625
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1626
|
+
by: z.ZodEnum<{
|
|
1627
|
+
operator: "operator";
|
|
1628
|
+
graph: "graph";
|
|
1629
|
+
host: "host";
|
|
1630
|
+
}>;
|
|
1631
|
+
hadAttempt: z.ZodBoolean;
|
|
1060
1632
|
}, z.core.$strict> | z.ZodObject<{
|
|
1061
1633
|
code: z.ZodString;
|
|
1062
1634
|
message: z.ZodString;
|
|
@@ -1076,6 +1648,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1076
1648
|
environment: "environment";
|
|
1077
1649
|
timeout: "timeout";
|
|
1078
1650
|
"provider-auth": "provider-auth";
|
|
1651
|
+
stalled: "stalled";
|
|
1079
1652
|
"stale-base": "stale-base";
|
|
1080
1653
|
"empty-result": "empty-result";
|
|
1081
1654
|
unfinished: "unfinished";
|
|
@@ -1095,6 +1668,12 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1095
1668
|
}>;
|
|
1096
1669
|
}, z.core.$strict> | z.ZodObject<{
|
|
1097
1670
|
owner: z.ZodString;
|
|
1671
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1672
|
+
by: z.ZodEnum<{
|
|
1673
|
+
operator: "operator";
|
|
1674
|
+
controller: "controller";
|
|
1675
|
+
host: "host";
|
|
1676
|
+
}>;
|
|
1098
1677
|
}, z.core.$strict> | z.ZodObject<{
|
|
1099
1678
|
owner: z.ZodString;
|
|
1100
1679
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1137,6 +1716,45 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1137
1716
|
verificationId: z.ZodString;
|
|
1138
1717
|
workIds: z.ZodArray<z.ZodString>;
|
|
1139
1718
|
policyDigest: z.ZodString;
|
|
1719
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1720
|
+
state: z.ZodEnum<{
|
|
1721
|
+
active: "active";
|
|
1722
|
+
stalled: "stalled";
|
|
1723
|
+
quiet: "quiet";
|
|
1724
|
+
}>;
|
|
1725
|
+
previous: z.ZodEnum<{
|
|
1726
|
+
active: "active";
|
|
1727
|
+
stalled: "stalled";
|
|
1728
|
+
quiet: "quiet";
|
|
1729
|
+
}>;
|
|
1730
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1731
|
+
idleMs: z.ZodNumber;
|
|
1732
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1733
|
+
kind: z.ZodEnum<{
|
|
1734
|
+
gate: "gate";
|
|
1735
|
+
command: "command";
|
|
1736
|
+
agent: "agent";
|
|
1737
|
+
step: "step";
|
|
1738
|
+
}>;
|
|
1739
|
+
label: z.ZodString;
|
|
1740
|
+
}, z.core.$strict>>;
|
|
1741
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1742
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1743
|
+
report: "report";
|
|
1744
|
+
stop: "stop";
|
|
1745
|
+
}>>;
|
|
1746
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1747
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1748
|
+
pid: z.ZodNumber;
|
|
1749
|
+
parentPid: z.ZodNumber;
|
|
1750
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1751
|
+
command: z.ZodString;
|
|
1752
|
+
}, z.core.$strict>>;
|
|
1753
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1754
|
+
tail: z.ZodString;
|
|
1755
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1756
|
+
}, z.core.$strict>>;
|
|
1757
|
+
verificationId: z.ZodString;
|
|
1140
1758
|
}, z.core.$strict> | z.ZodObject<{
|
|
1141
1759
|
verificationId: z.ZodString;
|
|
1142
1760
|
status: z.ZodEnum<{
|
|
@@ -1198,7 +1816,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1198
1816
|
workId: z.ZodOptional<z.ZodString>;
|
|
1199
1817
|
runId: z.ZodOptional<z.ZodString>;
|
|
1200
1818
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
1201
|
-
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.failed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1819
|
+
type: z.ZodLiteral<"graph.registered" | "graph.reviewed" | "graph.approved" | "work.ready" | "work.held" | "attempt.claimed" | "attempt.phase" | "attempt.gate" | "attempt.review" | "attempt.stage" | "attempt.liveness" | "attempt.failed" | "attempt.diagnosed" | "attempt.expired" | "attempt.cancelled" | "attempt.recovered" | "work.accepted" | "work.retried" | "work.cancelled" | "work.blocked" | "control.paused" | "control.resumed" | "controller.acquired" | "base.moved" | "controller.released" | "budget.blocked" | "corpus.adopted" | "work.recovery" | "joint.started" | "joint.liveness" | "joint.finished" | "policy.applied" | "policy.reconfigure" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1202
1820
|
payload: z.ZodObject<{
|
|
1203
1821
|
digest: z.ZodString;
|
|
1204
1822
|
orders: z.ZodNumber;
|
|
@@ -1301,6 +1919,44 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1301
1919
|
passed: "passed";
|
|
1302
1920
|
failed: "failed";
|
|
1303
1921
|
}>>;
|
|
1922
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1923
|
+
state: z.ZodEnum<{
|
|
1924
|
+
active: "active";
|
|
1925
|
+
stalled: "stalled";
|
|
1926
|
+
quiet: "quiet";
|
|
1927
|
+
}>;
|
|
1928
|
+
previous: z.ZodEnum<{
|
|
1929
|
+
active: "active";
|
|
1930
|
+
stalled: "stalled";
|
|
1931
|
+
quiet: "quiet";
|
|
1932
|
+
}>;
|
|
1933
|
+
lastMovementAt: z.ZodISODateTime;
|
|
1934
|
+
idleMs: z.ZodNumber;
|
|
1935
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1936
|
+
kind: z.ZodEnum<{
|
|
1937
|
+
gate: "gate";
|
|
1938
|
+
command: "command";
|
|
1939
|
+
agent: "agent";
|
|
1940
|
+
step: "step";
|
|
1941
|
+
}>;
|
|
1942
|
+
label: z.ZodString;
|
|
1943
|
+
}, z.core.$strict>>;
|
|
1944
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1945
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
1946
|
+
report: "report";
|
|
1947
|
+
stop: "stop";
|
|
1948
|
+
}>>;
|
|
1949
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1950
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1951
|
+
pid: z.ZodNumber;
|
|
1952
|
+
parentPid: z.ZodNumber;
|
|
1953
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
1954
|
+
command: z.ZodString;
|
|
1955
|
+
}, z.core.$strict>>;
|
|
1956
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1957
|
+
tail: z.ZodString;
|
|
1958
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
1959
|
+
}, z.core.$strict>>;
|
|
1304
1960
|
}, z.core.$strict> | z.ZodObject<{
|
|
1305
1961
|
failureKind: z.ZodEnum<{
|
|
1306
1962
|
gate: "gate";
|
|
@@ -1310,6 +1966,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1310
1966
|
environment: "environment";
|
|
1311
1967
|
timeout: "timeout";
|
|
1312
1968
|
"provider-auth": "provider-auth";
|
|
1969
|
+
stalled: "stalled";
|
|
1313
1970
|
"stale-base": "stale-base";
|
|
1314
1971
|
"empty-result": "empty-result";
|
|
1315
1972
|
unfinished: "unfinished";
|
|
@@ -1321,6 +1978,42 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1321
1978
|
}>;
|
|
1322
1979
|
message: z.ZodString;
|
|
1323
1980
|
blocked: z.ZodBoolean;
|
|
1981
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1982
|
+
failureKind: z.ZodEnum<{
|
|
1983
|
+
gate: "gate";
|
|
1984
|
+
unknown: "unknown";
|
|
1985
|
+
review: "review";
|
|
1986
|
+
cancelled: "cancelled";
|
|
1987
|
+
environment: "environment";
|
|
1988
|
+
timeout: "timeout";
|
|
1989
|
+
"provider-auth": "provider-auth";
|
|
1990
|
+
stalled: "stalled";
|
|
1991
|
+
"stale-base": "stale-base";
|
|
1992
|
+
"empty-result": "empty-result";
|
|
1993
|
+
unfinished: "unfinished";
|
|
1994
|
+
"scope-violation": "scope-violation";
|
|
1995
|
+
"review-protocol": "review-protocol";
|
|
1996
|
+
merge: "merge";
|
|
1997
|
+
budget: "budget";
|
|
1998
|
+
"needs-lead": "needs-lead";
|
|
1999
|
+
}>;
|
|
2000
|
+
cause: z.ZodEnum<{
|
|
2001
|
+
preflight: "preflight";
|
|
2002
|
+
transport: "transport";
|
|
2003
|
+
none: "none";
|
|
2004
|
+
other: "other";
|
|
2005
|
+
"provider-auth": "provider-auth";
|
|
2006
|
+
stalled: "stalled";
|
|
2007
|
+
shutdown: "shutdown";
|
|
2008
|
+
"sandbox-launch": "sandbox-launch";
|
|
2009
|
+
"sandbox-network": "sandbox-network";
|
|
2010
|
+
"sandbox-filesystem": "sandbox-filesystem";
|
|
2011
|
+
"sandbox-policy": "sandbox-policy";
|
|
2012
|
+
"dependency-network": "dependency-network";
|
|
2013
|
+
"provider-limit": "provider-limit";
|
|
2014
|
+
"lease-expired": "lease-expired";
|
|
2015
|
+
}>;
|
|
2016
|
+
counted: z.ZodBoolean;
|
|
1324
2017
|
}, z.core.$strict> | z.ZodObject<{
|
|
1325
2018
|
leaseUntil: z.ZodNumber;
|
|
1326
2019
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1332,6 +2025,22 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1332
2025
|
}, z.core.$strict> | z.ZodObject<{
|
|
1333
2026
|
resultSha: z.ZodString;
|
|
1334
2027
|
integrationSha: z.ZodString;
|
|
2028
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2029
|
+
by: z.ZodEnum<{
|
|
2030
|
+
operator: "operator";
|
|
2031
|
+
recovery: "recovery";
|
|
2032
|
+
host: "host";
|
|
2033
|
+
}>;
|
|
2034
|
+
reset: z.ZodBoolean;
|
|
2035
|
+
spent: z.ZodOptional<z.ZodNumber>;
|
|
2036
|
+
reasonLength: z.ZodOptional<z.ZodNumber>;
|
|
2037
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2038
|
+
by: z.ZodEnum<{
|
|
2039
|
+
operator: "operator";
|
|
2040
|
+
graph: "graph";
|
|
2041
|
+
host: "host";
|
|
2042
|
+
}>;
|
|
2043
|
+
hadAttempt: z.ZodBoolean;
|
|
1335
2044
|
}, z.core.$strict> | z.ZodObject<{
|
|
1336
2045
|
code: z.ZodString;
|
|
1337
2046
|
message: z.ZodString;
|
|
@@ -1351,6 +2060,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1351
2060
|
environment: "environment";
|
|
1352
2061
|
timeout: "timeout";
|
|
1353
2062
|
"provider-auth": "provider-auth";
|
|
2063
|
+
stalled: "stalled";
|
|
1354
2064
|
"stale-base": "stale-base";
|
|
1355
2065
|
"empty-result": "empty-result";
|
|
1356
2066
|
unfinished: "unfinished";
|
|
@@ -1370,6 +2080,12 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1370
2080
|
}>;
|
|
1371
2081
|
}, z.core.$strict> | z.ZodObject<{
|
|
1372
2082
|
owner: z.ZodString;
|
|
2083
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2084
|
+
by: z.ZodEnum<{
|
|
2085
|
+
operator: "operator";
|
|
2086
|
+
controller: "controller";
|
|
2087
|
+
host: "host";
|
|
2088
|
+
}>;
|
|
1373
2089
|
}, z.core.$strict> | z.ZodObject<{
|
|
1374
2090
|
owner: z.ZodString;
|
|
1375
2091
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1412,6 +2128,45 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1412
2128
|
verificationId: z.ZodString;
|
|
1413
2129
|
workIds: z.ZodArray<z.ZodString>;
|
|
1414
2130
|
policyDigest: z.ZodString;
|
|
2131
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2132
|
+
state: z.ZodEnum<{
|
|
2133
|
+
active: "active";
|
|
2134
|
+
stalled: "stalled";
|
|
2135
|
+
quiet: "quiet";
|
|
2136
|
+
}>;
|
|
2137
|
+
previous: z.ZodEnum<{
|
|
2138
|
+
active: "active";
|
|
2139
|
+
stalled: "stalled";
|
|
2140
|
+
quiet: "quiet";
|
|
2141
|
+
}>;
|
|
2142
|
+
lastMovementAt: z.ZodISODateTime;
|
|
2143
|
+
idleMs: z.ZodNumber;
|
|
2144
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
2145
|
+
kind: z.ZodEnum<{
|
|
2146
|
+
gate: "gate";
|
|
2147
|
+
command: "command";
|
|
2148
|
+
agent: "agent";
|
|
2149
|
+
step: "step";
|
|
2150
|
+
}>;
|
|
2151
|
+
label: z.ZodString;
|
|
2152
|
+
}, z.core.$strict>>;
|
|
2153
|
+
cpuUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2154
|
+
action: z.ZodOptional<z.ZodEnum<{
|
|
2155
|
+
report: "report";
|
|
2156
|
+
stop: "stop";
|
|
2157
|
+
}>>;
|
|
2158
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
2159
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
2160
|
+
pid: z.ZodNumber;
|
|
2161
|
+
parentPid: z.ZodNumber;
|
|
2162
|
+
cpuMs: z.ZodOptional<z.ZodNumber>;
|
|
2163
|
+
command: z.ZodString;
|
|
2164
|
+
}, z.core.$strict>>;
|
|
2165
|
+
processesUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
2166
|
+
tail: z.ZodString;
|
|
2167
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
2168
|
+
}, z.core.$strict>>;
|
|
2169
|
+
verificationId: z.ZodString;
|
|
1415
2170
|
}, z.core.$strict> | z.ZodObject<{
|
|
1416
2171
|
verificationId: z.ZodString;
|
|
1417
2172
|
status: z.ZodEnum<{
|
|
@@ -1494,6 +2249,6 @@ export type RunEventDraft = {
|
|
|
1494
2249
|
* остановки очереди), поэтому harness использует те же имена, а не новые.
|
|
1495
2250
|
* `heartbeat` продлевает сроки и события не создаёт.
|
|
1496
2251
|
*/
|
|
1497
|
-
export declare const transactionKinds: readonly ["run.claimed", "heartbeat", "run.heartbeat-failed", "run.phase", "run.context", "run.dependencies", "run.dependency-freshness", "run.consumer-checked", "run.implementation-basis", "run.partial", "run.continuation", "run.model", "run.timing.started", "run.timing.finished", "evidence.recorded", "reproduction.recorded", "findings.recorded", "task.done", "run.failed", "run.recovered", "recovery.rejected", "runs.expired", "task.retry", "task.cancelled", "task.held", "task.released", "task.hold-transferred", "wait.started", "wait.cleared", "recovery.reserved", "recovery.decided", "recovery.applied", "recovery.interrupted", "scheduler.started", "scheduler.paused", "scheduler.released", "scheduler.error", "scheduler.blockers", "config.started", "config.reconfigured", "config.reconfigure-requested", "config.reconfigure-cleared", "graph.registered", "graph.reviewed", "graph.approved", "delivery.recorded", "workspace.verification.started", "workspace.manifest", "workspace.evidence", "workspace.verified", "workspace.failed", "base.moved", "workflow.updated", "usage.recorded", "checks.recorded", "checks.adopted", "checks.awaiting-operator", "checks.adoption-abandoned", "checks.spike"];
|
|
2252
|
+
export declare const transactionKinds: readonly ["run.claimed", "heartbeat", "run.heartbeat-failed", "run.phase", "run.context", "run.dependencies", "run.dependency-freshness", "run.consumer-checked", "run.implementation-basis", "run.partial", "run.continuation", "run.model", "run.timing.started", "run.timing.finished", "run.liveness", "evidence.recorded", "reproduction.recorded", "findings.recorded", "task.done", "run.failed", "run.recovered", "recovery.rejected", "runs.expired", "task.retry", "task.cancelled", "task.held", "task.released", "task.hold-transferred", "wait.started", "wait.cleared", "recovery.reserved", "recovery.decided", "recovery.applied", "recovery.interrupted", "scheduler.started", "scheduler.paused", "scheduler.released", "scheduler.error", "scheduler.blockers", "config.started", "config.reconfigured", "config.reconfigure-requested", "config.reconfigure-cleared", "graph.registered", "graph.reviewed", "graph.approved", "delivery.recorded", "workspace.verification.started", "workspace.manifest", "workspace.evidence", "workspace.verified", "workspace.failed", "workspace.liveness", "base.moved", "workflow.updated", "usage.recorded", "checks.recorded", "checks.adopted", "checks.awaiting-operator", "checks.adoption-abandoned", "checks.spike"];
|
|
1498
2253
|
export type TransactionKind = (typeof transactionKinds)[number];
|
|
1499
2254
|
export {};
|