@reticlehq/core 3.7.0 → 3.8.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.
Files changed (108) hide show
  1. package/dist/activation-entry.d.ts +9 -0
  2. package/dist/activation-entry.js +9 -0
  3. package/dist/artifacts/drive-script.d.ts +64 -64
  4. package/dist/artifacts/flow-constants.d.ts +15 -0
  5. package/dist/artifacts/flow-constants.js +15 -0
  6. package/dist/artifacts/flow-expect-flat.d.ts +8 -8
  7. package/dist/artifacts/flow-results.d.ts +11 -0
  8. package/dist/artifacts/flow-types.d.ts +164 -118
  9. package/dist/artifacts/flow-types.js +12 -0
  10. package/dist/artifacts/harness-credits.d.ts +6 -3
  11. package/dist/artifacts/harness-credits.js +9 -6
  12. package/dist/artifacts/harness-map.d.ts +6 -6
  13. package/dist/artifacts/impact.d.ts +77 -80
  14. package/dist/artifacts/impact.js +34 -17
  15. package/dist/artifacts/journal.d.ts +25 -6
  16. package/dist/artifacts/journal.js +13 -0
  17. package/dist/artifacts/prompt-context.d.ts +12 -0
  18. package/dist/artifacts/prompt-context.js +14 -3
  19. package/dist/graph/app-graph.d.ts +137 -0
  20. package/dist/graph/app-graph.js +498 -0
  21. package/dist/hooks/hook-events.d.ts +22 -22
  22. package/dist/hud-entry.js +1 -1
  23. package/dist/identity/checkout.d.ts +41 -0
  24. package/dist/identity/checkout.js +118 -0
  25. package/dist/identity/state-dir.d.ts +23 -0
  26. package/dist/identity/state-dir.js +43 -0
  27. package/dist/index.d.ts +10 -0
  28. package/dist/index.js +10 -0
  29. package/dist/onboarding.d.ts +22 -1
  30. package/dist/onboarding.js +19 -0
  31. package/dist/registry/dev-server-registry.d.ts +2 -2
  32. package/dist/schema/event-message.json +3 -1
  33. package/dist/schema/event-payloads.json +116 -1
  34. package/dist/schema/event-type.json +3 -1
  35. package/dist/schema/hello-message.json +21 -0
  36. package/dist/schema/reticle-event.json +3 -1
  37. package/dist/schema/reticle-message.json +24 -1
  38. package/dist/telemetry-bug.d.ts +6 -6
  39. package/dist/telemetry-entry.d.ts +1 -1
  40. package/dist/telemetry-entry.js +1 -1
  41. package/dist/telemetry-feedback.d.ts +14 -0
  42. package/dist/telemetry-feedback.js +19 -0
  43. package/dist/telemetry-refusal.d.ts +2 -2
  44. package/dist/telemetry-session.d.ts +23 -8
  45. package/dist/telemetry-session.js +15 -4
  46. package/dist/telemetry-signals.d.ts +227 -9
  47. package/dist/telemetry-signals.js +88 -1
  48. package/dist/telemetry.d.ts +379 -72
  49. package/dist/telemetry.js +71 -5
  50. package/dist/verdict/check-sentence.d.ts +34 -0
  51. package/dist/verdict/check-sentence.js +228 -0
  52. package/dist/verdict/consequence.d.ts +15 -0
  53. package/dist/verdict/consequence.js +11 -0
  54. package/dist/verdict/findings.d.ts +10 -0
  55. package/dist/verdict/findings.js +13 -0
  56. package/dist/verdict/instrumentation-coverage.d.ts +3 -34
  57. package/dist/verdict/instrumentation-coverage.js +14 -58
  58. package/dist/verdict/instrumentation-gap.d.ts +79 -0
  59. package/dist/verdict/instrumentation-gap.js +64 -0
  60. package/dist/verdict/predicate-tree.d.ts +2 -0
  61. package/dist/verdict/predicate-tree.js +16 -0
  62. package/dist/verdict/predicate.d.ts +2 -1
  63. package/dist/verdict/predicate.js +103 -12
  64. package/dist/verdict/property-assertion.d.ts +2 -2
  65. package/dist/verdict/run-report.d.ts +166 -0
  66. package/dist/verdict/run-report.js +53 -0
  67. package/dist/verdict/security.d.ts +36 -2
  68. package/dist/verdict/security.js +94 -14
  69. package/dist/verdict/verification-run.d.ts +95 -38
  70. package/dist/verdict/verification-run.js +33 -2
  71. package/dist/verdict/verify-progress.d.ts +6 -6
  72. package/dist/wire/constants/constants.d.ts +56 -141
  73. package/dist/wire/constants/constants.js +64 -144
  74. package/dist/wire/constants/discovery.d.ts +4 -4
  75. package/dist/wire/constants/discovery.js +4 -4
  76. package/dist/wire/constants/event-types.d.ts +35 -1
  77. package/dist/wire/constants/event-types.js +33 -1
  78. package/dist/wire/constants/hud-controls.js +0 -2
  79. package/dist/wire/constants/hud-use.d.ts +4 -0
  80. package/dist/wire/constants/hud-use.js +4 -0
  81. package/dist/wire/constants/mcp-wire.d.ts +16 -0
  82. package/dist/wire/constants/mcp-wire.js +16 -0
  83. package/dist/wire/constants/response-body-reason.d.ts +19 -0
  84. package/dist/wire/constants/response-body-reason.js +18 -0
  85. package/dist/wire/constants/reticle-env.d.ts +138 -0
  86. package/dist/wire/constants/reticle-env.js +138 -0
  87. package/dist/wire/constants/session-constants.d.ts +11 -0
  88. package/dist/wire/constants/session-constants.js +11 -0
  89. package/dist/wire/event-payloads.d.ts +150 -36
  90. package/dist/wire/event-payloads.js +83 -16
  91. package/dist/wire/messages.d.ts +102 -36
  92. package/dist/wire/messages.js +16 -0
  93. package/dist/wire/narrow.d.ts +6 -0
  94. package/dist/wire/narrow.js +26 -0
  95. package/dist/wire/next-step.d.ts +90 -0
  96. package/dist/wire/next-step.js +37 -0
  97. package/dist/wire/platform-link.d.ts +7 -0
  98. package/dist/wire/platform-link.js +12 -6
  99. package/dist/wire/production/activation-ticket.d.ts +64 -0
  100. package/dist/wire/production/activation-ticket.js +148 -0
  101. package/dist/wire/production/hello-mode.d.ts +35 -0
  102. package/dist/wire/production/hello-mode.js +32 -0
  103. package/dist/wire/production/production-policy.d.ts +138 -0
  104. package/dist/wire/production/production-policy.js +133 -0
  105. package/dist/wire/tool-names.d.ts +2 -0
  106. package/dist/wire/tool-names.js +2 -0
  107. package/dist/wire/types.d.ts +73 -48
  108. package/package.json +5 -1
@@ -20,6 +20,7 @@ export * from './flow-results.js';
20
20
  export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
21
21
  kind: z.ZodLiteral<"testid">;
22
22
  value: z.ZodString;
23
+ of: z.ZodOptional<z.ZodNumber>;
23
24
  source: z.ZodOptional<z.ZodObject<{
24
25
  file: z.ZodString;
25
26
  line: z.ZodNumber;
@@ -41,6 +42,7 @@ export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
41
42
  line: number;
42
43
  column?: number | undefined;
43
44
  } | undefined;
45
+ of?: number | undefined;
44
46
  }, {
45
47
  kind: "testid";
46
48
  value: string;
@@ -49,6 +51,7 @@ export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
49
51
  line: number;
50
52
  column?: number | undefined;
51
53
  } | undefined;
