harness-engineering-agent 0.3.32 → 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 +4 -4
- 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/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 +1 -0
- package/dist/controller/run-controller.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/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 +221 -0
- package/dist/domain/failure.d.ts.map +1 -1
- package/dist/domain/failure.js +5 -0
- package/dist/domain/failure.js.map +1 -1
- package/dist/domain/report.d.ts +464 -0
- package/dist/domain/report.d.ts.map +1 -1
- package/dist/domain/run.d.ts +475 -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/store/run-event.d.ts +464 -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,23 @@ 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
|
+
}>>;
|
|
408
453
|
category: z.ZodLiteral<"verifier-contract">;
|
|
409
454
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
410
455
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -427,6 +472,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
427
472
|
}>;
|
|
428
473
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
429
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
|
+
}>>;
|
|
430
492
|
category: z.ZodLiteral<"worker-contract">;
|
|
431
493
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
432
494
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -449,6 +511,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
449
511
|
}>;
|
|
450
512
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
451
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
|
+
}>>;
|
|
452
531
|
category: z.ZodLiteral<"agent-contract">;
|
|
453
532
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
454
533
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -471,6 +550,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
471
550
|
}>;
|
|
472
551
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
473
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
|
+
}>>;
|
|
474
570
|
category: z.ZodLiteral<"context-gap">;
|
|
475
571
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
476
572
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -494,6 +590,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
494
590
|
}>;
|
|
495
591
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
496
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
|
+
}>>;
|
|
497
610
|
category: z.ZodLiteral<"requirement-ambiguity">;
|
|
498
611
|
blockingQuestionId: z.ZodString;
|
|
499
612
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -517,6 +630,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
517
630
|
}>;
|
|
518
631
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
519
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
|
+
}>>;
|
|
520
650
|
category: z.ZodLiteral<"dependency-blocked">;
|
|
521
651
|
blockedDependency: z.ZodString;
|
|
522
652
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -540,6 +670,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
540
670
|
}>;
|
|
541
671
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
542
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
|
+
}>>;
|
|
543
690
|
category: z.ZodLiteral<"implementation-defect">;
|
|
544
691
|
failingEvidenceId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "EvidenceId">>;
|
|
545
692
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -563,6 +710,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
563
710
|
}>;
|
|
564
711
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
565
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
|
+
}>>;
|
|
566
730
|
category: z.ZodLiteral<"verification-environment">;
|
|
567
731
|
verificationCommandName: z.ZodString;
|
|
568
732
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -586,6 +750,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
586
750
|
}>;
|
|
587
751
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
588
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
|
+
}>>;
|
|
589
770
|
category: z.ZodLiteral<"scope-drift">;
|
|
590
771
|
driftedPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
591
772
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -609,6 +790,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
609
790
|
}>;
|
|
610
791
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
611
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
|
+
}>>;
|
|
612
810
|
category: z.ZodLiteral<"merge-conflict">;
|
|
613
811
|
conflictingPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
614
812
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -632,6 +830,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
632
830
|
}>;
|
|
633
831
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
634
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
|
+
}>>;
|
|
635
850
|
category: z.ZodLiteral<"model-failure">;
|
|
636
851
|
provider: z.ZodString;
|
|
637
852
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -655,6 +870,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
655
870
|
}>;
|
|
656
871
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
657
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
|
+
}>>;
|
|
658
890
|
category: z.ZodLiteral<"acceptance-failure">;
|
|
659
891
|
failingEvidenceId: z.core.$ZodBranded<z.ZodString, "EvidenceId">;
|
|
660
892
|
}, z.core.$strip>>]>>>>;
|
|
@@ -798,10 +1030,21 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
798
1030
|
evidence_gap: "evidence_gap";
|
|
799
1031
|
clarification_required: "clarification_required";
|
|
800
1032
|
env_blocked: "env_blocked";
|
|
1033
|
+
paused: "paused";
|
|
801
1034
|
}>;
|
|
802
1035
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
803
1036
|
discoveredEvidence: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
804
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
|
+
}>>>>;
|
|
805
1048
|
}, z.core.$strip>>>;
|
|
806
1049
|
workspace: z.ZodDefault<z.ZodReadonly<z.ZodObject<{
|
|
807
1050
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
@@ -1498,6 +1741,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1498
1741
|
}>;
|
|
1499
1742
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1500
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
|
+
}>>;
|
|
1501
1761
|
category: z.ZodLiteral<"planner-contract">;
|
|
1502
1762
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1503
1763
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1520,6 +1780,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1520
1780
|
}>;
|
|
1521
1781
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1522
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
|
+
}>>;
|
|
1523
1800
|
category: z.ZodLiteral<"verifier-contract">;
|
|
1524
1801
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1525
1802
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1542,6 +1819,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1542
1819
|
}>;
|
|
1543
1820
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1544
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
|
+
}>>;
|
|
1545
1839
|
category: z.ZodLiteral<"worker-contract">;
|
|
1546
1840
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1547
1841
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1564,6 +1858,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1564
1858
|
}>;
|
|
1565
1859
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1566
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
|
+
}>>;
|
|
1567
1878
|
category: z.ZodLiteral<"agent-contract">;
|
|
1568
1879
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1569
1880
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1586,6 +1897,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1586
1897
|
}>;
|
|
1587
1898
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1588
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
|
+
}>>;
|
|
1589
1917
|
category: z.ZodLiteral<"context-gap">;
|
|
1590
1918
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1591
1919
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1609,6 +1937,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1609
1937
|
}>;
|
|
1610
1938
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1611
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
|
+
}>>;
|
|
1612
1957
|
category: z.ZodLiteral<"requirement-ambiguity">;
|
|
1613
1958
|
blockingQuestionId: z.ZodString;
|
|
1614
1959
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1632,6 +1977,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1632
1977
|
}>;
|
|
1633
1978
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1634
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
|
+
}>>;
|
|
1635
1997
|
category: z.ZodLiteral<"dependency-blocked">;
|
|
1636
1998
|
blockedDependency: z.ZodString;
|
|
1637
1999
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1655,6 +2017,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1655
2017
|
}>;
|
|
1656
2018
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1657
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
|
+
}>>;
|
|
1658
2037
|
category: z.ZodLiteral<"implementation-defect">;
|
|
1659
2038
|
failingEvidenceId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "EvidenceId">>;
|
|
1660
2039
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1678,6 +2057,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1678
2057
|
}>;
|
|
1679
2058
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1680
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
|
+
}>>;
|
|
1681
2077
|
category: z.ZodLiteral<"verification-environment">;
|
|
1682
2078
|
verificationCommandName: z.ZodString;
|
|
1683
2079
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1701,6 +2097,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1701
2097
|
}>;
|
|
1702
2098
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1703
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
|
+
}>>;
|
|
1704
2117
|
category: z.ZodLiteral<"scope-drift">;
|
|
1705
2118
|
driftedPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1706
2119
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1724,6 +2137,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1724
2137
|
}>;
|
|
1725
2138
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1726
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
|
+
}>>;
|
|
1727
2157
|
category: z.ZodLiteral<"merge-conflict">;
|
|
1728
2158
|
conflictingPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1729
2159
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1747,6 +2177,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1747
2177
|
}>;
|
|
1748
2178
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1749
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
|
+
}>>;
|
|
1750
2197
|
category: z.ZodLiteral<"model-failure">;
|
|
1751
2198
|
provider: z.ZodString;
|
|
1752
2199
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1770,6 +2217,23 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1770
2217
|
}>;
|
|
1771
2218
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1772
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
|
+
}>>;
|
|
1773
2237
|
category: z.ZodLiteral<"acceptance-failure">;
|
|
1774
2238
|
failingEvidenceId: z.core.$ZodBranded<z.ZodString, "EvidenceId">;
|
|
1775
2239
|
}, z.core.$strip>>]>>>>;
|
|
@@ -1913,10 +2377,21 @@ export declare const RunSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.Zo
|
|
|
1913
2377
|
evidence_gap: "evidence_gap";
|
|
1914
2378
|
clarification_required: "clarification_required";
|
|
1915
2379
|
env_blocked: "env_blocked";
|
|
2380
|
+
paused: "paused";
|
|
1916
2381
|
}>;
|
|
1917
2382
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1918
2383
|
discoveredEvidence: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1919
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
|
+
}>>>>;
|
|
1920
2395
|
}, z.core.$strip>>>;
|
|
1921
2396
|
workspace: z.ZodDefault<z.ZodReadonly<z.ZodObject<{
|
|
1922
2397
|
repositoryId: z.ZodOptional<z.ZodString>;
|