@xpert-ai/contracts 3.35.0 → 3.36.0

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.
Files changed (97) hide show
  1. package/context-event.cjs.default.js +1 -0
  2. package/context-event.cjs.js +26 -0
  3. package/context-event.cjs.mjs +2 -0
  4. package/context-event.d.ts +1 -0
  5. package/context-event.esm.js +24 -0
  6. package/index.cjs.default.js +1 -0
  7. package/index.cjs.js +291 -299
  8. package/index.cjs.mjs +2 -0
  9. package/index.esm.js +280 -296
  10. package/package.json +18 -2
  11. package/src/agent-event.model.d.ts +88 -0
  12. package/src/agent-event.schema.d.ts +120 -0
  13. package/src/agent-plugin.d.ts +4 -29
  14. package/src/ai/agent-output-delivery.model.d.ts +22 -1
  15. package/src/ai/agent-runtime.model.d.ts +4 -4
  16. package/src/ai/assistant-capability.model.d.ts +0 -1
  17. package/src/ai/assistant-template-manifest.model.d.ts +316 -352
  18. package/src/ai/assistant-template-overview.model.d.ts +0 -4
  19. package/src/ai/assistant-template-setup.model.d.ts +8 -8
  20. package/src/ai/assistant-template.model.d.ts +0 -4
  21. package/src/ai/bosi.model.d.ts +1 -1
  22. package/src/ai/chat-activity.model.d.ts +8 -0
  23. package/src/ai/chat-message.model.d.ts +0 -11
  24. package/src/ai/chat.model.d.ts +1 -0
  25. package/src/ai/cli-execution.model.d.ts +88 -0
  26. package/src/ai/conversation-trail.model.d.ts +274 -274
  27. package/src/ai/copilot-store.model.d.ts +0 -13
  28. package/src/ai/evolution/entities.d.ts +164 -0
  29. package/src/ai/evolution/evaluation.d.ts +7 -0
  30. package/src/ai/evolution/execution-review.d.ts +68 -0
  31. package/src/ai/evolution/index.d.ts +2 -0
  32. package/src/ai/evolution/provider.d.ts +1 -0
  33. package/src/ai/evolution/target.d.ts +5 -0
  34. package/src/ai/execution-activity.model.d.ts +362 -362
  35. package/src/ai/execution-control-evidence.schema.d.ts +18 -18
  36. package/src/ai/execution-observability.model.d.ts +196 -196
  37. package/src/ai/execution-source.model.d.ts +45 -0
  38. package/src/ai/index.d.ts +2 -0
  39. package/src/ai/mcp-execution-control.schema.d.ts +2 -2
  40. package/src/ai/middleware.model.d.ts +1 -0
  41. package/src/ai/model-execution.model.d.ts +5 -108
  42. package/src/ai/model-replacement.model.d.ts +18 -18
  43. package/src/ai/project-configuration-view.model.d.ts +1 -0
  44. package/src/ai/project-pipeline/analytics.d.ts +192 -192
  45. package/src/ai/project-pipeline/commands.schema.d.ts +533 -490
  46. package/src/ai/project-pipeline/configuration-form.d.ts +1976 -1832
  47. package/src/ai/project-pipeline/configuration.schema.d.ts +450 -413
  48. package/src/ai/project-pipeline/contribution.schema.d.ts +688 -639
  49. package/src/ai/project-pipeline/definition.schema.d.ts +400 -356
  50. package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
  51. package/src/ai/project-pipeline/graph.model.d.ts +5 -0
  52. package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
  53. package/src/ai/project-pipeline/model-usage-statistics.d.ts +4 -4
  54. package/src/ai/project-pipeline/node.schema.d.ts +57 -44
  55. package/src/ai/project-pipeline/operation.schema.d.ts +298 -298
  56. package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +6 -6
  57. package/src/ai/project-pipeline/portfolio.schema.d.ts +468 -468
  58. package/src/ai/project-pipeline/primitives.schema.d.ts +6 -6
  59. package/src/ai/project-pipeline/projection.schema.d.ts +609 -572
  60. package/src/ai/project-pipeline/provider-actions.schema.d.ts +100 -100
  61. package/src/ai/project-pipeline/queue-statistics.d.ts +10 -10
  62. package/src/ai/project-pipeline/runtime.schema.d.ts +60 -60
  63. package/src/ai/project-pipeline/statistics.d.ts +100 -100
  64. package/src/ai/project-task-runtime.model.d.ts +256 -780
  65. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  66. package/src/ai/template-installation.model.d.ts +18 -18
  67. package/src/ai/template-lifecycle.model.d.ts +6 -6
  68. package/src/ai/thread-control-view.schema.d.ts +4 -4
  69. package/src/ai/xpert-agent-execution.model.d.ts +4 -0
  70. package/src/ai/xpert-project.model.d.ts +2 -1
  71. package/src/ai/xpert.model.d.ts +0 -34
  72. package/src/ai/xpert.utils.d.ts +0 -1
  73. package/src/analytics/analysis-evidence.model.d.ts +29 -0
  74. package/src/analytics/analytics-certification.model.d.ts +17 -0
  75. package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
  76. package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
  77. package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
  78. package/src/analytics/index.d.ts +7 -0
  79. package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
  80. package/src/app-platform.d.ts +16 -16
  81. package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
  82. package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
  83. package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
  84. package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
  85. package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +2 -2
  86. package/src/artifacts/index.d.ts +5 -0
  87. package/src/collaboration.model.d.ts +31 -11
  88. package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
  89. package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +6 -3
  90. package/src/content/content-transfer.model.d.ts +21 -0
  91. package/src/content/index.d.ts +4 -0
  92. package/src/execution-control-admission.schema.d.ts +2 -2
  93. package/src/index.d.ts +5 -14
  94. package/src/user-notification.schema.d.ts +46 -28
  95. package/src/view-extension/client-commands.d.ts +24 -0
  96. /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
  97. /package/src/{content-reference.model.d.ts → content/content-reference.model.d.ts} +0 -0
@@ -17,8 +17,8 @@ export declare const projectTaskSpecificationSchema: z.ZodEffects<z.ZodObject<{
17
17
  stepIndex: number;
18
18
  }>, "many">;