54
+ of?: number | undefined;
52
55
  }>, z.ZodObject<{
53
56
  kind: z.ZodLiteral<"role">;
54
57
  role: z.ZodString;
@@ -71,11 +74,11 @@ export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
71
74
  kind: z.ZodLiteral<"signal">;
72
75
  name: z.ZodString;
73
76
  }, "strip", z.ZodTypeAny, {
74
- kind: "signal";
75
77
  name: string;
76
- }, {
77
78
  kind: "signal";
79
+ }, {
78
80
  name: string;
81
+ kind: "signal";
79
82
  }>, z.ZodObject<{
80
83
  kind: z.ZodLiteral<"component">;
81
84
  component: z.ZodOptional<z.ZodString>;
@@ -96,6 +99,7 @@ export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
96
99
  name: z.ZodOptional<z.ZodString>;
97
100
  }, "strip", z.ZodTypeAny, {
98
101
  kind: "component";
102
+ name?: string | undefined;
99
103
  role?: string | undefined;
100
104
  component?: string | undefined;
101
105
  source?: {
@@ -103,9 +107,9 @@ export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
103
107
  line: number;
104
108
  column?: number | undefined;
105
109
  } | undefined;
106
- name?: string | undefined;
107
110
  }, {
108
111
  kind: "component";
112
+ name?: string | undefined;
109
113
  role?: string | undefined;
110
114
  component?: string | undefined;
111
115
  source?: {
@@ -113,7 +117,6 @@ export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
113
117
  line: number;
114
118
  column?: number | undefined;
115
119
  } | undefined;
116
- name?: string | undefined;
117
120
  }>]>;
118
121
  export type FlowAnchor = z.infer<typeof FlowAnchorSchema>;
119
122
  export declare const FlowPredicateSchema: z.ZodEffects<z.ZodType<Predicate, z.ZodTypeDef, Predicate>, Predicate, Predicate>;
