harness-engineering-agent 0.3.32 → 0.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -6
- package/dist/agent/harness-role-capability-directory-data.d.ts.map +1 -1
- package/dist/agent/harness-role-capability-directory-data.js +2 -3
- 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.d.ts +1 -0
- package/dist/controller/route-resolver.d.ts.map +1 -1
- package/dist/controller/route-resolver.js +6 -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 +278 -100
- 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 +470 -0
- package/dist/domain/report.d.ts.map +1 -1
- package/dist/domain/run.d.ts +481 -0
- package/dist/domain/run.d.ts.map +1 -1
- package/dist/domain/run.js +9 -1
- package/dist/domain/run.js.map +1 -1
- package/dist/plugin/harness-chat-hook.d.ts +1 -0
- package/dist/plugin/harness-chat-hook.d.ts.map +1 -1
- package/dist/plugin/harness-chat-hook.js +18 -2
- package/dist/plugin/harness-chat-hook.js.map +1 -1
- package/dist/plugin/harness-chat-protocol.d.ts.map +1 -1
- package/dist/plugin/harness-chat-protocol.js +1 -1
- package/dist/plugin/harness-chat-protocol.js.map +1 -1
- package/dist/plugin/harness-coordinator.d.ts.map +1 -1
- package/dist/plugin/harness-coordinator.js +14 -3
- package/dist/plugin/harness-coordinator.js.map +1 -1
- package/dist/plugin/harness-escalate-tool.d.ts.map +1 -1
- package/dist/plugin/harness-escalate-tool.js +16 -2
- package/dist/plugin/harness-escalate-tool.js.map +1 -1
- package/dist/plugin/harness-request-router.d.ts +13 -0
- package/dist/plugin/harness-request-router.d.ts.map +1 -1
- package/dist/plugin/harness-request-router.js +26 -0
- package/dist/plugin/harness-request-router.js.map +1 -1
- package/dist/store/run-event.d.ts +470 -0
- package/dist/store/run-event.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/domain/report.d.ts
CHANGED
|
@@ -185,6 +185,9 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
185
185
|
}, z.core.$strip>>;
|
|
186
186
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
187
187
|
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
188
|
+
executionKind: z.ZodDefault<z.ZodEnum<{
|
|
189
|
+
engineering_task: "engineering_task";
|
|
190
|
+
}>>;
|
|
188
191
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
189
192
|
supersedesRunId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RunId">>;
|
|
190
193
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
@@ -339,6 +342,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
339
342
|
}>;
|
|
340
343
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
341
344
|
}, z.core.$strip>>;
|
|
345
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
346
|
+
acceptance: "acceptance";
|
|
347
|
+
workspace: "workspace";
|
|
348
|
+
task: "task";
|
|
349
|
+
integration: "integration";
|
|
350
|
+
"agent-contract": "agent-contract";
|
|
351
|
+
}>>;
|
|
352
|
+
source: z.ZodOptional<z.ZodString>;
|
|
353
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
354
|
+
resume: "resume";
|
|
355
|
+
repair: "repair";
|
|
356
|
+
manual: "manual";
|
|
357
|
+
probe: "probe";
|
|
358
|
+
clarify: "clarify";
|
|
359
|
+
wait: "wait";
|
|
360
|
+
terminate: "terminate";
|
|
361
|
+
}>>;
|
|
342
362
|
category: z.ZodLiteral<"planner-contract">;
|
|
343
363
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
344
364
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -361,6 +381,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
361
381
|
}>;
|
|
362
382
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
363
383
|
}, z.core.$strip>>;
|
|
384
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
385
|
+
acceptance: "acceptance";
|
|
386
|
+
workspace: "workspace";
|
|
387
|
+
task: "task";
|
|
388
|
+
integration: "integration";
|
|
389
|
+
"agent-contract": "agent-contract";
|
|
390
|
+
}>>;
|
|
391
|
+
source: z.ZodOptional<z.ZodString>;
|
|
392
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
393
|
+
resume: "resume";
|
|
394
|
+
repair: "repair";
|
|
395
|
+
manual: "manual";
|
|
396
|
+
probe: "probe";
|
|
397
|
+
clarify: "clarify";
|
|
398
|
+
wait: "wait";
|
|
399
|
+
terminate: "terminate";
|
|
400
|
+
}>>;
|
|
364
401
|
category: z.ZodLiteral<"verifier-contract">;
|
|
365
402
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
366
403
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -383,6 +420,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
383
420
|
}>;
|
|
384
421
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
385
422
|
}, z.core.$strip>>;
|
|
423
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
424
|
+
acceptance: "acceptance";
|
|
425
|
+
workspace: "workspace";
|
|
426
|
+
task: "task";
|
|
427
|
+
integration: "integration";
|
|
428
|
+
"agent-contract": "agent-contract";
|
|
429
|
+
}>>;
|
|
430
|
+
source: z.ZodOptional<z.ZodString>;
|
|
431
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
432
|
+
resume: "resume";
|
|
433
|
+
repair: "repair";
|
|
434
|
+
manual: "manual";
|
|
435
|
+
probe: "probe";
|
|
436
|
+
clarify: "clarify";
|
|
437
|
+
wait: "wait";
|
|
438
|
+
terminate: "terminate";
|
|
439
|
+
}>>;
|
|
386
440
|
category: z.ZodLiteral<"worker-contract">;
|
|
387
441
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
388
442
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -405,6 +459,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
405
459
|
}>;
|
|
406
460
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
407
461
|
}, z.core.$strip>>;
|
|
462
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
463
|
+
acceptance: "acceptance";
|
|
464
|
+
workspace: "workspace";
|
|
465
|
+
task: "task";
|
|
466
|
+
integration: "integration";
|
|
467
|
+
"agent-contract": "agent-contract";
|
|
468
|
+
}>>;
|
|
469
|
+
source: z.ZodOptional<z.ZodString>;
|
|
470
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
471
|
+
resume: "resume";
|
|
472
|
+
repair: "repair";
|
|
473
|
+
manual: "manual";
|
|
474
|
+
probe: "probe";
|
|
475
|
+
clarify: "clarify";
|
|
476
|
+
wait: "wait";
|
|
477
|
+
terminate: "terminate";
|
|
478
|
+
}>>;
|
|
408
479
|
category: z.ZodLiteral<"agent-contract">;
|
|
409
480
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
410
481
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -427,6 +498,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
427
498
|
}>;
|
|
428
499
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
429
500
|
}, z.core.$strip>>;
|
|
501
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
502
|
+
acceptance: "acceptance";
|
|
503
|
+
workspace: "workspace";
|
|
504
|
+
task: "task";
|
|
505
|
+
integration: "integration";
|
|
506
|
+
"agent-contract": "agent-contract";
|
|
507
|
+
}>>;
|
|
508
|
+
source: z.ZodOptional<z.ZodString>;
|
|
509
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
510
|
+
resume: "resume";
|
|
511
|
+
repair: "repair";
|
|
512
|
+
manual: "manual";
|
|
513
|
+
probe: "probe";
|
|
514
|
+
clarify: "clarify";
|
|
515
|
+
wait: "wait";
|
|
516
|
+
terminate: "terminate";
|
|
517
|
+
}>>;
|
|
430
518
|
category: z.ZodLiteral<"context-gap">;
|
|
431
519
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
432
520
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -450,6 +538,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
450
538
|
}>;
|
|
451
539
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
452
540
|
}, z.core.$strip>>;
|
|
541
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
542
|
+
acceptance: "acceptance";
|
|
543
|
+
workspace: "workspace";
|
|
544
|
+
task: "task";
|
|
545
|
+
integration: "integration";
|
|
546
|
+
"agent-contract": "agent-contract";
|
|
547
|
+
}>>;
|
|
548
|
+
source: z.ZodOptional<z.ZodString>;
|
|
549
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
550
|
+
resume: "resume";
|
|
551
|
+
repair: "repair";
|
|
552
|
+
manual: "manual";
|
|
553
|
+
probe: "probe";
|
|
554
|
+
clarify: "clarify";
|
|
555
|
+
wait: "wait";
|
|
556
|
+
terminate: "terminate";
|
|
557
|
+
}>>;
|
|
453
558
|
category: z.ZodLiteral<"requirement-ambiguity">;
|
|
454
559
|
blockingQuestionId: z.ZodString;
|
|
455
560
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -473,6 +578,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
473
578
|
}>;
|
|
474
579
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
475
580
|
}, z.core.$strip>>;
|
|
581
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
582
|
+
acceptance: "acceptance";
|
|
583
|
+
workspace: "workspace";
|
|
584
|
+
task: "task";
|
|
585
|
+
integration: "integration";
|
|
586
|
+
"agent-contract": "agent-contract";
|
|
587
|
+
}>>;
|
|
588
|
+
source: z.ZodOptional<z.ZodString>;
|
|
589
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
590
|
+
resume: "resume";
|
|
591
|
+
repair: "repair";
|
|
592
|
+
manual: "manual";
|
|
593
|
+
probe: "probe";
|
|
594
|
+
clarify: "clarify";
|
|
595
|
+
wait: "wait";
|
|
596
|
+
terminate: "terminate";
|
|
597
|
+
}>>;
|
|
476
598
|
category: z.ZodLiteral<"dependency-blocked">;
|
|
477
599
|
blockedDependency: z.ZodString;
|
|
478
600
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -496,6 +618,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
496
618
|
}>;
|
|
497
619
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
498
620
|
}, z.core.$strip>>;
|
|
621
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
622
|
+
acceptance: "acceptance";
|
|
623
|
+
workspace: "workspace";
|
|
624
|
+
task: "task";
|
|
625
|
+
integration: "integration";
|
|
626
|
+
"agent-contract": "agent-contract";
|
|
627
|
+
}>>;
|
|
628
|
+
source: z.ZodOptional<z.ZodString>;
|
|
629
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
630
|
+
resume: "resume";
|
|
631
|
+
repair: "repair";
|
|
632
|
+
manual: "manual";
|
|
633
|
+
probe: "probe";
|
|
634
|
+
clarify: "clarify";
|
|
635
|
+
wait: "wait";
|
|
636
|
+
terminate: "terminate";
|
|
637
|
+
}>>;
|
|
499
638
|
category: z.ZodLiteral<"implementation-defect">;
|
|
500
639
|
failingEvidenceId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "EvidenceId">>;
|
|
501
640
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -519,6 +658,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
519
658
|
}>;
|
|
520
659
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
521
660
|
}, z.core.$strip>>;
|
|
661
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
662
|
+
acceptance: "acceptance";
|
|
663
|
+
workspace: "workspace";
|
|
664
|
+
task: "task";
|
|
665
|
+
integration: "integration";
|
|
666
|
+
"agent-contract": "agent-contract";
|
|
667
|
+
}>>;
|
|
668
|
+
source: z.ZodOptional<z.ZodString>;
|
|
669
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
670
|
+
resume: "resume";
|
|
671
|
+
repair: "repair";
|
|
672
|
+
manual: "manual";
|
|
673
|
+
probe: "probe";
|
|
674
|
+
clarify: "clarify";
|
|
675
|
+
wait: "wait";
|
|
676
|
+
terminate: "terminate";
|
|
677
|
+
}>>;
|
|
522
678
|
category: z.ZodLiteral<"verification-environment">;
|
|
523
679
|
verificationCommandName: z.ZodString;
|
|
524
680
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -542,6 +698,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
542
698
|
}>;
|
|
543
699
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
544
700
|
}, z.core.$strip>>;
|
|
701
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
702
|
+
acceptance: "acceptance";
|
|
703
|
+
workspace: "workspace";
|
|
704
|
+
task: "task";
|
|
705
|
+
integration: "integration";
|
|
706
|
+
"agent-contract": "agent-contract";
|
|
707
|
+
}>>;
|
|
708
|
+
source: z.ZodOptional<z.ZodString>;
|
|
709
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
710
|
+
resume: "resume";
|
|
711
|
+
repair: "repair";
|
|
712
|
+
manual: "manual";
|
|
713
|
+
probe: "probe";
|
|
714
|
+
clarify: "clarify";
|
|
715
|
+
wait: "wait";
|
|
716
|
+
terminate: "terminate";
|
|
717
|
+
}>>;
|
|
545
718
|
category: z.ZodLiteral<"scope-drift">;
|
|
546
719
|
driftedPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
547
720
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -565,6 +738,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
565
738
|
}>;
|
|
566
739
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
567
740
|
}, z.core.$strip>>;
|
|
741
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
742
|
+
acceptance: "acceptance";
|
|
743
|
+
workspace: "workspace";
|
|
744
|
+
task: "task";
|
|
745
|
+
integration: "integration";
|
|
746
|
+
"agent-contract": "agent-contract";
|
|
747
|
+
}>>;
|
|
748
|
+
source: z.ZodOptional<z.ZodString>;
|
|
749
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
750
|
+
resume: "resume";
|
|
751
|
+
repair: "repair";
|
|
752
|
+
manual: "manual";
|
|
753
|
+
probe: "probe";
|
|
754
|
+
clarify: "clarify";
|
|
755
|
+
wait: "wait";
|
|
756
|
+
terminate: "terminate";
|
|
757
|
+
}>>;
|
|
568
758
|
category: z.ZodLiteral<"merge-conflict">;
|
|
569
759
|
conflictingPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
570
760
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -588,6 +778,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
588
778
|
}>;
|
|
589
779
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
590
780
|
}, z.core.$strip>>;
|
|
781
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
782
|
+
acceptance: "acceptance";
|
|
783
|
+
workspace: "workspace";
|
|
784
|
+
task: "task";
|
|
785
|
+
integration: "integration";
|
|
786
|
+
"agent-contract": "agent-contract";
|
|
787
|
+
}>>;
|
|
788
|
+
source: z.ZodOptional<z.ZodString>;
|
|
789
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
790
|
+
resume: "resume";
|
|
791
|
+
repair: "repair";
|
|
792
|
+
manual: "manual";
|
|
793
|
+
probe: "probe";
|
|
794
|
+
clarify: "clarify";
|
|
795
|
+
wait: "wait";
|
|
796
|
+
terminate: "terminate";
|
|
797
|
+
}>>;
|
|
591
798
|
category: z.ZodLiteral<"model-failure">;
|
|
592
799
|
provider: z.ZodString;
|
|
593
800
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -611,6 +818,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
611
818
|
}>;
|
|
612
819
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
613
820
|
}, z.core.$strip>>;
|
|
821
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
822
|
+
acceptance: "acceptance";
|
|
823
|
+
workspace: "workspace";
|
|
824
|
+
task: "task";
|
|
825
|
+
integration: "integration";
|
|
826
|
+
"agent-contract": "agent-contract";
|
|
827
|
+
}>>;
|
|
828
|
+
source: z.ZodOptional<z.ZodString>;
|
|
829
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
830
|
+
resume: "resume";
|
|
831
|
+
repair: "repair";
|
|
832
|
+
manual: "manual";
|
|
833
|
+
probe: "probe";
|
|
834
|
+
clarify: "clarify";
|
|
835
|
+
wait: "wait";
|
|
836
|
+
terminate: "terminate";
|
|
837
|
+
}>>;
|
|
614
838
|
category: z.ZodLiteral<"acceptance-failure">;
|
|
615
839
|
failingEvidenceId: z.core.$ZodBranded<z.ZodString, "EvidenceId">;
|
|
616
840
|
}, z.core.$strip>>]>>>>;
|
|
@@ -754,10 +978,21 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
754
978
|
evidence_gap: "evidence_gap";
|
|
755
979
|
clarification_required: "clarification_required";
|
|
756
980
|
env_blocked: "env_blocked";
|
|
981
|
+
paused: "paused";
|
|
757
982
|
}>;
|
|
758
983
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
759
984
|
discoveredEvidence: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
760
985
|
nextActions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
986
|
+
failureIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
987
|
+
criterionIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
988
|
+
allowedOperations: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
989
|
+
pause: "pause";
|
|
990
|
+
resume: "resume";
|
|
991
|
+
answer: "answer";
|
|
992
|
+
cancel: "cancel";
|
|
993
|
+
report: "report";
|
|
994
|
+
waive: "waive";
|
|
995
|
+
}>>>>;
|
|
761
996
|
}, z.core.$strip>>>;
|
|
762
997
|
workspace: z.ZodDefault<z.ZodReadonly<z.ZodObject<{
|
|
763
998
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
@@ -1300,6 +1535,9 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1300
1535
|
}>;
|
|
1301
1536
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
1302
1537
|
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
1538
|
+
executionKind: z.ZodDefault<z.ZodEnum<{
|
|
1539
|
+
engineering_task: "engineering_task";
|
|
1540
|
+
}>>;
|
|
1303
1541
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
1304
1542
|
supersedesRunId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RunId">>;
|
|
1305
1543
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
@@ -1454,6 +1692,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1454
1692
|
}>;
|
|
1455
1693
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1456
1694
|
}, z.core.$strip>>;
|
|
1695
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1696
|
+
acceptance: "acceptance";
|
|
1697
|
+
workspace: "workspace";
|
|
1698
|
+
task: "task";
|
|
1699
|
+
integration: "integration";
|
|
1700
|
+
"agent-contract": "agent-contract";
|
|
1701
|
+
}>>;
|
|
1702
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1704
|
+
resume: "resume";
|
|
1705
|
+
repair: "repair";
|
|
1706
|
+
manual: "manual";
|
|
1707
|
+
probe: "probe";
|
|
1708
|
+
clarify: "clarify";
|
|
1709
|
+
wait: "wait";
|
|
1710
|
+
terminate: "terminate";
|
|
1711
|
+
}>>;
|
|
1457
1712
|
category: z.ZodLiteral<"planner-contract">;
|
|
1458
1713
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1459
1714
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1476,6 +1731,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1476
1731
|
}>;
|
|
1477
1732
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1478
1733
|
}, z.core.$strip>>;
|
|
1734
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1735
|
+
acceptance: "acceptance";
|
|
1736
|
+
workspace: "workspace";
|
|
1737
|
+
task: "task";
|
|
1738
|
+
integration: "integration";
|
|
1739
|
+
"agent-contract": "agent-contract";
|
|
1740
|
+
}>>;
|
|
1741
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1742
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1743
|
+
resume: "resume";
|
|
1744
|
+
repair: "repair";
|
|
1745
|
+
manual: "manual";
|
|
1746
|
+
probe: "probe";
|
|
1747
|
+
clarify: "clarify";
|
|
1748
|
+
wait: "wait";
|
|
1749
|
+
terminate: "terminate";
|
|
1750
|
+
}>>;
|
|
1479
1751
|
category: z.ZodLiteral<"verifier-contract">;
|
|
1480
1752
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1481
1753
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1498,6 +1770,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1498
1770
|
}>;
|
|
1499
1771
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1500
1772
|
}, z.core.$strip>>;
|
|
1773
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1774
|
+
acceptance: "acceptance";
|
|
1775
|
+
workspace: "workspace";
|
|
1776
|
+
task: "task";
|
|
1777
|
+
integration: "integration";
|
|
1778
|
+
"agent-contract": "agent-contract";
|
|
1779
|
+
}>>;
|
|
1780
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1781
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1782
|
+
resume: "resume";
|
|
1783
|
+
repair: "repair";
|
|
1784
|
+
manual: "manual";
|
|
1785
|
+
probe: "probe";
|
|
1786
|
+
clarify: "clarify";
|
|
1787
|
+
wait: "wait";
|
|
1788
|
+
terminate: "terminate";
|
|
1789
|
+
}>>;
|
|
1501
1790
|
category: z.ZodLiteral<"worker-contract">;
|
|
1502
1791
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1503
1792
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1520,6 +1809,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1520
1809
|
}>;
|
|
1521
1810
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1522
1811
|
}, z.core.$strip>>;
|
|
1812
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1813
|
+
acceptance: "acceptance";
|
|
1814
|
+
workspace: "workspace";
|
|
1815
|
+
task: "task";
|
|
1816
|
+
integration: "integration";
|
|
1817
|
+
"agent-contract": "agent-contract";
|
|
1818
|
+
}>>;
|
|
1819
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1820
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1821
|
+
resume: "resume";
|
|
1822
|
+
repair: "repair";
|
|
1823
|
+
manual: "manual";
|
|
1824
|
+
probe: "probe";
|
|
1825
|
+
clarify: "clarify";
|
|
1826
|
+
wait: "wait";
|
|
1827
|
+
terminate: "terminate";
|
|
1828
|
+
}>>;
|
|
1523
1829
|
category: z.ZodLiteral<"agent-contract">;
|
|
1524
1830
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1525
1831
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1542,6 +1848,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1542
1848
|
}>;
|
|
1543
1849
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1544
1850
|
}, z.core.$strip>>;
|
|
1851
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1852
|
+
acceptance: "acceptance";
|
|
1853
|
+
workspace: "workspace";
|
|
1854
|
+
task: "task";
|
|
1855
|
+
integration: "integration";
|
|
1856
|
+
"agent-contract": "agent-contract";
|
|
1857
|
+
}>>;
|
|
1858
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1859
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1860
|
+
resume: "resume";
|
|
1861
|
+
repair: "repair";
|
|
1862
|
+
manual: "manual";
|
|
1863
|
+
probe: "probe";
|
|
1864
|
+
clarify: "clarify";
|
|
1865
|
+
wait: "wait";
|
|
1866
|
+
terminate: "terminate";
|
|
1867
|
+
}>>;
|
|
1545
1868
|
category: z.ZodLiteral<"context-gap">;
|
|
1546
1869
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1547
1870
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1565,6 +1888,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1565
1888
|
}>;
|
|
1566
1889
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1567
1890
|
}, z.core.$strip>>;
|
|
1891
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1892
|
+
acceptance: "acceptance";
|
|
1893
|
+
workspace: "workspace";
|
|
1894
|
+
task: "task";
|
|
1895
|
+
integration: "integration";
|
|
1896
|
+
"agent-contract": "agent-contract";
|
|
1897
|
+
}>>;
|
|
1898
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1899
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1900
|
+
resume: "resume";
|
|
1901
|
+
repair: "repair";
|
|
1902
|
+
manual: "manual";
|
|
1903
|
+
probe: "probe";
|
|
1904
|
+
clarify: "clarify";
|
|
1905
|
+
wait: "wait";
|
|
1906
|
+
terminate: "terminate";
|
|
1907
|
+
}>>;
|
|
1568
1908
|
category: z.ZodLiteral<"requirement-ambiguity">;
|
|
1569
1909
|
blockingQuestionId: z.ZodString;
|
|
1570
1910
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1588,6 +1928,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1588
1928
|
}>;
|
|
1589
1929
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1590
1930
|
}, z.core.$strip>>;
|
|
1931
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1932
|
+
acceptance: "acceptance";
|
|
1933
|
+
workspace: "workspace";
|
|
1934
|
+
task: "task";
|
|
1935
|
+
integration: "integration";
|
|
1936
|
+
"agent-contract": "agent-contract";
|
|
1937
|
+
}>>;
|
|
1938
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1939
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1940
|
+
resume: "resume";
|
|
1941
|
+
repair: "repair";
|
|
1942
|
+
manual: "manual";
|
|
1943
|
+
probe: "probe";
|
|
1944
|
+
clarify: "clarify";
|
|
1945
|
+
wait: "wait";
|
|
1946
|
+
terminate: "terminate";
|
|
1947
|
+
}>>;
|
|
1591
1948
|
category: z.ZodLiteral<"dependency-blocked">;
|
|
1592
1949
|
blockedDependency: z.ZodString;
|
|
1593
1950
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1611,6 +1968,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1611
1968
|
}>;
|
|
1612
1969
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1613
1970
|
}, z.core.$strip>>;
|
|
1971
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1972
|
+
acceptance: "acceptance";
|
|
1973
|
+
workspace: "workspace";
|
|
1974
|
+
task: "task";
|
|
1975
|
+
integration: "integration";
|
|
1976
|
+
"agent-contract": "agent-contract";
|
|
1977
|
+
}>>;
|
|
1978
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1979
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1980
|
+
resume: "resume";
|
|
1981
|
+
repair: "repair";
|
|
1982
|
+
manual: "manual";
|
|
1983
|
+
probe: "probe";
|
|
1984
|
+
clarify: "clarify";
|
|
1985
|
+
wait: "wait";
|
|
1986
|
+
terminate: "terminate";
|
|
1987
|
+
}>>;
|
|
1614
1988
|
category: z.ZodLiteral<"implementation-defect">;
|
|
1615
1989
|
failingEvidenceId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "EvidenceId">>;
|
|
1616
1990
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1634,6 +2008,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1634
2008
|
}>;
|
|
1635
2009
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1636
2010
|
}, z.core.$strip>>;
|
|
2011
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2012
|
+
acceptance: "acceptance";
|
|
2013
|
+
workspace: "workspace";
|
|
2014
|
+
task: "task";
|
|
2015
|
+
integration: "integration";
|
|
2016
|
+
"agent-contract": "agent-contract";
|
|
2017
|
+
}>>;
|
|
2018
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2019
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2020
|
+
resume: "resume";
|
|
2021
|
+
repair: "repair";
|
|
2022
|
+
manual: "manual";
|
|
2023
|
+
probe: "probe";
|
|
2024
|
+
clarify: "clarify";
|
|
2025
|
+
wait: "wait";
|
|
2026
|
+
terminate: "terminate";
|
|
2027
|
+
}>>;
|
|
1637
2028
|
category: z.ZodLiteral<"verification-environment">;
|
|
1638
2029
|
verificationCommandName: z.ZodString;
|
|
1639
2030
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1657,6 +2048,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1657
2048
|
}>;
|
|
1658
2049
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1659
2050
|
}, z.core.$strip>>;
|
|
2051
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2052
|
+
acceptance: "acceptance";
|
|
2053
|
+
workspace: "workspace";
|
|
2054
|
+
task: "task";
|
|
2055
|
+
integration: "integration";
|
|
2056
|
+
"agent-contract": "agent-contract";
|
|
2057
|
+
}>>;
|
|
2058
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2060
|
+
resume: "resume";
|
|
2061
|
+
repair: "repair";
|
|
2062
|
+
manual: "manual";
|
|
2063
|
+
probe: "probe";
|
|
2064
|
+
clarify: "clarify";
|
|
2065
|
+
wait: "wait";
|
|
2066
|
+
terminate: "terminate";
|
|
2067
|
+
}>>;
|
|
1660
2068
|
category: z.ZodLiteral<"scope-drift">;
|
|
1661
2069
|
driftedPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1662
2070
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1680,6 +2088,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1680
2088
|
}>;
|
|
1681
2089
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1682
2090
|
}, z.core.$strip>>;
|
|
2091
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2092
|
+
acceptance: "acceptance";
|
|
2093
|
+
workspace: "workspace";
|
|
2094
|
+
task: "task";
|
|
2095
|
+
integration: "integration";
|
|
2096
|
+
"agent-contract": "agent-contract";
|
|
2097
|
+
}>>;
|
|
2098
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2099
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2100
|
+
resume: "resume";
|
|
2101
|
+
repair: "repair";
|
|
2102
|
+
manual: "manual";
|
|
2103
|
+
probe: "probe";
|
|
2104
|
+
clarify: "clarify";
|
|
2105
|
+
wait: "wait";
|
|
2106
|
+
terminate: "terminate";
|
|
2107
|
+
}>>;
|
|
1683
2108
|
category: z.ZodLiteral<"merge-conflict">;
|
|
1684
2109
|
conflictingPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1685
2110
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1703,6 +2128,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1703
2128
|
}>;
|
|
1704
2129
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1705
2130
|
}, z.core.$strip>>;
|
|
2131
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2132
|
+
acceptance: "acceptance";
|
|
2133
|
+
workspace: "workspace";
|
|
2134
|
+
task: "task";
|
|
2135
|
+
integration: "integration";
|
|
2136
|
+
"agent-contract": "agent-contract";
|
|
2137
|
+
}>>;
|
|
2138
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2139
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2140
|
+
resume: "resume";
|
|
2141
|
+
repair: "repair";
|
|
2142
|
+
manual: "manual";
|
|
2143
|
+
probe: "probe";
|
|
2144
|
+
clarify: "clarify";
|
|
2145
|
+
wait: "wait";
|
|
2146
|
+
terminate: "terminate";
|
|
2147
|
+
}>>;
|
|
1706
2148
|
category: z.ZodLiteral<"model-failure">;
|
|
1707
2149
|
provider: z.ZodString;
|
|
1708
2150
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1726,6 +2168,23 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1726
2168
|
}>;
|
|
1727
2169
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1728
2170
|
}, z.core.$strip>>;
|
|
2171
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2172
|
+
acceptance: "acceptance";
|
|
2173
|
+
workspace: "workspace";
|
|
2174
|
+
task: "task";
|
|
2175
|
+
integration: "integration";
|
|
2176
|
+
"agent-contract": "agent-contract";
|
|
2177
|
+
}>>;
|
|
2178
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2179
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2180
|
+
resume: "resume";
|
|
2181
|
+
repair: "repair";
|
|
2182
|
+
manual: "manual";
|
|
2183
|
+
probe: "probe";
|
|
2184
|
+
clarify: "clarify";
|
|
2185
|
+
wait: "wait";
|
|
2186
|
+
terminate: "terminate";
|
|
2187
|
+
}>>;
|
|
1729
2188
|
category: z.ZodLiteral<"acceptance-failure">;
|
|
1730
2189
|
failingEvidenceId: z.core.$ZodBranded<z.ZodString, "EvidenceId">;
|
|
1731
2190
|
}, z.core.$strip>>]>>>>;
|
|
@@ -1869,10 +2328,21 @@ export declare const ReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1869
2328
|
evidence_gap: "evidence_gap";
|
|
1870
2329
|
clarification_required: "clarification_required";
|
|
1871
2330
|
env_blocked: "env_blocked";
|
|
2331
|
+
paused: "paused";
|
|
1872
2332
|
}>;
|
|
1873
2333
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1874
2334
|
discoveredEvidence: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1875
2335
|
nextActions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2336
|
+
failureIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
2337
|
+
criterionIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
2338
|
+
allowedOperations: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2339
|
+
pause: "pause";
|
|
2340
|
+
resume: "resume";
|
|
2341
|
+
answer: "answer";
|
|
2342
|
+
cancel: "cancel";
|
|
2343
|
+
report: "report";
|
|
2344
|
+
waive: "waive";
|
|
2345
|
+
}>>>>;
|
|
1876
2346
|
}, z.core.$strip>>>;
|
|
1877
2347
|
workspace: z.ZodDefault<z.ZodReadonly<z.ZodObject<{
|
|
1878
2348
|
repositoryId: z.ZodOptional<z.ZodString>;
|