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
|
@@ -123,6 +123,9 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
123
123
|
}, z.core.$strip>>;
|
|
124
124
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
125
125
|
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
126
|
+
executionKind: z.ZodDefault<z.ZodEnum<{
|
|
127
|
+
engineering_task: "engineering_task";
|
|
128
|
+
}>>;
|
|
126
129
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
127
130
|
supersedesRunId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RunId">>;
|
|
128
131
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
@@ -277,6 +280,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
277
280
|
}>;
|
|
278
281
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
279
282
|
}, z.core.$strip>>;
|
|
283
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
284
|
+
acceptance: "acceptance";
|
|
285
|
+
workspace: "workspace";
|
|
286
|
+
task: "task";
|
|
287
|
+
integration: "integration";
|
|
288
|
+
"agent-contract": "agent-contract";
|
|
289
|
+
}>>;
|
|
290
|
+
source: z.ZodOptional<z.ZodString>;
|
|
291
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
292
|
+
resume: "resume";
|
|
293
|
+
repair: "repair";
|
|
294
|
+
manual: "manual";
|
|
295
|
+
probe: "probe";
|
|
296
|
+
clarify: "clarify";
|
|
297
|
+
wait: "wait";
|
|
298
|
+
terminate: "terminate";
|
|
299
|
+
}>>;
|
|
280
300
|
category: z.ZodLiteral<"planner-contract">;
|
|
281
301
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
282
302
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -299,6 +319,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
299
319
|
}>;
|
|
300
320
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
301
321
|
}, z.core.$strip>>;
|
|
322
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
323
|
+
acceptance: "acceptance";
|
|
324
|
+
workspace: "workspace";
|
|
325
|
+
task: "task";
|
|
326
|
+
integration: "integration";
|
|
327
|
+
"agent-contract": "agent-contract";
|
|
328
|
+
}>>;
|
|
329
|
+
source: z.ZodOptional<z.ZodString>;
|
|
330
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
331
|
+
resume: "resume";
|
|
332
|
+
repair: "repair";
|
|
333
|
+
manual: "manual";
|
|
334
|
+
probe: "probe";
|
|
335
|
+
clarify: "clarify";
|
|
336
|
+
wait: "wait";
|
|
337
|
+
terminate: "terminate";
|
|
338
|
+
}>>;
|
|
302
339
|
category: z.ZodLiteral<"verifier-contract">;
|
|
303
340
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
304
341
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -321,6 +358,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
321
358
|
}>;
|
|
322
359
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
323
360
|
}, z.core.$strip>>;
|
|
361
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
362
|
+
acceptance: "acceptance";
|
|
363
|
+
workspace: "workspace";
|
|
364
|
+
task: "task";
|
|
365
|
+
integration: "integration";
|
|
366
|
+
"agent-contract": "agent-contract";
|
|
367
|
+
}>>;
|
|
368
|
+
source: z.ZodOptional<z.ZodString>;
|
|
369
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
370
|
+
resume: "resume";
|
|
371
|
+
repair: "repair";
|
|
372
|
+
manual: "manual";
|
|
373
|
+
probe: "probe";
|
|
374
|
+
clarify: "clarify";
|
|
375
|
+
wait: "wait";
|
|
376
|
+
terminate: "terminate";
|
|
377
|
+
}>>;
|
|
324
378
|
category: z.ZodLiteral<"worker-contract">;
|
|
325
379
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
326
380
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -343,6 +397,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
343
397
|
}>;
|
|
344
398
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
345
399
|
}, z.core.$strip>>;
|
|
400
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
401
|
+
acceptance: "acceptance";
|
|
402
|
+
workspace: "workspace";
|
|
403
|
+
task: "task";
|
|
404
|
+
integration: "integration";
|
|
405
|
+
"agent-contract": "agent-contract";
|
|
406
|
+
}>>;
|
|
407
|
+
source: z.ZodOptional<z.ZodString>;
|
|
408
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
409
|
+
resume: "resume";
|
|
410
|
+
repair: "repair";
|
|
411
|
+
manual: "manual";
|
|
412
|
+
probe: "probe";
|
|
413
|
+
clarify: "clarify";
|
|
414
|
+
wait: "wait";
|
|
415
|
+
terminate: "terminate";
|
|
416
|
+
}>>;
|
|
346
417
|
category: z.ZodLiteral<"agent-contract">;
|
|
347
418
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
348
419
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -365,6 +436,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
365
436
|
}>;
|
|
366
437
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
367
438
|
}, z.core.$strip>>;
|
|
439
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
440
|
+
acceptance: "acceptance";
|
|
441
|
+
workspace: "workspace";
|
|
442
|
+
task: "task";
|
|
443
|
+
integration: "integration";
|
|
444
|
+
"agent-contract": "agent-contract";
|
|
445
|
+
}>>;
|
|
446
|
+
source: z.ZodOptional<z.ZodString>;
|
|
447
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
448
|
+
resume: "resume";
|
|
449
|
+
repair: "repair";
|
|
450
|
+
manual: "manual";
|
|
451
|
+
probe: "probe";
|
|
452
|
+
clarify: "clarify";
|
|
453
|
+
wait: "wait";
|
|
454
|
+
terminate: "terminate";
|
|
455
|
+
}>>;
|
|
368
456
|
category: z.ZodLiteral<"context-gap">;
|
|
369
457
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
370
458
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -388,6 +476,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
388
476
|
}>;
|
|
389
477
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
390
478
|
}, z.core.$strip>>;
|
|
479
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
480
|
+
acceptance: "acceptance";
|
|
481
|
+
workspace: "workspace";
|
|
482
|
+
task: "task";
|
|
483
|
+
integration: "integration";
|
|
484
|
+
"agent-contract": "agent-contract";
|
|
485
|
+
}>>;
|
|
486
|
+
source: z.ZodOptional<z.ZodString>;
|
|
487
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
488
|
+
resume: "resume";
|
|
489
|
+
repair: "repair";
|
|
490
|
+
manual: "manual";
|
|
491
|
+
probe: "probe";
|
|
492
|
+
clarify: "clarify";
|
|
493
|
+
wait: "wait";
|
|
494
|
+
terminate: "terminate";
|
|
495
|
+
}>>;
|
|
391
496
|
category: z.ZodLiteral<"requirement-ambiguity">;
|
|
392
497
|
blockingQuestionId: z.ZodString;
|
|
393
498
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -411,6 +516,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
411
516
|
}>;
|
|
412
517
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
413
518
|
}, z.core.$strip>>;
|
|
519
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
520
|
+
acceptance: "acceptance";
|
|
521
|
+
workspace: "workspace";
|
|
522
|
+
task: "task";
|
|
523
|
+
integration: "integration";
|
|
524
|
+
"agent-contract": "agent-contract";
|
|
525
|
+
}>>;
|
|
526
|
+
source: z.ZodOptional<z.ZodString>;
|
|
527
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
528
|
+
resume: "resume";
|
|
529
|
+
repair: "repair";
|
|
530
|
+
manual: "manual";
|
|
531
|
+
probe: "probe";
|
|
532
|
+
clarify: "clarify";
|
|
533
|
+
wait: "wait";
|
|
534
|
+
terminate: "terminate";
|
|
535
|
+
}>>;
|
|
414
536
|
category: z.ZodLiteral<"dependency-blocked">;
|
|
415
537
|
blockedDependency: z.ZodString;
|
|
416
538
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -434,6 +556,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
434
556
|
}>;
|
|
435
557
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
436
558
|
}, z.core.$strip>>;
|
|
559
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
560
|
+
acceptance: "acceptance";
|
|
561
|
+
workspace: "workspace";
|
|
562
|
+
task: "task";
|
|
563
|
+
integration: "integration";
|
|
564
|
+
"agent-contract": "agent-contract";
|
|
565
|
+
}>>;
|
|
566
|
+
source: z.ZodOptional<z.ZodString>;
|
|
567
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
568
|
+
resume: "resume";
|
|
569
|
+
repair: "repair";
|
|
570
|
+
manual: "manual";
|
|
571
|
+
probe: "probe";
|
|
572
|
+
clarify: "clarify";
|
|
573
|
+
wait: "wait";
|
|
574
|
+
terminate: "terminate";
|
|
575
|
+
}>>;
|
|
437
576
|
category: z.ZodLiteral<"implementation-defect">;
|
|
438
577
|
failingEvidenceId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "EvidenceId">>;
|
|
439
578
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -457,6 +596,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
457
596
|
}>;
|
|
458
597
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
459
598
|
}, z.core.$strip>>;
|
|
599
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
600
|
+
acceptance: "acceptance";
|
|
601
|
+
workspace: "workspace";
|
|
602
|
+
task: "task";
|
|
603
|
+
integration: "integration";
|
|
604
|
+
"agent-contract": "agent-contract";
|
|
605
|
+
}>>;
|
|
606
|
+
source: z.ZodOptional<z.ZodString>;
|
|
607
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
608
|
+
resume: "resume";
|
|
609
|
+
repair: "repair";
|
|
610
|
+
manual: "manual";
|
|
611
|
+
probe: "probe";
|
|
612
|
+
clarify: "clarify";
|
|
613
|
+
wait: "wait";
|
|
614
|
+
terminate: "terminate";
|
|
615
|
+
}>>;
|
|
460
616
|
category: z.ZodLiteral<"verification-environment">;
|
|
461
617
|
verificationCommandName: z.ZodString;
|
|
462
618
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -480,6 +636,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
480
636
|
}>;
|
|
481
637
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
482
638
|
}, z.core.$strip>>;
|
|
639
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
640
|
+
acceptance: "acceptance";
|
|
641
|
+
workspace: "workspace";
|
|
642
|
+
task: "task";
|
|
643
|
+
integration: "integration";
|
|
644
|
+
"agent-contract": "agent-contract";
|
|
645
|
+
}>>;
|
|
646
|
+
source: z.ZodOptional<z.ZodString>;
|
|
647
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
648
|
+
resume: "resume";
|
|
649
|
+
repair: "repair";
|
|
650
|
+
manual: "manual";
|
|
651
|
+
probe: "probe";
|
|
652
|
+
clarify: "clarify";
|
|
653
|
+
wait: "wait";
|
|
654
|
+
terminate: "terminate";
|
|
655
|
+
}>>;
|
|
483
656
|
category: z.ZodLiteral<"scope-drift">;
|
|
484
657
|
driftedPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
485
658
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -503,6 +676,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
503
676
|
}>;
|
|
504
677
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
505
678
|
}, z.core.$strip>>;
|
|
679
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
680
|
+
acceptance: "acceptance";
|
|
681
|
+
workspace: "workspace";
|
|
682
|
+
task: "task";
|
|
683
|
+
integration: "integration";
|
|
684
|
+
"agent-contract": "agent-contract";
|
|
685
|
+
}>>;
|
|
686
|
+
source: z.ZodOptional<z.ZodString>;
|
|
687
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
688
|
+
resume: "resume";
|
|
689
|
+
repair: "repair";
|
|
690
|
+
manual: "manual";
|
|
691
|
+
probe: "probe";
|
|
692
|
+
clarify: "clarify";
|
|
693
|
+
wait: "wait";
|
|
694
|
+
terminate: "terminate";
|
|
695
|
+
}>>;
|
|
506
696
|
category: z.ZodLiteral<"merge-conflict">;
|
|
507
697
|
conflictingPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
508
698
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -526,6 +716,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
526
716
|
}>;
|
|
527
717
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
528
718
|
}, z.core.$strip>>;
|
|
719
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
720
|
+
acceptance: "acceptance";
|
|
721
|
+
workspace: "workspace";
|
|
722
|
+
task: "task";
|
|
723
|
+
integration: "integration";
|
|
724
|
+
"agent-contract": "agent-contract";
|
|
725
|
+
}>>;
|
|
726
|
+
source: z.ZodOptional<z.ZodString>;
|
|
727
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
728
|
+
resume: "resume";
|
|
729
|
+
repair: "repair";
|
|
730
|
+
manual: "manual";
|
|
731
|
+
probe: "probe";
|
|
732
|
+
clarify: "clarify";
|
|
733
|
+
wait: "wait";
|
|
734
|
+
terminate: "terminate";
|
|
735
|
+
}>>;
|
|
529
736
|
category: z.ZodLiteral<"model-failure">;
|
|
530
737
|
provider: z.ZodString;
|
|
531
738
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -549,6 +756,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
549
756
|
}>;
|
|
550
757
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
551
758
|
}, z.core.$strip>>;
|
|
759
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
760
|
+
acceptance: "acceptance";
|
|
761
|
+
workspace: "workspace";
|
|
762
|
+
task: "task";
|
|
763
|
+
integration: "integration";
|
|
764
|
+
"agent-contract": "agent-contract";
|
|
765
|
+
}>>;
|
|
766
|
+
source: z.ZodOptional<z.ZodString>;
|
|
767
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
768
|
+
resume: "resume";
|
|
769
|
+
repair: "repair";
|
|
770
|
+
manual: "manual";
|
|
771
|
+
probe: "probe";
|
|
772
|
+
clarify: "clarify";
|
|
773
|
+
wait: "wait";
|
|
774
|
+
terminate: "terminate";
|
|
775
|
+
}>>;
|
|
552
776
|
category: z.ZodLiteral<"acceptance-failure">;
|
|
553
777
|
failingEvidenceId: z.core.$ZodBranded<z.ZodString, "EvidenceId">;
|
|
554
778
|
}, z.core.$strip>>]>>>>;
|
|
@@ -692,10 +916,21 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
692
916
|
evidence_gap: "evidence_gap";
|
|
693
917
|
clarification_required: "clarification_required";
|
|
694
918
|
env_blocked: "env_blocked";
|
|
919
|
+
paused: "paused";
|
|
695
920
|
}>;
|
|
696
921
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
697
922
|
discoveredEvidence: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
698
923
|
nextActions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
924
|
+
failureIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
925
|
+
criterionIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
926
|
+
allowedOperations: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
927
|
+
pause: "pause";
|
|
928
|
+
resume: "resume";
|
|
929
|
+
answer: "answer";
|
|
930
|
+
cancel: "cancel";
|
|
931
|
+
report: "report";
|
|
932
|
+
waive: "waive";
|
|
933
|
+
}>>>>;
|
|
699
934
|
}, z.core.$strip>>>;
|
|
700
935
|
workspace: z.ZodDefault<z.ZodReadonly<z.ZodObject<{
|
|
701
936
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
@@ -1238,6 +1473,9 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1238
1473
|
}>;
|
|
1239
1474
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
1240
1475
|
runId: z.core.$ZodBranded<z.ZodString, "RunId">;
|
|
1476
|
+
executionKind: z.ZodDefault<z.ZodEnum<{
|
|
1477
|
+
engineering_task: "engineering_task";
|
|
1478
|
+
}>>;
|
|
1241
1479
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
1242
1480
|
supersedesRunId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "RunId">>;
|
|
1243
1481
|
repositoryId: z.ZodOptional<z.ZodString>;
|
|
@@ -1392,6 +1630,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1392
1630
|
}>;
|
|
1393
1631
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1394
1632
|
}, z.core.$strip>>;
|
|
1633
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1634
|
+
acceptance: "acceptance";
|
|
1635
|
+
workspace: "workspace";
|
|
1636
|
+
task: "task";
|
|
1637
|
+
integration: "integration";
|
|
1638
|
+
"agent-contract": "agent-contract";
|
|
1639
|
+
}>>;
|
|
1640
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1641
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1642
|
+
resume: "resume";
|
|
1643
|
+
repair: "repair";
|
|
1644
|
+
manual: "manual";
|
|
1645
|
+
probe: "probe";
|
|
1646
|
+
clarify: "clarify";
|
|
1647
|
+
wait: "wait";
|
|
1648
|
+
terminate: "terminate";
|
|
1649
|
+
}>>;
|
|
1395
1650
|
category: z.ZodLiteral<"planner-contract">;
|
|
1396
1651
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1397
1652
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1414,6 +1669,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1414
1669
|
}>;
|
|
1415
1670
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1416
1671
|
}, z.core.$strip>>;
|
|
1672
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1673
|
+
acceptance: "acceptance";
|
|
1674
|
+
workspace: "workspace";
|
|
1675
|
+
task: "task";
|
|
1676
|
+
integration: "integration";
|
|
1677
|
+
"agent-contract": "agent-contract";
|
|
1678
|
+
}>>;
|
|
1679
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1680
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1681
|
+
resume: "resume";
|
|
1682
|
+
repair: "repair";
|
|
1683
|
+
manual: "manual";
|
|
1684
|
+
probe: "probe";
|
|
1685
|
+
clarify: "clarify";
|
|
1686
|
+
wait: "wait";
|
|
1687
|
+
terminate: "terminate";
|
|
1688
|
+
}>>;
|
|
1417
1689
|
category: z.ZodLiteral<"verifier-contract">;
|
|
1418
1690
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1419
1691
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1436,6 +1708,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1436
1708
|
}>;
|
|
1437
1709
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1438
1710
|
}, z.core.$strip>>;
|
|
1711
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1712
|
+
acceptance: "acceptance";
|
|
1713
|
+
workspace: "workspace";
|
|
1714
|
+
task: "task";
|
|
1715
|
+
integration: "integration";
|
|
1716
|
+
"agent-contract": "agent-contract";
|
|
1717
|
+
}>>;
|
|
1718
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1719
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1720
|
+
resume: "resume";
|
|
1721
|
+
repair: "repair";
|
|
1722
|
+
manual: "manual";
|
|
1723
|
+
probe: "probe";
|
|
1724
|
+
clarify: "clarify";
|
|
1725
|
+
wait: "wait";
|
|
1726
|
+
terminate: "terminate";
|
|
1727
|
+
}>>;
|
|
1439
1728
|
category: z.ZodLiteral<"worker-contract">;
|
|
1440
1729
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1441
1730
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1458,6 +1747,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1458
1747
|
}>;
|
|
1459
1748
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1460
1749
|
}, z.core.$strip>>;
|
|
1750
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1751
|
+
acceptance: "acceptance";
|
|
1752
|
+
workspace: "workspace";
|
|
1753
|
+
task: "task";
|
|
1754
|
+
integration: "integration";
|
|
1755
|
+
"agent-contract": "agent-contract";
|
|
1756
|
+
}>>;
|
|
1757
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1758
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1759
|
+
resume: "resume";
|
|
1760
|
+
repair: "repair";
|
|
1761
|
+
manual: "manual";
|
|
1762
|
+
probe: "probe";
|
|
1763
|
+
clarify: "clarify";
|
|
1764
|
+
wait: "wait";
|
|
1765
|
+
terminate: "terminate";
|
|
1766
|
+
}>>;
|
|
1461
1767
|
category: z.ZodLiteral<"agent-contract">;
|
|
1462
1768
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1463
1769
|
schemaVersion: z.ZodLiteral<"1.0.0">;
|
|
@@ -1480,6 +1786,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1480
1786
|
}>;
|
|
1481
1787
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1482
1788
|
}, z.core.$strip>>;
|
|
1789
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1790
|
+
acceptance: "acceptance";
|
|
1791
|
+
workspace: "workspace";
|
|
1792
|
+
task: "task";
|
|
1793
|
+
integration: "integration";
|
|
1794
|
+
"agent-contract": "agent-contract";
|
|
1795
|
+
}>>;
|
|
1796
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1797
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1798
|
+
resume: "resume";
|
|
1799
|
+
repair: "repair";
|
|
1800
|
+
manual: "manual";
|
|
1801
|
+
probe: "probe";
|
|
1802
|
+
clarify: "clarify";
|
|
1803
|
+
wait: "wait";
|
|
1804
|
+
terminate: "terminate";
|
|
1805
|
+
}>>;
|
|
1483
1806
|
category: z.ZodLiteral<"context-gap">;
|
|
1484
1807
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1485
1808
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1503,6 +1826,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1503
1826
|
}>;
|
|
1504
1827
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1505
1828
|
}, z.core.$strip>>;
|
|
1829
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1830
|
+
acceptance: "acceptance";
|
|
1831
|
+
workspace: "workspace";
|
|
1832
|
+
task: "task";
|
|
1833
|
+
integration: "integration";
|
|
1834
|
+
"agent-contract": "agent-contract";
|
|
1835
|
+
}>>;
|
|
1836
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1837
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1838
|
+
resume: "resume";
|
|
1839
|
+
repair: "repair";
|
|
1840
|
+
manual: "manual";
|
|
1841
|
+
probe: "probe";
|
|
1842
|
+
clarify: "clarify";
|
|
1843
|
+
wait: "wait";
|
|
1844
|
+
terminate: "terminate";
|
|
1845
|
+
}>>;
|
|
1506
1846
|
category: z.ZodLiteral<"requirement-ambiguity">;
|
|
1507
1847
|
blockingQuestionId: z.ZodString;
|
|
1508
1848
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1526,6 +1866,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1526
1866
|
}>;
|
|
1527
1867
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1528
1868
|
}, z.core.$strip>>;
|
|
1869
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1870
|
+
acceptance: "acceptance";
|
|
1871
|
+
workspace: "workspace";
|
|
1872
|
+
task: "task";
|
|
1873
|
+
integration: "integration";
|
|
1874
|
+
"agent-contract": "agent-contract";
|
|
1875
|
+
}>>;
|
|
1876
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1877
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1878
|
+
resume: "resume";
|
|
1879
|
+
repair: "repair";
|
|
1880
|
+
manual: "manual";
|
|
1881
|
+
probe: "probe";
|
|
1882
|
+
clarify: "clarify";
|
|
1883
|
+
wait: "wait";
|
|
1884
|
+
terminate: "terminate";
|
|
1885
|
+
}>>;
|
|
1529
1886
|
category: z.ZodLiteral<"dependency-blocked">;
|
|
1530
1887
|
blockedDependency: z.ZodString;
|
|
1531
1888
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1549,6 +1906,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1549
1906
|
}>;
|
|
1550
1907
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1551
1908
|
}, z.core.$strip>>;
|
|
1909
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1910
|
+
acceptance: "acceptance";
|
|
1911
|
+
workspace: "workspace";
|
|
1912
|
+
task: "task";
|
|
1913
|
+
integration: "integration";
|
|
1914
|
+
"agent-contract": "agent-contract";
|
|
1915
|
+
}>>;
|
|
1916
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1917
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1918
|
+
resume: "resume";
|
|
1919
|
+
repair: "repair";
|
|
1920
|
+
manual: "manual";
|
|
1921
|
+
probe: "probe";
|
|
1922
|
+
clarify: "clarify";
|
|
1923
|
+
wait: "wait";
|
|
1924
|
+
terminate: "terminate";
|
|
1925
|
+
}>>;
|
|
1552
1926
|
category: z.ZodLiteral<"implementation-defect">;
|
|
1553
1927
|
failingEvidenceId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "EvidenceId">>;
|
|
1554
1928
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1572,6 +1946,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1572
1946
|
}>;
|
|
1573
1947
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1574
1948
|
}, z.core.$strip>>;
|
|
1949
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1950
|
+
acceptance: "acceptance";
|
|
1951
|
+
workspace: "workspace";
|
|
1952
|
+
task: "task";
|
|
1953
|
+
integration: "integration";
|
|
1954
|
+
"agent-contract": "agent-contract";
|
|
1955
|
+
}>>;
|
|
1956
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1957
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1958
|
+
resume: "resume";
|
|
1959
|
+
repair: "repair";
|
|
1960
|
+
manual: "manual";
|
|
1961
|
+
probe: "probe";
|
|
1962
|
+
clarify: "clarify";
|
|
1963
|
+
wait: "wait";
|
|
1964
|
+
terminate: "terminate";
|
|
1965
|
+
}>>;
|
|
1575
1966
|
category: z.ZodLiteral<"verification-environment">;
|
|
1576
1967
|
verificationCommandName: z.ZodString;
|
|
1577
1968
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1595,6 +1986,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1595
1986
|
}>;
|
|
1596
1987
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1597
1988
|
}, z.core.$strip>>;
|
|
1989
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1990
|
+
acceptance: "acceptance";
|
|
1991
|
+
workspace: "workspace";
|
|
1992
|
+
task: "task";
|
|
1993
|
+
integration: "integration";
|
|
1994
|
+
"agent-contract": "agent-contract";
|
|
1995
|
+
}>>;
|
|
1996
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1997
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
1998
|
+
resume: "resume";
|
|
1999
|
+
repair: "repair";
|
|
2000
|
+
manual: "manual";
|
|
2001
|
+
probe: "probe";
|
|
2002
|
+
clarify: "clarify";
|
|
2003
|
+
wait: "wait";
|
|
2004
|
+
terminate: "terminate";
|
|
2005
|
+
}>>;
|
|
1598
2006
|
category: z.ZodLiteral<"scope-drift">;
|
|
1599
2007
|
driftedPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1600
2008
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1618,6 +2026,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1618
2026
|
}>;
|
|
1619
2027
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1620
2028
|
}, z.core.$strip>>;
|
|
2029
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2030
|
+
acceptance: "acceptance";
|
|
2031
|
+
workspace: "workspace";
|
|
2032
|
+
task: "task";
|
|
2033
|
+
integration: "integration";
|
|
2034
|
+
"agent-contract": "agent-contract";
|
|
2035
|
+
}>>;
|
|
2036
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2037
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2038
|
+
resume: "resume";
|
|
2039
|
+
repair: "repair";
|
|
2040
|
+
manual: "manual";
|
|
2041
|
+
probe: "probe";
|
|
2042
|
+
clarify: "clarify";
|
|
2043
|
+
wait: "wait";
|
|
2044
|
+
terminate: "terminate";
|
|
2045
|
+
}>>;
|
|
1621
2046
|
category: z.ZodLiteral<"merge-conflict">;
|
|
1622
2047
|
conflictingPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1623
2048
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1641,6 +2066,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1641
2066
|
}>;
|
|
1642
2067
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1643
2068
|
}, z.core.$strip>>;
|
|
2069
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2070
|
+
acceptance: "acceptance";
|
|
2071
|
+
workspace: "workspace";
|
|
2072
|
+
task: "task";
|
|
2073
|
+
integration: "integration";
|
|
2074
|
+
"agent-contract": "agent-contract";
|
|
2075
|
+
}>>;
|
|
2076
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2077
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2078
|
+
resume: "resume";
|
|
2079
|
+
repair: "repair";
|
|
2080
|
+
manual: "manual";
|
|
2081
|
+
probe: "probe";
|
|
2082
|
+
clarify: "clarify";
|
|
2083
|
+
wait: "wait";
|
|
2084
|
+
terminate: "terminate";
|
|
2085
|
+
}>>;
|
|
1644
2086
|
category: z.ZodLiteral<"model-failure">;
|
|
1645
2087
|
provider: z.ZodString;
|
|
1646
2088
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -1664,6 +2106,23 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1664
2106
|
}>;
|
|
1665
2107
|
preconditions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1666
2108
|
}, z.core.$strip>>;
|
|
2109
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2110
|
+
acceptance: "acceptance";
|
|
2111
|
+
workspace: "workspace";
|
|
2112
|
+
task: "task";
|
|
2113
|
+
integration: "integration";
|
|
2114
|
+
"agent-contract": "agent-contract";
|
|
2115
|
+
}>>;
|
|
2116
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2117
|
+
recoveryAction: z.ZodOptional<z.ZodEnum<{
|
|
2118
|
+
resume: "resume";
|
|
2119
|
+
repair: "repair";
|
|
2120
|
+
manual: "manual";
|
|
2121
|
+
probe: "probe";
|
|
2122
|
+
clarify: "clarify";
|
|
2123
|
+
wait: "wait";
|
|
2124
|
+
terminate: "terminate";
|
|
2125
|
+
}>>;
|
|
1667
2126
|
category: z.ZodLiteral<"acceptance-failure">;
|
|
1668
2127
|
failingEvidenceId: z.core.$ZodBranded<z.ZodString, "EvidenceId">;
|
|
1669
2128
|
}, z.core.$strip>>]>>>>;
|
|
@@ -1807,10 +2266,21 @@ export declare const RunEventSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
1807
2266
|
evidence_gap: "evidence_gap";
|
|
1808
2267
|
clarification_required: "clarification_required";
|
|
1809
2268
|
env_blocked: "env_blocked";
|
|
2269
|
+
paused: "paused";
|
|
1810
2270
|
}>;
|
|
1811
2271
|
missingContext: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1812
2272
|
discoveredEvidence: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1813
2273
|
nextActions: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2274
|
+
failureIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
2275
|
+
criterionIds: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
2276
|
+
allowedOperations: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
2277
|
+
pause: "pause";
|
|
2278
|
+
resume: "resume";
|
|
2279
|
+
answer: "answer";
|
|
2280
|
+
cancel: "cancel";
|
|
2281
|
+
report: "report";
|
|
2282
|
+
waive: "waive";
|
|
2283
|
+
}>>>>;
|
|
1814
2284
|
}, z.core.$strip>>>;
|
|
1815
2285
|
workspace: z.ZodDefault<z.ZodReadonly<z.ZodObject<{
|
|
1816
2286
|
repositoryId: z.ZodOptional<z.ZodString>;
|