@@ -144,6 +147,11 @@ export interface FlowStep {
144
147
  id?: string;
145
148
  /** What this step does to the subject; absent means unknown. See StepEffect. */
146
149
  effect?: StepEffect;
150
+ /**
151
+ * This step sent a write request (POST, PUT, PATCH, DELETE) when it was recorded, so a replay
152
+ * sends it again and changes real data. A certify run skips such a flow unless told otherwise.
153
+ */
154
+ writes?: boolean;
147
155
  action?: ActionType;
148
156
  args?: Record<string, unknown>;
149
157
  expect?: Predicate;
@@ -218,6 +226,13 @@ export declare const FlowFileSchema: z.ZodObject<{
218
226
  * cannot actually check — flow-classify flags that gap.
219
227
  */
220
228
  intent: z.ZodOptional<z.ZodString>;
229
+ /**
230
+ * True when `intent` was built from the steps' expects, not declared by anybody. An auto-saved
231
+ * drive with no declared intent was named by its request path and read as nothing. A built
232
+ * sentence names it, and this flag keeps it out of the intent ledger: it describes the steps, so
233
+ * it can never be a goal the steps then prove.
234
+ */
235
+ intentDerived: z.ZodOptional<z.ZodBoolean>;
221
236
  /**
222
237
  * The intent-ledger row this flow discharges — the id in `.reticle/intent.json`.
223
238
  *
@@ -315,13 +330,13 @@ export declare const FlowFileSchema: z.ZodObject<{
315
330
  role: z.ZodOptional<z.ZodString>;
316
331
  name: z.ZodOptional<z.ZodString>;
317
332
  }, "strict", z.ZodTypeAny, {
333
+ name?: string | undefined;
318
334
  testid?: string | undefined;
319
335
  role?: string | undefined;
320
- name?: string | undefined;
321
336
  }, {
337
+ name?: string | undefined;
322
338
  testid?: string | undefined;
323
339
  role?: string | undefined;
324
- name?: string | undefined;
325
340
  }>>;
326
341
  text: z.ZodOptional<z.ZodObject<{
327
342
  contains: z.ZodString;
@@ -330,13 +345,13 @@ export declare const FlowFileSchema: z.ZodObject<{
330
345
  visible: z.ZodOptional<z.ZodBoolean>;
331
346
  }, "strict", z.ZodTypeAny, {
332
347
  contains: string;
333
- visible?: boolean | undefined;
334
348
  scope?: string | undefined;
349
+ visible?: boolean | undefined;
335
350
  absent?: boolean | undefined;
336
351
  }, {
337
352
  contains: string;
338
- visible?: boolean | undefined;
339
353
  scope?: string | undefined;
354
+ visible?: boolean | undefined;
340
355
  absent?: boolean | undefined;
341
356
  }>>;
342
357
  state: z.ZodOptional<z.ZodObject<{
@@ -370,14 +385,14 @@ export declare const FlowFileSchema: z.ZodObject<{
370
385
  equals?: unknown;
371
386
  } | undefined;
372
387
  element?: {
388
+ name?: string | undefined;
373
389
  testid?: string | undefined;
374
390
  role?: string | undefined;
375
- name?: string | undefined;
376
391
  } | undefined;
377
392
  text?: {
378
393
  contains: string;
379
- visible?: boolean | undefined;
380
394
  scope?: string | undefined;
395
+ visible?: boolean | undefined;
381
396
  absent?: boolean | undefined;
382
397
  } | undefined;
383
398
  route?: {
@@ -405,14 +420,14 @@ export declare const FlowFileSchema: z.ZodObject<{
405
420
  equals?: unknown;
406
421
  } | undefined;
407
422
  element?: {
423
+ name?: string | undefined;
408
424
  testid?: string | undefined;
409
425
  role?: string | undefined;
410
- name?: string | undefined;
411
426
  } | undefined;
412
427
  text?: {
413
428
  contains: string;
414
- visible?: boolean | undefined;
415
429
  scope?: string | undefined;
430
+ visible?: boolean | undefined;
416
431
  absent?: boolean | undefined;
417
432
  } | undefined;
418
433
  route?: {
@@ -484,6 +499,7 @@ export declare const FlowFileSchema: z.ZodObject<{
484
499
  } | {
485
500
  kind: typeof PredicateKind.SETTLED;
486
501
  quietMs?: number;
502
+ channel?: import("../verdict/consequence.js").SettledChannel;
487
503
  } | {
488
504
  kind: typeof PredicateKind.COMPARE;
489
505
  left: import("../verdict/compare-source.js").CompareSource;
@@ -514,14 +530,14 @@ export declare const FlowFileSchema: z.ZodObject<{
514
530
  equals?: unknown;
515
531
  } | undefined;
516
532
  element?: {
533
+ name?: string | undefined;
517
534
  testid?: string | undefined;
518
535
  role?: string | undefined;
519
- name?: string | undefined;
520
536
  } | undefined;
521
537
  text?: {
522
538
  contains: string;
523
- visible?: boolean | undefined;
524
539
  scope?: string | undefined;
540
+ visible?: boolean | undefined;
525
541
  absent?: boolean | undefined;
526
542
  } | undefined;
527
543
  route?: {
@@ -549,14 +565,14 @@ export declare const FlowFileSchema: z.ZodObject<{
549
565
  equals?: unknown;
550
566
  } | undefined;
551
567
  element?: {
568
+ name?: string | undefined;
552
569
  testid?: string | undefined;
553
570
  role?: string | undefined;
554
- name?: string | undefined;
555
571
  } | undefined;
556
572
  text?: {
557
573
  contains: string;
558
- visible?: boolean | undefined;
559
574
  scope?: string | undefined;
575
+ visible?: boolean | undefined;
560
576
  absent?: boolean | undefined;
561
577
  } | undefined;
562
578
  route?: {
@@ -615,13 +631,13 @@ export declare const FlowFileSchema: z.ZodObject<{
615
631
  role: z.ZodOptional<z.ZodString>;
616
632
  name: z.ZodOptional<z.ZodString>;
617
633
  }, "strict", z.ZodTypeAny, {
634
+ name?: string | undefined;
618
635
  testid?: string | undefined;
619
636
  role?: string | undefined;
620
- name?: string | undefined;
621
637
  }, {
638
+ name?: string | undefined;
622
639
  testid?: string | undefined;
623
640
  role?: string | undefined;
624
- name?: string | undefined;
625
641
  }>>;
626
642
  text: z.ZodOptional<z.ZodObject<{
627
643
  contains: z.ZodString;
@@ -630,13 +646,13 @@ export declare const FlowFileSchema: z.ZodObject<{
630
646
  visible: z.ZodOptional<z.ZodBoolean>;
631
647
  }, "strict", z.ZodTypeAny, {
632
648
  contains: string;
633
- visible?: boolean | undefined;
634
649
  scope?: string | undefined;
650
+ visible?: boolean | undefined;
635
651
  absent?: boolean | undefined;
636
652
  }, {
637
653
  contains: string;
638
- visible?: boolean | undefined;
639
654
  scope?: string | undefined;
655
+ visible?: boolean | undefined;
640
656
  absent?: boolean | undefined;
641
657
  }>>;
642
658
  state: z.ZodOptional<z.ZodObject<{
@@ -670,14 +686,14 @@ export declare const FlowFileSchema: z.ZodObject<{
670
686
  equals?: unknown;
671
687
  } | undefined;
672
688
  element?: {
689
+ name?: string | undefined;
673
690
  testid?: string | undefined;
674
691
  role?: string | undefined;
675
- name?: string | undefined;
676
692
  } | undefined;
677
693
  text?: {
678
694
  contains: string;
679
- visible?: boolean | undefined;
680
695
  scope?: string | undefined;
696
+ visible?: boolean | undefined;
681
697
  absent?: boolean | undefined;
682
698
  } | undefined;
683
699
  route?: {
@@ -705,14 +721,14 @@ export declare const FlowFileSchema: z.ZodObject<{
705
721
  equals?: unknown;
706
722
  } | undefined;
707
723
  element?: {
724
+ name?: string | undefined;
708
725
  testid?: string | undefined;
709
726
  role?: string | undefined;
710
- name?: string | undefined;
711
727
  } | undefined;
712
728
  text?: {
713
729
  contains: string;
714
- visible?: boolean | undefined;
715
730
  scope?: string | undefined;
731
+ visible?: boolean | undefined;
716
732
  absent?: boolean | undefined;
717
733
  } | undefined;
718
734
  route?: {
@@ -784,6 +800,7 @@ export declare const FlowFileSchema: z.ZodObject<{
784
800
  } | {
785
801
  kind: typeof PredicateKind.SETTLED;
786
802
  quietMs?: number;
803
+ channel?: import("../verdict/consequence.js").SettledChannel;
787
804
  } | {
788
805
  kind: typeof PredicateKind.COMPARE;
789
806
  left: import("../verdict/compare-source.js").CompareSource;
@@ -814,14 +831,14 @@ export declare const FlowFileSchema: z.ZodObject<{
814
831
  equals?: unknown;
815
832
  } | undefined;
816
833
  element?: {
834
+ name?: string | undefined;
817
835
  testid?: string | undefined;
818
836
  role?: string | undefined;
819
- name?: string | undefined;
820
837
  } | undefined;
821
838
  text?: {
822
839
  contains: string;
823
- visible?: boolean | undefined;
824
840
  scope?: string | undefined;
841
+ visible?: boolean | undefined;
825
842
  absent?: boolean | undefined;
826
843
  } | undefined;
827
844
  route?: {
@@ -849,14 +866,14 @@ export declare const FlowFileSchema: z.ZodObject<{
849
866
  equals?: unknown;
850
867
  } | undefined;
851
868
  element?: {
869
+ name?: string | undefined;
852
870
  testid?: string | undefined;
853
871
  role?: string | undefined;
854
- name?: string | undefined;
855
872
  } | undefined;
856
873
  text?: {
857
874
  contains: string;
858
- visible?: boolean | undefined;
859
875
  scope?: string | undefined;
876
+ visible?: boolean | undefined;
860
877
  absent?: boolean | undefined;
861
878
  } | undefined;
862
879
  route?: {
@@ -942,13 +959,13 @@ export declare const FlowFileSchema: z.ZodObject<{
942
959
  role: z.ZodOptional<z.ZodString>;
943
960
  name: z.ZodOptional<z.ZodString>;
944
961
  }, "strict", z.ZodTypeAny, {
962
+ name?: string | undefined;
945
963
  testid?: string | undefined;
946
964
  role?: string | undefined;
947
- name?: string | undefined;
948
965
  }, {
966
+ name?: string | undefined;
949
967
  testid?: string | undefined;
950
968
  role?: string | undefined;
951
- name?: string | undefined;
952
969
  }>>;
953
970
  text: z.ZodOptional<z.ZodObject<{
954
971
  contains: z.ZodString;
@@ -957,13 +974,13 @@ export declare const FlowFileSchema: z.ZodObject<{
957
974
  visible: z.ZodOptional<z.ZodBoolean>;
958
975
  }, "strict", z.ZodTypeAny, {
959
976
  contains: string;
960
- visible?: boolean | undefined;
961
977
  scope?: string | undefined;
978
+ visible?: boolean | undefined;
962
979
  absent?: boolean | undefined;
963
980
  }, {
964
981
  contains: string;
965
- visible?: boolean | undefined;
966
982
  scope?: string | undefined;
983
+ visible?: boolean | undefined;
967
984
  absent?: boolean | undefined;
968
985
  }>>;
969
986
  state: z.ZodOptional<z.ZodObject<{
@@ -997,14 +1014,14 @@ export declare const FlowFileSchema: z.ZodObject<{
997
1014
  equals?: unknown;
998
1015
  } | undefined;
999
1016
  element?: {
1017
+ name?: string | undefined;
1000
1018
  testid?: string | undefined;
1001
1019
  role?: string | undefined;
1002
- name?: string | undefined;
1003
1020
  } | undefined;
1004
1021
  text?: {
1005
1022
  contains: string;
1006
- visible?: boolean | undefined;
1007
1023
  scope?: string | undefined;
1024
+ visible?: boolean | undefined;
1008
1025
  absent?: boolean | undefined;
1009
1026
  } | undefined;
1010
1027
  route?: {
@@ -1032,14 +1049,14 @@ export declare const FlowFileSchema: z.ZodObject<{
1032
1049
  equals?: unknown;
1033
1050
  } | undefined;
1034
1051
  element?: {
1052
+ name?: string | undefined;
1035
1053
  testid?: string | undefined;
1036
1054
  role?: string | undefined;
1037
- name?: string | undefined;
1038
1055
  } | undefined;
1039
1056
  text?: {
1040
1057
  contains: string;
1041
- visible?: boolean | undefined;
1042
1058
  scope?: string | undefined;
1059
+ visible?: boolean | undefined;
1043
1060
  absent?: boolean | undefined;
1044
1061
  } | undefined;
1045
1062
  route?: {
@@ -1111,6 +1128,7 @@ export declare const FlowFileSchema: z.ZodObject<{
1111
1128
  } | {
1112
1129
  kind: typeof PredicateKind.SETTLED;
1113
1130
  quietMs?: number;
1131
+ channel?: import("../verdict/consequence.js").SettledChannel;
1114
1132
  } | {
1115
1133
  kind: typeof PredicateKind.COMPARE;
1116
1134
  left: import("../verdict/compare-source.js").CompareSource;
@@ -1141,14 +1159,14 @@ export declare const FlowFileSchema: z.ZodObject<{
1141
1159
  equals?: unknown;
1142
1160
  } | undefined;
1143
1161
  element?: {
1162
+ name?: string | undefined;
1144
1163
  testid?: string | undefined;
1145
1164
  role?: string | undefined;
1146
- name?: string | undefined;
1147
1165
  } | undefined;
1148
1166
  text?: {
1149
1167
  contains: string;
1150
- visible?: boolean | undefined;
1151
1168
  scope?: string | undefined;
1169
+ visible?: boolean | undefined;
1152
1170
  absent?: boolean | undefined;
1153
1171
  } | undefined;
1154
1172
  route?: {
@@ -1169,6 +1187,7 @@ export declare const FlowFileSchema: z.ZodObject<{
1169
1187
  dynamic: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1170
1188
  kind: z.ZodLiteral<"testid">;
1171
1189
  value: z.ZodString;
1190
+ of: z.ZodOptional<z.ZodNumber>;
1172
1191
  source: z.ZodOptional<z.ZodObject<{
1173
1192
  file: z.ZodString;
1174
1193
  line: z.ZodNumber;
@@ -1190,6 +1209,7 @@ export declare const FlowFileSchema: z.ZodObject<{
1190
1209
  line: number;
1191
1210
  column?: number | undefined;
1192
1211
  } | undefined;
1212
+ of?: number | undefined;
1193
1213
  }, {
1194
1214
  kind: "testid";
1195
1215
  value: string;
@@ -1198,6 +1218,7 @@ export declare const FlowFileSchema: z.ZodObject<{
1198
1218
  line: number;
1199
1219
  column?: number | undefined;
1200
1220
  } | undefined;
1221
+ of?: number | undefined;
1201
1222
  }>, z.ZodObject<{
1202
1223
  kind: z.ZodLiteral<"role">;
1203
1224
  role: z.ZodString;
@@ -1220,11 +1241,11 @@ export declare const FlowFileSchema: z.ZodObject<{
1220
1241
  kind: z.ZodLiteral<"signal">;
1221
1242
  name: z.ZodString;
1222
1243
  }, "strip", z.ZodTypeAny, {
1223
- kind: "signal";
1224
1244
  name: string;
1225
- }, {
1226
1245
  kind: "signal";
1246
+ }, {
1227
1247
  name: string;
1248
+ kind: "signal";
1228
1249
  }>, z.ZodObject<{
1229
1250
  kind: z.ZodLiteral<"component">;
1230
1251
  component: z.ZodOptional<z.ZodString>;
@@ -1245,6 +1266,7 @@ export declare const FlowFileSchema: z.ZodObject<{
1245
1266
  name: z.ZodOptional<z.ZodString>;
1246
1267
  }, "strip", z.ZodTypeAny, {
1247
1268
  kind: "component";
1269
+ name?: string | undefined;
1248
1270
  role?: string | undefined;
1249
1271
  component?: string | undefined;
1250
1272
  source?: {
@@ -1252,9 +1274,9 @@ export declare const FlowFileSchema: z.ZodObject<{
1252
1274
  line: number;
1253
1275
  column?: number | undefined;
1254
1276
  } | undefined;
1255
- name?: string | undefined;
1256
1277
  }, {
1257
1278
  kind: "component";
1279
+ name?: string | undefined;
1258
1280
  role?: string | undefined;
1259
1281
  component?: string | undefined;
1260
1282
  source?: {
@@ -1262,7 +1284,6 @@ export declare const FlowFileSchema: z.ZodObject<{
1262
1284
  line: number;
1263
1285
  column?: number | undefined;
1264
1286
  } | undefined;
1265
- name?: string | undefined;
1266
1287
  }>]>, "many">>;
1267
1288
  /**
1268
1289
  * Free-form labels a suite selects on — `smoke`, `checkout`, `slow`.
@@ -1363,14 +1384,15 @@ export declare const FlowFileSchema: z.ZodObject<{
1363
1384
  until?: string | undefined;
1364
1385
  }>>;
1365
1386
  }, "strip", z.ZodTypeAny, {
1366
- steps: FlowStep[];
1367
1387
  name: string;
1388
+ steps: FlowStep[];
1368
1389
  createdAt: number;
1369
1390
  version: number;
1370
1391
  intent?: string | undefined;
1371
1392
  status?: "active" | "quarantined" | "draft" | undefined;
1372
1393
  startPath?: string | undefined;
1373
1394
  template?: string | undefined;
1395
+ intentDerived?: boolean | undefined;
1374
1396
  learned?: {
1375
1397
  state: "open" | "guarded";
1376
1398
  kind: string;
@@ -1396,6 +1418,7 @@ export declare const FlowFileSchema: z.ZodObject<{
1396
1418
  line: number;
1397
1419
  column?: number | undefined;
1398
1420
  } | undefined;
1421
+ of?: number | undefined;
1399
1422
  } | {
1400
1423
  kind: "role";
1401
1424
  role: string;
@@ -1403,10 +1426,11 @@ export declare const FlowFileSchema: z.ZodObject<{
1403
1426
  of?: number | undefined;
1404
1427
  nth?: number | undefined;
1405
1428
  } | {
1406
- kind: "signal";
1407
1429
  name: string;
1430
+ kind: "signal";
1408
1431
  } | {
1409
1432
  kind: "component";
1433
+ name?: string | undefined;
1410
1434
  role?: string | undefined;
1411
1435
  component?: string | undefined;
1412
1436
  source?: {
@@ -1414,7 +1438,6 @@ export declare const FlowFileSchema: z.ZodObject<{
1414
1438
  line: number;
1415
1439
  column?: number | undefined;
1416
1440
  } | undefined;
1417
- name?: string | undefined;
1418
1441
  })[] | undefined;
1419
1442
  labels?: string[] | undefined;
1420
1443
  needs?: string[] | undefined;
@@ -1430,14 +1453,15 @@ export declare const FlowFileSchema: z.ZodObject<{
1430
1453
  until?: string | undefined;
1431
1454
  } | undefined;
1432
1455
  }, {
1433
- steps: FlowStep[];
1434
1456
  name: string;
1457
+ steps: FlowStep[];
1435
1458
  createdAt: number;
1436
1459
  version: number;
1437
1460
  intent?: string | undefined;
1438
1461
  status?: "active" | "quarantined" | "draft" | undefined;
1439
1462
  startPath?: string | undefined;
1440
1463
  template?: string | undefined;
1464
+ intentDerived?: boolean | undefined;
1441
1465
  learned?: {
1442
1466
  state: "open" | "guarded";
1443
1467
  kind: string;
@@ -1462,14 +1486,14 @@ export declare const FlowFileSchema: z.ZodObject<{
1462
1486
  equals?: unknown;
1463
1487
  } | undefined;
1464
1488
  element?: {
1489
+ name?: string | undefined;
1465
1490
  testid?: string | undefined;
1466
1491
  role?: string | undefined;
1467
- name?: string | undefined;
1468
1492
  } | undefined;
1469
1493
  text?: {
1470
1494
  contains: string;
1471
- visible?: boolean | undefined;
1472
1495
  scope?: string | undefined;
1496
+ visible?: boolean | undefined;
1473
1497
  absent?: boolean | undefined;
1474
1498
  } | undefined;
1475
1499
  route?: {
@@ -1498,14 +1522,14 @@ export declare const FlowFileSchema: z.ZodObject<{
1498
1522
  equals?: unknown;
1499
1523
  } | undefined;
1500
1524
  element?: {
1525
+ name?: string | undefined;
1501
1526
  testid?: string | undefined;
1502
1527
  role?: string | undefined;
1503
- name?: string | undefined;
1504
1528
  } | undefined;
1505
1529
  text?: {
1506
1530
  contains: string;
1507
- visible?: boolean | undefined;
1508
1531
  scope?: string | undefined;
1532
+ visible?: boolean | undefined;
1509
1533
  absent?: boolean | undefined;
1510
1534
  } | undefined;
1511
1535
  route?: {
@@ -1539,14 +1563,14 @@ export declare const FlowFileSchema: z.ZodObject<{
1539
1563
  equals?: unknown;
1540
1564
  } | undefined;
1541
1565
  element?: {
1566
+ name?: string | undefined;
1542
1567
  testid?: string | undefined;
1543
1568
  role?: string | undefined;
1544
- name?: string | undefined;
1545
1569
  } | undefined;
1546
1570
  text?: {
1547
1571
  contains: string;
1548
- visible?: boolean | undefined;
1549
1572
  scope?: string | undefined;
1573
+ visible?: boolean | undefined;
1550
1574
  absent?: boolean | undefined;
1551
1575
  } | undefined;
1552
1576
  route?: {
@@ -1568,6 +1592,7 @@ export declare const FlowFileSchema: z.ZodObject<{
1568
1592
  line: number;
1569
1593
  column?: number | undefined;
1570
1594
  } | undefined;
1595
+ of?: number | undefined;
1571
1596
  } | {
1572
1597
  kind: "role";
1573
1598
  role: string;
@@ -1575,10 +1600,11 @@ export declare const FlowFileSchema: z.ZodObject<{
1575
1600
  of?: number | undefined;
1576
1601
  nth?: number | undefined;
1577
1602
  } | {
1578
- kind: "signal";
1579
1603
  name: string;
1604
+ kind: "signal";
1580
1605
  } | {
1581
1606
  kind: "component";
1607
+ name?: string | undefined;
1582
1608
  role?: string | undefined;
1583
1609
  component?: string | undefined;
1584
1610
  source?: {
@@ -1586,7 +1612,6 @@ export declare const FlowFileSchema: z.ZodObject<{
1586
1612
  line: number;
1587
1613
  column?: number | undefined;
1588
1614
  } | undefined;
1589
- name?: string | undefined;
1590
1615
  })[] | undefined;
1591
1616
  labels?: string[] | undefined;
1592
1617
  needs?: string[] | undefined;
@@ -1642,6 +1667,13 @@ export declare const RecordedFlowSchema: z.ZodObject<{
1642
1667
  * cannot actually check — flow-classify flags that gap.
1643
1668
  */
1644
1669
  intent: z.ZodOptional<z.ZodString>;
1670
+ /**
1671
+ * True when `intent` was built from the steps' expects, not declared by anybody. An auto-saved
1672
+ * drive with no declared intent was named by its request path and read as nothing. A built
1673
+ * sentence names it, and this flag keeps it out of the intent ledger: it describes the steps, so
1674
+ * it can never be a goal the steps then prove.
1675
+ */
1676
+ intentDerived: z.ZodOptional<z.ZodBoolean>;
1645
1677
  /**
1646
1678
  * The intent-ledger row this flow discharges — the id in `.reticle/intent.json`.
1647
1679
  *
@@ -1739,13 +1771,13 @@ export declare const RecordedFlowSchema: z.ZodObject<{
1739
1771
  role: z.ZodOptional<z.ZodString>;
1740
1772
  name: z.ZodOptional<z.ZodString>;
1741
1773
  }, "strict", z.ZodTypeAny, {
1774
+ name?: string | undefined;
1742
1775
  testid?: string | undefined;
1743
1776
  role?: string | undefined;
1744
- name?: string | undefined;
1745
1777
  }, {
1778
+ name?: string | undefined;
1746
1779
  testid?: string | undefined;
1747
1780
  role?: string | undefined;
1748
- name?: string | undefined;
1749
1781
  }>>;
1750
1782
  text: z.ZodOptional<z.ZodObject<{
1751
1783
  contains: z.ZodString;
@@ -1754,13 +1786,13 @@ export declare const RecordedFlowSchema: z.ZodObject<{
1754
1786
  visible: z.ZodOptional<z.ZodBoolean>;
1755
1787
  }, "strict", z.ZodTypeAny, {
1756
1788
  contains: string;
1757
- visible?: boolean | undefined;
1758
1789
  scope?: string | undefined;
1790
+ visible?: boolean | undefined;
1759
1791
  absent?: boolean | undefined;
1760
1792
  }, {
1761
1793
  contains: string;
1762
- visible?: boolean | undefined;
1763
1794
  scope?: string | undefined;
1795
+ visible?: boolean | undefined;
1764
1796
  absent?: boolean | undefined;
1765
1797
  }>>;
1766
1798
  state: z.ZodOptional<z.ZodObject<{
@@ -1794,14 +1826,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
1794
1826
  equals?: unknown;
1795
1827
  } | undefined;
1796
1828
  element?: {
1829
+ name?: string | undefined;
1797
1830
  testid?: string | undefined;
1798
1831
  role?: string | undefined;
1799
- name?: string | undefined;
1800
1832
  } | undefined;
1801
1833
  text?: {
1802
1834
  contains: string;
1803
- visible?: boolean | undefined;
1804
1835
  scope?: string | undefined;
1836
+ visible?: boolean | undefined;
1805
1837
  absent?: boolean | undefined;
1806
1838
  } | undefined;
1807
1839
  route?: {
@@ -1829,14 +1861,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
1829
1861
  equals?: unknown;
1830
1862
  } | undefined;
1831
1863
  element?: {
1864
+ name?: string | undefined;
1832
1865
  testid?: string | undefined;
1833
1866
  role?: string | undefined;
1834
- name?: string | undefined;
1835
1867
  } | undefined;
1836
1868
  text?: {
1837
1869
  contains: string;
1838
- visible?: boolean | undefined;
1839
1870
  scope?: string | undefined;
1871
+ visible?: boolean | undefined;
1840
1872
  absent?: boolean | undefined;
1841
1873
  } | undefined;
1842
1874
  route?: {
@@ -1908,6 +1940,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
1908
1940
  } | {
1909
1941
  kind: typeof PredicateKind.SETTLED;
1910
1942
  quietMs?: number;
1943
+ channel?: import("../verdict/consequence.js").SettledChannel;
1911
1944
  } | {
1912
1945
  kind: typeof PredicateKind.COMPARE;
1913
1946
  left: import("../verdict/compare-source.js").CompareSource;
@@ -1938,14 +1971,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
1938
1971
  equals?: unknown;
1939
1972
  } | undefined;
1940
1973
  element?: {
1974
+ name?: string | undefined;
1941
1975
  testid?: string | undefined;
1942
1976
  role?: string | undefined;
1943
- name?: string | undefined;
1944
1977
  } | undefined;
1945
1978
  text?: {
1946
1979
  contains: string;
1947
- visible?: boolean | undefined;
1948
1980
  scope?: string | undefined;
1981
+ visible?: boolean | undefined;
1949
1982
  absent?: boolean | undefined;
1950
1983
  } | undefined;
1951
1984
  route?: {
@@ -1973,14 +2006,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
1973
2006
  equals?: unknown;
1974
2007
  } | undefined;
1975
2008
  element?: {
2009
+ name?: string | undefined;
1976
2010
  testid?: string | undefined;
1977
2011
  role?: string | undefined;
1978
- name?: string | undefined;
1979
2012
  } | undefined;
1980
2013
  text?: {
1981
2014
  contains: string;
1982
- visible?: boolean | undefined;
1983
2015
  scope?: string | undefined;
2016
+ visible?: boolean | undefined;
1984
2017
  absent?: boolean | undefined;
1985
2018
  } | undefined;
1986
2019
  route?: {
@@ -2039,13 +2072,13 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2039
2072
  role: z.ZodOptional<z.ZodString>;
2040
2073
  name: z.ZodOptional<z.ZodString>;
2041
2074
  }, "strict", z.ZodTypeAny, {
2075
+ name?: string | undefined;
2042
2076
  testid?: string | undefined;
2043
2077
  role?: string | undefined;
2044
- name?: string | undefined;
2045
2078
  }, {
2079
+ name?: string | undefined;
2046
2080
  testid?: string | undefined;
2047
2081
  role?: string | undefined;
2048
- name?: string | undefined;
2049
2082
  }>>;
2050
2083
  text: z.ZodOptional<z.ZodObject<{
2051
2084
  contains: z.ZodString;
@@ -2054,13 +2087,13 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2054
2087
  visible: z.ZodOptional<z.ZodBoolean>;
2055
2088
  }, "strict", z.ZodTypeAny, {
2056
2089
  contains: string;
2057
- visible?: boolean | undefined;
2058
2090
  scope?: string | undefined;
2091
+ visible?: boolean | undefined;
2059
2092
  absent?: boolean | undefined;
2060
2093
  }, {
2061
2094
  contains: string;
2062
- visible?: boolean | undefined;
2063
2095
  scope?: string | undefined;
2096
+ visible?: boolean | undefined;
2064
2097
  absent?: boolean | undefined;
2065
2098
  }>>;
2066
2099
  state: z.ZodOptional<z.ZodObject<{
@@ -2094,14 +2127,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2094
2127
  equals?: unknown;
2095
2128
  } | undefined;
2096
2129
  element?: {
2130
+ name?: string | undefined;
2097
2131
  testid?: string | undefined;
2098
2132
  role?: string | undefined;
2099
- name?: string | undefined;
2100
2133
  } | undefined;
2101
2134
  text?: {
2102
2135
  contains: string;
2103
- visible?: boolean | undefined;
2104
2136
  scope?: string | undefined;
2137
+ visible?: boolean | undefined;
2105
2138
  absent?: boolean | undefined;
2106
2139
  } | undefined;
2107
2140
  route?: {
@@ -2129,14 +2162,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2129
2162
  equals?: unknown;
2130
2163
  } | undefined;
2131
2164
  element?: {
2165
+ name?: string | undefined;
2132
2166
  testid?: string | undefined;
2133
2167
  role?: string | undefined;
2134
- name?: string | undefined;
2135
2168
  } | undefined;
2136
2169
  text?: {
2137
2170
  contains: string;
2138
- visible?: boolean | undefined;
2139
2171
  scope?: string | undefined;
2172
+ visible?: boolean | undefined;
2140
2173
  absent?: boolean | undefined;
2141
2174
  } | undefined;
2142
2175
  route?: {
@@ -2208,6 +2241,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2208
2241
  } | {
2209
2242
  kind: typeof PredicateKind.SETTLED;
2210
2243
  quietMs?: number;
2244
+ channel?: import("../verdict/consequence.js").SettledChannel;
2211
2245
  } | {
2212
2246
  kind: typeof PredicateKind.COMPARE;
2213
2247
  left: import("../verdict/compare-source.js").CompareSource;
@@ -2238,14 +2272,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2238
2272
  equals?: unknown;
2239
2273
  } | undefined;
2240
2274
  element?: {
2275
+ name?: string | undefined;
2241
2276
  testid?: string | undefined;
2242
2277
  role?: string | undefined;
2243
- name?: string | undefined;
2244
2278
  } | undefined;
2245
2279
  text?: {
2246
2280
  contains: string;
2247
- visible?: boolean | undefined;
2248
2281
  scope?: string | undefined;
2282
+ visible?: boolean | undefined;
2249
2283
  absent?: boolean | undefined;
2250
2284
  } | undefined;
2251
2285
  route?: {
@@ -2273,14 +2307,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2273
2307
  equals?: unknown;
2274
2308
  } | undefined;
2275
2309
  element?: {
2310
+ name?: string | undefined;
2276
2311
  testid?: string | undefined;
2277
2312
  role?: string | undefined;
2278
- name?: string | undefined;
2279
2313
  } | undefined;
2280
2314
  text?: {
2281
2315
  contains: string;
2282
- visible?: boolean | undefined;
2283
2316
  scope?: string | undefined;
2317
+ visible?: boolean | undefined;
2284
2318
  absent?: boolean | undefined;
2285
2319
  } | undefined;
2286
2320
  route?: {
@@ -2366,13 +2400,13 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2366
2400
  role: z.ZodOptional<z.ZodString>;
2367
2401
  name: z.ZodOptional<z.ZodString>;
2368
2402
  }, "strict", z.ZodTypeAny, {
2403
+ name?: string | undefined;
2369
2404
  testid?: string | undefined;
2370
2405
  role?: string | undefined;
2371
- name?: string | undefined;
2372
2406
  }, {
2407
+ name?: string | undefined;
2373
2408
  testid?: string | undefined;
2374
2409
  role?: string | undefined;
2375
- name?: string | undefined;
2376
2410
  }>>;
2377
2411
  text: z.ZodOptional<z.ZodObject<{
2378
2412
  contains: z.ZodString;
@@ -2381,13 +2415,13 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2381
2415
  visible: z.ZodOptional<z.ZodBoolean>;
2382
2416
  }, "strict", z.ZodTypeAny, {
2383
2417
  contains: string;
2384
- visible?: boolean | undefined;
2385
2418
  scope?: string | undefined;
2419
+ visible?: boolean | undefined;
2386
2420
  absent?: boolean | undefined;
2387
2421
  }, {
2388
2422
  contains: string;
2389
- visible?: boolean | undefined;
2390
2423
  scope?: string | undefined;
2424
+ visible?: boolean | undefined;
2391
2425
  absent?: boolean | undefined;
2392
2426
  }>>;
2393
2427
  state: z.ZodOptional<z.ZodObject<{
@@ -2421,14 +2455,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2421
2455
  equals?: unknown;
2422
2456
  } | undefined;
2423
2457
  element?: {
2458
+ name?: string | undefined;
2424
2459
  testid?: string | undefined;
2425
2460
  role?: string | undefined;
2426
- name?: string | undefined;
2427
2461
  } | undefined;
2428
2462
  text?: {
2429
2463
  contains: string;
2430
- visible?: boolean | undefined;
2431
2464
  scope?: string | undefined;
2465
+ visible?: boolean | undefined;
2432
2466
  absent?: boolean | undefined;
2433
2467
  } | undefined;
2434
2468
  route?: {
@@ -2456,14 +2490,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2456
2490
  equals?: unknown;
2457
2491
  } | undefined;
2458
2492
  element?: {
2493
+ name?: string | undefined;
2459
2494
  testid?: string | undefined;
2460
2495
  role?: string | undefined;
2461
- name?: string | undefined;
2462
2496
  } | undefined;
2463
2497
  text?: {
2464
2498
  contains: string;
2465
- visible?: boolean | undefined;
2466
2499
  scope?: string | undefined;
2500
+ visible?: boolean | undefined;
2467
2501
  absent?: boolean | undefined;
2468
2502
  } | undefined;
2469
2503
  route?: {
@@ -2535,6 +2569,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2535
2569
  } | {
2536
2570
  kind: typeof PredicateKind.SETTLED;
2537
2571
  quietMs?: number;
2572
+ channel?: import("../verdict/consequence.js").SettledChannel;
2538
2573
  } | {
2539
2574
  kind: typeof PredicateKind.COMPARE;
2540
2575
  left: import("../verdict/compare-source.js").CompareSource;
@@ -2565,14 +2600,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2565
2600
  equals?: unknown;
2566
2601
  } | undefined;
2567
2602
  element?: {
2603
+ name?: string | undefined;
2568
2604
  testid?: string | undefined;
2569
2605
  role?: string | undefined;
2570
- name?: string | undefined;
2571
2606
  } | undefined;
2572
2607
  text?: {
2573
2608
  contains: string;
2574
- visible?: boolean | undefined;
2575
2609
  scope?: string | undefined;
2610
+ visible?: boolean | undefined;
2576
2611
  absent?: boolean | undefined;
2577
2612
  } | undefined;
2578
2613
  route?: {
@@ -2593,6 +2628,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2593
2628
  dynamic: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2594
2629
  kind: z.ZodLiteral<"testid">;
2595
2630
  value: z.ZodString;
2631
+ of: z.ZodOptional<z.ZodNumber>;
2596
2632
  source: z.ZodOptional<z.ZodObject<{
2597
2633
  file: z.ZodString;
2598
2634
  line: z.ZodNumber;
@@ -2614,6 +2650,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2614
2650
  line: number;
2615
2651
  column?: number | undefined;
2616
2652
  } | undefined;
2653
+ of?: number | undefined;
2617
2654
  }, {
2618
2655
  kind: "testid";
2619
2656
  value: string;
@@ -2622,6 +2659,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2622
2659
  line: number;
2623
2660
  column?: number | undefined;
2624
2661
  } | undefined;
2662
+ of?: number | undefined;
2625
2663
  }>, z.ZodObject<{
2626
2664
  kind: z.ZodLiteral<"role">;
2627
2665
  role: z.ZodString;
@@ -2644,11 +2682,11 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2644
2682
  kind: z.ZodLiteral<"signal">;
2645
2683
  name: z.ZodString;
2646
2684
  }, "strip", z.ZodTypeAny, {
2647
- kind: "signal";
2648
2685
  name: string;
2649
- }, {
2650
2686
  kind: "signal";
2687
+ }, {
2651
2688
  name: string;
2689
+ kind: "signal";
2652
2690
  }>, z.ZodObject<{
2653
2691
  kind: z.ZodLiteral<"component">;
2654
2692
  component: z.ZodOptional<z.ZodString>;
@@ -2669,6 +2707,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2669
2707
  name: z.ZodOptional<z.ZodString>;
2670
2708
  }, "strip", z.ZodTypeAny, {
2671
2709
  kind: "component";
2710
+ name?: string | undefined;
2672
2711
  role?: string | undefined;
2673
2712
  component?: string | undefined;
2674
2713
  source?: {
@@ -2676,9 +2715,9 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2676
2715
  line: number;
2677
2716
  column?: number | undefined;
2678
2717
  } | undefined;
2679
- name?: string | undefined;
2680
2718
  }, {
2681
2719
  kind: "component";
2720
+ name?: string | undefined;
2682
2721
  role?: string | undefined;
2683
2722
  component?: string | undefined;
2684
2723
  source?: {
@@ -2686,7 +2725,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2686
2725
  line: number;
2687
2726
  column?: number | undefined;
2688
2727
  } | undefined;
2689
- name?: string | undefined;
2690
2728
  }>]>, "many">>;
2691
2729
  /**
2692
2730
  * Free-form labels a suite selects on — `smoke`, `checkout`, `slow`.
@@ -2787,14 +2825,15 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2787
2825
  until?: string | undefined;
2788
2826
  }>>;
2789
2827
  }, "strip", z.ZodTypeAny, {
2790
- steps: FlowStep[];
2791
2828
  name: string;
2829
+ steps: FlowStep[];
2792
2830
  createdAt: number;
2793
2831
  version: number;
2794
2832
  intent?: string | undefined;
2795
2833
  status?: "active" | "quarantined" | "draft" | undefined;
2796
2834
  startPath?: string | undefined;
2797
2835
  template?: string | undefined;
2836
+ intentDerived?: boolean | undefined;
2798
2837
  learned?: {
2799
2838
  state: "open" | "guarded";
2800
2839
  kind: string;
@@ -2820,6 +2859,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2820
2859
  line: number;
2821
2860
  column?: number | undefined;
2822
2861
  } | undefined;
2862
+ of?: number | undefined;
2823
2863
  } | {
2824
2864
  kind: "role";
2825
2865
  role: string;
@@ -2827,10 +2867,11 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2827
2867
  of?: number | undefined;
2828
2868
  nth?: number | undefined;
2829
2869
  } | {
2830
- kind: "signal";
2831
2870
  name: string;
2871
+ kind: "signal";
2832
2872
  } | {
2833
2873
  kind: "component";
2874
+ name?: string | undefined;
2834
2875
  role?: string | undefined;
2835
2876
  component?: string | undefined;
2836
2877
  source?: {
@@ -2838,7 +2879,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2838
2879
  line: number;
2839
2880
  column?: number | undefined;
2840
2881
  } | undefined;
2841
- name?: string | undefined;
2842
2882
  })[] | undefined;
2843
2883
  labels?: string[] | undefined;
2844
2884
  needs?: string[] | undefined;
@@ -2854,14 +2894,15 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2854
2894
  until?: string | undefined;
2855
2895
  } | undefined;
2856
2896
  }, {
2857
- steps: FlowStep[];
2858
2897
  name: string;
2898
+ steps: FlowStep[];
2859
2899
  createdAt: number;
2860
2900
  version: number;
2861
2901
  intent?: string | undefined;
2862
2902
  status?: "active" | "quarantined" | "draft" | undefined;
2863
2903
  startPath?: string | undefined;
2864
2904
  template?: string | undefined;
2905
+ intentDerived?: boolean | undefined;
2865
2906
  learned?: {
2866
2907
  state: "open" | "guarded";
2867
2908
  kind: string;
@@ -2886,14 +2927,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2886
2927
  equals?: unknown;
2887
2928
  } | undefined;
2888
2929
  element?: {
2930
+ name?: string | undefined;
2889
2931
  testid?: string | undefined;
2890
2932
  role?: string | undefined;
2891
- name?: string | undefined;
2892
2933
  } | undefined;
2893
2934
  text?: {
2894
2935
  contains: string;
2895
- visible?: boolean | undefined;
2896
2936
  scope?: string | undefined;
2937
+ visible?: boolean | undefined;
2897
2938
  absent?: boolean | undefined;
2898
2939
  } | undefined;
2899
2940
  route?: {
@@ -2922,14 +2963,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2922
2963
  equals?: unknown;
2923
2964
  } | undefined;
2924
2965
  element?: {
2966
+ name?: string | undefined;
2925
2967
  testid?: string | undefined;
2926
2968
  role?: string | undefined;
2927
- name?: string | undefined;
2928
2969
  } | undefined;
2929
2970
  text?: {
2930
2971
  contains: string;
2931
- visible?: boolean | undefined;
2932
2972
  scope?: string | undefined;
2973
+ visible?: boolean | undefined;
2933
2974
  absent?: boolean | undefined;
2934
2975
  } | undefined;
2935
2976
  route?: {
@@ -2963,14 +3004,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2963
3004
  equals?: unknown;
2964
3005
  } | undefined;
2965
3006
  element?: {
3007
+ name?: string | undefined;
2966
3008
  testid?: string | undefined;
2967
3009
  role?: string | undefined;
2968
- name?: string | undefined;
2969
3010
  } | undefined;
2970
3011
  text?: {
2971
3012
  contains: string;
2972
- visible?: boolean | undefined;
2973
3013
  scope?: string | undefined;
3014
+ visible?: boolean | undefined;
2974
3015
  absent?: boolean | undefined;
2975
3016
  } | undefined;
2976
3017
  route?: {
@@ -2992,6 +3033,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2992
3033
  line: number;
2993
3034
  column?: number | undefined;
2994
3035
  } | undefined;
3036
+ of?: number | undefined;
2995
3037
  } | {
2996
3038
  kind: "role";
2997
3039
  role: string;
@@ -2999,10 +3041,11 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2999
3041
  of?: number | undefined;
3000
3042
  nth?: number | undefined;
3001
3043
  } | {
3002
- kind: "signal";
3003
3044
  name: string;
3045
+ kind: "signal";
3004
3046
  } | {
3005
3047
  kind: "component";
3048
+ name?: string | undefined;
3006
3049
  role?: string | undefined;
3007
3050
  component?: string | undefined;
3008
3051
  source?: {
@@ -3010,7 +3053,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3010
3053
  line: number;
3011
3054
  column?: number | undefined;
3012
3055
  } | undefined;
3013
- name?: string | undefined;
3014
3056
  })[] | undefined;
3015
3057
  labels?: string[] | undefined;
3016
3058
  needs?: string[] | undefined;
@@ -3027,15 +3069,17 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3027
3069
  } | undefined;
3028
3070
  }>;
3029
3071
  }, "strip", z.ZodTypeAny, {
3072
+ name: string;
3030
3073
  flow: {
3031
- steps: FlowStep[];
3032
3074
  name: string;
3075
+ steps: FlowStep[];
3033
3076
  createdAt: number;
3034
3077
  version: number;
3035
3078
  intent?: string | undefined;
3036
3079
  status?: "active" | "quarantined" | "draft" | undefined;
3037
3080
  startPath?: string | undefined;
3038
3081
  template?: string | undefined;
3082
+ intentDerived?: boolean | undefined;
3039
3083
  learned?: {
3040
3084
  state: "open" | "guarded";
3041
3085
  kind: string;
@@ -3061,6 +3105,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3061
3105
  line: number;
3062
3106
  column?: number | undefined;
3063
3107
  } | undefined;
3108
+ of?: number | undefined;
3064
3109
  } | {
3065
3110
  kind: "role";
3066
3111
  role: string;
@@ -3068,10 +3113,11 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3068
3113
  of?: number | undefined;
3069
3114
  nth?: number | undefined;
3070
3115
  } | {
3071
- kind: "signal";
3072
3116
  name: string;
3117
+ kind: "signal";
3073
3118
  } | {
3074
3119
  kind: "component";
3120
+ name?: string | undefined;
3075
3121
  role?: string | undefined;
3076
3122
  component?: string | undefined;
3077
3123
  source?: {
@@ -3079,7 +3125,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3079
3125
  line: number;
3080
3126
  column?: number | undefined;
3081
3127
  } | undefined;
3082
- name?: string | undefined;
3083
3128
  })[] | undefined;
3084
3129
  labels?: string[] | undefined;
3085
3130
  needs?: string[] | undefined;
@@ -3095,17 +3140,18 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3095
3140
  until?: string | undefined;
3096
3141
  } | undefined;
3097
3142
  };
3098
- name: string;
3099
3143
  }, {
3144
+ name: string;
3100
3145
  flow: {
3101
- steps: FlowStep[];
3102
3146
  name: string;
3147
+ steps: FlowStep[];
3103
3148
  createdAt: number;
3104
3149
  version: number;
3105
3150
  intent?: string | undefined;
3106
3151
  status?: "active" | "quarantined" | "draft" | undefined;
3107
3152
  startPath?: string | undefined;
3108
3153
  template?: string | undefined;
3154
+ intentDerived?: boolean | undefined;
3109
3155
  learned?: {
3110
3156
  state: "open" | "guarded";
3111
3157
  kind: string;
@@ -3130,14 +3176,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3130
3176
  equals?: unknown;
3131
3177
  } | undefined;
3132
3178
  element?: {
3179
+ name?: string | undefined;
3133
3180
  testid?: string | undefined;
3134
3181
  role?: string | undefined;
3135
- name?: string | undefined;
3136
3182
  } | undefined;
3137
3183
  text?: {
3138
3184
  contains: string;
3139
- visible?: boolean | undefined;
3140
3185
  scope?: string | undefined;
3186
+ visible?: boolean | undefined;
3141
3187
  absent?: boolean | undefined;
3142
3188
  } | undefined;
3143
3189
  route?: {
@@ -3166,14 +3212,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3166
3212
  equals?: unknown;
3167
3213
  } | undefined;
3168
3214
  element?: {
3215
+ name?: string | undefined;
3169
3216
  testid?: string | undefined;
3170
3217
  role?: string | undefined;
3171
- name?: string | undefined;
3172
3218
  } | undefined;
3173
3219
  text?: {
3174
3220
  contains: string;
3175
- visible?: boolean | undefined;
3176
3221
  scope?: string | undefined;
3222
+ visible?: boolean | undefined;
3177
3223
  absent?: boolean | undefined;
3178
3224
  } | undefined;
3179
3225
  route?: {
@@ -3207,14 +3253,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3207
3253
  equals?: unknown;
3208
3254
  } | undefined;
3209
3255
  element?: {
3256
+ name?: string | undefined;
3210
3257
  testid?: string | undefined;
3211
3258
  role?: string | undefined;
3212
- name?: string | undefined;
3213
3259
  } | undefined;
3214
3260
  text?: {
3215
3261
  contains: string;
3216
- visible?: boolean | undefined;
3217
3262
  scope?: string | undefined;
3263
+ visible?: boolean | undefined;
3218
3264
  absent?: boolean | undefined;
3219
3265
  } | undefined;
3220
3266
  route?: {
@@ -3236,6 +3282,7 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3236
3282
  line: number;
3237
3283
  column?: number | undefined;
3238
3284
  } | undefined;
3285
+ of?: number | undefined;
3239
3286
  } | {
3240
3287
  kind: "role";
3241
3288
  role: string;
@@ -3243,10 +3290,11 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3243
3290
  of?: number | undefined;
3244
3291
  nth?: number | undefined;
3245
3292
  } | {
3246
- kind: "signal";
3247
3293
  name: string;
3294
+ kind: "signal";
3248
3295
  } | {
3249
3296
  kind: "component";
3297
+ name?: string | undefined;
3250
3298
  role?: string | undefined;
3251
3299
  component?: string | undefined;
3252
3300
  source?: {
@@ -3254,7 +3302,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3254
3302
  line: number;
3255
3303
  column?: number | undefined;
3256
3304
  } | undefined;
3257
- name?: string | undefined;
3258
3305
  })[] | undefined;
3259
3306
  labels?: string[] | undefined;
3260
3307
  needs?: string[] | undefined;
@@ -3270,7 +3317,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3270
3317
  until?: string | undefined;
3271
3318
  } | undefined;
3272
3319
  };
3273
- name: string;
3274
3320
  }>;
3275
3321
  export type RecordedFlow = z.infer<typeof RecordedFlowSchema>;
3276
3322
  /**