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.
Files changed (46) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +6 -5
  3. package/dist/cli.js +10 -1
  4. package/dist/cli.js.map +3 -3
  5. package/dist/index.js +1198 -514
  6. package/dist/index.js.map +15 -15
  7. package/package.json +12 -5
  8. package/dist/application/errors.d.ts +0 -10
  9. package/dist/application/flow-service.d.ts +0 -311
  10. package/dist/application/ports/evidence-artifact-store.d.ts +0 -28
  11. package/dist/application/ports/session-repository.d.ts +0 -19
  12. package/dist/application/ports/source-identity.d.ts +0 -61
  13. package/dist/application/replay/canonical-json.d.ts +0 -7
  14. package/dist/application/replay/contract.d.ts +0 -2130
  15. package/dist/application/replay/engine.d.ts +0 -101
  16. package/dist/application/replay/index.d.ts +0 -7
  17. package/dist/application/replay/privacy.d.ts +0 -14
  18. package/dist/application/schema.d.ts +0 -1813
  19. package/dist/cli.d.ts +0 -1
  20. package/dist/config-shared.d.ts +0 -287
  21. package/dist/config.d.ts +0 -1
  22. package/dist/distribution/legacy-cleanup.d.ts +0 -25
  23. package/dist/domain/feature-id.d.ts +0 -3
  24. package/dist/domain/limits.d.ts +0 -4
  25. package/dist/domain/orchestration-policy.d.ts +0 -27
  26. package/dist/domain/session-invariants.d.ts +0 -8
  27. package/dist/domain/session.d.ts +0 -356
  28. package/dist/domain/transitions.d.ts +0 -275
  29. package/dist/domain/validation-command.d.ts +0 -8
  30. package/dist/guidance/catalog.d.ts +0 -18
  31. package/dist/guidance/ids.d.ts +0 -4
  32. package/dist/infrastructure/fs/evidence-artifact-store.d.ts +0 -5
  33. package/dist/infrastructure/fs/session-repository.d.ts +0 -2
  34. package/dist/infrastructure/fs/source-identity.d.ts +0 -26
  35. package/dist/infrastructure/fs/strict-json-object.d.ts +0 -9
  36. package/dist/infrastructure/fs/workspace-flow-service.d.ts +0 -10
  37. package/dist/infrastructure/fs/workspace.d.ts +0 -62
  38. package/dist/infrastructure/system/transition-environment.d.ts +0 -2
  39. package/dist/platform/opencode/config.d.ts +0 -2
  40. package/dist/platform/opencode/logging.d.ts +0 -3
  41. package/dist/platform/opencode/tools.d.ts +0 -4
  42. package/dist/prompt-baseline-fixtures.d.ts +0 -20
  43. package/dist/prompt-model-evaluation.d.ts +0 -88
  44. package/dist/prompt-quality.d.ts +0 -80
  45. package/dist/prompt-surfaces.d.ts +0 -28
  46. package/dist/version.d.ts +0 -1
