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
package/dist/domain/run.d.ts
CHANGED
|
@@ -69,10 +69,21 @@ declare const BlockingDetailsSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
69
69
|
evidence_gap: "evidence_gap";
|
|
70
70
|
clarification_required: "clarification_required";
|
|
71
71
|
env_blocked: "env_blocked";
|
|
72
|
+
paused: "paused";
|
|
72
73
|
}>;
|
|
73
74
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
74
75
|
discoveredEvidence: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
75
76
|
nextActions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
77
|
+
failureIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
78
|
+
criterionIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
79
|
+
allowedOperations: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
80
|
+
pause: "pause";
|
|
81
|
+
resume: "resume";
|
|
82
|
+
answer: "answer";
|
|
83
|
+
cancel: "cancel";
|
|
84
|
+
report: "report";
|
|
85
|
+
waive: "waive";
|
|
86
|
+
}>>>>;
|
|
76
87
|
}, z.core.$strip>>;
|
|
77
88
|
declare const RunGovernanceSchema: z.ZodReadonly<z.ZodDefault<z.ZodObject<{
|
|
78
89
|
blockingQuestionId: z.ZodNullable<z.ZodString>;
|
|
@@ -383,6 +394,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
383
394
|
}>;
|
|
384
395
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
385
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
|
+
}>>;
|
|
386
414
|
category: z.ZodLiteral<"planner-contract">;
|
|
387
415
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
388
416
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -405,6 +433,140 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
405
433
|
}>;
|
|
406
434
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
407
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
|
+
}>>;
|
|
453
|
+
category: z.ZodLiteral<"verifier-contract">;
|
|
454
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
455
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
456
|
+
failureId: z.ZodString;
|
|
457
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
458
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
459
|
+
summary: z.ZodString;
|
|
460
|
+
detail: z.ZodString;
|
|
461
|
+
recoveryPlan: z.ZodString;
|
|
462
|
+
confidence: z.ZodNumber;
|
|
463
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
464
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
465
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
466
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
467
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
468
|
+
resumable: z.ZodBoolean;
|
|
469
|
+
action: z.ZodEnum<{
|
|
470
|
+
resume: "resume";
|
|
471
|
+
manual: "manual";
|
|
472
|
+
}>;
|
|
473
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
474
|
+
}, z.core.$strip>>;
|
|
475
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
476
|
+
acceptance: "acceptance";
|
|
477
|
+
workspace: "workspace";
|
|
478
|
+
task: "task";
|
|
479
|
+
integration: "integration";
|
|
480
|
+
"agent-contract": "agent-contract";
|
|
481
|
+
}>>;
|
|
482
|
+
source: z.ZodOptional<z.ZodString>;
|
|
483
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
484
|
+
resume: "resume";
|
|
485
|
+
repair: "repair";
|
|
486
|
+
manual: "manual";
|
|
487
|
+
probe: "probe";
|
|
488
|
+
clarify: "clarify";
|
|
489
|
+
wait: "wait";
|
|
490
|
+
terminate: "terminate";
|
|
491
|
+
}>>;
|
|
492
|
+
category: z.ZodLiteral<"worker-contract">;
|
|
493
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
494
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
495
|
+
failureId: z.ZodString;
|
|
496
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
497
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
498
|
+
summary: z.ZodString;
|
|
499
|
+
detail: z.ZodString;
|
|
500
|
+
recoveryPlan: z.ZodString;
|
|
501
|
+
confidence: z.ZodNumber;
|
|
502
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
503
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
504
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
505
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
506
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
507
|
+
resumable: z.ZodBoolean;
|
|
508
|
+
action: z.ZodEnum<{
|
|
509
|
+
resume: "resume";
|
|
510
|
+
manual: "manual";
|
|
511
|
+
}>;
|
|
512
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
513
|
+
}, z.core.$strip>>;
|
|
514
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
515
|
+
acceptance: "acceptance";
|
|
516
|
+
workspace: "workspace";
|
|
517
|
+
task: "task";
|
|
518
|
+
integration: "integration";
|
|
519
|
+
"agent-contract": "agent-contract";
|
|
520
|
+
}>>;
|
|
521
|
+
source: z.ZodOptional<z.ZodString>;
|
|
522
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
523
|
+
resume: "resume";
|
|
524
|
+
repair: "repair";
|
|
525
|
+
manual: "manual";
|
|
526
|
+
probe: "probe";
|
|
527
|
+
clarify: "clarify";
|
|
528
|
+
wait: "wait";
|
|
529
|
+
terminate: "terminate";
|
|
530
|
+
}>>;
|
|
531
|
+
category: z.ZodLiteral<"agent-contract">;
|
|
532
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
533
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
534
|
+
failureId: z.ZodString;
|
|
535
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
536
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
537
|
+
summary: z.ZodString;
|
|
538
|
+
detail: z.ZodString;
|
|
539
|
+
recoveryPlan: z.ZodString;
|
|
540
|
+
confidence: z.ZodNumber;
|
|
541
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
542
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
543
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
544
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
545
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
546
|
+
resumable: z.ZodBoolean;
|
|
547
|
+
action: z.ZodEnum<{
|
|
548
|
+
resume: "resume";
|
|
549
|
+
manual: "manual";
|
|
550
|
+
}>;
|
|
551
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
552
|
+
}, z.core.$strip>>;
|
|
553
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
554
|
+
acceptance: "acceptance";
|
|
555
|
+
workspace: "workspace";
|
|
556
|
+
task: "task";
|
|
557
|
+
integration: "integration";
|
|
558
|
+
"agent-contract": "agent-contract";
|
|
559
|
+
}>>;
|
|
560
|
+
source: z.ZodOptional<z.ZodString>;
|
|
561
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
562
|
+
resume: "resume";
|
|
563
|
+
repair: "repair";
|
|
564
|
+
manual: "manual";
|
|
565
|
+
probe: "probe";
|
|
566
|
+
clarify: "clarify";
|
|
567
|
+
wait: "wait";
|
|
568
|
+
terminate: "terminate";
|
|
569
|
+
}>>;
|
|
408
570
|
category: z.ZodLiteral<"context-gap">;
|
|
409
571
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
410
572
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -428,6 +590,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
428
590
|
}>;
|
|
429
591
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
430
592
|
}, z.core.$strip>>;
|
|
593
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
594
|
+
acceptance: "acceptance";
|
|
595
|
+
workspace: "workspace";
|
|
596
|
+
task: "task";
|
|
597
|
+
integration: "integration";
|
|
598
|
+
"agent-contract": "agent-contract";
|
|
599
|
+
}>>;
|
|
600
|
+
source: z.ZodOptional<z.ZodString>;
|
|
601
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
602
|
+
resume: "resume";
|
|
603
|
+
repair: "repair";
|
|
604
|
+
manual: "manual";
|
|
605
|
+
probe: "probe";
|
|
606
|
+
clarify: "clarify";
|
|
607
|
+
wait: "wait";
|
|
608
|
+
terminate: "terminate";
|
|
609
|
+
}>>;
|
|
431
610
|
category: z.ZodLiteral<"requirement-ambiguity">;
|
|
432
611
|
blockingQuestionId: z.ZodString;
|
|
433
612
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -451,6 +630,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
451
630
|
}>;
|
|
452
631
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
453
632
|
}, z.core.$strip>>;
|
|
633
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
634
|
+
acceptance: "acceptance";
|
|
635
|
+
workspace: "workspace";
|
|
636
|
+
task: "task";
|
|
637
|
+
integration: "integration";
|
|
638
|
+
"agent-contract": "agent-contract";
|
|
639
|
+
}>>;
|
|
640
|
+
source: z.ZodOptional<z.ZodString>;
|
|
641
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
642
|
+
resume: "resume";
|
|
643
|
+
repair: "repair";
|
|
644
|
+
manual: "manual";
|
|
645
|
+
probe: "probe";
|
|
646
|
+
clarify: "clarify";
|
|
647
|
+
wait: "wait";
|
|
648
|
+
terminate: "terminate";
|
|
649
|
+
}>>;
|
|
454
650
|
category: z.ZodLiteral<"dependency-blocked">;
|
|
455
651
|
blockedDependency: z.ZodString;
|
|
456
652
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -474,6 +670,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
474
670
|
}>;
|
|
475
671
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
476
672
|
}, z.core.$strip>>;
|
|
673
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
674
|
+
acceptance: "acceptance";
|
|
675
|
+
workspace: "workspace";
|
|
676
|
+
task: "task";
|
|
677
|
+
integration: "integration";
|
|
678
|
+
"agent-contract": "agent-contract";
|
|
679
|
+
}>>;
|
|
680
|
+
source: z.ZodOptional<z.ZodString>;
|
|
681
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
682
|
+
resume: "resume";
|
|
683
|
+
repair: "repair";
|
|
684
|
+
manual: "manual";
|
|
685
|
+
probe: "probe";
|
|
686
|
+
clarify: "clarify";
|
|
687
|
+
wait: "wait";
|
|
688
|
+
terminate: "terminate";
|
|
689
|
+
}>>;
|
|
477
690
|
category: z.ZodLiteral<"implementation-defect">;
|
|
478
691
|
failingEvidenceId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "EvidenceId">>;
|
|
479
692
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -497,6 +710,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
497
710
|
}>;
|
|
498
711
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
499
712
|
}, z.core.$strip>>;
|
|
713
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
714
|
+
acceptance: "acceptance";
|
|
715
|
+
workspace: "workspace";
|
|
716
|
+
task: "task";
|
|
717
|
+
integration: "integration";
|
|
718
|
+
"agent-contract": "agent-contract";
|
|
719
|
+
}>>;
|
|
720
|
+
source: z.ZodOptional<z.ZodString>;
|
|
721
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
722
|
+
resume: "resume";
|
|
723
|
+
repair: "repair";
|
|
724
|
+
manual: "manual";
|
|
725
|
+
probe: "probe";
|
|
726
|
+
clarify: "clarify";
|
|
727
|
+
wait: "wait";
|
|
728
|
+
terminate: "terminate";
|
|
729
|
+
}>>;
|
|
500
730
|
category: z.ZodLiteral<"verification-environment">;
|
|
501
731
|
verificationCommandName: z.ZodString;
|
|
502
732
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -520,6 +750,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
520
750
|
}>;
|
|
521
751
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
522
752
|
}, z.core.$strip>>;
|
|
753
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
754
|
+
acceptance: "acceptance";
|
|
755
|
+
workspace: "workspace";
|
|
756
|
+
task: "task";
|
|
757
|
+
integration: "integration";
|
|
758
|
+
"agent-contract": "agent-contract";
|
|
759
|
+
}>>;
|
|
760
|
+
source: z.ZodOptional<z.ZodString>;
|
|
761
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
762
|
+
resume: "resume";
|
|
763
|
+
repair: "repair";
|
|
764
|
+
manual: "manual";
|
|
765
|
+
probe: "probe";
|
|
766
|
+
clarify: "clarify";
|
|
767
|
+
wait: "wait";
|
|
768
|
+
terminate: "terminate";
|
|
769
|
+
}>>;
|
|
523
770
|
category: z.ZodLiteral<"scope-drift">;
|
|
524
771
|
driftedPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
525
772
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -543,6 +790,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
543
790
|
}>;
|
|
544
791
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
545
792
|
}, z.core.$strip>>;
|
|
793
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
794
|
+
acceptance: "acceptance";
|
|
795
|
+
workspace: "workspace";
|
|
796
|
+
task: "task";
|
|
797
|
+
integration: "integration";
|
|
798
|
+
"agent-contract": "agent-contract";
|
|
799
|
+
}>>;
|
|
800
|
+
source: z.ZodOptional<z.ZodString>;
|
|
801
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
802
|
+
resume: "resume";
|
|
803
|
+
repair: "repair";
|
|
804
|
+
manual: "manual";
|
|
805
|
+
probe: "probe";
|
|
806
|
+
clarify: "clarify";
|
|
807
|
+
wait: "wait";
|
|
808
|
+
terminate: "terminate";
|
|
809
|
+
}>>;
|
|
546
810
|
category: z.ZodLiteral<"merge-conflict">;
|
|
547
811
|
conflictingPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
548
812
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -566,6 +830,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
566
830
|
}>;
|
|
567
831
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
568
832
|
}, z.core.$strip>>;
|
|
833
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
834
|
+
acceptance: "acceptance";
|
|
835
|
+
workspace: "workspace";
|
|
836
|
+
task: "task";
|
|
837
|
+
integration: "integration";
|
|
838
|
+
"agent-contract": "agent-contract";
|
|
839
|
+
}>>;
|
|
840
|
+
source: z.ZodOptional<z.ZodString>;
|
|
841
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
842
|
+
resume: "resume";
|
|
843
|
+
repair: "repair";
|
|
844
|
+
manual: "manual";
|
|
845
|
+
probe: "probe";
|
|
846
|
+
clarify: "clarify";
|
|
847
|
+
wait: "wait";
|
|
848
|
+
terminate: "terminate";
|
|
849
|
+
}>>;
|
|
569
850
|
category: z.ZodLiteral<"model-failure">;
|
|
570
851
|
provider: z.ZodString;
|
|
571
852
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -589,6 +870,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
589
870
|
}>;
|
|
590
871
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
591
872
|
}, z.core.$strip>>;
|
|
873
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
874
|
+
acceptance: "acceptance";
|
|
875
|
+
workspace: "workspace";
|
|
876
|
+
task: "task";
|
|
877
|
+
integration: "integration";
|
|
878
|
+
"agent-contract": "agent-contract";
|
|
879
|
+
}>>;
|
|
880
|
+
source: z.ZodOptional<z.ZodString>;
|
|
881
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
882
|
+
resume: "resume";
|
|
883
|
+
repair: "repair";
|
|
884
|
+
manual: "manual";
|
|
885
|
+
probe: "probe";
|
|
886
|
+
clarify: "clarify";
|
|
887
|
+
wait: "wait";
|
|
888
|
+
terminate: "terminate";
|
|
889
|
+
}>>;
|
|
592
890
|
category: z.ZodLiteral<"acceptance-failure">;
|
|
593
891
|
failingEvidenceId: z.core.$ZodBranded<z.ZodString, "EvidenceId">;
|
|
594
892
|
}, z.core.$strip>>]>>>>;
|
|
@@ -732,10 +1030,21 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
732
1030
|
evidence_gap: "evidence_gap";
|
|
733
1031
|
clarification_required: "clarification_required";
|
|
734
1032
|
env_blocked: "env_blocked";
|
|
1033
|
+
paused: "paused";
|
|
735
1034
|
}>;
|
|
736
1035
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
737
1036
|
discoveredEvidence: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
738
1037
|
nextActions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1038
|
+
failureIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1039
|
+
criterionIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1040
|
+
allowedOperations: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1041
|
+
pause: "pause";
|
|
1042
|
+
resume: "resume";
|
|
1043
|
+
answer: "answer";
|
|
1044
|
+
cancel: "cancel";
|
|
1045
|
+
report: "report";
|
|
1046
|
+
waive: "waive";
|
|
1047
|
+
}>>>>;
|
|
739
1048
|
}, z.core.$strip>>>;
|
|
740
1049
|
workspace: z.ZodDefault<z.ZodReadonly<z.ZodObject<{
|
|
741
1050
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
@@ -1432,6 +1741,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1432
1741
|
}>;
|
|
1433
1742
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1434
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
|
+
}>>;
|
|
1435
1761
|
category: z.ZodLiteral<"planner-contract">;
|
|
1436
1762
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1437
1763
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1454,6 +1780,140 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1454
1780
|
}>;
|
|
1455
1781
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1456
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
|
+
}>>;
|
|
1800
|
+
category: z.ZodLiteral<"verifier-contract">;
|
|
1801
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1802
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
1803
|
+
failureId: z.ZodString;
|
|
1804
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
1805
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
1806
|
+
summary: z.ZodString;
|
|
1807
|
+
detail: z.ZodString;
|
|
1808
|
+
recoveryPlan: z.ZodString;
|
|
1809
|
+
confidence: z.ZodNumber;
|
|
1810
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
1811
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
1812
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
1813
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
1814
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
1815
|
+
resumable: z.ZodBoolean;
|
|
1816
|
+
action: z.ZodEnum<{
|
|
1817
|
+
resume: "resume";
|
|
1818
|
+
manual: "manual";
|
|
1819
|
+
}>;
|
|
1820
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1821
|
+
}, z.core.$strip>>;
|
|
1822
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1823
|
+
acceptance: "acceptance";
|
|
1824
|
+
workspace: "workspace";
|
|
1825
|
+
task: "task";
|
|
1826
|
+
integration: "integration";
|
|
1827
|
+
"agent-contract": "agent-contract";
|
|
1828
|
+
}>>;
|
|
1829
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1830
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1831
|
+
resume: "resume";
|
|
1832
|
+
repair: "repair";
|
|
1833
|
+
manual: "manual";
|
|
1834
|
+
probe: "probe";
|
|
1835
|
+
clarify: "clarify";
|
|
1836
|
+
wait: "wait";
|
|
1837
|
+
terminate: "terminate";
|
|
1838
|
+
}>>;
|
|
1839
|
+
category: z.ZodLiteral<"worker-contract">;
|
|
1840
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1841
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
1842
|
+
failureId: z.ZodString;
|
|
1843
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
1844
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
1845
|
+
summary: z.ZodString;
|
|
1846
|
+
detail: z.ZodString;
|
|
1847
|
+
recoveryPlan: z.ZodString;
|
|
1848
|
+
confidence: z.ZodNumber;
|
|
1849
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
1850
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
1851
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
1852
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
1853
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
1854
|
+
resumable: z.ZodBoolean;
|
|
1855
|
+
action: z.ZodEnum<{
|
|
1856
|
+
resume: "resume";
|
|
1857
|
+
manual: "manual";
|
|
1858
|
+
}>;
|
|
1859
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1860
|
+
}, z.core.$strip>>;
|
|
1861
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1862
|
+
acceptance: "acceptance";
|
|
1863
|
+
workspace: "workspace";
|
|
1864
|
+
task: "task";
|
|
1865
|
+
integration: "integration";
|
|
1866
|
+
"agent-contract": "agent-contract";
|
|
1867
|
+
}>>;
|
|
1868
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1869
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1870
|
+
resume: "resume";
|
|
1871
|
+
repair: "repair";
|
|
1872
|
+
manual: "manual";
|
|
1873
|
+
probe: "probe";
|
|
1874
|
+
clarify: "clarify";
|
|
1875
|
+
wait: "wait";
|
|
1876
|
+
terminate: "terminate";
|
|
1877
|
+
}>>;
|
|
1878
|
+
category: z.ZodLiteral<"agent-contract">;
|
|
1879
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1880
|
+
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
1881
|
+
failureId: z.ZodString;
|
|
1882
|
+
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
1883
|
+
taskId: z.core.$ZodBranded<z.ZodString, "TaskId">;
|
|
1884
|
+
summary: z.ZodString;
|
|
1885
|
+
detail: z.ZodString;
|
|
1886
|
+
recoveryPlan: z.ZodString;
|
|
1887
|
+
confidence: z.ZodNumber;
|
|
1888
|
+
relatedEvidenceIds: z.ZodReadonly<z.ZodArray<z.core.$ZodBranded<z.ZodString, "EvidenceId">>>;
|
|
1889
|
+
rootCauseFingerprint: z.ZodOptional<z.ZodString>;
|
|
1890
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
1891
|
+
lastPersistedStage: z.ZodOptional<z.ZodString>;
|
|
1892
|
+
recoveryGuidance: z.ZodOptional<z.ZodObject<{
|
|
1893
|
+
resumable: z.ZodBoolean;
|
|
1894
|
+
action: z.ZodEnum<{
|
|
1895
|
+
resume: "resume";
|
|
1896
|
+
manual: "manual";
|
|
1897
|
+
}>;
|
|
1898
|
+
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1899
|
+
}, z.core.$strip>>;
|
|
1900
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1901
|
+
acceptance: "acceptance";
|
|
1902
|
+
workspace: "workspace";
|
|
1903
|
+
task: "task";
|
|
1904
|
+
integration: "integration";
|
|
1905
|
+
"agent-contract": "agent-contract";
|
|
1906
|
+
}>>;
|
|
1907
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1908
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1909
|
+
resume: "resume";
|
|
1910
|
+
repair: "repair";
|
|
1911
|
+
manual: "manual";
|
|
1912
|
+
probe: "probe";
|
|
1913
|
+
clarify: "clarify";
|
|
1914
|
+
wait: "wait";
|
|
1915
|
+
terminate: "terminate";
|
|
1916
|
+
}>>;
|
|
1457
1917
|
category: z.ZodLiteral<"context-gap">;
|
|
1458
1918
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1459
1919
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1477,6 +1937,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1477
1937
|
}>;
|
|
1478
1938
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1479
1939
|
}, z.core.$strip>>;
|
|
1940
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1941
|
+
acceptance: "acceptance";
|
|
1942
|
+
workspace: "workspace";
|
|
1943
|
+
task: "task";
|
|
1944
|
+
integration: "integration";
|
|
1945
|
+
"agent-contract": "agent-contract";
|
|
1946
|
+
}>>;
|
|
1947
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1948
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1949
|
+
resume: "resume";
|
|
1950
|
+
repair: "repair";
|
|
1951
|
+
manual: "manual";
|
|
1952
|
+
probe: "probe";
|
|
1953
|
+
clarify: "clarify";
|
|
1954
|
+
wait: "wait";
|
|
1955
|
+
terminate: "terminate";
|
|
1956
|
+
}>>;
|
|
1480
1957
|
category: z.ZodLiteral<"requirement-ambiguity">;
|
|
1481
1958
|
blockingQuestionId: z.ZodString;
|
|
1482
1959
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1500,6 +1977,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1500
1977
|
}>;
|
|
1501
1978
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1502
1979
|
}, z.core.$strip>>;
|
|
1980
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1981
|
+
acceptance: "acceptance";
|
|
1982
|
+
workspace: "workspace";
|
|
1983
|
+
task: "task";
|
|
1984
|
+
integration: "integration";
|
|
1985
|
+
"agent-contract": "agent-contract";
|
|
1986
|
+
}>>;
|
|
1987
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1988
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1989
|
+
resume: "resume";
|
|
1990
|
+
repair: "repair";
|
|
1991
|
+
manual: "manual";
|
|
1992
|
+
probe: "probe";
|
|
1993
|
+
clarify: "clarify";
|
|
1994
|
+
wait: "wait";
|
|
1995
|
+
terminate: "terminate";
|
|
1996
|
+
}>>;
|
|
1503
1997
|
category: z.ZodLiteral<"dependency-blocked">;
|
|
1504
1998
|
blockedDependency: z.ZodString;
|
|
1505
1999
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1523,6 +2017,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1523
2017
|
}>;
|
|
1524
2018
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1525
2019
|
}, z.core.$strip>>;
|
|
2020
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2021
|
+
acceptance: "acceptance";
|
|
2022
|
+
workspace: "workspace";
|
|
2023
|
+
task: "task";
|
|
2024
|
+
integration: "integration";
|
|
2025
|
+
"agent-contract": "agent-contract";
|
|
2026
|
+
}>>;
|
|
2027
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2028
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2029
|
+
resume: "resume";
|
|
2030
|
+
repair: "repair";
|
|
2031
|
+
manual: "manual";
|
|
2032
|
+
probe: "probe";
|
|
2033
|
+
clarify: "clarify";
|
|
2034
|
+
wait: "wait";
|
|
2035
|
+
terminate: "terminate";
|
|
2036
|
+
}>>;
|
|
1526
2037
|
category: z.ZodLiteral<"implementation-defect">;
|
|
1527
2038
|
failingEvidenceId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "EvidenceId">>;
|
|
1528
2039
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1546,6 +2057,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1546
2057
|
}>;
|
|
1547
2058
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1548
2059
|
}, z.core.$strip>>;
|
|
2060
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2061
|
+
acceptance: "acceptance";
|
|
2062
|
+
workspace: "workspace";
|
|
2063
|
+
task: "task";
|
|
2064
|
+
integration: "integration";
|
|
2065
|
+
"agent-contract": "agent-contract";
|
|
2066
|
+
}>>;
|
|
2067
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2068
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2069
|
+
resume: "resume";
|
|
2070
|
+
repair: "repair";
|
|
2071
|
+
manual: "manual";
|
|
2072
|
+
probe: "probe";
|
|
2073
|
+
clarify: "clarify";
|
|
2074
|
+
wait: "wait";
|
|
2075
|
+
terminate: "terminate";
|
|
2076
|
+
}>>;
|
|
1549
2077
|
category: z.ZodLiteral<"verification-environment">;
|
|
1550
2078
|
verificationCommandName: z.ZodString;
|
|
1551
2079
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1569,6 +2097,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1569
2097
|
}>;
|
|
1570
2098
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1571
2099
|
}, z.core.$strip>>;
|
|
2100
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2101
|
+
acceptance: "acceptance";
|
|
2102
|
+
workspace: "workspace";
|
|
2103
|
+
task: "task";
|
|
2104
|
+
integration: "integration";
|
|
2105
|
+
"agent-contract": "agent-contract";
|
|
2106
|
+
}>>;
|
|
2107
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2108
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2109
|
+
resume: "resume";
|
|
2110
|
+
repair: "repair";
|
|
2111
|
+
manual: "manual";
|
|
2112
|
+
probe: "probe";
|
|
2113
|
+
clarify: "clarify";
|
|
2114
|
+
wait: "wait";
|
|
2115
|
+
terminate: "terminate";
|
|
2116
|
+
}>>;
|
|
1572
2117
|
category: z.ZodLiteral<"scope-drift">;
|
|
1573
2118
|
driftedPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1574
2119
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1592,6 +2137,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1592
2137
|
}>;
|
|
1593
2138
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1594
2139
|
}, z.core.$strip>>;
|
|
2140
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2141
|
+
acceptance: "acceptance";
|
|
2142
|
+
workspace: "workspace";
|
|
2143
|
+
task: "task";
|
|
2144
|
+
integration: "integration";
|
|
2145
|
+
"agent-contract": "agent-contract";
|
|
2146
|
+
}>>;
|
|
2147
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2148
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2149
|
+
resume: "resume";
|
|
2150
|
+
repair: "repair";
|
|
2151
|
+
manual: "manual";
|
|
2152
|
+
probe: "probe";
|
|
2153
|
+
clarify: "clarify";
|
|
2154
|
+
wait: "wait";
|
|
2155
|
+
terminate: "terminate";
|
|
2156
|
+
}>>;
|
|
1595
2157
|
category: z.ZodLiteral<"merge-conflict">;
|
|
1596
2158
|
conflictingPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1597
2159
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1615,6 +2177,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1615
2177
|
}>;
|
|
1616
2178
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1617
2179
|
}, z.core.$strip>>;
|
|
2180
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2181
|
+
acceptance: "acceptance";
|
|
2182
|
+
workspace: "workspace";
|
|
2183
|
+
task: "task";
|
|
2184
|
+
integration: "integration";
|
|
2185
|
+
"agent-contract": "agent-contract";
|
|
2186
|
+
}>>;
|
|
2187
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2188
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2189
|
+
resume: "resume";
|
|
2190
|
+
repair: "repair";
|
|
2191
|
+
manual: "manual";
|
|
2192
|
+
probe: "probe";
|
|
2193
|
+
clarify: "clarify";
|
|
2194
|
+
wait: "wait";
|
|
2195
|
+
terminate: "terminate";
|
|
2196
|
+
}>>;
|
|
1618
2197
|
category: z.ZodLiteral<"model-failure">;
|
|
1619
2198
|
provider: z.ZodString;
|
|
1620
2199
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1638,6 +2217,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1638
2217
|
}>;
|
|
1639
2218
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1640
2219
|
}, z.core.$strip>>;
|
|
2220
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2221
|
+
acceptance: "acceptance";
|
|
2222
|
+
workspace: "workspace";
|
|
2223
|
+
task: "task";
|
|
2224
|
+
integration: "integration";
|
|
2225
|
+
"agent-contract": "agent-contract";
|
|
2226
|
+
}>>;
|
|
2227
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2228
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2229
|
+
resume: "resume";
|
|
2230
|
+
repair: "repair";
|
|
2231
|
+
manual: "manual";
|
|
2232
|
+
probe: "probe";
|
|
2233
|
+
clarify: "clarify";
|
|
2234
|
+
wait: "wait";
|
|
2235
|
+
terminate: "terminate";
|
|
2236
|
+
}>>;
|
|
1641
2237
|
category: z.ZodLiteral<"acceptance-failure">;
|
|
1642
2238
|
failingEvidenceId: z.core.$ZodBranded<z.ZodString, "EvidenceId">;
|
|
1643
2239
|
}, z.core.$strip>>]>>>>;
|
|
@@ -1781,10 +2377,21 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1781
2377
|
evidence_gap: "evidence_gap";
|
|
1782
2378
|
clarification_required: "clarification_required";
|
|
1783
2379
|
env_blocked: "env_blocked";
|
|
2380
|
+
paused: "paused";
|
|
1784
2381
|
}>;
|
|
1785
2382
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1786
2383
|
discoveredEvidence: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1787
2384
|
nextActions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2385
|
+
failureIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
2386
|
+
criterionIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
2387
|
+
allowedOperations: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2388
|
+
pause: "pause";
|
|
2389
|
+
resume: "resume";
|
|
2390
|
+
answer: "answer";
|
|
2391
|
+
cancel: "cancel";
|
|
2392
|
+
report: "report";
|
|
2393
|
+
waive: "waive";
|
|
2394
|
+
}>>>>;
|
|
1788
2395
|
}, z.core.$strip>>>;
|
|
1789
2396
|
workspace: z.ZodDefault<z.ZodReadonly<z.ZodObject<{
|
|
1790
2397
|
repositoryId: z.ZodOptional<z.ZodString>;
|