opencode-plugin-flow 5.2.0 → 5.2.2
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/CHANGELOG.md +45 -0
- package/README.md +6 -5
- package/dist/cli.js +10 -1
- package/dist/cli.js.map +3 -3
- package/dist/index.js +1198 -514
- package/dist/index.js.map +15 -15
- package/package.json +12 -5
- package/dist/application/errors.d.ts +0 -10
- package/dist/application/flow-service.d.ts +0 -311
- package/dist/application/ports/evidence-artifact-store.d.ts +0 -28
- package/dist/application/ports/session-repository.d.ts +0 -19
- package/dist/application/ports/source-identity.d.ts +0 -61
- package/dist/application/replay/canonical-json.d.ts +0 -7
- package/dist/application/replay/contract.d.ts +0 -2130
- package/dist/application/replay/engine.d.ts +0 -101
- package/dist/application/replay/index.d.ts +0 -7
- package/dist/application/replay/privacy.d.ts +0 -14
- package/dist/application/schema.d.ts +0 -1813
- package/dist/cli.d.ts +0 -1
- package/dist/config-shared.d.ts +0 -287
- package/dist/config.d.ts +0 -1
- package/dist/distribution/legacy-cleanup.d.ts +0 -25
- package/dist/domain/feature-id.d.ts +0 -3
- package/dist/domain/limits.d.ts +0 -4
- package/dist/domain/orchestration-policy.d.ts +0 -27
- package/dist/domain/session-invariants.d.ts +0 -8
- package/dist/domain/session.d.ts +0 -356
- package/dist/domain/transitions.d.ts +0 -275
- package/dist/domain/validation-command.d.ts +0 -8
- package/dist/guidance/catalog.d.ts +0 -18
- package/dist/guidance/ids.d.ts +0 -4
- package/dist/infrastructure/fs/evidence-artifact-store.d.ts +0 -5
- package/dist/infrastructure/fs/session-repository.d.ts +0 -2
- package/dist/infrastructure/fs/source-identity.d.ts +0 -26
- package/dist/infrastructure/fs/strict-json-object.d.ts +0 -9
- package/dist/infrastructure/fs/workspace-flow-service.d.ts +0 -10
- package/dist/infrastructure/fs/workspace.d.ts +0 -62
- package/dist/infrastructure/system/transition-environment.d.ts +0 -2
- package/dist/platform/opencode/config.d.ts +0 -2
- package/dist/platform/opencode/logging.d.ts +0 -3
- package/dist/platform/opencode/tools.d.ts +0 -4
- package/dist/prompt-baseline-fixtures.d.ts +0 -20
- package/dist/prompt-model-evaluation.d.ts +0 -88
- package/dist/prompt-quality.d.ts +0 -80
- package/dist/prompt-surfaces.d.ts +0 -28
- package/dist/version.d.ts +0 -1
|
@@ -1,1813 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { type Session } from "../domain/session.js";
|
|
3
|
-
export { hasCandidateExecutionEvidence, hasVerifierExecutionEvidence, isCandidateShapedDecision, } from "../domain/orchestration-policy.js";
|
|
4
|
-
export declare const FeatureIdSchema: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
5
|
-
export declare const DigestSchema: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
6
|
-
export declare const SnapshotIdSchema: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
7
|
-
export declare const EvidenceIdSchema: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
8
|
-
export declare const OperationIdSchema: z.ZodString;
|
|
9
|
-
export declare const CausalRevisionSchema: z.ZodNumber;
|
|
10
|
-
export declare const FeatureStatusSchema: z.ZodEnum<{
|
|
11
|
-
blocked: "blocked";
|
|
12
|
-
completed: "completed";
|
|
13
|
-
in_progress: "in_progress";
|
|
14
|
-
pending: "pending";
|
|
15
|
-
}>;
|
|
16
|
-
export declare const SessionStatusSchema: z.ZodEnum<{
|
|
17
|
-
blocked: "blocked";
|
|
18
|
-
completed: "completed";
|
|
19
|
-
planning: "planning";
|
|
20
|
-
ready: "ready";
|
|
21
|
-
running: "running";
|
|
22
|
-
}>;
|
|
23
|
-
export declare const ReviewFindingTaxonomySchema: z.ZodEnum<{
|
|
24
|
-
advisory: "advisory";
|
|
25
|
-
evidence_gap: "evidence_gap";
|
|
26
|
-
implementation_defect: "implementation_defect";
|
|
27
|
-
regression_coverage_gap: "regression_coverage_gap";
|
|
28
|
-
}>;
|
|
29
|
-
export declare const ReviewKindSchema: z.ZodEnum<{
|
|
30
|
-
feature: "feature";
|
|
31
|
-
final: "final";
|
|
32
|
-
}>;
|
|
33
|
-
export declare const ReviewVerdictSchema: z.ZodEnum<{
|
|
34
|
-
failed: "failed";
|
|
35
|
-
passed: "passed";
|
|
36
|
-
}>;
|
|
37
|
-
export declare const ReviewTerminalDispositionSchema: z.ZodEnum<{
|
|
38
|
-
observed_unsubmitted: "observed_unsubmitted";
|
|
39
|
-
submitted: "submitted";
|
|
40
|
-
}>;
|
|
41
|
-
export declare const ValidationScopeSchema: z.ZodEnum<{
|
|
42
|
-
broad: "broad";
|
|
43
|
-
targeted: "targeted";
|
|
44
|
-
}>;
|
|
45
|
-
export declare const FeatureReviewDepthSchema: z.ZodEnum<{
|
|
46
|
-
detailed: "detailed";
|
|
47
|
-
quick: "quick";
|
|
48
|
-
standard: "standard";
|
|
49
|
-
}>;
|
|
50
|
-
export declare const FinalReviewPolicySchema: z.ZodEnum<{
|
|
51
|
-
broad: "broad";
|
|
52
|
-
detailed: "detailed";
|
|
53
|
-
}>;
|
|
54
|
-
export declare const OrchestrationPassKindSchema: z.ZodEnum<{
|
|
55
|
-
audit: "audit";
|
|
56
|
-
candidate: "candidate";
|
|
57
|
-
discovery: "discovery";
|
|
58
|
-
"implementation-decision": "implementation-decision";
|
|
59
|
-
review: "review";
|
|
60
|
-
validation: "validation";
|
|
61
|
-
verification: "verification";
|
|
62
|
-
}>;
|
|
63
|
-
export declare const OrchestrationModeSchema: z.ZodEnum<{
|
|
64
|
-
audit: "audit";
|
|
65
|
-
"candidate-implementation": "candidate-implementation";
|
|
66
|
-
evidence: "evidence";
|
|
67
|
-
review: "review";
|
|
68
|
-
validation: "validation";
|
|
69
|
-
verifier: "verifier";
|
|
70
|
-
}>;
|
|
71
|
-
export declare const OrchestrationDecisionSchema: z.ZodEnum<{
|
|
72
|
-
"candidate-exact-path": "candidate-exact-path";
|
|
73
|
-
"candidate-worktree": "candidate-worktree";
|
|
74
|
-
parallel: "parallel";
|
|
75
|
-
serial: "serial";
|
|
76
|
-
skipped: "skipped";
|
|
77
|
-
tournament: "tournament";
|
|
78
|
-
}>;
|
|
79
|
-
export declare const OrchestrationCandidateEligibilitySchema: z.ZodEnum<{
|
|
80
|
-
eligible: "eligible";
|
|
81
|
-
not_eligible: "not_eligible";
|
|
82
|
-
unknown: "unknown";
|
|
83
|
-
}>;
|
|
84
|
-
export declare const OrchestrationCandidateDecisionSchema: z.ZodEnum<{
|
|
85
|
-
serial_required: "serial_required";
|
|
86
|
-
skipped: "skipped";
|
|
87
|
-
used: "used";
|
|
88
|
-
}>;
|
|
89
|
-
export declare const OrchestrationDecisionFactorSchema: z.ZodEnum<{
|
|
90
|
-
independent_surface: "independent_surface";
|
|
91
|
-
needs_manager_judgment: "needs_manager_judgment";
|
|
92
|
-
overlapping_files: "overlapping_files";
|
|
93
|
-
shared_state: "shared_state";
|
|
94
|
-
small_slice: "small_slice";
|
|
95
|
-
validation_available: "validation_available";
|
|
96
|
-
}>;
|
|
97
|
-
export declare const OrchestrationWriteScopeSchema: z.ZodEnum<{
|
|
98
|
-
"exact-path": "exact-path";
|
|
99
|
-
"isolated-worktree": "isolated-worktree";
|
|
100
|
-
"manager-serial": "manager-serial";
|
|
101
|
-
mixed: "mixed";
|
|
102
|
-
none: "none";
|
|
103
|
-
}>;
|
|
104
|
-
export declare const OrchestrationVerificationStatusSchema: z.ZodEnum<{
|
|
105
|
-
downgraded: "downgraded";
|
|
106
|
-
failed: "failed";
|
|
107
|
-
mixed: "mixed";
|
|
108
|
-
"not-needed": "not-needed";
|
|
109
|
-
passed: "passed";
|
|
110
|
-
pending: "pending";
|
|
111
|
-
}>;
|
|
112
|
-
export declare const OrchestrationOutcomeSchema: z.ZodEnum<{
|
|
113
|
-
accepted: "accepted";
|
|
114
|
-
modified: "modified";
|
|
115
|
-
"not-covered": "not-covered";
|
|
116
|
-
partial: "partial";
|
|
117
|
-
rejected: "rejected";
|
|
118
|
-
superseded: "superseded";
|
|
119
|
-
}>;
|
|
120
|
-
export declare const OrchestrationPassRecordSchema: z.ZodObject<{
|
|
121
|
-
id: z.ZodString;
|
|
122
|
-
kind: z.ZodEnum<{
|
|
123
|
-
audit: "audit";
|
|
124
|
-
candidate: "candidate";
|
|
125
|
-
discovery: "discovery";
|
|
126
|
-
"implementation-decision": "implementation-decision";
|
|
127
|
-
review: "review";
|
|
128
|
-
validation: "validation";
|
|
129
|
-
verification: "verification";
|
|
130
|
-
}>;
|
|
131
|
-
decision: z.ZodOptional<z.ZodEnum<{
|
|
132
|
-
"candidate-exact-path": "candidate-exact-path";
|
|
133
|
-
"candidate-worktree": "candidate-worktree";
|
|
134
|
-
parallel: "parallel";
|
|
135
|
-
serial: "serial";
|
|
136
|
-
skipped: "skipped";
|
|
137
|
-
tournament: "tournament";
|
|
138
|
-
}>>;
|
|
139
|
-
decisionReason: z.ZodOptional<z.ZodString>;
|
|
140
|
-
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
141
|
-
eligible: "eligible";
|
|
142
|
-
not_eligible: "not_eligible";
|
|
143
|
-
unknown: "unknown";
|
|
144
|
-
}>>;
|
|
145
|
-
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
146
|
-
serial_required: "serial_required";
|
|
147
|
-
skipped: "skipped";
|
|
148
|
-
used: "used";
|
|
149
|
-
}>>;
|
|
150
|
-
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
151
|
-
independent_surface: "independent_surface";
|
|
152
|
-
needs_manager_judgment: "needs_manager_judgment";
|
|
153
|
-
overlapping_files: "overlapping_files";
|
|
154
|
-
shared_state: "shared_state";
|
|
155
|
-
small_slice: "small_slice";
|
|
156
|
-
validation_available: "validation_available";
|
|
157
|
-
}>>>;
|
|
158
|
-
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
159
|
-
audit: "audit";
|
|
160
|
-
"candidate-implementation": "candidate-implementation";
|
|
161
|
-
evidence: "evidence";
|
|
162
|
-
review: "review";
|
|
163
|
-
validation: "validation";
|
|
164
|
-
verifier: "verifier";
|
|
165
|
-
}>>>;
|
|
166
|
-
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
167
|
-
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
168
|
-
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
169
|
-
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
170
|
-
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
171
|
-
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
172
|
-
"exact-path": "exact-path";
|
|
173
|
-
"isolated-worktree": "isolated-worktree";
|
|
174
|
-
"manager-serial": "manager-serial";
|
|
175
|
-
mixed: "mixed";
|
|
176
|
-
none: "none";
|
|
177
|
-
}>>;
|
|
178
|
-
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
179
|
-
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
180
|
-
downgraded: "downgraded";
|
|
181
|
-
failed: "failed";
|
|
182
|
-
mixed: "mixed";
|
|
183
|
-
"not-needed": "not-needed";
|
|
184
|
-
passed: "passed";
|
|
185
|
-
pending: "pending";
|
|
186
|
-
}>>;
|
|
187
|
-
outcome: z.ZodDefault<z.ZodEnum<{
|
|
188
|
-
accepted: "accepted";
|
|
189
|
-
modified: "modified";
|
|
190
|
-
"not-covered": "not-covered";
|
|
191
|
-
partial: "partial";
|
|
192
|
-
rejected: "rejected";
|
|
193
|
-
superseded: "superseded";
|
|
194
|
-
}>>;
|
|
195
|
-
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
196
|
-
}, z.core.$strict>;
|
|
197
|
-
export declare const OrchestrationTelemetrySchema: z.ZodObject<{
|
|
198
|
-
passCount: z.ZodDefault<z.ZodNumber>;
|
|
199
|
-
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
200
|
-
candidatePassCount: z.ZodDefault<z.ZodNumber>;
|
|
201
|
-
verifierPassCount: z.ZodDefault<z.ZodNumber>;
|
|
202
|
-
candidateEligibleCount: z.ZodDefault<z.ZodNumber>;
|
|
203
|
-
candidateUsedDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
204
|
-
candidateSerialRequiredDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
205
|
-
skippedCandidateDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
206
|
-
latestPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
207
|
-
id: z.ZodString;
|
|
208
|
-
kind: z.ZodEnum<{
|
|
209
|
-
audit: "audit";
|
|
210
|
-
candidate: "candidate";
|
|
211
|
-
discovery: "discovery";
|
|
212
|
-
"implementation-decision": "implementation-decision";
|
|
213
|
-
review: "review";
|
|
214
|
-
validation: "validation";
|
|
215
|
-
verification: "verification";
|
|
216
|
-
}>;
|
|
217
|
-
decision: z.ZodOptional<z.ZodEnum<{
|
|
218
|
-
"candidate-exact-path": "candidate-exact-path";
|
|
219
|
-
"candidate-worktree": "candidate-worktree";
|
|
220
|
-
parallel: "parallel";
|
|
221
|
-
serial: "serial";
|
|
222
|
-
skipped: "skipped";
|
|
223
|
-
tournament: "tournament";
|
|
224
|
-
}>>;
|
|
225
|
-
decisionReason: z.ZodOptional<z.ZodString>;
|
|
226
|
-
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
227
|
-
eligible: "eligible";
|
|
228
|
-
not_eligible: "not_eligible";
|
|
229
|
-
unknown: "unknown";
|
|
230
|
-
}>>;
|
|
231
|
-
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
232
|
-
serial_required: "serial_required";
|
|
233
|
-
skipped: "skipped";
|
|
234
|
-
used: "used";
|
|
235
|
-
}>>;
|
|
236
|
-
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
237
|
-
independent_surface: "independent_surface";
|
|
238
|
-
needs_manager_judgment: "needs_manager_judgment";
|
|
239
|
-
overlapping_files: "overlapping_files";
|
|
240
|
-
shared_state: "shared_state";
|
|
241
|
-
small_slice: "small_slice";
|
|
242
|
-
validation_available: "validation_available";
|
|
243
|
-
}>>>;
|
|
244
|
-
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
245
|
-
audit: "audit";
|
|
246
|
-
"candidate-implementation": "candidate-implementation";
|
|
247
|
-
evidence: "evidence";
|
|
248
|
-
review: "review";
|
|
249
|
-
validation: "validation";
|
|
250
|
-
verifier: "verifier";
|
|
251
|
-
}>>>;
|
|
252
|
-
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
253
|
-
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
254
|
-
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
255
|
-
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
256
|
-
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
257
|
-
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
258
|
-
"exact-path": "exact-path";
|
|
259
|
-
"isolated-worktree": "isolated-worktree";
|
|
260
|
-
"manager-serial": "manager-serial";
|
|
261
|
-
mixed: "mixed";
|
|
262
|
-
none: "none";
|
|
263
|
-
}>>;
|
|
264
|
-
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
265
|
-
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
266
|
-
downgraded: "downgraded";
|
|
267
|
-
failed: "failed";
|
|
268
|
-
mixed: "mixed";
|
|
269
|
-
"not-needed": "not-needed";
|
|
270
|
-
passed: "passed";
|
|
271
|
-
pending: "pending";
|
|
272
|
-
}>>;
|
|
273
|
-
outcome: z.ZodDefault<z.ZodEnum<{
|
|
274
|
-
accepted: "accepted";
|
|
275
|
-
modified: "modified";
|
|
276
|
-
"not-covered": "not-covered";
|
|
277
|
-
partial: "partial";
|
|
278
|
-
rejected: "rejected";
|
|
279
|
-
superseded: "superseded";
|
|
280
|
-
}>>;
|
|
281
|
-
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
282
|
-
}, z.core.$strict>>>;
|
|
283
|
-
}, z.core.$strict>;
|
|
284
|
-
export declare const FeatureRunIdSchema: z.ZodString;
|
|
285
|
-
export declare const ReviewAssignmentIdSchema: z.ZodString;
|
|
286
|
-
export declare const ReviewSnapshotIdSchema: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
287
|
-
export declare const ReviewExecutionFindingInputSchema: z.ZodObject<{
|
|
288
|
-
taxonomy: z.ZodEnum<{
|
|
289
|
-
advisory: "advisory";
|
|
290
|
-
evidence_gap: "evidence_gap";
|
|
291
|
-
implementation_defect: "implementation_defect";
|
|
292
|
-
regression_coverage_gap: "regression_coverage_gap";
|
|
293
|
-
}>;
|
|
294
|
-
subject: z.ZodString;
|
|
295
|
-
requirementOrRisk: z.ZodString;
|
|
296
|
-
evidenceLocator: z.ZodString;
|
|
297
|
-
summary: z.ZodString;
|
|
298
|
-
severity: z.ZodEnum<{
|
|
299
|
-
advisory: "advisory";
|
|
300
|
-
blocking: "blocking";
|
|
301
|
-
}>;
|
|
302
|
-
}, z.core.$strict>;
|
|
303
|
-
export declare const ReviewExecutionFindingSchema: z.ZodObject<{
|
|
304
|
-
taxonomy: z.ZodEnum<{
|
|
305
|
-
advisory: "advisory";
|
|
306
|
-
evidence_gap: "evidence_gap";
|
|
307
|
-
implementation_defect: "implementation_defect";
|
|
308
|
-
regression_coverage_gap: "regression_coverage_gap";
|
|
309
|
-
}>;
|
|
310
|
-
subject: z.ZodString;
|
|
311
|
-
requirementOrRisk: z.ZodString;
|
|
312
|
-
evidenceLocator: z.ZodString;
|
|
313
|
-
summary: z.ZodString;
|
|
314
|
-
severity: z.ZodEnum<{
|
|
315
|
-
advisory: "advisory";
|
|
316
|
-
blocking: "blocking";
|
|
317
|
-
}>;
|
|
318
|
-
fingerprint: z.ZodString;
|
|
319
|
-
}, z.core.$strict>;
|
|
320
|
-
export declare const ReviewAssignmentResultInputSchema: z.ZodObject<{
|
|
321
|
-
assignmentId: z.ZodString;
|
|
322
|
-
verdict: z.ZodEnum<{
|
|
323
|
-
failed: "failed";
|
|
324
|
-
passed: "passed";
|
|
325
|
-
}>;
|
|
326
|
-
findings: z.ZodArray<z.ZodObject<{
|
|
327
|
-
taxonomy: z.ZodEnum<{
|
|
328
|
-
advisory: "advisory";
|
|
329
|
-
evidence_gap: "evidence_gap";
|
|
330
|
-
implementation_defect: "implementation_defect";
|
|
331
|
-
regression_coverage_gap: "regression_coverage_gap";
|
|
332
|
-
}>;
|
|
333
|
-
subject: z.ZodString;
|
|
334
|
-
requirementOrRisk: z.ZodString;
|
|
335
|
-
evidenceLocator: z.ZodString;
|
|
336
|
-
summary: z.ZodString;
|
|
337
|
-
severity: z.ZodEnum<{
|
|
338
|
-
advisory: "advisory";
|
|
339
|
-
blocking: "blocking";
|
|
340
|
-
}>;
|
|
341
|
-
}, z.core.$strict>>;
|
|
342
|
-
completedAt: z.ZodString;
|
|
343
|
-
terminalDisposition: z.ZodEnum<{
|
|
344
|
-
observed_unsubmitted: "observed_unsubmitted";
|
|
345
|
-
submitted: "submitted";
|
|
346
|
-
}>;
|
|
347
|
-
}, z.core.$strict>;
|
|
348
|
-
export declare const ReviewExecutionSchema: z.ZodObject<{
|
|
349
|
-
assignmentId: z.ZodString;
|
|
350
|
-
featureRunId: z.ZodString;
|
|
351
|
-
attemptId: z.ZodString;
|
|
352
|
-
logicalPassId: z.ZodString;
|
|
353
|
-
featureId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
354
|
-
reviewKind: z.ZodEnum<{
|
|
355
|
-
feature: "feature";
|
|
356
|
-
final: "final";
|
|
357
|
-
}>;
|
|
358
|
-
reviewSnapshotId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
359
|
-
verdict: z.ZodEnum<{
|
|
360
|
-
failed: "failed";
|
|
361
|
-
passed: "passed";
|
|
362
|
-
}>;
|
|
363
|
-
startedAt: z.ZodString;
|
|
364
|
-
completedAt: z.ZodString;
|
|
365
|
-
terminalDisposition: z.ZodEnum<{
|
|
366
|
-
observed_unsubmitted: "observed_unsubmitted";
|
|
367
|
-
submitted: "submitted";
|
|
368
|
-
}>;
|
|
369
|
-
findings: z.ZodArray<z.ZodObject<{
|
|
370
|
-
taxonomy: z.ZodEnum<{
|
|
371
|
-
advisory: "advisory";
|
|
372
|
-
evidence_gap: "evidence_gap";
|
|
373
|
-
implementation_defect: "implementation_defect";
|
|
374
|
-
regression_coverage_gap: "regression_coverage_gap";
|
|
375
|
-
}>;
|
|
376
|
-
subject: z.ZodString;
|
|
377
|
-
requirementOrRisk: z.ZodString;
|
|
378
|
-
evidenceLocator: z.ZodString;
|
|
379
|
-
summary: z.ZodString;
|
|
380
|
-
severity: z.ZodEnum<{
|
|
381
|
-
advisory: "advisory";
|
|
382
|
-
blocking: "blocking";
|
|
383
|
-
}>;
|
|
384
|
-
fingerprint: z.ZodString;
|
|
385
|
-
}, z.core.$strict>>;
|
|
386
|
-
}, z.core.$strict>;
|
|
387
|
-
export declare const ValidationEvidenceSchema: z.ZodObject<{
|
|
388
|
-
evidenceId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
389
|
-
snapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
390
|
-
sourceDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
391
|
-
featureRunId: z.ZodString;
|
|
392
|
-
capturedAtRevision: z.ZodNumber;
|
|
393
|
-
capturedAtSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
394
|
-
startedAt: z.ZodString;
|
|
395
|
-
completedAt: z.ZodString;
|
|
396
|
-
commandClass: z.ZodEnum<{
|
|
397
|
-
build: "build";
|
|
398
|
-
format: "format";
|
|
399
|
-
lint: "lint";
|
|
400
|
-
other: "other";
|
|
401
|
-
smoke: "smoke";
|
|
402
|
-
test: "test";
|
|
403
|
-
typecheck: "typecheck";
|
|
404
|
-
}>;
|
|
405
|
-
exitCode: z.ZodNumber;
|
|
406
|
-
outputDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
407
|
-
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
408
|
-
kind: z.ZodLiteral<"restricted_evidence_v1">;
|
|
409
|
-
digest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
410
|
-
byteLength: z.ZodNumber;
|
|
411
|
-
}, z.core.$strict>>;
|
|
412
|
-
environmentKeys: z.ZodArray<z.ZodString>;
|
|
413
|
-
kind: z.ZodLiteral<"validation">;
|
|
414
|
-
commandDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
415
|
-
}, z.core.$strict>;
|
|
416
|
-
export declare const ReviewEvidenceSchema: z.ZodObject<{
|
|
417
|
-
evidenceId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
418
|
-
snapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
419
|
-
sourceDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
420
|
-
featureRunId: z.ZodString;
|
|
421
|
-
capturedAtRevision: z.ZodNumber;
|
|
422
|
-
capturedAtSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
423
|
-
startedAt: z.ZodString;
|
|
424
|
-
completedAt: z.ZodString;
|
|
425
|
-
kind: z.ZodLiteral<"review">;
|
|
426
|
-
attemptId: z.ZodString;
|
|
427
|
-
assignmentId: z.ZodString;
|
|
428
|
-
packetDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
429
|
-
}, z.core.$strict>;
|
|
430
|
-
export declare const EvidenceRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
431
|
-
evidenceId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
432
|
-
snapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
433
|
-
sourceDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
434
|
-
featureRunId: z.ZodString;
|
|
435
|
-
capturedAtRevision: z.ZodNumber;
|
|
436
|
-
capturedAtSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
437
|
-
startedAt: z.ZodString;
|
|
438
|
-
completedAt: z.ZodString;
|
|
439
|
-
commandClass: z.ZodEnum<{
|
|
440
|
-
build: "build";
|
|
441
|
-
format: "format";
|
|
442
|
-
lint: "lint";
|
|
443
|
-
other: "other";
|
|
444
|
-
smoke: "smoke";
|
|
445
|
-
test: "test";
|
|
446
|
-
typecheck: "typecheck";
|
|
447
|
-
}>;
|
|
448
|
-
exitCode: z.ZodNumber;
|
|
449
|
-
outputDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
450
|
-
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
451
|
-
kind: z.ZodLiteral<"restricted_evidence_v1">;
|
|
452
|
-
digest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
453
|
-
byteLength: z.ZodNumber;
|
|
454
|
-
}, z.core.$strict>>;
|
|
455
|
-
environmentKeys: z.ZodArray<z.ZodString>;
|
|
456
|
-
kind: z.ZodLiteral<"validation">;
|
|
457
|
-
commandDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
458
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
459
|
-
evidenceId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
460
|
-
snapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
461
|
-
sourceDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
462
|
-
featureRunId: z.ZodString;
|
|
463
|
-
capturedAtRevision: z.ZodNumber;
|
|
464
|
-
capturedAtSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
465
|
-
startedAt: z.ZodString;
|
|
466
|
-
completedAt: z.ZodString;
|
|
467
|
-
kind: z.ZodLiteral<"review">;
|
|
468
|
-
attemptId: z.ZodString;
|
|
469
|
-
assignmentId: z.ZodString;
|
|
470
|
-
packetDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
471
|
-
}, z.core.$strict>], "kind">;
|
|
472
|
-
export declare const ValidationObservationSchema: z.ZodObject<{
|
|
473
|
-
startedAt: z.ZodString;
|
|
474
|
-
completedAt: z.ZodString;
|
|
475
|
-
command: z.ZodString;
|
|
476
|
-
summary: z.ZodString;
|
|
477
|
-
exitCode: z.ZodNumber;
|
|
478
|
-
outputDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
479
|
-
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
480
|
-
kind: z.ZodLiteral<"restricted_evidence_v1">;
|
|
481
|
-
digest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
482
|
-
byteLength: z.ZodNumber;
|
|
483
|
-
}, z.core.$strict>>;
|
|
484
|
-
environmentKeys: z.ZodArray<z.ZodString>;
|
|
485
|
-
}, z.core.$strict>;
|
|
486
|
-
export declare const CausalMutationRecordSchema: z.ZodObject<{
|
|
487
|
-
operationId: z.ZodString;
|
|
488
|
-
operationKind: z.ZodEnum<{
|
|
489
|
-
feature_complete: "feature_complete";
|
|
490
|
-
feature_reset: "feature_reset";
|
|
491
|
-
plan_approve: "plan_approve";
|
|
492
|
-
plan_save: "plan_save";
|
|
493
|
-
review_start: "review_start";
|
|
494
|
-
run_start: "run_start";
|
|
495
|
-
session_close: "session_close";
|
|
496
|
-
}>;
|
|
497
|
-
requestDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
498
|
-
featureRunId: z.ZodNullable<z.ZodString>;
|
|
499
|
-
priorMutationDigest: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
500
|
-
mutationDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
501
|
-
priorRevision: z.ZodNumber;
|
|
502
|
-
revision: z.ZodNumber;
|
|
503
|
-
priorSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
504
|
-
currentSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
505
|
-
changedEntity: z.ZodObject<{
|
|
506
|
-
kind: z.ZodEnum<{
|
|
507
|
-
closure: "closure";
|
|
508
|
-
evidence: "evidence";
|
|
509
|
-
feature: "feature";
|
|
510
|
-
plan: "plan";
|
|
511
|
-
review: "review";
|
|
512
|
-
session: "session";
|
|
513
|
-
}>;
|
|
514
|
-
id: z.ZodString;
|
|
515
|
-
}, z.core.$strict>;
|
|
516
|
-
changedFields: z.ZodArray<z.ZodString>;
|
|
517
|
-
blockerDelta: z.ZodObject<{
|
|
518
|
-
added: z.ZodArray<z.ZodString>;
|
|
519
|
-
removed: z.ZodArray<z.ZodString>;
|
|
520
|
-
}, z.core.$strict>;
|
|
521
|
-
evidenceRefs: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
522
|
-
recordedAt: z.ZodString;
|
|
523
|
-
}, z.core.$strict>;
|
|
524
|
-
export declare const CausalStateSchema: z.ZodObject<{
|
|
525
|
-
revision: z.ZodNumber;
|
|
526
|
-
genesisSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
527
|
-
snapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
528
|
-
mutations: z.ZodArray<z.ZodObject<{
|
|
529
|
-
operationId: z.ZodString;
|
|
530
|
-
operationKind: z.ZodEnum<{
|
|
531
|
-
feature_complete: "feature_complete";
|
|
532
|
-
feature_reset: "feature_reset";
|
|
533
|
-
plan_approve: "plan_approve";
|
|
534
|
-
plan_save: "plan_save";
|
|
535
|
-
review_start: "review_start";
|
|
536
|
-
run_start: "run_start";
|
|
537
|
-
session_close: "session_close";
|
|
538
|
-
}>;
|
|
539
|
-
requestDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
540
|
-
featureRunId: z.ZodNullable<z.ZodString>;
|
|
541
|
-
priorMutationDigest: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
542
|
-
mutationDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
543
|
-
priorRevision: z.ZodNumber;
|
|
544
|
-
revision: z.ZodNumber;
|
|
545
|
-
priorSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
546
|
-
currentSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
547
|
-
changedEntity: z.ZodObject<{
|
|
548
|
-
kind: z.ZodEnum<{
|
|
549
|
-
closure: "closure";
|
|
550
|
-
evidence: "evidence";
|
|
551
|
-
feature: "feature";
|
|
552
|
-
plan: "plan";
|
|
553
|
-
review: "review";
|
|
554
|
-
session: "session";
|
|
555
|
-
}>;
|
|
556
|
-
id: z.ZodString;
|
|
557
|
-
}, z.core.$strict>;
|
|
558
|
-
changedFields: z.ZodArray<z.ZodString>;
|
|
559
|
-
blockerDelta: z.ZodObject<{
|
|
560
|
-
added: z.ZodArray<z.ZodString>;
|
|
561
|
-
removed: z.ZodArray<z.ZodString>;
|
|
562
|
-
}, z.core.$strict>;
|
|
563
|
-
evidenceRefs: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
564
|
-
recordedAt: z.ZodString;
|
|
565
|
-
}, z.core.$strict>>;
|
|
566
|
-
evidence: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
567
|
-
evidenceId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
568
|
-
snapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
569
|
-
sourceDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
570
|
-
featureRunId: z.ZodString;
|
|
571
|
-
capturedAtRevision: z.ZodNumber;
|
|
572
|
-
capturedAtSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
573
|
-
startedAt: z.ZodString;
|
|
574
|
-
completedAt: z.ZodString;
|
|
575
|
-
commandClass: z.ZodEnum<{
|
|
576
|
-
build: "build";
|
|
577
|
-
format: "format";
|
|
578
|
-
lint: "lint";
|
|
579
|
-
other: "other";
|
|
580
|
-
smoke: "smoke";
|
|
581
|
-
test: "test";
|
|
582
|
-
typecheck: "typecheck";
|
|
583
|
-
}>;
|
|
584
|
-
exitCode: z.ZodNumber;
|
|
585
|
-
outputDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
586
|
-
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
587
|
-
kind: z.ZodLiteral<"restricted_evidence_v1">;
|
|
588
|
-
digest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
589
|
-
byteLength: z.ZodNumber;
|
|
590
|
-
}, z.core.$strict>>;
|
|
591
|
-
environmentKeys: z.ZodArray<z.ZodString>;
|
|
592
|
-
kind: z.ZodLiteral<"validation">;
|
|
593
|
-
commandDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
594
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
595
|
-
evidenceId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
596
|
-
snapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
597
|
-
sourceDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
598
|
-
featureRunId: z.ZodString;
|
|
599
|
-
capturedAtRevision: z.ZodNumber;
|
|
600
|
-
capturedAtSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
601
|
-
startedAt: z.ZodString;
|
|
602
|
-
completedAt: z.ZodString;
|
|
603
|
-
kind: z.ZodLiteral<"review">;
|
|
604
|
-
attemptId: z.ZodString;
|
|
605
|
-
assignmentId: z.ZodString;
|
|
606
|
-
packetDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
607
|
-
}, z.core.$strict>], "kind">>;
|
|
608
|
-
}, z.core.$strict>;
|
|
609
|
-
export declare const ArtifactSchema: z.ZodObject<{
|
|
610
|
-
path: z.ZodString;
|
|
611
|
-
}, z.core.$strict>;
|
|
612
|
-
export declare const FeatureSchema: z.ZodObject<{
|
|
613
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
614
|
-
title: z.ZodString;
|
|
615
|
-
summary: z.ZodString;
|
|
616
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
617
|
-
blocked: "blocked";
|
|
618
|
-
completed: "completed";
|
|
619
|
-
in_progress: "in_progress";
|
|
620
|
-
pending: "pending";
|
|
621
|
-
}>>;
|
|
622
|
-
reviewDepth: z.ZodDefault<z.ZodEnum<{
|
|
623
|
-
detailed: "detailed";
|
|
624
|
-
quick: "quick";
|
|
625
|
-
standard: "standard";
|
|
626
|
-
}>>;
|
|
627
|
-
targets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
628
|
-
validation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
629
|
-
dependsOn: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>>>;
|
|
630
|
-
}, z.core.$strict>;
|
|
631
|
-
export declare const PlanSchema: z.ZodObject<{
|
|
632
|
-
summary: z.ZodString;
|
|
633
|
-
overview: z.ZodString;
|
|
634
|
-
requirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
635
|
-
decisions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
636
|
-
finalReviewPolicy: z.ZodDefault<z.ZodEnum<{
|
|
637
|
-
broad: "broad";
|
|
638
|
-
detailed: "detailed";
|
|
639
|
-
}>>;
|
|
640
|
-
features: z.ZodArray<z.ZodObject<{
|
|
641
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
642
|
-
title: z.ZodString;
|
|
643
|
-
summary: z.ZodString;
|
|
644
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
645
|
-
blocked: "blocked";
|
|
646
|
-
completed: "completed";
|
|
647
|
-
in_progress: "in_progress";
|
|
648
|
-
pending: "pending";
|
|
649
|
-
}>>;
|
|
650
|
-
reviewDepth: z.ZodDefault<z.ZodEnum<{
|
|
651
|
-
detailed: "detailed";
|
|
652
|
-
quick: "quick";
|
|
653
|
-
standard: "standard";
|
|
654
|
-
}>>;
|
|
655
|
-
targets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
656
|
-
validation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
657
|
-
dependsOn: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>>>;
|
|
658
|
-
}, z.core.$strict>>;
|
|
659
|
-
}, z.core.$strict>;
|
|
660
|
-
export declare const PlanInputSchema: z.ZodObject<{
|
|
661
|
-
summary: z.ZodString;
|
|
662
|
-
overview: z.ZodString;
|
|
663
|
-
requirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
664
|
-
decisions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
665
|
-
finalReviewPolicy: z.ZodOptional<z.ZodEnum<{
|
|
666
|
-
broad: "broad";
|
|
667
|
-
detailed: "detailed";
|
|
668
|
-
}>>;
|
|
669
|
-
features: z.ZodArray<z.ZodObject<{
|
|
670
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
671
|
-
title: z.ZodString;
|
|
672
|
-
summary: z.ZodString;
|
|
673
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
674
|
-
blocked: "blocked";
|
|
675
|
-
completed: "completed";
|
|
676
|
-
in_progress: "in_progress";
|
|
677
|
-
pending: "pending";
|
|
678
|
-
}>>;
|
|
679
|
-
reviewDepth: z.ZodOptional<z.ZodEnum<{
|
|
680
|
-
detailed: "detailed";
|
|
681
|
-
quick: "quick";
|
|
682
|
-
standard: "standard";
|
|
683
|
-
}>>;
|
|
684
|
-
targets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
685
|
-
validation: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
686
|
-
dependsOn: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>>>;
|
|
687
|
-
}, z.core.$strict>>;
|
|
688
|
-
}, z.core.$strict>;
|
|
689
|
-
export declare const CompletedExecutionOutcomeSchema: z.ZodObject<{
|
|
690
|
-
kind: z.ZodLiteral<"completed">;
|
|
691
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
692
|
-
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
693
|
-
}, z.core.$strict>;
|
|
694
|
-
export declare const BlockedExecutionOutcomeSchema: z.ZodObject<{
|
|
695
|
-
kind: z.ZodLiteral<"blocked">;
|
|
696
|
-
summary: z.ZodString;
|
|
697
|
-
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
698
|
-
}, z.core.$strict>;
|
|
699
|
-
export declare const ExecutionOutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
700
|
-
kind: z.ZodLiteral<"completed">;
|
|
701
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
702
|
-
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
703
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
704
|
-
kind: z.ZodLiteral<"blocked">;
|
|
705
|
-
summary: z.ZodString;
|
|
706
|
-
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
707
|
-
}, z.core.$strict>], "kind">;
|
|
708
|
-
export declare const ExecutionHistoryEntrySchema: z.ZodObject<{
|
|
709
|
-
featureRunId: z.ZodString;
|
|
710
|
-
featureId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
711
|
-
status: z.ZodEnum<{
|
|
712
|
-
blocked: "blocked";
|
|
713
|
-
completed: "completed";
|
|
714
|
-
}>;
|
|
715
|
-
summary: z.ZodString;
|
|
716
|
-
recordedAt: z.ZodString;
|
|
717
|
-
artifactsChanged: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
718
|
-
path: z.ZodString;
|
|
719
|
-
}, z.core.$strict>>>;
|
|
720
|
-
validationScope: z.ZodEnum<{
|
|
721
|
-
broad: "broad";
|
|
722
|
-
targeted: "targeted";
|
|
723
|
-
}>;
|
|
724
|
-
validationEvidenceRefs: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
725
|
-
reviewAssignmentIds: z.ZodArray<z.ZodString>;
|
|
726
|
-
outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
727
|
-
kind: z.ZodLiteral<"completed">;
|
|
728
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
729
|
-
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
730
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
731
|
-
kind: z.ZodLiteral<"blocked">;
|
|
732
|
-
summary: z.ZodString;
|
|
733
|
-
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
734
|
-
}, z.core.$strict>], "kind">;
|
|
735
|
-
orchestrationPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
736
|
-
id: z.ZodString;
|
|
737
|
-
kind: z.ZodEnum<{
|
|
738
|
-
audit: "audit";
|
|
739
|
-
candidate: "candidate";
|
|
740
|
-
discovery: "discovery";
|
|
741
|
-
"implementation-decision": "implementation-decision";
|
|
742
|
-
review: "review";
|
|
743
|
-
validation: "validation";
|
|
744
|
-
verification: "verification";
|
|
745
|
-
}>;
|
|
746
|
-
decision: z.ZodOptional<z.ZodEnum<{
|
|
747
|
-
"candidate-exact-path": "candidate-exact-path";
|
|
748
|
-
"candidate-worktree": "candidate-worktree";
|
|
749
|
-
parallel: "parallel";
|
|
750
|
-
serial: "serial";
|
|
751
|
-
skipped: "skipped";
|
|
752
|
-
tournament: "tournament";
|
|
753
|
-
}>>;
|
|
754
|
-
decisionReason: z.ZodOptional<z.ZodString>;
|
|
755
|
-
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
756
|
-
eligible: "eligible";
|
|
757
|
-
not_eligible: "not_eligible";
|
|
758
|
-
unknown: "unknown";
|
|
759
|
-
}>>;
|
|
760
|
-
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
761
|
-
serial_required: "serial_required";
|
|
762
|
-
skipped: "skipped";
|
|
763
|
-
used: "used";
|
|
764
|
-
}>>;
|
|
765
|
-
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
766
|
-
independent_surface: "independent_surface";
|
|
767
|
-
needs_manager_judgment: "needs_manager_judgment";
|
|
768
|
-
overlapping_files: "overlapping_files";
|
|
769
|
-
shared_state: "shared_state";
|
|
770
|
-
small_slice: "small_slice";
|
|
771
|
-
validation_available: "validation_available";
|
|
772
|
-
}>>>;
|
|
773
|
-
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
774
|
-
audit: "audit";
|
|
775
|
-
"candidate-implementation": "candidate-implementation";
|
|
776
|
-
evidence: "evidence";
|
|
777
|
-
review: "review";
|
|
778
|
-
validation: "validation";
|
|
779
|
-
verifier: "verifier";
|
|
780
|
-
}>>>;
|
|
781
|
-
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
782
|
-
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
783
|
-
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
784
|
-
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
785
|
-
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
786
|
-
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
787
|
-
"exact-path": "exact-path";
|
|
788
|
-
"isolated-worktree": "isolated-worktree";
|
|
789
|
-
"manager-serial": "manager-serial";
|
|
790
|
-
mixed: "mixed";
|
|
791
|
-
none: "none";
|
|
792
|
-
}>>;
|
|
793
|
-
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
794
|
-
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
795
|
-
downgraded: "downgraded";
|
|
796
|
-
failed: "failed";
|
|
797
|
-
mixed: "mixed";
|
|
798
|
-
"not-needed": "not-needed";
|
|
799
|
-
passed: "passed";
|
|
800
|
-
pending: "pending";
|
|
801
|
-
}>>;
|
|
802
|
-
outcome: z.ZodDefault<z.ZodEnum<{
|
|
803
|
-
accepted: "accepted";
|
|
804
|
-
modified: "modified";
|
|
805
|
-
"not-covered": "not-covered";
|
|
806
|
-
partial: "partial";
|
|
807
|
-
rejected: "rejected";
|
|
808
|
-
superseded: "superseded";
|
|
809
|
-
}>>;
|
|
810
|
-
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
811
|
-
}, z.core.$strict>>>;
|
|
812
|
-
}, z.core.$strict>;
|
|
813
|
-
export declare const BudgetTelemetrySchema: z.ZodObject<{
|
|
814
|
-
reviewCount: z.ZodDefault<z.ZodNumber>;
|
|
815
|
-
failedReviewCount: z.ZodDefault<z.ZodNumber>;
|
|
816
|
-
failedReviewAttemptsByFeatureRun: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
817
|
-
reviewExecutions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
818
|
-
assignmentId: z.ZodString;
|
|
819
|
-
featureRunId: z.ZodString;
|
|
820
|
-
attemptId: z.ZodString;
|
|
821
|
-
logicalPassId: z.ZodString;
|
|
822
|
-
featureId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
823
|
-
reviewKind: z.ZodEnum<{
|
|
824
|
-
feature: "feature";
|
|
825
|
-
final: "final";
|
|
826
|
-
}>;
|
|
827
|
-
reviewSnapshotId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
828
|
-
verdict: z.ZodEnum<{
|
|
829
|
-
failed: "failed";
|
|
830
|
-
passed: "passed";
|
|
831
|
-
}>;
|
|
832
|
-
startedAt: z.ZodString;
|
|
833
|
-
completedAt: z.ZodString;
|
|
834
|
-
terminalDisposition: z.ZodEnum<{
|
|
835
|
-
observed_unsubmitted: "observed_unsubmitted";
|
|
836
|
-
submitted: "submitted";
|
|
837
|
-
}>;
|
|
838
|
-
findings: z.ZodArray<z.ZodObject<{
|
|
839
|
-
taxonomy: z.ZodEnum<{
|
|
840
|
-
advisory: "advisory";
|
|
841
|
-
evidence_gap: "evidence_gap";
|
|
842
|
-
implementation_defect: "implementation_defect";
|
|
843
|
-
regression_coverage_gap: "regression_coverage_gap";
|
|
844
|
-
}>;
|
|
845
|
-
subject: z.ZodString;
|
|
846
|
-
requirementOrRisk: z.ZodString;
|
|
847
|
-
evidenceLocator: z.ZodString;
|
|
848
|
-
summary: z.ZodString;
|
|
849
|
-
severity: z.ZodEnum<{
|
|
850
|
-
advisory: "advisory";
|
|
851
|
-
blocking: "blocking";
|
|
852
|
-
}>;
|
|
853
|
-
fingerprint: z.ZodString;
|
|
854
|
-
}, z.core.$strict>>;
|
|
855
|
-
}, z.core.$strict>>>;
|
|
856
|
-
reviewLifecycle: z.ZodPrefault<z.ZodObject<{
|
|
857
|
-
featureAttemptCount: z.ZodDefault<z.ZodNumber>;
|
|
858
|
-
finalAttemptCount: z.ZodDefault<z.ZodNumber>;
|
|
859
|
-
passedVerdictCount: z.ZodDefault<z.ZodNumber>;
|
|
860
|
-
failedVerdictCount: z.ZodDefault<z.ZodNumber>;
|
|
861
|
-
retryConsumedCount: z.ZodDefault<z.ZodNumber>;
|
|
862
|
-
}, z.core.$strict>>;
|
|
863
|
-
observedReviewWorkers: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
864
|
-
source: z.ZodLiteral<"unavailable">;
|
|
865
|
-
reconciliationStatus: z.ZodLiteral<"unreconciled">;
|
|
866
|
-
observedExecutionCount: z.ZodNull;
|
|
867
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
868
|
-
source: z.ZodLiteral<"host_observed">;
|
|
869
|
-
reconciliationStatus: z.ZodLiteral<"reconciled">;
|
|
870
|
-
observedExecutionCount: z.ZodNumber;
|
|
871
|
-
}, z.core.$strict>], "source">>;
|
|
872
|
-
orchestration: z.ZodPrefault<z.ZodObject<{
|
|
873
|
-
passCount: z.ZodDefault<z.ZodNumber>;
|
|
874
|
-
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
875
|
-
candidatePassCount: z.ZodDefault<z.ZodNumber>;
|
|
876
|
-
verifierPassCount: z.ZodDefault<z.ZodNumber>;
|
|
877
|
-
candidateEligibleCount: z.ZodDefault<z.ZodNumber>;
|
|
878
|
-
candidateUsedDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
879
|
-
candidateSerialRequiredDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
880
|
-
skippedCandidateDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
881
|
-
latestPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
882
|
-
id: z.ZodString;
|
|
883
|
-
kind: z.ZodEnum<{
|
|
884
|
-
audit: "audit";
|
|
885
|
-
candidate: "candidate";
|
|
886
|
-
discovery: "discovery";
|
|
887
|
-
"implementation-decision": "implementation-decision";
|
|
888
|
-
review: "review";
|
|
889
|
-
validation: "validation";
|
|
890
|
-
verification: "verification";
|
|
891
|
-
}>;
|
|
892
|
-
decision: z.ZodOptional<z.ZodEnum<{
|
|
893
|
-
"candidate-exact-path": "candidate-exact-path";
|
|
894
|
-
"candidate-worktree": "candidate-worktree";
|
|
895
|
-
parallel: "parallel";
|
|
896
|
-
serial: "serial";
|
|
897
|
-
skipped: "skipped";
|
|
898
|
-
tournament: "tournament";
|
|
899
|
-
}>>;
|
|
900
|
-
decisionReason: z.ZodOptional<z.ZodString>;
|
|
901
|
-
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
902
|
-
eligible: "eligible";
|
|
903
|
-
not_eligible: "not_eligible";
|
|
904
|
-
unknown: "unknown";
|
|
905
|
-
}>>;
|
|
906
|
-
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
907
|
-
serial_required: "serial_required";
|
|
908
|
-
skipped: "skipped";
|
|
909
|
-
used: "used";
|
|
910
|
-
}>>;
|
|
911
|
-
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
912
|
-
independent_surface: "independent_surface";
|
|
913
|
-
needs_manager_judgment: "needs_manager_judgment";
|
|
914
|
-
overlapping_files: "overlapping_files";
|
|
915
|
-
shared_state: "shared_state";
|
|
916
|
-
small_slice: "small_slice";
|
|
917
|
-
validation_available: "validation_available";
|
|
918
|
-
}>>>;
|
|
919
|
-
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
920
|
-
audit: "audit";
|
|
921
|
-
"candidate-implementation": "candidate-implementation";
|
|
922
|
-
evidence: "evidence";
|
|
923
|
-
review: "review";
|
|
924
|
-
validation: "validation";
|
|
925
|
-
verifier: "verifier";
|
|
926
|
-
}>>>;
|
|
927
|
-
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
928
|
-
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
929
|
-
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
930
|
-
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
931
|
-
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
932
|
-
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
933
|
-
"exact-path": "exact-path";
|
|
934
|
-
"isolated-worktree": "isolated-worktree";
|
|
935
|
-
"manager-serial": "manager-serial";
|
|
936
|
-
mixed: "mixed";
|
|
937
|
-
none: "none";
|
|
938
|
-
}>>;
|
|
939
|
-
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
940
|
-
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
941
|
-
downgraded: "downgraded";
|
|
942
|
-
failed: "failed";
|
|
943
|
-
mixed: "mixed";
|
|
944
|
-
"not-needed": "not-needed";
|
|
945
|
-
passed: "passed";
|
|
946
|
-
pending: "pending";
|
|
947
|
-
}>>;
|
|
948
|
-
outcome: z.ZodDefault<z.ZodEnum<{
|
|
949
|
-
accepted: "accepted";
|
|
950
|
-
modified: "modified";
|
|
951
|
-
"not-covered": "not-covered";
|
|
952
|
-
partial: "partial";
|
|
953
|
-
rejected: "rejected";
|
|
954
|
-
superseded: "superseded";
|
|
955
|
-
}>>;
|
|
956
|
-
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
957
|
-
}, z.core.$strict>>>;
|
|
958
|
-
}, z.core.$strict>>;
|
|
959
|
-
}, z.core.$strict>;
|
|
960
|
-
export declare const FeatureRunSchema: z.ZodObject<{
|
|
961
|
-
id: z.ZodString;
|
|
962
|
-
featureId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
963
|
-
sequence: z.ZodNumber;
|
|
964
|
-
status: z.ZodEnum<{
|
|
965
|
-
abandoned: "abandoned";
|
|
966
|
-
active: "active";
|
|
967
|
-
blocked: "blocked";
|
|
968
|
-
completed: "completed";
|
|
969
|
-
deferred: "deferred";
|
|
970
|
-
reset: "reset";
|
|
971
|
-
}>;
|
|
972
|
-
startedAt: z.ZodString;
|
|
973
|
-
endedAt: z.ZodNullable<z.ZodString>;
|
|
974
|
-
}, z.core.$strict>;
|
|
975
|
-
export declare const ReviewAssignmentSchema: z.ZodObject<{
|
|
976
|
-
id: z.ZodString;
|
|
977
|
-
operationId: z.ZodString;
|
|
978
|
-
featureRunId: z.ZodString;
|
|
979
|
-
featureId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
980
|
-
reviewKind: z.ZodEnum<{
|
|
981
|
-
feature: "feature";
|
|
982
|
-
final: "final";
|
|
983
|
-
}>;
|
|
984
|
-
validationScope: z.ZodEnum<{
|
|
985
|
-
broad: "broad";
|
|
986
|
-
targeted: "targeted";
|
|
987
|
-
}>;
|
|
988
|
-
validationEvidenceRefs: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
989
|
-
sourceDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
990
|
-
packetDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
991
|
-
packetSummary: z.ZodString;
|
|
992
|
-
riskLenses: z.ZodArray<z.ZodString>;
|
|
993
|
-
prerequisite: z.ZodNullable<z.ZodObject<{
|
|
994
|
-
assignmentId: z.ZodString;
|
|
995
|
-
result: z.ZodObject<{
|
|
996
|
-
assignmentId: z.ZodString;
|
|
997
|
-
verdict: z.ZodEnum<{
|
|
998
|
-
failed: "failed";
|
|
999
|
-
passed: "passed";
|
|
1000
|
-
}>;
|
|
1001
|
-
findings: z.ZodArray<z.ZodObject<{
|
|
1002
|
-
taxonomy: z.ZodEnum<{
|
|
1003
|
-
advisory: "advisory";
|
|
1004
|
-
evidence_gap: "evidence_gap";
|
|
1005
|
-
implementation_defect: "implementation_defect";
|
|
1006
|
-
regression_coverage_gap: "regression_coverage_gap";
|
|
1007
|
-
}>;
|
|
1008
|
-
subject: z.ZodString;
|
|
1009
|
-
requirementOrRisk: z.ZodString;
|
|
1010
|
-
evidenceLocator: z.ZodString;
|
|
1011
|
-
summary: z.ZodString;
|
|
1012
|
-
severity: z.ZodEnum<{
|
|
1013
|
-
advisory: "advisory";
|
|
1014
|
-
blocking: "blocking";
|
|
1015
|
-
}>;
|
|
1016
|
-
}, z.core.$strict>>;
|
|
1017
|
-
completedAt: z.ZodString;
|
|
1018
|
-
terminalDisposition: z.ZodEnum<{
|
|
1019
|
-
observed_unsubmitted: "observed_unsubmitted";
|
|
1020
|
-
submitted: "submitted";
|
|
1021
|
-
}>;
|
|
1022
|
-
}, z.core.$strict>;
|
|
1023
|
-
resultDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1024
|
-
}, z.core.$strict>>;
|
|
1025
|
-
attemptId: z.ZodString;
|
|
1026
|
-
logicalPassId: z.ZodString;
|
|
1027
|
-
startedAt: z.ZodString;
|
|
1028
|
-
requiredDepth: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1029
|
-
detailed: "detailed";
|
|
1030
|
-
quick: "quick";
|
|
1031
|
-
standard: "standard";
|
|
1032
|
-
}>, z.ZodEnum<{
|
|
1033
|
-
broad: "broad";
|
|
1034
|
-
detailed: "detailed";
|
|
1035
|
-
}>]>;
|
|
1036
|
-
status: z.ZodEnum<{
|
|
1037
|
-
invalidated: "invalidated";
|
|
1038
|
-
observed_unsubmitted: "observed_unsubmitted";
|
|
1039
|
-
pending: "pending";
|
|
1040
|
-
submitted: "submitted";
|
|
1041
|
-
}>;
|
|
1042
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
1043
|
-
invalidatedAt: z.ZodNullable<z.ZodString>;
|
|
1044
|
-
invalidationReason: z.ZodNullable<z.ZodEnum<{
|
|
1045
|
-
feature_reset: "feature_reset";
|
|
1046
|
-
session_abandoned: "session_abandoned";
|
|
1047
|
-
session_deferred: "session_deferred";
|
|
1048
|
-
source_changed: "source_changed";
|
|
1049
|
-
}>>;
|
|
1050
|
-
}, z.core.$strict>;
|
|
1051
|
-
export declare const SessionSchema: z.ZodPipe<z.ZodObject<{
|
|
1052
|
-
version: z.ZodLiteral<4>;
|
|
1053
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").SessionId, string>>;
|
|
1054
|
-
goal: z.ZodString;
|
|
1055
|
-
status: z.ZodEnum<{
|
|
1056
|
-
blocked: "blocked";
|
|
1057
|
-
completed: "completed";
|
|
1058
|
-
planning: "planning";
|
|
1059
|
-
ready: "ready";
|
|
1060
|
-
running: "running";
|
|
1061
|
-
}>;
|
|
1062
|
-
approval: z.ZodEnum<{
|
|
1063
|
-
approved: "approved";
|
|
1064
|
-
pending: "pending";
|
|
1065
|
-
}>;
|
|
1066
|
-
plan: z.ZodNullable<z.ZodObject<{
|
|
1067
|
-
summary: z.ZodString;
|
|
1068
|
-
overview: z.ZodString;
|
|
1069
|
-
requirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1070
|
-
decisions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1071
|
-
finalReviewPolicy: z.ZodDefault<z.ZodEnum<{
|
|
1072
|
-
broad: "broad";
|
|
1073
|
-
detailed: "detailed";
|
|
1074
|
-
}>>;
|
|
1075
|
-
features: z.ZodArray<z.ZodObject<{
|
|
1076
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
1077
|
-
title: z.ZodString;
|
|
1078
|
-
summary: z.ZodString;
|
|
1079
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
1080
|
-
blocked: "blocked";
|
|
1081
|
-
completed: "completed";
|
|
1082
|
-
in_progress: "in_progress";
|
|
1083
|
-
pending: "pending";
|
|
1084
|
-
}>>;
|
|
1085
|
-
reviewDepth: z.ZodDefault<z.ZodEnum<{
|
|
1086
|
-
detailed: "detailed";
|
|
1087
|
-
quick: "quick";
|
|
1088
|
-
standard: "standard";
|
|
1089
|
-
}>>;
|
|
1090
|
-
targets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1091
|
-
validation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1092
|
-
dependsOn: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>>>;
|
|
1093
|
-
}, z.core.$strict>>;
|
|
1094
|
-
}, z.core.$strict>>;
|
|
1095
|
-
activeFeatureId: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>>;
|
|
1096
|
-
activeFeatureRunId: z.ZodNullable<z.ZodString>;
|
|
1097
|
-
featureRuns: z.ZodArray<z.ZodObject<{
|
|
1098
|
-
id: z.ZodString;
|
|
1099
|
-
featureId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
1100
|
-
sequence: z.ZodNumber;
|
|
1101
|
-
status: z.ZodEnum<{
|
|
1102
|
-
abandoned: "abandoned";
|
|
1103
|
-
active: "active";
|
|
1104
|
-
blocked: "blocked";
|
|
1105
|
-
completed: "completed";
|
|
1106
|
-
deferred: "deferred";
|
|
1107
|
-
reset: "reset";
|
|
1108
|
-
}>;
|
|
1109
|
-
startedAt: z.ZodString;
|
|
1110
|
-
endedAt: z.ZodNullable<z.ZodString>;
|
|
1111
|
-
}, z.core.$strict>>;
|
|
1112
|
-
reviewAssignments: z.ZodArray<z.ZodObject<{
|
|
1113
|
-
id: z.ZodString;
|
|
1114
|
-
operationId: z.ZodString;
|
|
1115
|
-
featureRunId: z.ZodString;
|
|
1116
|
-
featureId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
1117
|
-
reviewKind: z.ZodEnum<{
|
|
1118
|
-
feature: "feature";
|
|
1119
|
-
final: "final";
|
|
1120
|
-
}>;
|
|
1121
|
-
validationScope: z.ZodEnum<{
|
|
1122
|
-
broad: "broad";
|
|
1123
|
-
targeted: "targeted";
|
|
1124
|
-
}>;
|
|
1125
|
-
validationEvidenceRefs: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
1126
|
-
sourceDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1127
|
-
packetDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1128
|
-
packetSummary: z.ZodString;
|
|
1129
|
-
riskLenses: z.ZodArray<z.ZodString>;
|
|
1130
|
-
prerequisite: z.ZodNullable<z.ZodObject<{
|
|
1131
|
-
assignmentId: z.ZodString;
|
|
1132
|
-
result: z.ZodObject<{
|
|
1133
|
-
assignmentId: z.ZodString;
|
|
1134
|
-
verdict: z.ZodEnum<{
|
|
1135
|
-
failed: "failed";
|
|
1136
|
-
passed: "passed";
|
|
1137
|
-
}>;
|
|
1138
|
-
findings: z.ZodArray<z.ZodObject<{
|
|
1139
|
-
taxonomy: z.ZodEnum<{
|
|
1140
|
-
advisory: "advisory";
|
|
1141
|
-
evidence_gap: "evidence_gap";
|
|
1142
|
-
implementation_defect: "implementation_defect";
|
|
1143
|
-
regression_coverage_gap: "regression_coverage_gap";
|
|
1144
|
-
}>;
|
|
1145
|
-
subject: z.ZodString;
|
|
1146
|
-
requirementOrRisk: z.ZodString;
|
|
1147
|
-
evidenceLocator: z.ZodString;
|
|
1148
|
-
summary: z.ZodString;
|
|
1149
|
-
severity: z.ZodEnum<{
|
|
1150
|
-
advisory: "advisory";
|
|
1151
|
-
blocking: "blocking";
|
|
1152
|
-
}>;
|
|
1153
|
-
}, z.core.$strict>>;
|
|
1154
|
-
completedAt: z.ZodString;
|
|
1155
|
-
terminalDisposition: z.ZodEnum<{
|
|
1156
|
-
observed_unsubmitted: "observed_unsubmitted";
|
|
1157
|
-
submitted: "submitted";
|
|
1158
|
-
}>;
|
|
1159
|
-
}, z.core.$strict>;
|
|
1160
|
-
resultDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1161
|
-
}, z.core.$strict>>;
|
|
1162
|
-
attemptId: z.ZodString;
|
|
1163
|
-
logicalPassId: z.ZodString;
|
|
1164
|
-
startedAt: z.ZodString;
|
|
1165
|
-
requiredDepth: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1166
|
-
detailed: "detailed";
|
|
1167
|
-
quick: "quick";
|
|
1168
|
-
standard: "standard";
|
|
1169
|
-
}>, z.ZodEnum<{
|
|
1170
|
-
broad: "broad";
|
|
1171
|
-
detailed: "detailed";
|
|
1172
|
-
}>]>;
|
|
1173
|
-
status: z.ZodEnum<{
|
|
1174
|
-
invalidated: "invalidated";
|
|
1175
|
-
observed_unsubmitted: "observed_unsubmitted";
|
|
1176
|
-
pending: "pending";
|
|
1177
|
-
submitted: "submitted";
|
|
1178
|
-
}>;
|
|
1179
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
1180
|
-
invalidatedAt: z.ZodNullable<z.ZodString>;
|
|
1181
|
-
invalidationReason: z.ZodNullable<z.ZodEnum<{
|
|
1182
|
-
feature_reset: "feature_reset";
|
|
1183
|
-
session_abandoned: "session_abandoned";
|
|
1184
|
-
session_deferred: "session_deferred";
|
|
1185
|
-
source_changed: "source_changed";
|
|
1186
|
-
}>>;
|
|
1187
|
-
}, z.core.$strict>>;
|
|
1188
|
-
history: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1189
|
-
featureRunId: z.ZodString;
|
|
1190
|
-
featureId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
1191
|
-
status: z.ZodEnum<{
|
|
1192
|
-
blocked: "blocked";
|
|
1193
|
-
completed: "completed";
|
|
1194
|
-
}>;
|
|
1195
|
-
summary: z.ZodString;
|
|
1196
|
-
recordedAt: z.ZodString;
|
|
1197
|
-
artifactsChanged: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1198
|
-
path: z.ZodString;
|
|
1199
|
-
}, z.core.$strict>>>;
|
|
1200
|
-
validationScope: z.ZodEnum<{
|
|
1201
|
-
broad: "broad";
|
|
1202
|
-
targeted: "targeted";
|
|
1203
|
-
}>;
|
|
1204
|
-
validationEvidenceRefs: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
1205
|
-
reviewAssignmentIds: z.ZodArray<z.ZodString>;
|
|
1206
|
-
outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1207
|
-
kind: z.ZodLiteral<"completed">;
|
|
1208
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1209
|
-
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
1210
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1211
|
-
kind: z.ZodLiteral<"blocked">;
|
|
1212
|
-
summary: z.ZodString;
|
|
1213
|
-
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
1214
|
-
}, z.core.$strict>], "kind">;
|
|
1215
|
-
orchestrationPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1216
|
-
id: z.ZodString;
|
|
1217
|
-
kind: z.ZodEnum<{
|
|
1218
|
-
audit: "audit";
|
|
1219
|
-
candidate: "candidate";
|
|
1220
|
-
discovery: "discovery";
|
|
1221
|
-
"implementation-decision": "implementation-decision";
|
|
1222
|
-
review: "review";
|
|
1223
|
-
validation: "validation";
|
|
1224
|
-
verification: "verification";
|
|
1225
|
-
}>;
|
|
1226
|
-
decision: z.ZodOptional<z.ZodEnum<{
|
|
1227
|
-
"candidate-exact-path": "candidate-exact-path";
|
|
1228
|
-
"candidate-worktree": "candidate-worktree";
|
|
1229
|
-
parallel: "parallel";
|
|
1230
|
-
serial: "serial";
|
|
1231
|
-
skipped: "skipped";
|
|
1232
|
-
tournament: "tournament";
|
|
1233
|
-
}>>;
|
|
1234
|
-
decisionReason: z.ZodOptional<z.ZodString>;
|
|
1235
|
-
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
1236
|
-
eligible: "eligible";
|
|
1237
|
-
not_eligible: "not_eligible";
|
|
1238
|
-
unknown: "unknown";
|
|
1239
|
-
}>>;
|
|
1240
|
-
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
1241
|
-
serial_required: "serial_required";
|
|
1242
|
-
skipped: "skipped";
|
|
1243
|
-
used: "used";
|
|
1244
|
-
}>>;
|
|
1245
|
-
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1246
|
-
independent_surface: "independent_surface";
|
|
1247
|
-
needs_manager_judgment: "needs_manager_judgment";
|
|
1248
|
-
overlapping_files: "overlapping_files";
|
|
1249
|
-
shared_state: "shared_state";
|
|
1250
|
-
small_slice: "small_slice";
|
|
1251
|
-
validation_available: "validation_available";
|
|
1252
|
-
}>>>;
|
|
1253
|
-
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1254
|
-
audit: "audit";
|
|
1255
|
-
"candidate-implementation": "candidate-implementation";
|
|
1256
|
-
evidence: "evidence";
|
|
1257
|
-
review: "review";
|
|
1258
|
-
validation: "validation";
|
|
1259
|
-
verifier: "verifier";
|
|
1260
|
-
}>>>;
|
|
1261
|
-
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
1262
|
-
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
1263
|
-
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
1264
|
-
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1265
|
-
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1266
|
-
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
1267
|
-
"exact-path": "exact-path";
|
|
1268
|
-
"isolated-worktree": "isolated-worktree";
|
|
1269
|
-
"manager-serial": "manager-serial";
|
|
1270
|
-
mixed: "mixed";
|
|
1271
|
-
none: "none";
|
|
1272
|
-
}>>;
|
|
1273
|
-
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1274
|
-
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
1275
|
-
downgraded: "downgraded";
|
|
1276
|
-
failed: "failed";
|
|
1277
|
-
mixed: "mixed";
|
|
1278
|
-
"not-needed": "not-needed";
|
|
1279
|
-
passed: "passed";
|
|
1280
|
-
pending: "pending";
|
|
1281
|
-
}>>;
|
|
1282
|
-
outcome: z.ZodDefault<z.ZodEnum<{
|
|
1283
|
-
accepted: "accepted";
|
|
1284
|
-
modified: "modified";
|
|
1285
|
-
"not-covered": "not-covered";
|
|
1286
|
-
partial: "partial";
|
|
1287
|
-
rejected: "rejected";
|
|
1288
|
-
superseded: "superseded";
|
|
1289
|
-
}>>;
|
|
1290
|
-
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
1291
|
-
}, z.core.$strict>>>;
|
|
1292
|
-
}, z.core.$strict>>>;
|
|
1293
|
-
budget: z.ZodPrefault<z.ZodObject<{
|
|
1294
|
-
reviewCount: z.ZodDefault<z.ZodNumber>;
|
|
1295
|
-
failedReviewCount: z.ZodDefault<z.ZodNumber>;
|
|
1296
|
-
failedReviewAttemptsByFeatureRun: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1297
|
-
reviewExecutions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1298
|
-
assignmentId: z.ZodString;
|
|
1299
|
-
featureRunId: z.ZodString;
|
|
1300
|
-
attemptId: z.ZodString;
|
|
1301
|
-
logicalPassId: z.ZodString;
|
|
1302
|
-
featureId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../domain/session.js").FeatureId, string>>;
|
|
1303
|
-
reviewKind: z.ZodEnum<{
|
|
1304
|
-
feature: "feature";
|
|
1305
|
-
final: "final";
|
|
1306
|
-
}>;
|
|
1307
|
-
reviewSnapshotId: z.ZodPipe<z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
1308
|
-
verdict: z.ZodEnum<{
|
|
1309
|
-
failed: "failed";
|
|
1310
|
-
passed: "passed";
|
|
1311
|
-
}>;
|
|
1312
|
-
startedAt: z.ZodString;
|
|
1313
|
-
completedAt: z.ZodString;
|
|
1314
|
-
terminalDisposition: z.ZodEnum<{
|
|
1315
|
-
observed_unsubmitted: "observed_unsubmitted";
|
|
1316
|
-
submitted: "submitted";
|
|
1317
|
-
}>;
|
|
1318
|
-
findings: z.ZodArray<z.ZodObject<{
|
|
1319
|
-
taxonomy: z.ZodEnum<{
|
|
1320
|
-
advisory: "advisory";
|
|
1321
|
-
evidence_gap: "evidence_gap";
|
|
1322
|
-
implementation_defect: "implementation_defect";
|
|
1323
|
-
regression_coverage_gap: "regression_coverage_gap";
|
|
1324
|
-
}>;
|
|
1325
|
-
subject: z.ZodString;
|
|
1326
|
-
requirementOrRisk: z.ZodString;
|
|
1327
|
-
evidenceLocator: z.ZodString;
|
|
1328
|
-
summary: z.ZodString;
|
|
1329
|
-
severity: z.ZodEnum<{
|
|
1330
|
-
advisory: "advisory";
|
|
1331
|
-
blocking: "blocking";
|
|
1332
|
-
}>;
|
|
1333
|
-
fingerprint: z.ZodString;
|
|
1334
|
-
}, z.core.$strict>>;
|
|
1335
|
-
}, z.core.$strict>>>;
|
|
1336
|
-
reviewLifecycle: z.ZodPrefault<z.ZodObject<{
|
|
1337
|
-
featureAttemptCount: z.ZodDefault<z.ZodNumber>;
|
|
1338
|
-
finalAttemptCount: z.ZodDefault<z.ZodNumber>;
|
|
1339
|
-
passedVerdictCount: z.ZodDefault<z.ZodNumber>;
|
|
1340
|
-
failedVerdictCount: z.ZodDefault<z.ZodNumber>;
|
|
1341
|
-
retryConsumedCount: z.ZodDefault<z.ZodNumber>;
|
|
1342
|
-
}, z.core.$strict>>;
|
|
1343
|
-
observedReviewWorkers: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1344
|
-
source: z.ZodLiteral<"unavailable">;
|
|
1345
|
-
reconciliationStatus: z.ZodLiteral<"unreconciled">;
|
|
1346
|
-
observedExecutionCount: z.ZodNull;
|
|
1347
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1348
|
-
source: z.ZodLiteral<"host_observed">;
|
|
1349
|
-
reconciliationStatus: z.ZodLiteral<"reconciled">;
|
|
1350
|
-
observedExecutionCount: z.ZodNumber;
|
|
1351
|
-
}, z.core.$strict>], "source">>;
|
|
1352
|
-
orchestration: z.ZodPrefault<z.ZodObject<{
|
|
1353
|
-
passCount: z.ZodDefault<z.ZodNumber>;
|
|
1354
|
-
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
1355
|
-
candidatePassCount: z.ZodDefault<z.ZodNumber>;
|
|
1356
|
-
verifierPassCount: z.ZodDefault<z.ZodNumber>;
|
|
1357
|
-
candidateEligibleCount: z.ZodDefault<z.ZodNumber>;
|
|
1358
|
-
candidateUsedDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
1359
|
-
candidateSerialRequiredDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
1360
|
-
skippedCandidateDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
1361
|
-
latestPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1362
|
-
id: z.ZodString;
|
|
1363
|
-
kind: z.ZodEnum<{
|
|
1364
|
-
audit: "audit";
|
|
1365
|
-
candidate: "candidate";
|
|
1366
|
-
discovery: "discovery";
|
|
1367
|
-
"implementation-decision": "implementation-decision";
|
|
1368
|
-
review: "review";
|
|
1369
|
-
validation: "validation";
|
|
1370
|
-
verification: "verification";
|
|
1371
|
-
}>;
|
|
1372
|
-
decision: z.ZodOptional<z.ZodEnum<{
|
|
1373
|
-
"candidate-exact-path": "candidate-exact-path";
|
|
1374
|
-
"candidate-worktree": "candidate-worktree";
|
|
1375
|
-
parallel: "parallel";
|
|
1376
|
-
serial: "serial";
|
|
1377
|
-
skipped: "skipped";
|
|
1378
|
-
tournament: "tournament";
|
|
1379
|
-
}>>;
|
|
1380
|
-
decisionReason: z.ZodOptional<z.ZodString>;
|
|
1381
|
-
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
1382
|
-
eligible: "eligible";
|
|
1383
|
-
not_eligible: "not_eligible";
|
|
1384
|
-
unknown: "unknown";
|
|
1385
|
-
}>>;
|
|
1386
|
-
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
1387
|
-
serial_required: "serial_required";
|
|
1388
|
-
skipped: "skipped";
|
|
1389
|
-
used: "used";
|
|
1390
|
-
}>>;
|
|
1391
|
-
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1392
|
-
independent_surface: "independent_surface";
|
|
1393
|
-
needs_manager_judgment: "needs_manager_judgment";
|
|
1394
|
-
overlapping_files: "overlapping_files";
|
|
1395
|
-
shared_state: "shared_state";
|
|
1396
|
-
small_slice: "small_slice";
|
|
1397
|
-
validation_available: "validation_available";
|
|
1398
|
-
}>>>;
|
|
1399
|
-
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1400
|
-
audit: "audit";
|
|
1401
|
-
"candidate-implementation": "candidate-implementation";
|
|
1402
|
-
evidence: "evidence";
|
|
1403
|
-
review: "review";
|
|
1404
|
-
validation: "validation";
|
|
1405
|
-
verifier: "verifier";
|
|
1406
|
-
}>>>;
|
|
1407
|
-
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
1408
|
-
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
1409
|
-
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
1410
|
-
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1411
|
-
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1412
|
-
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
1413
|
-
"exact-path": "exact-path";
|
|
1414
|
-
"isolated-worktree": "isolated-worktree";
|
|
1415
|
-
"manager-serial": "manager-serial";
|
|
1416
|
-
mixed: "mixed";
|
|
1417
|
-
none: "none";
|
|
1418
|
-
}>>;
|
|
1419
|
-
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1420
|
-
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
1421
|
-
downgraded: "downgraded";
|
|
1422
|
-
failed: "failed";
|
|
1423
|
-
mixed: "mixed";
|
|
1424
|
-
"not-needed": "not-needed";
|
|
1425
|
-
passed: "passed";
|
|
1426
|
-
pending: "pending";
|
|
1427
|
-
}>>;
|
|
1428
|
-
outcome: z.ZodDefault<z.ZodEnum<{
|
|
1429
|
-
accepted: "accepted";
|
|
1430
|
-
modified: "modified";
|
|
1431
|
-
"not-covered": "not-covered";
|
|
1432
|
-
partial: "partial";
|
|
1433
|
-
rejected: "rejected";
|
|
1434
|
-
superseded: "superseded";
|
|
1435
|
-
}>>;
|
|
1436
|
-
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
1437
|
-
}, z.core.$strict>>>;
|
|
1438
|
-
}, z.core.$strict>>;
|
|
1439
|
-
}, z.core.$strict>>;
|
|
1440
|
-
causal: z.ZodObject<{
|
|
1441
|
-
revision: z.ZodNumber;
|
|
1442
|
-
genesisSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1443
|
-
snapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1444
|
-
mutations: z.ZodArray<z.ZodObject<{
|
|
1445
|
-
operationId: z.ZodString;
|
|
1446
|
-
operationKind: z.ZodEnum<{
|
|
1447
|
-
feature_complete: "feature_complete";
|
|
1448
|
-
feature_reset: "feature_reset";
|
|
1449
|
-
plan_approve: "plan_approve";
|
|
1450
|
-
plan_save: "plan_save";
|
|
1451
|
-
review_start: "review_start";
|
|
1452
|
-
run_start: "run_start";
|
|
1453
|
-
session_close: "session_close";
|
|
1454
|
-
}>;
|
|
1455
|
-
requestDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1456
|
-
featureRunId: z.ZodNullable<z.ZodString>;
|
|
1457
|
-
priorMutationDigest: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
1458
|
-
mutationDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1459
|
-
priorRevision: z.ZodNumber;
|
|
1460
|
-
revision: z.ZodNumber;
|
|
1461
|
-
priorSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1462
|
-
currentSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1463
|
-
changedEntity: z.ZodObject<{
|
|
1464
|
-
kind: z.ZodEnum<{
|
|
1465
|
-
closure: "closure";
|
|
1466
|
-
evidence: "evidence";
|
|
1467
|
-
feature: "feature";
|
|
1468
|
-
plan: "plan";
|
|
1469
|
-
review: "review";
|
|
1470
|
-
session: "session";
|
|
1471
|
-
}>;
|
|
1472
|
-
id: z.ZodString;
|
|
1473
|
-
}, z.core.$strict>;
|
|
1474
|
-
changedFields: z.ZodArray<z.ZodString>;
|
|
1475
|
-
blockerDelta: z.ZodObject<{
|
|
1476
|
-
added: z.ZodArray<z.ZodString>;
|
|
1477
|
-
removed: z.ZodArray<z.ZodString>;
|
|
1478
|
-
}, z.core.$strict>;
|
|
1479
|
-
evidenceRefs: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>>;
|
|
1480
|
-
recordedAt: z.ZodString;
|
|
1481
|
-
}, z.core.$strict>>;
|
|
1482
|
-
evidence: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1483
|
-
evidenceId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1484
|
-
snapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1485
|
-
sourceDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1486
|
-
featureRunId: z.ZodString;
|
|
1487
|
-
capturedAtRevision: z.ZodNumber;
|
|
1488
|
-
capturedAtSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1489
|
-
startedAt: z.ZodString;
|
|
1490
|
-
completedAt: z.ZodString;
|
|
1491
|
-
commandClass: z.ZodEnum<{
|
|
1492
|
-
build: "build";
|
|
1493
|
-
format: "format";
|
|
1494
|
-
lint: "lint";
|
|
1495
|
-
other: "other";
|
|
1496
|
-
smoke: "smoke";
|
|
1497
|
-
test: "test";
|
|
1498
|
-
typecheck: "typecheck";
|
|
1499
|
-
}>;
|
|
1500
|
-
exitCode: z.ZodNumber;
|
|
1501
|
-
outputDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1502
|
-
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
1503
|
-
kind: z.ZodLiteral<"restricted_evidence_v1">;
|
|
1504
|
-
digest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1505
|
-
byteLength: z.ZodNumber;
|
|
1506
|
-
}, z.core.$strict>>;
|
|
1507
|
-
environmentKeys: z.ZodArray<z.ZodString>;
|
|
1508
|
-
kind: z.ZodLiteral<"validation">;
|
|
1509
|
-
commandDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1510
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1511
|
-
evidenceId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1512
|
-
snapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1513
|
-
sourceDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1514
|
-
featureRunId: z.ZodString;
|
|
1515
|
-
capturedAtRevision: z.ZodNumber;
|
|
1516
|
-
capturedAtSnapshotId: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1517
|
-
startedAt: z.ZodString;
|
|
1518
|
-
completedAt: z.ZodString;
|
|
1519
|
-
kind: z.ZodLiteral<"review">;
|
|
1520
|
-
attemptId: z.ZodString;
|
|
1521
|
-
assignmentId: z.ZodString;
|
|
1522
|
-
packetDigest: z.ZodPipe<z.ZodString, z.ZodTransform<`sha256:${string}`, string>>;
|
|
1523
|
-
}, z.core.$strict>], "kind">>;
|
|
1524
|
-
}, z.core.$strict>;
|
|
1525
|
-
closure: z.ZodNullable<z.ZodObject<{
|
|
1526
|
-
kind: z.ZodEnum<{
|
|
1527
|
-
abandoned: "abandoned";
|
|
1528
|
-
completed: "completed";
|
|
1529
|
-
deferred: "deferred";
|
|
1530
|
-
}>;
|
|
1531
|
-
summary: z.ZodString;
|
|
1532
|
-
recordedAt: z.ZodString;
|
|
1533
|
-
retryOperationId: z.ZodString;
|
|
1534
|
-
}, z.core.$strict>>;
|
|
1535
|
-
lastError: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1536
|
-
tool: z.ZodString;
|
|
1537
|
-
summary: z.ZodString;
|
|
1538
|
-
recovery: z.ZodOptional<z.ZodString>;
|
|
1539
|
-
recordedAt: z.ZodString;
|
|
1540
|
-
}, z.core.$strict>>>;
|
|
1541
|
-
timestamps: z.ZodObject<{
|
|
1542
|
-
createdAt: z.ZodString;
|
|
1543
|
-
updatedAt: z.ZodString;
|
|
1544
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
1545
|
-
}, z.core.$strict>;
|
|
1546
|
-
}, z.core.$strict>, z.ZodTransform<Session, {
|
|
1547
|
-
version: 4;
|
|
1548
|
-
id: import("../domain/session.js").SessionId;
|
|
1549
|
-
goal: string;
|
|
1550
|
-
status: "blocked" | "completed" | "planning" | "ready" | "running";
|
|
1551
|
-
approval: "approved" | "pending";
|
|
1552
|
-
plan: {
|
|
1553
|
-
summary: string;
|
|
1554
|
-
overview: string;
|
|
1555
|
-
requirements: string[];
|
|
1556
|
-
decisions: string[];
|
|
1557
|
-
finalReviewPolicy: "broad" | "detailed";
|
|
1558
|
-
features: {
|
|
1559
|
-
id: import("../domain/session.js").FeatureId;
|
|
1560
|
-
title: string;
|
|
1561
|
-
summary: string;
|
|
1562
|
-
status: "blocked" | "completed" | "in_progress" | "pending";
|
|
1563
|
-
reviewDepth: "detailed" | "quick" | "standard";
|
|
1564
|
-
targets: string[];
|
|
1565
|
-
validation: string[];
|
|
1566
|
-
dependsOn: import("../domain/session.js").FeatureId[];
|
|
1567
|
-
}[];
|
|
1568
|
-
} | null;
|
|
1569
|
-
activeFeatureId: import("../domain/session.js").FeatureId | null;
|
|
1570
|
-
activeFeatureRunId: string | null;
|
|
1571
|
-
featureRuns: {
|
|
1572
|
-
id: string;
|
|
1573
|
-
featureId: import("../domain/session.js").FeatureId;
|
|
1574
|
-
sequence: number;
|
|
1575
|
-
status: "abandoned" | "active" | "blocked" | "completed" | "deferred" | "reset";
|
|
1576
|
-
startedAt: string;
|
|
1577
|
-
endedAt: string | null;
|
|
1578
|
-
}[];
|
|
1579
|
-
reviewAssignments: {
|
|
1580
|
-
id: string;
|
|
1581
|
-
operationId: string;
|
|
1582
|
-
featureRunId: string;
|
|
1583
|
-
featureId: import("../domain/session.js").FeatureId;
|
|
1584
|
-
reviewKind: "feature" | "final";
|
|
1585
|
-
validationScope: "broad" | "targeted";
|
|
1586
|
-
validationEvidenceRefs: `sha256:${string}`[];
|
|
1587
|
-
sourceDigest: `sha256:${string}`;
|
|
1588
|
-
packetDigest: `sha256:${string}`;
|
|
1589
|
-
packetSummary: string;
|
|
1590
|
-
riskLenses: string[];
|
|
1591
|
-
prerequisite: {
|
|
1592
|
-
assignmentId: string;
|
|
1593
|
-
result: {
|
|
1594
|
-
assignmentId: string;
|
|
1595
|
-
verdict: "failed" | "passed";
|
|
1596
|
-
findings: {
|
|
1597
|
-
taxonomy: "advisory" | "evidence_gap" | "implementation_defect" | "regression_coverage_gap";
|
|
1598
|
-
subject: string;
|
|
1599
|
-
requirementOrRisk: string;
|
|
1600
|
-
evidenceLocator: string;
|
|
1601
|
-
summary: string;
|
|
1602
|
-
severity: "advisory" | "blocking";
|
|
1603
|
-
}[];
|
|
1604
|
-
completedAt: string;
|
|
1605
|
-
terminalDisposition: "observed_unsubmitted" | "submitted";
|
|
1606
|
-
};
|
|
1607
|
-
resultDigest: `sha256:${string}`;
|
|
1608
|
-
} | null;
|
|
1609
|
-
attemptId: string;
|
|
1610
|
-
logicalPassId: string;
|
|
1611
|
-
startedAt: string;
|
|
1612
|
-
requiredDepth: "broad" | "detailed" | "quick" | "standard";
|
|
1613
|
-
status: "invalidated" | "observed_unsubmitted" | "pending" | "submitted";
|
|
1614
|
-
completedAt: string | null;
|
|
1615
|
-
invalidatedAt: string | null;
|
|
1616
|
-
invalidationReason: "feature_reset" | "session_abandoned" | "session_deferred" | "source_changed" | null;
|
|
1617
|
-
}[];
|
|
1618
|
-
history: {
|
|
1619
|
-
featureRunId: string;
|
|
1620
|
-
featureId: import("../domain/session.js").FeatureId;
|
|
1621
|
-
status: "blocked" | "completed";
|
|
1622
|
-
summary: string;
|
|
1623
|
-
recordedAt: string;
|
|
1624
|
-
artifactsChanged: {
|
|
1625
|
-
path: string;
|
|
1626
|
-
}[];
|
|
1627
|
-
validationScope: "broad" | "targeted";
|
|
1628
|
-
validationEvidenceRefs: `sha256:${string}`[];
|
|
1629
|
-
reviewAssignmentIds: string[];
|
|
1630
|
-
outcome: {
|
|
1631
|
-
kind: "completed";
|
|
1632
|
-
summary?: string | undefined;
|
|
1633
|
-
resolutionHint?: string | undefined;
|
|
1634
|
-
} | {
|
|
1635
|
-
kind: "blocked";
|
|
1636
|
-
summary: string;
|
|
1637
|
-
resolutionHint?: string | undefined;
|
|
1638
|
-
};
|
|
1639
|
-
orchestrationPasses: {
|
|
1640
|
-
id: string;
|
|
1641
|
-
kind: "audit" | "candidate" | "discovery" | "implementation-decision" | "review" | "validation" | "verification";
|
|
1642
|
-
decision?: "candidate-exact-path" | "candidate-worktree" | "parallel" | "serial" | "skipped" | "tournament" | undefined;
|
|
1643
|
-
decisionReason?: string | undefined;
|
|
1644
|
-
candidateEligibility: "eligible" | "not_eligible" | "unknown";
|
|
1645
|
-
candidateDecision?: "serial_required" | "skipped" | "used" | undefined;
|
|
1646
|
-
decisionFactors: ("independent_surface" | "needs_manager_judgment" | "overlapping_files" | "shared_state" | "small_slice" | "validation_available")[];
|
|
1647
|
-
modes: ("audit" | "candidate-implementation" | "evidence" | "review" | "validation" | "verifier")[];
|
|
1648
|
-
workerCount: number;
|
|
1649
|
-
candidateWorkerCount: number;
|
|
1650
|
-
verifierWorkerCount: number;
|
|
1651
|
-
sliceIds: string[];
|
|
1652
|
-
dependsOn: string[];
|
|
1653
|
-
writeScope: "exact-path" | "isolated-worktree" | "manager-serial" | "mixed" | "none";
|
|
1654
|
-
handoffRefs: string[];
|
|
1655
|
-
verificationStatus: "downgraded" | "failed" | "mixed" | "not-needed" | "passed" | "pending";
|
|
1656
|
-
outcome: "accepted" | "modified" | "not-covered" | "partial" | "rejected" | "superseded";
|
|
1657
|
-
synthesisRef?: string | undefined;
|
|
1658
|
-
}[];
|
|
1659
|
-
}[];
|
|
1660
|
-
budget: {
|
|
1661
|
-
reviewCount: number;
|
|
1662
|
-
failedReviewCount: number;
|
|
1663
|
-
failedReviewAttemptsByFeatureRun: Record<string, number>;
|
|
1664
|
-
reviewExecutions: {
|
|
1665
|
-
assignmentId: string;
|
|
1666
|
-
featureRunId: string;
|
|
1667
|
-
attemptId: string;
|
|
1668
|
-
logicalPassId: string;
|
|
1669
|
-
featureId: import("../domain/session.js").FeatureId;
|
|
1670
|
-
reviewKind: "feature" | "final";
|
|
1671
|
-
reviewSnapshotId: `sha256:${string}`;
|
|
1672
|
-
verdict: "failed" | "passed";
|
|
1673
|
-
startedAt: string;
|
|
1674
|
-
completedAt: string;
|
|
1675
|
-
terminalDisposition: "observed_unsubmitted" | "submitted";
|
|
1676
|
-
findings: {
|
|
1677
|
-
taxonomy: "advisory" | "evidence_gap" | "implementation_defect" | "regression_coverage_gap";
|
|
1678
|
-
subject: string;
|
|
1679
|
-
requirementOrRisk: string;
|
|
1680
|
-
evidenceLocator: string;
|
|
1681
|
-
summary: string;
|
|
1682
|
-
severity: "advisory" | "blocking";
|
|
1683
|
-
fingerprint: string;
|
|
1684
|
-
}[];
|
|
1685
|
-
}[];
|
|
1686
|
-
reviewLifecycle: {
|
|
1687
|
-
featureAttemptCount: number;
|
|
1688
|
-
finalAttemptCount: number;
|
|
1689
|
-
passedVerdictCount: number;
|
|
1690
|
-
failedVerdictCount: number;
|
|
1691
|
-
retryConsumedCount: number;
|
|
1692
|
-
};
|
|
1693
|
-
observedReviewWorkers: {
|
|
1694
|
-
source: "unavailable";
|
|
1695
|
-
reconciliationStatus: "unreconciled";
|
|
1696
|
-
observedExecutionCount: null;
|
|
1697
|
-
} | {
|
|
1698
|
-
source: "host_observed";
|
|
1699
|
-
reconciliationStatus: "reconciled";
|
|
1700
|
-
observedExecutionCount: number;
|
|
1701
|
-
};
|
|
1702
|
-
orchestration: {
|
|
1703
|
-
passCount: number;
|
|
1704
|
-
workerCount: number;
|
|
1705
|
-
candidatePassCount: number;
|
|
1706
|
-
verifierPassCount: number;
|
|
1707
|
-
candidateEligibleCount: number;
|
|
1708
|
-
candidateUsedDecisionCount: number;
|
|
1709
|
-
candidateSerialRequiredDecisionCount: number;
|
|
1710
|
-
skippedCandidateDecisionCount: number;
|
|
1711
|
-
latestPasses: {
|
|
1712
|
-
id: string;
|
|
1713
|
-
kind: "audit" | "candidate" | "discovery" | "implementation-decision" | "review" | "validation" | "verification";
|
|
1714
|
-
decision?: "candidate-exact-path" | "candidate-worktree" | "parallel" | "serial" | "skipped" | "tournament" | undefined;
|
|
1715
|
-
decisionReason?: string | undefined;
|
|
1716
|
-
candidateEligibility: "eligible" | "not_eligible" | "unknown";
|
|
1717
|
-
candidateDecision?: "serial_required" | "skipped" | "used" | undefined;
|
|
1718
|
-
decisionFactors: ("independent_surface" | "needs_manager_judgment" | "overlapping_files" | "shared_state" | "small_slice" | "validation_available")[];
|
|
1719
|
-
modes: ("audit" | "candidate-implementation" | "evidence" | "review" | "validation" | "verifier")[];
|
|
1720
|
-
workerCount: number;
|
|
1721
|
-
candidateWorkerCount: number;
|
|
1722
|
-
verifierWorkerCount: number;
|
|
1723
|
-
sliceIds: string[];
|
|
1724
|
-
dependsOn: string[];
|
|
1725
|
-
writeScope: "exact-path" | "isolated-worktree" | "manager-serial" | "mixed" | "none";
|
|
1726
|
-
handoffRefs: string[];
|
|
1727
|
-
verificationStatus: "downgraded" | "failed" | "mixed" | "not-needed" | "passed" | "pending";
|
|
1728
|
-
outcome: "accepted" | "modified" | "not-covered" | "partial" | "rejected" | "superseded";
|
|
1729
|
-
synthesisRef?: string | undefined;
|
|
1730
|
-
}[];
|
|
1731
|
-
};
|
|
1732
|
-
};
|
|
1733
|
-
causal: {
|
|
1734
|
-
revision: number;
|
|
1735
|
-
genesisSnapshotId: `sha256:${string}`;
|
|
1736
|
-
snapshotId: `sha256:${string}`;
|
|
1737
|
-
mutations: {
|
|
1738
|
-
operationId: string;
|
|
1739
|
-
operationKind: "feature_complete" | "feature_reset" | "plan_approve" | "plan_save" | "review_start" | "run_start" | "session_close";
|
|
1740
|
-
requestDigest: `sha256:${string}`;
|
|
1741
|
-
featureRunId: string | null;
|
|
1742
|
-
priorMutationDigest: `sha256:${string}` | null;
|
|
1743
|
-
mutationDigest: `sha256:${string}`;
|
|
1744
|
-
priorRevision: number;
|
|
1745
|
-
revision: number;
|
|
1746
|
-
priorSnapshotId: `sha256:${string}`;
|
|
1747
|
-
currentSnapshotId: `sha256:${string}`;
|
|
1748
|
-
changedEntity: {
|
|
1749
|
-
kind: "closure" | "evidence" | "feature" | "plan" | "review" | "session";
|
|
1750
|
-
id: string;
|
|
1751
|
-
};
|
|
1752
|
-
changedFields: string[];
|
|
1753
|
-
blockerDelta: {
|
|
1754
|
-
added: string[];
|
|
1755
|
-
removed: string[];
|
|
1756
|
-
};
|
|
1757
|
-
evidenceRefs: `sha256:${string}`[];
|
|
1758
|
-
recordedAt: string;
|
|
1759
|
-
}[];
|
|
1760
|
-
evidence: ({
|
|
1761
|
-
evidenceId: `sha256:${string}`;
|
|
1762
|
-
snapshotId: `sha256:${string}`;
|
|
1763
|
-
sourceDigest: `sha256:${string}`;
|
|
1764
|
-
featureRunId: string;
|
|
1765
|
-
capturedAtRevision: number;
|
|
1766
|
-
capturedAtSnapshotId: `sha256:${string}`;
|
|
1767
|
-
startedAt: string;
|
|
1768
|
-
completedAt: string;
|
|
1769
|
-
commandClass: "build" | "format" | "lint" | "other" | "smoke" | "test" | "typecheck";
|
|
1770
|
-
exitCode: number;
|
|
1771
|
-
outputDigest: `sha256:${string}`;
|
|
1772
|
-
artifactRef?: {
|
|
1773
|
-
kind: "restricted_evidence_v1";
|
|
1774
|
-
digest: `sha256:${string}`;
|
|
1775
|
-
byteLength: number;
|
|
1776
|
-
} | undefined;
|
|
1777
|
-
environmentKeys: string[];
|
|
1778
|
-
kind: "validation";
|
|
1779
|
-
commandDigest: `sha256:${string}`;
|
|
1780
|
-
} | {
|
|
1781
|
-
evidenceId: `sha256:${string}`;
|
|
1782
|
-
snapshotId: `sha256:${string}`;
|
|
1783
|
-
sourceDigest: `sha256:${string}`;
|
|
1784
|
-
featureRunId: string;
|
|
1785
|
-
capturedAtRevision: number;
|
|
1786
|
-
capturedAtSnapshotId: `sha256:${string}`;
|
|
1787
|
-
startedAt: string;
|
|
1788
|
-
completedAt: string;
|
|
1789
|
-
kind: "review";
|
|
1790
|
-
attemptId: string;
|
|
1791
|
-
assignmentId: string;
|
|
1792
|
-
packetDigest: `sha256:${string}`;
|
|
1793
|
-
})[];
|
|
1794
|
-
};
|
|
1795
|
-
closure: {
|
|
1796
|
-
kind: "abandoned" | "completed" | "deferred";
|
|
1797
|
-
summary: string;
|
|
1798
|
-
recordedAt: string;
|
|
1799
|
-
retryOperationId: string;
|
|
1800
|
-
} | null;
|
|
1801
|
-
lastError: {
|
|
1802
|
-
tool: string;
|
|
1803
|
-
summary: string;
|
|
1804
|
-
recovery?: string | undefined;
|
|
1805
|
-
recordedAt: string;
|
|
1806
|
-
} | null;
|
|
1807
|
-
timestamps: {
|
|
1808
|
-
createdAt: string;
|
|
1809
|
-
updatedAt: string;
|
|
1810
|
-
completedAt: string | null;
|
|
1811
|
-
};
|
|
1812
|
-
}>>;
|
|
1813
|
-
export type { Artifact, BoundReviewPrerequisite, BudgetTelemetry, CausalMutationRecord, CausalState, EvidenceId, EvidenceRecord, ExecutionHistoryEntry, Feature, FeatureReviewDepth, FeatureRun, FeatureRunId, ObservedReviewWorkerLedger, OrchestrationPassRecord, OrchestrationTelemetry, Plan, PlanInput, ReviewAssignment, ReviewAssignmentId, ReviewAssignmentResultInput, ReviewExecution, ReviewExecutionFinding, ReviewExecutionFindingInput, ReviewExecutionInput, ReviewFindingTaxonomy, ReviewLifecycleTelemetry, Session, SnapshotId, } from "../domain/session.js";
|