@@ -1,2130 +0,0 @@
1
- import { z } from "zod";
2
- export declare const REPLAY_SCENARIO_IDS: readonly ["active_final_feature_awaiting_review", "contradictory_feature_final_verdicts", "failed_to_passed_retry", "unsubmitted_review_failure", "malformed_optional_telemetry", "empty_or_malformed_handoff", "stale_validation", "unchanged_finding_retry", "crash_replay_around_mutation"];
3
- export declare const ReplayScenarioIdSchema: z.ZodEnum<{
4
- active_final_feature_awaiting_review: "active_final_feature_awaiting_review";
5
- contradictory_feature_final_verdicts: "contradictory_feature_final_verdicts";
6
- crash_replay_around_mutation: "crash_replay_around_mutation";
7
- empty_or_malformed_handoff: "empty_or_malformed_handoff";
8
- failed_to_passed_retry: "failed_to_passed_retry";
9
- malformed_optional_telemetry: "malformed_optional_telemetry";
10
- stale_validation: "stale_validation";
11
- unchanged_finding_retry: "unchanged_finding_retry";
12
- unsubmitted_review_failure: "unsubmitted_review_failure";
13
- }>;
14
- export type ReplayScenarioId = z.infer<typeof ReplayScenarioIdSchema>;
15
- export declare const ReplayVariantSchema: z.ZodEnum<{
16
- A: "A";
17
- B: "B";
18
- C: "C";
19
- D: "D";
20
- }>;
21
- export type ReplayVariant = z.infer<typeof ReplayVariantSchema>;
22
- export declare const FixtureIdSchema: z.ZodString;
23
- export declare const SessionIdSchema: z.ZodString;
24
- export declare const OperationIdSchema: z.ZodString;
25
- export declare const WorkerIdSchema: z.ZodString;
26
- export declare const AttemptIdSchema: z.ZodString;
27
- export declare const LogicalPassIdSchema: z.ZodString;
28
- export declare const SnapshotIdSchema: z.ZodString;
29
- export declare const EvidenceRefSchema: z.ZodString;
30
- export declare const MutationIdSchema: z.ZodString;
31
- /** Closed, canonical identifier forms; arbitrary slugs and prose are rejected. */
32
- export declare const OpaqueIdSchema: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString]>;
33
- export type OpaqueId = z.infer<typeof OpaqueIdSchema>;
34
- export declare const REPLAY_IDENTIFIER_SCHEMAS: {
35
- readonly fixture: z.ZodString;
36
- readonly session: z.ZodString;
37
- readonly operation: z.ZodString;
38
- readonly worker: z.ZodString;
39
- readonly attempt: z.ZodString;
40
- readonly logicalPass: z.ZodString;
41
- readonly snapshot: z.ZodString;
42
- readonly evidence: z.ZodString;
43
- readonly mutation: z.ZodString;
44
- };
45
- export declare const Sha256DigestSchema: z.ZodString;
46
- export type Sha256Digest = z.infer<typeof Sha256DigestSchema>;
47
- export declare const SourceCategorySchema: z.ZodEnum<{
48
- flow_ledger: "flow_ledger";
49
- host_metadata: "host_metadata";
50
- replay_derived: "replay_derived";
51
- supplied_observation: "supplied_observation";
52
- }>;
53
- export type SourceCategory = z.infer<typeof SourceCategorySchema>;
54
- export declare const AvailabilityReasonSchema: z.ZodEnum<{
55
- not_applicable: "not_applicable";
56
- not_recorded: "not_recorded";
57
- privacy_redacted: "privacy_redacted";
58
- provider_unavailable: "provider_unavailable";
59
- unreconciled: "unreconciled";
60
- }>;
61
- export type AvailabilityReason = z.infer<typeof AvailabilityReasonSchema>;
62
- export declare const UnsignedAvailabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
63
- status: z.ZodLiteral<"available">;
64
- value: z.ZodNumber;
65
- }, z.core.$strict>, z.ZodObject<{
66
- status: z.ZodLiteral<"unavailable">;
67
- reason: z.ZodEnum<{
68
- not_applicable: "not_applicable";
69
- not_recorded: "not_recorded";
70
- privacy_redacted: "privacy_redacted";
71
- provider_unavailable: "provider_unavailable";
72
- unreconciled: "unreconciled";
73
- }>;
74
- }, z.core.$strict>], "status">;
75
- export type UnsignedAvailability = z.infer<typeof UnsignedAvailabilitySchema>;
76
- export declare const REVIEW_LIFECYCLE_AGGREGATE_METRICS: readonly ["review_assignment_attempt_count", "invalid_reviewer_payload_count", "completion_submission_count", "accepted_blocker_count", "schema_rejection_count", "evidence_only_rerun_count", "feature_reset_count", "abandoned_session_count"];
77
- export type ReviewLifecycleAggregateMetric = (typeof REVIEW_LIFECYCLE_AGGREGATE_METRICS)[number];
78
- export declare const AggregateMetricSchema: z.ZodEnum<{
79
- abandoned_session_count: "abandoned_session_count";
80
- accepted_blocker_count: "accepted_blocker_count";
81
- cache_read_token_count: "cache_read_token_count";
82
- child_flow_status_call_count: "child_flow_status_call_count";
83
- child_flow_status_result_character_count: "child_flow_status_result_character_count";
84
- child_session_count: "child_session_count";
85
- compaction_count: "compaction_count";
86
- completion_schema_failure_count: "completion_schema_failure_count";
87
- completion_submission_count: "completion_submission_count";
88
- declared_worker_count: "declared_worker_count";
89
- duplicate_finding_count: "duplicate_finding_count";
90
- evidence_only_rerun_count: "evidence_only_rerun_count";
91
- failed_review_attempt_count: "failed_review_attempt_count";
92
- feature_reset_count: "feature_reset_count";
93
- flow_tool_call_count: "flow_tool_call_count";
94
- flow_tool_result_character_count: "flow_tool_result_character_count";
95
- four_invocation_character_count: "four_invocation_character_count";
96
- input_token_count: "input_token_count";
97
- invalid_reviewer_payload_count: "invalid_reviewer_payload_count";
98
- live_prompt_character_count: "live_prompt_character_count";
99
- live_prompt_estimated_token_count: "live_prompt_estimated_token_count";
100
- message_error_count: "message_error_count";
101
- output_token_count: "output_token_count";
102
- prompt_character_count: "prompt_character_count";
103
- recovery_count: "recovery_count";
104
- result_character_count: "result_character_count";
105
- review_assignment_attempt_count: "review_assignment_attempt_count";
106
- review_attempt_count: "review_attempt_count";
107
- review_packet_file_count: "review_packet_file_count";
108
- review_packet_line_count: "review_packet_line_count";
109
- reviewer_child_session_count: "reviewer_child_session_count";
110
- reviewer_dispatch_count: "reviewer_dispatch_count";
111
- reviewer_execution_count: "reviewer_execution_count";
112
- reviewer_input_share_basis_points: "reviewer_input_share_basis_points";
113
- root_flow_tool_call_count: "root_flow_tool_call_count";
114
- root_flow_tool_result_character_count: "root_flow_tool_result_character_count";
115
- scenario_count: "scenario_count";
116
- schema_rejection_count: "schema_rejection_count";
117
- session_count: "session_count";
118
- terminal_decision_count: "terminal_decision_count";
119
- tool_error_count: "tool_error_count";
120
- tool_latency_p50_ms: "tool_latency_p50_ms";
121
- tool_latency_p95_ms: "tool_latency_p95_ms";
122
- tool_latency_total_ms: "tool_latency_total_ms";
123
- tool_part_count: "tool_part_count";
124
- validation_failure_count: "validation_failure_count";
125
- }>;
126
- export type AggregateMetric = z.infer<typeof AggregateMetricSchema>;
127
- export declare const ApprovedAggregateFactSchema: z.ZodObject<{
128
- metric: z.ZodEnum<{
129
- abandoned_session_count: "abandoned_session_count";
130
- accepted_blocker_count: "accepted_blocker_count";
131
- cache_read_token_count: "cache_read_token_count";
132
- child_flow_status_call_count: "child_flow_status_call_count";
133
- child_flow_status_result_character_count: "child_flow_status_result_character_count";
134
- child_session_count: "child_session_count";
135
- compaction_count: "compaction_count";
136
- completion_schema_failure_count: "completion_schema_failure_count";
137
- completion_submission_count: "completion_submission_count";
138
- declared_worker_count: "declared_worker_count";
139
- duplicate_finding_count: "duplicate_finding_count";
140
- evidence_only_rerun_count: "evidence_only_rerun_count";
141
- failed_review_attempt_count: "failed_review_attempt_count";
142
- feature_reset_count: "feature_reset_count";
143
- flow_tool_call_count: "flow_tool_call_count";
144
- flow_tool_result_character_count: "flow_tool_result_character_count";
145
- four_invocation_character_count: "four_invocation_character_count";
146
- input_token_count: "input_token_count";
147
- invalid_reviewer_payload_count: "invalid_reviewer_payload_count";
148
- live_prompt_character_count: "live_prompt_character_count";
149
- live_prompt_estimated_token_count: "live_prompt_estimated_token_count";
150
- message_error_count: "message_error_count";
151
- output_token_count: "output_token_count";
152
- prompt_character_count: "prompt_character_count";
153
- recovery_count: "recovery_count";
154
- result_character_count: "result_character_count";
155
- review_assignment_attempt_count: "review_assignment_attempt_count";
156
- review_attempt_count: "review_attempt_count";
157
- review_packet_file_count: "review_packet_file_count";
158
- review_packet_line_count: "review_packet_line_count";
159
- reviewer_child_session_count: "reviewer_child_session_count";
160
- reviewer_dispatch_count: "reviewer_dispatch_count";
161
- reviewer_execution_count: "reviewer_execution_count";
162
- reviewer_input_share_basis_points: "reviewer_input_share_basis_points";
163
- root_flow_tool_call_count: "root_flow_tool_call_count";
164
- root_flow_tool_result_character_count: "root_flow_tool_result_character_count";
165
- scenario_count: "scenario_count";
166
- schema_rejection_count: "schema_rejection_count";
167
- session_count: "session_count";
168
- terminal_decision_count: "terminal_decision_count";
169
- tool_error_count: "tool_error_count";
170
- tool_latency_p50_ms: "tool_latency_p50_ms";
171
- tool_latency_p95_ms: "tool_latency_p95_ms";
172
- tool_latency_total_ms: "tool_latency_total_ms";
173
- tool_part_count: "tool_part_count";
174
- validation_failure_count: "validation_failure_count";
175
- }>;
176
- availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
177
- status: z.ZodLiteral<"available">;
178
- value: z.ZodNumber;
179
- }, z.core.$strict>, z.ZodObject<{
180
- status: z.ZodLiteral<"unavailable">;
181
- reason: z.ZodEnum<{
182
- not_applicable: "not_applicable";
183
- not_recorded: "not_recorded";
184
- privacy_redacted: "privacy_redacted";
185
- provider_unavailable: "provider_unavailable";
186
- unreconciled: "unreconciled";
187
- }>;
188
- }, z.core.$strict>], "status">;
189
- }, z.core.$strict>;
190
- export type ApprovedAggregateFact = z.infer<typeof ApprovedAggregateFactSchema>;
191
- export declare const SourceProjectionSchema: z.ZodObject<{
192
- category: z.ZodEnum<{
193
- flow_ledger: "flow_ledger";
194
- host_metadata: "host_metadata";
195
- replay_derived: "replay_derived";
196
- supplied_observation: "supplied_observation";
197
- }>;
198
- fingerprint: z.ZodString;
199
- }, z.core.$strict>;
200
- export declare const ReplayControlDefectSchema: z.ZodEnum<{
201
- active_final_false_block: "active_final_false_block";
202
- contradictory_verdict_not_reconciled: "contradictory_verdict_not_reconciled";
203
- handoff_not_runtime_validated: "handoff_not_runtime_validated";
204
- logical_pass_retry_not_correlated: "logical_pass_retry_not_correlated";
205
- malformed_telemetry_masks_review: "malformed_telemetry_masks_review";
206
- mutation_recovery_not_idempotent: "mutation_recovery_not_idempotent";
207
- stale_validation_not_snapshot_bound: "stale_validation_not_snapshot_bound";
208
- unchanged_finding_not_deduplicated: "unchanged_finding_not_deduplicated";
209
- unsubmitted_review_failure_not_counted: "unsubmitted_review_failure_not_counted";
210
- }>;
211
- export type ReplayControlDefect = z.infer<typeof ReplayControlDefectSchema>;
212
- export declare const ReplayDecisionSchema: z.ZodEnum<{
213
- blocked: "blocked";
214
- complete: "complete";
215
- failed: "failed";
216
- recovered: "recovered";
217
- retry: "retry";
218
- }>;
219
- export type ReplayDecision = z.infer<typeof ReplayDecisionSchema>;
220
- export declare const ReplayReasonSchema: z.ZodEnum<{
221
- active_final_feature_in_progress: "active_final_feature_in_progress";
222
- all_gates_passed: "all_gates_passed";
223
- contradictory_review_verdicts: "contradictory_review_verdicts";
224
- finding_unchanged: "finding_unchanged";
225
- handoff_invalid: "handoff_invalid";
226
- mutation_incomplete: "mutation_incomplete";
227
- mutation_recovered: "mutation_recovered";
228
- optional_telemetry_malformed: "optional_telemetry_malformed";
229
- review_failed: "review_failed";
230
- review_failure_unsubmitted: "review_failure_unsubmitted";
231
- review_retry_passed: "review_retry_passed";
232
- schema_invalid: "schema_invalid";
233
- validation_stale: "validation_stale";
234
- }>;
235
- export type ReplayReason = z.infer<typeof ReplayReasonSchema>;
236
- export declare const SessionStatusSchema: z.ZodEnum<{
237
- blocked: "blocked";
238
- completed: "completed";
239
- planning: "planning";
240
- ready: "ready";
241
- running: "running";
242
- }>;
243
- export declare const FeatureStatusSchema: z.ZodEnum<{
244
- blocked: "blocked";
245
- completed: "completed";
246
- in_progress: "in_progress";
247
- pending: "pending";
248
- }>;
249
- export declare const ReplayRoleSchema: z.ZodEnum<{
250
- feature_reviewer: "feature_reviewer";
251
- final_reviewer: "final_reviewer";
252
- host: "host";
253
- implementation_worker: "implementation_worker";
254
- root_manager: "root_manager";
255
- verifier: "verifier";
256
- }>;
257
- export declare const ReplayModelClassSchema: z.ZodEnum<{
258
- manager: "manager";
259
- reviewer: "reviewer";
260
- unknown: "unknown";
261
- verifier: "verifier";
262
- worker: "worker";
263
- }>;
264
- export declare const ReplayEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
265
- seq: z.ZodNumber;
266
- atMs: z.ZodNumber;
267
- source: z.ZodEnum<{
268
- flow_ledger: "flow_ledger";
269
- host_metadata: "host_metadata";
270
- replay_derived: "replay_derived";
271
- supplied_observation: "supplied_observation";
272
- }>;
273
- kind: z.ZodLiteral<"session_state">;
274
- sessionId: z.ZodString;
275
- revision: z.ZodNumber;
276
- sessionStatus: z.ZodEnum<{
277
- blocked: "blocked";
278
- completed: "completed";
279
- planning: "planning";
280
- ready: "ready";
281
- running: "running";
282
- }>;
283
- featureStatus: z.ZodEnum<{
284
- blocked: "blocked";
285
- completed: "completed";
286
- in_progress: "in_progress";
287
- pending: "pending";
288
- }>;
289
- stateDigest: z.ZodString;
290
- }, z.core.$strict>, z.ZodObject<{
291
- seq: z.ZodNumber;
292
- atMs: z.ZodNumber;
293
- source: z.ZodEnum<{
294
- flow_ledger: "flow_ledger";
295
- host_metadata: "host_metadata";
296
- replay_derived: "replay_derived";
297
- supplied_observation: "supplied_observation";
298
- }>;
299
- kind: z.ZodLiteral<"validation">;
300
- operationId: z.ZodString;
301
- evidenceRef: z.ZodString;
302
- snapshotId: z.ZodString;
303
- revision: z.ZodNumber;
304
- scope: z.ZodEnum<{
305
- broad: "broad";
306
- targeted: "targeted";
307
- }>;
308
- status: z.ZodEnum<{
309
- failed: "failed";
310
- passed: "passed";
311
- }>;
312
- freshness: z.ZodEnum<{
313
- current: "current";
314
- stale: "stale";
315
- unknown: "unknown";
316
- }>;
317
- latencyMs: z.ZodDiscriminatedUnion<[z.ZodObject<{
318
- status: z.ZodLiteral<"available">;
319
- value: z.ZodNumber;
320
- }, z.core.$strict>, z.ZodObject<{
321
- status: z.ZodLiteral<"unavailable">;
322
- reason: z.ZodEnum<{
323
- not_applicable: "not_applicable";
324
- not_recorded: "not_recorded";
325
- privacy_redacted: "privacy_redacted";
326
- provider_unavailable: "provider_unavailable";
327
- unreconciled: "unreconciled";
328
- }>;
329
- }, z.core.$strict>], "status">;
330
- }, z.core.$strict>, z.ZodObject<{
331
- seq: z.ZodNumber;
332
- atMs: z.ZodNumber;
333
- source: z.ZodEnum<{
334
- flow_ledger: "flow_ledger";
335
- host_metadata: "host_metadata";
336
- replay_derived: "replay_derived";
337
- supplied_observation: "supplied_observation";
338
- }>;
339
- operationId: z.ZodString;
340
- workerId: z.ZodString;
341
- role: z.ZodEnum<{
342
- feature_reviewer: "feature_reviewer";
343
- final_reviewer: "final_reviewer";
344
- host: "host";
345
- implementation_worker: "implementation_worker";
346
- root_manager: "root_manager";
347
- verifier: "verifier";
348
- }>;
349
- modelClass: z.ZodEnum<{
350
- manager: "manager";
351
- reviewer: "reviewer";
352
- unknown: "unknown";
353
- verifier: "verifier";
354
- worker: "worker";
355
- }>;
356
- attemptId: z.ZodString;
357
- logicalPassId: z.ZodString;
358
- snapshotId: z.ZodString;
359
- evidenceRef: z.ZodString;
360
- verdict: z.ZodEnum<{
361
- failed: "failed";
362
- passed: "passed";
363
- }>;
364
- submitted: z.ZodBoolean;
365
- findingFingerprints: z.ZodArray<z.ZodString>;
366
- duplicateFindingCount: z.ZodNumber;
367
- kind: z.ZodLiteral<"feature_review_attempt">;
368
- }, z.core.$strict>, z.ZodObject<{
369
- seq: z.ZodNumber;
370
- atMs: z.ZodNumber;
371
- source: z.ZodEnum<{
372
- flow_ledger: "flow_ledger";
373
- host_metadata: "host_metadata";
374
- replay_derived: "replay_derived";
375
- supplied_observation: "supplied_observation";
376
- }>;
377
- operationId: z.ZodString;
378
- workerId: z.ZodString;
379
- role: z.ZodEnum<{
380
- feature_reviewer: "feature_reviewer";
381
- final_reviewer: "final_reviewer";
382
- host: "host";
383
- implementation_worker: "implementation_worker";
384
- root_manager: "root_manager";
385
- verifier: "verifier";
386
- }>;
387
- modelClass: z.ZodEnum<{
388
- manager: "manager";
389
- reviewer: "reviewer";
390
- unknown: "unknown";
391
- verifier: "verifier";
392
- worker: "worker";
393
- }>;
394
- attemptId: z.ZodString;
395
- logicalPassId: z.ZodString;
396
- snapshotId: z.ZodString;
397
- evidenceRef: z.ZodString;
398
- verdict: z.ZodEnum<{
399
- failed: "failed";
400
- passed: "passed";
401
- }>;
402
- submitted: z.ZodBoolean;
403
- findingFingerprints: z.ZodArray<z.ZodString>;
404
- duplicateFindingCount: z.ZodNumber;
405
- kind: z.ZodLiteral<"final_review_attempt">;
406
- }, z.core.$strict>, z.ZodObject<{
407
- seq: z.ZodNumber;
408
- atMs: z.ZodNumber;
409
- source: z.ZodEnum<{
410
- flow_ledger: "flow_ledger";
411
- host_metadata: "host_metadata";
412
- replay_derived: "replay_derived";
413
- supplied_observation: "supplied_observation";
414
- }>;
415
- operationId: z.ZodString;
416
- workerId: z.ZodString;
417
- role: z.ZodEnum<{
418
- feature_reviewer: "feature_reviewer";
419
- final_reviewer: "final_reviewer";
420
- host: "host";
421
- implementation_worker: "implementation_worker";
422
- root_manager: "root_manager";
423
- verifier: "verifier";
424
- }>;
425
- modelClass: z.ZodEnum<{
426
- manager: "manager";
427
- reviewer: "reviewer";
428
- unknown: "unknown";
429
- verifier: "verifier";
430
- worker: "worker";
431
- }>;
432
- kind: z.ZodLiteral<"handoff_validity">;
433
- status: z.ZodEnum<{
434
- empty: "empty";
435
- malformed: "malformed";
436
- valid: "valid";
437
- }>;
438
- evidenceRef: z.ZodString;
439
- }, z.core.$strict>, z.ZodObject<{
440
- seq: z.ZodNumber;
441
- atMs: z.ZodNumber;
442
- source: z.ZodEnum<{
443
- flow_ledger: "flow_ledger";
444
- host_metadata: "host_metadata";
445
- replay_derived: "replay_derived";
446
- supplied_observation: "supplied_observation";
447
- }>;
448
- kind: z.ZodLiteral<"telemetry_validity">;
449
- operationId: z.ZodString;
450
- status: z.ZodEnum<{
451
- malformed: "malformed";
452
- unavailable: "unavailable";
453
- valid: "valid";
454
- }>;
455
- declaredWorkerCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
456
- status: z.ZodLiteral<"available">;
457
- value: z.ZodNumber;
458
- }, z.core.$strict>, z.ZodObject<{
459
- status: z.ZodLiteral<"unavailable">;
460
- reason: z.ZodEnum<{
461
- not_applicable: "not_applicable";
462
- not_recorded: "not_recorded";
463
- privacy_redacted: "privacy_redacted";
464
- provider_unavailable: "provider_unavailable";
465
- unreconciled: "unreconciled";
466
- }>;
467
- }, z.core.$strict>], "status">;
468
- }, z.core.$strict>, z.ZodObject<{
469
- seq: z.ZodNumber;
470
- atMs: z.ZodNumber;
471
- source: z.ZodEnum<{
472
- flow_ledger: "flow_ledger";
473
- host_metadata: "host_metadata";
474
- replay_derived: "replay_derived";
475
- supplied_observation: "supplied_observation";
476
- }>;
477
- operationId: z.ZodString;
478
- workerId: z.ZodString;
479
- role: z.ZodEnum<{
480
- feature_reviewer: "feature_reviewer";
481
- final_reviewer: "final_reviewer";
482
- host: "host";
483
- implementation_worker: "implementation_worker";
484
- root_manager: "root_manager";
485
- verifier: "verifier";
486
- }>;
487
- modelClass: z.ZodEnum<{
488
- manager: "manager";
489
- reviewer: "reviewer";
490
- unknown: "unknown";
491
- verifier: "verifier";
492
- worker: "worker";
493
- }>;
494
- kind: z.ZodLiteral<"operation_metrics">;
495
- latencyMs: z.ZodDiscriminatedUnion<[z.ZodObject<{
496
- status: z.ZodLiteral<"available">;
497
- value: z.ZodNumber;
498
- }, z.core.$strict>, z.ZodObject<{
499
- status: z.ZodLiteral<"unavailable">;
500
- reason: z.ZodEnum<{
501
- not_applicable: "not_applicable";
502
- not_recorded: "not_recorded";
503
- privacy_redacted: "privacy_redacted";
504
- provider_unavailable: "provider_unavailable";
505
- unreconciled: "unreconciled";
506
- }>;
507
- }, z.core.$strict>], "status">;
508
- inputTokenCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
509
- status: z.ZodLiteral<"available">;
510
- value: z.ZodNumber;
511
- }, z.core.$strict>, z.ZodObject<{
512
- status: z.ZodLiteral<"unavailable">;
513
- reason: z.ZodEnum<{
514
- not_applicable: "not_applicable";
515
- not_recorded: "not_recorded";
516
- privacy_redacted: "privacy_redacted";
517
- provider_unavailable: "provider_unavailable";
518
- unreconciled: "unreconciled";
519
- }>;
520
- }, z.core.$strict>], "status">;
521
- cacheReadTokenCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
522
- status: z.ZodLiteral<"available">;
523
- value: z.ZodNumber;
524
- }, z.core.$strict>, z.ZodObject<{
525
- status: z.ZodLiteral<"unavailable">;
526
- reason: z.ZodEnum<{
527
- not_applicable: "not_applicable";
528
- not_recorded: "not_recorded";
529
- privacy_redacted: "privacy_redacted";
530
- provider_unavailable: "provider_unavailable";
531
- unreconciled: "unreconciled";
532
- }>;
533
- }, z.core.$strict>], "status">;
534
- outputTokenCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
535
- status: z.ZodLiteral<"available">;
536
- value: z.ZodNumber;
537
- }, z.core.$strict>, z.ZodObject<{
538
- status: z.ZodLiteral<"unavailable">;
539
- reason: z.ZodEnum<{
540
- not_applicable: "not_applicable";
541
- not_recorded: "not_recorded";
542
- privacy_redacted: "privacy_redacted";
543
- provider_unavailable: "provider_unavailable";
544
- unreconciled: "unreconciled";
545
- }>;
546
- }, z.core.$strict>], "status">;
547
- promptCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
548
- status: z.ZodLiteral<"available">;
549
- value: z.ZodNumber;
550
- }, z.core.$strict>, z.ZodObject<{
551
- status: z.ZodLiteral<"unavailable">;
552
- reason: z.ZodEnum<{
553
- not_applicable: "not_applicable";
554
- not_recorded: "not_recorded";
555
- privacy_redacted: "privacy_redacted";
556
- provider_unavailable: "provider_unavailable";
557
- unreconciled: "unreconciled";
558
- }>;
559
- }, z.core.$strict>], "status">;
560
- resultCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
561
- status: z.ZodLiteral<"available">;
562
- value: z.ZodNumber;
563
- }, z.core.$strict>, z.ZodObject<{
564
- status: z.ZodLiteral<"unavailable">;
565
- reason: z.ZodEnum<{
566
- not_applicable: "not_applicable";
567
- not_recorded: "not_recorded";
568
- privacy_redacted: "privacy_redacted";
569
- provider_unavailable: "provider_unavailable";
570
- unreconciled: "unreconciled";
571
- }>;
572
- }, z.core.$strict>], "status">;
573
- }, z.core.$strict>, z.ZodObject<{
574
- seq: z.ZodNumber;
575
- atMs: z.ZodNumber;
576
- source: z.ZodEnum<{
577
- flow_ledger: "flow_ledger";
578
- host_metadata: "host_metadata";
579
- replay_derived: "replay_derived";
580
- supplied_observation: "supplied_observation";
581
- }>;
582
- kind: z.ZodLiteral<"retry_finding_delta">;
583
- operationId: z.ZodString;
584
- logicalPassId: z.ZodString;
585
- previousAttemptId: z.ZodString;
586
- currentAttemptId: z.ZodString;
587
- delta: z.ZodEnum<{
588
- changed: "changed";
589
- resolved: "resolved";
590
- unchanged: "unchanged";
591
- }>;
592
- previousFindingCount: z.ZodNumber;
593
- currentFindingCount: z.ZodNumber;
594
- duplicateFindingCount: z.ZodNumber;
595
- }, z.core.$strict>, z.ZodObject<{
596
- seq: z.ZodNumber;
597
- atMs: z.ZodNumber;
598
- source: z.ZodEnum<{
599
- flow_ledger: "flow_ledger";
600
- host_metadata: "host_metadata";
601
- replay_derived: "replay_derived";
602
- supplied_observation: "supplied_observation";
603
- }>;
604
- kind: z.ZodLiteral<"compaction">;
605
- operationId: z.ZodString;
606
- beforeCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
607
- status: z.ZodLiteral<"available">;
608
- value: z.ZodNumber;
609
- }, z.core.$strict>, z.ZodObject<{
610
- status: z.ZodLiteral<"unavailable">;
611
- reason: z.ZodEnum<{
612
- not_applicable: "not_applicable";
613
- not_recorded: "not_recorded";
614
- privacy_redacted: "privacy_redacted";
615
- provider_unavailable: "provider_unavailable";
616
- unreconciled: "unreconciled";
617
- }>;
618
- }, z.core.$strict>], "status">;
619
- afterCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
620
- status: z.ZodLiteral<"available">;
621
- value: z.ZodNumber;
622
- }, z.core.$strict>, z.ZodObject<{
623
- status: z.ZodLiteral<"unavailable">;
624
- reason: z.ZodEnum<{
625
- not_applicable: "not_applicable";
626
- not_recorded: "not_recorded";
627
- privacy_redacted: "privacy_redacted";
628
- provider_unavailable: "provider_unavailable";
629
- unreconciled: "unreconciled";
630
- }>;
631
- }, z.core.$strict>], "status">;
632
- }, z.core.$strict>, z.ZodObject<{
633
- seq: z.ZodNumber;
634
- atMs: z.ZodNumber;
635
- source: z.ZodEnum<{
636
- flow_ledger: "flow_ledger";
637
- host_metadata: "host_metadata";
638
- replay_derived: "replay_derived";
639
- supplied_observation: "supplied_observation";
640
- }>;
641
- kind: z.ZodLiteral<"schema_failure">;
642
- operationId: z.ZodString;
643
- target: z.ZodEnum<{
644
- completion: "completion";
645
- durable_state: "durable_state";
646
- handoff: "handoff";
647
- telemetry: "telemetry";
648
- }>;
649
- failure: z.ZodEnum<{
650
- extra_field: "extra_field";
651
- invalid_type: "invalid_type";
652
- invalid_value: "invalid_value";
653
- missing_field: "missing_field";
654
- }>;
655
- }, z.core.$strict>, z.ZodObject<{
656
- seq: z.ZodNumber;
657
- atMs: z.ZodNumber;
658
- source: z.ZodEnum<{
659
- flow_ledger: "flow_ledger";
660
- host_metadata: "host_metadata";
661
- replay_derived: "replay_derived";
662
- supplied_observation: "supplied_observation";
663
- }>;
664
- kind: z.ZodLiteral<"mutation_start">;
665
- operationId: z.ZodString;
666
- mutationId: z.ZodString;
667
- baseRevision: z.ZodNumber;
668
- inputDigest: z.ZodString;
669
- }, z.core.$strict>, z.ZodObject<{
670
- seq: z.ZodNumber;
671
- atMs: z.ZodNumber;
672
- source: z.ZodEnum<{
673
- flow_ledger: "flow_ledger";
674
- host_metadata: "host_metadata";
675
- replay_derived: "replay_derived";
676
- supplied_observation: "supplied_observation";
677
- }>;
678
- kind: z.ZodLiteral<"mutation_commit">;
679
- operationId: z.ZodString;
680
- mutationId: z.ZodString;
681
- revision: z.ZodNumber;
682
- stateDigest: z.ZodString;
683
- }, z.core.$strict>, z.ZodObject<{
684
- seq: z.ZodNumber;
685
- atMs: z.ZodNumber;
686
- source: z.ZodEnum<{
687
- flow_ledger: "flow_ledger";
688
- host_metadata: "host_metadata";
689
- replay_derived: "replay_derived";
690
- supplied_observation: "supplied_observation";
691
- }>;
692
- kind: z.ZodLiteral<"mutation_crash">;
693
- operationId: z.ZodString;
694
- mutationId: z.ZodString;
695
- phase: z.ZodEnum<{
696
- after_commit: "after_commit";
697
- after_write_before_commit: "after_write_before_commit";
698
- before_write: "before_write";
699
- }>;
700
- }, z.core.$strict>, z.ZodObject<{
701
- seq: z.ZodNumber;
702
- atMs: z.ZodNumber;
703
- source: z.ZodEnum<{
704
- flow_ledger: "flow_ledger";
705
- host_metadata: "host_metadata";
706
- replay_derived: "replay_derived";
707
- supplied_observation: "supplied_observation";
708
- }>;
709
- kind: z.ZodLiteral<"mutation_recovery">;
710
- operationId: z.ZodString;
711
- mutationId: z.ZodString;
712
- status: z.ZodEnum<{
713
- commit_reused: "commit_reused";
714
- reapplied: "reapplied";
715
- rolled_back: "rolled_back";
716
- }>;
717
- revision: z.ZodNumber;
718
- stateDigest: z.ZodString;
719
- }, z.core.$strict>, z.ZodObject<{
720
- seq: z.ZodNumber;
721
- atMs: z.ZodNumber;
722
- source: z.ZodEnum<{
723
- flow_ledger: "flow_ledger";
724
- host_metadata: "host_metadata";
725
- replay_derived: "replay_derived";
726
- supplied_observation: "supplied_observation";
727
- }>;
728
- kind: z.ZodLiteral<"terminal_decision">;
729
- decision: z.ZodEnum<{
730
- blocked: "blocked";
731
- complete: "complete";
732
- failed: "failed";
733
- recovered: "recovered";
734
- retry: "retry";
735
- }>;
736
- reason: z.ZodEnum<{
737
- active_final_feature_in_progress: "active_final_feature_in_progress";
738
- all_gates_passed: "all_gates_passed";
739
- contradictory_review_verdicts: "contradictory_review_verdicts";
740
- finding_unchanged: "finding_unchanged";
741
- handoff_invalid: "handoff_invalid";
742
- mutation_incomplete: "mutation_incomplete";
743
- mutation_recovered: "mutation_recovered";
744
- optional_telemetry_malformed: "optional_telemetry_malformed";
745
- review_failed: "review_failed";
746
- review_failure_unsubmitted: "review_failure_unsubmitted";
747
- review_retry_passed: "review_retry_passed";
748
- schema_invalid: "schema_invalid";
749
- validation_stale: "validation_stale";
750
- }>;
751
- revision: z.ZodNumber;
752
- stateDigest: z.ZodString;
753
- evidenceRefs: z.ZodArray<z.ZodString>;
754
- }, z.core.$strict>], "kind">;
755
- export type ReplayEvent = z.infer<typeof ReplayEventSchema>;
756
- export declare const ReplayScenarioSchema: z.ZodObject<{
757
- id: z.ZodEnum<{
758
- active_final_feature_awaiting_review: "active_final_feature_awaiting_review";
759
- contradictory_feature_final_verdicts: "contradictory_feature_final_verdicts";
760
- crash_replay_around_mutation: "crash_replay_around_mutation";
761
- empty_or_malformed_handoff: "empty_or_malformed_handoff";
762
- failed_to_passed_retry: "failed_to_passed_retry";
763
- malformed_optional_telemetry: "malformed_optional_telemetry";
764
- stale_validation: "stale_validation";
765
- unchanged_finding_retry: "unchanged_finding_retry";
766
- unsubmitted_review_failure: "unsubmitted_review_failure";
767
- }>;
768
- sessionId: z.ZodString;
769
- initialStateDigest: z.ZodString;
770
- controlDefects: z.ZodArray<z.ZodEnum<{
771
- active_final_false_block: "active_final_false_block";
772
- contradictory_verdict_not_reconciled: "contradictory_verdict_not_reconciled";
773
- handoff_not_runtime_validated: "handoff_not_runtime_validated";
774
- logical_pass_retry_not_correlated: "logical_pass_retry_not_correlated";
775
- malformed_telemetry_masks_review: "malformed_telemetry_masks_review";
776
- mutation_recovery_not_idempotent: "mutation_recovery_not_idempotent";
777
- stale_validation_not_snapshot_bound: "stale_validation_not_snapshot_bound";
778
- unchanged_finding_not_deduplicated: "unchanged_finding_not_deduplicated";
779
- unsubmitted_review_failure_not_counted: "unsubmitted_review_failure_not_counted";
780
- }>>;
781
- events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
782
- seq: z.ZodNumber;
783
- atMs: z.ZodNumber;
784
- source: z.ZodEnum<{
785
- flow_ledger: "flow_ledger";
786
- host_metadata: "host_metadata";
787
- replay_derived: "replay_derived";
788
- supplied_observation: "supplied_observation";
789
- }>;
790
- kind: z.ZodLiteral<"session_state">;
791
- sessionId: z.ZodString;
792
- revision: z.ZodNumber;
793
- sessionStatus: z.ZodEnum<{
794
- blocked: "blocked";
795
- completed: "completed";
796
- planning: "planning";
797
- ready: "ready";
798
- running: "running";
799
- }>;
800
- featureStatus: z.ZodEnum<{
801
- blocked: "blocked";
802
- completed: "completed";
803
- in_progress: "in_progress";
804
- pending: "pending";
805
- }>;
806
- stateDigest: z.ZodString;
807
- }, z.core.$strict>, z.ZodObject<{
808
- seq: z.ZodNumber;
809
- atMs: z.ZodNumber;
810
- source: z.ZodEnum<{
811
- flow_ledger: "flow_ledger";
812
- host_metadata: "host_metadata";
813
- replay_derived: "replay_derived";
814
- supplied_observation: "supplied_observation";
815
- }>;
816
- kind: z.ZodLiteral<"validation">;
817
- operationId: z.ZodString;
818
- evidenceRef: z.ZodString;
819
- snapshotId: z.ZodString;
820
- revision: z.ZodNumber;
821
- scope: z.ZodEnum<{
822
- broad: "broad";
823
- targeted: "targeted";
824
- }>;
825
- status: z.ZodEnum<{
826
- failed: "failed";
827
- passed: "passed";
828
- }>;
829
- freshness: z.ZodEnum<{
830
- current: "current";
831
- stale: "stale";
832
- unknown: "unknown";
833
- }>;
834
- latencyMs: z.ZodDiscriminatedUnion<[z.ZodObject<{
835
- status: z.ZodLiteral<"available">;
836
- value: z.ZodNumber;
837
- }, z.core.$strict>, z.ZodObject<{
838
- status: z.ZodLiteral<"unavailable">;
839
- reason: z.ZodEnum<{
840
- not_applicable: "not_applicable";
841
- not_recorded: "not_recorded";
842
- privacy_redacted: "privacy_redacted";
843
- provider_unavailable: "provider_unavailable";
844
- unreconciled: "unreconciled";
845
- }>;
846
- }, z.core.$strict>], "status">;
847
- }, z.core.$strict>, z.ZodObject<{
848
- seq: z.ZodNumber;
849
- atMs: z.ZodNumber;
850
- source: z.ZodEnum<{
851
- flow_ledger: "flow_ledger";
852
- host_metadata: "host_metadata";
853
- replay_derived: "replay_derived";
854
- supplied_observation: "supplied_observation";
855
- }>;
856
- operationId: z.ZodString;
857
- workerId: z.ZodString;
858
- role: z.ZodEnum<{
859
- feature_reviewer: "feature_reviewer";
860
- final_reviewer: "final_reviewer";
861
- host: "host";
862
- implementation_worker: "implementation_worker";
863
- root_manager: "root_manager";
864
- verifier: "verifier";
865
- }>;
866
- modelClass: z.ZodEnum<{
867
- manager: "manager";
868
- reviewer: "reviewer";
869
- unknown: "unknown";
870
- verifier: "verifier";
871
- worker: "worker";
872
- }>;
873
- attemptId: z.ZodString;
874
- logicalPassId: z.ZodString;
875
- snapshotId: z.ZodString;
876
- evidenceRef: z.ZodString;
877
- verdict: z.ZodEnum<{
878
- failed: "failed";
879
- passed: "passed";
880
- }>;
881
- submitted: z.ZodBoolean;
882
- findingFingerprints: z.ZodArray<z.ZodString>;
883
- duplicateFindingCount: z.ZodNumber;
884
- kind: z.ZodLiteral<"feature_review_attempt">;
885
- }, z.core.$strict>, z.ZodObject<{
886
- seq: z.ZodNumber;
887
- atMs: z.ZodNumber;
888
- source: z.ZodEnum<{
889
- flow_ledger: "flow_ledger";
890
- host_metadata: "host_metadata";
891
- replay_derived: "replay_derived";
892
- supplied_observation: "supplied_observation";
893
- }>;
894
- operationId: z.ZodString;
895
- workerId: z.ZodString;
896
- role: z.ZodEnum<{
897
- feature_reviewer: "feature_reviewer";
898
- final_reviewer: "final_reviewer";
899
- host: "host";
900
- implementation_worker: "implementation_worker";
901
- root_manager: "root_manager";
902
- verifier: "verifier";
903
- }>;
904
- modelClass: z.ZodEnum<{
905
- manager: "manager";
906
- reviewer: "reviewer";
907
- unknown: "unknown";
908
- verifier: "verifier";
909
- worker: "worker";
910
- }>;
911
- attemptId: z.ZodString;
912
- logicalPassId: z.ZodString;
913
- snapshotId: z.ZodString;
914
- evidenceRef: z.ZodString;
915
- verdict: z.ZodEnum<{
916
- failed: "failed";
917
- passed: "passed";
918
- }>;
919
- submitted: z.ZodBoolean;
920
- findingFingerprints: z.ZodArray<z.ZodString>;
921
- duplicateFindingCount: z.ZodNumber;
922
- kind: z.ZodLiteral<"final_review_attempt">;
923
- }, z.core.$strict>, z.ZodObject<{
924
- seq: z.ZodNumber;
925
- atMs: z.ZodNumber;
926
- source: z.ZodEnum<{
927
- flow_ledger: "flow_ledger";
928
- host_metadata: "host_metadata";
929
- replay_derived: "replay_derived";
930
- supplied_observation: "supplied_observation";
931
- }>;
932
- operationId: z.ZodString;
933
- workerId: z.ZodString;
934
- role: z.ZodEnum<{
935
- feature_reviewer: "feature_reviewer";
936
- final_reviewer: "final_reviewer";
937
- host: "host";
938
- implementation_worker: "implementation_worker";
939
- root_manager: "root_manager";
940
- verifier: "verifier";
941
- }>;
942
- modelClass: z.ZodEnum<{
943
- manager: "manager";
944
- reviewer: "reviewer";
945
- unknown: "unknown";
946
- verifier: "verifier";
947
- worker: "worker";
948
- }>;
949
- kind: z.ZodLiteral<"handoff_validity">;
950
- status: z.ZodEnum<{
951
- empty: "empty";
952
- malformed: "malformed";
953
- valid: "valid";
954
- }>;
955
- evidenceRef: z.ZodString;
956
- }, z.core.$strict>, z.ZodObject<{
957
- seq: z.ZodNumber;
958
- atMs: z.ZodNumber;
959
- source: z.ZodEnum<{
960
- flow_ledger: "flow_ledger";
961
- host_metadata: "host_metadata";
962
- replay_derived: "replay_derived";
963
- supplied_observation: "supplied_observation";
964
- }>;
965
- kind: z.ZodLiteral<"telemetry_validity">;
966
- operationId: z.ZodString;
967
- status: z.ZodEnum<{
968
- malformed: "malformed";
969
- unavailable: "unavailable";
970
- valid: "valid";
971
- }>;
972
- declaredWorkerCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
973
- status: z.ZodLiteral<"available">;
974
- value: z.ZodNumber;
975
- }, z.core.$strict>, z.ZodObject<{
976
- status: z.ZodLiteral<"unavailable">;
977
- reason: z.ZodEnum<{
978
- not_applicable: "not_applicable";
979
- not_recorded: "not_recorded";
980
- privacy_redacted: "privacy_redacted";
981
- provider_unavailable: "provider_unavailable";
982
- unreconciled: "unreconciled";
983
- }>;
984
- }, z.core.$strict>], "status">;
985
- }, z.core.$strict>, z.ZodObject<{
986
- seq: z.ZodNumber;
987
- atMs: z.ZodNumber;
988
- source: z.ZodEnum<{
989
- flow_ledger: "flow_ledger";
990
- host_metadata: "host_metadata";
991
- replay_derived: "replay_derived";
992
- supplied_observation: "supplied_observation";
993
- }>;
994
- operationId: z.ZodString;
995
- workerId: z.ZodString;
996
- role: z.ZodEnum<{
997
- feature_reviewer: "feature_reviewer";
998
- final_reviewer: "final_reviewer";
999
- host: "host";
1000
- implementation_worker: "implementation_worker";
1001
- root_manager: "root_manager";
1002
- verifier: "verifier";
1003
- }>;
1004
- modelClass: z.ZodEnum<{
1005
- manager: "manager";
1006
- reviewer: "reviewer";
1007
- unknown: "unknown";
1008
- verifier: "verifier";
1009
- worker: "worker";
1010
- }>;
1011
- kind: z.ZodLiteral<"operation_metrics">;
1012
- latencyMs: z.ZodDiscriminatedUnion<[z.ZodObject<{
1013
- status: z.ZodLiteral<"available">;
1014
- value: z.ZodNumber;
1015
- }, z.core.$strict>, z.ZodObject<{
1016
- status: z.ZodLiteral<"unavailable">;
1017
- reason: z.ZodEnum<{
1018
- not_applicable: "not_applicable";
1019
- not_recorded: "not_recorded";
1020
- privacy_redacted: "privacy_redacted";
1021
- provider_unavailable: "provider_unavailable";
1022
- unreconciled: "unreconciled";
1023
- }>;
1024
- }, z.core.$strict>], "status">;
1025
- inputTokenCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1026
- status: z.ZodLiteral<"available">;
1027
- value: z.ZodNumber;
1028
- }, z.core.$strict>, z.ZodObject<{
1029
- status: z.ZodLiteral<"unavailable">;
1030
- reason: z.ZodEnum<{
1031
- not_applicable: "not_applicable";
1032
- not_recorded: "not_recorded";
1033
- privacy_redacted: "privacy_redacted";
1034
- provider_unavailable: "provider_unavailable";
1035
- unreconciled: "unreconciled";
1036
- }>;
1037
- }, z.core.$strict>], "status">;
1038
- cacheReadTokenCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1039
- status: z.ZodLiteral<"available">;
1040
- value: z.ZodNumber;
1041
- }, z.core.$strict>, z.ZodObject<{
1042
- status: z.ZodLiteral<"unavailable">;
1043
- reason: z.ZodEnum<{
1044
- not_applicable: "not_applicable";
1045
- not_recorded: "not_recorded";
1046
- privacy_redacted: "privacy_redacted";
1047
- provider_unavailable: "provider_unavailable";
1048
- unreconciled: "unreconciled";
1049
- }>;
1050
- }, z.core.$strict>], "status">;
1051
- outputTokenCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1052
- status: z.ZodLiteral<"available">;
1053
- value: z.ZodNumber;
1054
- }, z.core.$strict>, z.ZodObject<{
1055
- status: z.ZodLiteral<"unavailable">;
1056
- reason: z.ZodEnum<{
1057
- not_applicable: "not_applicable";
1058
- not_recorded: "not_recorded";
1059
- privacy_redacted: "privacy_redacted";
1060
- provider_unavailable: "provider_unavailable";
1061
- unreconciled: "unreconciled";
1062
- }>;
1063
- }, z.core.$strict>], "status">;
1064
- promptCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1065
- status: z.ZodLiteral<"available">;
1066
- value: z.ZodNumber;
1067
- }, z.core.$strict>, z.ZodObject<{
1068
- status: z.ZodLiteral<"unavailable">;
1069
- reason: z.ZodEnum<{
1070
- not_applicable: "not_applicable";
1071
- not_recorded: "not_recorded";
1072
- privacy_redacted: "privacy_redacted";
1073
- provider_unavailable: "provider_unavailable";
1074
- unreconciled: "unreconciled";
1075
- }>;
1076
- }, z.core.$strict>], "status">;
1077
- resultCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1078
- status: z.ZodLiteral<"available">;
1079
- value: z.ZodNumber;
1080
- }, z.core.$strict>, z.ZodObject<{
1081
- status: z.ZodLiteral<"unavailable">;
1082
- reason: z.ZodEnum<{
1083
- not_applicable: "not_applicable";
1084
- not_recorded: "not_recorded";
1085
- privacy_redacted: "privacy_redacted";
1086
- provider_unavailable: "provider_unavailable";
1087
- unreconciled: "unreconciled";
1088
- }>;
1089
- }, z.core.$strict>], "status">;
1090
- }, z.core.$strict>, z.ZodObject<{
1091
- seq: z.ZodNumber;
1092
- atMs: z.ZodNumber;
1093
- source: z.ZodEnum<{
1094
- flow_ledger: "flow_ledger";
1095
- host_metadata: "host_metadata";
1096
- replay_derived: "replay_derived";
1097
- supplied_observation: "supplied_observation";
1098
- }>;
1099
- kind: z.ZodLiteral<"retry_finding_delta">;
1100
- operationId: z.ZodString;
1101
- logicalPassId: z.ZodString;
1102
- previousAttemptId: z.ZodString;
1103
- currentAttemptId: z.ZodString;
1104
- delta: z.ZodEnum<{
1105
- changed: "changed";
1106
- resolved: "resolved";
1107
- unchanged: "unchanged";
1108
- }>;
1109
- previousFindingCount: z.ZodNumber;
1110
- currentFindingCount: z.ZodNumber;
1111
- duplicateFindingCount: z.ZodNumber;
1112
- }, z.core.$strict>, z.ZodObject<{
1113
- seq: z.ZodNumber;
1114
- atMs: z.ZodNumber;
1115
- source: z.ZodEnum<{
1116
- flow_ledger: "flow_ledger";
1117
- host_metadata: "host_metadata";
1118
- replay_derived: "replay_derived";
1119
- supplied_observation: "supplied_observation";
1120
- }>;
1121
- kind: z.ZodLiteral<"compaction">;
1122
- operationId: z.ZodString;
1123
- beforeCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1124
- status: z.ZodLiteral<"available">;
1125
- value: z.ZodNumber;
1126
- }, z.core.$strict>, z.ZodObject<{
1127
- status: z.ZodLiteral<"unavailable">;
1128
- reason: z.ZodEnum<{
1129
- not_applicable: "not_applicable";
1130
- not_recorded: "not_recorded";
1131
- privacy_redacted: "privacy_redacted";
1132
- provider_unavailable: "provider_unavailable";
1133
- unreconciled: "unreconciled";
1134
- }>;
1135
- }, z.core.$strict>], "status">;
1136
- afterCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1137
- status: z.ZodLiteral<"available">;
1138
- value: z.ZodNumber;
1139
- }, z.core.$strict>, z.ZodObject<{
1140
- status: z.ZodLiteral<"unavailable">;
1141
- reason: z.ZodEnum<{
1142
- not_applicable: "not_applicable";
1143
- not_recorded: "not_recorded";
1144
- privacy_redacted: "privacy_redacted";
1145
- provider_unavailable: "provider_unavailable";
1146
- unreconciled: "unreconciled";
1147
- }>;
1148
- }, z.core.$strict>], "status">;
1149
- }, z.core.$strict>, z.ZodObject<{
1150
- seq: z.ZodNumber;
1151
- atMs: z.ZodNumber;
1152
- source: z.ZodEnum<{
1153
- flow_ledger: "flow_ledger";
1154
- host_metadata: "host_metadata";
1155
- replay_derived: "replay_derived";
1156
- supplied_observation: "supplied_observation";
1157
- }>;
1158
- kind: z.ZodLiteral<"schema_failure">;
1159
- operationId: z.ZodString;
1160
- target: z.ZodEnum<{
1161
- completion: "completion";
1162
- durable_state: "durable_state";
1163
- handoff: "handoff";
1164
- telemetry: "telemetry";
1165
- }>;
1166
- failure: z.ZodEnum<{
1167
- extra_field: "extra_field";
1168
- invalid_type: "invalid_type";
1169
- invalid_value: "invalid_value";
1170
- missing_field: "missing_field";
1171
- }>;
1172
- }, z.core.$strict>, z.ZodObject<{
1173
- seq: z.ZodNumber;
1174
- atMs: z.ZodNumber;
1175
- source: z.ZodEnum<{
1176
- flow_ledger: "flow_ledger";
1177
- host_metadata: "host_metadata";
1178
- replay_derived: "replay_derived";
1179
- supplied_observation: "supplied_observation";
1180
- }>;
1181
- kind: z.ZodLiteral<"mutation_start">;
1182
- operationId: z.ZodString;
1183
- mutationId: z.ZodString;
1184
- baseRevision: z.ZodNumber;
1185
- inputDigest: z.ZodString;
1186
- }, z.core.$strict>, z.ZodObject<{
1187
- seq: z.ZodNumber;
1188
- atMs: z.ZodNumber;
1189
- source: z.ZodEnum<{
1190
- flow_ledger: "flow_ledger";
1191
- host_metadata: "host_metadata";
1192
- replay_derived: "replay_derived";
1193
- supplied_observation: "supplied_observation";
1194
- }>;
1195
- kind: z.ZodLiteral<"mutation_commit">;
1196
- operationId: z.ZodString;
1197
- mutationId: z.ZodString;
1198
- revision: z.ZodNumber;
1199
- stateDigest: z.ZodString;
1200
- }, z.core.$strict>, z.ZodObject<{
1201
- seq: z.ZodNumber;
1202
- atMs: z.ZodNumber;
1203
- source: z.ZodEnum<{
1204
- flow_ledger: "flow_ledger";
1205
- host_metadata: "host_metadata";
1206
- replay_derived: "replay_derived";
1207
- supplied_observation: "supplied_observation";
1208
- }>;
1209
- kind: z.ZodLiteral<"mutation_crash">;
1210
- operationId: z.ZodString;
1211
- mutationId: z.ZodString;
1212
- phase: z.ZodEnum<{
1213
- after_commit: "after_commit";
1214
- after_write_before_commit: "after_write_before_commit";
1215
- before_write: "before_write";
1216
- }>;
1217
- }, z.core.$strict>, z.ZodObject<{
1218
- seq: z.ZodNumber;
1219
- atMs: z.ZodNumber;
1220
- source: z.ZodEnum<{
1221
- flow_ledger: "flow_ledger";
1222
- host_metadata: "host_metadata";
1223
- replay_derived: "replay_derived";
1224
- supplied_observation: "supplied_observation";
1225
- }>;
1226
- kind: z.ZodLiteral<"mutation_recovery">;
1227
- operationId: z.ZodString;
1228
- mutationId: z.ZodString;
1229
- status: z.ZodEnum<{
1230
- commit_reused: "commit_reused";
1231
- reapplied: "reapplied";
1232
- rolled_back: "rolled_back";
1233
- }>;
1234
- revision: z.ZodNumber;
1235
- stateDigest: z.ZodString;
1236
- }, z.core.$strict>, z.ZodObject<{
1237
- seq: z.ZodNumber;
1238
- atMs: z.ZodNumber;
1239
- source: z.ZodEnum<{
1240
- flow_ledger: "flow_ledger";
1241
- host_metadata: "host_metadata";
1242
- replay_derived: "replay_derived";
1243
- supplied_observation: "supplied_observation";
1244
- }>;
1245
- kind: z.ZodLiteral<"terminal_decision">;
1246
- decision: z.ZodEnum<{
1247
- blocked: "blocked";
1248
- complete: "complete";
1249
- failed: "failed";
1250
- recovered: "recovered";
1251
- retry: "retry";
1252
- }>;
1253
- reason: z.ZodEnum<{
1254
- active_final_feature_in_progress: "active_final_feature_in_progress";
1255
- all_gates_passed: "all_gates_passed";
1256
- contradictory_review_verdicts: "contradictory_review_verdicts";
1257
- finding_unchanged: "finding_unchanged";
1258
- handoff_invalid: "handoff_invalid";
1259
- mutation_incomplete: "mutation_incomplete";
1260
- mutation_recovered: "mutation_recovered";
1261
- optional_telemetry_malformed: "optional_telemetry_malformed";
1262
- review_failed: "review_failed";
1263
- review_failure_unsubmitted: "review_failure_unsubmitted";
1264
- review_retry_passed: "review_retry_passed";
1265
- schema_invalid: "schema_invalid";
1266
- validation_stale: "validation_stale";
1267
- }>;
1268
- revision: z.ZodNumber;
1269
- stateDigest: z.ZodString;
1270
- evidenceRefs: z.ZodArray<z.ZodString>;
1271
- }, z.core.$strict>], "kind">>;
1272
- }, z.core.$strict>;
1273
- export type ReplayScenario = z.infer<typeof ReplayScenarioSchema>;
1274
- export declare const ReviewLifecycleBaselineSchema: z.ZodObject<{
1275
- version: z.ZodLiteral<1>;
1276
- baselineId: z.ZodLiteral<"qa_scribe_5_1_high">;
1277
- capturedOn: z.ZodLiteral<"2026-07-19">;
1278
- inferenceEffort: z.ZodEnum<{
1279
- high: "high";
1280
- max: "max";
1281
- }>;
1282
- facts: z.ZodArray<z.ZodObject<{
1283
- metric: z.ZodEnum<{
1284
- abandoned_session_count: "abandoned_session_count";
1285
- accepted_blocker_count: "accepted_blocker_count";
1286
- cache_read_token_count: "cache_read_token_count";
1287
- child_flow_status_call_count: "child_flow_status_call_count";
1288
- child_flow_status_result_character_count: "child_flow_status_result_character_count";
1289
- child_session_count: "child_session_count";
1290
- compaction_count: "compaction_count";
1291
- completion_schema_failure_count: "completion_schema_failure_count";
1292
- completion_submission_count: "completion_submission_count";
1293
- declared_worker_count: "declared_worker_count";
1294
- duplicate_finding_count: "duplicate_finding_count";
1295
- evidence_only_rerun_count: "evidence_only_rerun_count";
1296
- failed_review_attempt_count: "failed_review_attempt_count";
1297
- feature_reset_count: "feature_reset_count";
1298
- flow_tool_call_count: "flow_tool_call_count";
1299
- flow_tool_result_character_count: "flow_tool_result_character_count";
1300
- four_invocation_character_count: "four_invocation_character_count";
1301
- input_token_count: "input_token_count";
1302
- invalid_reviewer_payload_count: "invalid_reviewer_payload_count";
1303
- live_prompt_character_count: "live_prompt_character_count";
1304
- live_prompt_estimated_token_count: "live_prompt_estimated_token_count";
1305
- message_error_count: "message_error_count";
1306
- output_token_count: "output_token_count";
1307
- prompt_character_count: "prompt_character_count";
1308
- recovery_count: "recovery_count";
1309
- result_character_count: "result_character_count";
1310
- review_assignment_attempt_count: "review_assignment_attempt_count";
1311
- review_attempt_count: "review_attempt_count";
1312
- review_packet_file_count: "review_packet_file_count";
1313
- review_packet_line_count: "review_packet_line_count";
1314
- reviewer_child_session_count: "reviewer_child_session_count";
1315
- reviewer_dispatch_count: "reviewer_dispatch_count";
1316
- reviewer_execution_count: "reviewer_execution_count";
1317
- reviewer_input_share_basis_points: "reviewer_input_share_basis_points";
1318
- root_flow_tool_call_count: "root_flow_tool_call_count";
1319
- root_flow_tool_result_character_count: "root_flow_tool_result_character_count";
1320
- scenario_count: "scenario_count";
1321
- schema_rejection_count: "schema_rejection_count";
1322
- session_count: "session_count";
1323
- terminal_decision_count: "terminal_decision_count";
1324
- tool_error_count: "tool_error_count";
1325
- tool_latency_p50_ms: "tool_latency_p50_ms";
1326
- tool_latency_p95_ms: "tool_latency_p95_ms";
1327
- tool_latency_total_ms: "tool_latency_total_ms";
1328
- tool_part_count: "tool_part_count";
1329
- validation_failure_count: "validation_failure_count";
1330
- }>;
1331
- availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
1332
- status: z.ZodLiteral<"available">;
1333
- value: z.ZodNumber;
1334
- }, z.core.$strict>, z.ZodObject<{
1335
- status: z.ZodLiteral<"unavailable">;
1336
- reason: z.ZodEnum<{
1337
- not_applicable: "not_applicable";
1338
- not_recorded: "not_recorded";
1339
- privacy_redacted: "privacy_redacted";
1340
- provider_unavailable: "provider_unavailable";
1341
- unreconciled: "unreconciled";
1342
- }>;
1343
- }, z.core.$strict>], "status">;
1344
- }, z.core.$strict>>;
1345
- }, z.core.$strict>;
1346
- export type ReviewLifecycleBaseline = z.infer<typeof ReviewLifecycleBaselineSchema>;
1347
- export declare const ReplayFixtureSchema: z.ZodObject<{
1348
- version: z.ZodLiteral<1>;
1349
- fixtureId: z.ZodString;
1350
- sourceFingerprint: z.ZodString;
1351
- sources: z.ZodArray<z.ZodObject<{
1352
- category: z.ZodEnum<{
1353
- flow_ledger: "flow_ledger";
1354
- host_metadata: "host_metadata";
1355
- replay_derived: "replay_derived";
1356
- supplied_observation: "supplied_observation";
1357
- }>;
1358
- fingerprint: z.ZodString;
1359
- }, z.core.$strict>>;
1360
- hostFacts: z.ZodArray<z.ZodObject<{
1361
- metric: z.ZodEnum<{
1362
- abandoned_session_count: "abandoned_session_count";
1363
- accepted_blocker_count: "accepted_blocker_count";
1364
- cache_read_token_count: "cache_read_token_count";
1365
- child_flow_status_call_count: "child_flow_status_call_count";
1366
- child_flow_status_result_character_count: "child_flow_status_result_character_count";
1367
- child_session_count: "child_session_count";
1368
- compaction_count: "compaction_count";
1369
- completion_schema_failure_count: "completion_schema_failure_count";
1370
- completion_submission_count: "completion_submission_count";
1371
- declared_worker_count: "declared_worker_count";
1372
- duplicate_finding_count: "duplicate_finding_count";
1373
- evidence_only_rerun_count: "evidence_only_rerun_count";
1374
- failed_review_attempt_count: "failed_review_attempt_count";
1375
- feature_reset_count: "feature_reset_count";
1376
- flow_tool_call_count: "flow_tool_call_count";
1377
- flow_tool_result_character_count: "flow_tool_result_character_count";
1378
- four_invocation_character_count: "four_invocation_character_count";
1379
- input_token_count: "input_token_count";
1380
- invalid_reviewer_payload_count: "invalid_reviewer_payload_count";
1381
- live_prompt_character_count: "live_prompt_character_count";
1382
- live_prompt_estimated_token_count: "live_prompt_estimated_token_count";
1383
- message_error_count: "message_error_count";
1384
- output_token_count: "output_token_count";
1385
- prompt_character_count: "prompt_character_count";
1386
- recovery_count: "recovery_count";
1387
- result_character_count: "result_character_count";
1388
- review_assignment_attempt_count: "review_assignment_attempt_count";
1389
- review_attempt_count: "review_attempt_count";
1390
- review_packet_file_count: "review_packet_file_count";
1391
- review_packet_line_count: "review_packet_line_count";
1392
- reviewer_child_session_count: "reviewer_child_session_count";
1393
- reviewer_dispatch_count: "reviewer_dispatch_count";
1394
- reviewer_execution_count: "reviewer_execution_count";
1395
- reviewer_input_share_basis_points: "reviewer_input_share_basis_points";
1396
- root_flow_tool_call_count: "root_flow_tool_call_count";
1397
- root_flow_tool_result_character_count: "root_flow_tool_result_character_count";
1398
- scenario_count: "scenario_count";
1399
- schema_rejection_count: "schema_rejection_count";
1400
- session_count: "session_count";
1401
- terminal_decision_count: "terminal_decision_count";
1402
- tool_error_count: "tool_error_count";
1403
- tool_latency_p50_ms: "tool_latency_p50_ms";
1404
- tool_latency_p95_ms: "tool_latency_p95_ms";
1405
- tool_latency_total_ms: "tool_latency_total_ms";
1406
- tool_part_count: "tool_part_count";
1407
- validation_failure_count: "validation_failure_count";
1408
- }>;
1409
- availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
1410
- status: z.ZodLiteral<"available">;
1411
- value: z.ZodNumber;
1412
- }, z.core.$strict>, z.ZodObject<{
1413
- status: z.ZodLiteral<"unavailable">;
1414
- reason: z.ZodEnum<{
1415
- not_applicable: "not_applicable";
1416
- not_recorded: "not_recorded";
1417
- privacy_redacted: "privacy_redacted";
1418
- provider_unavailable: "provider_unavailable";
1419
- unreconciled: "unreconciled";
1420
- }>;
1421
- }, z.core.$strict>], "status">;
1422
- }, z.core.$strict>>;
1423
- flowLedgerClaims: z.ZodArray<z.ZodObject<{
1424
- metric: z.ZodEnum<{
1425
- abandoned_session_count: "abandoned_session_count";
1426
- accepted_blocker_count: "accepted_blocker_count";
1427
- cache_read_token_count: "cache_read_token_count";
1428
- child_flow_status_call_count: "child_flow_status_call_count";
1429
- child_flow_status_result_character_count: "child_flow_status_result_character_count";
1430
- child_session_count: "child_session_count";
1431
- compaction_count: "compaction_count";
1432
- completion_schema_failure_count: "completion_schema_failure_count";
1433
- completion_submission_count: "completion_submission_count";
1434
- declared_worker_count: "declared_worker_count";
1435
- duplicate_finding_count: "duplicate_finding_count";
1436
- evidence_only_rerun_count: "evidence_only_rerun_count";
1437
- failed_review_attempt_count: "failed_review_attempt_count";
1438
- feature_reset_count: "feature_reset_count";
1439
- flow_tool_call_count: "flow_tool_call_count";
1440
- flow_tool_result_character_count: "flow_tool_result_character_count";
1441
- four_invocation_character_count: "four_invocation_character_count";
1442
- input_token_count: "input_token_count";
1443
- invalid_reviewer_payload_count: "invalid_reviewer_payload_count";
1444
- live_prompt_character_count: "live_prompt_character_count";
1445
- live_prompt_estimated_token_count: "live_prompt_estimated_token_count";
1446
- message_error_count: "message_error_count";
1447
- output_token_count: "output_token_count";
1448
- prompt_character_count: "prompt_character_count";
1449
- recovery_count: "recovery_count";
1450
- result_character_count: "result_character_count";
1451
- review_assignment_attempt_count: "review_assignment_attempt_count";
1452
- review_attempt_count: "review_attempt_count";
1453
- review_packet_file_count: "review_packet_file_count";
1454
- review_packet_line_count: "review_packet_line_count";
1455
- reviewer_child_session_count: "reviewer_child_session_count";
1456
- reviewer_dispatch_count: "reviewer_dispatch_count";
1457
- reviewer_execution_count: "reviewer_execution_count";
1458
- reviewer_input_share_basis_points: "reviewer_input_share_basis_points";
1459
- root_flow_tool_call_count: "root_flow_tool_call_count";
1460
- root_flow_tool_result_character_count: "root_flow_tool_result_character_count";
1461
- scenario_count: "scenario_count";
1462
- schema_rejection_count: "schema_rejection_count";
1463
- session_count: "session_count";
1464
- terminal_decision_count: "terminal_decision_count";
1465
- tool_error_count: "tool_error_count";
1466
- tool_latency_p50_ms: "tool_latency_p50_ms";
1467
- tool_latency_p95_ms: "tool_latency_p95_ms";
1468
- tool_latency_total_ms: "tool_latency_total_ms";
1469
- tool_part_count: "tool_part_count";
1470
- validation_failure_count: "validation_failure_count";
1471
- }>;
1472
- availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
1473
- status: z.ZodLiteral<"available">;
1474
- value: z.ZodNumber;
1475
- }, z.core.$strict>, z.ZodObject<{
1476
- status: z.ZodLiteral<"unavailable">;
1477
- reason: z.ZodEnum<{
1478
- not_applicable: "not_applicable";
1479
- not_recorded: "not_recorded";
1480
- privacy_redacted: "privacy_redacted";
1481
- provider_unavailable: "provider_unavailable";
1482
- unreconciled: "unreconciled";
1483
- }>;
1484
- }, z.core.$strict>], "status">;
1485
- }, z.core.$strict>>;
1486
- suppliedObservations: z.ZodArray<z.ZodObject<{
1487
- metric: z.ZodEnum<{
1488
- abandoned_session_count: "abandoned_session_count";
1489
- accepted_blocker_count: "accepted_blocker_count";
1490
- cache_read_token_count: "cache_read_token_count";
1491
- child_flow_status_call_count: "child_flow_status_call_count";
1492
- child_flow_status_result_character_count: "child_flow_status_result_character_count";
1493
- child_session_count: "child_session_count";
1494
- compaction_count: "compaction_count";
1495
- completion_schema_failure_count: "completion_schema_failure_count";
1496
- completion_submission_count: "completion_submission_count";
1497
- declared_worker_count: "declared_worker_count";
1498
- duplicate_finding_count: "duplicate_finding_count";
1499
- evidence_only_rerun_count: "evidence_only_rerun_count";
1500
- failed_review_attempt_count: "failed_review_attempt_count";
1501
- feature_reset_count: "feature_reset_count";
1502
- flow_tool_call_count: "flow_tool_call_count";
1503
- flow_tool_result_character_count: "flow_tool_result_character_count";
1504
- four_invocation_character_count: "four_invocation_character_count";
1505
- input_token_count: "input_token_count";
1506
- invalid_reviewer_payload_count: "invalid_reviewer_payload_count";
1507
- live_prompt_character_count: "live_prompt_character_count";
1508
- live_prompt_estimated_token_count: "live_prompt_estimated_token_count";
1509
- message_error_count: "message_error_count";
1510
- output_token_count: "output_token_count";
1511
- prompt_character_count: "prompt_character_count";
1512
- recovery_count: "recovery_count";
1513
- result_character_count: "result_character_count";
1514
- review_assignment_attempt_count: "review_assignment_attempt_count";
1515
- review_attempt_count: "review_attempt_count";
1516
- review_packet_file_count: "review_packet_file_count";
1517
- review_packet_line_count: "review_packet_line_count";
1518
- reviewer_child_session_count: "reviewer_child_session_count";
1519
- reviewer_dispatch_count: "reviewer_dispatch_count";
1520
- reviewer_execution_count: "reviewer_execution_count";
1521
- reviewer_input_share_basis_points: "reviewer_input_share_basis_points";
1522
- root_flow_tool_call_count: "root_flow_tool_call_count";
1523
- root_flow_tool_result_character_count: "root_flow_tool_result_character_count";
1524
- scenario_count: "scenario_count";
1525
- schema_rejection_count: "schema_rejection_count";
1526
- session_count: "session_count";
1527
- terminal_decision_count: "terminal_decision_count";
1528
- tool_error_count: "tool_error_count";
1529
- tool_latency_p50_ms: "tool_latency_p50_ms";
1530
- tool_latency_p95_ms: "tool_latency_p95_ms";
1531
- tool_latency_total_ms: "tool_latency_total_ms";
1532
- tool_part_count: "tool_part_count";
1533
- validation_failure_count: "validation_failure_count";
1534
- }>;
1535
- availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
1536
- status: z.ZodLiteral<"available">;
1537
- value: z.ZodNumber;
1538
- }, z.core.$strict>, z.ZodObject<{
1539
- status: z.ZodLiteral<"unavailable">;
1540
- reason: z.ZodEnum<{
1541
- not_applicable: "not_applicable";
1542
- not_recorded: "not_recorded";
1543
- privacy_redacted: "privacy_redacted";
1544
- provider_unavailable: "provider_unavailable";
1545
- unreconciled: "unreconciled";
1546
- }>;
1547
- }, z.core.$strict>], "status">;
1548
- }, z.core.$strict>>;
1549
- replayDerivedFacts: z.ZodArray<z.ZodObject<{
1550
- metric: z.ZodEnum<{
1551
- abandoned_session_count: "abandoned_session_count";
1552
- accepted_blocker_count: "accepted_blocker_count";
1553
- cache_read_token_count: "cache_read_token_count";
1554
- child_flow_status_call_count: "child_flow_status_call_count";
1555
- child_flow_status_result_character_count: "child_flow_status_result_character_count";
1556
- child_session_count: "child_session_count";
1557
- compaction_count: "compaction_count";
1558
- completion_schema_failure_count: "completion_schema_failure_count";
1559
- completion_submission_count: "completion_submission_count";
1560
- declared_worker_count: "declared_worker_count";
1561
- duplicate_finding_count: "duplicate_finding_count";
1562
- evidence_only_rerun_count: "evidence_only_rerun_count";
1563
- failed_review_attempt_count: "failed_review_attempt_count";
1564
- feature_reset_count: "feature_reset_count";
1565
- flow_tool_call_count: "flow_tool_call_count";
1566
- flow_tool_result_character_count: "flow_tool_result_character_count";
1567
- four_invocation_character_count: "four_invocation_character_count";
1568
- input_token_count: "input_token_count";
1569
- invalid_reviewer_payload_count: "invalid_reviewer_payload_count";
1570
- live_prompt_character_count: "live_prompt_character_count";
1571
- live_prompt_estimated_token_count: "live_prompt_estimated_token_count";
1572
- message_error_count: "message_error_count";
1573
- output_token_count: "output_token_count";
1574
- prompt_character_count: "prompt_character_count";
1575
- recovery_count: "recovery_count";
1576
- result_character_count: "result_character_count";
1577
- review_assignment_attempt_count: "review_assignment_attempt_count";
1578
- review_attempt_count: "review_attempt_count";
1579
- review_packet_file_count: "review_packet_file_count";
1580
- review_packet_line_count: "review_packet_line_count";
1581
- reviewer_child_session_count: "reviewer_child_session_count";
1582
- reviewer_dispatch_count: "reviewer_dispatch_count";
1583
- reviewer_execution_count: "reviewer_execution_count";
1584
- reviewer_input_share_basis_points: "reviewer_input_share_basis_points";
1585
- root_flow_tool_call_count: "root_flow_tool_call_count";
1586
- root_flow_tool_result_character_count: "root_flow_tool_result_character_count";
1587
- scenario_count: "scenario_count";
1588
- schema_rejection_count: "schema_rejection_count";
1589
- session_count: "session_count";
1590
- terminal_decision_count: "terminal_decision_count";
1591
- tool_error_count: "tool_error_count";
1592
- tool_latency_p50_ms: "tool_latency_p50_ms";
1593
- tool_latency_p95_ms: "tool_latency_p95_ms";
1594
- tool_latency_total_ms: "tool_latency_total_ms";
1595
- tool_part_count: "tool_part_count";
1596
- validation_failure_count: "validation_failure_count";
1597
- }>;
1598
- availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
1599
- status: z.ZodLiteral<"available">;
1600
- value: z.ZodNumber;
1601
- }, z.core.$strict>, z.ZodObject<{
1602
- status: z.ZodLiteral<"unavailable">;
1603
- reason: z.ZodEnum<{
1604
- not_applicable: "not_applicable";
1605
- not_recorded: "not_recorded";
1606
- privacy_redacted: "privacy_redacted";
1607
- provider_unavailable: "provider_unavailable";
1608
- unreconciled: "unreconciled";
1609
- }>;
1610
- }, z.core.$strict>], "status">;
1611
- }, z.core.$strict>>;
1612
- scenarios: z.ZodArray<z.ZodObject<{
1613
- id: z.ZodEnum<{
1614
- active_final_feature_awaiting_review: "active_final_feature_awaiting_review";
1615
- contradictory_feature_final_verdicts: "contradictory_feature_final_verdicts";
1616
- crash_replay_around_mutation: "crash_replay_around_mutation";
1617
- empty_or_malformed_handoff: "empty_or_malformed_handoff";
1618
- failed_to_passed_retry: "failed_to_passed_retry";
1619
- malformed_optional_telemetry: "malformed_optional_telemetry";
1620
- stale_validation: "stale_validation";
1621
- unchanged_finding_retry: "unchanged_finding_retry";
1622
- unsubmitted_review_failure: "unsubmitted_review_failure";
1623
- }>;
1624
- sessionId: z.ZodString;
1625
- initialStateDigest: z.ZodString;
1626
- controlDefects: z.ZodArray<z.ZodEnum<{
1627
- active_final_false_block: "active_final_false_block";
1628
- contradictory_verdict_not_reconciled: "contradictory_verdict_not_reconciled";
1629
- handoff_not_runtime_validated: "handoff_not_runtime_validated";
1630
- logical_pass_retry_not_correlated: "logical_pass_retry_not_correlated";
1631
- malformed_telemetry_masks_review: "malformed_telemetry_masks_review";
1632
- mutation_recovery_not_idempotent: "mutation_recovery_not_idempotent";
1633
- stale_validation_not_snapshot_bound: "stale_validation_not_snapshot_bound";
1634
- unchanged_finding_not_deduplicated: "unchanged_finding_not_deduplicated";
1635
- unsubmitted_review_failure_not_counted: "unsubmitted_review_failure_not_counted";
1636
- }>>;
1637
- events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1638
- seq: z.ZodNumber;
1639
- atMs: z.ZodNumber;
1640
- source: z.ZodEnum<{
1641
- flow_ledger: "flow_ledger";
1642
- host_metadata: "host_metadata";
1643
- replay_derived: "replay_derived";
1644
- supplied_observation: "supplied_observation";
1645
- }>;
1646
- kind: z.ZodLiteral<"session_state">;
1647
- sessionId: z.ZodString;
1648
- revision: z.ZodNumber;
1649
- sessionStatus: z.ZodEnum<{
1650
- blocked: "blocked";
1651
- completed: "completed";
1652
- planning: "planning";
1653
- ready: "ready";
1654
- running: "running";
1655
- }>;
1656
- featureStatus: z.ZodEnum<{
1657
- blocked: "blocked";
1658
- completed: "completed";
1659
- in_progress: "in_progress";
1660
- pending: "pending";
1661
- }>;
1662
- stateDigest: z.ZodString;
1663
- }, z.core.$strict>, z.ZodObject<{
1664
- seq: z.ZodNumber;
1665
- atMs: z.ZodNumber;
1666
- source: z.ZodEnum<{
1667
- flow_ledger: "flow_ledger";
1668
- host_metadata: "host_metadata";
1669
- replay_derived: "replay_derived";
1670
- supplied_observation: "supplied_observation";
1671
- }>;
1672
- kind: z.ZodLiteral<"validation">;
1673
- operationId: z.ZodString;
1674
- evidenceRef: z.ZodString;
1675
- snapshotId: z.ZodString;
1676
- revision: z.ZodNumber;
1677
- scope: z.ZodEnum<{
1678
- broad: "broad";
1679
- targeted: "targeted";
1680
- }>;
1681
- status: z.ZodEnum<{
1682
- failed: "failed";
1683
- passed: "passed";
1684
- }>;
1685
- freshness: z.ZodEnum<{
1686
- current: "current";
1687
- stale: "stale";
1688
- unknown: "unknown";
1689
- }>;
1690
- latencyMs: z.ZodDiscriminatedUnion<[z.ZodObject<{
1691
- status: z.ZodLiteral<"available">;
1692
- value: z.ZodNumber;
1693
- }, z.core.$strict>, z.ZodObject<{
1694
- status: z.ZodLiteral<"unavailable">;
1695
- reason: z.ZodEnum<{
1696
- not_applicable: "not_applicable";
1697
- not_recorded: "not_recorded";
1698
- privacy_redacted: "privacy_redacted";
1699
- provider_unavailable: "provider_unavailable";
1700
- unreconciled: "unreconciled";
1701
- }>;
1702
- }, z.core.$strict>], "status">;
1703
- }, z.core.$strict>, z.ZodObject<{
1704
- seq: z.ZodNumber;
1705
- atMs: z.ZodNumber;
1706
- source: z.ZodEnum<{
1707
- flow_ledger: "flow_ledger";
1708
- host_metadata: "host_metadata";
1709
- replay_derived: "replay_derived";
1710
- supplied_observation: "supplied_observation";
1711
- }>;
1712
- operationId: z.ZodString;
1713
- workerId: z.ZodString;
1714
- role: z.ZodEnum<{
1715
- feature_reviewer: "feature_reviewer";
1716
- final_reviewer: "final_reviewer";
1717
- host: "host";
1718
- implementation_worker: "implementation_worker";
1719
- root_manager: "root_manager";
1720
- verifier: "verifier";
1721
- }>;
1722
- modelClass: z.ZodEnum<{
1723
- manager: "manager";
1724
- reviewer: "reviewer";
1725
- unknown: "unknown";
1726
- verifier: "verifier";
1727
- worker: "worker";
1728
- }>;
1729
- attemptId: z.ZodString;
1730
- logicalPassId: z.ZodString;
1731
- snapshotId: z.ZodString;
1732
- evidenceRef: z.ZodString;
1733
- verdict: z.ZodEnum<{
1734
- failed: "failed";
1735
- passed: "passed";
1736
- }>;
1737
- submitted: z.ZodBoolean;
1738
- findingFingerprints: z.ZodArray<z.ZodString>;
1739
- duplicateFindingCount: z.ZodNumber;
1740
- kind: z.ZodLiteral<"feature_review_attempt">;
1741
- }, z.core.$strict>, z.ZodObject<{
1742
- seq: z.ZodNumber;
1743
- atMs: z.ZodNumber;
1744
- source: z.ZodEnum<{
1745
- flow_ledger: "flow_ledger";
1746
- host_metadata: "host_metadata";
1747
- replay_derived: "replay_derived";
1748
- supplied_observation: "supplied_observation";
1749
- }>;
1750
- operationId: z.ZodString;
1751
- workerId: z.ZodString;
1752
- role: z.ZodEnum<{
1753
- feature_reviewer: "feature_reviewer";
1754
- final_reviewer: "final_reviewer";
1755
- host: "host";
1756
- implementation_worker: "implementation_worker";
1757
- root_manager: "root_manager";
1758
- verifier: "verifier";
1759
- }>;
1760
- modelClass: z.ZodEnum<{
1761
- manager: "manager";
1762
- reviewer: "reviewer";
1763
- unknown: "unknown";
1764
- verifier: "verifier";
1765
- worker: "worker";
1766
- }>;
1767
- attemptId: z.ZodString;
1768
- logicalPassId: z.ZodString;
1769
- snapshotId: z.ZodString;
1770
- evidenceRef: z.ZodString;
1771
- verdict: z.ZodEnum<{
1772
- failed: "failed";
1773
- passed: "passed";
1774
- }>;
1775
- submitted: z.ZodBoolean;
1776
- findingFingerprints: z.ZodArray<z.ZodString>;
1777
- duplicateFindingCount: z.ZodNumber;
1778
- kind: z.ZodLiteral<"final_review_attempt">;
1779
- }, z.core.$strict>, z.ZodObject<{
1780
- seq: z.ZodNumber;
1781
- atMs: z.ZodNumber;
1782
- source: z.ZodEnum<{
1783
- flow_ledger: "flow_ledger";
1784
- host_metadata: "host_metadata";
1785
- replay_derived: "replay_derived";
1786
- supplied_observation: "supplied_observation";
1787
- }>;
1788
- operationId: z.ZodString;
1789
- workerId: z.ZodString;
1790
- role: z.ZodEnum<{
1791
- feature_reviewer: "feature_reviewer";
1792
- final_reviewer: "final_reviewer";
1793
- host: "host";
1794
- implementation_worker: "implementation_worker";
1795
- root_manager: "root_manager";
1796
- verifier: "verifier";
1797
- }>;
1798
- modelClass: z.ZodEnum<{
1799
- manager: "manager";
1800
- reviewer: "reviewer";
1801
- unknown: "unknown";
1802
- verifier: "verifier";
1803
- worker: "worker";
1804
- }>;
1805
- kind: z.ZodLiteral<"handoff_validity">;
1806
- status: z.ZodEnum<{
1807
- empty: "empty";
1808
- malformed: "malformed";
1809
- valid: "valid";
1810
- }>;
1811
- evidenceRef: z.ZodString;
1812
- }, z.core.$strict>, z.ZodObject<{
1813
- seq: z.ZodNumber;
1814
- atMs: z.ZodNumber;
1815
- source: z.ZodEnum<{
1816
- flow_ledger: "flow_ledger";
1817
- host_metadata: "host_metadata";
1818
- replay_derived: "replay_derived";
1819
- supplied_observation: "supplied_observation";
1820
- }>;
1821
- kind: z.ZodLiteral<"telemetry_validity">;
1822
- operationId: z.ZodString;
1823
- status: z.ZodEnum<{
1824
- malformed: "malformed";
1825
- unavailable: "unavailable";
1826
- valid: "valid";
1827
- }>;
1828
- declaredWorkerCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1829
- status: z.ZodLiteral<"available">;
1830
- value: z.ZodNumber;
1831
- }, z.core.$strict>, z.ZodObject<{
1832
- status: z.ZodLiteral<"unavailable">;
1833
- reason: z.ZodEnum<{
1834
- not_applicable: "not_applicable";
1835
- not_recorded: "not_recorded";
1836
- privacy_redacted: "privacy_redacted";
1837
- provider_unavailable: "provider_unavailable";
1838
- unreconciled: "unreconciled";
1839
- }>;
1840
- }, z.core.$strict>], "status">;
1841
- }, z.core.$strict>, z.ZodObject<{
1842
- seq: z.ZodNumber;
1843
- atMs: z.ZodNumber;
1844
- source: z.ZodEnum<{
1845
- flow_ledger: "flow_ledger";
1846
- host_metadata: "host_metadata";
1847
- replay_derived: "replay_derived";
1848
- supplied_observation: "supplied_observation";
1849
- }>;
1850
- operationId: z.ZodString;
1851
- workerId: z.ZodString;
1852
- role: z.ZodEnum<{
1853
- feature_reviewer: "feature_reviewer";
1854
- final_reviewer: "final_reviewer";
1855
- host: "host";
1856
- implementation_worker: "implementation_worker";
1857
- root_manager: "root_manager";
1858
- verifier: "verifier";
1859
- }>;
1860
- modelClass: z.ZodEnum<{
1861
- manager: "manager";
1862
- reviewer: "reviewer";
1863
- unknown: "unknown";
1864
- verifier: "verifier";
1865
- worker: "worker";
1866
- }>;
1867
- kind: z.ZodLiteral<"operation_metrics">;
1868
- latencyMs: z.ZodDiscriminatedUnion<[z.ZodObject<{
1869
- status: z.ZodLiteral<"available">;
1870
- value: z.ZodNumber;
1871
- }, z.core.$strict>, z.ZodObject<{
1872
- status: z.ZodLiteral<"unavailable">;
1873
- reason: z.ZodEnum<{
1874
- not_applicable: "not_applicable";
1875
- not_recorded: "not_recorded";
1876
- privacy_redacted: "privacy_redacted";
1877
- provider_unavailable: "provider_unavailable";
1878
- unreconciled: "unreconciled";
1879
- }>;
1880
- }, z.core.$strict>], "status">;
1881
- inputTokenCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1882
- status: z.ZodLiteral<"available">;
1883
- value: z.ZodNumber;
1884
- }, z.core.$strict>, z.ZodObject<{
1885
- status: z.ZodLiteral<"unavailable">;
1886
- reason: z.ZodEnum<{
1887
- not_applicable: "not_applicable";
1888
- not_recorded: "not_recorded";
1889
- privacy_redacted: "privacy_redacted";
1890
- provider_unavailable: "provider_unavailable";
1891
- unreconciled: "unreconciled";
1892
- }>;
1893
- }, z.core.$strict>], "status">;
1894
- cacheReadTokenCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1895
- status: z.ZodLiteral<"available">;
1896
- value: z.ZodNumber;
1897
- }, z.core.$strict>, z.ZodObject<{
1898
- status: z.ZodLiteral<"unavailable">;
1899
- reason: z.ZodEnum<{
1900
- not_applicable: "not_applicable";
1901
- not_recorded: "not_recorded";
1902
- privacy_redacted: "privacy_redacted";
1903
- provider_unavailable: "provider_unavailable";
1904
- unreconciled: "unreconciled";
1905
- }>;
1906
- }, z.core.$strict>], "status">;
1907
- outputTokenCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1908
- status: z.ZodLiteral<"available">;
1909
- value: z.ZodNumber;
1910
- }, z.core.$strict>, z.ZodObject<{
1911
- status: z.ZodLiteral<"unavailable">;
1912
- reason: z.ZodEnum<{
1913
- not_applicable: "not_applicable";
1914
- not_recorded: "not_recorded";
1915
- privacy_redacted: "privacy_redacted";
1916
- provider_unavailable: "provider_unavailable";
1917
- unreconciled: "unreconciled";
1918
- }>;
1919
- }, z.core.$strict>], "status">;
1920
- promptCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1921
- status: z.ZodLiteral<"available">;
1922
- value: z.ZodNumber;
1923
- }, z.core.$strict>, z.ZodObject<{
1924
- status: z.ZodLiteral<"unavailable">;
1925
- reason: z.ZodEnum<{
1926
- not_applicable: "not_applicable";
1927
- not_recorded: "not_recorded";
1928
- privacy_redacted: "privacy_redacted";
1929
- provider_unavailable: "provider_unavailable";
1930
- unreconciled: "unreconciled";
1931
- }>;
1932
- }, z.core.$strict>], "status">;
1933
- resultCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1934
- status: z.ZodLiteral<"available">;
1935
- value: z.ZodNumber;
1936
- }, z.core.$strict>, z.ZodObject<{
1937
- status: z.ZodLiteral<"unavailable">;
1938
- reason: z.ZodEnum<{
1939
- not_applicable: "not_applicable";
1940
- not_recorded: "not_recorded";
1941
- privacy_redacted: "privacy_redacted";
1942
- provider_unavailable: "provider_unavailable";
1943
- unreconciled: "unreconciled";
1944
- }>;
1945
- }, z.core.$strict>], "status">;
1946
- }, z.core.$strict>, z.ZodObject<{
1947
- seq: z.ZodNumber;
1948
- atMs: z.ZodNumber;
1949
- source: z.ZodEnum<{
1950
- flow_ledger: "flow_ledger";
1951
- host_metadata: "host_metadata";
1952
- replay_derived: "replay_derived";
1953
- supplied_observation: "supplied_observation";
1954
- }>;
1955
- kind: z.ZodLiteral<"retry_finding_delta">;
1956
- operationId: z.ZodString;
1957
- logicalPassId: z.ZodString;
1958
- previousAttemptId: z.ZodString;
1959
- currentAttemptId: z.ZodString;
1960
- delta: z.ZodEnum<{
1961
- changed: "changed";
1962
- resolved: "resolved";
1963
- unchanged: "unchanged";
1964
- }>;
1965
- previousFindingCount: z.ZodNumber;
1966
- currentFindingCount: z.ZodNumber;
1967
- duplicateFindingCount: z.ZodNumber;
1968
- }, z.core.$strict>, z.ZodObject<{
1969
- seq: z.ZodNumber;
1970
- atMs: z.ZodNumber;
1971
- source: z.ZodEnum<{
1972
- flow_ledger: "flow_ledger";
1973
- host_metadata: "host_metadata";
1974
- replay_derived: "replay_derived";
1975
- supplied_observation: "supplied_observation";
1976
- }>;
1977
- kind: z.ZodLiteral<"compaction">;
1978
- operationId: z.ZodString;
1979
- beforeCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1980
- status: z.ZodLiteral<"available">;
1981
- value: z.ZodNumber;
1982
- }, z.core.$strict>, z.ZodObject<{
1983
- status: z.ZodLiteral<"unavailable">;
1984
- reason: z.ZodEnum<{
1985
- not_applicable: "not_applicable";
1986
- not_recorded: "not_recorded";
1987
- privacy_redacted: "privacy_redacted";
1988
- provider_unavailable: "provider_unavailable";
1989
- unreconciled: "unreconciled";
1990
- }>;
1991
- }, z.core.$strict>], "status">;
1992
- afterCharacterCount: z.ZodDiscriminatedUnion<[z.ZodObject<{
1993
- status: z.ZodLiteral<"available">;
1994
- value: z.ZodNumber;
1995
- }, z.core.$strict>, z.ZodObject<{
1996
- status: z.ZodLiteral<"unavailable">;
1997
- reason: z.ZodEnum<{
1998
- not_applicable: "not_applicable";
1999
- not_recorded: "not_recorded";
2000
- privacy_redacted: "privacy_redacted";
2001
- provider_unavailable: "provider_unavailable";
2002
- unreconciled: "unreconciled";
2003
- }>;
2004
- }, z.core.$strict>], "status">;
2005
- }, z.core.$strict>, z.ZodObject<{
2006
- seq: z.ZodNumber;
2007
- atMs: z.ZodNumber;
2008
- source: z.ZodEnum<{
2009
- flow_ledger: "flow_ledger";
2010
- host_metadata: "host_metadata";
2011
- replay_derived: "replay_derived";
2012
- supplied_observation: "supplied_observation";
2013
- }>;
2014
- kind: z.ZodLiteral<"schema_failure">;
2015
- operationId: z.ZodString;
2016
- target: z.ZodEnum<{
2017
- completion: "completion";
2018
- durable_state: "durable_state";
2019
- handoff: "handoff";
2020
- telemetry: "telemetry";
2021
- }>;
2022
- failure: z.ZodEnum<{
2023
- extra_field: "extra_field";
2024
- invalid_type: "invalid_type";
2025
- invalid_value: "invalid_value";
2026
- missing_field: "missing_field";
2027
- }>;
2028
- }, z.core.$strict>, z.ZodObject<{
2029
- seq: z.ZodNumber;
2030
- atMs: z.ZodNumber;
2031
- source: z.ZodEnum<{
2032
- flow_ledger: "flow_ledger";
2033
- host_metadata: "host_metadata";
2034
- replay_derived: "replay_derived";
2035
- supplied_observation: "supplied_observation";
2036
- }>;
2037
- kind: z.ZodLiteral<"mutation_start">;
2038
- operationId: z.ZodString;
2039
- mutationId: z.ZodString;
2040
- baseRevision: z.ZodNumber;
2041
- inputDigest: z.ZodString;
2042
- }, z.core.$strict>, z.ZodObject<{
2043
- seq: z.ZodNumber;
2044
- atMs: z.ZodNumber;
2045
- source: z.ZodEnum<{
2046
- flow_ledger: "flow_ledger";
2047
- host_metadata: "host_metadata";
2048
- replay_derived: "replay_derived";
2049
- supplied_observation: "supplied_observation";
2050
- }>;
2051
- kind: z.ZodLiteral<"mutation_commit">;
2052
- operationId: z.ZodString;
2053
- mutationId: z.ZodString;
2054
- revision: z.ZodNumber;
2055
- stateDigest: z.ZodString;
2056
- }, z.core.$strict>, z.ZodObject<{
2057
- seq: z.ZodNumber;
2058
- atMs: z.ZodNumber;
2059
- source: z.ZodEnum<{
2060
- flow_ledger: "flow_ledger";
2061
- host_metadata: "host_metadata";
2062
- replay_derived: "replay_derived";
2063
- supplied_observation: "supplied_observation";
2064
- }>;
2065
- kind: z.ZodLiteral<"mutation_crash">;
2066
- operationId: z.ZodString;
2067
- mutationId: z.ZodString;
2068
- phase: z.ZodEnum<{
2069
- after_commit: "after_commit";
2070
- after_write_before_commit: "after_write_before_commit";
2071
- before_write: "before_write";
2072
- }>;
2073
- }, z.core.$strict>, z.ZodObject<{
2074
- seq: z.ZodNumber;
2075
- atMs: z.ZodNumber;
2076
- source: z.ZodEnum<{
2077
- flow_ledger: "flow_ledger";
2078
- host_metadata: "host_metadata";
2079
- replay_derived: "replay_derived";
2080
- supplied_observation: "supplied_observation";
2081
- }>;
2082
- kind: z.ZodLiteral<"mutation_recovery">;
2083
- operationId: z.ZodString;
2084
- mutationId: z.ZodString;
2085
- status: z.ZodEnum<{
2086
- commit_reused: "commit_reused";
2087
- reapplied: "reapplied";
2088
- rolled_back: "rolled_back";
2089
- }>;
2090
- revision: z.ZodNumber;
2091
- stateDigest: z.ZodString;
2092
- }, z.core.$strict>, z.ZodObject<{
2093
- seq: z.ZodNumber;
2094
- atMs: z.ZodNumber;
2095
- source: z.ZodEnum<{
2096
- flow_ledger: "flow_ledger";
2097
- host_metadata: "host_metadata";
2098
- replay_derived: "replay_derived";
2099
- supplied_observation: "supplied_observation";
2100
- }>;
2101
- kind: z.ZodLiteral<"terminal_decision">;
2102
- decision: z.ZodEnum<{
2103
- blocked: "blocked";
2104
- complete: "complete";
2105
- failed: "failed";
2106
- recovered: "recovered";
2107
- retry: "retry";
2108
- }>;
2109
- reason: z.ZodEnum<{
2110
- active_final_feature_in_progress: "active_final_feature_in_progress";
2111
- all_gates_passed: "all_gates_passed";
2112
- contradictory_review_verdicts: "contradictory_review_verdicts";
2113
- finding_unchanged: "finding_unchanged";
2114
- handoff_invalid: "handoff_invalid";
2115
- mutation_incomplete: "mutation_incomplete";
2116
- mutation_recovered: "mutation_recovered";
2117
- optional_telemetry_malformed: "optional_telemetry_malformed";
2118
- review_failed: "review_failed";
2119
- review_failure_unsubmitted: "review_failure_unsubmitted";
2120
- review_retry_passed: "review_retry_passed";
2121
- schema_invalid: "schema_invalid";
2122
- validation_stale: "validation_stale";
2123
- }>;
2124
- revision: z.ZodNumber;
2125
- stateDigest: z.ZodString;
2126
- evidenceRefs: z.ZodArray<z.ZodString>;
2127
- }, z.core.$strict>], "kind">>;
2128
- }, z.core.$strict>>;
2129
- }, z.core.$strict>;
2130
- export type ReplayFixture = z.infer<typeof ReplayFixtureSchema>;