@xpert-ai/contracts 3.34.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.
- package/context-event.cjs.default.js +1 -0
- package/context-event.cjs.js +26 -0
- package/context-event.cjs.mjs +2 -0
- package/context-event.d.ts +1 -0
- package/context-event.esm.js +24 -0
- package/index.cjs.default.js +1 -0
- package/index.cjs.js +670 -319
- package/index.cjs.mjs +2 -0
- package/index.esm.js +637 -318
- package/package.json +18 -2
- package/src/agent-event.model.d.ts +88 -0
- package/src/agent-event.schema.d.ts +120 -0
- package/src/agent-plugin.d.ts +4 -29
- package/src/ai/agent-output-delivery.model.d.ts +22 -1
- package/src/ai/agent-runtime.model.d.ts +4 -4
- package/src/ai/assistant-capability.model.d.ts +0 -1
- package/src/ai/assistant-template-manifest.model.d.ts +316 -352
- package/src/ai/assistant-template-overview.model.d.ts +0 -4
- package/src/ai/assistant-template-setup.model.d.ts +8 -8
- package/src/ai/assistant-template.model.d.ts +0 -4
- package/src/ai/bosi.model.d.ts +1 -1
- package/src/ai/chat-activity.model.d.ts +8 -0
- package/src/ai/chat-message.model.d.ts +0 -11
- package/src/ai/chat.model.d.ts +1 -0
- package/src/ai/cli-execution.model.d.ts +88 -0
- package/src/ai/conversation-trail.model.d.ts +274 -274
- package/src/ai/copilot-store.model.d.ts +0 -13
- package/src/ai/evolution/entities.d.ts +164 -0
- package/src/ai/evolution/evaluation.d.ts +7 -0
- package/src/ai/evolution/execution-review.d.ts +68 -0
- package/src/ai/evolution/index.d.ts +2 -0
- package/src/ai/evolution/provider.d.ts +1 -0
- package/src/ai/evolution/target.d.ts +5 -0
- package/src/ai/execution-activity.model.d.ts +362 -362
- package/src/ai/execution-control-evidence.schema.d.ts +22 -22
- package/src/ai/execution-observability.model.d.ts +196 -196
- package/src/ai/execution-source.model.d.ts +45 -0
- package/src/ai/index.d.ts +4 -0
- package/src/ai/mcp-execution-control.schema.d.ts +2 -2
- package/src/ai/middleware.model.d.ts +1 -0
- package/src/ai/model-execution.model.d.ts +7 -108
- package/src/ai/model-replacement.model.d.ts +18 -18
- package/src/ai/project-configuration-view.model.d.ts +78 -0
- package/src/ai/project-pipeline/analytics.d.ts +192 -192
- package/src/ai/project-pipeline/budget.schema.d.ts +38 -0
- package/src/ai/project-pipeline/commands.schema.d.ts +543 -500
- package/src/ai/project-pipeline/configuration-form.d.ts +1980 -1836
- package/src/ai/project-pipeline/configuration.schema.d.ts +450 -413
- package/src/ai/project-pipeline/contribution.schema.d.ts +688 -639
- package/src/ai/project-pipeline/definition.schema.d.ts +400 -356
- package/src/ai/project-pipeline/execution-statistics.d.ts +18 -18
- package/src/ai/project-pipeline/graph.model.d.ts +5 -0
- package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
- package/src/ai/project-pipeline/index.d.ts +1 -0
- package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -6
- package/src/ai/project-pipeline/node.schema.d.ts +57 -44
- package/src/ai/project-pipeline/operation.schema.d.ts +338 -338
- package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +152 -0
- package/src/ai/project-pipeline/portfolio.schema.d.ts +468 -468
- package/src/ai/project-pipeline/primitives.schema.d.ts +6 -6
- package/src/ai/project-pipeline/projection.schema.d.ts +609 -572
- package/src/ai/project-pipeline/provider-actions.schema.d.ts +112 -112
- package/src/ai/project-pipeline/queue-statistics.d.ts +10 -10
- package/src/ai/project-pipeline/runtime.schema.d.ts +62 -62
- package/src/ai/project-pipeline/statistics.d.ts +100 -100
- package/src/ai/project-task-runtime.model.d.ts +969 -242
- package/src/ai/project-type-configuration.model.d.ts +48 -0
- package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
- package/src/ai/template-installation.model.d.ts +18 -18
- package/src/ai/template-lifecycle.model.d.ts +6 -6
- package/src/ai/thread-control-view.schema.d.ts +4 -4
- package/src/ai/xpert-agent-execution.model.d.ts +4 -0
- package/src/ai/xpert-project-type.model.d.ts +3 -0
- package/src/ai/xpert-project.model.d.ts +4 -1
- package/src/ai/xpert-task.model.d.ts +16 -0
- package/src/ai/xpert.model.d.ts +0 -34
- package/src/ai/xpert.utils.d.ts +0 -1
- package/src/analytics/analysis-evidence.model.d.ts +29 -0
- package/src/analytics/analytics-certification.model.d.ts +17 -0
- package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
- package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
- package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
- package/src/analytics/index.d.ts +7 -0
- package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
- package/src/app-platform.d.ts +16 -16
- package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
- package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
- package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
- package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
- package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +2 -2
- package/src/artifacts/index.d.ts +5 -0
- package/src/collaboration.model.d.ts +31 -11
- package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
- package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +6 -3
- package/src/content/content-transfer.model.d.ts +21 -0
- package/src/content/index.d.ts +4 -0
- package/src/execution-control-admission.schema.d.ts +2 -2
- package/src/index.d.ts +5 -14
- package/src/plugin-management.d.ts +13 -0
- package/src/plugin.d.ts +2 -0
- package/src/user-notification.schema.d.ts +75 -28
- package/src/view-extension/client-commands.d.ts +24 -0
- package/src/view-extension/context-event.d.ts +66 -0
- package/src/view-extension/index.d.ts +1 -0
- /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
- /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;
|
|
@@ -174,15 +174,110 @@ export declare const projectTaskEvidenceReferenceSchema: z.ZodDiscriminatedUnion
|
|
|
174
174
|
snapshotId: string;
|
|
175
175
|
}>]>;
|
|
176
176
|
export type ProjectTaskEvidenceReference = z.output<typeof projectTaskEvidenceReferenceSchema>;
|
|
177
|
-
export declare const
|
|
177
|
+
export declare const projectTaskReviewerSchema: z.ZodObject<{
|
|
178
|
+
bindingId: z.ZodString;
|
|
179
|
+
mode: z.ZodEnum<["evidence_only", "execution"]>;
|
|
180
|
+
}, "strict", z.ZodTypeAny, {
|
|
181
|
+
mode: "execution" | "evidence_only";
|
|
182
|
+
bindingId: string;
|
|
183
|
+
}, {
|
|
184
|
+
mode: "execution" | "evidence_only";
|
|
185
|
+
bindingId: string;
|
|
186
|
+
}>;
|
|
187
|
+
export type ProjectTaskReviewer = z.output<typeof projectTaskReviewerSchema>;
|
|
188
|
+
/** Host-owned identity of a review work item; retries cannot change its candidate. */
|
|
189
|
+
export declare const projectTaskReviewSubjectSchema: z.ZodObject<{
|
|
190
|
+
implementationTaskId: z.ZodString;
|
|
191
|
+
implementationExecutionId: z.ZodString;
|
|
192
|
+
specificationDigest: z.ZodString;
|
|
193
|
+
}, "strict", z.ZodTypeAny, {
|
|
194
|
+
implementationTaskId: string;
|
|
195
|
+
implementationExecutionId: string;
|
|
196
|
+
specificationDigest: string;
|
|
197
|
+
}, {
|
|
198
|
+
implementationTaskId: string;
|
|
199
|
+
implementationExecutionId: string;
|
|
200
|
+
specificationDigest: string;
|
|
201
|
+
}>;
|
|
202
|
+
export type ProjectTaskReviewSubject = z.output<typeof projectTaskReviewSubjectSchema>;
|
|
203
|
+
export declare const projectTaskReworkSchema: z.ZodObject<{
|
|
204
|
+
reviewExecutionId: z.ZodString;
|
|
205
|
+
feedback: z.ZodString;
|
|
206
|
+
}, "strict", z.ZodTypeAny, {
|
|
207
|
+
reviewExecutionId: string;
|
|
208
|
+
feedback: string;
|
|
209
|
+
}, {
|
|
210
|
+
reviewExecutionId: string;
|
|
211
|
+
feedback: string;
|
|
212
|
+
}>;
|
|
213
|
+
export declare const projectTaskCandidatePathSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
214
|
+
export declare const projectTaskEvidencePathSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
215
|
+
export declare const projectTaskExecutionPurposeSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
178
216
|
type: z.ZodLiteral<"implementation">;
|
|
217
|
+
reviewer: z.ZodOptional<z.ZodObject<{
|
|
218
|
+
bindingId: z.ZodString;
|
|
219
|
+
mode: z.ZodEnum<["evidence_only", "execution"]>;
|
|
220
|
+
}, "strict", z.ZodTypeAny, {
|
|
221
|
+
mode: "execution" | "evidence_only";
|
|
222
|
+
bindingId: string;
|
|
223
|
+
}, {
|
|
224
|
+
mode: "execution" | "evidence_only";
|
|
225
|
+
bindingId: string;
|
|
226
|
+
}>>;
|
|
227
|
+
coordination: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
taskId: z.ZodString;
|
|
229
|
+
specificationDigest: z.ZodString;
|
|
230
|
+
}, "strict", z.ZodTypeAny, {
|
|
231
|
+
taskId: string;
|
|
232
|
+
specificationDigest: string;
|
|
233
|
+
}, {
|
|
234
|
+
taskId: string;
|
|
235
|
+
specificationDigest: string;
|
|
236
|
+
}>>;
|
|
237
|
+
rework: z.ZodOptional<z.ZodObject<{
|
|
238
|
+
reviewExecutionId: z.ZodString;
|
|
239
|
+
feedback: z.ZodString;
|
|
240
|
+
}, "strict", z.ZodTypeAny, {
|
|
241
|
+
reviewExecutionId: string;
|
|
242
|
+
feedback: string;
|
|
243
|
+
}, {
|
|
244
|
+
reviewExecutionId: string;
|
|
245
|
+
feedback: string;
|
|
246
|
+
}>>;
|
|
179
247
|
}, "strict", z.ZodTypeAny, {
|
|
180
248
|
type: "implementation";
|
|
249
|
+
reviewer?: {
|
|
250
|
+
mode: "execution" | "evidence_only";
|
|
251
|
+
bindingId: string;
|
|
252
|
+
} | undefined;
|
|
253
|
+
coordination?: {
|
|
254
|
+
taskId: string;
|
|
255
|
+
specificationDigest: string;
|
|
256
|
+
} | undefined;
|
|
257
|
+
rework?: {
|
|
258
|
+
reviewExecutionId: string;
|
|
259
|
+
feedback: string;
|
|
260
|
+
} | undefined;
|
|
181
261
|
}, {
|
|
182
262
|
type: "implementation";
|
|
263
|
+
reviewer?: {
|
|
264
|
+
mode: "execution" | "evidence_only";
|
|
265
|
+
bindingId: string;
|
|
266
|
+
} | undefined;
|
|
267
|
+
coordination?: {
|
|
268
|
+
taskId: string;
|
|
269
|
+
specificationDigest: string;
|
|
270
|
+
} | undefined;
|
|
271
|
+
rework?: {
|
|
272
|
+
reviewExecutionId: string;
|
|
273
|
+
feedback: string;
|
|
274
|
+
} | undefined;
|
|
183
275
|
}>, z.ZodObject<{
|
|
184
276
|
type: z.ZodLiteral<"review">;
|
|
277
|
+
mode: z.ZodOptional<z.ZodEnum<["evidence_only", "execution"]>>;
|
|
278
|
+
candidatePaths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
185
279
|
implementationExecutionId: z.ZodString;
|
|
280
|
+
implementationTaskId: z.ZodOptional<z.ZodString>;
|
|
186
281
|
implementationInvocationId: z.ZodString;
|
|
187
282
|
specificationDigest: z.ZodString;
|
|
188
283
|
evidence: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -238,8 +333,11 @@ export declare const projectTaskExecutionPurposeSchema: z.ZodDiscriminatedUnion<
|
|
|
238
333
|
snapshotId: string;
|
|
239
334
|
})[];
|
|
240
335
|
implementationExecutionId: string;
|
|
241
|
-
implementationInvocationId: string;
|
|
242
336
|
specificationDigest: string;
|
|
337
|
+
implementationInvocationId: string;
|
|
338
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
339
|
+
implementationTaskId?: string | undefined;
|
|
340
|
+
candidatePaths?: string[] | undefined;
|
|
243
341
|
}, {
|
|
244
342
|
type: "review";
|
|
245
343
|
evidence: ({
|
|
@@ -256,9 +354,82 @@ export declare const projectTaskExecutionPurposeSchema: z.ZodDiscriminatedUnion<
|
|
|
256
354
|
snapshotId: string;
|
|
257
355
|
})[];
|
|
258
356
|
implementationExecutionId: string;
|
|
357
|
+
specificationDigest: string;
|
|
358
|
+
implementationInvocationId: string;
|
|
359
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
360
|
+
implementationTaskId?: string | undefined;
|
|
361
|
+
candidatePaths?: string[] | undefined;
|
|
362
|
+
}>]>, {
|
|
363
|
+
type: "implementation";
|
|
364
|
+
reviewer?: {
|
|
365
|
+
mode: "execution" | "evidence_only";
|
|
366
|
+
bindingId: string;
|
|
367
|
+
} | undefined;
|
|
368
|
+
coordination?: {
|
|
369
|
+
taskId: string;
|
|
370
|
+
specificationDigest: string;
|
|
371
|
+
} | undefined;
|
|
372
|
+
rework?: {
|
|
373
|
+
reviewExecutionId: string;
|
|
374
|
+
feedback: string;
|
|
375
|
+
} | undefined;
|
|
376
|
+
} | {
|
|
377
|
+
type: "review";
|
|
378
|
+
evidence: ({
|
|
379
|
+
type: "artifact";
|
|
380
|
+
artifactId: string;
|
|
381
|
+
versionId: string;
|
|
382
|
+
} | {
|
|
383
|
+
type: "invocation_result";
|
|
384
|
+
revision: number;
|
|
385
|
+
invocationId: string;
|
|
386
|
+
} | {
|
|
387
|
+
type: "workspace_snapshot";
|
|
388
|
+
digest: string;
|
|
389
|
+
snapshotId: string;
|
|
390
|
+
})[];
|
|
391
|
+
implementationExecutionId: string;
|
|
392
|
+
specificationDigest: string;
|
|
259
393
|
implementationInvocationId: string;
|
|
394
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
395
|
+
implementationTaskId?: string | undefined;
|
|
396
|
+
candidatePaths?: string[] | undefined;
|
|
397
|
+
}, {
|
|
398
|
+
type: "implementation";
|
|
399
|
+
reviewer?: {
|
|
400
|
+
mode: "execution" | "evidence_only";
|
|
401
|
+
bindingId: string;
|
|
402
|
+
} | undefined;
|
|
403
|
+
coordination?: {
|
|
404
|
+
taskId: string;
|
|
405
|
+
specificationDigest: string;
|
|
406
|
+
} | undefined;
|
|
407
|
+
rework?: {
|
|
408
|
+
reviewExecutionId: string;
|
|
409
|
+
feedback: string;
|
|
410
|
+
} | undefined;
|
|
411
|
+
} | {
|
|
412
|
+
type: "review";
|
|
413
|
+
evidence: ({
|
|
414
|
+
type: "artifact";
|
|
415
|
+
artifactId: string;
|
|
416
|
+
versionId: string;
|
|
417
|
+
} | {
|
|
418
|
+
type: "invocation_result";
|
|
419
|
+
revision: number;
|
|
420
|
+
invocationId: string;
|
|
421
|
+
} | {
|
|
422
|
+
type: "workspace_snapshot";
|
|
423
|
+
digest: string;
|
|
424
|
+
snapshotId: string;
|
|
425
|
+
})[];
|
|
426
|
+
implementationExecutionId: string;
|
|
260
427
|
specificationDigest: string;
|
|
261
|
-
|
|
428
|
+
implementationInvocationId: string;
|
|
429
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
430
|
+
implementationTaskId?: string | undefined;
|
|
431
|
+
candidatePaths?: string[] | undefined;
|
|
432
|
+
}>;
|
|
262
433
|
export type ProjectTaskExecutionPurpose = z.output<typeof projectTaskExecutionPurposeSchema>;
|
|
263
434
|
export declare const projectTaskExecutionReferenceSchema: z.ZodObject<{
|
|
264
435
|
projectId: z.ZodString;
|
|
@@ -298,8 +469,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
298
469
|
stepIndex: number;
|
|
299
470
|
}>, "many">;
|
|
300
471
|
}, "strict", z.ZodTypeAny, {
|
|
301
|
-
version: 1;
|
|
302
472
|
title: string;
|
|
473
|
+
version: 1;
|
|
303
474
|
steps: {
|
|
304
475
|
description: string;
|
|
305
476
|
stepIndex: number;
|
|
@@ -307,8 +478,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
307
478
|
requirements: string[];
|
|
308
479
|
description?: string | undefined;
|
|
309
480
|
}, {
|
|
310
|
-
version: 1;
|
|
311
481
|
title: string;
|
|
482
|
+
version: 1;
|
|
312
483
|
steps: {
|
|
313
484
|
description: string;
|
|
314
485
|
stepIndex: number;
|
|
@@ -316,8 +487,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
316
487
|
requirements: string[];
|
|
317
488
|
description?: string | undefined;
|
|
318
489
|
}>, {
|
|
319
|
-
version: 1;
|
|
320
490
|
title: string;
|
|
491
|
+
version: 1;
|
|
321
492
|
steps: {
|
|
322
493
|
description: string;
|
|
323
494
|
stepIndex: number;
|
|
@@ -325,8 +496,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
325
496
|
requirements: string[];
|
|
326
497
|
description?: string | undefined;
|
|
327
498
|
}, {
|
|
328
|
-
version: 1;
|
|
329
499
|
title: string;
|
|
500
|
+
version: 1;
|
|
330
501
|
steps: {
|
|
331
502
|
description: string;
|
|
332
503
|
stepIndex: number;
|
|
@@ -337,8 +508,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
337
508
|
}, "strict", z.ZodTypeAny, {
|
|
338
509
|
digest: string;
|
|
339
510
|
specification: {
|
|
340
|
-
version: 1;
|
|
341
511
|
title: string;
|
|
512
|
+
version: 1;
|
|
342
513
|
steps: {
|
|
343
514
|
description: string;
|
|
344
515
|
stepIndex: number;
|
|
@@ -349,8 +520,8 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
349
520
|
}, {
|
|
350
521
|
digest: string;
|
|
351
522
|
specification: {
|
|
352
|
-
version: 1;
|
|
353
523
|
title: string;
|
|
524
|
+
version: 1;
|
|
354
525
|
steps: {
|
|
355
526
|
description: string;
|
|
356
527
|
stepIndex: number;
|
|
@@ -359,15 +530,72 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
359
530
|
description?: string | undefined;
|
|
360
531
|
};
|
|
361
532
|
}>;
|
|
362
|
-
purpose: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
533
|
+
purpose: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
363
534
|
type: z.ZodLiteral<"implementation">;
|
|
535
|
+
reviewer: z.ZodOptional<z.ZodObject<{
|
|
536
|
+
bindingId: z.ZodString;
|
|
537
|
+
mode: z.ZodEnum<["evidence_only", "execution"]>;
|
|
538
|
+
}, "strict", z.ZodTypeAny, {
|
|
539
|
+
mode: "execution" | "evidence_only";
|
|
540
|
+
bindingId: string;
|
|
541
|
+
}, {
|
|
542
|
+
mode: "execution" | "evidence_only";
|
|
543
|
+
bindingId: string;
|
|
544
|
+
}>>;
|
|
545
|
+
coordination: z.ZodOptional<z.ZodObject<{
|
|
546
|
+
taskId: z.ZodString;
|
|
547
|
+
specificationDigest: z.ZodString;
|
|
548
|
+
}, "strict", z.ZodTypeAny, {
|
|
549
|
+
taskId: string;
|
|
550
|
+
specificationDigest: string;
|
|
551
|
+
}, {
|
|
552
|
+
taskId: string;
|
|
553
|
+
specificationDigest: string;
|
|
554
|
+
}>>;
|
|
555
|
+
rework: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
reviewExecutionId: z.ZodString;
|
|
557
|
+
feedback: z.ZodString;
|
|
558
|
+
}, "strict", z.ZodTypeAny, {
|
|
559
|
+
reviewExecutionId: string;
|
|
560
|
+
feedback: string;
|
|
561
|
+
}, {
|
|
562
|
+
reviewExecutionId: string;
|
|
563
|
+
feedback: string;
|
|
564
|
+
}>>;
|
|
364
565
|
}, "strict", z.ZodTypeAny, {
|
|
365
566
|
type: "implementation";
|
|
567
|
+
reviewer?: {
|
|
568
|
+
mode: "execution" | "evidence_only";
|
|
569
|
+
bindingId: string;
|
|
570
|
+
} | undefined;
|
|
571
|
+
coordination?: {
|
|
572
|
+
taskId: string;
|
|
573
|
+
specificationDigest: string;
|
|
574
|
+
} | undefined;
|
|
575
|
+
rework?: {
|
|
576
|
+
reviewExecutionId: string;
|
|
577
|
+
feedback: string;
|
|
578
|
+
} | undefined;
|
|
366
579
|
}, {
|
|
367
580
|
type: "implementation";
|
|
581
|
+
reviewer?: {
|
|
582
|
+
mode: "execution" | "evidence_only";
|
|
583
|
+
bindingId: string;
|
|
584
|
+
} | undefined;
|
|
585
|
+
coordination?: {
|
|
586
|
+
taskId: string;
|
|
587
|
+
specificationDigest: string;
|
|
588
|
+
} | undefined;
|
|
589
|
+
rework?: {
|
|
590
|
+
reviewExecutionId: string;
|
|
591
|
+
feedback: string;
|
|
592
|
+
} | undefined;
|
|
368
593
|
}>, z.ZodObject<{
|
|
369
594
|
type: z.ZodLiteral<"review">;
|
|
595
|
+
mode: z.ZodOptional<z.ZodEnum<["evidence_only", "execution"]>>;
|
|
596
|
+
candidatePaths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
370
597
|
implementationExecutionId: z.ZodString;
|
|
598
|
+
implementationTaskId: z.ZodOptional<z.ZodString>;
|
|
371
599
|
implementationInvocationId: z.ZodString;
|
|
372
600
|
specificationDigest: z.ZodString;
|
|
373
601
|
evidence: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -423,8 +651,11 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
423
651
|
snapshotId: string;
|
|
424
652
|
})[];
|
|
425
653
|
implementationExecutionId: string;
|
|
426
|
-
implementationInvocationId: string;
|
|
427
654
|
specificationDigest: string;
|
|
655
|
+
implementationInvocationId: string;
|
|
656
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
657
|
+
implementationTaskId?: string | undefined;
|
|
658
|
+
candidatePaths?: string[] | undefined;
|
|
428
659
|
}, {
|
|
429
660
|
type: "review";
|
|
430
661
|
evidence: ({
|
|
@@ -441,28 +672,97 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
441
672
|
snapshotId: string;
|
|
442
673
|
})[];
|
|
443
674
|
implementationExecutionId: string;
|
|
675
|
+
specificationDigest: string;
|
|
676
|
+
implementationInvocationId: string;
|
|
677
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
678
|
+
implementationTaskId?: string | undefined;
|
|
679
|
+
candidatePaths?: string[] | undefined;
|
|
680
|
+
}>]>, {
|
|
681
|
+
type: "implementation";
|
|
682
|
+
reviewer?: {
|
|
683
|
+
mode: "execution" | "evidence_only";
|
|
684
|
+
bindingId: string;
|
|
685
|
+
} | undefined;
|
|
686
|
+
coordination?: {
|
|
687
|
+
taskId: string;
|
|
688
|
+
specificationDigest: string;
|
|
689
|
+
} | undefined;
|
|
690
|
+
rework?: {
|
|
691
|
+
reviewExecutionId: string;
|
|
692
|
+
feedback: string;
|
|
693
|
+
} | undefined;
|
|
694
|
+
} | {
|
|
695
|
+
type: "review";
|
|
696
|
+
evidence: ({
|
|
697
|
+
type: "artifact";
|
|
698
|
+
artifactId: string;
|
|
699
|
+
versionId: string;
|
|
700
|
+
} | {
|
|
701
|
+
type: "invocation_result";
|
|
702
|
+
revision: number;
|
|
703
|
+
invocationId: string;
|
|
704
|
+
} | {
|
|
705
|
+
type: "workspace_snapshot";
|
|
706
|
+
digest: string;
|
|
707
|
+
snapshotId: string;
|
|
708
|
+
})[];
|
|
709
|
+
implementationExecutionId: string;
|
|
710
|
+
specificationDigest: string;
|
|
444
711
|
implementationInvocationId: string;
|
|
712
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
713
|
+
implementationTaskId?: string | undefined;
|
|
714
|
+
candidatePaths?: string[] | undefined;
|
|
715
|
+
}, {
|
|
716
|
+
type: "implementation";
|
|
717
|
+
reviewer?: {
|
|
718
|
+
mode: "execution" | "evidence_only";
|
|
719
|
+
bindingId: string;
|
|
720
|
+
} | undefined;
|
|
721
|
+
coordination?: {
|
|
722
|
+
taskId: string;
|
|
723
|
+
specificationDigest: string;
|
|
724
|
+
} | undefined;
|
|
725
|
+
rework?: {
|
|
726
|
+
reviewExecutionId: string;
|
|
727
|
+
feedback: string;
|
|
728
|
+
} | undefined;
|
|
729
|
+
} | {
|
|
730
|
+
type: "review";
|
|
731
|
+
evidence: ({
|
|
732
|
+
type: "artifact";
|
|
733
|
+
artifactId: string;
|
|
734
|
+
versionId: string;
|
|
735
|
+
} | {
|
|
736
|
+
type: "invocation_result";
|
|
737
|
+
revision: number;
|
|
738
|
+
invocationId: string;
|
|
739
|
+
} | {
|
|
740
|
+
type: "workspace_snapshot";
|
|
741
|
+
digest: string;
|
|
742
|
+
snapshotId: string;
|
|
743
|
+
})[];
|
|
744
|
+
implementationExecutionId: string;
|
|
445
745
|
specificationDigest: string;
|
|
446
|
-
|
|
746
|
+
implementationInvocationId: string;
|
|
747
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
748
|
+
implementationTaskId?: string | undefined;
|
|
749
|
+
candidatePaths?: string[] | undefined;
|
|
750
|
+
}>;
|
|
447
751
|
}, "strict", z.ZodTypeAny, {
|
|
448
|
-
projectId: string;
|
|
449
|
-
specification: {
|
|
450
|
-
digest: string;
|
|
451
|
-
specification: {
|
|
452
|
-
version: 1;
|
|
453
|
-
title: string;
|
|
454
|
-
steps: {
|
|
455
|
-
description: string;
|
|
456
|
-
stepIndex: number;
|
|
457
|
-
}[];
|
|
458
|
-
requirements: string[];
|
|
459
|
-
description?: string | undefined;
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
projectTaskId: string;
|
|
463
|
-
taskExecutionId: string;
|
|
464
752
|
purpose: {
|
|
465
753
|
type: "implementation";
|
|
754
|
+
reviewer?: {
|
|
755
|
+
mode: "execution" | "evidence_only";
|
|
756
|
+
bindingId: string;
|
|
757
|
+
} | undefined;
|
|
758
|
+
coordination?: {
|
|
759
|
+
taskId: string;
|
|
760
|
+
specificationDigest: string;
|
|
761
|
+
} | undefined;
|
|
762
|
+
rework?: {
|
|
763
|
+
reviewExecutionId: string;
|
|
764
|
+
feedback: string;
|
|
765
|
+
} | undefined;
|
|
466
766
|
} | {
|
|
467
767
|
type: "review";
|
|
468
768
|
evidence: ({
|
|
@@ -479,16 +779,18 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
479
779
|
snapshotId: string;
|
|
480
780
|
})[];
|
|
481
781
|
implementationExecutionId: string;
|
|
482
|
-
implementationInvocationId: string;
|
|
483
782
|
specificationDigest: string;
|
|
783
|
+
implementationInvocationId: string;
|
|
784
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
785
|
+
implementationTaskId?: string | undefined;
|
|
786
|
+
candidatePaths?: string[] | undefined;
|
|
484
787
|
};
|
|
485
|
-
}, {
|
|
486
788
|
projectId: string;
|
|
487
789
|
specification: {
|
|
488
790
|
digest: string;
|
|
489
791
|
specification: {
|
|
490
|
-
version: 1;
|
|
491
792
|
title: string;
|
|
793
|
+
version: 1;
|
|
492
794
|
steps: {
|
|
493
795
|
description: string;
|
|
494
796
|
stepIndex: number;
|
|
@@ -499,8 +801,21 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
499
801
|
};
|
|
500
802
|
projectTaskId: string;
|
|
501
803
|
taskExecutionId: string;
|
|
804
|
+
}, {
|
|
502
805
|
purpose: {
|
|
503
806
|
type: "implementation";
|
|
807
|
+
reviewer?: {
|
|
808
|
+
mode: "execution" | "evidence_only";
|
|
809
|
+
bindingId: string;
|
|
810
|
+
} | undefined;
|
|
811
|
+
coordination?: {
|
|
812
|
+
taskId: string;
|
|
813
|
+
specificationDigest: string;
|
|
814
|
+
} | undefined;
|
|
815
|
+
rework?: {
|
|
816
|
+
reviewExecutionId: string;
|
|
817
|
+
feedback: string;
|
|
818
|
+
} | undefined;
|
|
504
819
|
} | {
|
|
505
820
|
type: "review";
|
|
506
821
|
evidence: ({
|
|
@@ -517,16 +832,18 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
517
832
|
snapshotId: string;
|
|
518
833
|
})[];
|
|
519
834
|
implementationExecutionId: string;
|
|
520
|
-
implementationInvocationId: string;
|
|
521
835
|
specificationDigest: string;
|
|
836
|
+
implementationInvocationId: string;
|
|
837
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
838
|
+
implementationTaskId?: string | undefined;
|
|
839
|
+
candidatePaths?: string[] | undefined;
|
|
522
840
|
};
|
|
523
|
-
}>, {
|
|
524
841
|
projectId: string;
|
|
525
842
|
specification: {
|
|
526
843
|
digest: string;
|
|
527
844
|
specification: {
|
|
528
|
-
version: 1;
|
|
529
845
|
title: string;
|
|
846
|
+
version: 1;
|
|
530
847
|
steps: {
|
|
531
848
|
description: string;
|
|
532
849
|
stepIndex: number;
|
|
@@ -537,8 +854,21 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
537
854
|
};
|
|
538
855
|
projectTaskId: string;
|
|
539
856
|
taskExecutionId: string;
|
|
857
|
+
}>, {
|
|
540
858
|
purpose: {
|
|
541
859
|
type: "implementation";
|
|
860
|
+
reviewer?: {
|
|
861
|
+
mode: "execution" | "evidence_only";
|
|
862
|
+
bindingId: string;
|
|
863
|
+
} | undefined;
|
|
864
|
+
coordination?: {
|
|
865
|
+
taskId: string;
|
|
866
|
+
specificationDigest: string;
|
|
867
|
+
} | undefined;
|
|
868
|
+
rework?: {
|
|
869
|
+
reviewExecutionId: string;
|
|
870
|
+
feedback: string;
|
|
871
|
+
} | undefined;
|
|
542
872
|
} | {
|
|
543
873
|
type: "review";
|
|
544
874
|
evidence: ({
|
|
@@ -555,16 +885,18 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
555
885
|
snapshotId: string;
|
|
556
886
|
})[];
|
|
557
887
|
implementationExecutionId: string;
|
|
558
|
-
implementationInvocationId: string;
|
|
559
888
|
specificationDigest: string;
|
|
889
|
+
implementationInvocationId: string;
|
|
890
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
891
|
+
implementationTaskId?: string | undefined;
|
|
892
|
+
candidatePaths?: string[] | undefined;
|
|
560
893
|
};
|
|
561
|
-
}, {
|
|
562
894
|
projectId: string;
|
|
563
895
|
specification: {
|
|
564
896
|
digest: string;
|
|
565
897
|
specification: {
|
|
566
|
-
version: 1;
|
|
567
898
|
title: string;
|
|
899
|
+
version: 1;
|
|
568
900
|
steps: {
|
|
569
901
|
description: string;
|
|
570
902
|
stepIndex: number;
|
|
@@ -575,8 +907,21 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
575
907
|
};
|
|
576
908
|
projectTaskId: string;
|
|
577
909
|
taskExecutionId: string;
|
|
910
|
+
}, {
|
|
578
911
|
purpose: {
|
|
579
912
|
type: "implementation";
|
|
913
|
+
reviewer?: {
|
|
914
|
+
mode: "execution" | "evidence_only";
|
|
915
|
+
bindingId: string;
|
|
916
|
+
} | undefined;
|
|
917
|
+
coordination?: {
|
|
918
|
+
taskId: string;
|
|
919
|
+
specificationDigest: string;
|
|
920
|
+
} | undefined;
|
|
921
|
+
rework?: {
|
|
922
|
+
reviewExecutionId: string;
|
|
923
|
+
feedback: string;
|
|
924
|
+
} | undefined;
|
|
580
925
|
} | {
|
|
581
926
|
type: "review";
|
|
582
927
|
evidence: ({
|
|
@@ -593,9 +938,28 @@ export declare const projectTaskExecutionContextSchema: z.ZodEffects<z.ZodObject
|
|
|
593
938
|
snapshotId: string;
|
|
594
939
|
})[];
|
|
595
940
|
implementationExecutionId: string;
|
|
596
|
-
implementationInvocationId: string;
|
|
597
941
|
specificationDigest: string;
|
|
942
|
+
implementationInvocationId: string;
|
|
943
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
944
|
+
implementationTaskId?: string | undefined;
|
|
945
|
+
candidatePaths?: string[] | undefined;
|
|
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
|
+
};
|
|
598
960
|
};
|
|
961
|
+
projectTaskId: string;
|
|
962
|
+
taskExecutionId: string;
|
|
599
963
|
}>;
|
|
600
964
|
export type ProjectTaskExecutionContext = z.output<typeof projectTaskExecutionContextSchema>;
|
|
601
965
|
/** A receipt is neither a business completion decision nor proof that the process has started. */
|
|
@@ -607,13 +971,13 @@ export declare const projectTaskDispatchReceiptSchema: z.ZodObject<{
|
|
|
607
971
|
invocationId: z.ZodString;
|
|
608
972
|
status: z.ZodEnum<["queued", "running", "waiting", "cancelling", "succeeded", "failed", "cancelled", "unknown"]>;
|
|
609
973
|
}, "strict", z.ZodTypeAny, {
|
|
610
|
-
status: "unknown" | "
|
|
974
|
+
status: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
|
|
611
975
|
projectId: string;
|
|
612
976
|
invocationId: string;
|
|
613
977
|
projectTaskId: string;
|
|
614
978
|
taskExecutionId: string;
|
|
615
979
|
}, {
|
|
616
|
-
status: "unknown" | "
|
|
980
|
+
status: "unknown" | "running" | "waiting" | "cancelling" | "succeeded" | "failed" | "queued" | "cancelled";
|
|
617
981
|
projectId: string;
|
|
618
982
|
invocationId: string;
|
|
619
983
|
projectTaskId: string;
|
|
@@ -635,15 +999,72 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
635
999
|
type: "group_member";
|
|
636
1000
|
participantId: string;
|
|
637
1001
|
}>>;
|
|
638
|
-
purpose: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1002
|
+
purpose: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
639
1003
|
type: z.ZodLiteral<"implementation">;
|
|
1004
|
+
reviewer: z.ZodOptional<z.ZodObject<{
|
|
1005
|
+
bindingId: z.ZodString;
|
|
1006
|
+
mode: z.ZodEnum<["evidence_only", "execution"]>;
|
|
1007
|
+
}, "strict", z.ZodTypeAny, {
|
|
1008
|
+
mode: "execution" | "evidence_only";
|
|
1009
|
+
bindingId: string;
|
|
1010
|
+
}, {
|
|
1011
|
+
mode: "execution" | "evidence_only";
|
|
1012
|
+
bindingId: string;
|
|
1013
|
+
}>>;
|
|
1014
|
+
coordination: z.ZodOptional<z.ZodObject<{
|
|
1015
|
+
taskId: z.ZodString;
|
|
1016
|
+
specificationDigest: z.ZodString;
|
|
1017
|
+
}, "strict", z.ZodTypeAny, {
|
|
1018
|
+
taskId: string;
|
|
1019
|
+
specificationDigest: string;
|
|
1020
|
+
}, {
|
|
1021
|
+
taskId: string;
|
|
1022
|
+
specificationDigest: string;
|
|
1023
|
+
}>>;
|
|
1024
|
+
rework: z.ZodOptional<z.ZodObject<{
|
|
1025
|
+
reviewExecutionId: z.ZodString;
|
|
1026
|
+
feedback: z.ZodString;
|
|
1027
|
+
}, "strict", z.ZodTypeAny, {
|
|
1028
|
+
reviewExecutionId: string;
|
|
1029
|
+
feedback: string;
|
|
1030
|
+
}, {
|
|
1031
|
+
reviewExecutionId: string;
|
|
1032
|
+
feedback: string;
|
|
1033
|
+
}>>;
|
|
640
1034
|
}, "strict", z.ZodTypeAny, {
|
|
641
1035
|
type: "implementation";
|
|
1036
|
+
reviewer?: {
|
|
1037
|
+
mode: "execution" | "evidence_only";
|
|
1038
|
+
bindingId: string;
|
|
1039
|
+
} | undefined;
|
|
1040
|
+
coordination?: {
|
|
1041
|
+
taskId: string;
|
|
1042
|
+
specificationDigest: string;
|
|
1043
|
+
} | undefined;
|
|
1044
|
+
rework?: {
|
|
1045
|
+
reviewExecutionId: string;
|
|
1046
|
+
feedback: string;
|
|
1047
|
+
} | undefined;
|
|
642
1048
|
}, {
|
|
643
1049
|
type: "implementation";
|
|
1050
|
+
reviewer?: {
|
|
1051
|
+
mode: "execution" | "evidence_only";
|
|
1052
|
+
bindingId: string;
|
|
1053
|
+
} | undefined;
|
|
1054
|
+
coordination?: {
|
|
1055
|
+
taskId: string;
|
|
1056
|
+
specificationDigest: string;
|
|
1057
|
+
} | undefined;
|
|
1058
|
+
rework?: {
|
|
1059
|
+
reviewExecutionId: string;
|
|
1060
|
+
feedback: string;
|
|
1061
|
+
} | undefined;
|
|
644
1062
|
}>, z.ZodObject<{
|
|
645
1063
|
type: z.ZodLiteral<"review">;
|
|
1064
|
+
mode: z.ZodOptional<z.ZodEnum<["evidence_only", "execution"]>>;
|
|
1065
|
+
candidatePaths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
646
1066
|
implementationExecutionId: z.ZodString;
|
|
1067
|
+
implementationTaskId: z.ZodOptional<z.ZodString>;
|
|
647
1068
|
implementationInvocationId: z.ZodString;
|
|
648
1069
|
specificationDigest: z.ZodString;
|
|
649
1070
|
evidence: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -699,8 +1120,11 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
699
1120
|
snapshotId: string;
|
|
700
1121
|
})[];
|
|
701
1122
|
implementationExecutionId: string;
|
|
702
|
-
implementationInvocationId: string;
|
|
703
1123
|
specificationDigest: string;
|
|
1124
|
+
implementationInvocationId: string;
|
|
1125
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1126
|
+
implementationTaskId?: string | undefined;
|
|
1127
|
+
candidatePaths?: string[] | undefined;
|
|
704
1128
|
}, {
|
|
705
1129
|
type: "review";
|
|
706
1130
|
evidence: ({
|
|
@@ -717,47 +1141,137 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
717
1141
|
snapshotId: string;
|
|
718
1142
|
})[];
|
|
719
1143
|
implementationExecutionId: string;
|
|
1144
|
+
specificationDigest: string;
|
|
720
1145
|
implementationInvocationId: string;
|
|
1146
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1147
|
+
implementationTaskId?: string | undefined;
|
|
1148
|
+
candidatePaths?: string[] | undefined;
|
|
1149
|
+
}>]>, {
|
|
1150
|
+
type: "implementation";
|
|
1151
|
+
reviewer?: {
|
|
1152
|
+
mode: "execution" | "evidence_only";
|
|
1153
|
+
bindingId: string;
|
|
1154
|
+
} | undefined;
|
|
1155
|
+
coordination?: {
|
|
1156
|
+
taskId: string;
|
|
1157
|
+
specificationDigest: string;
|
|
1158
|
+
} | undefined;
|
|
1159
|
+
rework?: {
|
|
1160
|
+
reviewExecutionId: string;
|
|
1161
|
+
feedback: string;
|
|
1162
|
+
} | undefined;
|
|
1163
|
+
} | {
|
|
1164
|
+
type: "review";
|
|
1165
|
+
evidence: ({
|
|
1166
|
+
type: "artifact";
|
|
1167
|
+
artifactId: string;
|
|
1168
|
+
versionId: string;
|
|
1169
|
+
} | {
|
|
1170
|
+
type: "invocation_result";
|
|
1171
|
+
revision: number;
|
|
1172
|
+
invocationId: string;
|
|
1173
|
+
} | {
|
|
1174
|
+
type: "workspace_snapshot";
|
|
1175
|
+
digest: string;
|
|
1176
|
+
snapshotId: string;
|
|
1177
|
+
})[];
|
|
1178
|
+
implementationExecutionId: string;
|
|
721
1179
|
specificationDigest: string;
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
mode: "none";
|
|
727
|
-
}, {
|
|
728
|
-
mode: "none";
|
|
729
|
-
}>, z.ZodObject<{
|
|
730
|
-
mode: z.ZodLiteral<"files">;
|
|
731
|
-
paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
|
|
732
|
-
}, "strict", z.ZodTypeAny, {
|
|
733
|
-
mode: "files";
|
|
734
|
-
paths?: string[] | undefined;
|
|
1180
|
+
implementationInvocationId: string;
|
|
1181
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1182
|
+
implementationTaskId?: string | undefined;
|
|
1183
|
+
candidatePaths?: string[] | undefined;
|
|
735
1184
|
}, {
|
|
1185
|
+
type: "implementation";
|
|
1186
|
+
reviewer?: {
|
|
1187
|
+
mode: "execution" | "evidence_only";
|
|
1188
|
+
bindingId: string;
|
|
1189
|
+
} | undefined;
|
|
1190
|
+
coordination?: {
|
|
1191
|
+
taskId: string;
|
|
1192
|
+
specificationDigest: string;
|
|
1193
|
+
} | undefined;
|
|
1194
|
+
rework?: {
|
|
1195
|
+
reviewExecutionId: string;
|
|
1196
|
+
feedback: string;
|
|
1197
|
+
} | undefined;
|
|
1198
|
+
} | {
|
|
1199
|
+
type: "review";
|
|
1200
|
+
evidence: ({
|
|
1201
|
+
type: "artifact";
|
|
1202
|
+
artifactId: string;
|
|
1203
|
+
versionId: string;
|
|
1204
|
+
} | {
|
|
1205
|
+
type: "invocation_result";
|
|
1206
|
+
revision: number;
|
|
1207
|
+
invocationId: string;
|
|
1208
|
+
} | {
|
|
1209
|
+
type: "workspace_snapshot";
|
|
1210
|
+
digest: string;
|
|
1211
|
+
snapshotId: string;
|
|
1212
|
+
})[];
|
|
1213
|
+
implementationExecutionId: string;
|
|
1214
|
+
specificationDigest: string;
|
|
1215
|
+
implementationInvocationId: string;
|
|
1216
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1217
|
+
implementationTaskId?: string | undefined;
|
|
1218
|
+
candidatePaths?: string[] | undefined;
|
|
1219
|
+
}>>;
|
|
1220
|
+
reviewAsSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
1221
|
+
delivery: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
1222
|
+
mode: z.ZodLiteral<"none">;
|
|
1223
|
+
reportPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1224
|
+
}, "strict", z.ZodTypeAny, {
|
|
1225
|
+
mode: "none";
|
|
1226
|
+
reportPath?: string | undefined;
|
|
1227
|
+
}, {
|
|
1228
|
+
mode: "none";
|
|
1229
|
+
reportPath?: string | undefined;
|
|
1230
|
+
}>, z.ZodObject<{
|
|
1231
|
+
mode: z.ZodLiteral<"files">;
|
|
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>>;
|
|
1234
|
+
}, "strict", z.ZodTypeAny, {
|
|
736
1235
|
mode: "files";
|
|
1236
|
+
reportPath?: string | undefined;
|
|
1237
|
+
paths?: string[] | undefined;
|
|
1238
|
+
}, {
|
|
1239
|
+
mode: "files";
|
|
1240
|
+
reportPath?: string | undefined;
|
|
737
1241
|
paths?: string[] | undefined;
|
|
738
1242
|
}>, z.ZodObject<{
|
|
739
1243
|
mode: z.ZodLiteral<"archive">;
|
|
740
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>>;
|
|
741
1246
|
}, "strict", z.ZodTypeAny, {
|
|
742
1247
|
mode: "archive";
|
|
1248
|
+
reportPath?: string | undefined;
|
|
743
1249
|
paths?: string[] | undefined;
|
|
744
1250
|
}, {
|
|
745
1251
|
mode: "archive";
|
|
1252
|
+
reportPath?: string | undefined;
|
|
746
1253
|
paths?: string[] | undefined;
|
|
747
1254
|
}>]>>;
|
|
748
1255
|
instructions: z.ZodDefault<z.ZodString>;
|
|
749
1256
|
}, "strict", z.ZodTypeAny, {
|
|
750
1257
|
requestId: string;
|
|
751
|
-
taskId: string;
|
|
752
1258
|
expectedRevision: number;
|
|
1259
|
+
taskId: string;
|
|
753
1260
|
instructions: string;
|
|
754
|
-
bindingId?: string | undefined;
|
|
755
|
-
target?: {
|
|
756
|
-
type: "group_member";
|
|
757
|
-
participantId: string;
|
|
758
|
-
} | undefined;
|
|
759
1261
|
purpose?: {
|
|
760
1262
|
type: "implementation";
|
|
1263
|
+
reviewer?: {
|
|
1264
|
+
mode: "execution" | "evidence_only";
|
|
1265
|
+
bindingId: string;
|
|
1266
|
+
} | undefined;
|
|
1267
|
+
coordination?: {
|
|
1268
|
+
taskId: string;
|
|
1269
|
+
specificationDigest: string;
|
|
1270
|
+
} | undefined;
|
|
1271
|
+
rework?: {
|
|
1272
|
+
reviewExecutionId: string;
|
|
1273
|
+
feedback: string;
|
|
1274
|
+
} | undefined;
|
|
761
1275
|
} | {
|
|
762
1276
|
type: "review";
|
|
763
1277
|
evidence: ({
|
|
@@ -774,29 +1288,48 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
774
1288
|
snapshotId: string;
|
|
775
1289
|
})[];
|
|
776
1290
|
implementationExecutionId: string;
|
|
777
|
-
implementationInvocationId: string;
|
|
778
1291
|
specificationDigest: string;
|
|
1292
|
+
implementationInvocationId: string;
|
|
1293
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1294
|
+
implementationTaskId?: string | undefined;
|
|
1295
|
+
candidatePaths?: string[] | undefined;
|
|
779
1296
|
} | undefined;
|
|
1297
|
+
bindingId?: string | undefined;
|
|
1298
|
+
target?: {
|
|
1299
|
+
type: "group_member";
|
|
1300
|
+
participantId: string;
|
|
1301
|
+
} | undefined;
|
|
1302
|
+
reviewAsSubtask?: boolean | undefined;
|
|
780
1303
|
delivery?: {
|
|
781
1304
|
mode: "none";
|
|
1305
|
+
reportPath?: string | undefined;
|
|
782
1306
|
} | {
|
|
783
1307
|
mode: "files";
|
|
1308
|
+
reportPath?: string | undefined;
|
|
784
1309
|
paths?: string[] | undefined;
|
|
785
1310
|
} | {
|
|
786
1311
|
mode: "archive";
|
|
1312
|
+
reportPath?: string | undefined;
|
|
787
1313
|
paths?: string[] | undefined;
|
|
788
1314
|
} | undefined;
|
|
789
1315
|
}, {
|
|
790
1316
|
requestId: string;
|
|
791
|
-
taskId: string;
|
|
792
1317
|
expectedRevision: number;
|
|
793
|
-
|
|
794
|
-
target?: {
|
|
795
|
-
type: "group_member";
|
|
796
|
-
participantId: string;
|
|
797
|
-
} | undefined;
|
|
1318
|
+
taskId: string;
|
|
798
1319
|
purpose?: {
|
|
799
1320
|
type: "implementation";
|
|
1321
|
+
reviewer?: {
|
|
1322
|
+
mode: "execution" | "evidence_only";
|
|
1323
|
+
bindingId: string;
|
|
1324
|
+
} | undefined;
|
|
1325
|
+
coordination?: {
|
|
1326
|
+
taskId: string;
|
|
1327
|
+
specificationDigest: string;
|
|
1328
|
+
} | undefined;
|
|
1329
|
+
rework?: {
|
|
1330
|
+
reviewExecutionId: string;
|
|
1331
|
+
feedback: string;
|
|
1332
|
+
} | undefined;
|
|
800
1333
|
} | {
|
|
801
1334
|
type: "review";
|
|
802
1335
|
evidence: ({
|
|
@@ -813,31 +1346,50 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
813
1346
|
snapshotId: string;
|
|
814
1347
|
})[];
|
|
815
1348
|
implementationExecutionId: string;
|
|
816
|
-
implementationInvocationId: string;
|
|
817
1349
|
specificationDigest: string;
|
|
1350
|
+
implementationInvocationId: string;
|
|
1351
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1352
|
+
implementationTaskId?: string | undefined;
|
|
1353
|
+
candidatePaths?: string[] | undefined;
|
|
818
1354
|
} | undefined;
|
|
1355
|
+
bindingId?: string | undefined;
|
|
1356
|
+
target?: {
|
|
1357
|
+
type: "group_member";
|
|
1358
|
+
participantId: string;
|
|
1359
|
+
} | undefined;
|
|
1360
|
+
reviewAsSubtask?: boolean | undefined;
|
|
819
1361
|
delivery?: {
|
|
820
1362
|
mode: "none";
|
|
1363
|
+
reportPath?: string | undefined;
|
|
821
1364
|
} | {
|
|
822
1365
|
mode: "files";
|
|
1366
|
+
reportPath?: string | undefined;
|
|
823
1367
|
paths?: string[] | undefined;
|
|
824
1368
|
} | {
|
|
825
1369
|
mode: "archive";
|
|
1370
|
+
reportPath?: string | undefined;
|
|
826
1371
|
paths?: string[] | undefined;
|
|
827
1372
|
} | undefined;
|
|
828
1373
|
instructions?: string | undefined;
|
|
829
1374
|
}>, {
|
|
830
1375
|
requestId: string;
|
|
831
|
-
taskId: string;
|
|
832
1376
|
expectedRevision: number;
|
|
1377
|
+
taskId: string;
|
|
833
1378
|
instructions: string;
|
|
834
|
-
bindingId?: string | undefined;
|
|
835
|
-
target?: {
|
|
836
|
-
type: "group_member";
|
|
837
|
-
participantId: string;
|
|
838
|
-
} | undefined;
|
|
839
1379
|
purpose?: {
|
|
840
1380
|
type: "implementation";
|
|
1381
|
+
reviewer?: {
|
|
1382
|
+
mode: "execution" | "evidence_only";
|
|
1383
|
+
bindingId: string;
|
|
1384
|
+
} | undefined;
|
|
1385
|
+
coordination?: {
|
|
1386
|
+
taskId: string;
|
|
1387
|
+
specificationDigest: string;
|
|
1388
|
+
} | undefined;
|
|
1389
|
+
rework?: {
|
|
1390
|
+
reviewExecutionId: string;
|
|
1391
|
+
feedback: string;
|
|
1392
|
+
} | undefined;
|
|
841
1393
|
} | {
|
|
842
1394
|
type: "review";
|
|
843
1395
|
evidence: ({
|
|
@@ -854,29 +1406,48 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
854
1406
|
snapshotId: string;
|
|
855
1407
|
})[];
|
|
856
1408
|
implementationExecutionId: string;
|
|
857
|
-
implementationInvocationId: string;
|
|
858
1409
|
specificationDigest: string;
|
|
1410
|
+
implementationInvocationId: string;
|
|
1411
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1412
|
+
implementationTaskId?: string | undefined;
|
|
1413
|
+
candidatePaths?: string[] | undefined;
|
|
859
1414
|
} | undefined;
|
|
1415
|
+
bindingId?: string | undefined;
|
|
1416
|
+
target?: {
|
|
1417
|
+
type: "group_member";
|
|
1418
|
+
participantId: string;
|
|
1419
|
+
} | undefined;
|
|
1420
|
+
reviewAsSubtask?: boolean | undefined;
|
|
860
1421
|
delivery?: {
|
|
861
1422
|
mode: "none";
|
|
1423
|
+
reportPath?: string | undefined;
|
|
862
1424
|
} | {
|
|
863
1425
|
mode: "files";
|
|
1426
|
+
reportPath?: string | undefined;
|
|
864
1427
|
paths?: string[] | undefined;
|
|
865
1428
|
} | {
|
|
866
1429
|
mode: "archive";
|
|
1430
|
+
reportPath?: string | undefined;
|
|
867
1431
|
paths?: string[] | undefined;
|
|
868
1432
|
} | undefined;
|
|
869
1433
|
}, {
|
|
870
1434
|
requestId: string;
|
|
871
|
-
taskId: string;
|
|
872
1435
|
expectedRevision: number;
|
|
873
|
-
|
|
874
|
-
target?: {
|
|
875
|
-
type: "group_member";
|
|
876
|
-
participantId: string;
|
|
877
|
-
} | undefined;
|
|
1436
|
+
taskId: string;
|
|
878
1437
|
purpose?: {
|
|
879
1438
|
type: "implementation";
|
|
1439
|
+
reviewer?: {
|
|
1440
|
+
mode: "execution" | "evidence_only";
|
|
1441
|
+
bindingId: string;
|
|
1442
|
+
} | undefined;
|
|
1443
|
+
coordination?: {
|
|
1444
|
+
taskId: string;
|
|
1445
|
+
specificationDigest: string;
|
|
1446
|
+
} | undefined;
|
|
1447
|
+
rework?: {
|
|
1448
|
+
reviewExecutionId: string;
|
|
1449
|
+
feedback: string;
|
|
1450
|
+
} | undefined;
|
|
880
1451
|
} | {
|
|
881
1452
|
type: "review";
|
|
882
1453
|
evidence: ({
|
|
@@ -893,25 +1464,36 @@ export declare const projectTaskDispatchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
893
1464
|
snapshotId: string;
|
|
894
1465
|
})[];
|
|
895
1466
|
implementationExecutionId: string;
|
|
896
|
-
implementationInvocationId: string;
|
|
897
1467
|
specificationDigest: string;
|
|
1468
|
+
implementationInvocationId: string;
|
|
1469
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1470
|
+
implementationTaskId?: string | undefined;
|
|
1471
|
+
candidatePaths?: string[] | undefined;
|
|
1472
|
+
} | undefined;
|
|
1473
|
+
bindingId?: string | undefined;
|
|
1474
|
+
target?: {
|
|
1475
|
+
type: "group_member";
|
|
1476
|
+
participantId: string;
|
|
898
1477
|
} | undefined;
|
|
1478
|
+
reviewAsSubtask?: boolean | undefined;
|
|
899
1479
|
delivery?: {
|
|
900
1480
|
mode: "none";
|
|
1481
|
+
reportPath?: string | undefined;
|
|
901
1482
|
} | {
|
|
902
1483
|
mode: "files";
|
|
1484
|
+
reportPath?: string | undefined;
|
|
903
1485
|
paths?: string[] | undefined;
|
|
904
1486
|
} | {
|
|
905
1487
|
mode: "archive";
|
|
1488
|
+
reportPath?: string | undefined;
|
|
906
1489
|
paths?: string[] | undefined;
|
|
907
1490
|
} | undefined;
|
|
908
1491
|
instructions?: string | undefined;
|
|
909
1492
|
}>;
|
|
910
|
-
export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObject<
|
|
911
|
-
requestId: z.ZodString;
|
|
912
|
-
taskId: z.ZodString;
|
|
1493
|
+
export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObject<{
|
|
913
1494
|
expectedRevision: z.ZodNumber;
|
|
914
1495
|
bindingId: z.ZodOptional<z.ZodString>;
|
|
1496
|
+
taskId: z.ZodString;
|
|
915
1497
|
target: z.ZodOptional<z.ZodObject<{
|
|
916
1498
|
type: z.ZodLiteral<"group_member">;
|
|
917
1499
|
participantId: z.ZodString;
|
|
@@ -922,15 +1504,101 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
922
1504
|
type: "group_member";
|
|
923
1505
|
participantId: string;
|
|
924
1506
|
}>>;
|
|
925
|
-
|
|
926
|
-
|
|
1507
|
+
reviewAsSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
1508
|
+
delivery: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
1509
|
+
mode: z.ZodLiteral<"none">;
|
|
1510
|
+
reportPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
927
1511
|
}, "strict", z.ZodTypeAny, {
|
|
1512
|
+
mode: "none";
|
|
1513
|
+
reportPath?: string | undefined;
|
|
1514
|
+
}, {
|
|
1515
|
+
mode: "none";
|
|
1516
|
+
reportPath?: string | undefined;
|
|
1517
|
+
}>, z.ZodObject<{
|
|
1518
|
+
mode: z.ZodLiteral<"files">;
|
|
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>>;
|
|
1521
|
+
}, "strict", z.ZodTypeAny, {
|
|
1522
|
+
mode: "files";
|
|
1523
|
+
reportPath?: string | undefined;
|
|
1524
|
+
paths?: string[] | undefined;
|
|
1525
|
+
}, {
|
|
1526
|
+
mode: "files";
|
|
1527
|
+
reportPath?: string | undefined;
|
|
1528
|
+
paths?: string[] | undefined;
|
|
1529
|
+
}>, z.ZodObject<{
|
|
1530
|
+
mode: z.ZodLiteral<"archive">;
|
|
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>>;
|
|
1533
|
+
}, "strict", z.ZodTypeAny, {
|
|
1534
|
+
mode: "archive";
|
|
1535
|
+
reportPath?: string | undefined;
|
|
1536
|
+
paths?: string[] | undefined;
|
|
1537
|
+
}, {
|
|
1538
|
+
mode: "archive";
|
|
1539
|
+
reportPath?: string | undefined;
|
|
1540
|
+
paths?: string[] | undefined;
|
|
1541
|
+
}>]>>;
|
|
1542
|
+
instructions: z.ZodDefault<z.ZodString>;
|
|
1543
|
+
} & {
|
|
1544
|
+
purpose: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<{
|
|
1545
|
+
type: z.ZodLiteral<"implementation">;
|
|
1546
|
+
reviewer: z.ZodOptional<z.ZodObject<{
|
|
1547
|
+
bindingId: z.ZodString;
|
|
1548
|
+
mode: z.ZodEnum<["evidence_only", "execution"]>;
|
|
1549
|
+
}, "strict", z.ZodTypeAny, {
|
|
1550
|
+
mode: "execution" | "evidence_only";
|
|
1551
|
+
bindingId: string;
|
|
1552
|
+
}, {
|
|
1553
|
+
mode: "execution" | "evidence_only";
|
|
1554
|
+
bindingId: string;
|
|
1555
|
+
}>>;
|
|
1556
|
+
coordination: z.ZodOptional<z.ZodObject<{
|
|
1557
|
+
taskId: z.ZodString;
|
|
1558
|
+
specificationDigest: z.ZodString;
|
|
1559
|
+
}, "strict", z.ZodTypeAny, {
|
|
1560
|
+
taskId: string;
|
|
1561
|
+
specificationDigest: string;
|
|
1562
|
+
}, {
|
|
1563
|
+
taskId: string;
|
|
1564
|
+
specificationDigest: string;
|
|
1565
|
+
}>>;
|
|
1566
|
+
rework: z.ZodOptional<z.ZodObject<{
|
|
1567
|
+
reviewExecutionId: z.ZodString;
|
|
1568
|
+
feedback: z.ZodString;
|
|
1569
|
+
}, "strict", z.ZodTypeAny, {
|
|
1570
|
+
reviewExecutionId: string;
|
|
1571
|
+
feedback: string;
|
|
1572
|
+
}, {
|
|
1573
|
+
reviewExecutionId: string;
|
|
1574
|
+
feedback: string;
|
|
1575
|
+
}>>;
|
|
1576
|
+
}, "coordination">, "strict", z.ZodTypeAny, {
|
|
928
1577
|
type: "implementation";
|
|
1578
|
+
reviewer?: {
|
|
1579
|
+
mode: "execution" | "evidence_only";
|
|
1580
|
+
bindingId: string;
|
|
1581
|
+
} | undefined;
|
|
1582
|
+
rework?: {
|
|
1583
|
+
reviewExecutionId: string;
|
|
1584
|
+
feedback: string;
|
|
1585
|
+
} | undefined;
|
|
929
1586
|
}, {
|
|
930
1587
|
type: "implementation";
|
|
931
|
-
|
|
1588
|
+
reviewer?: {
|
|
1589
|
+
mode: "execution" | "evidence_only";
|
|
1590
|
+
bindingId: string;
|
|
1591
|
+
} | undefined;
|
|
1592
|
+
rework?: {
|
|
1593
|
+
reviewExecutionId: string;
|
|
1594
|
+
feedback: string;
|
|
1595
|
+
} | undefined;
|
|
1596
|
+
}>, z.ZodObject<Omit<{
|
|
932
1597
|
type: z.ZodLiteral<"review">;
|
|
1598
|
+
mode: z.ZodOptional<z.ZodEnum<["evidence_only", "execution"]>>;
|
|
1599
|
+
candidatePaths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
933
1600
|
implementationExecutionId: z.ZodString;
|
|
1601
|
+
implementationTaskId: z.ZodOptional<z.ZodString>;
|
|
934
1602
|
implementationInvocationId: z.ZodString;
|
|
935
1603
|
specificationDigest: z.ZodString;
|
|
936
1604
|
evidence: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -970,7 +1638,7 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
970
1638
|
digest: string;
|
|
971
1639
|
snapshotId: string;
|
|
972
1640
|
}>]>, "many">;
|
|
973
|
-
}, "strict", z.ZodTypeAny, {
|
|
1641
|
+
}, "implementationTaskId">, "strict", z.ZodTypeAny, {
|
|
974
1642
|
type: "review";
|
|
975
1643
|
evidence: ({
|
|
976
1644
|
type: "artifact";
|
|
@@ -986,8 +1654,10 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
986
1654
|
snapshotId: string;
|
|
987
1655
|
})[];
|
|
988
1656
|
implementationExecutionId: string;
|
|
989
|
-
implementationInvocationId: string;
|
|
990
1657
|
specificationDigest: string;
|
|
1658
|
+
implementationInvocationId: string;
|
|
1659
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1660
|
+
candidatePaths?: string[] | undefined;
|
|
991
1661
|
}, {
|
|
992
1662
|
type: "review";
|
|
993
1663
|
evidence: ({
|
|
@@ -1004,46 +1674,85 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1004
1674
|
snapshotId: string;
|
|
1005
1675
|
})[];
|
|
1006
1676
|
implementationExecutionId: string;
|
|
1677
|
+
specificationDigest: string;
|
|
1007
1678
|
implementationInvocationId: string;
|
|
1679
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1680
|
+
candidatePaths?: string[] | undefined;
|
|
1681
|
+
}>]>, {
|
|
1682
|
+
type: "implementation";
|
|
1683
|
+
reviewer?: {
|
|
1684
|
+
mode: "execution" | "evidence_only";
|
|
1685
|
+
bindingId: string;
|
|
1686
|
+
} | undefined;
|
|
1687
|
+
rework?: {
|
|
1688
|
+
reviewExecutionId: string;
|
|
1689
|
+
feedback: string;
|
|
1690
|
+
} | undefined;
|
|
1691
|
+
} | {
|
|
1692
|
+
type: "review";
|
|
1693
|
+
evidence: ({
|
|
1694
|
+
type: "artifact";
|
|
1695
|
+
artifactId: string;
|
|
1696
|
+
versionId: string;
|
|
1697
|
+
} | {
|
|
1698
|
+
type: "invocation_result";
|
|
1699
|
+
revision: number;
|
|
1700
|
+
invocationId: string;
|
|
1701
|
+
} | {
|
|
1702
|
+
type: "workspace_snapshot";
|
|
1703
|
+
digest: string;
|
|
1704
|
+
snapshotId: string;
|
|
1705
|
+
})[];
|
|
1706
|
+
implementationExecutionId: string;
|
|
1008
1707
|
specificationDigest: string;
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
}, "strict", z.ZodTypeAny, {
|
|
1013
|
-
mode: "none";
|
|
1014
|
-
}, {
|
|
1015
|
-
mode: "none";
|
|
1016
|
-
}>, z.ZodObject<{
|
|
1017
|
-
mode: z.ZodLiteral<"files">;
|
|
1018
|
-
paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
|
|
1019
|
-
}, "strict", z.ZodTypeAny, {
|
|
1020
|
-
mode: "files";
|
|
1021
|
-
paths?: string[] | undefined;
|
|
1022
|
-
}, {
|
|
1023
|
-
mode: "files";
|
|
1024
|
-
paths?: string[] | undefined;
|
|
1025
|
-
}>, z.ZodObject<{
|
|
1026
|
-
mode: z.ZodLiteral<"archive">;
|
|
1027
|
-
paths: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
|
|
1028
|
-
}, "strict", z.ZodTypeAny, {
|
|
1029
|
-
mode: "archive";
|
|
1030
|
-
paths?: string[] | undefined;
|
|
1708
|
+
implementationInvocationId: string;
|
|
1709
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1710
|
+
candidatePaths?: string[] | undefined;
|
|
1031
1711
|
}, {
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1712
|
+
type: "implementation";
|
|
1713
|
+
reviewer?: {
|
|
1714
|
+
mode: "execution" | "evidence_only";
|
|
1715
|
+
bindingId: string;
|
|
1716
|
+
} | undefined;
|
|
1717
|
+
rework?: {
|
|
1718
|
+
reviewExecutionId: string;
|
|
1719
|
+
feedback: string;
|
|
1720
|
+
} | undefined;
|
|
1721
|
+
} | {
|
|
1722
|
+
type: "review";
|
|
1723
|
+
evidence: ({
|
|
1724
|
+
type: "artifact";
|
|
1725
|
+
artifactId: string;
|
|
1726
|
+
versionId: string;
|
|
1727
|
+
} | {
|
|
1728
|
+
type: "invocation_result";
|
|
1729
|
+
revision: number;
|
|
1730
|
+
invocationId: string;
|
|
1731
|
+
} | {
|
|
1732
|
+
type: "workspace_snapshot";
|
|
1733
|
+
digest: string;
|
|
1734
|
+
snapshotId: string;
|
|
1735
|
+
})[];
|
|
1736
|
+
implementationExecutionId: string;
|
|
1737
|
+
specificationDigest: string;
|
|
1738
|
+
implementationInvocationId: string;
|
|
1739
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1740
|
+
candidatePaths?: string[] | undefined;
|
|
1741
|
+
}>>;
|
|
1742
|
+
}, "strict", z.ZodTypeAny, {
|
|
1038
1743
|
expectedRevision: number;
|
|
1744
|
+
taskId: string;
|
|
1039
1745
|
instructions: string;
|
|
1040
|
-
bindingId?: string | undefined;
|
|
1041
|
-
target?: {
|
|
1042
|
-
type: "group_member";
|
|
1043
|
-
participantId: string;
|
|
1044
|
-
} | undefined;
|
|
1045
1746
|
purpose?: {
|
|
1046
1747
|
type: "implementation";
|
|
1748
|
+
reviewer?: {
|
|
1749
|
+
mode: "execution" | "evidence_only";
|
|
1750
|
+
bindingId: string;
|
|
1751
|
+
} | undefined;
|
|
1752
|
+
rework?: {
|
|
1753
|
+
reviewExecutionId: string;
|
|
1754
|
+
feedback: string;
|
|
1755
|
+
} | undefined;
|
|
1047
1756
|
} | {
|
|
1048
1757
|
type: "review";
|
|
1049
1758
|
evidence: ({
|
|
@@ -1060,28 +1769,42 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1060
1769
|
snapshotId: string;
|
|
1061
1770
|
})[];
|
|
1062
1771
|
implementationExecutionId: string;
|
|
1063
|
-
implementationInvocationId: string;
|
|
1064
1772
|
specificationDigest: string;
|
|
1773
|
+
implementationInvocationId: string;
|
|
1774
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1775
|
+
candidatePaths?: string[] | undefined;
|
|
1065
1776
|
} | undefined;
|
|
1777
|
+
bindingId?: string | undefined;
|
|
1778
|
+
target?: {
|
|
1779
|
+
type: "group_member";
|
|
1780
|
+
participantId: string;
|
|
1781
|
+
} | undefined;
|
|
1782
|
+
reviewAsSubtask?: boolean | undefined;
|
|
1066
1783
|
delivery?: {
|
|
1067
1784
|
mode: "none";
|
|
1785
|
+
reportPath?: string | undefined;
|
|
1068
1786
|
} | {
|
|
1069
1787
|
mode: "files";
|
|
1788
|
+
reportPath?: string | undefined;
|
|
1070
1789
|
paths?: string[] | undefined;
|
|
1071
1790
|
} | {
|
|
1072
1791
|
mode: "archive";
|
|
1792
|
+
reportPath?: string | undefined;
|
|
1073
1793
|
paths?: string[] | undefined;
|
|
1074
1794
|
} | undefined;
|
|
1075
1795
|
}, {
|
|
1076
|
-
taskId: string;
|
|
1077
1796
|
expectedRevision: number;
|
|
1078
|
-
|
|
1079
|
-
target?: {
|
|
1080
|
-
type: "group_member";
|
|
1081
|
-
participantId: string;
|
|
1082
|
-
} | undefined;
|
|
1797
|
+
taskId: string;
|
|
1083
1798
|
purpose?: {
|
|
1084
1799
|
type: "implementation";
|
|
1800
|
+
reviewer?: {
|
|
1801
|
+
mode: "execution" | "evidence_only";
|
|
1802
|
+
bindingId: string;
|
|
1803
|
+
} | undefined;
|
|
1804
|
+
rework?: {
|
|
1805
|
+
reviewExecutionId: string;
|
|
1806
|
+
feedback: string;
|
|
1807
|
+
} | undefined;
|
|
1085
1808
|
} | {
|
|
1086
1809
|
type: "review";
|
|
1087
1810
|
evidence: ({
|
|
@@ -1098,30 +1821,44 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1098
1821
|
snapshotId: string;
|
|
1099
1822
|
})[];
|
|
1100
1823
|
implementationExecutionId: string;
|
|
1101
|
-
implementationInvocationId: string;
|
|
1102
1824
|
specificationDigest: string;
|
|
1825
|
+
implementationInvocationId: string;
|
|
1826
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1827
|
+
candidatePaths?: string[] | undefined;
|
|
1103
1828
|
} | undefined;
|
|
1829
|
+
bindingId?: string | undefined;
|
|
1830
|
+
target?: {
|
|
1831
|
+
type: "group_member";
|
|
1832
|
+
participantId: string;
|
|
1833
|
+
} | undefined;
|
|
1834
|
+
reviewAsSubtask?: boolean | undefined;
|
|
1104
1835
|
delivery?: {
|
|
1105
1836
|
mode: "none";
|
|
1837
|
+
reportPath?: string | undefined;
|
|
1106
1838
|
} | {
|
|
1107
1839
|
mode: "files";
|
|
1840
|
+
reportPath?: string | undefined;
|
|
1108
1841
|
paths?: string[] | undefined;
|
|
1109
1842
|
} | {
|
|
1110
1843
|
mode: "archive";
|
|
1844
|
+
reportPath?: string | undefined;
|
|
1111
1845
|
paths?: string[] | undefined;
|
|
1112
1846
|
} | undefined;
|
|
1113
1847
|
instructions?: string | undefined;
|
|
1114
1848
|
}>, {
|
|
1115
|
-
taskId: string;
|
|
1116
1849
|
expectedRevision: number;
|
|
1850
|
+
taskId: string;
|
|
1117
1851
|
instructions: string;
|
|
1118
|
-
bindingId?: string | undefined;
|
|
1119
|
-
target?: {
|
|
1120
|
-
type: "group_member";
|
|
1121
|
-
participantId: string;
|
|
1122
|
-
} | undefined;
|
|
1123
1852
|
purpose?: {
|
|
1124
1853
|
type: "implementation";
|
|
1854
|
+
reviewer?: {
|
|
1855
|
+
mode: "execution" | "evidence_only";
|
|
1856
|
+
bindingId: string;
|
|
1857
|
+
} | undefined;
|
|
1858
|
+
rework?: {
|
|
1859
|
+
reviewExecutionId: string;
|
|
1860
|
+
feedback: string;
|
|
1861
|
+
} | undefined;
|
|
1125
1862
|
} | {
|
|
1126
1863
|
type: "review";
|
|
1127
1864
|
evidence: ({
|
|
@@ -1138,28 +1875,42 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1138
1875
|
snapshotId: string;
|
|
1139
1876
|
})[];
|
|
1140
1877
|
implementationExecutionId: string;
|
|
1141
|
-
implementationInvocationId: string;
|
|
1142
1878
|
specificationDigest: string;
|
|
1879
|
+
implementationInvocationId: string;
|
|
1880
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1881
|
+
candidatePaths?: string[] | undefined;
|
|
1882
|
+
} | undefined;
|
|
1883
|
+
bindingId?: string | undefined;
|
|
1884
|
+
target?: {
|
|
1885
|
+
type: "group_member";
|
|
1886
|
+
participantId: string;
|
|
1143
1887
|
} | undefined;
|
|
1888
|
+
reviewAsSubtask?: boolean | undefined;
|
|
1144
1889
|
delivery?: {
|
|
1145
1890
|
mode: "none";
|
|
1891
|
+
reportPath?: string | undefined;
|
|
1146
1892
|
} | {
|
|
1147
1893
|
mode: "files";
|
|
1894
|
+
reportPath?: string | undefined;
|
|
1148
1895
|
paths?: string[] | undefined;
|
|
1149
1896
|
} | {
|
|
1150
1897
|
mode: "archive";
|
|
1898
|
+
reportPath?: string | undefined;
|
|
1151
1899
|
paths?: string[] | undefined;
|
|
1152
1900
|
} | undefined;
|
|
1153
1901
|
}, {
|
|
1154
|
-
taskId: string;
|
|
1155
1902
|
expectedRevision: number;
|
|
1156
|
-
|
|
1157
|
-
target?: {
|
|
1158
|
-
type: "group_member";
|
|
1159
|
-
participantId: string;
|
|
1160
|
-
} | undefined;
|
|
1903
|
+
taskId: string;
|
|
1161
1904
|
purpose?: {
|
|
1162
1905
|
type: "implementation";
|
|
1906
|
+
reviewer?: {
|
|
1907
|
+
mode: "execution" | "evidence_only";
|
|
1908
|
+
bindingId: string;
|
|
1909
|
+
} | undefined;
|
|
1910
|
+
rework?: {
|
|
1911
|
+
reviewExecutionId: string;
|
|
1912
|
+
feedback: string;
|
|
1913
|
+
} | undefined;
|
|
1163
1914
|
} | {
|
|
1164
1915
|
type: "review";
|
|
1165
1916
|
evidence: ({
|
|
@@ -1176,108 +1927,61 @@ export declare const projectTaskDispatchToolInputSchema: z.ZodEffects<z.ZodObjec
|
|
|
1176
1927
|
snapshotId: string;
|
|
1177
1928
|
})[];
|
|
1178
1929
|
implementationExecutionId: string;
|
|
1179
|
-
implementationInvocationId: string;
|
|
1180
1930
|
specificationDigest: string;
|
|
1931
|
+
implementationInvocationId: string;
|
|
1932
|
+
mode?: "execution" | "evidence_only" | undefined;
|
|
1933
|
+
candidatePaths?: string[] | undefined;
|
|
1181
1934
|
} | undefined;
|
|
1935
|
+
bindingId?: string | undefined;
|
|
1936
|
+
target?: {
|
|
1937
|
+
type: "group_member";
|
|
1938
|
+
participantId: string;
|
|
1939
|
+
} | undefined;
|
|
1940
|
+
reviewAsSubtask?: boolean | undefined;
|
|
1182
1941
|
delivery?: {
|
|
1183
1942
|
mode: "none";
|
|
1943
|
+
reportPath?: string | undefined;
|
|
1184
1944
|
} | {
|
|
1185
1945
|
mode: "files";
|
|
1946
|
+
reportPath?: string | undefined;
|
|
1186
1947
|
paths?: string[] | undefined;
|
|
1187
1948
|
} | {
|
|
1188
1949
|
mode: "archive";
|
|
1950
|
+
reportPath?: string | undefined;
|
|
1189
1951
|
paths?: string[] | undefined;
|
|
1190
1952
|
} | undefined;
|
|
1191
1953
|
instructions?: string | undefined;
|
|
1192
1954
|
}>;
|
|
1193
1955
|
export type ProjectTaskDispatchInput = z.output<typeof projectTaskDispatchInputSchema>;
|
|
1194
|
-
/**
|
|
1956
|
+
/** Markdown is authored evidence. Only an explicit coordinator decision accepts a task. */
|
|
1195
1957
|
export declare const projectTaskReviewReportSchema: z.ZodObject<{
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
specificationDigest: z.ZodString;
|
|
1199
|
-
implementationInvocationId: z.ZodString;
|
|
1200
|
-
evidence: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1201
|
-
type: z.ZodLiteral<"artifact">;
|
|
1202
|
-
artifactId: z.ZodString;
|
|
1203
|
-
versionId: z.ZodString;
|
|
1204
|
-
}, "strict", z.ZodTypeAny, {
|
|
1205
|
-
type: "artifact";
|
|
1206
|
-
artifactId: string;
|
|
1207
|
-
versionId: string;
|
|
1208
|
-
}, {
|
|
1209
|
-
type: "artifact";
|
|
1210
|
-
artifactId: string;
|
|
1211
|
-
versionId: string;
|
|
1212
|
-
}>, z.ZodObject<{
|
|
1213
|
-
type: z.ZodLiteral<"invocation_result">;
|
|
1214
|
-
invocationId: z.ZodString;
|
|
1215
|
-
revision: z.ZodNumber;
|
|
1216
|
-
}, "strict", z.ZodTypeAny, {
|
|
1217
|
-
type: "invocation_result";
|
|
1218
|
-
revision: number;
|
|
1219
|
-
invocationId: string;
|
|
1220
|
-
}, {
|
|
1221
|
-
type: "invocation_result";
|
|
1222
|
-
revision: number;
|
|
1223
|
-
invocationId: string;
|
|
1224
|
-
}>, z.ZodObject<{
|
|
1225
|
-
type: z.ZodLiteral<"workspace_snapshot">;
|
|
1226
|
-
snapshotId: z.ZodString;
|
|
1227
|
-
digest: z.ZodString;
|
|
1228
|
-
}, "strict", z.ZodTypeAny, {
|
|
1229
|
-
type: "workspace_snapshot";
|
|
1230
|
-
digest: string;
|
|
1231
|
-
snapshotId: string;
|
|
1232
|
-
}, {
|
|
1233
|
-
type: "workspace_snapshot";
|
|
1234
|
-
digest: string;
|
|
1235
|
-
snapshotId: string;
|
|
1236
|
-
}>]>, "many">;
|
|
1237
|
-
findings: z.ZodArray<z.ZodString, "many">;
|
|
1238
|
-
limitations: z.ZodArray<z.ZodString, "many">;
|
|
1958
|
+
format: z.ZodLiteral<"markdown">;
|
|
1959
|
+
markdown: z.ZodString;
|
|
1239
1960
|
}, "strict", z.ZodTypeAny, {
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
type: "artifact";
|
|
1243
|
-
artifactId: string;
|
|
1244
|
-
versionId: string;
|
|
1245
|
-
} | {
|
|
1246
|
-
type: "invocation_result";
|
|
1247
|
-
revision: number;
|
|
1248
|
-
invocationId: string;
|
|
1249
|
-
} | {
|
|
1250
|
-
type: "workspace_snapshot";
|
|
1251
|
-
digest: string;
|
|
1252
|
-
snapshotId: string;
|
|
1253
|
-
})[];
|
|
1254
|
-
implementationInvocationId: string;
|
|
1255
|
-
specificationDigest: string;
|
|
1256
|
-
verdict: "pass" | "changes_required" | "indeterminate";
|
|
1257
|
-
findings: string[];
|
|
1258
|
-
limitations: string[];
|
|
1961
|
+
format: "markdown";
|
|
1962
|
+
markdown: string;
|
|
1259
1963
|
}, {
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
type: "artifact";
|
|
1263
|
-
artifactId: string;
|
|
1264
|
-
versionId: string;
|
|
1265
|
-
} | {
|
|
1266
|
-
type: "invocation_result";
|
|
1267
|
-
revision: number;
|
|
1268
|
-
invocationId: string;
|
|
1269
|
-
} | {
|
|
1270
|
-
type: "workspace_snapshot";
|
|
1271
|
-
digest: string;
|
|
1272
|
-
snapshotId: string;
|
|
1273
|
-
})[];
|
|
1274
|
-
implementationInvocationId: string;
|
|
1275
|
-
specificationDigest: string;
|
|
1276
|
-
verdict: "pass" | "changes_required" | "indeterminate";
|
|
1277
|
-
findings: string[];
|
|
1278
|
-
limitations: string[];
|
|
1964
|
+
format: "markdown";
|
|
1965
|
+
markdown: string;
|
|
1279
1966
|
}>;
|
|
1280
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">>;
|
|
1973
|
+
}, "strict", z.ZodTypeAny, {
|
|
1974
|
+
outcome: "accept" | "rework";
|
|
1975
|
+
decisionRef: string;
|
|
1976
|
+
rationale: string;
|
|
1977
|
+
checks?: string[] | undefined;
|
|
1978
|
+
}, {
|
|
1979
|
+
outcome: "accept" | "rework";
|
|
1980
|
+
decisionRef: string;
|
|
1981
|
+
rationale: string;
|
|
1982
|
+
checks?: string[] | undefined;
|
|
1983
|
+
}>;
|
|
1984
|
+
export type ProjectTaskDecisionToolInput = z.output<typeof projectTaskDecisionToolInputSchema>;
|
|
1281
1985
|
export declare const projectTaskDecisionInputSchema: z.ZodObject<{
|
|
1282
1986
|
requestId: z.ZodString;
|
|
1283
1987
|
taskId: z.ZodString;
|
|
@@ -1328,6 +2032,7 @@ export declare const projectTaskDecisionInputSchema: z.ZodObject<{
|
|
|
1328
2032
|
}, "strict", z.ZodTypeAny, {
|
|
1329
2033
|
outcome: "accept" | "rework";
|
|
1330
2034
|
requestId: string;
|
|
2035
|
+
expectedRevision: number;
|
|
1331
2036
|
evidence: ({
|
|
1332
2037
|
type: "artifact";
|
|
1333
2038
|
artifactId: string;
|
|
@@ -1342,7 +2047,6 @@ export declare const projectTaskDecisionInputSchema: z.ZodObject<{
|
|
|
1342
2047
|
snapshotId: string;
|
|
1343
2048
|
})[];
|
|
1344
2049
|
taskId: string;
|
|
1345
|
-
expectedRevision: number;
|
|
1346
2050
|
implementationExecutionId: string;
|
|
1347
2051
|
specificationDigest: string;
|
|
1348
2052
|
rationale: string;
|
|
@@ -1351,6 +2055,7 @@ export declare const projectTaskDecisionInputSchema: z.ZodObject<{
|
|
|
1351
2055
|
}, {
|
|
1352
2056
|
outcome: "accept" | "rework";
|
|
1353
2057
|
requestId: string;
|
|
2058
|
+
expectedRevision: number;
|
|
1354
2059
|
evidence: ({
|
|
1355
2060
|
type: "artifact";
|
|
1356
2061
|
artifactId: string;
|
|
@@ -1365,7 +2070,6 @@ export declare const projectTaskDecisionInputSchema: z.ZodObject<{
|
|
|
1365
2070
|
snapshotId: string;
|
|
1366
2071
|
})[];
|
|
1367
2072
|
taskId: string;
|
|
1368
|
-
expectedRevision: number;
|
|
1369
2073
|
implementationExecutionId: string;
|
|
1370
2074
|
specificationDigest: string;
|
|
1371
2075
|
rationale: string;
|
|
@@ -1424,11 +2128,25 @@ export declare const projectTaskDecisionSchema: z.ZodObject<{
|
|
|
1424
2128
|
actorId: z.ZodString;
|
|
1425
2129
|
actorType: z.ZodEnum<["user", "xpert", "project_agent"]>;
|
|
1426
2130
|
executionId: z.ZodOptional<z.ZodString>;
|
|
2131
|
+
reviewResult: z.ZodOptional<z.ZodObject<{
|
|
2132
|
+
invocationId: z.ZodString;
|
|
2133
|
+
revision: z.ZodNumber;
|
|
2134
|
+
sha256: z.ZodString;
|
|
2135
|
+
}, "strict", z.ZodTypeAny, {
|
|
2136
|
+
revision: number;
|
|
2137
|
+
sha256: string;
|
|
2138
|
+
invocationId: string;
|
|
2139
|
+
}, {
|
|
2140
|
+
revision: number;
|
|
2141
|
+
sha256: string;
|
|
2142
|
+
invocationId: string;
|
|
2143
|
+
}>>;
|
|
1427
2144
|
decidedAt: z.ZodString;
|
|
1428
2145
|
taskRevision: z.ZodNumber;
|
|
1429
2146
|
}, "strict", z.ZodTypeAny, {
|
|
1430
2147
|
outcome: "accept" | "rework";
|
|
1431
2148
|
requestId: string;
|
|
2149
|
+
expectedRevision: number;
|
|
1432
2150
|
evidence: ({
|
|
1433
2151
|
type: "artifact";
|
|
1434
2152
|
artifactId: string;
|
|
@@ -1444,7 +2162,6 @@ export declare const projectTaskDecisionSchema: z.ZodObject<{
|
|
|
1444
2162
|
})[];
|
|
1445
2163
|
decidedAt: string;
|
|
1446
2164
|
taskId: string;
|
|
1447
|
-
expectedRevision: number;
|
|
1448
2165
|
implementationExecutionId: string;
|
|
1449
2166
|
specificationDigest: string;
|
|
1450
2167
|
rationale: string;
|
|
@@ -1454,9 +2171,15 @@ export declare const projectTaskDecisionSchema: z.ZodObject<{
|
|
|
1454
2171
|
taskRevision: number;
|
|
1455
2172
|
executionId?: string | undefined;
|
|
1456
2173
|
reviewExecutionId?: string | undefined;
|
|
2174
|
+
reviewResult?: {
|
|
2175
|
+
revision: number;
|
|
2176
|
+
sha256: string;
|
|
2177
|
+
invocationId: string;
|
|
2178
|
+
} | undefined;
|
|
1457
2179
|
}, {
|
|
1458
2180
|
outcome: "accept" | "rework";
|
|
1459
2181
|
requestId: string;
|
|
2182
|
+
expectedRevision: number;
|
|
1460
2183
|
evidence: ({
|
|
1461
2184
|
type: "artifact";
|
|
1462
2185
|
artifactId: string;
|
|
@@ -1472,7 +2195,6 @@ export declare const projectTaskDecisionSchema: z.ZodObject<{
|
|
|
1472
2195
|
})[];
|
|
1473
2196
|
decidedAt: string;
|
|
1474
2197
|
taskId: string;
|
|
1475
|
-
expectedRevision: number;
|
|
1476
2198
|
implementationExecutionId: string;
|
|
1477
2199
|
specificationDigest: string;
|
|
1478
2200
|
rationale: string;
|
|
@@ -1482,5 +2204,10 @@ export declare const projectTaskDecisionSchema: z.ZodObject<{
|
|
|
1482
2204
|
taskRevision: number;
|
|
1483
2205
|
executionId?: string | undefined;
|
|
1484
2206
|
reviewExecutionId?: string | undefined;
|
|
2207
|
+
reviewResult?: {
|
|
2208
|
+
revision: number;
|
|
2209
|
+
sha256: string;
|
|
2210
|
+
invocationId: string;
|
|
2211
|
+
} | undefined;
|
|
1485
2212
|
}>;
|
|
1486
2213
|
export type ProjectTaskDecision = z.output<typeof projectTaskDecisionSchema>;
|