devcontour-harness 0.1.0-alpha.35 → 0.1.0-alpha.42
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 +56 -2
- package/docs/architecture.md +28 -4
- package/docs/contracts.md +294 -51
- package/docs/release-notes/0.1.0-alpha.36.md +26 -0
- package/docs/release-notes/0.1.0-alpha.37.md +40 -0
- package/docs/release-notes/0.1.0-alpha.38.md +31 -0
- package/docs/release-notes/0.1.0-alpha.39.md +38 -0
- package/docs/release-notes/0.1.0-alpha.40.md +27 -0
- package/docs/release-notes/0.1.0-alpha.41.md +49 -0
- package/docs/release-notes/0.1.0-alpha.42.md +44 -0
- package/docs/standalone.md +20 -0
- package/docs/toolchains.md +57 -2
- package/docs/upgrade.md +240 -0
- package/lib/agents/review-probe.d.ts +3 -1
- package/lib/agents/review-probe.js +8 -4
- package/lib/agents/schemas.d.ts +84 -2
- package/lib/agents/schemas.js +49 -1
- package/lib/cli.js +149 -1
- package/lib/contracts/cli.d.ts +1495 -170
- package/lib/contracts/cli.js +232 -2
- package/lib/contracts/diagnosis.d.ts +8 -4
- package/lib/contracts/diagnosis.js +3 -0
- package/lib/contracts/errors.d.ts +7 -1
- package/lib/contracts/errors.js +6 -0
- package/lib/contracts/events.d.ts +453 -60
- package/lib/contracts/events.js +79 -0
- package/lib/contracts/execution.d.ts +270 -50
- package/lib/contracts/execution.js +45 -3
- package/lib/contracts/failure.d.ts +14 -1
- package/lib/contracts/failure.js +9 -1
- package/lib/contracts/handoff.d.ts +70 -20
- package/lib/contracts/handoff.js +42 -1
- package/lib/contracts/index.d.ts +1 -0
- package/lib/contracts/index.js +1 -0
- package/lib/contracts/input-state.d.ts +13 -0
- package/lib/contracts/input-state.js +32 -0
- package/lib/contracts/input.d.ts +442 -0
- package/lib/contracts/input.js +321 -0
- package/lib/contracts/planning.d.ts +2 -0
- package/lib/contracts/policy.d.ts +36 -2
- package/lib/contracts/policy.js +61 -2
- package/lib/contracts/ports.d.ts +54 -0
- package/lib/contracts/project.d.ts +127 -0
- package/lib/contracts/project.js +99 -0
- package/lib/contracts/published.d.ts +604 -92
- package/lib/contracts/published.js +4 -1
- package/lib/contracts/repair-policy.d.ts +20 -0
- package/lib/contracts/repair-policy.js +34 -0
- package/lib/contracts/report.d.ts +53 -21
- package/lib/contracts/report.js +33 -2
- package/lib/contracts/result.d.ts +26 -24
- package/lib/contracts/review.d.ts +47 -8
- package/lib/contracts/review.js +21 -1
- package/lib/control/harness.d.ts +2555 -51
- package/lib/control/harness.js +112 -6
- package/lib/control/recovery.d.ts +2 -2
- package/lib/control/report.js +1 -0
- package/lib/control/status.d.ts +30 -22
- package/lib/control/status.js +11 -1
- package/lib/control/workflow.d.ts +8 -8
- package/lib/engine/budget.d.ts +86 -3
- package/lib/engine/budget.js +45 -10
- package/lib/engine/engine.d.ts +3091 -85
- package/lib/engine/engine.js +1229 -106
- package/lib/engine/input-policy.d.ts +68 -0
- package/lib/engine/input-policy.js +285 -0
- package/lib/engine/input-requests.d.ts +64 -0
- package/lib/engine/input-requests.js +187 -0
- package/lib/engine/joint-runner.js +2 -2
- package/lib/engine/measured.d.ts +6 -1
- package/lib/engine/measured.js +12 -1
- package/lib/engine/prompt.d.ts +4 -2
- package/lib/engine/prompt.js +3 -1
- package/lib/engine/property-recovery.js +2 -0
- package/lib/engine/repair.d.ts +2 -0
- package/lib/engine/repair.js +10 -3
- package/lib/engine/runner.d.ts +44 -4
- package/lib/engine/runner.js +347 -35
- package/lib/environment/isolation.d.ts +41 -1
- package/lib/environment/isolation.js +167 -5
- package/lib/environment/lifecycle.d.ts +54 -2
- package/lib/environment/lifecycle.js +96 -4
- package/lib/explain/state.d.ts +16 -2
- package/lib/explain/state.js +254 -77
- package/lib/handoff/markdown.js +10 -0
- package/lib/handoff/pack.js +42 -1
- package/lib/index.d.ts +10 -0
- package/lib/index.js +10 -0
- package/lib/init/inspect.d.ts +34 -0
- package/lib/init/inspect.js +292 -0
- package/lib/init/project.js +14 -31
- package/lib/integrations/connector/commands.d.ts +12 -12
- package/lib/integrations/connector/config.d.ts +4 -4
- package/lib/integrations/connector/delivery.d.ts +1 -1
- package/lib/integrations/relay-v2/protocol.d.ts +4 -4
- package/lib/profiles/resolve.d.ts +2 -1
- package/lib/projections/enums.d.ts +1 -1
- package/lib/projections/enums.js +4 -0
- package/lib/projections/index.d.ts +1 -0
- package/lib/projections/index.js +1 -0
- package/lib/projections/input.d.ts +17 -0
- package/lib/projections/input.js +28 -0
- package/lib/projections/stop.d.ts +40 -1
- package/lib/projections/stop.js +87 -4
- package/lib/report/compute.d.ts +4 -1
- package/lib/report/compute.js +41 -6
- package/lib/report/document.js +3 -2
- package/lib/storage/document.d.ts +66 -28
- package/lib/testing/index.d.ts +1 -1
- package/lib/testing/index.js +1 -1
- package/lib/testing/store-contract.d.ts +8 -1
- package/lib/testing/store-contract.js +194 -1
- package/lib/verification/confirm.d.ts +3 -3
- package/lib/verification/confirm.js +6 -4
- package/lib/verification/corpus.d.ts +9 -9
- package/lib/verification/gates-at.js +3 -1
- package/lib/verification/gates.d.ts +154 -1
- package/lib/verification/gates.js +378 -11
- package/package.json +1 -1
- package/schemas/execution-document.schema.json +130 -0
- package/schemas/execution-policy.schema.json +31 -0
- package/schemas/handoff-pack.schema.json +146 -4
- package/schemas/input-request.schema.json +665 -0
- package/schemas/project-facts.schema.json +393 -0
- package/schemas/result-envelope.schema.json +1 -0
- package/schemas/run-event.schema.json +625 -0
- package/schemas/run-result.schema.json +1 -0
- package/schemas/stop-diagnosis.schema.json +5 -1
- package/schemas/value-report.schema.json +78 -7
|
@@ -51,8 +51,8 @@ export declare const eventPayloads: {
|
|
|
51
51
|
}, z.core.$strict>;
|
|
52
52
|
readonly 'graph.reviewed': z.ZodObject<{
|
|
53
53
|
kind: z.ZodEnum<{
|
|
54
|
-
plan: "plan";
|
|
55
54
|
contract: "contract";
|
|
55
|
+
plan: "plan";
|
|
56
56
|
}>;
|
|
57
57
|
subject: z.ZodString;
|
|
58
58
|
digest: z.ZodString;
|
|
@@ -63,8 +63,8 @@ export declare const eventPayloads: {
|
|
|
63
63
|
readonly 'graph.approved': z.ZodObject<{
|
|
64
64
|
digest: z.ZodString;
|
|
65
65
|
actor: z.ZodEnum<{
|
|
66
|
-
agent: "agent";
|
|
67
66
|
operator: "operator";
|
|
67
|
+
agent: "agent";
|
|
68
68
|
}>;
|
|
69
69
|
}, z.core.$strict>;
|
|
70
70
|
readonly 'work.ready': z.ZodObject<{
|
|
@@ -92,10 +92,10 @@ export declare const eventPayloads: {
|
|
|
92
92
|
}, z.core.$strict>;
|
|
93
93
|
readonly 'attempt.phase': z.ZodObject<{
|
|
94
94
|
phase: z.ZodEnum<{
|
|
95
|
-
ready: "ready";
|
|
96
|
-
failed: "failed";
|
|
97
95
|
cancelled: "cancelled";
|
|
98
96
|
draft: "draft";
|
|
97
|
+
ready: "ready";
|
|
98
|
+
failed: "failed";
|
|
99
99
|
running: "running";
|
|
100
100
|
verifying: "verifying";
|
|
101
101
|
reviewing: "reviewing";
|
|
@@ -180,8 +180,8 @@ export declare const eventPayloads: {
|
|
|
180
180
|
activity: z.ZodOptional<z.ZodObject<{
|
|
181
181
|
kind: z.ZodEnum<{
|
|
182
182
|
gate: "gate";
|
|
183
|
-
command: "command";
|
|
184
183
|
agent: "agent";
|
|
184
|
+
command: "command";
|
|
185
185
|
step: "step";
|
|
186
186
|
}>;
|
|
187
187
|
label: z.ZodString;
|
|
@@ -222,6 +222,7 @@ export declare const eventPayloads: {
|
|
|
222
222
|
merge: "merge";
|
|
223
223
|
budget: "budget";
|
|
224
224
|
"needs-lead": "needs-lead";
|
|
225
|
+
"needs-input": "needs-input";
|
|
225
226
|
}>;
|
|
226
227
|
message: z.ZodString;
|
|
227
228
|
blocked: z.ZodBoolean;
|
|
@@ -250,6 +251,7 @@ export declare const eventPayloads: {
|
|
|
250
251
|
merge: "merge";
|
|
251
252
|
budget: "budget";
|
|
252
253
|
"needs-lead": "needs-lead";
|
|
254
|
+
"needs-input": "needs-input";
|
|
253
255
|
}>;
|
|
254
256
|
cause: z.ZodEnum<{
|
|
255
257
|
preflight: "preflight";
|
|
@@ -292,8 +294,8 @@ export declare const eventPayloads: {
|
|
|
292
294
|
readonly 'work.retried': z.ZodObject<{
|
|
293
295
|
by: z.ZodEnum<{
|
|
294
296
|
operator: "operator";
|
|
295
|
-
recovery: "recovery";
|
|
296
297
|
host: "host";
|
|
298
|
+
recovery: "recovery";
|
|
297
299
|
}>;
|
|
298
300
|
reset: z.ZodBoolean;
|
|
299
301
|
spent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -307,8 +309,8 @@ export declare const eventPayloads: {
|
|
|
307
309
|
readonly 'work.cancelled': z.ZodObject<{
|
|
308
310
|
by: z.ZodEnum<{
|
|
309
311
|
operator: "operator";
|
|
310
|
-
graph: "graph";
|
|
311
312
|
host: "host";
|
|
313
|
+
graph: "graph";
|
|
312
314
|
}>;
|
|
313
315
|
hadAttempt: z.ZodBoolean;
|
|
314
316
|
}, z.core.$strict>;
|
|
@@ -318,8 +320,8 @@ export declare const eventPayloads: {
|
|
|
318
320
|
}, z.core.$strict>;
|
|
319
321
|
readonly 'control.paused': z.ZodObject<{
|
|
320
322
|
reason: z.ZodEnum<{
|
|
321
|
-
runtime: "runtime";
|
|
322
323
|
operator: "operator";
|
|
324
|
+
runtime: "runtime";
|
|
323
325
|
shutdown: "shutdown";
|
|
324
326
|
"base-check": "base-check";
|
|
325
327
|
reconfigure: "reconfigure";
|
|
@@ -342,12 +344,13 @@ export declare const eventPayloads: {
|
|
|
342
344
|
merge: "merge";
|
|
343
345
|
budget: "budget";
|
|
344
346
|
"needs-lead": "needs-lead";
|
|
347
|
+
"needs-input": "needs-input";
|
|
345
348
|
}>>>;
|
|
346
349
|
}, z.core.$strict>;
|
|
347
350
|
readonly 'control.resumed': z.ZodObject<{
|
|
348
351
|
reason: z.ZodEnum<{
|
|
349
|
-
runtime: "runtime";
|
|
350
352
|
operator: "operator";
|
|
353
|
+
runtime: "runtime";
|
|
351
354
|
shutdown: "shutdown";
|
|
352
355
|
"base-check": "base-check";
|
|
353
356
|
reconfigure: "reconfigure";
|
|
@@ -363,8 +366,8 @@ export declare const eventPayloads: {
|
|
|
363
366
|
readonly 'base.moved': z.ZodObject<{
|
|
364
367
|
by: z.ZodEnum<{
|
|
365
368
|
operator: "operator";
|
|
366
|
-
controller: "controller";
|
|
367
369
|
host: "host";
|
|
370
|
+
controller: "controller";
|
|
368
371
|
}>;
|
|
369
372
|
}, z.core.$strict>;
|
|
370
373
|
readonly 'controller.released': z.ZodObject<{
|
|
@@ -438,8 +441,8 @@ export declare const eventPayloads: {
|
|
|
438
441
|
activity: z.ZodOptional<z.ZodObject<{
|
|
439
442
|
kind: z.ZodEnum<{
|
|
440
443
|
gate: "gate";
|
|
441
|
-
command: "command";
|
|
442
444
|
agent: "agent";
|
|
445
|
+
command: "command";
|
|
443
446
|
step: "step";
|
|
444
447
|
}>;
|
|
445
448
|
label: z.ZodString;
|
|
@@ -490,6 +493,104 @@ export declare const eventPayloads: {
|
|
|
490
493
|
}>;
|
|
491
494
|
error: z.ZodOptional<z.ZodString>;
|
|
492
495
|
}, z.core.$strict>;
|
|
496
|
+
/**
|
|
497
|
+
* Исполнитель остановился с вопросом или controller записал неблокирующий
|
|
498
|
+
* запрос (follow-up, отклонённый вопрос): только ID, вид, серьёзность,
|
|
499
|
+
* минимумы и digests — текста вопроса в журнале нет.
|
|
500
|
+
*/
|
|
501
|
+
readonly 'input.requested': z.ZodObject<{
|
|
502
|
+
requestId: z.ZodString;
|
|
503
|
+
kind: z.ZodEnum<{
|
|
504
|
+
question: "question";
|
|
505
|
+
"follow-up": "follow-up";
|
|
506
|
+
}>;
|
|
507
|
+
blocking: z.ZodBoolean;
|
|
508
|
+
lifecycle: z.ZodEnum<{
|
|
509
|
+
pending: "pending";
|
|
510
|
+
cancelled: "cancelled";
|
|
511
|
+
}>;
|
|
512
|
+
effectiveSeverity: z.ZodNumber;
|
|
513
|
+
floors: z.ZodArray<z.ZodEnum<{
|
|
514
|
+
declared: "declared";
|
|
515
|
+
"critical-path": "critical-path";
|
|
516
|
+
}>>;
|
|
517
|
+
criticalHits: z.ZodNumber;
|
|
518
|
+
questionDigest: z.ZodString;
|
|
519
|
+
draftDigest: z.ZodNullable<z.ZodString>;
|
|
520
|
+
}, z.core.$strict>;
|
|
521
|
+
/** Записан ответ (новая версия): digest и вид, без текста. */
|
|
522
|
+
readonly 'input.answered': z.ZodObject<{
|
|
523
|
+
requestId: z.ZodString;
|
|
524
|
+
revision: z.ZodNumber;
|
|
525
|
+
answerDigest: z.ZodString;
|
|
526
|
+
kind: z.ZodEnum<{
|
|
527
|
+
clarification: "clarification";
|
|
528
|
+
"requirement-change": "requirement-change";
|
|
529
|
+
}>;
|
|
530
|
+
actor: z.ZodEnum<{
|
|
531
|
+
operator: "operator";
|
|
532
|
+
lead: "lead";
|
|
533
|
+
host: "host";
|
|
534
|
+
}>;
|
|
535
|
+
}, z.core.$strict>;
|
|
536
|
+
/**
|
|
537
|
+
* Ответ применён: основание продолжения активировано, поручение
|
|
538
|
+
* возвращено в очередь (`retried`) — одной транзакцией, без вызова модели.
|
|
539
|
+
*/
|
|
540
|
+
readonly 'input.applied': z.ZodObject<{
|
|
541
|
+
requestId: z.ZodString;
|
|
542
|
+
answerDigest: z.ZodString;
|
|
543
|
+
targetDigest: z.ZodString;
|
|
544
|
+
contextDigest: z.ZodNullable<z.ZodString>;
|
|
545
|
+
retried: z.ZodBoolean;
|
|
546
|
+
}, z.core.$strict>;
|
|
547
|
+
/** Запрос закрыт без продолжения: отменён или заменён преемником. */
|
|
548
|
+
readonly 'input.closed': z.ZodObject<{
|
|
549
|
+
requestId: z.ZodString;
|
|
550
|
+
lifecycle: z.ZodEnum<{
|
|
551
|
+
cancelled: "cancelled";
|
|
552
|
+
superseded: "superseded";
|
|
553
|
+
}>;
|
|
554
|
+
by: z.ZodEnum<{
|
|
555
|
+
operator: "operator";
|
|
556
|
+
lead: "lead";
|
|
557
|
+
host: "host";
|
|
558
|
+
controller: "controller";
|
|
559
|
+
}>;
|
|
560
|
+
successor: z.ZodOptional<z.ZodString>;
|
|
561
|
+
}, z.core.$strict>;
|
|
562
|
+
/**
|
|
563
|
+
* Применённое основание устарело до выдачи (claim): запрос снова
|
|
564
|
+
* `answered`, работа ждёт нового применения; без текста.
|
|
565
|
+
*/
|
|
566
|
+
readonly 'input.stale': z.ZodObject<{
|
|
567
|
+
requestId: z.ZodString;
|
|
568
|
+
targetDigest: z.ZodString;
|
|
569
|
+
reason: z.ZodEnum<{
|
|
570
|
+
context: "context";
|
|
571
|
+
graph: "graph";
|
|
572
|
+
order: "order";
|
|
573
|
+
policy: "policy";
|
|
574
|
+
}>;
|
|
575
|
+
}, z.core.$strict>;
|
|
576
|
+
/** Ответ передан исполнителю: начался вызов runtime попытки с этим ответом. */
|
|
577
|
+
readonly 'input.delivered': z.ZodObject<{
|
|
578
|
+
requestId: z.ZodString;
|
|
579
|
+
answerDigest: z.ZodString;
|
|
580
|
+
callId: z.ZodString;
|
|
581
|
+
}, z.core.$strict>;
|
|
582
|
+
/**
|
|
583
|
+
* Развилки, решённые исполнителем: только число, наибольшая действующая
|
|
584
|
+
* серьёзность, число сработавших минимумов и неблокирующих запросов,
|
|
585
|
+
* digest списка — текста допущений в журнале нет.
|
|
586
|
+
*/
|
|
587
|
+
readonly 'attempt.assumptions': z.ZodObject<{
|
|
588
|
+
count: z.ZodNumber;
|
|
589
|
+
maxSeverity: z.ZodNumber;
|
|
590
|
+
floors: z.ZodNumber;
|
|
591
|
+
followUps: z.ZodNumber;
|
|
592
|
+
digest: z.ZodString;
|
|
593
|
+
}, z.core.$strict>;
|
|
493
594
|
readonly 'delivery.pending': z.ZodObject<{
|
|
494
595
|
sink: z.ZodString;
|
|
495
596
|
key: z.ZodString;
|
|
@@ -553,7 +654,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
553
654
|
workId: z.ZodOptional<z.ZodString>;
|
|
554
655
|
runId: z.ZodOptional<z.ZodString>;
|
|
555
656
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
556
|
-
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">;
|
|
657
|
+
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" | "input.requested" | "input.answered" | "input.applied" | "input.closed" | "input.stale" | "input.delivered" | "attempt.assumptions" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
557
658
|
payload: z.ZodObject<{
|
|
558
659
|
digest: z.ZodString;
|
|
559
660
|
orders: z.ZodNumber;
|
|
@@ -564,8 +665,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
564
665
|
}, z.core.$strict>;
|
|
565
666
|
}, z.core.$strict> | z.ZodObject<{
|
|
566
667
|
kind: z.ZodEnum<{
|
|
567
|
-
plan: "plan";
|
|
568
668
|
contract: "contract";
|
|
669
|
+
plan: "plan";
|
|
569
670
|
}>;
|
|
570
671
|
subject: z.ZodString;
|
|
571
672
|
digest: z.ZodString;
|
|
@@ -575,8 +676,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
575
676
|
}, z.core.$strict> | z.ZodObject<{
|
|
576
677
|
digest: z.ZodString;
|
|
577
678
|
actor: z.ZodEnum<{
|
|
578
|
-
agent: "agent";
|
|
579
679
|
operator: "operator";
|
|
680
|
+
agent: "agent";
|
|
580
681
|
}>;
|
|
581
682
|
}, z.core.$strict> | z.ZodObject<{
|
|
582
683
|
orderDigest: z.ZodString;
|
|
@@ -600,10 +701,10 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
600
701
|
engineVersion: z.ZodString;
|
|
601
702
|
}, z.core.$strict> | z.ZodObject<{
|
|
602
703
|
phase: z.ZodEnum<{
|
|
603
|
-
ready: "ready";
|
|
604
|
-
failed: "failed";
|
|
605
704
|
cancelled: "cancelled";
|
|
606
705
|
draft: "draft";
|
|
706
|
+
ready: "ready";
|
|
707
|
+
failed: "failed";
|
|
607
708
|
running: "running";
|
|
608
709
|
verifying: "verifying";
|
|
609
710
|
reviewing: "reviewing";
|
|
@@ -672,8 +773,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
672
773
|
activity: z.ZodOptional<z.ZodObject<{
|
|
673
774
|
kind: z.ZodEnum<{
|
|
674
775
|
gate: "gate";
|
|
675
|
-
command: "command";
|
|
676
776
|
agent: "agent";
|
|
777
|
+
command: "command";
|
|
677
778
|
step: "step";
|
|
678
779
|
}>;
|
|
679
780
|
label: z.ZodString;
|
|
@@ -713,6 +814,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
713
814
|
merge: "merge";
|
|
714
815
|
budget: "budget";
|
|
715
816
|
"needs-lead": "needs-lead";
|
|
817
|
+
"needs-input": "needs-input";
|
|
716
818
|
}>;
|
|
717
819
|
message: z.ZodString;
|
|
718
820
|
blocked: z.ZodBoolean;
|
|
@@ -735,6 +837,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
735
837
|
merge: "merge";
|
|
736
838
|
budget: "budget";
|
|
737
839
|
"needs-lead": "needs-lead";
|
|
840
|
+
"needs-input": "needs-input";
|
|
738
841
|
}>;
|
|
739
842
|
cause: z.ZodEnum<{
|
|
740
843
|
preflight: "preflight";
|
|
@@ -767,8 +870,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
767
870
|
}, z.core.$strict> | z.ZodObject<{
|
|
768
871
|
by: z.ZodEnum<{
|
|
769
872
|
operator: "operator";
|
|
770
|
-
recovery: "recovery";
|
|
771
873
|
host: "host";
|
|
874
|
+
recovery: "recovery";
|
|
772
875
|
}>;
|
|
773
876
|
reset: z.ZodBoolean;
|
|
774
877
|
spent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -776,8 +879,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
776
879
|
}, z.core.$strict> | z.ZodObject<{
|
|
777
880
|
by: z.ZodEnum<{
|
|
778
881
|
operator: "operator";
|
|
779
|
-
graph: "graph";
|
|
780
882
|
host: "host";
|
|
883
|
+
graph: "graph";
|
|
781
884
|
}>;
|
|
782
885
|
hadAttempt: z.ZodBoolean;
|
|
783
886
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -785,8 +888,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
785
888
|
message: z.ZodString;
|
|
786
889
|
}, z.core.$strict> | z.ZodObject<{
|
|
787
890
|
reason: z.ZodEnum<{
|
|
788
|
-
runtime: "runtime";
|
|
789
891
|
operator: "operator";
|
|
892
|
+
runtime: "runtime";
|
|
790
893
|
shutdown: "shutdown";
|
|
791
894
|
"base-check": "base-check";
|
|
792
895
|
reconfigure: "reconfigure";
|
|
@@ -809,11 +912,12 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
809
912
|
merge: "merge";
|
|
810
913
|
budget: "budget";
|
|
811
914
|
"needs-lead": "needs-lead";
|
|
915
|
+
"needs-input": "needs-input";
|
|
812
916
|
}>>>;
|
|
813
917
|
}, z.core.$strict> | z.ZodObject<{
|
|
814
918
|
reason: z.ZodEnum<{
|
|
815
|
-
runtime: "runtime";
|
|
816
919
|
operator: "operator";
|
|
920
|
+
runtime: "runtime";
|
|
817
921
|
shutdown: "shutdown";
|
|
818
922
|
"base-check": "base-check";
|
|
819
923
|
reconfigure: "reconfigure";
|
|
@@ -823,8 +927,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
823
927
|
}, z.core.$strict> | z.ZodObject<{
|
|
824
928
|
by: z.ZodEnum<{
|
|
825
929
|
operator: "operator";
|
|
826
|
-
controller: "controller";
|
|
827
930
|
host: "host";
|
|
931
|
+
controller: "controller";
|
|
828
932
|
}>;
|
|
829
933
|
}, z.core.$strict> | z.ZodObject<{
|
|
830
934
|
owner: z.ZodString;
|
|
@@ -884,8 +988,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
884
988
|
activity: z.ZodOptional<z.ZodObject<{
|
|
885
989
|
kind: z.ZodEnum<{
|
|
886
990
|
gate: "gate";
|
|
887
|
-
command: "command";
|
|
888
991
|
agent: "agent";
|
|
992
|
+
command: "command";
|
|
889
993
|
step: "step";
|
|
890
994
|
}>;
|
|
891
995
|
label: z.ZodString;
|
|
@@ -929,6 +1033,76 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
929
1033
|
cleared: "cleared";
|
|
930
1034
|
}>;
|
|
931
1035
|
error: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1037
|
+
requestId: z.ZodString;
|
|
1038
|
+
kind: z.ZodEnum<{
|
|
1039
|
+
question: "question";
|
|
1040
|
+
"follow-up": "follow-up";
|
|
1041
|
+
}>;
|
|
1042
|
+
blocking: z.ZodBoolean;
|
|
1043
|
+
lifecycle: z.ZodEnum<{
|
|
1044
|
+
pending: "pending";
|
|
1045
|
+
cancelled: "cancelled";
|
|
1046
|
+
}>;
|
|
1047
|
+
effectiveSeverity: z.ZodNumber;
|
|
1048
|
+
floors: z.ZodArray<z.ZodEnum<{
|
|
1049
|
+
declared: "declared";
|
|
1050
|
+
"critical-path": "critical-path";
|
|
1051
|
+
}>>;
|
|
1052
|
+
criticalHits: z.ZodNumber;
|
|
1053
|
+
questionDigest: z.ZodString;
|
|
1054
|
+
draftDigest: z.ZodNullable<z.ZodString>;
|
|
1055
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1056
|
+
requestId: z.ZodString;
|
|
1057
|
+
revision: z.ZodNumber;
|
|
1058
|
+
answerDigest: z.ZodString;
|
|
1059
|
+
kind: z.ZodEnum<{
|
|
1060
|
+
clarification: "clarification";
|
|
1061
|
+
"requirement-change": "requirement-change";
|
|
1062
|
+
}>;
|
|
1063
|
+
actor: z.ZodEnum<{
|
|
1064
|
+
operator: "operator";
|
|
1065
|
+
lead: "lead";
|
|
1066
|
+
host: "host";
|
|
1067
|
+
}>;
|
|
1068
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1069
|
+
requestId: z.ZodString;
|
|
1070
|
+
answerDigest: z.ZodString;
|
|
1071
|
+
targetDigest: z.ZodString;
|
|
1072
|
+
contextDigest: z.ZodNullable<z.ZodString>;
|
|
1073
|
+
retried: z.ZodBoolean;
|
|
1074
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1075
|
+
requestId: z.ZodString;
|
|
1076
|
+
lifecycle: z.ZodEnum<{
|
|
1077
|
+
cancelled: "cancelled";
|
|
1078
|
+
superseded: "superseded";
|
|
1079
|
+
}>;
|
|
1080
|
+
by: z.ZodEnum<{
|
|
1081
|
+
operator: "operator";
|
|
1082
|
+
lead: "lead";
|
|
1083
|
+
host: "host";
|
|
1084
|
+
controller: "controller";
|
|
1085
|
+
}>;
|
|
1086
|
+
successor: z.ZodOptional<z.ZodString>;
|
|
1087
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1088
|
+
requestId: z.ZodString;
|
|
1089
|
+
targetDigest: z.ZodString;
|
|
1090
|
+
reason: z.ZodEnum<{
|
|
1091
|
+
context: "context";
|
|
1092
|
+
graph: "graph";
|
|
1093
|
+
order: "order";
|
|
1094
|
+
policy: "policy";
|
|
1095
|
+
}>;
|
|
1096
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1097
|
+
requestId: z.ZodString;
|
|
1098
|
+
answerDigest: z.ZodString;
|
|
1099
|
+
callId: z.ZodString;
|
|
1100
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1101
|
+
count: z.ZodNumber;
|
|
1102
|
+
maxSeverity: z.ZodNumber;
|
|
1103
|
+
floors: z.ZodNumber;
|
|
1104
|
+
followUps: z.ZodNumber;
|
|
1105
|
+
digest: z.ZodString;
|
|
932
1106
|
}, z.core.$strict> | z.ZodObject<{
|
|
933
1107
|
sink: z.ZodString;
|
|
934
1108
|
key: z.ZodString;
|
|
@@ -968,7 +1142,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
968
1142
|
workId: z.ZodOptional<z.ZodString>;
|
|
969
1143
|
runId: z.ZodOptional<z.ZodString>;
|
|
970
1144
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
971
|
-
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">;
|
|
1145
|
+
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" | "input.requested" | "input.answered" | "input.applied" | "input.closed" | "input.stale" | "input.delivered" | "attempt.assumptions" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
972
1146
|
payload: z.ZodObject<{
|
|
973
1147
|
digest: z.ZodString;
|
|
974
1148
|
orders: z.ZodNumber;
|
|
@@ -979,8 +1153,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
979
1153
|
}, z.core.$strict>;
|
|
980
1154
|
}, z.core.$strict> | z.ZodObject<{
|
|
981
1155
|
kind: z.ZodEnum<{
|
|
982
|
-
plan: "plan";
|
|
983
1156
|
contract: "contract";
|
|
1157
|
+
plan: "plan";
|
|
984
1158
|
}>;
|
|
985
1159
|
subject: z.ZodString;
|
|
986
1160
|
digest: z.ZodString;
|
|
@@ -990,8 +1164,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
990
1164
|
}, z.core.$strict> | z.ZodObject<{
|
|
991
1165
|
digest: z.ZodString;
|
|
992
1166
|
actor: z.ZodEnum<{
|
|
993
|
-
agent: "agent";
|
|
994
1167
|
operator: "operator";
|
|
1168
|
+
agent: "agent";
|
|
995
1169
|
}>;
|
|
996
1170
|
}, z.core.$strict> | z.ZodObject<{
|
|
997
1171
|
orderDigest: z.ZodString;
|
|
@@ -1015,10 +1189,10 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1015
1189
|
engineVersion: z.ZodString;
|
|
1016
1190
|
}, z.core.$strict> | z.ZodObject<{
|
|
1017
1191
|
phase: z.ZodEnum<{
|
|
1018
|
-
ready: "ready";
|
|
1019
|
-
failed: "failed";
|
|
1020
1192
|
cancelled: "cancelled";
|
|
1021
1193
|
draft: "draft";
|
|
1194
|
+
ready: "ready";
|
|
1195
|
+
failed: "failed";
|
|
1022
1196
|
running: "running";
|
|
1023
1197
|
verifying: "verifying";
|
|
1024
1198
|
reviewing: "reviewing";
|
|
@@ -1087,8 +1261,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1087
1261
|
activity: z.ZodOptional<z.ZodObject<{
|
|
1088
1262
|
kind: z.ZodEnum<{
|
|
1089
1263
|
gate: "gate";
|
|
1090
|
-
command: "command";
|
|
1091
1264
|
agent: "agent";
|
|
1265
|
+
command: "command";
|
|
1092
1266
|
step: "step";
|
|
1093
1267
|
}>;
|
|
1094
1268
|
label: z.ZodString;
|
|
@@ -1128,6 +1302,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1128
1302
|
merge: "merge";
|
|
1129
1303
|
budget: "budget";
|
|
1130
1304
|
"needs-lead": "needs-lead";
|
|
1305
|
+
"needs-input": "needs-input";
|
|
1131
1306
|
}>;
|
|
1132
1307
|
message: z.ZodString;
|
|
1133
1308
|
blocked: z.ZodBoolean;
|
|
@@ -1150,6 +1325,7 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1150
1325
|
merge: "merge";
|
|
1151
1326
|
budget: "budget";
|
|
1152
1327
|
"needs-lead": "needs-lead";
|
|
1328
|
+
"needs-input": "needs-input";
|
|
1153
1329
|
}>;
|
|
1154
1330
|
cause: z.ZodEnum<{
|
|
1155
1331
|
preflight: "preflight";
|
|
@@ -1182,8 +1358,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1182
1358
|
}, z.core.$strict> | z.ZodObject<{
|
|
1183
1359
|
by: z.ZodEnum<{
|
|
1184
1360
|
operator: "operator";
|
|
1185
|
-
recovery: "recovery";
|
|
1186
1361
|
host: "host";
|
|
1362
|
+
recovery: "recovery";
|
|
1187
1363
|
}>;
|
|
1188
1364
|
reset: z.ZodBoolean;
|
|
1189
1365
|
spent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1191,8 +1367,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1191
1367
|
}, z.core.$strict> | z.ZodObject<{
|
|
1192
1368
|
by: z.ZodEnum<{
|
|
1193
1369
|
operator: "operator";
|
|
1194
|
-
graph: "graph";
|
|
1195
1370
|
host: "host";
|
|
1371
|
+
graph: "graph";
|
|
1196
1372
|
}>;
|
|
1197
1373
|
hadAttempt: z.ZodBoolean;
|
|
1198
1374
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1200,8 +1376,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1200
1376
|
message: z.ZodString;
|
|
1201
1377
|
}, z.core.$strict> | z.ZodObject<{
|
|
1202
1378
|
reason: z.ZodEnum<{
|
|
1203
|
-
runtime: "runtime";
|
|
1204
1379
|
operator: "operator";
|
|
1380
|
+
runtime: "runtime";
|
|
1205
1381
|
shutdown: "shutdown";
|
|
1206
1382
|
"base-check": "base-check";
|
|
1207
1383
|
reconfigure: "reconfigure";
|
|
@@ -1224,11 +1400,12 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1224
1400
|
merge: "merge";
|
|
1225
1401
|
budget: "budget";
|
|
1226
1402
|
"needs-lead": "needs-lead";
|
|
1403
|
+
"needs-input": "needs-input";
|
|
1227
1404
|
}>>>;
|
|
1228
1405
|
}, z.core.$strict> | z.ZodObject<{
|
|
1229
1406
|
reason: z.ZodEnum<{
|
|
1230
|
-
runtime: "runtime";
|
|
1231
1407
|
operator: "operator";
|
|
1408
|
+
runtime: "runtime";
|
|
1232
1409
|
shutdown: "shutdown";
|
|
1233
1410
|
"base-check": "base-check";
|
|
1234
1411
|
reconfigure: "reconfigure";
|
|
@@ -1238,8 +1415,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1238
1415
|
}, z.core.$strict> | z.ZodObject<{
|
|
1239
1416
|
by: z.ZodEnum<{
|
|
1240
1417
|
operator: "operator";
|
|
1241
|
-
controller: "controller";
|
|
1242
1418
|
host: "host";
|
|
1419
|
+
controller: "controller";
|
|
1243
1420
|
}>;
|
|
1244
1421
|
}, z.core.$strict> | z.ZodObject<{
|
|
1245
1422
|
owner: z.ZodString;
|
|
@@ -1299,8 +1476,8 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1299
1476
|
activity: z.ZodOptional<z.ZodObject<{
|
|
1300
1477
|
kind: z.ZodEnum<{
|
|
1301
1478
|
gate: "gate";
|
|
1302
|
-
command: "command";
|
|
1303
1479
|
agent: "agent";
|
|
1480
|
+
command: "command";
|
|
1304
1481
|
step: "step";
|
|
1305
1482
|
}>;
|
|
1306
1483
|
label: z.ZodString;
|
|
@@ -1344,6 +1521,76 @@ export declare const runEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1344
1521
|
cleared: "cleared";
|
|
1345
1522
|
}>;
|
|
1346
1523
|
error: z.ZodOptional<z.ZodString>;
|
|
1524
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1525
|
+
requestId: z.ZodString;
|
|
1526
|
+
kind: z.ZodEnum<{
|
|
1527
|
+
question: "question";
|
|
1528
|
+
"follow-up": "follow-up";
|
|
1529
|
+
}>;
|
|
1530
|
+
blocking: z.ZodBoolean;
|
|
1531
|
+
lifecycle: z.ZodEnum<{
|
|
1532
|
+
pending: "pending";
|
|
1533
|
+
cancelled: "cancelled";
|
|
1534
|
+
}>;
|
|
1535
|
+
effectiveSeverity: z.ZodNumber;
|
|
1536
|
+
floors: z.ZodArray<z.ZodEnum<{
|
|
1537
|
+
declared: "declared";
|
|
1538
|
+
"critical-path": "critical-path";
|
|
1539
|
+
}>>;
|
|
1540
|
+
criticalHits: z.ZodNumber;
|
|
1541
|
+
questionDigest: z.ZodString;
|
|
1542
|
+
draftDigest: z.ZodNullable<z.ZodString>;
|
|
1543
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1544
|
+
requestId: z.ZodString;
|
|
1545
|
+
revision: z.ZodNumber;
|
|
1546
|
+
answerDigest: z.ZodString;
|
|
1547
|
+
kind: z.ZodEnum<{
|
|
1548
|
+
clarification: "clarification";
|
|
1549
|
+
"requirement-change": "requirement-change";
|
|
1550
|
+
}>;
|
|
1551
|
+
actor: z.ZodEnum<{
|
|
1552
|
+
operator: "operator";
|
|
1553
|
+
lead: "lead";
|
|
1554
|
+
host: "host";
|
|
1555
|
+
}>;
|
|
1556
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1557
|
+
requestId: z.ZodString;
|
|
1558
|
+
answerDigest: z.ZodString;
|
|
1559
|
+
targetDigest: z.ZodString;
|
|
1560
|
+
contextDigest: z.ZodNullable<z.ZodString>;
|
|
1561
|
+
retried: z.ZodBoolean;
|
|
1562
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1563
|
+
requestId: z.ZodString;
|
|
1564
|
+
lifecycle: z.ZodEnum<{
|
|
1565
|
+
cancelled: "cancelled";
|
|
1566
|
+
superseded: "superseded";
|
|
1567
|
+
}>;
|
|
1568
|
+
by: z.ZodEnum<{
|
|
1569
|
+
operator: "operator";
|
|
1570
|
+
lead: "lead";
|
|
1571
|
+
host: "host";
|
|
1572
|
+
controller: "controller";
|
|
1573
|
+
}>;
|
|
1574
|
+
successor: z.ZodOptional<z.ZodString>;
|
|
1575
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1576
|
+
requestId: z.ZodString;
|
|
1577
|
+
targetDigest: z.ZodString;
|
|
1578
|
+
reason: z.ZodEnum<{
|
|
1579
|
+
context: "context";
|
|
1580
|
+
graph: "graph";
|
|
1581
|
+
order: "order";
|
|
1582
|
+
policy: "policy";
|
|
1583
|
+
}>;
|
|
1584
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1585
|
+
requestId: z.ZodString;
|
|
1586
|
+
answerDigest: z.ZodString;
|
|
1587
|
+
callId: z.ZodString;
|
|
1588
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
1589
|
+
count: z.ZodNumber;
|
|
1590
|
+
maxSeverity: z.ZodNumber;
|
|
1591
|
+
floors: z.ZodNumber;
|
|
1592
|
+
followUps: z.ZodNumber;
|
|
1593
|
+
digest: z.ZodString;
|
|
1347
1594
|
}, z.core.$strict> | z.ZodObject<{
|
|
1348
1595
|
sink: z.ZodString;
|
|
1349
1596
|
key: z.ZodString;
|
|
@@ -1413,7 +1660,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1413
1660
|
workId: z.ZodOptional<z.ZodString>;
|
|
1414
1661
|
runId: z.ZodOptional<z.ZodString>;
|
|
1415
1662
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
1416
|
-
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">;
|
|
1663
|
+
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" | "input.requested" | "input.answered" | "input.applied" | "input.closed" | "input.stale" | "input.delivered" | "attempt.assumptions" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1417
1664
|
payload: z.ZodObject<{
|
|
1418
1665
|
digest: z.ZodString;
|
|
1419
1666
|
orders: z.ZodNumber;
|
|
@@ -1424,8 +1671,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1424
1671
|
}, z.core.$strict>;
|
|
1425
1672
|
}, z.core.$strict> | z.ZodObject<{
|
|
1426
1673
|
kind: z.ZodEnum<{
|
|
1427
|
-
plan: "plan";
|
|
1428
1674
|
contract: "contract";
|
|
1675
|
+
plan: "plan";
|
|
1429
1676
|
}>;
|
|
1430
1677
|
subject: z.ZodString;
|
|
1431
1678
|
digest: z.ZodString;
|
|
@@ -1435,8 +1682,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1435
1682
|
}, z.core.$strict> | z.ZodObject<{
|
|
1436
1683
|
digest: z.ZodString;
|
|
1437
1684
|
actor: z.ZodEnum<{
|
|
1438
|
-
agent: "agent";
|
|
1439
1685
|
operator: "operator";
|
|
1686
|
+
agent: "agent";
|
|
1440
1687
|
}>;
|
|
1441
1688
|
}, z.core.$strict> | z.ZodObject<{
|
|
1442
1689
|
orderDigest: z.ZodString;
|
|
@@ -1460,10 +1707,10 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1460
1707
|
engineVersion: z.ZodString;
|
|
1461
1708
|
}, z.core.$strict> | z.ZodObject<{
|
|
1462
1709
|
phase: z.ZodEnum<{
|
|
1463
|
-
ready: "ready";
|
|
1464
|
-
failed: "failed";
|
|
1465
1710
|
cancelled: "cancelled";
|
|
1466
1711
|
draft: "draft";
|
|
1712
|
+
ready: "ready";
|
|
1713
|
+
failed: "failed";
|
|
1467
1714
|
running: "running";
|
|
1468
1715
|
verifying: "verifying";
|
|
1469
1716
|
reviewing: "reviewing";
|
|
@@ -1532,8 +1779,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1532
1779
|
activity: z.ZodOptional<z.ZodObject<{
|
|
1533
1780
|
kind: z.ZodEnum<{
|
|
1534
1781
|
gate: "gate";
|
|
1535
|
-
command: "command";
|
|
1536
1782
|
agent: "agent";
|
|
1783
|
+
command: "command";
|
|
1537
1784
|
step: "step";
|
|
1538
1785
|
}>;
|
|
1539
1786
|
label: z.ZodString;
|
|
@@ -1573,6 +1820,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1573
1820
|
merge: "merge";
|
|
1574
1821
|
budget: "budget";
|
|
1575
1822
|
"needs-lead": "needs-lead";
|
|
1823
|
+
"needs-input": "needs-input";
|
|
1576
1824
|
}>;
|
|
1577
1825
|
message: z.ZodString;
|
|
1578
1826
|
blocked: z.ZodBoolean;
|
|
@@ -1595,6 +1843,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1595
1843
|
merge: "merge";
|
|
1596
1844
|
budget: "budget";
|
|
1597
1845
|
"needs-lead": "needs-lead";
|
|
1846
|
+
"needs-input": "needs-input";
|
|
1598
1847
|
}>;
|
|
1599
1848
|
cause: z.ZodEnum<{
|
|
1600
1849
|
preflight: "preflight";
|
|
@@ -1627,8 +1876,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1627
1876
|
}, z.core.$strict> | z.ZodObject<{
|
|
1628
1877
|
by: z.ZodEnum<{
|
|
1629
1878
|
operator: "operator";
|
|
1630
|
-
recovery: "recovery";
|
|
1631
1879
|
host: "host";
|
|
1880
|
+
recovery: "recovery";
|
|
1632
1881
|
}>;
|
|
1633
1882
|
reset: z.ZodBoolean;
|
|
1634
1883
|
spent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1636,8 +1885,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1636
1885
|
}, z.core.$strict> | z.ZodObject<{
|
|
1637
1886
|
by: z.ZodEnum<{
|
|
1638
1887
|
operator: "operator";
|
|
1639
|
-
graph: "graph";
|
|
1640
1888
|
host: "host";
|
|
1889
|
+
graph: "graph";
|
|
1641
1890
|
}>;
|
|
1642
1891
|
hadAttempt: z.ZodBoolean;
|
|
1643
1892
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -1645,8 +1894,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1645
1894
|
message: z.ZodString;
|
|
1646
1895
|
}, z.core.$strict> | z.ZodObject<{
|
|
1647
1896
|
reason: z.ZodEnum<{
|
|
1648
|
-
runtime: "runtime";
|
|
1649
1897
|
operator: "operator";
|
|
1898
|
+
runtime: "runtime";
|
|
1650
1899
|
shutdown: "shutdown";
|
|
1651
1900
|
"base-check": "base-check";
|
|
1652
1901
|
reconfigure: "reconfigure";
|
|
@@ -1669,11 +1918,12 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1669
1918
|
merge: "merge";
|
|
1670
1919
|
budget: "budget";
|
|
1671
1920
|
"needs-lead": "needs-lead";
|
|
1921
|
+
"needs-input": "needs-input";
|
|
1672
1922
|
}>>>;
|
|
1673
1923
|
}, z.core.$strict> | z.ZodObject<{
|
|
1674
1924
|
reason: z.ZodEnum<{
|
|
1675
|
-
runtime: "runtime";
|
|
1676
1925
|
operator: "operator";
|
|
1926
|
+
runtime: "runtime";
|
|
1677
1927
|
shutdown: "shutdown";
|
|
1678
1928
|
"base-check": "base-check";
|
|
1679
1929
|
reconfigure: "reconfigure";
|
|
@@ -1683,8 +1933,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1683
1933
|
}, z.core.$strict> | z.ZodObject<{
|
|
1684
1934
|
by: z.ZodEnum<{
|
|
1685
1935
|
operator: "operator";
|
|
1686
|
-
controller: "controller";
|
|
1687
1936
|
host: "host";
|
|
1937
|
+
controller: "controller";
|
|
1688
1938
|
}>;
|
|
1689
1939
|
}, z.core.$strict> | z.ZodObject<{
|
|
1690
1940
|
owner: z.ZodString;
|
|
@@ -1744,8 +1994,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1744
1994
|
activity: z.ZodOptional<z.ZodObject<{
|
|
1745
1995
|
kind: z.ZodEnum<{
|
|
1746
1996
|
gate: "gate";
|
|
1747
|
-
command: "command";
|
|
1748
1997
|
agent: "agent";
|
|
1998
|
+
command: "command";
|
|
1749
1999
|
step: "step";
|
|
1750
2000
|
}>;
|
|
1751
2001
|
label: z.ZodString;
|
|
@@ -1789,6 +2039,76 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1789
2039
|
cleared: "cleared";
|
|
1790
2040
|
}>;
|
|
1791
2041
|
error: z.ZodOptional<z.ZodString>;
|
|
2042
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2043
|
+
requestId: z.ZodString;
|
|
2044
|
+
kind: z.ZodEnum<{
|
|
2045
|
+
question: "question";
|
|
2046
|
+
"follow-up": "follow-up";
|
|
2047
|
+
}>;
|
|
2048
|
+
blocking: z.ZodBoolean;
|
|
2049
|
+
lifecycle: z.ZodEnum<{
|
|
2050
|
+
pending: "pending";
|
|
2051
|
+
cancelled: "cancelled";
|
|
2052
|
+
}>;
|
|
2053
|
+
effectiveSeverity: z.ZodNumber;
|
|
2054
|
+
floors: z.ZodArray<z.ZodEnum<{
|
|
2055
|
+
declared: "declared";
|
|
2056
|
+
"critical-path": "critical-path";
|
|
2057
|
+
}>>;
|
|
2058
|
+
criticalHits: z.ZodNumber;
|
|
2059
|
+
questionDigest: z.ZodString;
|
|
2060
|
+
draftDigest: z.ZodNullable<z.ZodString>;
|
|
2061
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2062
|
+
requestId: z.ZodString;
|
|
2063
|
+
revision: z.ZodNumber;
|
|
2064
|
+
answerDigest: z.ZodString;
|
|
2065
|
+
kind: z.ZodEnum<{
|
|
2066
|
+
clarification: "clarification";
|
|
2067
|
+
"requirement-change": "requirement-change";
|
|
2068
|
+
}>;
|
|
2069
|
+
actor: z.ZodEnum<{
|
|
2070
|
+
operator: "operator";
|
|
2071
|
+
lead: "lead";
|
|
2072
|
+
host: "host";
|
|
2073
|
+
}>;
|
|
2074
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2075
|
+
requestId: z.ZodString;
|
|
2076
|
+
answerDigest: z.ZodString;
|
|
2077
|
+
targetDigest: z.ZodString;
|
|
2078
|
+
contextDigest: z.ZodNullable<z.ZodString>;
|
|
2079
|
+
retried: z.ZodBoolean;
|
|
2080
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2081
|
+
requestId: z.ZodString;
|
|
2082
|
+
lifecycle: z.ZodEnum<{
|
|
2083
|
+
cancelled: "cancelled";
|
|
2084
|
+
superseded: "superseded";
|
|
2085
|
+
}>;
|
|
2086
|
+
by: z.ZodEnum<{
|
|
2087
|
+
operator: "operator";
|
|
2088
|
+
lead: "lead";
|
|
2089
|
+
host: "host";
|
|
2090
|
+
controller: "controller";
|
|
2091
|
+
}>;
|
|
2092
|
+
successor: z.ZodOptional<z.ZodString>;
|
|
2093
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2094
|
+
requestId: z.ZodString;
|
|
2095
|
+
targetDigest: z.ZodString;
|
|
2096
|
+
reason: z.ZodEnum<{
|
|
2097
|
+
context: "context";
|
|
2098
|
+
graph: "graph";
|
|
2099
|
+
order: "order";
|
|
2100
|
+
policy: "policy";
|
|
2101
|
+
}>;
|
|
2102
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2103
|
+
requestId: z.ZodString;
|
|
2104
|
+
answerDigest: z.ZodString;
|
|
2105
|
+
callId: z.ZodString;
|
|
2106
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2107
|
+
count: z.ZodNumber;
|
|
2108
|
+
maxSeverity: z.ZodNumber;
|
|
2109
|
+
floors: z.ZodNumber;
|
|
2110
|
+
followUps: z.ZodNumber;
|
|
2111
|
+
digest: z.ZodString;
|
|
1792
2112
|
}, z.core.$strict> | z.ZodObject<{
|
|
1793
2113
|
sink: z.ZodString;
|
|
1794
2114
|
key: z.ZodString;
|
|
@@ -1828,7 +2148,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1828
2148
|
workId: z.ZodOptional<z.ZodString>;
|
|
1829
2149
|
runId: z.ZodOptional<z.ZodString>;
|
|
1830
2150
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
1831
|
-
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">;
|
|
2151
|
+
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" | "input.requested" | "input.answered" | "input.applied" | "input.closed" | "input.stale" | "input.delivered" | "attempt.assumptions" | "delivery.pending" | "delivery.delivered" | "delivery.failed" | "delivery.conflict" | "delivery.uncertain">;
|
|
1832
2152
|
payload: z.ZodObject<{
|
|
1833
2153
|
digest: z.ZodString;
|
|
1834
2154
|
orders: z.ZodNumber;
|
|
@@ -1839,8 +2159,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1839
2159
|
}, z.core.$strict>;
|
|
1840
2160
|
}, z.core.$strict> | z.ZodObject<{
|
|
1841
2161
|
kind: z.ZodEnum<{
|
|
1842
|
-
plan: "plan";
|
|
1843
2162
|
contract: "contract";
|
|
2163
|
+
plan: "plan";
|
|
1844
2164
|
}>;
|
|
1845
2165
|
subject: z.ZodString;
|
|
1846
2166
|
digest: z.ZodString;
|
|
@@ -1850,8 +2170,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1850
2170
|
}, z.core.$strict> | z.ZodObject<{
|
|
1851
2171
|
digest: z.ZodString;
|
|
1852
2172
|
actor: z.ZodEnum<{
|
|
1853
|
-
agent: "agent";
|
|
1854
2173
|
operator: "operator";
|
|
2174
|
+
agent: "agent";
|
|
1855
2175
|
}>;
|
|
1856
2176
|
}, z.core.$strict> | z.ZodObject<{
|
|
1857
2177
|
orderDigest: z.ZodString;
|
|
@@ -1875,10 +2195,10 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1875
2195
|
engineVersion: z.ZodString;
|
|
1876
2196
|
}, z.core.$strict> | z.ZodObject<{
|
|
1877
2197
|
phase: z.ZodEnum<{
|
|
1878
|
-
ready: "ready";
|
|
1879
|
-
failed: "failed";
|
|
1880
2198
|
cancelled: "cancelled";
|
|
1881
2199
|
draft: "draft";
|
|
2200
|
+
ready: "ready";
|
|
2201
|
+
failed: "failed";
|
|
1882
2202
|
running: "running";
|
|
1883
2203
|
verifying: "verifying";
|
|
1884
2204
|
reviewing: "reviewing";
|
|
@@ -1947,8 +2267,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1947
2267
|
activity: z.ZodOptional<z.ZodObject<{
|
|
1948
2268
|
kind: z.ZodEnum<{
|
|
1949
2269
|
gate: "gate";
|
|
1950
|
-
command: "command";
|
|
1951
2270
|
agent: "agent";
|
|
2271
|
+
command: "command";
|
|
1952
2272
|
step: "step";
|
|
1953
2273
|
}>;
|
|
1954
2274
|
label: z.ZodString;
|
|
@@ -1988,6 +2308,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1988
2308
|
merge: "merge";
|
|
1989
2309
|
budget: "budget";
|
|
1990
2310
|
"needs-lead": "needs-lead";
|
|
2311
|
+
"needs-input": "needs-input";
|
|
1991
2312
|
}>;
|
|
1992
2313
|
message: z.ZodString;
|
|
1993
2314
|
blocked: z.ZodBoolean;
|
|
@@ -2010,6 +2331,7 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2010
2331
|
merge: "merge";
|
|
2011
2332
|
budget: "budget";
|
|
2012
2333
|
"needs-lead": "needs-lead";
|
|
2334
|
+
"needs-input": "needs-input";
|
|
2013
2335
|
}>;
|
|
2014
2336
|
cause: z.ZodEnum<{
|
|
2015
2337
|
preflight: "preflight";
|
|
@@ -2042,8 +2364,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2042
2364
|
}, z.core.$strict> | z.ZodObject<{
|
|
2043
2365
|
by: z.ZodEnum<{
|
|
2044
2366
|
operator: "operator";
|
|
2045
|
-
recovery: "recovery";
|
|
2046
2367
|
host: "host";
|
|
2368
|
+
recovery: "recovery";
|
|
2047
2369
|
}>;
|
|
2048
2370
|
reset: z.ZodBoolean;
|
|
2049
2371
|
spent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2051,8 +2373,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2051
2373
|
}, z.core.$strict> | z.ZodObject<{
|
|
2052
2374
|
by: z.ZodEnum<{
|
|
2053
2375
|
operator: "operator";
|
|
2054
|
-
graph: "graph";
|
|
2055
2376
|
host: "host";
|
|
2377
|
+
graph: "graph";
|
|
2056
2378
|
}>;
|
|
2057
2379
|
hadAttempt: z.ZodBoolean;
|
|
2058
2380
|
}, z.core.$strict> | z.ZodObject<{
|
|
@@ -2060,8 +2382,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2060
2382
|
message: z.ZodString;
|
|
2061
2383
|
}, z.core.$strict> | z.ZodObject<{
|
|
2062
2384
|
reason: z.ZodEnum<{
|
|
2063
|
-
runtime: "runtime";
|
|
2064
2385
|
operator: "operator";
|
|
2386
|
+
runtime: "runtime";
|
|
2065
2387
|
shutdown: "shutdown";
|
|
2066
2388
|
"base-check": "base-check";
|
|
2067
2389
|
reconfigure: "reconfigure";
|
|
@@ -2084,11 +2406,12 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2084
2406
|
merge: "merge";
|
|
2085
2407
|
budget: "budget";
|
|
2086
2408
|
"needs-lead": "needs-lead";
|
|
2409
|
+
"needs-input": "needs-input";
|
|
2087
2410
|
}>>>;
|
|
2088
2411
|
}, z.core.$strict> | z.ZodObject<{
|
|
2089
2412
|
reason: z.ZodEnum<{
|
|
2090
|
-
runtime: "runtime";
|
|
2091
2413
|
operator: "operator";
|
|
2414
|
+
runtime: "runtime";
|
|
2092
2415
|
shutdown: "shutdown";
|
|
2093
2416
|
"base-check": "base-check";
|
|
2094
2417
|
reconfigure: "reconfigure";
|
|
@@ -2098,8 +2421,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2098
2421
|
}, z.core.$strict> | z.ZodObject<{
|
|
2099
2422
|
by: z.ZodEnum<{
|
|
2100
2423
|
operator: "operator";
|
|
2101
|
-
controller: "controller";
|
|
2102
2424
|
host: "host";
|
|
2425
|
+
controller: "controller";
|
|
2103
2426
|
}>;
|
|
2104
2427
|
}, z.core.$strict> | z.ZodObject<{
|
|
2105
2428
|
owner: z.ZodString;
|
|
@@ -2159,8 +2482,8 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2159
2482
|
activity: z.ZodOptional<z.ZodObject<{
|
|
2160
2483
|
kind: z.ZodEnum<{
|
|
2161
2484
|
gate: "gate";
|
|
2162
|
-
command: "command";
|
|
2163
2485
|
agent: "agent";
|
|
2486
|
+
command: "command";
|
|
2164
2487
|
step: "step";
|
|
2165
2488
|
}>;
|
|
2166
2489
|
label: z.ZodString;
|
|
@@ -2204,6 +2527,76 @@ export declare const readRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2204
2527
|
cleared: "cleared";
|
|
2205
2528
|
}>;
|
|
2206
2529
|
error: z.ZodOptional<z.ZodString>;
|
|
2530
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2531
|
+
requestId: z.ZodString;
|
|
2532
|
+
kind: z.ZodEnum<{
|
|
2533
|
+
question: "question";
|
|
2534
|
+
"follow-up": "follow-up";
|
|
2535
|
+
}>;
|
|
2536
|
+
blocking: z.ZodBoolean;
|
|
2537
|
+
lifecycle: z.ZodEnum<{
|
|
2538
|
+
pending: "pending";
|
|
2539
|
+
cancelled: "cancelled";
|
|
2540
|
+
}>;
|
|
2541
|
+
effectiveSeverity: z.ZodNumber;
|
|
2542
|
+
floors: z.ZodArray<z.ZodEnum<{
|
|
2543
|
+
declared: "declared";
|
|
2544
|
+
"critical-path": "critical-path";
|
|
2545
|
+
}>>;
|
|
2546
|
+
criticalHits: z.ZodNumber;
|
|
2547
|
+
questionDigest: z.ZodString;
|
|
2548
|
+
draftDigest: z.ZodNullable<z.ZodString>;
|
|
2549
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2550
|
+
requestId: z.ZodString;
|
|
2551
|
+
revision: z.ZodNumber;
|
|
2552
|
+
answerDigest: z.ZodString;
|
|
2553
|
+
kind: z.ZodEnum<{
|
|
2554
|
+
clarification: "clarification";
|
|
2555
|
+
"requirement-change": "requirement-change";
|
|
2556
|
+
}>;
|
|
2557
|
+
actor: z.ZodEnum<{
|
|
2558
|
+
operator: "operator";
|
|
2559
|
+
lead: "lead";
|
|
2560
|
+
host: "host";
|
|
2561
|
+
}>;
|
|
2562
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2563
|
+
requestId: z.ZodString;
|
|
2564
|
+
answerDigest: z.ZodString;
|
|
2565
|
+
targetDigest: z.ZodString;
|
|
2566
|
+
contextDigest: z.ZodNullable<z.ZodString>;
|
|
2567
|
+
retried: z.ZodBoolean;
|
|
2568
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2569
|
+
requestId: z.ZodString;
|
|
2570
|
+
lifecycle: z.ZodEnum<{
|
|
2571
|
+
cancelled: "cancelled";
|
|
2572
|
+
superseded: "superseded";
|
|
2573
|
+
}>;
|
|
2574
|
+
by: z.ZodEnum<{
|
|
2575
|
+
operator: "operator";
|
|
2576
|
+
lead: "lead";
|
|
2577
|
+
host: "host";
|
|
2578
|
+
controller: "controller";
|
|
2579
|
+
}>;
|
|
2580
|
+
successor: z.ZodOptional<z.ZodString>;
|
|
2581
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2582
|
+
requestId: z.ZodString;
|
|
2583
|
+
targetDigest: z.ZodString;
|
|
2584
|
+
reason: z.ZodEnum<{
|
|
2585
|
+
context: "context";
|
|
2586
|
+
graph: "graph";
|
|
2587
|
+
order: "order";
|
|
2588
|
+
policy: "policy";
|
|
2589
|
+
}>;
|
|
2590
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2591
|
+
requestId: z.ZodString;
|
|
2592
|
+
answerDigest: z.ZodString;
|
|
2593
|
+
callId: z.ZodString;
|
|
2594
|
+
}, z.core.$strict> | z.ZodObject<{
|
|
2595
|
+
count: z.ZodNumber;
|
|
2596
|
+
maxSeverity: z.ZodNumber;
|
|
2597
|
+
floors: z.ZodNumber;
|
|
2598
|
+
followUps: z.ZodNumber;
|
|
2599
|
+
digest: z.ZodString;
|
|
2207
2600
|
}, z.core.$strict> | z.ZodObject<{
|
|
2208
2601
|
sink: z.ZodString;
|
|
2209
2602
|
key: z.ZodString;
|
|
@@ -2264,6 +2657,6 @@ export type RunEventDraft = {
|
|
|
2264
2657
|
* остановки очереди), поэтому harness использует те же имена, а не новые.
|
|
2265
2658
|
* `heartbeat` продлевает сроки и события не создаёт.
|
|
2266
2659
|
*/
|
|
2267
|
-
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"];
|
|
2660
|
+
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", "input.answered", "input.applied", "input.closed", "input.delivered"];
|
|
2268
2661
|
export type TransactionKind = (typeof transactionKinds)[number];
|
|
2269
2662
|
export {};
|