@nt-ai-lab/deterministic-agent-workflow-engine 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1349 @@
1
+ import { z } from 'zod';
2
+ export declare const reflectionCategorySchema: z.ZodEnum<["state-efficiency", "review-rework", "quality-gates", "tooling", "workflow-design"]>;
3
+ export declare const reflectionConfidenceSchema: z.ZodEnum<["low", "medium", "high"]>;
4
+ export declare const reflectionEvidenceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5
+ label: z.ZodOptional<z.ZodString>;
6
+ } & {
7
+ kind: z.ZodLiteral<"state-period">;
8
+ state: z.ZodString;
9
+ startedAt: z.ZodOptional<z.ZodString>;
10
+ endedAt: z.ZodOptional<z.ZodString>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ kind: "state-period";
13
+ state: string;
14
+ label?: string | undefined;
15
+ startedAt?: string | undefined;
16
+ endedAt?: string | undefined;
17
+ }, {
18
+ kind: "state-period";
19
+ state: string;
20
+ label?: string | undefined;
21
+ startedAt?: string | undefined;
22
+ endedAt?: string | undefined;
23
+ }>, z.ZodObject<{
24
+ label: z.ZodOptional<z.ZodString>;
25
+ } & {
26
+ kind: z.ZodLiteral<"event">;
27
+ seq: z.ZodNumber;
28
+ }, "strip", z.ZodTypeAny, {
29
+ kind: "event";
30
+ seq: number;
31
+ label?: string | undefined;
32
+ }, {
33
+ kind: "event";
34
+ seq: number;
35
+ label?: string | undefined;
36
+ }>, z.ZodObject<{
37
+ label: z.ZodOptional<z.ZodString>;
38
+ } & {
39
+ kind: z.ZodLiteral<"event-range">;
40
+ startSeq: z.ZodNumber;
41
+ endSeq: z.ZodNumber;
42
+ }, "strip", z.ZodTypeAny, {
43
+ kind: "event-range";
44
+ startSeq: number;
45
+ endSeq: number;
46
+ label?: string | undefined;
47
+ }, {
48
+ kind: "event-range";
49
+ startSeq: number;
50
+ endSeq: number;
51
+ label?: string | undefined;
52
+ }>, z.ZodObject<{
53
+ label: z.ZodOptional<z.ZodString>;
54
+ } & {
55
+ kind: z.ZodLiteral<"journal-entry">;
56
+ at: z.ZodString;
57
+ agentName: z.ZodOptional<z.ZodString>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ at: string;
60
+ kind: "journal-entry";
61
+ label?: string | undefined;
62
+ agentName?: string | undefined;
63
+ }, {
64
+ at: string;
65
+ kind: "journal-entry";
66
+ label?: string | undefined;
67
+ agentName?: string | undefined;
68
+ }>, z.ZodObject<{
69
+ label: z.ZodOptional<z.ZodString>;
70
+ } & {
71
+ kind: z.ZodLiteral<"transcript-range">;
72
+ startIndex: z.ZodNumber;
73
+ endIndex: z.ZodNumber;
74
+ }, "strip", z.ZodTypeAny, {
75
+ kind: "transcript-range";
76
+ startIndex: number;
77
+ endIndex: number;
78
+ label?: string | undefined;
79
+ }, {
80
+ kind: "transcript-range";
81
+ startIndex: number;
82
+ endIndex: number;
83
+ label?: string | undefined;
84
+ }>, z.ZodObject<{
85
+ label: z.ZodOptional<z.ZodString>;
86
+ } & {
87
+ kind: z.ZodLiteral<"tool-activity">;
88
+ state: z.ZodOptional<z.ZodString>;
89
+ toolName: z.ZodOptional<z.ZodString>;
90
+ metric: z.ZodOptional<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ kind: "tool-activity";
93
+ label?: string | undefined;
94
+ state?: string | undefined;
95
+ toolName?: string | undefined;
96
+ metric?: string | undefined;
97
+ }, {
98
+ kind: "tool-activity";
99
+ label?: string | undefined;
100
+ state?: string | undefined;
101
+ toolName?: string | undefined;
102
+ metric?: string | undefined;
103
+ }>]>;
104
+ export declare const reflectionFindingSchema: z.ZodObject<{
105
+ title: z.ZodString;
106
+ category: z.ZodEnum<["state-efficiency", "review-rework", "quality-gates", "tooling", "workflow-design"]>;
107
+ opportunity: z.ZodString;
108
+ likelyCause: z.ZodString;
109
+ suggestedChange: z.ZodString;
110
+ expectedImpact: z.ZodString;
111
+ confidence: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
112
+ evidence: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
113
+ label: z.ZodOptional<z.ZodString>;
114
+ } & {
115
+ kind: z.ZodLiteral<"state-period">;
116
+ state: z.ZodString;
117
+ startedAt: z.ZodOptional<z.ZodString>;
118
+ endedAt: z.ZodOptional<z.ZodString>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ kind: "state-period";
121
+ state: string;
122
+ label?: string | undefined;
123
+ startedAt?: string | undefined;
124
+ endedAt?: string | undefined;
125
+ }, {
126
+ kind: "state-period";
127
+ state: string;
128
+ label?: string | undefined;
129
+ startedAt?: string | undefined;
130
+ endedAt?: string | undefined;
131
+ }>, z.ZodObject<{
132
+ label: z.ZodOptional<z.ZodString>;
133
+ } & {
134
+ kind: z.ZodLiteral<"event">;
135
+ seq: z.ZodNumber;
136
+ }, "strip", z.ZodTypeAny, {
137
+ kind: "event";
138
+ seq: number;
139
+ label?: string | undefined;
140
+ }, {
141
+ kind: "event";
142
+ seq: number;
143
+ label?: string | undefined;
144
+ }>, z.ZodObject<{
145
+ label: z.ZodOptional<z.ZodString>;
146
+ } & {
147
+ kind: z.ZodLiteral<"event-range">;
148
+ startSeq: z.ZodNumber;
149
+ endSeq: z.ZodNumber;
150
+ }, "strip", z.ZodTypeAny, {
151
+ kind: "event-range";
152
+ startSeq: number;
153
+ endSeq: number;
154
+ label?: string | undefined;
155
+ }, {
156
+ kind: "event-range";
157
+ startSeq: number;
158
+ endSeq: number;
159
+ label?: string | undefined;
160
+ }>, z.ZodObject<{
161
+ label: z.ZodOptional<z.ZodString>;
162
+ } & {
163
+ kind: z.ZodLiteral<"journal-entry">;
164
+ at: z.ZodString;
165
+ agentName: z.ZodOptional<z.ZodString>;
166
+ }, "strip", z.ZodTypeAny, {
167
+ at: string;
168
+ kind: "journal-entry";
169
+ label?: string | undefined;
170
+ agentName?: string | undefined;
171
+ }, {
172
+ at: string;
173
+ kind: "journal-entry";
174
+ label?: string | undefined;
175
+ agentName?: string | undefined;
176
+ }>, z.ZodObject<{
177
+ label: z.ZodOptional<z.ZodString>;
178
+ } & {
179
+ kind: z.ZodLiteral<"transcript-range">;
180
+ startIndex: z.ZodNumber;
181
+ endIndex: z.ZodNumber;
182
+ }, "strip", z.ZodTypeAny, {
183
+ kind: "transcript-range";
184
+ startIndex: number;
185
+ endIndex: number;
186
+ label?: string | undefined;
187
+ }, {
188
+ kind: "transcript-range";
189
+ startIndex: number;
190
+ endIndex: number;
191
+ label?: string | undefined;
192
+ }>, z.ZodObject<{
193
+ label: z.ZodOptional<z.ZodString>;
194
+ } & {
195
+ kind: z.ZodLiteral<"tool-activity">;
196
+ state: z.ZodOptional<z.ZodString>;
197
+ toolName: z.ZodOptional<z.ZodString>;
198
+ metric: z.ZodOptional<z.ZodString>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ kind: "tool-activity";
201
+ label?: string | undefined;
202
+ state?: string | undefined;
203
+ toolName?: string | undefined;
204
+ metric?: string | undefined;
205
+ }, {
206
+ kind: "tool-activity";
207
+ label?: string | undefined;
208
+ state?: string | undefined;
209
+ toolName?: string | undefined;
210
+ metric?: string | undefined;
211
+ }>]>, "many">;
212
+ }, "strip", z.ZodTypeAny, {
213
+ title: string;
214
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
215
+ opportunity: string;
216
+ likelyCause: string;
217
+ suggestedChange: string;
218
+ expectedImpact: string;
219
+ evidence: ({
220
+ kind: "state-period";
221
+ state: string;
222
+ label?: string | undefined;
223
+ startedAt?: string | undefined;
224
+ endedAt?: string | undefined;
225
+ } | {
226
+ kind: "event";
227
+ seq: number;
228
+ label?: string | undefined;
229
+ } | {
230
+ kind: "event-range";
231
+ startSeq: number;
232
+ endSeq: number;
233
+ label?: string | undefined;
234
+ } | {
235
+ at: string;
236
+ kind: "journal-entry";
237
+ label?: string | undefined;
238
+ agentName?: string | undefined;
239
+ } | {
240
+ kind: "transcript-range";
241
+ startIndex: number;
242
+ endIndex: number;
243
+ label?: string | undefined;
244
+ } | {
245
+ kind: "tool-activity";
246
+ label?: string | undefined;
247
+ state?: string | undefined;
248
+ toolName?: string | undefined;
249
+ metric?: string | undefined;
250
+ })[];
251
+ confidence?: "low" | "medium" | "high" | undefined;
252
+ }, {
253
+ title: string;
254
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
255
+ opportunity: string;
256
+ likelyCause: string;
257
+ suggestedChange: string;
258
+ expectedImpact: string;
259
+ evidence: ({
260
+ kind: "state-period";
261
+ state: string;
262
+ label?: string | undefined;
263
+ startedAt?: string | undefined;
264
+ endedAt?: string | undefined;
265
+ } | {
266
+ kind: "event";
267
+ seq: number;
268
+ label?: string | undefined;
269
+ } | {
270
+ kind: "event-range";
271
+ startSeq: number;
272
+ endSeq: number;
273
+ label?: string | undefined;
274
+ } | {
275
+ at: string;
276
+ kind: "journal-entry";
277
+ label?: string | undefined;
278
+ agentName?: string | undefined;
279
+ } | {
280
+ kind: "transcript-range";
281
+ startIndex: number;
282
+ endIndex: number;
283
+ label?: string | undefined;
284
+ } | {
285
+ kind: "tool-activity";
286
+ label?: string | undefined;
287
+ state?: string | undefined;
288
+ toolName?: string | undefined;
289
+ metric?: string | undefined;
290
+ })[];
291
+ confidence?: "low" | "medium" | "high" | undefined;
292
+ }>;
293
+ export declare const reflectionPayloadSchema: z.ZodObject<{
294
+ summary: z.ZodOptional<z.ZodString>;
295
+ findings: z.ZodArray<z.ZodObject<{
296
+ title: z.ZodString;
297
+ category: z.ZodEnum<["state-efficiency", "review-rework", "quality-gates", "tooling", "workflow-design"]>;
298
+ opportunity: z.ZodString;
299
+ likelyCause: z.ZodString;
300
+ suggestedChange: z.ZodString;
301
+ expectedImpact: z.ZodString;
302
+ confidence: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
303
+ evidence: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
304
+ label: z.ZodOptional<z.ZodString>;
305
+ } & {
306
+ kind: z.ZodLiteral<"state-period">;
307
+ state: z.ZodString;
308
+ startedAt: z.ZodOptional<z.ZodString>;
309
+ endedAt: z.ZodOptional<z.ZodString>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ kind: "state-period";
312
+ state: string;
313
+ label?: string | undefined;
314
+ startedAt?: string | undefined;
315
+ endedAt?: string | undefined;
316
+ }, {
317
+ kind: "state-period";
318
+ state: string;
319
+ label?: string | undefined;
320
+ startedAt?: string | undefined;
321
+ endedAt?: string | undefined;
322
+ }>, z.ZodObject<{
323
+ label: z.ZodOptional<z.ZodString>;
324
+ } & {
325
+ kind: z.ZodLiteral<"event">;
326
+ seq: z.ZodNumber;
327
+ }, "strip", z.ZodTypeAny, {
328
+ kind: "event";
329
+ seq: number;
330
+ label?: string | undefined;
331
+ }, {
332
+ kind: "event";
333
+ seq: number;
334
+ label?: string | undefined;
335
+ }>, z.ZodObject<{
336
+ label: z.ZodOptional<z.ZodString>;
337
+ } & {
338
+ kind: z.ZodLiteral<"event-range">;
339
+ startSeq: z.ZodNumber;
340
+ endSeq: z.ZodNumber;
341
+ }, "strip", z.ZodTypeAny, {
342
+ kind: "event-range";
343
+ startSeq: number;
344
+ endSeq: number;
345
+ label?: string | undefined;
346
+ }, {
347
+ kind: "event-range";
348
+ startSeq: number;
349
+ endSeq: number;
350
+ label?: string | undefined;
351
+ }>, z.ZodObject<{
352
+ label: z.ZodOptional<z.ZodString>;
353
+ } & {
354
+ kind: z.ZodLiteral<"journal-entry">;
355
+ at: z.ZodString;
356
+ agentName: z.ZodOptional<z.ZodString>;
357
+ }, "strip", z.ZodTypeAny, {
358
+ at: string;
359
+ kind: "journal-entry";
360
+ label?: string | undefined;
361
+ agentName?: string | undefined;
362
+ }, {
363
+ at: string;
364
+ kind: "journal-entry";
365
+ label?: string | undefined;
366
+ agentName?: string | undefined;
367
+ }>, z.ZodObject<{
368
+ label: z.ZodOptional<z.ZodString>;
369
+ } & {
370
+ kind: z.ZodLiteral<"transcript-range">;
371
+ startIndex: z.ZodNumber;
372
+ endIndex: z.ZodNumber;
373
+ }, "strip", z.ZodTypeAny, {
374
+ kind: "transcript-range";
375
+ startIndex: number;
376
+ endIndex: number;
377
+ label?: string | undefined;
378
+ }, {
379
+ kind: "transcript-range";
380
+ startIndex: number;
381
+ endIndex: number;
382
+ label?: string | undefined;
383
+ }>, z.ZodObject<{
384
+ label: z.ZodOptional<z.ZodString>;
385
+ } & {
386
+ kind: z.ZodLiteral<"tool-activity">;
387
+ state: z.ZodOptional<z.ZodString>;
388
+ toolName: z.ZodOptional<z.ZodString>;
389
+ metric: z.ZodOptional<z.ZodString>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ kind: "tool-activity";
392
+ label?: string | undefined;
393
+ state?: string | undefined;
394
+ toolName?: string | undefined;
395
+ metric?: string | undefined;
396
+ }, {
397
+ kind: "tool-activity";
398
+ label?: string | undefined;
399
+ state?: string | undefined;
400
+ toolName?: string | undefined;
401
+ metric?: string | undefined;
402
+ }>]>, "many">;
403
+ }, "strip", z.ZodTypeAny, {
404
+ title: string;
405
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
406
+ opportunity: string;
407
+ likelyCause: string;
408
+ suggestedChange: string;
409
+ expectedImpact: string;
410
+ evidence: ({
411
+ kind: "state-period";
412
+ state: string;
413
+ label?: string | undefined;
414
+ startedAt?: string | undefined;
415
+ endedAt?: string | undefined;
416
+ } | {
417
+ kind: "event";
418
+ seq: number;
419
+ label?: string | undefined;
420
+ } | {
421
+ kind: "event-range";
422
+ startSeq: number;
423
+ endSeq: number;
424
+ label?: string | undefined;
425
+ } | {
426
+ at: string;
427
+ kind: "journal-entry";
428
+ label?: string | undefined;
429
+ agentName?: string | undefined;
430
+ } | {
431
+ kind: "transcript-range";
432
+ startIndex: number;
433
+ endIndex: number;
434
+ label?: string | undefined;
435
+ } | {
436
+ kind: "tool-activity";
437
+ label?: string | undefined;
438
+ state?: string | undefined;
439
+ toolName?: string | undefined;
440
+ metric?: string | undefined;
441
+ })[];
442
+ confidence?: "low" | "medium" | "high" | undefined;
443
+ }, {
444
+ title: string;
445
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
446
+ opportunity: string;
447
+ likelyCause: string;
448
+ suggestedChange: string;
449
+ expectedImpact: string;
450
+ evidence: ({
451
+ kind: "state-period";
452
+ state: string;
453
+ label?: string | undefined;
454
+ startedAt?: string | undefined;
455
+ endedAt?: string | undefined;
456
+ } | {
457
+ kind: "event";
458
+ seq: number;
459
+ label?: string | undefined;
460
+ } | {
461
+ kind: "event-range";
462
+ startSeq: number;
463
+ endSeq: number;
464
+ label?: string | undefined;
465
+ } | {
466
+ at: string;
467
+ kind: "journal-entry";
468
+ label?: string | undefined;
469
+ agentName?: string | undefined;
470
+ } | {
471
+ kind: "transcript-range";
472
+ startIndex: number;
473
+ endIndex: number;
474
+ label?: string | undefined;
475
+ } | {
476
+ kind: "tool-activity";
477
+ label?: string | undefined;
478
+ state?: string | undefined;
479
+ toolName?: string | undefined;
480
+ metric?: string | undefined;
481
+ })[];
482
+ confidence?: "low" | "medium" | "high" | undefined;
483
+ }>, "many">;
484
+ }, "strict", z.ZodTypeAny, {
485
+ findings: {
486
+ title: string;
487
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
488
+ opportunity: string;
489
+ likelyCause: string;
490
+ suggestedChange: string;
491
+ expectedImpact: string;
492
+ evidence: ({
493
+ kind: "state-period";
494
+ state: string;
495
+ label?: string | undefined;
496
+ startedAt?: string | undefined;
497
+ endedAt?: string | undefined;
498
+ } | {
499
+ kind: "event";
500
+ seq: number;
501
+ label?: string | undefined;
502
+ } | {
503
+ kind: "event-range";
504
+ startSeq: number;
505
+ endSeq: number;
506
+ label?: string | undefined;
507
+ } | {
508
+ at: string;
509
+ kind: "journal-entry";
510
+ label?: string | undefined;
511
+ agentName?: string | undefined;
512
+ } | {
513
+ kind: "transcript-range";
514
+ startIndex: number;
515
+ endIndex: number;
516
+ label?: string | undefined;
517
+ } | {
518
+ kind: "tool-activity";
519
+ label?: string | undefined;
520
+ state?: string | undefined;
521
+ toolName?: string | undefined;
522
+ metric?: string | undefined;
523
+ })[];
524
+ confidence?: "low" | "medium" | "high" | undefined;
525
+ }[];
526
+ summary?: string | undefined;
527
+ }, {
528
+ findings: {
529
+ title: string;
530
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
531
+ opportunity: string;
532
+ likelyCause: string;
533
+ suggestedChange: string;
534
+ expectedImpact: string;
535
+ evidence: ({
536
+ kind: "state-period";
537
+ state: string;
538
+ label?: string | undefined;
539
+ startedAt?: string | undefined;
540
+ endedAt?: string | undefined;
541
+ } | {
542
+ kind: "event";
543
+ seq: number;
544
+ label?: string | undefined;
545
+ } | {
546
+ kind: "event-range";
547
+ startSeq: number;
548
+ endSeq: number;
549
+ label?: string | undefined;
550
+ } | {
551
+ at: string;
552
+ kind: "journal-entry";
553
+ label?: string | undefined;
554
+ agentName?: string | undefined;
555
+ } | {
556
+ kind: "transcript-range";
557
+ startIndex: number;
558
+ endIndex: number;
559
+ label?: string | undefined;
560
+ } | {
561
+ kind: "tool-activity";
562
+ label?: string | undefined;
563
+ state?: string | undefined;
564
+ toolName?: string | undefined;
565
+ metric?: string | undefined;
566
+ })[];
567
+ confidence?: "low" | "medium" | "high" | undefined;
568
+ }[];
569
+ summary?: string | undefined;
570
+ }>;
571
+ export declare const recordReflectionInputSchema: z.ZodObject<{
572
+ label: z.ZodOptional<z.ZodString>;
573
+ agentName: z.ZodOptional<z.ZodString>;
574
+ sourceState: z.ZodOptional<z.ZodString>;
575
+ reflection: z.ZodObject<{
576
+ summary: z.ZodOptional<z.ZodString>;
577
+ findings: z.ZodArray<z.ZodObject<{
578
+ title: z.ZodString;
579
+ category: z.ZodEnum<["state-efficiency", "review-rework", "quality-gates", "tooling", "workflow-design"]>;
580
+ opportunity: z.ZodString;
581
+ likelyCause: z.ZodString;
582
+ suggestedChange: z.ZodString;
583
+ expectedImpact: z.ZodString;
584
+ confidence: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
585
+ evidence: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
586
+ label: z.ZodOptional<z.ZodString>;
587
+ } & {
588
+ kind: z.ZodLiteral<"state-period">;
589
+ state: z.ZodString;
590
+ startedAt: z.ZodOptional<z.ZodString>;
591
+ endedAt: z.ZodOptional<z.ZodString>;
592
+ }, "strip", z.ZodTypeAny, {
593
+ kind: "state-period";
594
+ state: string;
595
+ label?: string | undefined;
596
+ startedAt?: string | undefined;
597
+ endedAt?: string | undefined;
598
+ }, {
599
+ kind: "state-period";
600
+ state: string;
601
+ label?: string | undefined;
602
+ startedAt?: string | undefined;
603
+ endedAt?: string | undefined;
604
+ }>, z.ZodObject<{
605
+ label: z.ZodOptional<z.ZodString>;
606
+ } & {
607
+ kind: z.ZodLiteral<"event">;
608
+ seq: z.ZodNumber;
609
+ }, "strip", z.ZodTypeAny, {
610
+ kind: "event";
611
+ seq: number;
612
+ label?: string | undefined;
613
+ }, {
614
+ kind: "event";
615
+ seq: number;
616
+ label?: string | undefined;
617
+ }>, z.ZodObject<{
618
+ label: z.ZodOptional<z.ZodString>;
619
+ } & {
620
+ kind: z.ZodLiteral<"event-range">;
621
+ startSeq: z.ZodNumber;
622
+ endSeq: z.ZodNumber;
623
+ }, "strip", z.ZodTypeAny, {
624
+ kind: "event-range";
625
+ startSeq: number;
626
+ endSeq: number;
627
+ label?: string | undefined;
628
+ }, {
629
+ kind: "event-range";
630
+ startSeq: number;
631
+ endSeq: number;
632
+ label?: string | undefined;
633
+ }>, z.ZodObject<{
634
+ label: z.ZodOptional<z.ZodString>;
635
+ } & {
636
+ kind: z.ZodLiteral<"journal-entry">;
637
+ at: z.ZodString;
638
+ agentName: z.ZodOptional<z.ZodString>;
639
+ }, "strip", z.ZodTypeAny, {
640
+ at: string;
641
+ kind: "journal-entry";
642
+ label?: string | undefined;
643
+ agentName?: string | undefined;
644
+ }, {
645
+ at: string;
646
+ kind: "journal-entry";
647
+ label?: string | undefined;
648
+ agentName?: string | undefined;
649
+ }>, z.ZodObject<{
650
+ label: z.ZodOptional<z.ZodString>;
651
+ } & {
652
+ kind: z.ZodLiteral<"transcript-range">;
653
+ startIndex: z.ZodNumber;
654
+ endIndex: z.ZodNumber;
655
+ }, "strip", z.ZodTypeAny, {
656
+ kind: "transcript-range";
657
+ startIndex: number;
658
+ endIndex: number;
659
+ label?: string | undefined;
660
+ }, {
661
+ kind: "transcript-range";
662
+ startIndex: number;
663
+ endIndex: number;
664
+ label?: string | undefined;
665
+ }>, z.ZodObject<{
666
+ label: z.ZodOptional<z.ZodString>;
667
+ } & {
668
+ kind: z.ZodLiteral<"tool-activity">;
669
+ state: z.ZodOptional<z.ZodString>;
670
+ toolName: z.ZodOptional<z.ZodString>;
671
+ metric: z.ZodOptional<z.ZodString>;
672
+ }, "strip", z.ZodTypeAny, {
673
+ kind: "tool-activity";
674
+ label?: string | undefined;
675
+ state?: string | undefined;
676
+ toolName?: string | undefined;
677
+ metric?: string | undefined;
678
+ }, {
679
+ kind: "tool-activity";
680
+ label?: string | undefined;
681
+ state?: string | undefined;
682
+ toolName?: string | undefined;
683
+ metric?: string | undefined;
684
+ }>]>, "many">;
685
+ }, "strip", z.ZodTypeAny, {
686
+ title: string;
687
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
688
+ opportunity: string;
689
+ likelyCause: string;
690
+ suggestedChange: string;
691
+ expectedImpact: string;
692
+ evidence: ({
693
+ kind: "state-period";
694
+ state: string;
695
+ label?: string | undefined;
696
+ startedAt?: string | undefined;
697
+ endedAt?: string | undefined;
698
+ } | {
699
+ kind: "event";
700
+ seq: number;
701
+ label?: string | undefined;
702
+ } | {
703
+ kind: "event-range";
704
+ startSeq: number;
705
+ endSeq: number;
706
+ label?: string | undefined;
707
+ } | {
708
+ at: string;
709
+ kind: "journal-entry";
710
+ label?: string | undefined;
711
+ agentName?: string | undefined;
712
+ } | {
713
+ kind: "transcript-range";
714
+ startIndex: number;
715
+ endIndex: number;
716
+ label?: string | undefined;
717
+ } | {
718
+ kind: "tool-activity";
719
+ label?: string | undefined;
720
+ state?: string | undefined;
721
+ toolName?: string | undefined;
722
+ metric?: string | undefined;
723
+ })[];
724
+ confidence?: "low" | "medium" | "high" | undefined;
725
+ }, {
726
+ title: string;
727
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
728
+ opportunity: string;
729
+ likelyCause: string;
730
+ suggestedChange: string;
731
+ expectedImpact: string;
732
+ evidence: ({
733
+ kind: "state-period";
734
+ state: string;
735
+ label?: string | undefined;
736
+ startedAt?: string | undefined;
737
+ endedAt?: string | undefined;
738
+ } | {
739
+ kind: "event";
740
+ seq: number;
741
+ label?: string | undefined;
742
+ } | {
743
+ kind: "event-range";
744
+ startSeq: number;
745
+ endSeq: number;
746
+ label?: string | undefined;
747
+ } | {
748
+ at: string;
749
+ kind: "journal-entry";
750
+ label?: string | undefined;
751
+ agentName?: string | undefined;
752
+ } | {
753
+ kind: "transcript-range";
754
+ startIndex: number;
755
+ endIndex: number;
756
+ label?: string | undefined;
757
+ } | {
758
+ kind: "tool-activity";
759
+ label?: string | undefined;
760
+ state?: string | undefined;
761
+ toolName?: string | undefined;
762
+ metric?: string | undefined;
763
+ })[];
764
+ confidence?: "low" | "medium" | "high" | undefined;
765
+ }>, "many">;
766
+ }, "strict", z.ZodTypeAny, {
767
+ findings: {
768
+ title: string;
769
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
770
+ opportunity: string;
771
+ likelyCause: string;
772
+ suggestedChange: string;
773
+ expectedImpact: string;
774
+ evidence: ({
775
+ kind: "state-period";
776
+ state: string;
777
+ label?: string | undefined;
778
+ startedAt?: string | undefined;
779
+ endedAt?: string | undefined;
780
+ } | {
781
+ kind: "event";
782
+ seq: number;
783
+ label?: string | undefined;
784
+ } | {
785
+ kind: "event-range";
786
+ startSeq: number;
787
+ endSeq: number;
788
+ label?: string | undefined;
789
+ } | {
790
+ at: string;
791
+ kind: "journal-entry";
792
+ label?: string | undefined;
793
+ agentName?: string | undefined;
794
+ } | {
795
+ kind: "transcript-range";
796
+ startIndex: number;
797
+ endIndex: number;
798
+ label?: string | undefined;
799
+ } | {
800
+ kind: "tool-activity";
801
+ label?: string | undefined;
802
+ state?: string | undefined;
803
+ toolName?: string | undefined;
804
+ metric?: string | undefined;
805
+ })[];
806
+ confidence?: "low" | "medium" | "high" | undefined;
807
+ }[];
808
+ summary?: string | undefined;
809
+ }, {
810
+ findings: {
811
+ title: string;
812
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
813
+ opportunity: string;
814
+ likelyCause: string;
815
+ suggestedChange: string;
816
+ expectedImpact: string;
817
+ evidence: ({
818
+ kind: "state-period";
819
+ state: string;
820
+ label?: string | undefined;
821
+ startedAt?: string | undefined;
822
+ endedAt?: string | undefined;
823
+ } | {
824
+ kind: "event";
825
+ seq: number;
826
+ label?: string | undefined;
827
+ } | {
828
+ kind: "event-range";
829
+ startSeq: number;
830
+ endSeq: number;
831
+ label?: string | undefined;
832
+ } | {
833
+ at: string;
834
+ kind: "journal-entry";
835
+ label?: string | undefined;
836
+ agentName?: string | undefined;
837
+ } | {
838
+ kind: "transcript-range";
839
+ startIndex: number;
840
+ endIndex: number;
841
+ label?: string | undefined;
842
+ } | {
843
+ kind: "tool-activity";
844
+ label?: string | undefined;
845
+ state?: string | undefined;
846
+ toolName?: string | undefined;
847
+ metric?: string | undefined;
848
+ })[];
849
+ confidence?: "low" | "medium" | "high" | undefined;
850
+ }[];
851
+ summary?: string | undefined;
852
+ }>;
853
+ }, "strict", z.ZodTypeAny, {
854
+ reflection: {
855
+ findings: {
856
+ title: string;
857
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
858
+ opportunity: string;
859
+ likelyCause: string;
860
+ suggestedChange: string;
861
+ expectedImpact: string;
862
+ evidence: ({
863
+ kind: "state-period";
864
+ state: string;
865
+ label?: string | undefined;
866
+ startedAt?: string | undefined;
867
+ endedAt?: string | undefined;
868
+ } | {
869
+ kind: "event";
870
+ seq: number;
871
+ label?: string | undefined;
872
+ } | {
873
+ kind: "event-range";
874
+ startSeq: number;
875
+ endSeq: number;
876
+ label?: string | undefined;
877
+ } | {
878
+ at: string;
879
+ kind: "journal-entry";
880
+ label?: string | undefined;
881
+ agentName?: string | undefined;
882
+ } | {
883
+ kind: "transcript-range";
884
+ startIndex: number;
885
+ endIndex: number;
886
+ label?: string | undefined;
887
+ } | {
888
+ kind: "tool-activity";
889
+ label?: string | undefined;
890
+ state?: string | undefined;
891
+ toolName?: string | undefined;
892
+ metric?: string | undefined;
893
+ })[];
894
+ confidence?: "low" | "medium" | "high" | undefined;
895
+ }[];
896
+ summary?: string | undefined;
897
+ };
898
+ label?: string | undefined;
899
+ agentName?: string | undefined;
900
+ sourceState?: string | undefined;
901
+ }, {
902
+ reflection: {
903
+ findings: {
904
+ title: string;
905
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
906
+ opportunity: string;
907
+ likelyCause: string;
908
+ suggestedChange: string;
909
+ expectedImpact: string;
910
+ evidence: ({
911
+ kind: "state-period";
912
+ state: string;
913
+ label?: string | undefined;
914
+ startedAt?: string | undefined;
915
+ endedAt?: string | undefined;
916
+ } | {
917
+ kind: "event";
918
+ seq: number;
919
+ label?: string | undefined;
920
+ } | {
921
+ kind: "event-range";
922
+ startSeq: number;
923
+ endSeq: number;
924
+ label?: string | undefined;
925
+ } | {
926
+ at: string;
927
+ kind: "journal-entry";
928
+ label?: string | undefined;
929
+ agentName?: string | undefined;
930
+ } | {
931
+ kind: "transcript-range";
932
+ startIndex: number;
933
+ endIndex: number;
934
+ label?: string | undefined;
935
+ } | {
936
+ kind: "tool-activity";
937
+ label?: string | undefined;
938
+ state?: string | undefined;
939
+ toolName?: string | undefined;
940
+ metric?: string | undefined;
941
+ })[];
942
+ confidence?: "low" | "medium" | "high" | undefined;
943
+ }[];
944
+ summary?: string | undefined;
945
+ };
946
+ label?: string | undefined;
947
+ agentName?: string | undefined;
948
+ sourceState?: string | undefined;
949
+ }>;
950
+ export declare const storedReflectionSchema: z.ZodObject<{
951
+ id: z.ZodNumber;
952
+ sessionId: z.ZodString;
953
+ createdAt: z.ZodString;
954
+ label: z.ZodOptional<z.ZodString>;
955
+ agentName: z.ZodOptional<z.ZodString>;
956
+ sourceState: z.ZodOptional<z.ZodString>;
957
+ reflection: z.ZodObject<{
958
+ summary: z.ZodOptional<z.ZodString>;
959
+ findings: z.ZodArray<z.ZodObject<{
960
+ title: z.ZodString;
961
+ category: z.ZodEnum<["state-efficiency", "review-rework", "quality-gates", "tooling", "workflow-design"]>;
962
+ opportunity: z.ZodString;
963
+ likelyCause: z.ZodString;
964
+ suggestedChange: z.ZodString;
965
+ expectedImpact: z.ZodString;
966
+ confidence: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
967
+ evidence: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
968
+ label: z.ZodOptional<z.ZodString>;
969
+ } & {
970
+ kind: z.ZodLiteral<"state-period">;
971
+ state: z.ZodString;
972
+ startedAt: z.ZodOptional<z.ZodString>;
973
+ endedAt: z.ZodOptional<z.ZodString>;
974
+ }, "strip", z.ZodTypeAny, {
975
+ kind: "state-period";
976
+ state: string;
977
+ label?: string | undefined;
978
+ startedAt?: string | undefined;
979
+ endedAt?: string | undefined;
980
+ }, {
981
+ kind: "state-period";
982
+ state: string;
983
+ label?: string | undefined;
984
+ startedAt?: string | undefined;
985
+ endedAt?: string | undefined;
986
+ }>, z.ZodObject<{
987
+ label: z.ZodOptional<z.ZodString>;
988
+ } & {
989
+ kind: z.ZodLiteral<"event">;
990
+ seq: z.ZodNumber;
991
+ }, "strip", z.ZodTypeAny, {
992
+ kind: "event";
993
+ seq: number;
994
+ label?: string | undefined;
995
+ }, {
996
+ kind: "event";
997
+ seq: number;
998
+ label?: string | undefined;
999
+ }>, z.ZodObject<{
1000
+ label: z.ZodOptional<z.ZodString>;
1001
+ } & {
1002
+ kind: z.ZodLiteral<"event-range">;
1003
+ startSeq: z.ZodNumber;
1004
+ endSeq: z.ZodNumber;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ kind: "event-range";
1007
+ startSeq: number;
1008
+ endSeq: number;
1009
+ label?: string | undefined;
1010
+ }, {
1011
+ kind: "event-range";
1012
+ startSeq: number;
1013
+ endSeq: number;
1014
+ label?: string | undefined;
1015
+ }>, z.ZodObject<{
1016
+ label: z.ZodOptional<z.ZodString>;
1017
+ } & {
1018
+ kind: z.ZodLiteral<"journal-entry">;
1019
+ at: z.ZodString;
1020
+ agentName: z.ZodOptional<z.ZodString>;
1021
+ }, "strip", z.ZodTypeAny, {
1022
+ at: string;
1023
+ kind: "journal-entry";
1024
+ label?: string | undefined;
1025
+ agentName?: string | undefined;
1026
+ }, {
1027
+ at: string;
1028
+ kind: "journal-entry";
1029
+ label?: string | undefined;
1030
+ agentName?: string | undefined;
1031
+ }>, z.ZodObject<{
1032
+ label: z.ZodOptional<z.ZodString>;
1033
+ } & {
1034
+ kind: z.ZodLiteral<"transcript-range">;
1035
+ startIndex: z.ZodNumber;
1036
+ endIndex: z.ZodNumber;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ kind: "transcript-range";
1039
+ startIndex: number;
1040
+ endIndex: number;
1041
+ label?: string | undefined;
1042
+ }, {
1043
+ kind: "transcript-range";
1044
+ startIndex: number;
1045
+ endIndex: number;
1046
+ label?: string | undefined;
1047
+ }>, z.ZodObject<{
1048
+ label: z.ZodOptional<z.ZodString>;
1049
+ } & {
1050
+ kind: z.ZodLiteral<"tool-activity">;
1051
+ state: z.ZodOptional<z.ZodString>;
1052
+ toolName: z.ZodOptional<z.ZodString>;
1053
+ metric: z.ZodOptional<z.ZodString>;
1054
+ }, "strip", z.ZodTypeAny, {
1055
+ kind: "tool-activity";
1056
+ label?: string | undefined;
1057
+ state?: string | undefined;
1058
+ toolName?: string | undefined;
1059
+ metric?: string | undefined;
1060
+ }, {
1061
+ kind: "tool-activity";
1062
+ label?: string | undefined;
1063
+ state?: string | undefined;
1064
+ toolName?: string | undefined;
1065
+ metric?: string | undefined;
1066
+ }>]>, "many">;
1067
+ }, "strip", z.ZodTypeAny, {
1068
+ title: string;
1069
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
1070
+ opportunity: string;
1071
+ likelyCause: string;
1072
+ suggestedChange: string;
1073
+ expectedImpact: string;
1074
+ evidence: ({
1075
+ kind: "state-period";
1076
+ state: string;
1077
+ label?: string | undefined;
1078
+ startedAt?: string | undefined;
1079
+ endedAt?: string | undefined;
1080
+ } | {
1081
+ kind: "event";
1082
+ seq: number;
1083
+ label?: string | undefined;
1084
+ } | {
1085
+ kind: "event-range";
1086
+ startSeq: number;
1087
+ endSeq: number;
1088
+ label?: string | undefined;
1089
+ } | {
1090
+ at: string;
1091
+ kind: "journal-entry";
1092
+ label?: string | undefined;
1093
+ agentName?: string | undefined;
1094
+ } | {
1095
+ kind: "transcript-range";
1096
+ startIndex: number;
1097
+ endIndex: number;
1098
+ label?: string | undefined;
1099
+ } | {
1100
+ kind: "tool-activity";
1101
+ label?: string | undefined;
1102
+ state?: string | undefined;
1103
+ toolName?: string | undefined;
1104
+ metric?: string | undefined;
1105
+ })[];
1106
+ confidence?: "low" | "medium" | "high" | undefined;
1107
+ }, {
1108
+ title: string;
1109
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
1110
+ opportunity: string;
1111
+ likelyCause: string;
1112
+ suggestedChange: string;
1113
+ expectedImpact: string;
1114
+ evidence: ({
1115
+ kind: "state-period";
1116
+ state: string;
1117
+ label?: string | undefined;
1118
+ startedAt?: string | undefined;
1119
+ endedAt?: string | undefined;
1120
+ } | {
1121
+ kind: "event";
1122
+ seq: number;
1123
+ label?: string | undefined;
1124
+ } | {
1125
+ kind: "event-range";
1126
+ startSeq: number;
1127
+ endSeq: number;
1128
+ label?: string | undefined;
1129
+ } | {
1130
+ at: string;
1131
+ kind: "journal-entry";
1132
+ label?: string | undefined;
1133
+ agentName?: string | undefined;
1134
+ } | {
1135
+ kind: "transcript-range";
1136
+ startIndex: number;
1137
+ endIndex: number;
1138
+ label?: string | undefined;
1139
+ } | {
1140
+ kind: "tool-activity";
1141
+ label?: string | undefined;
1142
+ state?: string | undefined;
1143
+ toolName?: string | undefined;
1144
+ metric?: string | undefined;
1145
+ })[];
1146
+ confidence?: "low" | "medium" | "high" | undefined;
1147
+ }>, "many">;
1148
+ }, "strict", z.ZodTypeAny, {
1149
+ findings: {
1150
+ title: string;
1151
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
1152
+ opportunity: string;
1153
+ likelyCause: string;
1154
+ suggestedChange: string;
1155
+ expectedImpact: string;
1156
+ evidence: ({
1157
+ kind: "state-period";
1158
+ state: string;
1159
+ label?: string | undefined;
1160
+ startedAt?: string | undefined;
1161
+ endedAt?: string | undefined;
1162
+ } | {
1163
+ kind: "event";
1164
+ seq: number;
1165
+ label?: string | undefined;
1166
+ } | {
1167
+ kind: "event-range";
1168
+ startSeq: number;
1169
+ endSeq: number;
1170
+ label?: string | undefined;
1171
+ } | {
1172
+ at: string;
1173
+ kind: "journal-entry";
1174
+ label?: string | undefined;
1175
+ agentName?: string | undefined;
1176
+ } | {
1177
+ kind: "transcript-range";
1178
+ startIndex: number;
1179
+ endIndex: number;
1180
+ label?: string | undefined;
1181
+ } | {
1182
+ kind: "tool-activity";
1183
+ label?: string | undefined;
1184
+ state?: string | undefined;
1185
+ toolName?: string | undefined;
1186
+ metric?: string | undefined;
1187
+ })[];
1188
+ confidence?: "low" | "medium" | "high" | undefined;
1189
+ }[];
1190
+ summary?: string | undefined;
1191
+ }, {
1192
+ findings: {
1193
+ title: string;
1194
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
1195
+ opportunity: string;
1196
+ likelyCause: string;
1197
+ suggestedChange: string;
1198
+ expectedImpact: string;
1199
+ evidence: ({
1200
+ kind: "state-period";
1201
+ state: string;
1202
+ label?: string | undefined;
1203
+ startedAt?: string | undefined;
1204
+ endedAt?: string | undefined;
1205
+ } | {
1206
+ kind: "event";
1207
+ seq: number;
1208
+ label?: string | undefined;
1209
+ } | {
1210
+ kind: "event-range";
1211
+ startSeq: number;
1212
+ endSeq: number;
1213
+ label?: string | undefined;
1214
+ } | {
1215
+ at: string;
1216
+ kind: "journal-entry";
1217
+ label?: string | undefined;
1218
+ agentName?: string | undefined;
1219
+ } | {
1220
+ kind: "transcript-range";
1221
+ startIndex: number;
1222
+ endIndex: number;
1223
+ label?: string | undefined;
1224
+ } | {
1225
+ kind: "tool-activity";
1226
+ label?: string | undefined;
1227
+ state?: string | undefined;
1228
+ toolName?: string | undefined;
1229
+ metric?: string | undefined;
1230
+ })[];
1231
+ confidence?: "low" | "medium" | "high" | undefined;
1232
+ }[];
1233
+ summary?: string | undefined;
1234
+ }>;
1235
+ }, "strict", z.ZodTypeAny, {
1236
+ reflection: {
1237
+ findings: {
1238
+ title: string;
1239
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
1240
+ opportunity: string;
1241
+ likelyCause: string;
1242
+ suggestedChange: string;
1243
+ expectedImpact: string;
1244
+ evidence: ({
1245
+ kind: "state-period";
1246
+ state: string;
1247
+ label?: string | undefined;
1248
+ startedAt?: string | undefined;
1249
+ endedAt?: string | undefined;
1250
+ } | {
1251
+ kind: "event";
1252
+ seq: number;
1253
+ label?: string | undefined;
1254
+ } | {
1255
+ kind: "event-range";
1256
+ startSeq: number;
1257
+ endSeq: number;
1258
+ label?: string | undefined;
1259
+ } | {
1260
+ at: string;
1261
+ kind: "journal-entry";
1262
+ label?: string | undefined;
1263
+ agentName?: string | undefined;
1264
+ } | {
1265
+ kind: "transcript-range";
1266
+ startIndex: number;
1267
+ endIndex: number;
1268
+ label?: string | undefined;
1269
+ } | {
1270
+ kind: "tool-activity";
1271
+ label?: string | undefined;
1272
+ state?: string | undefined;
1273
+ toolName?: string | undefined;
1274
+ metric?: string | undefined;
1275
+ })[];
1276
+ confidence?: "low" | "medium" | "high" | undefined;
1277
+ }[];
1278
+ summary?: string | undefined;
1279
+ };
1280
+ id: number;
1281
+ sessionId: string;
1282
+ createdAt: string;
1283
+ label?: string | undefined;
1284
+ agentName?: string | undefined;
1285
+ sourceState?: string | undefined;
1286
+ }, {
1287
+ reflection: {
1288
+ findings: {
1289
+ title: string;
1290
+ category: "state-efficiency" | "review-rework" | "quality-gates" | "tooling" | "workflow-design";
1291
+ opportunity: string;
1292
+ likelyCause: string;
1293
+ suggestedChange: string;
1294
+ expectedImpact: string;
1295
+ evidence: ({
1296
+ kind: "state-period";
1297
+ state: string;
1298
+ label?: string | undefined;
1299
+ startedAt?: string | undefined;
1300
+ endedAt?: string | undefined;
1301
+ } | {
1302
+ kind: "event";
1303
+ seq: number;
1304
+ label?: string | undefined;
1305
+ } | {
1306
+ kind: "event-range";
1307
+ startSeq: number;
1308
+ endSeq: number;
1309
+ label?: string | undefined;
1310
+ } | {
1311
+ at: string;
1312
+ kind: "journal-entry";
1313
+ label?: string | undefined;
1314
+ agentName?: string | undefined;
1315
+ } | {
1316
+ kind: "transcript-range";
1317
+ startIndex: number;
1318
+ endIndex: number;
1319
+ label?: string | undefined;
1320
+ } | {
1321
+ kind: "tool-activity";
1322
+ label?: string | undefined;
1323
+ state?: string | undefined;
1324
+ toolName?: string | undefined;
1325
+ metric?: string | undefined;
1326
+ })[];
1327
+ confidence?: "low" | "medium" | "high" | undefined;
1328
+ }[];
1329
+ summary?: string | undefined;
1330
+ };
1331
+ id: number;
1332
+ sessionId: string;
1333
+ createdAt: string;
1334
+ label?: string | undefined;
1335
+ agentName?: string | undefined;
1336
+ sourceState?: string | undefined;
1337
+ }>;
1338
+ /** @riviere-role value-object */
1339
+ export type ReflectionCategory = z.infer<typeof reflectionCategorySchema>;
1340
+ /** @riviere-role value-object */
1341
+ export type ReflectionEvidence = z.infer<typeof reflectionEvidenceSchema>;
1342
+ /** @riviere-role value-object */
1343
+ export type ReflectionFinding = z.infer<typeof reflectionFindingSchema>;
1344
+ /** @riviere-role value-object */
1345
+ export type ReflectionPayload = z.infer<typeof reflectionPayloadSchema>;
1346
+ /** @riviere-role value-object */
1347
+ export type RecordReflectionInput = z.infer<typeof recordReflectionInputSchema>;
1348
+ /** @riviere-role value-object */
1349
+ export type StoredReflection = z.infer<typeof storedReflectionSchema>;