19
19
  }, "strict", z.ZodTypeAny, {
20
- version: 1;
21
20
  title: string;
21
+ version: 1;
22
22
  steps: {
23
23
  description: string;
24
24
  stepIndex: number;
@@ -26,8 +26,8 @@ export declare const projectTaskSpecificationSchema: z.ZodEffects<z.ZodObject<{
26
26
  requirements: string[];
27
27
  description?: string | undefined;
28
28
  }, {
29
- version: 1;
30
29
  title: string;
30
+ version: 1;
31
31
  steps: {
32
32
  description: string;
33
33
  stepIndex: number;
@@ -35,8 +35,8 @@ export declare const projectTaskSpecificationSchema: z.ZodEffects<z.ZodObject<{
35
35
  requirements: string[];
36
36
  description?: string | undefined;
37
37
  }>, {
38
- version: 1;
39
38
  title: string;
39
+ version: 1;
40
40
  steps: {
41
41
  description: string;
42
42
  stepIndex: number;
@@ -44,8 +44,8 @@ export declare const projectTaskSpecificationSchema: z.ZodEffects<z.ZodObject<{
44
44
  requirements: string[];
45
45
  description?: string | undefined;
46
46
  }, {
47
- version: 1;
48
47
  title: string;
48
+ version: 1;
49
49
  steps: {
50
50
  description: string;
51
51
  stepIndex: number;
@@ -73,8 +73,8 @@ export declare const projectTaskSpecificationSnapshotSchema: z.ZodObject<{
73
73
  stepIndex: number;
74
74
  }>, "many">;
75
75
  }, "strict", z.ZodTypeAny, {
76
- version: 1;
77
76
  title: string;
77
+ version: 1;
78
78
  steps: {
79
79
  description: string;
80
80
  stepIndex: number;
@@ -82,8 +82,8 @@ export declare const projectTaskSpecificationSnapshotSchema: z.ZodObject<{
82
82
  requirements: string[];
83
83
  description?: string | undefined;
84
84
  }, {
85
- version: 1;
86
85
  title: string;
86
+ version: 1;
87
87
  steps: {
88
88
  description: string;
89
89
  stepIndex: number;
@@ -91,8 +91,8 @@ export declare const projectTaskSpecificationSnapshotSchema: z.ZodObject<{
91
91
  requirements: string[];
92
92
  description?: string | undefined;
93
93
  }>, {
94
- version: 1;
95
94
  title: string;
95
+ version: 1;
96
96
  steps: {
97
97
  description: string;
98
98
  stepIndex: number;
@@ -100,8 +100,8 @@ export declare const projectTaskSpecificationSnapshotSchema: z.ZodObject<{
100
100
  requirements: string[];
101
101
  description?: string | undefined;
102
102
  }, {
103
- version: 1;
104
103
  title: string;
104
+ version: 1;
105
105
  steps: {
106
106
  description: string;
107
107
  stepIndex: number;
@@ -112,8 +112,8 @@ export declare const projectTaskSpecificationSnapshotSchema: z.ZodObject<{
112
112
  }, "strict", z.ZodTypeAny, {
113
113
  digest: string;
114
114
  specification: {
115
- version: 1;
116
115
  title: string;
116
+ version: 1;
117
117
  steps: {
118
118
  description: string;
119
119
  stepIndex: number;
@@ -124,8 +124,8 @@ export declare const projectTaskSpecificationSnapshotSchema: z.ZodObject<{
124
124
  }, {
125
125
  digest: string;
126
126
  specification: {
127
- version: 1;
128
127
  title: string;
128
+ version: 1;
129
129
  steps: {
130
130
  description: string;
131
131
  stepIndex: number;
@@ -202,13 +202,13 @@ export declare const projectTaskReviewSubjectSchema: z.ZodObject<{
202
202
  export type ProjectTaskReviewSubject = z.output<typeof projectTaskReviewSubjectSchema>;
203
203
  export declare const projectTaskReworkSchema: z.ZodObject<{
204
204
  reviewExecutionId: z.ZodString;
205
- findingIds: z.ZodArray<z.ZodString, "many">;
205
+ feedback: z.ZodString;
206
206
  }, "strict", z.ZodTypeAny, {
207
207
  reviewExecutionId: string;
208
- findingIds: string[];
208
+ feedback: string;
209
209
  }, {
210
210
  reviewExecutionId: string;
211
- findingIds: string[];
211
+ feedback: string;
212
212
  }>;
213
213
  export declare const projectTaskCandidatePathSchema: z.ZodEffects<z.ZodString, string, string>;
214
214
  export declare const projectTaskEvidencePathSchema: z.ZodEffects<z.ZodString, string, string>;
@@ -236,13 +236,13 @@ export declare const projectTaskExecutionPurposeSchema: z.ZodEffects<z.ZodDiscri
236
236
  }>>;
237
237
  rework: z.ZodOptional<z.ZodObject<{
238
238
  reviewExecutionId: z.ZodString;
239
- findingIds: z.ZodArray<z.ZodString, "many">;
239
+ feedback: z.ZodString;
240
240
  }, "strict", z.ZodTypeAny, {
241
241
  reviewExecutionId: string;
242
- findingIds: string[];
242
+ feedback: string;
243
243
  }, {
244
244
  reviewExecutionId: string;
245
- findingIds: string[];
245
+ feedback: string;
246
246
  }>>;
247
247
  }, "strict", z.ZodTypeAny, {
248
248
  type: "implementation";
@@ -256,7 +256,7 @@ export declare const projectTaskExecutionPurposeSchema: z.ZodEffects<z.ZodDiscri
256
256
  } | undefined;
257
257
  rework?: {
258
258
  reviewExecutionId: string;
259
- findingIds: string[];
259
+ feedback: string;
260
260
  } | undefined;
261
261
  }, {
262
262
  type: "implementation";
@@ -270,7 +270,7 @@ export declare const projectTaskExecutionPurposeSchema: z.ZodEffects<z.ZodDiscri
270
270
  } | undefined;
271
271
  rework?: {
272
272
  reviewExecutionId: string;
273
- findingIds: string[];
273
+ feedback: string;
274
274
  } | undefined;
275
275
  }>, z.ZodObject<{
276
276
  type: z.ZodLiteral<"review">;
@@ -371,7 +371,7 @@ export declare const projectTaskExecutionPurposeSchema: z.ZodEffects<z.ZodDiscri
371
371
  } | undefined;
372
372
  rework?: {
373
373
  reviewExecutionId: string;
374
- findingIds: string[];
374
+ feedback: string;
375
375
  } | undefined;
376
376
  } | {
377
377
  type: "review";
@@ -406,7 +406,7 @@ export declare const projectTaskExecutionPurposeSchema: z.ZodEffects<z.ZodDiscri
406
406
  } | undefined;
407
407
  rework?: {
408
408
  reviewExecutionId: string;
409
- findingIds: string[];
409
+ feedback: string;
410
410
  } | undefined;
411
411
  } | {
412
412
  type: "review";
@@ -469,8 +469,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
469
469
  stepIndex: number;
470
470
  }>, "many">;
471
471
  }, "strict", z.ZodTypeAny, {
472
- version: 1;
473
472
  title: string;
473
+ version: 1;
474
474
  steps: {
475
475
  description: string;
476
476
  stepIndex: number;
@@ -478,8 +478,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
478
478
  requirements: string[];
479
479
  description?: string | undefined;
480
480
  }, {
481
- version: 1;
482
481
  title: string;
482
+ version: 1;
483
483
  steps: {
484
484
  description: string;
485
485
  stepIndex: number;
@@ -487,8 +487,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
487
487
  requirements: string[];
488
488
  description?: string | undefined;
489
489
  }>, {
490
- version: 1;
491
490
  title: string;
491
+ version: 1;
492
492
  steps: {
493
493
  description: string;
494
494
  stepIndex: number;
@@ -496,8 +496,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
496
496
  requirements: string[];
497
497
  description?: string | undefined;
498
498
  }, {
499
- version: 1;
500
499
  title: string;
500
+ version: 1;
501
501
  steps: {
502
502
  description: string;
503
503
  stepIndex: number;
@@ -508,8 +508,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
508
508
  }, "strict", z.ZodTypeAny, {
509
509
  digest: string;
510
510
  specification: {
511
- version: 1;
512
511
  title: string;
512
+ version: 1;
513
513
  steps: {
514
514
  description: string;
515
515
  stepIndex: number;
@@ -520,8 +520,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
520
520
  }, {
521
521
  digest: string;
522
522
  specification: {
523
- version: 1;
524
523
  title: string;
524
+ version: 1;
525
525
  steps: {
526
526
  description: string;
527
527
  stepIndex: number;
@@ -554,13 +554,13 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
554
554
  }>>;
555
555
  rework: z.ZodOptional<z.ZodObject<{
556
556
  reviewExecutionId: z.ZodString;
557
- findingIds: z.ZodArray<z.ZodString, "many">;
557
+ feedback: z.ZodString;
558
558
  }, "strict", z.ZodTypeAny, {
559
559
  reviewExecutionId: string;
560
- findingIds: string[];
560
+ feedback: string;
561
561
  }, {
562
562
  reviewExecutionId: string;
563
- findingIds: string[];
563
+ feedback: string;
564
564
  }>>;
565
565
  }, "strict", z.ZodTypeAny, {
566
566
  type: "implementation";
@@ -574,7 +574,7 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
574
574
  } | undefined;
575
575
  rework?: {
576
576
  reviewExecutionId: string;
577
- findingIds: string[];
577
+ feedback: string;
578
578
  } | undefined;
579
579
  }, {
580
580
  type: "implementation";
@@ -588,7 +588,7 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
588
588
  } | undefined;
589
589
  rework?: {
590
590
  reviewExecutionId: string;
591
- findingIds: string[];
591
+ feedback: string;
592
592
  } | undefined;
593
593
  }>, z.ZodObject<{
594
594
  type: z.ZodLiteral<"review">;
@@ -689,7 +689,7 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
689
689
  } | undefined;
690
690
  rework?: {
691
691
  reviewExecutionId: string;
692
- findingIds: string[];
692
+ feedback: string;
693
693
  } | undefined;
694
694
  } | {
695
695
  type: "review";
@@ -724,7 +724,7 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
724
724
  } | undefined;
725
725
  rework?: {
726
726
  reviewExecutionId: string;
727
- findingIds: string[];
727
+ feedback: string;
728
728
  } | undefined;
729
729
  } | {
730
730
  type: "review";
@@ -749,22 +749,6 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
749
749
  candidatePaths?: string[] | undefined;
750
750
  }>;
751
751
  }, "strict", z.ZodTypeAny, {
752
- projectId: string;
753
- specification: {
754
- digest: string;
755
- specification: {
756
- version: 1;
757
- title: string;
758
- steps: {
759
- description: string;
760
- stepIndex: number;
761
- }[];
762
- requirements: string[];
763
- description?: string | undefined;
764
- };
765
- };
766
- projectTaskId: string;
767
- taskExecutionId: string;
768
752
  purpose: {
769
753
  type: "implementation";
770
754
  reviewer?: {
@@ -777,7 +761,7 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
777
761
  } | undefined;
778
762
  rework?: {
779
763
  reviewExecutionId: string;
780
- findingIds: string[];
764
+ feedback: string;
781
765
  } | undefined;
782
766
  } | {
783
767
  type: "review";
@@ -801,13 +785,12 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
801
785
  implementationTaskId?: string | undefined;
802
786
  candidatePaths?: string[] | undefined;
803
787
  };
804
- }, {
805
788
  projectId: string;
806
789
  specification: {
807
790
  digest: string;
808
791
  specification: {
809
- version: 1;
810
792
  title: string;
793
+ version: 1;
811
794
  steps: {
812
795
  description: string;
813
796
  stepIndex: number;
@@ -818,6 +801,7 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
818
801
  };
819
802
  projectTaskId: string;
820
803
  taskExecutionId: string;
804
+ }, {
821
805
  purpose: {
822
806
  type: "implementation";
823
807
  reviewer?: {
@@ -830,7 +814,7 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
830
814
  } | undefined;
831
815
  rework?: {
832
816
  reviewExecutionId: string;
833
- findingIds: string[];
817
+ feedback: string;
834
818
  } | undefined;
835
819
  } | {
836
820
  type: "review";
@@ -854,13 +838,12 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
854
838
  implementationTaskId?: string | undefined;
855
839
  candidatePaths?: string[] | undefined;
856
840
  };
857
- }>, {
858
841
  projectId: string;
859
842
  specification: {
860
843
  digest: string;
861
844
  specification: {
862
- version: 1;
863
845
  title: string;
846
+ version: 1;
864
847
  steps: {
865
848
  description: string;
866
849
  stepIndex: number;
@@ -871,6 +854,7 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
871
854
  };
872
855
  projectTaskId: string;
873
856
  taskExecutionId: string;
857
+ }>, {
874
858
  purpose: {
875
859
  type: "implementation";
876
860
  reviewer?: {
@@ -883,7 +867,7 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
883
867
  } | undefined;
884
868
  rework?: {
885
869
  reviewExecutionId: string;
886
- findingIds: string[];
870
+ feedback: string;
887
871
  } | undefined;
888
872
  } | {
889
873
  type: "review";
@@ -907,13 +891,12 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
907
891
  implementationTaskId?: string | undefined;
908
892
  candidatePaths?: string[] | undefined;
909
893
  };
910
- }, {
911
894
  projectId: string;
912
895
  specification: {
913
896
  digest: string;
914
897
  specification: {
915
- version: 1;
916
898
  title: string;
899
+ version: 1;
917
900
  steps: {
918
901
  description: string;
919
902
  stepIndex: number;
@@ -924,6 +907,7 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
924
907
  };
925
908
  projectTaskId: string;
926
909
  taskExecutionId: string;
910
+ }, {
927
911
  purpose: {
928
912
  type: "implementation";
929
913
  reviewer?: {
@@ -936,7 +920,7 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
936
920
  } | undefined;
937
921
  rework?: {
938
922
  reviewExecutionId: string;
939
- findingIds: string[];
923
+ feedback: string;
940
924
  } | undefined;
941
925
  } | {
942
926
  type: "review";
@@ -960,6 +944,22 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
960
944
  implementationTaskId?: string | undefined;
961
945
  candidatePaths?: string[] | undefined;
962
946
  };
947
+ projectId: string;
948
+ specification: {
949
+ digest: string;
950
+ specification: {
951
+ title: string;
952
+ version: 1;
953
+ steps: {
954
+ description: string;
955
+ stepIndex: number;
956
+ }[];
957
+ requirements: string[];
958
+ description?: string | undefined;
959
+ };
960
+ };
961
+ projectTaskId: string;
962
+ taskExecutionId: string;
963
963
  }>;
964
964
  export type ProjectTaskExecutionContext = z.output<typeof projectTaskExecutionContextSchema>;
965
965
  /** A receipt is neither a business completion decision nor proof that the process has started. */
@@ -971,13 +971,13 @@ export declare const projectTaskDispatchReceiptSchema: z.ZodObject<{
971
971
  invocationId: z.ZodString;
972
972
  status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
973
973
  }, "strict", z.ZodTypeAny, {
974
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
974
+ status: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
975
975
  projectId: string;
976
976
  invocationId: string;
977
977
  projectTaskId: string;
978
978
  taskExecutionId: string;
979
979
  }, {
980
- status: "unknown" | "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled" | "cancelling";
980
+ status: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
981
981
  projectId: string;
982
982
  invocationId: string;
983
983
  projectTaskId: string;
@@ -1023,13 +1023,13 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1023
1023
  }>>;
1024
1024
  rework: z.ZodOptional<z.ZodObject<{
1025
1025
  reviewExecutionId: z.ZodString;
1026
- findingIds: z.ZodArray<z.ZodString, "many">;
1026
+ feedback: z.ZodString;
1027
1027
  }, "strict", z.ZodTypeAny, {
1028
1028
  reviewExecutionId: string;
1029
- findingIds: string[];
1029
+ feedback: string;
1030
1030
  }, {
1031
1031
  reviewExecutionId: string;
1032
- findingIds: string[];
1032
+ feedback: string;
1033
1033
  }>>;
1034
1034
  }, "strict", z.ZodTypeAny, {
1035
1035
  type: "implementation";
@@ -1043,7 +1043,7 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1043
1043
  } | undefined;
1044
1044
  rework?: {
1045
1045
  reviewExecutionId: string;
1046
- findingIds: string[];
1046
+ feedback: string;
1047
1047
  } | undefined;
1048
1048
  }, {
1049
1049
  type: "implementation";
@@ -1057,7 +1057,7 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1057
1057
  } | undefined;
1058
1058
  rework?: {
1059
1059
  reviewExecutionId: string;
1060
- findingIds: string[];
1060
+ feedback: string;
1061
1061
  } | undefined;
1062
1062
  }>, z.ZodObject<{
1063
1063
  type: z.ZodLiteral<"review">;
@@ -1158,7 +1158,7 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1158
1158
  } | undefined;
1159
1159
  rework?: {
1160
1160
  reviewExecutionId: string;
1161
- findingIds: string[];
1161
+ feedback: string;
1162
1162
  } | undefined;
1163
1163
  } | {
1164
1164
  type: "review";
@@ -1193,7 +1193,7 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1193
1193
  } | undefined;
1194
1194
  rework?: {
1195
1195
  reviewExecutionId: string;
1196
- findingIds: string[];
1196
+ feedback: string;
1197
1197
  } | undefined;
1198
1198
  } | {
1199
1199
  type: "review";
@@ -1220,27 +1220,36 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1220
1220
  reviewAsSubtask: z.ZodOptional<z.ZodBoolean>;
1221
1221
  delivery: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
1222
1222
  mode: z.ZodLiteral<"none">;
1223
+ reportPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1223
1224
  }, "strict", z.ZodTypeAny, {
1224
1225
  mode: "none";
1226
+ reportPath?: string | undefined;
1225
1227
  }, {
1226
1228
  mode: "none";
1229
+ reportPath?: string | undefined;
1227
1230
  }>, z.ZodObject<{
1228
1231
  mode: z.ZodLiteral<"files">;
1229
1232
  paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
1233
+ reportPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1230
1234
  }, "strict", z.ZodTypeAny, {
1231
1235
  mode: "files";
1236
+ reportPath?: string | undefined;
1232
1237
  paths?: string[] | undefined;
1233
1238
  }, {
1234
1239
  mode: "files";
1240
+ reportPath?: string | undefined;
1235
1241
  paths?: string[] | undefined;
1236
1242
  }>, z.ZodObject<{
1237
1243
  mode: z.ZodLiteral<"archive">;
1238
1244
  paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
1245
+ reportPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1239
1246
  }, "strict", z.ZodTypeAny, {
1240
1247
  mode: "archive";
1248
+ reportPath?: string | undefined;
1241
1249
  paths?: string[] | undefined;
1242
1250
  }, {
1243
1251
  mode: "archive";
1252
+ reportPath?: string | undefined;
1244
1253
  paths?: string[] | undefined;
1245
1254
  }>]>>;
1246
1255
  instructions: z.ZodDefault<z.ZodString>;
@@ -1249,11 +1258,6 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1249
1258
  expectedRevision: number;
1250
1259
  taskId: string;
1251
1260
  instructions: string;
1252
- bindingId?: string | undefined;
1253
- target?: {
1254
- type: "group_member";
1255
- participantId: string;
1256
- } | undefined;
1257
1261
  purpose?: {
1258
1262
  type: "implementation";
1259
1263
  reviewer?: {
@@ -1266,7 +1270,7 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1266
1270
  } | undefined;
1267
1271
  rework?: {
1268
1272
  reviewExecutionId: string;
1269
- findingIds: string[];
1273
+ feedback: string;
1270
1274
  } | undefined;
1271
1275
  } | {
1272
1276
  type: "review";
@@ -1290,25 +1294,28 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1290
1294
  implementationTaskId?: string | undefined;
1291
1295
  candidatePaths?: string[] | undefined;
1292
1296
  } | undefined;
1297
+ bindingId?: string | undefined;
1298
+ target?: {
1299
+ type: "group_member";
1300
+ participantId: string;
1301
+ } | undefined;
1293
1302
  reviewAsSubtask?: boolean | undefined;
1294
1303
  delivery?: {
1295
1304
  mode: "none";
1305
+ reportPath?: string | undefined;
1296
1306
  } | {
1297
1307
  mode: "files";
1308
+ reportPath?: string | undefined;
1298
1309
  paths?: string[] | undefined;
1299
1310
  } | {
1300
1311
  mode: "archive";
1312
+ reportPath?: string | undefined;
1301
1313
  paths?: string[] | undefined;
1302
1314
  } | undefined;
1303
1315
  }, {
1304
1316
  requestId: string;
1305
1317
  expectedRevision: number;
1306
1318
  taskId: string;
1307
- bindingId?: string | undefined;
1308
- target?: {
1309
- type: "group_member";
1310
- participantId: string;
1311
- } | undefined;
1312
1319
  purpose?: {
1313
1320
  type: "implementation";
1314
1321
  reviewer?: {
@@ -1321,7 +1328,7 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1321
1328
  } | undefined;
1322
1329
  rework?: {
1323
1330
  reviewExecutionId: string;
1324
- findingIds: string[];
1331
+ feedback: string;
1325
1332
  } | undefined;
1326
1333
  } | {
1327
1334
  type: "review";
@@ -1345,14 +1352,22 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1345
1352
  implementationTaskId?: string | undefined;
1346
1353
  candidatePaths?: string[] | undefined;
1347
1354
  } | undefined;
1355
+ bindingId?: string | undefined;
1356
+ target?: {
1357
+ type: "group_member";
1358
+ participantId: string;
1359
+ } | undefined;
1348
1360
  reviewAsSubtask?: boolean | undefined;
1349
1361
  delivery?: {
1350
1362
  mode: "none";
1363
+ reportPath?: string | undefined;
1351
1364
  } | {
1352
1365
  mode: "files";
1366
+ reportPath?: string | undefined;
1353
1367
  paths?: string[] | undefined;
1354
1368
  } | {
1355
1369
  mode: "archive";
1370
+ reportPath?: string | undefined;
1356
1371
  paths?: string[] | undefined;
1357
1372
  } | undefined;
1358
1373
  instructions?: string | undefined;
@@ -1361,11 +1376,6 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1361
1376
  expectedRevision: number;
1362
1377
  taskId: string;
1363
1378
  instructions: string;
1364
- bindingId?: string | undefined;
1365
- target?: {
1366
- type: "group_member";
1367
- participantId: string;
1368
- } | undefined;
1369
1379
  purpose?: {
1370
1380
  type: "implementation";
1371
1381
  reviewer?: {
@@ -1378,7 +1388,7 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1378
1388
  } | undefined;
1379
1389
  rework?: {
1380
1390
  reviewExecutionId: string;
1381
- findingIds: string[];
1391
+ feedback: string;
1382
1392
  } | undefined;
1383
1393
  } | {
1384
1394
  type: "review";
@@ -1402,25 +1412,28 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1402
1412
  implementationTaskId?: string | undefined;
1403
1413
  candidatePaths?: string[] | undefined;
1404
1414
  } | undefined;
1415
+ bindingId?: string | undefined;
1416
+ target?: {
1417
+ type: "group_member";
1418
+ participantId: string;
1419
+ } | undefined;
1405
1420
  reviewAsSubtask?: boolean | undefined;
1406
1421
  delivery?: {
1407
1422
  mode: "none";
1423
+ reportPath?: string | undefined;
1408
1424
  } | {
1409
1425
  mode: "files";
1426
+ reportPath?: string | undefined;
1410
1427
  paths?: string[] | undefined;
1411
1428
  } | {
1412
1429
  mode: "archive";
1430
+ reportPath?: string | undefined;
1413
1431
  paths?: string[] | undefined;
1414
1432
  } | undefined;
1415
1433
  }, {
1416
1434
  requestId: string;
1417
1435
  expectedRevision: number;
1418
1436
  taskId: string;
1419
- bindingId?: string | undefined;
1420
- target?: {
1421
- type: "group_member";
1422
- participantId: string;
1423
- } | undefined;
1424
1437
  purpose?: {
1425
1438
  type: "implementation";
1426
1439
  reviewer?: {
@@ -1433,7 +1446,7 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1433
1446
  } | undefined;
1434
1447
  rework?: {
1435
1448
  reviewExecutionId: string;
1436
- findingIds: string[];
1449
+ feedback: string;
1437
1450
  } | undefined;
1438
1451
  } | {
1439
1452
  type: "review";
@@ -1457,14 +1470,22 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
1457
1470
  implementationTaskId?: string | undefined;
1458
1471
  candidatePaths?: string[] | undefined;
1459
1472
  } | undefined;
1473
+ bindingId?: string | undefined;
1474
+ target?: {
1475
+ type: "group_member";
1476
+ participantId: string;
1477
+ } | undefined;
1460
1478
  reviewAsSubtask?: boolean | undefined;
1461
1479
  delivery?: {
1462
1480
  mode: "none";
1481
+ reportPath?: string | undefined;
1463
1482
  } | {
1464
1483
  mode: "files";
1484
+ reportPath?: string | undefined;
1465
1485
  paths?: string[] | undefined;
1466
1486
  } | {
1467
1487
  mode: "archive";
1488
+ reportPath?: string | undefined;
1468
1489
  paths?: string[] | undefined;
1469
1490
  } | undefined;
1470
1491
  instructions?: string | undefined;
@@ -1486,27 +1507,36 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1486
1507
  reviewAsSubtask: z.ZodOptional<z.ZodBoolean>;
1487
1508
  delivery: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
1488
1509
  mode: z.ZodLiteral<"none">;
1510
+ reportPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1489
1511
  }, "strict", z.ZodTypeAny, {
1490
1512
  mode: "none";
1513
+ reportPath?: string | undefined;
1491
1514
  }, {
1492
1515
  mode: "none";
1516
+ reportPath?: string | undefined;
1493
1517
  }>, z.ZodObject<{
1494
1518
  mode: z.ZodLiteral<"files">;
1495
1519
  paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
1520
+ reportPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1496
1521
  }, "strict", z.ZodTypeAny, {
1497
1522
  mode: "files";
1523
+ reportPath?: string | undefined;
1498
1524
  paths?: string[] | undefined;
1499
1525
  }, {
1500
1526
  mode: "files";
1527
+ reportPath?: string | undefined;
1501
1528
  paths?: string[] | undefined;
1502
1529
  }>, z.ZodObject<{
1503
1530
  mode: z.ZodLiteral<"archive">;
1504
1531
  paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
1532
+ reportPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1505
1533
  }, "strict", z.ZodTypeAny, {
1506
1534
  mode: "archive";
1535
+ reportPath?: string | undefined;
1507
1536
  paths?: string[] | undefined;
1508
1537
  }, {
1509
1538
  mode: "archive";
1539
+ reportPath?: string | undefined;
1510
1540
  paths?: string[] | undefined;
1511
1541
  }>]>>;
1512
1542
  instructions: z.ZodDefault<z.ZodString>;
@@ -1535,13 +1565,13 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1535
1565
  }>>;
1536
1566
  rework: z.ZodOptional<z.ZodObject<{
1537
1567
  reviewExecutionId: z.ZodString;
1538
- findingIds: z.ZodArray<z.ZodString, "many">;
1568
+ feedback: z.ZodString;
1539
1569
  }, "strict", z.ZodTypeAny, {
1540
1570
  reviewExecutionId: string;
1541
- findingIds: string[];
1571
+ feedback: string;
1542
1572
  }, {
1543
1573
  reviewExecutionId: string;
1544
- findingIds: string[];
1574
+ feedback: string;
1545
1575
  }>>;
1546
1576
  }, "coordination">, "strict", z.ZodTypeAny, {
1547
1577
  type: "implementation";
@@ -1551,7 +1581,7 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1551
1581
  } | undefined;
1552
1582
  rework?: {
1553
1583
  reviewExecutionId: string;
1554
- findingIds: string[];
1584
+ feedback: string;
1555
1585
  } | undefined;
1556
1586
  }, {
1557
1587
  type: "implementation";
@@ -1561,7 +1591,7 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1561
1591
  } | undefined;
1562
1592
  rework?: {
1563
1593
  reviewExecutionId: string;
1564
- findingIds: string[];
1594
+ feedback: string;
1565
1595
  } | undefined;
1566
1596
  }>, z.ZodObject<Omit<{
1567
1597
  type: z.ZodLiteral<"review">;
@@ -1656,7 +1686,7 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1656
1686
  } | undefined;
1657
1687
  rework?: {
1658
1688
  reviewExecutionId: string;
1659
- findingIds: string[];
1689
+ feedback: string;
1660
1690
  } | undefined;
1661
1691
  } | {
1662
1692
  type: "review";
@@ -1686,7 +1716,7 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1686
1716
  } | undefined;
1687
1717
  rework?: {
1688
1718
  reviewExecutionId: string;
1689
- findingIds: string[];
1719
+ feedback: string;
1690
1720
  } | undefined;
1691
1721
  } | {
1692
1722
  type: "review";
@@ -1713,11 +1743,6 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1713
1743
  expectedRevision: number;
1714
1744
  taskId: string;
1715
1745
  instructions: string;
1716
- bindingId?: string | undefined;
1717
- target?: {
1718
- type: "group_member";
1719
- participantId: string;
1720
- } | undefined;
1721
1746
  purpose?: {
1722
1747
  type: "implementation";
1723
1748
  reviewer?: {
@@ -1726,7 +1751,7 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1726
1751
  } | undefined;
1727
1752
  rework?: {
1728
1753
  reviewExecutionId: string;
1729
- findingIds: string[];
1754
+ feedback: string;
1730
1755
  } | undefined;
1731
1756
  } | {
1732
1757
  type: "review";
@@ -1749,24 +1774,27 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1749
1774
  mode?: "execution" | "evidence_only" | undefined;
1750
1775
  candidatePaths?: string[] | undefined;
1751
1776
  } | undefined;
1777
+ bindingId?: string | undefined;
1778
+ target?: {
1779
+ type: "group_member";
1780
+ participantId: string;
1781
+ } | undefined;
1752
1782
  reviewAsSubtask?: boolean | undefined;
1753
1783
  delivery?: {
1754
1784
  mode: "none";
1785
+ reportPath?: string | undefined;
1755
1786
  } | {
1756
1787
  mode: "files";
1788
+ reportPath?: string | undefined;
1757
1789
  paths?: string[] | undefined;
1758
1790
  } | {
1759
1791
  mode: "archive";
1792
+ reportPath?: string | undefined;
1760
1793
  paths?: string[] | undefined;
1761
1794
  } | undefined;
1762
1795
  }, {
1763
1796
  expectedRevision: number;
1764
1797
  taskId: string;
1765
- bindingId?: string | undefined;
1766
- target?: {
1767
- type: "group_member";
1768
- participantId: string;
1769
- } | undefined;
1770
1798
  purpose?: {
1771
1799
  type: "implementation";
1772
1800
  reviewer?: {
@@ -1775,7 +1803,7 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1775
1803
  } | undefined;
1776
1804
  rework?: {
1777
1805
  reviewExecutionId: string;
1778
- findingIds: string[];
1806
+ feedback: string;
1779
1807
  } | undefined;
1780
1808
  } | {
1781
1809
  type: "review";
@@ -1798,14 +1826,22 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1798
1826
  mode?: "execution" | "evidence_only" | undefined;
1799
1827
  candidatePaths?: string[] | undefined;
1800
1828
  } | undefined;
1829
+ bindingId?: string | undefined;
1830
+ target?: {
1831
+ type: "group_member";
1832
+ participantId: string;
1833
+ } | undefined;
1801
1834
  reviewAsSubtask?: boolean | undefined;
1802
1835
  delivery?: {
1803
1836
  mode: "none";
1837
+ reportPath?: string | undefined;
1804
1838
  } | {
1805
1839
  mode: "files";
1840
+ reportPath?: string | undefined;
1806
1841
  paths?: string[] | undefined;
1807
1842
  } | {
1808
1843
  mode: "archive";
1844
+ reportPath?: string | undefined;
1809
1845
  paths?: string[] | undefined;
1810
1846
  } | undefined;
1811
1847
  instructions?: string | undefined;
@@ -1813,11 +1849,6 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1813
1849
  expectedRevision: number;
1814
1850
  taskId: string;
1815
1851
  instructions: string;
1816
- bindingId?: string | undefined;
1817
- target?: {
1818
- type: "group_member";
1819
- participantId: string;
1820
- } | undefined;
1821
1852
  purpose?: {
1822
1853
  type: "implementation";
1823
1854
  reviewer?: {
@@ -1826,7 +1857,7 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1826
1857
  } | undefined;
1827
1858
  rework?: {
1828
1859
  reviewExecutionId: string;
1829
- findingIds: string[];
1860
+ feedback: string;
1830
1861
  } | undefined;
1831
1862
  } | {
1832
1863
  type: "review";
@@ -1849,24 +1880,27 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1849
1880
  mode?: "execution" | "evidence_only" | undefined;
1850
1881
  candidatePaths?: string[] | undefined;
1851
1882
  } | undefined;
1883
+ bindingId?: string | undefined;
1884
+ target?: {
1885
+ type: "group_member";
1886
+ participantId: string;
1887
+ } | undefined;
1852
1888
  reviewAsSubtask?: boolean | undefined;
1853
1889
  delivery?: {
1854
1890
  mode: "none";
1891
+ reportPath?: string | undefined;
1855
1892
  } | {
1856
1893
  mode: "files";
1894
+ reportPath?: string | undefined;
1857
1895
  paths?: string[] | undefined;
1858
1896
  } | {
1859
1897
  mode: "archive";
1898
+ reportPath?: string | undefined;
1860
1899
  paths?: string[] | undefined;
1861
1900
  } | undefined;
1862
1901
  }, {
1863
1902
  expectedRevision: number;
1864
1903
  taskId: string;
1865
- bindingId?: string | undefined;
1866
- target?: {
1867
- type: "group_member";
1868
- participantId: string;
1869
- } | undefined;
1870
1904
  purpose?: {
1871
1905
  type: "implementation";
1872
1906
  reviewer?: {
@@ -1875,7 +1909,7 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1875
1909
  } | undefined;
1876
1910
  rework?: {
1877
1911
  reviewExecutionId: string;
1878
- findingIds: string[];
1912
+ feedback: string;
1879
1913
  } | undefined;
1880
1914
  } | {
1881
1915
  type: "review";
@@ -1898,53 +1932,62 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
1898
1932
  mode?: "execution" | "evidence_only" | undefined;
1899
1933
  candidatePaths?: string[] | undefined;
1900
1934
  } | undefined;
1935
+ bindingId?: string | undefined;
1936
+ target?: {
1937
+ type: "group_member";
1938
+ participantId: string;
1939
+ } | undefined;
1901
1940
  reviewAsSubtask?: boolean | undefined;
1902
1941
  delivery?: {
1903
1942
  mode: "none";
1943
+ reportPath?: string | undefined;
1904
1944
  } | {
1905
1945
  mode: "files";
1946
+ reportPath?: string | undefined;
1906
1947
  paths?: string[] | undefined;
1907
1948
  } | {
1908
1949
  mode: "archive";
1950
+ reportPath?: string | undefined;
1909
1951
  paths?: string[] | undefined;
1910
1952
  } | undefined;
1911
1953
  instructions?: string | undefined;
1912
1954
  }>;
1913
1955
  export type ProjectTaskDispatchInput = z.output<typeof projectTaskDispatchInputSchema>;
1914
- export declare const projectTaskReviewFindingSchema: z.ZodObject<{
1915
- id: z.ZodString;
1916
- kind: z.ZodEnum<["defect", "environment", "requirement", "coverage", "suggestion"]>;
1917
- blocking: z.ZodBoolean;
1918
- description: z.ZodString;
1919
- requirement: z.ZodOptional<z.ZodString>;
1920
- reproduction: z.ZodOptional<z.ZodString>;
1921
- expected: z.ZodOptional<z.ZodString>;
1922
- actual: z.ZodOptional<z.ZodString>;
1956
+ /** Markdown is authored evidence. Only an explicit coordinator decision accepts a task. */
1957
+ export declare const projectTaskReviewReportSchema: z.ZodObject<{
1958
+ format: z.ZodLiteral<"markdown">;
1959
+ markdown: z.ZodString;
1960
+ }, "strict", z.ZodTypeAny, {
1961
+ format: "markdown";
1962
+ markdown: string;
1963
+ }, {
1964
+ format: "markdown";
1965
+ markdown: string;
1966
+ }>;
1967
+ export type ProjectTaskReviewReport = z.output<typeof projectTaskReviewReportSchema>;
1968
+ export declare const projectTaskDecisionToolInputSchema: z.ZodObject<{
1969
+ decisionRef: z.ZodString;
1970
+ outcome: z.ZodEnum<["accept", "rework"]>;
1971
+ rationale: z.ZodString;
1972
+ checks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1923
1973
  }, "strict", z.ZodTypeAny, {
1924
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
1925
- id: string;
1926
- description: string;
1927
- blocking: boolean;
1928
- expected?: string | undefined;
1929
- requirement?: string | undefined;
1930
- reproduction?: string | undefined;
1931
- actual?: string | undefined;
1974
+ outcome: "accept" | "rework";
1975
+ decisionRef: string;
1976
+ rationale: string;
1977
+ checks?: string[] | undefined;
1932
1978
  }, {
1933
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
1934
- id: string;
1935
- description: string;
1936
- blocking: boolean;
1937
- expected?: string | undefined;
1938
- requirement?: string | undefined;
1939
- reproduction?: string | undefined;
1940
- actual?: string | undefined;
1979
+ outcome: "accept" | "rework";
1980
+ decisionRef: string;
1981
+ rationale: string;
1982
+ checks?: string[] | undefined;
1941
1983
  }>;
1942
- export declare const projectTaskExecutionReviewReportSchema: z.ZodEffects<z.ZodObject<{
1943
- version: z.ZodLiteral<2>;
1944
- mode: z.ZodLiteral<"execution">;
1945
- verdict: z.ZodEnum<["pass", "changes_required", "indeterminate"]>;
1984
+ export type ProjectTaskDecisionToolInput = z.output<typeof projectTaskDecisionToolInputSchema>;
1985
+ export declare const projectTaskDecisionInputSchema: z.ZodObject<{
1986
+ requestId: z.ZodString;
1987
+ taskId: z.ZodString;
1988
+ expectedRevision: z.ZodNumber;
1989
+ implementationExecutionId: z.ZodString;
1946
1990
  specificationDigest: z.ZodString;
1947
- implementationInvocationId: z.ZodString;
1948
1991
  evidence: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1949
1992
  type: z.ZodLiteral<"artifact">;
1950
1993
  artifactId: z.ZodString;
@@ -1982,61 +2025,14 @@ export declare const projectTaskExecutionReviewReportSchema: z.ZodEffects<z.ZodO
1982
2025
  digest: string;
1983
2026
  snapshotId: string;
1984
2027
  }>]>, "many">;
1985
- summary: z.ZodString;
1986
- checks: z.ZodArray<z.ZodObject<{
1987
- description: z.ZodString;
1988
- outcome: z.ZodEnum<["passed", "failed", "blocked"]>;
1989
- command: z.ZodOptional<z.ZodString>;
1990
- expected: z.ZodOptional<z.ZodString>;
1991
- actual: z.ZodString;
1992
- evidencePaths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1993
- }, "strict", z.ZodTypeAny, {
1994
- outcome: "failed" | "blocked" | "passed";
1995
- description: string;
1996
- actual: string;
1997
- expected?: string | undefined;
1998
- command?: string | undefined;
1999
- evidencePaths?: string[] | undefined;
2000
- }, {
2001
- outcome: "failed" | "blocked" | "passed";
2002
- description: string;
2003
- actual: string;
2004
- expected?: string | undefined;
2005
- command?: string | undefined;
2006
- evidencePaths?: string[] | undefined;
2007
- }>, "many">;
2008
- findings: z.ZodArray<z.ZodObject<{
2009
- id: z.ZodString;
2010
- kind: z.ZodEnum<["defect", "environment", "requirement", "coverage", "suggestion"]>;
2011
- blocking: z.ZodBoolean;
2012
- description: z.ZodString;
2013
- requirement: z.ZodOptional<z.ZodString>;
2014
- reproduction: z.ZodOptional<z.ZodString>;
2015
- expected: z.ZodOptional<z.ZodString>;
2016
- actual: z.ZodOptional<z.ZodString>;
2017
- }, "strict", z.ZodTypeAny, {
2018
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2019
- id: string;
2020
- description: string;
2021
- blocking: boolean;
2022
- expected?: string | undefined;
2023
- requirement?: string | undefined;
2024
- reproduction?: string | undefined;
2025
- actual?: string | undefined;
2026
- }, {
2027
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2028
- id: string;
2029
- description: string;
2030
- blocking: boolean;
2031
- expected?: string | undefined;
2032
- requirement?: string | undefined;
2033
- reproduction?: string | undefined;
2034
- actual?: string | undefined;
2035
- }>, "many">;
2036
- limitations: z.ZodArray<z.ZodString, "many">;
2028
+ reviewExecutionId: z.ZodOptional<z.ZodString>;
2029
+ outcome: z.ZodEnum<["accept", "rework"]>;
2030
+ rationale: z.ZodString;
2031
+ checks: z.ZodArray<z.ZodString, "many">;
2037
2032
  }, "strict", z.ZodTypeAny, {
2038
- mode: "execution";
2039
- version: 2;
2033
+ outcome: "accept" | "rework";
2034
+ requestId: string;
2035
+ expectedRevision: number;
2040
2036
  evidence: ({
2041
2037
  type: "artifact";
2042
2038
  artifactId: string;
@@ -2050,32 +2046,16 @@ export declare const projectTaskExecutionReviewReportSchema: z.ZodEffects<z.ZodO
2050
2046
  digest: string;
2051
2047
  snapshotId: string;
2052
2048
  })[];
2053
- summary: string;
2049
+ taskId: string;
2050
+ implementationExecutionId: string;
2054
2051
  specificationDigest: string;
2055
- implementationInvocationId: string;
2056
- verdict: "pass" | "changes_required" | "indeterminate";
2057
- findings: {
2058
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2059
- id: string;
2060
- description: string;
2061
- blocking: boolean;
2062
- expected?: string | undefined;
2063
- requirement?: string | undefined;
2064
- reproduction?: string | undefined;
2065
- actual?: string | undefined;
2066
- }[];
2067
- limitations: string[];
2068
- checks: {
2069
- outcome: "failed" | "blocked" | "passed";
2070
- description: string;
2071
- actual: string;
2072
- expected?: string | undefined;
2073
- command?: string | undefined;
2074
- evidencePaths?: string[] | undefined;
2075
- }[];
2052
+ rationale: string;
2053
+ checks: string[];
2054
+ reviewExecutionId?: string | undefined;
2076
2055
  }, {
2077
- mode: "execution";
2078
- version: 2;
2056
+ outcome: "accept" | "rework";
2057
+ requestId: string;
2058
+ expectedRevision: number;
2079
2059
  evidence: ({
2080
2060
  type: "artifact";
2081
2061
  artifactId: string;
@@ -2089,469 +2069,37 @@ export declare const projectTaskExecutionReviewReportSchema: z.ZodEffects<z.ZodO
2089
2069
  digest: string;
2090
2070
  snapshotId: string;
2091
2071
  })[];
2092
- summary: string;
2072
+ taskId: string;
2073
+ implementationExecutionId: string;
2093
2074
  specificationDigest: string;
2094
- implementationInvocationId: string;
2095
- verdict: "pass" | "changes_required" | "indeterminate";
2096
- findings: {
2097
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2098
- id: string;
2099
- description: string;
2100
- blocking: boolean;
2101
- expected?: string | undefined;
2102
- requirement?: string | undefined;
2103
- reproduction?: string | undefined;
2104
- actual?: string | undefined;
2105
- }[];
2106
- limitations: string[];
2107
- checks: {
2108
- outcome: "failed" | "blocked" | "passed";
2109
- description: string;
2110
- actual: string;
2111
- expected?: string | undefined;
2112
- command?: string | undefined;
2113
- evidencePaths?: string[] | undefined;
2114
- }[];
2115
- }>, {
2116
- mode: "execution";
2117
- version: 2;
2118
- evidence: ({
2075
+ rationale: string;
2076
+ checks: string[];
2077
+ reviewExecutionId?: string | undefined;
2078
+ }>;
2079
+ export type ProjectTaskDecisionInput = z.output<typeof projectTaskDecisionInputSchema>;
2080
+ export declare const projectTaskDecisionSchema: z.ZodObject<{
2081
+ requestId: z.ZodString;
2082
+ taskId: z.ZodString;
2083
+ expectedRevision: z.ZodNumber;
2084
+ implementationExecutionId: z.ZodString;
2085
+ specificationDigest: z.ZodString;
2086
+ evidence: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2087
+ type: z.ZodLiteral<"artifact">;
2088
+ artifactId: z.ZodString;
2089
+ versionId: z.ZodString;
2090
+ }, "strict", z.ZodTypeAny, {
2119
2091
  type: "artifact";
2120
2092
  artifactId: string;
2121
2093
  versionId: string;
2122
- } | {
2123
- type: "invocation_result";
2124
- revision: number;
2125
- invocationId: string;
2126
- } | {
2127
- type: "workspace_snapshot";
2128
- digest: string;
2129
- snapshotId: string;
2130
- })[];
2131
- summary: string;
2132
- specificationDigest: string;
2133
- implementationInvocationId: string;
2134
- verdict: "pass" | "changes_required" | "indeterminate";
2135
- findings: {
2136
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2137
- id: string;
2138
- description: string;
2139
- blocking: boolean;
2140
- expected?: string | undefined;
2141
- requirement?: string | undefined;
2142
- reproduction?: string | undefined;
2143
- actual?: string | undefined;
2144
- }[];
2145
- limitations: string[];
2146
- checks: {
2147
- outcome: "failed" | "blocked" | "passed";
2148
- description: string;
2149
- actual: string;
2150
- expected?: string | undefined;
2151
- command?: string | undefined;
2152
- evidencePaths?: string[] | undefined;
2153
- }[];
2154
- }, {
2155
- mode: "execution";
2156
- version: 2;
2157
- evidence: ({
2094
+ }, {
2158
2095
  type: "artifact";
2159
2096
  artifactId: string;
2160
2097
  versionId: string;
2161
- } | {
2162
- type: "invocation_result";
2163
- revision: number;
2164
- invocationId: string;
2165
- } | {
2166
- type: "workspace_snapshot";
2167
- digest: string;
2168
- snapshotId: string;
2169
- })[];
2170
- summary: string;
2171
- specificationDigest: string;
2172
- implementationInvocationId: string;
2173
- verdict: "pass" | "changes_required" | "indeterminate";
2174
- findings: {
2175
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2176
- id: string;
2177
- description: string;
2178
- blocking: boolean;
2179
- expected?: string | undefined;
2180
- requirement?: string | undefined;
2181
- reproduction?: string | undefined;
2182
- actual?: string | undefined;
2183
- }[];
2184
- limitations: string[];
2185
- checks: {
2186
- outcome: "failed" | "blocked" | "passed";
2187
- description: string;
2188
- actual: string;
2189
- expected?: string | undefined;
2190
- command?: string | undefined;
2191
- evidencePaths?: string[] | undefined;
2192
- }[];
2193
- }>;
2194
- export type ProjectTaskExecutionReviewReport = z.output<typeof projectTaskExecutionReviewReportSchema>;
2195
- export declare const projectTaskReviewReportSchema: z.ZodUnion<[z.ZodObject<{
2196
- version: z.ZodLiteral<1>;
2197
- verdict: z.ZodEnum<["pass", "changes_required", "indeterminate"]>;
2198
- specificationDigest: z.ZodString;
2199
- implementationInvocationId: z.ZodString;
2200
- evidence: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2201
- type: z.ZodLiteral<"artifact">;
2202
- artifactId: z.ZodString;
2203
- versionId: z.ZodString;
2204
- }, "strict", z.ZodTypeAny, {
2205
- type: "artifact";
2206
- artifactId: string;
2207
- versionId: string;
2208
- }, {
2209
- type: "artifact";
2210
- artifactId: string;
2211
- versionId: string;
2212
- }>, z.ZodObject<{
2213
- type: z.ZodLiteral<"invocation_result">;
2214
- invocationId: z.ZodString;
2215
- revision: z.ZodNumber;
2216
- }, "strict", z.ZodTypeAny, {
2217
- type: "invocation_result";
2218
- revision: number;
2219
- invocationId: string;
2220
- }, {
2221
- type: "invocation_result";
2222
- revision: number;
2223
- invocationId: string;
2224
- }>, z.ZodObject<{
2225
- type: z.ZodLiteral<"workspace_snapshot">;
2226
- snapshotId: z.ZodString;
2227
- digest: z.ZodString;
2228
- }, "strict", z.ZodTypeAny, {
2229
- type: "workspace_snapshot";
2230
- digest: string;
2231
- snapshotId: string;
2232
- }, {
2233
- type: "workspace_snapshot";
2234
- digest: string;
2235
- snapshotId: string;
2236
- }>]>, "many">;
2237
- findings: z.ZodArray<z.ZodString, "many">;
2238
- limitations: z.ZodArray<z.ZodString, "many">;
2239
- }, "strict", z.ZodTypeAny, {
2240
- version: 1;
2241
- evidence: ({
2242
- type: "artifact";
2243
- artifactId: string;
2244
- versionId: string;
2245
- } | {
2246
- type: "invocation_result";
2247
- revision: number;
2248
- invocationId: string;
2249
- } | {
2250
- type: "workspace_snapshot";
2251
- digest: string;
2252
- snapshotId: string;
2253
- })[];
2254
- specificationDigest: string;
2255
- implementationInvocationId: string;
2256
- verdict: "pass" | "changes_required" | "indeterminate";
2257
- findings: string[];
2258
- limitations: string[];
2259
- }, {
2260
- version: 1;
2261
- evidence: ({
2262
- type: "artifact";
2263
- artifactId: string;
2264
- versionId: string;
2265
- } | {
2266
- type: "invocation_result";
2267
- revision: number;
2268
- invocationId: string;
2269
- } | {
2270
- type: "workspace_snapshot";
2271
- digest: string;
2272
- snapshotId: string;
2273
- })[];
2274
- specificationDigest: string;
2275
- implementationInvocationId: string;
2276
- verdict: "pass" | "changes_required" | "indeterminate";
2277
- findings: string[];
2278
- limitations: string[];
2279
- }>, z.ZodEffects<z.ZodObject<{
2280
- version: z.ZodLiteral<2>;
2281
- mode: z.ZodLiteral<"execution">;
2282
- verdict: z.ZodEnum<["pass", "changes_required", "indeterminate"]>;
2283
- specificationDigest: z.ZodString;
2284
- implementationInvocationId: z.ZodString;
2285
- evidence: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2286
- type: z.ZodLiteral<"artifact">;
2287
- artifactId: z.ZodString;
2288
- versionId: z.ZodString;
2289
- }, "strict", z.ZodTypeAny, {
2290
- type: "artifact";
2291
- artifactId: string;
2292
- versionId: string;
2293
- }, {
2294
- type: "artifact";
2295
- artifactId: string;
2296
- versionId: string;
2297
- }>, z.ZodObject<{
2298
- type: z.ZodLiteral<"invocation_result">;
2299
- invocationId: z.ZodString;
2300
- revision: z.ZodNumber;
2301
- }, "strict", z.ZodTypeAny, {
2302
- type: "invocation_result";
2303
- revision: number;
2304
- invocationId: string;
2305
- }, {
2306
- type: "invocation_result";
2307
- revision: number;
2308
- invocationId: string;
2309
- }>, z.ZodObject<{
2310
- type: z.ZodLiteral<"workspace_snapshot">;
2311
- snapshotId: z.ZodString;
2312
- digest: z.ZodString;
2313
- }, "strict", z.ZodTypeAny, {
2314
- type: "workspace_snapshot";
2315
- digest: string;
2316
- snapshotId: string;
2317
- }, {
2318
- type: "workspace_snapshot";
2319
- digest: string;
2320
- snapshotId: string;
2321
- }>]>, "many">;
2322
- summary: z.ZodString;
2323
- checks: z.ZodArray<z.ZodObject<{
2324
- description: z.ZodString;
2325
- outcome: z.ZodEnum<["passed", "failed", "blocked"]>;
2326
- command: z.ZodOptional<z.ZodString>;
2327
- expected: z.ZodOptional<z.ZodString>;
2328
- actual: z.ZodString;
2329
- evidencePaths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
2330
- }, "strict", z.ZodTypeAny, {
2331
- outcome: "failed" | "blocked" | "passed";
2332
- description: string;
2333
- actual: string;
2334
- expected?: string | undefined;
2335
- command?: string | undefined;
2336
- evidencePaths?: string[] | undefined;
2337
- }, {
2338
- outcome: "failed" | "blocked" | "passed";
2339
- description: string;
2340
- actual: string;
2341
- expected?: string | undefined;
2342
- command?: string | undefined;
2343
- evidencePaths?: string[] | undefined;
2344
- }>, "many">;
2345
- findings: z.ZodArray<z.ZodObject<{
2346
- id: z.ZodString;
2347
- kind: z.ZodEnum<["defect", "environment", "requirement", "coverage", "suggestion"]>;
2348
- blocking: z.ZodBoolean;
2349
- description: z.ZodString;
2350
- requirement: z.ZodOptional<z.ZodString>;
2351
- reproduction: z.ZodOptional<z.ZodString>;
2352
- expected: z.ZodOptional<z.ZodString>;
2353
- actual: z.ZodOptional<z.ZodString>;
2354
- }, "strict", z.ZodTypeAny, {
2355
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2356
- id: string;
2357
- description: string;
2358
- blocking: boolean;
2359
- expected?: string | undefined;
2360
- requirement?: string | undefined;
2361
- reproduction?: string | undefined;
2362
- actual?: string | undefined;
2363
- }, {
2364
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2365
- id: string;
2366
- description: string;
2367
- blocking: boolean;
2368
- expected?: string | undefined;
2369
- requirement?: string | undefined;
2370
- reproduction?: string | undefined;
2371
- actual?: string | undefined;
2372
- }>, "many">;
2373
- limitations: z.ZodArray<z.ZodString, "many">;
2374
- }, "strict", z.ZodTypeAny, {
2375
- mode: "execution";
2376
- version: 2;
2377
- evidence: ({
2378
- type: "artifact";
2379
- artifactId: string;
2380
- versionId: string;
2381
- } | {
2382
- type: "invocation_result";
2383
- revision: number;
2384
- invocationId: string;
2385
- } | {
2386
- type: "workspace_snapshot";
2387
- digest: string;
2388
- snapshotId: string;
2389
- })[];
2390
- summary: string;
2391
- specificationDigest: string;
2392
- implementationInvocationId: string;
2393
- verdict: "pass" | "changes_required" | "indeterminate";
2394
- findings: {
2395
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2396
- id: string;
2397
- description: string;
2398
- blocking: boolean;
2399
- expected?: string | undefined;
2400
- requirement?: string | undefined;
2401
- reproduction?: string | undefined;
2402
- actual?: string | undefined;
2403
- }[];
2404
- limitations: string[];
2405
- checks: {
2406
- outcome: "failed" | "blocked" | "passed";
2407
- description: string;
2408
- actual: string;
2409
- expected?: string | undefined;
2410
- command?: string | undefined;
2411
- evidencePaths?: string[] | undefined;
2412
- }[];
2413
- }, {
2414
- mode: "execution";
2415
- version: 2;
2416
- evidence: ({
2417
- type: "artifact";
2418
- artifactId: string;
2419
- versionId: string;
2420
- } | {
2421
- type: "invocation_result";
2422
- revision: number;
2423
- invocationId: string;
2424
- } | {
2425
- type: "workspace_snapshot";
2426
- digest: string;
2427
- snapshotId: string;
2428
- })[];
2429
- summary: string;
2430
- specificationDigest: string;
2431
- implementationInvocationId: string;
2432
- verdict: "pass" | "changes_required" | "indeterminate";
2433
- findings: {
2434
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2435
- id: string;
2436
- description: string;
2437
- blocking: boolean;
2438
- expected?: string | undefined;
2439
- requirement?: string | undefined;
2440
- reproduction?: string | undefined;
2441
- actual?: string | undefined;
2442
- }[];
2443
- limitations: string[];
2444
- checks: {
2445
- outcome: "failed" | "blocked" | "passed";
2446
- description: string;
2447
- actual: string;
2448
- expected?: string | undefined;
2449
- command?: string | undefined;
2450
- evidencePaths?: string[] | undefined;
2451
- }[];
2452
- }>, {
2453
- mode: "execution";
2454
- version: 2;
2455
- evidence: ({
2456
- type: "artifact";
2457
- artifactId: string;
2458
- versionId: string;
2459
- } | {
2460
- type: "invocation_result";
2461
- revision: number;
2462
- invocationId: string;
2463
- } | {
2464
- type: "workspace_snapshot";
2465
- digest: string;
2466
- snapshotId: string;
2467
- })[];
2468
- summary: string;
2469
- specificationDigest: string;
2470
- implementationInvocationId: string;
2471
- verdict: "pass" | "changes_required" | "indeterminate";
2472
- findings: {
2473
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2474
- id: string;
2475
- description: string;
2476
- blocking: boolean;
2477
- expected?: string | undefined;
2478
- requirement?: string | undefined;
2479
- reproduction?: string | undefined;
2480
- actual?: string | undefined;
2481
- }[];
2482
- limitations: string[];
2483
- checks: {
2484
- outcome: "failed" | "blocked" | "passed";
2485
- description: string;
2486
- actual: string;
2487
- expected?: string | undefined;
2488
- command?: string | undefined;
2489
- evidencePaths?: string[] | undefined;
2490
- }[];
2491
- }, {
2492
- mode: "execution";
2493
- version: 2;
2494
- evidence: ({
2495
- type: "artifact";
2496
- artifactId: string;
2497
- versionId: string;
2498
- } | {
2499
- type: "invocation_result";
2500
- revision: number;
2501
- invocationId: string;
2502
- } | {
2503
- type: "workspace_snapshot";
2504
- digest: string;
2505
- snapshotId: string;
2506
- })[];
2507
- summary: string;
2508
- specificationDigest: string;
2509
- implementationInvocationId: string;
2510
- verdict: "pass" | "changes_required" | "indeterminate";
2511
- findings: {
2512
- kind: "coverage" | "defect" | "environment" | "requirement" | "suggestion";
2513
- id: string;
2514
- description: string;
2515
- blocking: boolean;
2516
- expected?: string | undefined;
2517
- requirement?: string | undefined;
2518
- reproduction?: string | undefined;
2519
- actual?: string | undefined;
2520
- }[];
2521
- limitations: string[];
2522
- checks: {
2523
- outcome: "failed" | "blocked" | "passed";
2524
- description: string;
2525
- actual: string;
2526
- expected?: string | undefined;
2527
- command?: string | undefined;
2528
- evidencePaths?: string[] | undefined;
2529
- }[];
2530
- }>]>;
2531
- export type ProjectTaskReviewReport = z.output<typeof projectTaskReviewReportSchema>;
2532
- export declare const projectTaskDecisionInputSchema: z.ZodObject<{
2533
- requestId: z.ZodString;
2534
- taskId: z.ZodString;
2535
- expectedRevision: z.ZodNumber;
2536
- implementationExecutionId: z.ZodString;
2537
- specificationDigest: z.ZodString;
2538
- evidence: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2539
- type: z.ZodLiteral<"artifact">;
2540
- artifactId: z.ZodString;
2541
- versionId: z.ZodString;
2542
- }, "strict", z.ZodTypeAny, {
2543
- type: "artifact";
2544
- artifactId: string;
2545
- versionId: string;
2546
- }, {
2547
- type: "artifact";
2548
- artifactId: string;
2549
- versionId: string;
2550
- }>, z.ZodObject<{
2551
- type: z.ZodLiteral<"invocation_result">;
2552
- invocationId: z.ZodString;
2553
- revision: z.ZodNumber;
2554
- }, "strict", z.ZodTypeAny, {
2098
+ }>, z.ZodObject<{
2099
+ type: z.ZodLiteral<"invocation_result">;
2100
+ invocationId: z.ZodString;
2101
+ revision: z.ZodNumber;
2102
+ }, "strict", z.ZodTypeAny, {
2555
2103
  type: "invocation_result";
2556
2104
  revision: number;
2557
2105
  invocationId: string;
@@ -2576,105 +2124,23 @@ export declare const projectTaskDecisionInputSchema: z.ZodObject<{
2576
2124
  outcome: z.ZodEnum<["accept", "rework"]>;
2577
2125
  rationale: z.ZodString;
2578
2126
  checks: z.ZodArray<z.ZodString, "many">;
2579
- }, "strict", z.ZodTypeAny, {
2580
- outcome: "accept" | "rework";
2581
- requestId: string;
2582
- expectedRevision: number;
2583
- evidence: ({
2584
- type: "artifact";
2585
- artifactId: string;
2586
- versionId: string;
2587
- } | {
2588
- type: "invocation_result";
2589
- revision: number;
2590
- invocationId: string;
2591
- } | {
2592
- type: "workspace_snapshot";
2593
- digest: string;
2594
- snapshotId: string;
2595
- })[];
2596
- taskId: string;
2597
- implementationExecutionId: string;
2598
- specificationDigest: string;
2599
- checks: string[];
2600
- rationale: string;
2601
- reviewExecutionId?: string | undefined;
2602
- }, {
2603
- outcome: "accept" | "rework";
2604
- requestId: string;
2605
- expectedRevision: number;
2606
- evidence: ({
2607
- type: "artifact";
2608
- artifactId: string;
2609
- versionId: string;
2610
- } | {
2611
- type: "invocation_result";
2612
- revision: number;
2613
- invocationId: string;
2614
- } | {
2615
- type: "workspace_snapshot";
2616
- digest: string;
2617
- snapshotId: string;
2618
- })[];
2619
- taskId: string;
2620
- implementationExecutionId: string;
2621
- specificationDigest: string;
2622
- checks: string[];
2623
- rationale: string;
2624
- reviewExecutionId?: string | undefined;
2625
- }>;
2626
- export type ProjectTaskDecisionInput = z.output<typeof projectTaskDecisionInputSchema>;
2627
- export declare const projectTaskDecisionSchema: z.ZodObject<{
2628
- requestId: z.ZodString;
2629
- taskId: z.ZodString;
2630
- expectedRevision: z.ZodNumber;
2631
- implementationExecutionId: z.ZodString;
2632
- specificationDigest: z.ZodString;
2633
- evidence: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2634
- type: z.ZodLiteral<"artifact">;
2635
- artifactId: z.ZodString;
2636
- versionId: z.ZodString;
2637
- }, "strict", z.ZodTypeAny, {
2638
- type: "artifact";
2639
- artifactId: string;
2640
- versionId: string;
2641
- }, {
2642
- type: "artifact";
2643
- artifactId: string;
2644
- versionId: string;
2645
- }>, z.ZodObject<{
2646
- type: z.ZodLiteral<"invocation_result">;
2127
+ } & {
2128
+ actorId: z.ZodString;
2129
+ actorType: z.ZodEnum<["user", "xpert", "project_agent"]>;
2130
+ executionId: z.ZodOptional<z.ZodString>;
2131
+ reviewResult: z.ZodOptional<z.ZodObject<{
2647
2132
  invocationId: z.ZodString;
2648
2133
  revision: z.ZodNumber;
2134
+ sha256: z.ZodString;
2649
2135
  }, "strict", z.ZodTypeAny, {
2650
- type: "invocation_result";
2651
2136
  revision: number;
2137
+ sha256: string;
2652
2138
  invocationId: string;
2653
2139
  }, {
2654
- type: "invocation_result";
2655
2140
  revision: number;
2141
+ sha256: string;
2656
2142
  invocationId: string;
2657
- }>, z.ZodObject<{
2658
- type: z.ZodLiteral<"workspace_snapshot">;
2659
- snapshotId: z.ZodString;
2660
- digest: z.ZodString;
2661
- }, "strict", z.ZodTypeAny, {
2662
- type: "workspace_snapshot";
2663
- digest: string;
2664
- snapshotId: string;
2665
- }, {
2666
- type: "workspace_snapshot";
2667
- digest: string;
2668
- snapshotId: string;
2669
- }>]>, "many">;
2670
- reviewExecutionId: z.ZodOptional<z.ZodString>;
2671
- outcome: z.ZodEnum<["accept", "rework"]>;
2672
- rationale: z.ZodString;
2673
- checks: z.ZodArray<z.ZodString, "many">;
2674
- } & {
2675
- actorId: z.ZodString;
2676
- actorType: z.ZodEnum<["user", "xpert", "project_agent"]>;
2677
- executionId: z.ZodOptional<z.ZodString>;
2143
+ }>>;
2678
2144
  decidedAt: z.ZodString;
2679
2145
  taskRevision: z.ZodNumber;
2680
2146
  }, "strict", z.ZodTypeAny, {
@@ -2698,13 +2164,18 @@ export declare const projectTaskDecisionSchema: z.ZodObject<{
2698
2164
  taskId: string;
2699
2165
  implementationExecutionId: string;
2700
2166
  specificationDigest: string;
2701
- checks: string[];
2702
2167
  rationale: string;
2168
+ checks: string[];
2703
2169
  actorId: string;
2704
2170
  actorType: "user" | "xpert" | "project_agent";
2705
2171
  taskRevision: number;
2706
2172
  executionId?: string | undefined;
2707
2173
  reviewExecutionId?: string | undefined;
2174
+ reviewResult?: {
2175
+ revision: number;
2176
+ sha256: string;
2177
+ invocationId: string;
2178
+ } | undefined;
2708
2179
  }, {
2709
2180
  outcome: "accept" | "rework";
2710
2181
  requestId: string;
@@ -2726,12 +2197,17 @@ export declare const projectTaskDecisionSchema: z.ZodObject<{
2726
2197
  taskId: string;
2727
2198
  implementationExecutionId: string;
2728
2199
  specificationDigest: string;
2729
- checks: string[];
2730
2200
  rationale: string;
2201
+ checks: string[];
2731
2202
  actorId: string;
2732
2203
  actorType: "user" | "xpert" | "project_agent";
2733
2204
  taskRevision: number;
2734
2205
  executionId?: string | undefined;
2735
2206
  reviewExecutionId?: string | undefined;
2207
+ reviewResult?: {
2208
+ revision: number;
2209
+ sha256: string;
2210
+ invocationId: string;
2211
+ } | undefined;
2736
2212
  }>;
2737
2213
  export type ProjectTaskDecision = z.output<typeof projectTaskDecisionSchema>;