harness-engineering-agent 0.3.31 → 0.3.33
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 +9 -7
- package/dist/agent/harness-role-capability-directory-data.d.ts.map +1 -1
- package/dist/agent/harness-role-capability-directory-data.js +1 -2
- package/dist/agent/harness-role-capability-directory-data.js.map +1 -1
- package/dist/controller/agent-output.d.ts +11 -0
- package/dist/controller/agent-output.d.ts.map +1 -1
- package/dist/controller/agent-output.js +91 -1
- package/dist/controller/agent-output.js.map +1 -1
- package/dist/controller/failure-factory.d.ts.map +1 -1
- package/dist/controller/failure-factory.js +27 -0
- package/dist/controller/failure-factory.js.map +1 -1
- package/dist/controller/index.d.ts +2 -0
- package/dist/controller/index.d.ts.map +1 -1
- package/dist/controller/index.js +1 -0
- package/dist/controller/index.js.map +1 -1
- package/dist/controller/parallel-task-delta.d.ts +24 -0
- package/dist/controller/parallel-task-delta.d.ts.map +1 -0
- package/dist/controller/parallel-task-delta.js +34 -0
- package/dist/controller/parallel-task-delta.js.map +1 -0
- package/dist/controller/repair-loop.d.ts.map +1 -1
- package/dist/controller/repair-loop.js +3 -4
- package/dist/controller/repair-loop.js.map +1 -1
- package/dist/controller/route-resolver.js +3 -2
- package/dist/controller/route-resolver.js.map +1 -1
- package/dist/controller/run-controller.d.ts.map +1 -1
- package/dist/controller/run-controller.js +14 -26
- package/dist/controller/run-controller.js.map +1 -1
- package/dist/controller/run-error-finalizer.d.ts +13 -0
- package/dist/controller/run-error-finalizer.d.ts.map +1 -1
- package/dist/controller/run-error-finalizer.js +74 -9
- package/dist/controller/run-error-finalizer.js.map +1 -1
- package/dist/controller/run-state.d.ts.map +1 -1
- package/dist/controller/run-state.js +3 -1
- package/dist/controller/run-state.js.map +1 -1
- package/dist/controller/streamlined-runner.d.ts.map +1 -1
- package/dist/controller/streamlined-runner.js +59 -4
- package/dist/controller/streamlined-runner.js.map +1 -1
- package/dist/controller/task-executor.d.ts.map +1 -1
- package/dist/controller/task-executor.js +216 -40
- package/dist/controller/task-executor.js.map +1 -1
- package/dist/domain/failure.d.ts +291 -0
- package/dist/domain/failure.d.ts.map +1 -1
- package/dist/domain/failure.js +25 -0
- package/dist/domain/failure.js.map +1 -1
- package/dist/domain/index.d.ts +1 -1
- package/dist/domain/index.d.ts.map +1 -1
- package/dist/domain/index.js +1 -1
- package/dist/domain/index.js.map +1 -1
- package/dist/domain/report.d.ts +596 -0
- package/dist/domain/report.d.ts.map +1 -1
- package/dist/domain/run.d.ts +607 -0
- package/dist/domain/run.d.ts.map +1 -1
- package/dist/domain/run.js +7 -1
- package/dist/domain/run.js.map +1 -1
- package/dist/plugin/harness-delivery-envelope.d.ts.map +1 -1
- package/dist/plugin/harness-delivery-envelope.js +2 -1
- package/dist/plugin/harness-delivery-envelope.js.map +1 -1
- package/dist/plugin/harness-request-router.d.ts.map +1 -1
- package/dist/plugin/harness-request-router.js +13 -0
- package/dist/plugin/harness-request-router.js.map +1 -1
- package/dist/plugin/harness-status-projection.js +13 -5
- package/dist/plugin/harness-status-projection.js.map +1 -1
- package/dist/store/run-event.d.ts +596 -0
- package/dist/store/run-event.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -277,6 +277,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
277
277
|
}>;
|
|
278
278
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
279
279
|
}, z.core.$strip>>;
|
|
280
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
281
|
+
acceptance: "acceptance";
|
|
282
|
+
workspace: "workspace";
|
|
283
|
+
task: "task";
|
|
284
|
+
integration: "integration";
|
|
285
|
+
"agent-contract": "agent-contract";
|
|
286
|
+
}>>;
|
|
287
|
+
source: z.ZodOptional<z.ZodString>;
|
|
288
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
289
|
+
resume: "resume";
|
|
290
|
+
repair: "repair";
|
|
291
|
+
manual: "manual";
|
|
292
|
+
probe: "probe";
|
|
293
|
+
clarify: "clarify";
|
|
294
|
+
wait: "wait";
|
|
295
|
+
terminate: "terminate";
|
|
296
|
+
}>>;
|
|
280
297
|
category: z.ZodLiteral<"planner-contract">;
|
|
281
298
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
282
299
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -299,6 +316,140 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
299
316
|
}>;
|
|
300
317
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
301
318
|
}, z.core.$strip>>;
|
|
319
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
320
|
+
acceptance: "acceptance";
|
|
321
|
+
workspace: "workspace";
|
|
322
|
+
task: "task";
|
|
323
|
+
integration: "integration";
|
|
324
|
+
"agent-contract": "agent-contract";
|
|
325
|
+
}>>;
|
|
326
|
+
source: z.ZodOptional<z.ZodString>;
|
|
327
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
328
|
+
resume: "resume";
|
|
329
|
+
repair: "repair";
|
|
330
|
+
manual: "manual";
|
|
331
|
+
probe: "probe";
|
|
332
|
+
clarify: "clarify";
|
|
333
|
+
wait: "wait";
|
|
334
|
+
terminate: "terminate";
|
|
335
|
+
}>>;
|
|
336
|
+
category: z.ZodLiteral<"verifier-contract">;
|
|
337
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
338
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
339
|
+
failureId: z.ZodString;
|
|
340
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
341
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
342
|
+
summary: z.ZodString;
|
|
343
|
+
detail: z.ZodString;
|
|
344
|
+
recoveryPlan: z.ZodString;
|
|
345
|
+
confidence: z.ZodNumber;
|
|
346
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
347
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
348
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
349
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
350
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
351
|
+
resumable: z.ZodBoolean;
|
|
352
|
+
action: z.ZodEnum<{
|
|
353
|
+
resume: "resume";
|
|
354
|
+
manual: "manual";
|
|
355
|
+
}>;
|
|
356
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
357
|
+
}, z.core.$strip>>;
|
|
358
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
359
|
+
acceptance: "acceptance";
|
|
360
|
+
workspace: "workspace";
|
|
361
|
+
task: "task";
|
|
362
|
+
integration: "integration";
|
|
363
|
+
"agent-contract": "agent-contract";
|
|
364
|
+
}>>;
|
|
365
|
+
source: z.ZodOptional<z.ZodString>;
|
|
366
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
367
|
+
resume: "resume";
|
|
368
|
+
repair: "repair";
|
|
369
|
+
manual: "manual";
|
|
370
|
+
probe: "probe";
|
|
371
|
+
clarify: "clarify";
|
|
372
|
+
wait: "wait";
|
|
373
|
+
terminate: "terminate";
|
|
374
|
+
}>>;
|
|
375
|
+
category: z.ZodLiteral<"worker-contract">;
|
|
376
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
377
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
378
|
+
failureId: z.ZodString;
|
|
379
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
380
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
381
|
+
summary: z.ZodString;
|
|
382
|
+
detail: z.ZodString;
|
|
383
|
+
recoveryPlan: z.ZodString;
|
|
384
|
+
confidence: z.ZodNumber;
|
|
385
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
386
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
387
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
388
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
389
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
390
|
+
resumable: z.ZodBoolean;
|
|
391
|
+
action: z.ZodEnum<{
|
|
392
|
+
resume: "resume";
|
|
393
|
+
manual: "manual";
|
|
394
|
+
}>;
|
|
395
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
396
|
+
}, z.core.$strip>>;
|
|
397
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
398
|
+
acceptance: "acceptance";
|
|
399
|
+
workspace: "workspace";
|
|
400
|
+
task: "task";
|
|
401
|
+
integration: "integration";
|
|
402
|
+
"agent-contract": "agent-contract";
|
|
403
|
+
}>>;
|
|
404
|
+
source: z.ZodOptional<z.ZodString>;
|
|
405
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
406
|
+
resume: "resume";
|
|
407
|
+
repair: "repair";
|
|
408
|
+
manual: "manual";
|
|
409
|
+
probe: "probe";
|
|
410
|
+
clarify: "clarify";
|
|
411
|
+
wait: "wait";
|
|
412
|
+
terminate: "terminate";
|
|
413
|
+
}>>;
|
|
414
|
+
category: z.ZodLiteral<"agent-contract">;
|
|
415
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
416
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
417
|
+
failureId: z.ZodString;
|
|
418
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
419
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
420
|
+
summary: z.ZodString;
|
|
421
|
+
detail: z.ZodString;
|
|
422
|
+
recoveryPlan: z.ZodString;
|
|
423
|
+
confidence: z.ZodNumber;
|
|
424
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
425
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
426
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
427
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
428
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
429
|
+
resumable: z.ZodBoolean;
|
|
430
|
+
action: z.ZodEnum<{
|
|
431
|
+
resume: "resume";
|
|
432
|
+
manual: "manual";
|
|
433
|
+
}>;
|
|
434
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
435
|
+
}, z.core.$strip>>;
|
|
436
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
437
|
+
acceptance: "acceptance";
|
|
438
|
+
workspace: "workspace";
|
|
439
|
+
task: "task";
|
|
440
|
+
integration: "integration";
|
|
441
|
+
"agent-contract": "agent-contract";
|
|
442
|
+
}>>;
|
|
443
|
+
source: z.ZodOptional<z.ZodString>;
|
|
444
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
445
|
+
resume: "resume";
|
|
446
|
+
repair: "repair";
|
|
447
|
+
manual: "manual";
|
|
448
|
+
probe: "probe";
|
|
449
|
+
clarify: "clarify";
|
|
450
|
+
wait: "wait";
|
|
451
|
+
terminate: "terminate";
|
|
452
|
+
}>>;
|
|
302
453
|
category: z.ZodLiteral<"context-gap">;
|
|
303
454
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
304
455
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -322,6 +473,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
322
473
|
}>;
|
|
323
474
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
324
475
|
}, z.core.$strip>>;
|
|
476
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
477
|
+
acceptance: "acceptance";
|
|
478
|
+
workspace: "workspace";
|
|
479
|
+
task: "task";
|
|
480
|
+
integration: "integration";
|
|
481
|
+
"agent-contract": "agent-contract";
|
|
482
|
+
}>>;
|
|
483
|
+
source: z.ZodOptional<z.ZodString>;
|
|
484
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
485
|
+
resume: "resume";
|
|
486
|
+
repair: "repair";
|
|
487
|
+
manual: "manual";
|
|
488
|
+
probe: "probe";
|
|
489
|
+
clarify: "clarify";
|
|
490
|
+
wait: "wait";
|
|
491
|
+
terminate: "terminate";
|
|
492
|
+
}>>;
|
|
325
493
|
category: z.ZodLiteral<"requirement-ambiguity">;
|
|
326
494
|
blockingQuestionId: z.ZodString;
|
|
327
495
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -345,6 +513,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
345
513
|
}>;
|
|
346
514
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
347
515
|
}, z.core.$strip>>;
|
|
516
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
517
|
+
acceptance: "acceptance";
|
|
518
|
+
workspace: "workspace";
|
|
519
|
+
task: "task";
|
|
520
|
+
integration: "integration";
|
|
521
|
+
"agent-contract": "agent-contract";
|
|
522
|
+
}>>;
|
|
523
|
+
source: z.ZodOptional<z.ZodString>;
|
|
524
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
525
|
+
resume: "resume";
|
|
526
|
+
repair: "repair";
|
|
527
|
+
manual: "manual";
|
|
528
|
+
probe: "probe";
|
|
529
|
+
clarify: "clarify";
|
|
530
|
+
wait: "wait";
|
|
531
|
+
terminate: "terminate";
|
|
532
|
+
}>>;
|
|
348
533
|
category: z.ZodLiteral<"dependency-blocked">;
|
|
349
534
|
blockedDependency: z.ZodString;
|
|
350
535
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -368,6 +553,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
368
553
|
}>;
|
|
369
554
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
370
555
|
}, z.core.$strip>>;
|
|
556
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
557
|
+
acceptance: "acceptance";
|
|
558
|
+
workspace: "workspace";
|
|
559
|
+
task: "task";
|
|
560
|
+
integration: "integration";
|
|
561
|
+
"agent-contract": "agent-contract";
|
|
562
|
+
}>>;
|
|
563
|
+
source: z.ZodOptional<z.ZodString>;
|
|
564
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
565
|
+
resume: "resume";
|
|
566
|
+
repair: "repair";
|
|
567
|
+
manual: "manual";
|
|
568
|
+
probe: "probe";
|
|
569
|
+
clarify: "clarify";
|
|
570
|
+
wait: "wait";
|
|
571
|
+
terminate: "terminate";
|
|
572
|
+
}>>;
|
|
371
573
|
category: z.ZodLiteral<"implementation-defect">;
|
|
372
574
|
failingEvidenceId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "EvidenceId">>;
|
|
373
575
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -391,6 +593,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
391
593
|
}>;
|
|
392
594
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
393
595
|
}, z.core.$strip>>;
|
|
596
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
597
|
+
acceptance: "acceptance";
|
|
598
|
+
workspace: "workspace";
|
|
599
|
+
task: "task";
|
|
600
|
+
integration: "integration";
|
|
601
|
+
"agent-contract": "agent-contract";
|
|
602
|
+
}>>;
|
|
603
|
+
source: z.ZodOptional<z.ZodString>;
|
|
604
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
605
|
+
resume: "resume";
|
|
606
|
+
repair: "repair";
|
|
607
|
+
manual: "manual";
|
|
608
|
+
probe: "probe";
|
|
609
|
+
clarify: "clarify";
|
|
610
|
+
wait: "wait";
|
|
611
|
+
terminate: "terminate";
|
|
612
|
+
}>>;
|
|
394
613
|
category: z.ZodLiteral<"verification-environment">;
|
|
395
614
|
verificationCommandName: z.ZodString;
|
|
396
615
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -414,6 +633,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
414
633
|
}>;
|
|
415
634
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
416
635
|
}, z.core.$strip>>;
|
|
636
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
637
|
+
acceptance: "acceptance";
|
|
638
|
+
workspace: "workspace";
|
|
639
|
+
task: "task";
|
|
640
|
+
integration: "integration";
|
|
641
|
+
"agent-contract": "agent-contract";
|
|
642
|
+
}>>;
|
|
643
|
+
source: z.ZodOptional<z.ZodString>;
|
|
644
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
645
|
+
resume: "resume";
|
|
646
|
+
repair: "repair";
|
|
647
|
+
manual: "manual";
|
|
648
|
+
probe: "probe";
|
|
649
|
+
clarify: "clarify";
|
|
650
|
+
wait: "wait";
|
|
651
|
+
terminate: "terminate";
|
|
652
|
+
}>>;
|
|
417
653
|
category: z.ZodLiteral<"scope-drift">;
|
|
418
654
|
driftedPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
419
655
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -437,6 +673,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
437
673
|
}>;
|
|
438
674
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
439
675
|
}, z.core.$strip>>;
|
|
676
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
677
|
+
acceptance: "acceptance";
|
|
678
|
+
workspace: "workspace";
|
|
679
|
+
task: "task";
|
|
680
|
+
integration: "integration";
|
|
681
|
+
"agent-contract": "agent-contract";
|
|
682
|
+
}>>;
|
|
683
|
+
source: z.ZodOptional<z.ZodString>;
|
|
684
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
685
|
+
resume: "resume";
|
|
686
|
+
repair: "repair";
|
|
687
|
+
manual: "manual";
|
|
688
|
+
probe: "probe";
|
|
689
|
+
clarify: "clarify";
|
|
690
|
+
wait: "wait";
|
|
691
|
+
terminate: "terminate";
|
|
692
|
+
}>>;
|
|
440
693
|
category: z.ZodLiteral<"merge-conflict">;
|
|
441
694
|
conflictingPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
442
695
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -460,6 +713,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
460
713
|
}>;
|
|
461
714
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
462
715
|
}, z.core.$strip>>;
|
|
716
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
717
|
+
acceptance: "acceptance";
|
|
718
|
+
workspace: "workspace";
|
|
719
|
+
task: "task";
|
|
720
|
+
integration: "integration";
|
|
721
|
+
"agent-contract": "agent-contract";
|
|
722
|
+
}>>;
|
|
723
|
+
source: z.ZodOptional<z.ZodString>;
|
|
724
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
725
|
+
resume: "resume";
|
|
726
|
+
repair: "repair";
|
|
727
|
+
manual: "manual";
|
|
728
|
+
probe: "probe";
|
|
729
|
+
clarify: "clarify";
|
|
730
|
+
wait: "wait";
|
|
731
|
+
terminate: "terminate";
|
|
732
|
+
}>>;
|
|
463
733
|
category: z.ZodLiteral<"model-failure">;
|
|
464
734
|
provider: z.ZodString;
|
|
465
735
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -483,6 +753,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
483
753
|
}>;
|
|
484
754
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
485
755
|
}, z.core.$strip>>;
|
|
756
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
757
|
+
acceptance: "acceptance";
|
|
758
|
+
workspace: "workspace";
|
|
759
|
+
task: "task";
|
|
760
|
+
integration: "integration";
|
|
761
|
+
"agent-contract": "agent-contract";
|
|
762
|
+
}>>;
|
|
763
|
+
source: z.ZodOptional<z.ZodString>;
|
|
764
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
765
|
+
resume: "resume";
|
|
766
|
+
repair: "repair";
|
|
767
|
+
manual: "manual";
|
|
768
|
+
probe: "probe";
|
|
769
|
+
clarify: "clarify";
|
|
770
|
+
wait: "wait";
|
|
771
|
+
terminate: "terminate";
|
|
772
|
+
}>>;
|
|
486
773
|
category: z.ZodLiteral<"acceptance-failure">;
|
|
487
774
|
failingEvidenceId: z.core.$ZodBranded<z.ZodString, "EvidenceId">;
|
|
488
775
|
}, z.core.$strip>>]>>>>;
|
|
@@ -626,10 +913,21 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
626
913
|
evidence_gap: "evidence_gap";
|
|
627
914
|
clarification_required: "clarification_required";
|
|
628
915
|
env_blocked: "env_blocked";
|
|
916
|
+
paused: "paused";
|
|
629
917
|
}>;
|
|
630
918
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
631
919
|
discoveredEvidence: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
632
920
|
nextActions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
921
|
+
failureIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
922
|
+
criterionIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
923
|
+
allowedOperations: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
924
|
+
pause: "pause";
|
|
925
|
+
resume: "resume";
|
|
926
|
+
answer: "answer";
|
|
927
|
+
cancel: "cancel";
|
|
928
|
+
report: "report";
|
|
929
|
+
waive: "waive";
|
|
930
|
+
}>>>>;
|
|
633
931
|
}, z.core.$strip>>>;
|
|
634
932
|
workspace: z.ZodDefault<z.ZodReadonly<z.ZodObject<{
|
|
635
933
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
@@ -1326,6 +1624,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1326
1624
|
}>;
|
|
1327
1625
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1328
1626
|
}, z.core.$strip>>;
|
|
1627
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1628
|
+
acceptance: "acceptance";
|
|
1629
|
+
workspace: "workspace";
|
|
1630
|
+
task: "task";
|
|
1631
|
+
integration: "integration";
|
|
1632
|
+
"agent-contract": "agent-contract";
|
|
1633
|
+
}>>;
|
|
1634
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1635
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1636
|
+
resume: "resume";
|
|
1637
|
+
repair: "repair";
|
|
1638
|
+
manual: "manual";
|
|
1639
|
+
probe: "probe";
|
|
1640
|
+
clarify: "clarify";
|
|
1641
|
+
wait: "wait";
|
|
1642
|
+
terminate: "terminate";
|
|
1643
|
+
}>>;
|
|
1329
1644
|
category: z.ZodLiteral<"planner-contract">;
|
|
1330
1645
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1331
1646
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1348,6 +1663,140 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1348
1663
|
}>;
|
|
1349
1664
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1350
1665
|
}, z.core.$strip>>;
|
|
1666
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1667
|
+
acceptance: "acceptance";
|
|
1668
|
+
workspace: "workspace";
|
|
1669
|
+
task: "task";
|
|
1670
|
+
integration: "integration";
|
|
1671
|
+
"agent-contract": "agent-contract";
|
|
1672
|
+
}>>;
|
|
1673
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1674
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1675
|
+
resume: "resume";
|
|
1676
|
+
repair: "repair";
|
|
1677
|
+
manual: "manual";
|
|
1678
|
+
probe: "probe";
|
|
1679
|
+
clarify: "clarify";
|
|
1680
|
+
wait: "wait";
|
|
1681
|
+
terminate: "terminate";
|
|
1682
|
+
}>>;
|
|
1683
|
+
category: z.ZodLiteral<"verifier-contract">;
|
|
1684
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1685
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
1686
|
+
failureId: z.ZodString;
|
|
1687
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
1688
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
1689
|
+
summary: z.ZodString;
|
|
1690
|
+
detail: z.ZodString;
|
|
1691
|
+
recoveryPlan: z.ZodString;
|
|
1692
|
+
confidence: z.ZodNumber;
|
|
1693
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
1694
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
1695
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
1696
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
1697
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
1698
|
+
resumable: z.ZodBoolean;
|
|
1699
|
+
action: z.ZodEnum<{
|
|
1700
|
+
resume: "resume";
|
|
1701
|
+
manual: "manual";
|
|
1702
|
+
}>;
|
|
1703
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1704
|
+
}, z.core.$strip>>;
|
|
1705
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1706
|
+
acceptance: "acceptance";
|
|
1707
|
+
workspace: "workspace";
|
|
1708
|
+
task: "task";
|
|
1709
|
+
integration: "integration";
|
|
1710
|
+
"agent-contract": "agent-contract";
|
|
1711
|
+
}>>;
|
|
1712
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1713
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1714
|
+
resume: "resume";
|
|
1715
|
+
repair: "repair";
|
|
1716
|
+
manual: "manual";
|
|
1717
|
+
probe: "probe";
|
|
1718
|
+
clarify: "clarify";
|
|
1719
|
+
wait: "wait";
|
|
1720
|
+
terminate: "terminate";
|
|
1721
|
+
}>>;
|
|
1722
|
+
category: z.ZodLiteral<"worker-contract">;
|
|
1723
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1724
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
1725
|
+
failureId: z.ZodString;
|
|
1726
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
1727
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
1728
|
+
summary: z.ZodString;
|
|
1729
|
+
detail: z.ZodString;
|
|
1730
|
+
recoveryPlan: z.ZodString;
|
|
1731
|
+
confidence: z.ZodNumber;
|
|
1732
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
1733
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
1734
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
1735
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
1736
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
1737
|
+
resumable: z.ZodBoolean;
|
|
1738
|
+
action: z.ZodEnum<{
|
|
1739
|
+
resume: "resume";
|
|
1740
|
+
manual: "manual";
|
|
1741
|
+
}>;
|
|
1742
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1743
|
+
}, z.core.$strip>>;
|
|
1744
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1745
|
+
acceptance: "acceptance";
|
|
1746
|
+
workspace: "workspace";
|
|
1747
|
+
task: "task";
|
|
1748
|
+
integration: "integration";
|
|
1749
|
+
"agent-contract": "agent-contract";
|
|
1750
|
+
}>>;
|
|
1751
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1752
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1753
|
+
resume: "resume";
|
|
1754
|
+
repair: "repair";
|
|
1755
|
+
manual: "manual";
|
|
1756
|
+
probe: "probe";
|
|
1757
|
+
clarify: "clarify";
|
|
1758
|
+
wait: "wait";
|
|
1759
|
+
terminate: "terminate";
|
|
1760
|
+
}>>;
|
|
1761
|
+
category: z.ZodLiteral<"agent-contract">;
|
|
1762
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1763
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
1764
|
+
failureId: z.ZodString;
|
|
1765
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
1766
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
1767
|
+
summary: z.ZodString;
|
|
1768
|
+
detail: z.ZodString;
|
|
1769
|
+
recoveryPlan: z.ZodString;
|
|
1770
|
+
confidence: z.ZodNumber;
|
|
1771
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
1772
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
1773
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
1774
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
1775
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
1776
|
+
resumable: z.ZodBoolean;
|
|
1777
|
+
action: z.ZodEnum<{
|
|
1778
|
+
resume: "resume";
|
|
1779
|
+
manual: "manual";
|
|
1780
|
+
}>;
|
|
1781
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1782
|
+
}, z.core.$strip>>;
|
|
1783
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1784
|
+
acceptance: "acceptance";
|
|
1785
|
+
workspace: "workspace";
|
|
1786
|
+
task: "task";
|
|
1787
|
+
integration: "integration";
|
|
1788
|
+
"agent-contract": "agent-contract";
|
|
1789
|
+
}>>;
|
|
1790
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1791
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1792
|
+
resume: "resume";
|
|
1793
|
+
repair: "repair";
|
|
1794
|
+
manual: "manual";
|
|
1795
|
+
probe: "probe";
|
|
1796
|
+
clarify: "clarify";
|
|
1797
|
+
wait: "wait";
|
|
1798
|
+
terminate: "terminate";
|
|
1799
|
+
}>>;
|
|
1351
1800
|
category: z.ZodLiteral<"context-gap">;
|
|
1352
1801
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1353
1802
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1371,6 +1820,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1371
1820
|
}>;
|
|
1372
1821
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1373
1822
|
}, z.core.$strip>>;
|
|
1823
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1824
|
+
acceptance: "acceptance";
|
|
1825
|
+
workspace: "workspace";
|
|
1826
|
+
task: "task";
|
|
1827
|
+
integration: "integration";
|
|
1828
|
+
"agent-contract": "agent-contract";
|
|
1829
|
+
}>>;
|
|
1830
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1831
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1832
|
+
resume: "resume";
|
|
1833
|
+
repair: "repair";
|
|
1834
|
+
manual: "manual";
|
|
1835
|
+
probe: "probe";
|
|
1836
|
+
clarify: "clarify";
|
|
1837
|
+
wait: "wait";
|
|
1838
|
+
terminate: "terminate";
|
|
1839
|
+
}>>;
|
|
1374
1840
|
category: z.ZodLiteral<"requirement-ambiguity">;
|
|
1375
1841
|
blockingQuestionId: z.ZodString;
|
|
1376
1842
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1394,6 +1860,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1394
1860
|
}>;
|
|
1395
1861
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1396
1862
|
}, z.core.$strip>>;
|
|
1863
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1864
|
+
acceptance: "acceptance";
|
|
1865
|
+
workspace: "workspace";
|
|
1866
|
+
task: "task";
|
|
1867
|
+
integration: "integration";
|
|
1868
|
+
"agent-contract": "agent-contract";
|
|
1869
|
+
}>>;
|
|
1870
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1871
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1872
|
+
resume: "resume";
|
|
1873
|
+
repair: "repair";
|
|
1874
|
+
manual: "manual";
|
|
1875
|
+
probe: "probe";
|
|
1876
|
+
clarify: "clarify";
|
|
1877
|
+
wait: "wait";
|
|
1878
|
+
terminate: "terminate";
|
|
1879
|
+
}>>;
|
|
1397
1880
|
category: z.ZodLiteral<"dependency-blocked">;
|
|
1398
1881
|
blockedDependency: z.ZodString;
|
|
1399
1882
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1417,6 +1900,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1417
1900
|
}>;
|
|
1418
1901
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1419
1902
|
}, z.core.$strip>>;
|
|
1903
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1904
|
+
acceptance: "acceptance";
|
|
1905
|
+
workspace: "workspace";
|
|
1906
|
+
task: "task";
|
|
1907
|
+
integration: "integration";
|
|
1908
|
+
"agent-contract": "agent-contract";
|
|
1909
|
+
}>>;
|
|
1910
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1911
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1912
|
+
resume: "resume";
|
|
1913
|
+
repair: "repair";
|
|
1914
|
+
manual: "manual";
|
|
1915
|
+
probe: "probe";
|
|
1916
|
+
clarify: "clarify";
|
|
1917
|
+
wait: "wait";
|
|
1918
|
+
terminate: "terminate";
|
|
1919
|
+
}>>;
|
|
1420
1920
|
category: z.ZodLiteral<"implementation-defect">;
|
|
1421
1921
|
failingEvidenceId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "EvidenceId">>;
|
|
1422
1922
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1440,6 +1940,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1440
1940
|
}>;
|
|
1441
1941
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1442
1942
|
}, z.core.$strip>>;
|
|
1943
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1944
|
+
acceptance: "acceptance";
|
|
1945
|
+
workspace: "workspace";
|
|
1946
|
+
task: "task";
|
|
1947
|
+
integration: "integration";
|
|
1948
|
+
"agent-contract": "agent-contract";
|
|
1949
|
+
}>>;
|
|
1950
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1951
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1952
|
+
resume: "resume";
|
|
1953
|
+
repair: "repair";
|
|
1954
|
+
manual: "manual";
|
|
1955
|
+
probe: "probe";
|
|
1956
|
+
clarify: "clarify";
|
|
1957
|
+
wait: "wait";
|
|
1958
|
+
terminate: "terminate";
|
|
1959
|
+
}>>;
|
|
1443
1960
|
category: z.ZodLiteral<"verification-environment">;
|
|
1444
1961
|
verificationCommandName: z.ZodString;
|
|
1445
1962
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1463,6 +1980,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1463
1980
|
}>;
|
|
1464
1981
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1465
1982
|
}, z.core.$strip>>;
|
|
1983
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1984
|
+
acceptance: "acceptance";
|
|
1985
|
+
workspace: "workspace";
|
|
1986
|
+
task: "task";
|
|
1987
|
+
integration: "integration";
|
|
1988
|
+
"agent-contract": "agent-contract";
|
|
1989
|
+
}>>;
|
|
1990
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1991
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1992
|
+
resume: "resume";
|
|
1993
|
+
repair: "repair";
|
|
1994
|
+
manual: "manual";
|
|
1995
|
+
probe: "probe";
|
|
1996
|
+
clarify: "clarify";
|
|
1997
|
+
wait: "wait";
|
|
1998
|
+
terminate: "terminate";
|
|
1999
|
+
}>>;
|
|
1466
2000
|
category: z.ZodLiteral<"scope-drift">;
|
|
1467
2001
|
driftedPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1468
2002
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1486,6 +2020,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1486
2020
|
}>;
|
|
1487
2021
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1488
2022
|
}, z.core.$strip>>;
|
|
2023
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2024
|
+
acceptance: "acceptance";
|
|
2025
|
+
workspace: "workspace";
|
|
2026
|
+
task: "task";
|
|
2027
|
+
integration: "integration";
|
|
2028
|
+
"agent-contract": "agent-contract";
|
|
2029
|
+
}>>;
|
|
2030
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2031
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2032
|
+
resume: "resume";
|
|
2033
|
+
repair: "repair";
|
|
2034
|
+
manual: "manual";
|
|
2035
|
+
probe: "probe";
|
|
2036
|
+
clarify: "clarify";
|
|
2037
|
+
wait: "wait";
|
|
2038
|
+
terminate: "terminate";
|
|
2039
|
+
}>>;
|
|
1489
2040
|
category: z.ZodLiteral<"merge-conflict">;
|
|
1490
2041
|
conflictingPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1491
2042
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1509,6 +2060,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1509
2060
|
}>;
|
|
1510
2061
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1511
2062
|
}, z.core.$strip>>;
|
|
2063
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2064
|
+
acceptance: "acceptance";
|
|
2065
|
+
workspace: "workspace";
|
|
2066
|
+
task: "task";
|
|
2067
|
+
integration: "integration";
|
|
2068
|
+
"agent-contract": "agent-contract";
|
|
2069
|
+
}>>;
|
|
2070
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2071
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2072
|
+
resume: "resume";
|
|
2073
|
+
repair: "repair";
|
|
2074
|
+
manual: "manual";
|
|
2075
|
+
probe: "probe";
|
|
2076
|
+
clarify: "clarify";
|
|
2077
|
+
wait: "wait";
|
|
2078
|
+
terminate: "terminate";
|
|
2079
|
+
}>>;
|
|
1512
2080
|
category: z.ZodLiteral<"model-failure">;
|
|
1513
2081
|
provider: z.ZodString;
|
|
1514
2082
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1532,6 +2100,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1532
2100
|
}>;
|
|
1533
2101
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1534
2102
|
}, z.core.$strip>>;
|
|
2103
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2104
|
+
acceptance: "acceptance";
|
|
2105
|
+
workspace: "workspace";
|
|
2106
|
+
task: "task";
|
|
2107
|
+
integration: "integration";
|
|
2108
|
+
"agent-contract": "agent-contract";
|
|
2109
|
+
}>>;
|
|
2110
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2111
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2112
|
+
resume: "resume";
|
|
2113
|
+
repair: "repair";
|
|
2114
|
+
manual: "manual";
|
|
2115
|
+
probe: "probe";
|
|
2116
|
+
clarify: "clarify";
|
|
2117
|
+
wait: "wait";
|
|
2118
|
+
terminate: "terminate";
|
|
2119
|
+
}>>;
|
|
1535
2120
|
category: z.ZodLiteral<"acceptance-failure">;
|
|
1536
2121
|
failingEvidenceId: z.core.$ZodBranded<z.ZodString, "EvidenceId">;
|
|
1537
2122
|
}, z.core.$strip>>]>>>>;
|
|
@@ -1675,10 +2260,21 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1675
2260
|
evidence_gap: "evidence_gap";
|
|
1676
2261
|
clarification_required: "clarification_required";
|
|
1677
2262
|
env_blocked: "env_blocked";
|
|
2263
|
+
paused: "paused";
|
|
1678
2264
|
}>;
|
|
1679
2265
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1680
2266
|
discoveredEvidence: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1681
2267
|
nextActions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2268
|
+
failureIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
2269
|
+
criterionIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
2270
|
+
allowedOperations: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2271
|
+
pause: "pause";
|
|
2272
|
+
resume: "resume";
|
|
2273
|
+
answer: "answer";
|
|
2274
|
+
cancel: "cancel";
|
|
2275
|
+
report: "report";
|
|
2276
|
+
waive: "waive";
|
|
2277
|
+
}>>>>;
|
|
1682
2278
|
}, z.core.$strip>>>;
|
|
1683
2279
|
workspace: z.ZodDefault<z.ZodReadonly<z.ZodObject<{
|
|
1684
2280
|
repositoryId: z.ZodOptional<z.ZodString>;
|