@junejuly-lockstep/model 0.0.0-stage → 0.1.1

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