@reticlehq/core 3.3.0 → 3.4.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 (47) hide show
  1. package/README.md +1 -1
  2. package/dist/artifacts/flow-constants.d.ts +19 -0
  3. package/dist/artifacts/flow-constants.js +36 -1
  4. package/dist/artifacts/flow-expect-flat.d.ts +16 -16
  5. package/dist/artifacts/flow-expect-flat.js +2 -2
  6. package/dist/artifacts/flow-mutation-target.js +4 -0
  7. package/dist/artifacts/flow-types.d.ts +393 -297
  8. package/dist/artifacts/flow-types.js +17 -2
  9. package/dist/artifacts/journal.d.ts +3 -2
  10. package/dist/hooks/hook-events.d.ts +4 -4
  11. package/dist/index.d.ts +1 -0
  12. package/dist/index.js +1 -0
  13. package/dist/registry/daemon-registry.d.ts +14 -4
  14. package/dist/registry/daemon-registry.js +20 -4
  15. package/dist/schema/event-payloads.json +3 -0
  16. package/dist/telemetry-refusal.d.ts +3 -2
  17. package/dist/telemetry.d.ts +11 -10
  18. package/dist/verdict/compare-source.d.ts +80 -0
  19. package/dist/verdict/compare-source.js +93 -0
  20. package/dist/verdict/consequence.d.ts +2 -0
  21. package/dist/verdict/consequence.js +2 -0
  22. package/dist/verdict/instrumentation-gap.js +1 -1
  23. package/dist/verdict/intent.d.ts +12 -12
  24. package/dist/verdict/predicate-tree.d.ts +35 -0
  25. package/dist/verdict/predicate-tree.js +40 -0
  26. package/dist/verdict/predicate.d.ts +11 -2
  27. package/dist/verdict/predicate.js +38 -2
  28. package/dist/verdict/verification-run.d.ts +261 -28
  29. package/dist/verdict/verification-run.js +36 -0
  30. package/dist/wire/channel.d.ts +10 -0
  31. package/dist/wire/channel.js +25 -0
  32. package/dist/wire/constants/constants.d.ts +45 -4
  33. package/dist/wire/constants/constants.js +57 -4
  34. package/dist/wire/event-payloads.d.ts +12 -9
  35. package/dist/wire/event-payloads.js +8 -3
  36. package/dist/wire/messages.d.ts +24 -24
  37. package/dist/wire/net.d.ts +17 -0
  38. package/dist/wire/net.js +17 -0
  39. package/dist/wire/redaction.js +17 -0
  40. package/dist/wire/toon.d.ts +1 -1
  41. package/dist/wire/toon.js +2 -1
  42. package/dist/wire/types.d.ts +44 -44
  43. package/dist/words/no-session-reason.d.ts +7 -0
  44. package/dist/words/no-session-reason.js +7 -0
  45. package/dist/words/notices.d.ts +7 -0
  46. package/dist/words/notices.js +9 -2
  47. package/package.json +3 -2
@@ -35,16 +35,16 @@ export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
35
35
  column?: number | undefined;
36
36
  }>>;
37
37
  }, "strip", z.ZodTypeAny, {
38
- value: string;
39
38
  kind: "testid";
39
+ value: string;
40
40
  source?: {
41
41
  file: string;
42
42
  line: number;
43
43
  column?: number | undefined;
44
44
  } | undefined;
45
45
  }, {
46
- value: string;
47
46
  kind: "testid";
47
+ value: string;
48
48
  source?: {
49
49
  file: string;
50
50
  line: number;
@@ -55,22 +55,22 @@ export declare const FlowAnchorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
55
55
  role: z.ZodString;
56
56
  name: z.ZodOptional<z.ZodString>;
57
57
  }, "strip", z.ZodTypeAny, {
58
- role: string;
59
58
  kind: "role";
59
+ role: string;
60
60
  name?: string | undefined;
61
61
  }, {
62
- role: string;
63
62
  kind: "role";
63
+ role: string;
64
64
  name?: string | undefined;
65
65
  }>, z.ZodObject<{
66
66
  kind: z.ZodLiteral<"signal">;
67
67
  name: z.ZodString;
68
68
  }, "strip", z.ZodTypeAny, {
69
- name: string;
70
69
  kind: "signal";
71
- }, {
72
70
  name: string;
71
+ }, {
73
72
  kind: "signal";
73
+ name: string;
74
74
  }>, z.ZodObject<{
75
75
  kind: z.ZodLiteral<"component">;
76
76
  component: z.ZodOptional<z.ZodString>;
@@ -177,6 +177,10 @@ export interface FlowStep {
177
177
  * `timeout_ms`, so a recorded step can carry one too.
178
178
  */
179
179
  timeoutMs?: number;
180
+ /** The page (route pathname) this step ran on, recorded at capture. */
181
+ page?: string;
182
+ /** The page it ended on once its action settled — where it led, when that differs from `page`. */
183
+ endPage?: string;
180
184
  /** sub-steps for an act_sequence, each independently anchored. */
181
185
  steps?: FlowStep[];
182
186
  /**
@@ -277,6 +281,8 @@ export interface FlowStepResult {
277
281
  * fake session with no route events). Lets a replay result read as a page-by-page journey.
278
282
  */
279
283
  page?: string;
284
+ /** The route the page was on once this step settled — where it led. Absent when unobservable. */
285
+ endPage?: string;
280
286
  /**
281
287
  * A compact summary of the observable CONSEQUENCE in the window right after this step ran — the
282
288
  * "what happened" of the journey: a route change, a domain signal (e.g. a modal opening), a
@@ -708,23 +714,17 @@ export declare const FlowFileSchema: z.ZodObject<{
708
714
  hold: z.ZodOptional<z.ZodBoolean>;
709
715
  }, "strict", z.ZodTypeAny, {
710
716
  path: string;
717
+ hold?: boolean | undefined;
711
718
  store?: string | undefined;
712
719
  equals?: unknown;
713
- hold?: boolean | undefined;
714
720
  }, {
715
721
  path: string;
722
+ hold?: boolean | undefined;
716
723
  store?: string | undefined;
717
724
  equals?: unknown;
718
- hold?: boolean | undefined;
719
725
  }>>;
720
726
  }, "strict", z.ZodTypeAny, {
721
727
  signal?: string | undefined;
722
- text?: {
723
- contains: string;
724
- visible?: boolean | undefined;
725
- scope?: string | undefined;
726
- absent?: boolean | undefined;
727
- } | undefined;
728
728
  net?: {
729
729
  status?: number | undefined;
730
730
  method?: string | undefined;
@@ -733,15 +733,21 @@ export declare const FlowFileSchema: z.ZodObject<{
733
733
  } | undefined;
734
734
  state?: {
735
735
  path: string;
736
+ hold?: boolean | undefined;
736
737
  store?: string | undefined;
737
738
  equals?: unknown;
738
- hold?: boolean | undefined;
739
739
  } | undefined;
740
740
  element?: {
741
741
  testid?: string | undefined;
742
742
  role?: string | undefined;
743
743
  name?: string | undefined;
744
744
  } | undefined;
745
+ text?: {
746
+ contains: string;
747
+ visible?: boolean | undefined;
748
+ scope?: string | undefined;
749
+ absent?: boolean | undefined;
750
+ } | undefined;
745
751
  route?: {
746
752
  contains?: string | undefined;
747
753
  pathname?: string | undefined;
@@ -754,12 +760,6 @@ export declare const FlowFileSchema: z.ZodObject<{
754
760
  signalCount?: number | undefined;
755
761
  }, {
756
762
  signal?: string | undefined;
757
- text?: {
758
- contains: string;
759
- visible?: boolean | undefined;
760
- scope?: string | undefined;
761
- absent?: boolean | undefined;
762
- } | undefined;
763
763
  net?: {
764
764
  status?: number | undefined;
765
765
  method?: string | undefined;
@@ -768,15 +768,21 @@ export declare const FlowFileSchema: z.ZodObject<{
768
768
  } | undefined;
769
769
  state?: {
770
770
  path: string;
771
+ hold?: boolean | undefined;
771
772
  store?: string | undefined;
772
773
  equals?: unknown;
773
- hold?: boolean | undefined;
774
774
  } | undefined;
775
775
  element?: {
776
776
  testid?: string | undefined;
777
777
  role?: string | undefined;
778
778
  name?: string | undefined;
779
779
  } | undefined;
780
+ text?: {
781
+ contains: string;
782
+ visible?: boolean | undefined;
783
+ scope?: string | undefined;
784
+ absent?: boolean | undefined;
785
+ } | undefined;
780
786
  route?: {
781
787
  contains?: string | undefined;
782
788
  pathname?: string | undefined;
@@ -844,6 +850,12 @@ export declare const FlowFileSchema: z.ZodObject<{
844
850
  } | {
845
851
  kind: typeof PredicateKind.SETTLED;
846
852
  quietMs?: number;
853
+ } | {
854
+ kind: typeof PredicateKind.COMPARE;
855
+ left: import("../verdict/compare-source.js").CompareSource;
856
+ right: import("../verdict/compare-source.js").CompareSource;
857
+ as?: import("../verdict/compare-source.js").CompareAs;
858
+ tolerance?: number;
847
859
  } | {
848
860
  kind: typeof PredicateKind.ALL_OF;
849
861
  predicates: Predicate[];
@@ -855,12 +867,6 @@ export declare const FlowFileSchema: z.ZodObject<{
855
867
  predicate: Predicate;
856
868
  } | undefined, {
857
869
  signal?: string | undefined;
858
- text?: {
859
- contains: string;
860
- visible?: boolean | undefined;
861
- scope?: string | undefined;
862
- absent?: boolean | undefined;
863
- } | undefined;
864
870
  net?: {
865
871
  status?: number | undefined;
866
872
  method?: string | undefined;
@@ -869,15 +875,21 @@ export declare const FlowFileSchema: z.ZodObject<{
869
875
  } | undefined;
870
876
  state?: {
871
877
  path: string;
878
+ hold?: boolean | undefined;
872
879
  store?: string | undefined;
873
880
  equals?: unknown;
874
- hold?: boolean | undefined;
875
881
  } | undefined;
876
882
  element?: {
877
883
  testid?: string | undefined;
878
884
  role?: string | undefined;
879
885
  name?: string | undefined;
880
886
  } | undefined;
887
+ text?: {
888
+ contains: string;
889
+ visible?: boolean | undefined;
890
+ scope?: string | undefined;
891
+ absent?: boolean | undefined;
892
+ } | undefined;
881
893
  route?: {
882
894
  contains?: string | undefined;
883
895
  pathname?: string | undefined;
@@ -890,12 +902,6 @@ export declare const FlowFileSchema: z.ZodObject<{
890
902
  signalCount?: number | undefined;
891
903
  }>]>, "many">, Predicate[], (Predicate | {
892
904
  signal?: string | undefined;
893
- text?: {
894
- contains: string;
895
- visible?: boolean | undefined;
896
- scope?: string | undefined;
897
- absent?: boolean | undefined;
898
- } | undefined;
899
905
  net?: {
900
906
  status?: number | undefined;
901
907
  method?: string | undefined;
@@ -904,15 +910,21 @@ export declare const FlowFileSchema: z.ZodObject<{
904
910
  } | undefined;
905
911
  state?: {
906
912
  path: string;
913
+ hold?: boolean | undefined;
907
914
  store?: string | undefined;
908
915
  equals?: unknown;
909
- hold?: boolean | undefined;
910
916
  } | undefined;
911
917
  element?: {
912
918
  testid?: string | undefined;
913
919
  role?: string | undefined;
914
920
  name?: string | undefined;
915
921
  } | undefined;
922
+ text?: {
923
+ contains: string;
924
+ visible?: boolean | undefined;
925
+ scope?: string | undefined;
926
+ absent?: boolean | undefined;
927
+ } | undefined;
916
928
  route?: {
917
929
  contains?: string | undefined;
918
930
  pathname?: string | undefined;
@@ -1000,23 +1012,17 @@ export declare const FlowFileSchema: z.ZodObject<{
1000
1012
  hold: z.ZodOptional<z.ZodBoolean>;
1001
1013
  }, "strict", z.ZodTypeAny, {
1002
1014
  path: string;
1015
+ hold?: boolean | undefined;
1003
1016
  store?: string | undefined;
1004
1017
  equals?: unknown;
1005
- hold?: boolean | undefined;
1006
1018
  }, {
1007
1019
  path: string;
1020
+ hold?: boolean | undefined;
1008
1021
  store?: string | undefined;
1009
1022
  equals?: unknown;
1010
- hold?: boolean | undefined;
1011
1023
  }>>;
1012
1024
  }, "strict", z.ZodTypeAny, {
1013
1025
  signal?: string | undefined;
1014
- text?: {
1015
- contains: string;
1016
- visible?: boolean | undefined;
1017
- scope?: string | undefined;
1018
- absent?: boolean | undefined;
1019
- } | undefined;
1020
1026
  net?: {
1021
1027
  status?: number | undefined;
1022
1028
  method?: string | undefined;
@@ -1025,15 +1031,21 @@ export declare const FlowFileSchema: z.ZodObject<{
1025
1031
  } | undefined;
1026
1032
  state?: {
1027
1033
  path: string;
1034
+ hold?: boolean | undefined;
1028
1035
  store?: string | undefined;
1029
1036
  equals?: unknown;
1030
- hold?: boolean | undefined;
1031
1037
  } | undefined;
1032
1038
  element?: {
1033
1039
  testid?: string | undefined;
1034
1040
  role?: string | undefined;
1035
1041
  name?: string | undefined;
1036
1042
  } | undefined;
1043
+ text?: {
1044
+ contains: string;
1045
+ visible?: boolean | undefined;
1046
+ scope?: string | undefined;
1047
+ absent?: boolean | undefined;
1048
+ } | undefined;
1037
1049
  route?: {
1038
1050
  contains?: string | undefined;
1039
1051
  pathname?: string | undefined;
@@ -1046,12 +1058,6 @@ export declare const FlowFileSchema: z.ZodObject<{
1046
1058
  signalCount?: number | undefined;
1047
1059
  }, {
1048
1060
  signal?: string | undefined;
1049
- text?: {
1050
- contains: string;
1051
- visible?: boolean | undefined;
1052
- scope?: string | undefined;
1053
- absent?: boolean | undefined;
1054
- } | undefined;
1055
1061
  net?: {
1056
1062
  status?: number | undefined;
1057
1063
  method?: string | undefined;
@@ -1060,15 +1066,21 @@ export declare const FlowFileSchema: z.ZodObject<{
1060
1066
  } | undefined;
1061
1067
  state?: {
1062
1068
  path: string;
1069
+ hold?: boolean | undefined;
1063
1070
  store?: string | undefined;
1064
1071
  equals?: unknown;
1065
- hold?: boolean | undefined;
1066
1072
  } | undefined;
1067
1073
  element?: {
1068
1074
  testid?: string | undefined;
1069
1075
  role?: string | undefined;
1070
1076
  name?: string | undefined;
1071
1077
  } | undefined;
1078
+ text?: {
1079
+ contains: string;
1080
+ visible?: boolean | undefined;
1081
+ scope?: string | undefined;
1082
+ absent?: boolean | undefined;
1083
+ } | undefined;
1072
1084
  route?: {
1073
1085
  contains?: string | undefined;
1074
1086
  pathname?: string | undefined;
@@ -1136,6 +1148,12 @@ export declare const FlowFileSchema: z.ZodObject<{
1136
1148
  } | {
1137
1149
  kind: typeof PredicateKind.SETTLED;
1138
1150
  quietMs?: number;
1151
+ } | {
1152
+ kind: typeof PredicateKind.COMPARE;
1153
+ left: import("../verdict/compare-source.js").CompareSource;
1154
+ right: import("../verdict/compare-source.js").CompareSource;
1155
+ as?: import("../verdict/compare-source.js").CompareAs;
1156
+ tolerance?: number;
1139
1157
  } | {
1140
1158
  kind: typeof PredicateKind.ALL_OF;
1141
1159
  predicates: Predicate[];
@@ -1147,12 +1165,6 @@ export declare const FlowFileSchema: z.ZodObject<{
1147
1165
  predicate: Predicate;
1148
1166
  } | undefined, {
1149
1167
  signal?: string | undefined;
1150
- text?: {
1151
- contains: string;
1152
- visible?: boolean | undefined;
1153
- scope?: string | undefined;
1154
- absent?: boolean | undefined;
1155
- } | undefined;
1156
1168
  net?: {
1157
1169
  status?: number | undefined;
1158
1170
  method?: string | undefined;
@@ -1161,15 +1173,21 @@ export declare const FlowFileSchema: z.ZodObject<{
1161
1173
  } | undefined;
1162
1174
  state?: {
1163
1175
  path: string;
1176
+ hold?: boolean | undefined;
1164
1177
  store?: string | undefined;
1165
1178
  equals?: unknown;
1166
- hold?: boolean | undefined;
1167
1179
  } | undefined;
1168
1180
  element?: {
1169
1181
  testid?: string | undefined;
1170
1182
  role?: string | undefined;
1171
1183
  name?: string | undefined;
1172
1184
  } | undefined;
1185
+ text?: {
1186
+ contains: string;
1187
+ visible?: boolean | undefined;
1188
+ scope?: string | undefined;
1189
+ absent?: boolean | undefined;
1190
+ } | undefined;
1173
1191
  route?: {
1174
1192
  contains?: string | undefined;
1175
1193
  pathname?: string | undefined;
@@ -1182,12 +1200,6 @@ export declare const FlowFileSchema: z.ZodObject<{
1182
1200
  signalCount?: number | undefined;
1183
1201
  }>]>, "many">, Predicate[], (Predicate | {
1184
1202
  signal?: string | undefined;
1185
- text?: {
1186
- contains: string;
1187
- visible?: boolean | undefined;
1188
- scope?: string | undefined;
1189
- absent?: boolean | undefined;
1190
- } | undefined;
1191
1203
  net?: {
1192
1204
  status?: number | undefined;
1193
1205
  method?: string | undefined;
@@ -1196,15 +1208,21 @@ export declare const FlowFileSchema: z.ZodObject<{
1196
1208
  } | undefined;
1197
1209
  state?: {
1198
1210
  path: string;
1211
+ hold?: boolean | undefined;
1199
1212
  store?: string | undefined;
1200
1213
  equals?: unknown;
1201
- hold?: boolean | undefined;
1202
1214
  } | undefined;
1203
1215
  element?: {
1204
1216
  testid?: string | undefined;
1205
1217
  role?: string | undefined;
1206
1218
  name?: string | undefined;
1207
1219
  } | undefined;
1220
+ text?: {
1221
+ contains: string;
1222
+ visible?: boolean | undefined;
1223
+ scope?: string | undefined;
1224
+ absent?: boolean | undefined;
1225
+ } | undefined;
1208
1226
  route?: {
1209
1227
  contains?: string | undefined;
1210
1228
  pathname?: string | undefined;
@@ -1216,6 +1234,21 @@ export declare const FlowFileSchema: z.ZodObject<{
1216
1234
  signalData?: Record<string, unknown> | undefined;
1217
1235
  signalCount?: number | undefined;
1218
1236
  })[]>>;
1237
+ /**
1238
+ * Who made this flow, stamped at save: the agent that drove it (its MCP client name) and the
1239
+ * person signed in to the cloud key on that machine. Either is absent when it was not known —
1240
+ * never guessed.
1241
+ */
1242
+ author: z.ZodOptional<z.ZodObject<{
1243
+ agent: z.ZodOptional<z.ZodString>;
1244
+ person: z.ZodOptional<z.ZodString>;
1245
+ }, "strip", z.ZodTypeAny, {
1246
+ agent?: string | undefined;
1247
+ person?: string | undefined;
1248
+ }, {
1249
+ agent?: string | undefined;
1250
+ person?: string | undefined;
1251
+ }>>;
1219
1252
  /** From the injected clock (ms) — deterministic in tests, byte-stable on disk. */
1220
1253
  createdAt: z.ZodNumber;
1221
1254
  steps: z.ZodArray<z.ZodType<FlowStep, z.ZodTypeDef, FlowStep>, "many">;
@@ -1304,23 +1337,17 @@ export declare const FlowFileSchema: z.ZodObject<{
1304
1337
  hold: z.ZodOptional<z.ZodBoolean>;
1305
1338
  }, "strict", z.ZodTypeAny, {
1306
1339
  path: string;
1340
+ hold?: boolean | undefined;
1307
1341
  store?: string | undefined;
1308
1342
  equals?: unknown;
1309
- hold?: boolean | undefined;
1310
1343
  }, {
1311
1344
  path: string;
1345
+ hold?: boolean | undefined;
1312
1346
  store?: string | undefined;
1313
1347
  equals?: unknown;
1314
- hold?: boolean | undefined;
1315
1348
  }>>;
1316
1349
  }, "strict", z.ZodTypeAny, {
1317
1350
  signal?: string | undefined;
1318
- text?: {
1319
- contains: string;
1320
- visible?: boolean | undefined;
1321
- scope?: string | undefined;
1322
- absent?: boolean | undefined;
1323
- } | undefined;
1324
1351
  net?: {
1325
1352
  status?: number | undefined;
1326
1353
  method?: string | undefined;
@@ -1329,15 +1356,21 @@ export declare const FlowFileSchema: z.ZodObject<{
1329
1356
  } | undefined;
1330
1357
  state?: {
1331
1358
  path: string;
1359
+ hold?: boolean | undefined;
1332
1360
  store?: string | undefined;
1333
1361
  equals?: unknown;
1334
- hold?: boolean | undefined;
1335
1362
  } | undefined;
1336
1363
  element?: {
1337
1364
  testid?: string | undefined;
1338
1365
  role?: string | undefined;
1339
1366
  name?: string | undefined;
1340
1367
  } | undefined;
1368
+ text?: {
1369
+ contains: string;
1370
+ visible?: boolean | undefined;
1371
+ scope?: string | undefined;
1372
+ absent?: boolean | undefined;
1373
+ } | undefined;
1341
1374
  route?: {
1342
1375
  contains?: string | undefined;
1343
1376
  pathname?: string | undefined;
@@ -1350,12 +1383,6 @@ export declare const FlowFileSchema: z.ZodObject<{
1350
1383
  signalCount?: number | undefined;
1351
1384
  }, {
1352
1385
  signal?: string | undefined;
1353
- text?: {
1354
- contains: string;
1355
- visible?: boolean | undefined;
1356
- scope?: string | undefined;
1357
- absent?: boolean | undefined;
1358
- } | undefined;
1359
1386
  net?: {
1360
1387
  status?: number | undefined;
1361
1388
  method?: string | undefined;
@@ -1364,15 +1391,21 @@ export declare const FlowFileSchema: z.ZodObject<{
1364
1391
  } | undefined;
1365
1392
  state?: {
1366
1393
  path: string;
1394
+ hold?: boolean | undefined;
1367
1395
  store?: string | undefined;
1368
1396
  equals?: unknown;
1369
- hold?: boolean | undefined;
1370
1397
  } | undefined;
1371
1398
  element?: {
1372
1399
  testid?: string | undefined;
1373
1400
  role?: string | undefined;
1374
1401
  name?: string | undefined;
1375
1402
  } | undefined;
1403
+ text?: {
1404
+ contains: string;
1405
+ visible?: boolean | undefined;
1406
+ scope?: string | undefined;
1407
+ absent?: boolean | undefined;
1408
+ } | undefined;
1376
1409
  route?: {
1377
1410
  contains?: string | undefined;
1378
1411
  pathname?: string | undefined;
@@ -1440,6 +1473,12 @@ export declare const FlowFileSchema: z.ZodObject<{
1440
1473
  } | {
1441
1474
  kind: typeof PredicateKind.SETTLED;
1442
1475
  quietMs?: number;
1476
+ } | {
1477
+ kind: typeof PredicateKind.COMPARE;
1478
+ left: import("../verdict/compare-source.js").CompareSource;
1479
+ right: import("../verdict/compare-source.js").CompareSource;
1480
+ as?: import("../verdict/compare-source.js").CompareAs;
1481
+ tolerance?: number;
1443
1482
  } | {
1444
1483
  kind: typeof PredicateKind.ALL_OF;
1445
1484
  predicates: Predicate[];
@@ -1451,12 +1490,6 @@ export declare const FlowFileSchema: z.ZodObject<{
1451
1490
  predicate: Predicate;
1452
1491
  } | undefined, {
1453
1492
  signal?: string | undefined;
1454
- text?: {
1455
- contains: string;
1456
- visible?: boolean | undefined;
1457
- scope?: string | undefined;
1458
- absent?: boolean | undefined;
1459
- } | undefined;
1460
1493
  net?: {
1461
1494
  status?: number | undefined;
1462
1495
  method?: string | undefined;
@@ -1465,15 +1498,21 @@ export declare const FlowFileSchema: z.ZodObject<{
1465
1498
  } | undefined;
1466
1499
  state?: {
1467
1500
  path: string;
1501
+ hold?: boolean | undefined;
1468
1502
  store?: string | undefined;
1469
1503
  equals?: unknown;
1470
- hold?: boolean | undefined;
1471
1504
  } | undefined;
1472
1505
  element?: {
1473
1506
  testid?: string | undefined;
1474
1507
  role?: string | undefined;
1475
1508
  name?: string | undefined;
1476
1509
  } | undefined;
1510
+ text?: {
1511
+ contains: string;
1512
+ visible?: boolean | undefined;
1513
+ scope?: string | undefined;
1514
+ absent?: boolean | undefined;
1515
+ } | undefined;
1477
1516
  route?: {
1478
1517
  contains?: string | undefined;
1479
1518
  pathname?: string | undefined;
@@ -1506,16 +1545,16 @@ export declare const FlowFileSchema: z.ZodObject<{
1506
1545
  column?: number | undefined;
1507
1546
  }>>;
1508
1547
  }, "strip", z.ZodTypeAny, {
1509
- value: string;
1510
1548
  kind: "testid";
1549
+ value: string;
1511
1550
  source?: {
1512
1551
  file: string;
1513
1552
  line: number;
1514
1553
  column?: number | undefined;
1515
1554
  } | undefined;
1516
1555
  }, {
1517
- value: string;
1518
1556
  kind: "testid";
1557
+ value: string;
1519
1558
  source?: {
1520
1559
  file: string;
1521
1560
  line: number;
@@ -1526,22 +1565,22 @@ export declare const FlowFileSchema: z.ZodObject<{
1526
1565
  role: z.ZodString;
1527
1566
  name: z.ZodOptional<z.ZodString>;
1528
1567
  }, "strip", z.ZodTypeAny, {
1529
- role: string;
1530
1568
  kind: "role";
1569
+ role: string;
1531
1570
  name?: string | undefined;
1532
1571
  }, {
1533
- role: string;
1534
1572
  kind: "role";
1573
+ role: string;
1535
1574
  name?: string | undefined;
1536
1575
  }>, z.ZodObject<{
1537
1576
  kind: z.ZodLiteral<"signal">;
1538
1577
  name: z.ZodString;
1539
1578
  }, "strip", z.ZodTypeAny, {
1540
- name: string;
1541
1579
  kind: "signal";
1542
- }, {
1543
1580
  name: string;
1581
+ }, {
1544
1582
  kind: "signal";
1583
+ name: string;
1545
1584
  }>, z.ZodObject<{
1546
1585
  kind: z.ZodLiteral<"component">;
1547
1586
  component: z.ZodOptional<z.ZodString>;
@@ -1619,14 +1658,14 @@ export declare const FlowFileSchema: z.ZodObject<{
1619
1658
  /** Consecutive runs that did not show it. One quiet run is not a fix; see learnFromRun. */
1620
1659
  cleanRuns: z.ZodOptional<z.ZodNumber>;
1621
1660
  }, "strip", z.ZodTypeAny, {
1622
- step: number;
1623
1661
  state: "open" | "guarded";
1624
1662
  kind: string;
1663
+ step: number;
1625
1664
  cleanRuns?: number | undefined;
1626
1665
  }, {
1627
- step: number;
1628
1666
  state: "open" | "guarded";
1629
1667
  kind: string;
1668
+ step: number;
1630
1669
  cleanRuns?: number | undefined;
1631
1670
  }>, "many">>;
1632
1671
  /**
@@ -1648,12 +1687,12 @@ export declare const FlowFileSchema: z.ZodObject<{
1648
1687
  /** Which of this flow's assertions the note was written against. */
1649
1688
  assertions: z.ZodArray<z.ZodString, "many">;
1650
1689
  }, "strip", z.ZodTypeAny, {
1651
- id: string;
1652
1690
  summary: string;
1691
+ id: string;
1653
1692
  assertions: string[];
1654
1693
  }, {
1655
- id: string;
1656
1694
  summary: string;
1695
+ id: string;
1657
1696
  assertions: string[];
1658
1697
  }>, "many">>;
1659
1698
  /**
@@ -1680,41 +1719,45 @@ export declare const FlowFileSchema: z.ZodObject<{
1680
1719
  until?: string | undefined;
1681
1720
  }>>;
1682
1721
  }, "strip", z.ZodTypeAny, {
1683
- name: string;
1684
1722
  steps: FlowStep[];
1723
+ name: string;
1685
1724
  createdAt: number;
1686
1725
  version: number;
1687
1726
  intent?: string | undefined;
1688
1727
  status?: "active" | "quarantined" | "draft" | undefined;
1728
+ startPath?: string | undefined;
1689
1729
  learned?: {
1690
- step: number;
1691
1730
  state: "open" | "guarded";
1692
1731
  kind: string;
1732
+ step: number;
1693
1733
  cleanRuns?: number | undefined;
1694
1734
  }[] | undefined;
1695
1735
  intentId?: string | undefined;
1696
1736
  projectId?: string | undefined;
1697
- startPath?: string | undefined;
1698
1737
  fixture?: string | undefined;
1699
1738
  requires?: Predicate[] | undefined;
1700
1739
  ensures?: Predicate[] | undefined;
1740
+ author?: {
1741
+ agent?: string | undefined;
1742
+ person?: string | undefined;
1743
+ } | undefined;
1701
1744
  signalTimeoutMs?: number | undefined;
1702
1745
  success?: Predicate | undefined;
1703
1746
  dynamic?: ({
1704
- value: string;
1705
1747
  kind: "testid";
1748
+ value: string;
1706
1749
  source?: {
1707
1750
  file: string;
1708
1751
  line: number;
1709
1752
  column?: number | undefined;
1710
1753
  } | undefined;
1711
1754
  } | {
1712
- role: string;
1713
1755
  kind: "role";
1756
+ role: string;
1714
1757
  name?: string | undefined;
1715
1758
  } | {
1716
- name: string;
1717
1759
  kind: "signal";
1760
+ name: string;
1718
1761
  } | {
1719
1762
  kind: "component";
1720
1763
  role?: string | undefined;
@@ -1729,8 +1772,8 @@ export declare const FlowFileSchema: z.ZodObject<{
1729
1772
  labels?: string[] | undefined;
1730
1773
  needs?: string[] | undefined;
1731
1774
  knownBugs?: {
1732
- id: string;
1733
1775
  summary: string;
1776
+ id: string;
1734
1777
  assertions: string[];
1735
1778
  }[] | undefined;
1736
1779
  quarantine?: {
@@ -1740,30 +1783,24 @@ export declare const FlowFileSchema: z.ZodObject<{
1740
1783
  until?: string | undefined;
1741
1784
  } | undefined;
1742
1785
  }, {
1743
- name: string;
1744
1786
  steps: FlowStep[];
1787
+ name: string;
1745
1788
  createdAt: number;
1746
1789
  version: number;
1747
1790
  intent?: string | undefined;
1748
1791
  status?: "active" | "quarantined" | "draft" | undefined;
1792
+ startPath?: string | undefined;
1749
1793
  learned?: {
1750
- step: number;
1751
1794
  state: "open" | "guarded";
1752
1795
  kind: string;
1796
+ step: number;
1753
1797
  cleanRuns?: number | undefined;
1754
1798
  }[] | undefined;
1755
1799
  intentId?: string | undefined;
1756
1800
  projectId?: string | undefined;
1757
- startPath?: string | undefined;
1758
1801
  fixture?: string | undefined;
1759
1802
  requires?: (Predicate | {
1760
1803
  signal?: string | undefined;
1761
- text?: {
1762
- contains: string;
1763
- visible?: boolean | undefined;
1764
- scope?: string | undefined;
1765
- absent?: boolean | undefined;
1766
- } | undefined;
1767
1804
  net?: {
1768
1805
  status?: number | undefined;
1769
1806
  method?: string | undefined;
@@ -1772,15 +1809,21 @@ export declare const FlowFileSchema: z.ZodObject<{
1772
1809
  } | undefined;
1773
1810
  state?: {
1774
1811
  path: string;
1812
+ hold?: boolean | undefined;
1775
1813
  store?: string | undefined;
1776
1814
  equals?: unknown;
1777
- hold?: boolean | undefined;
1778
1815
  } | undefined;
1779
1816
  element?: {
1780
1817
  testid?: string | undefined;
1781
1818
  role?: string | undefined;
1782
1819
  name?: string | undefined;
1783
1820
  } | undefined;
1821
+ text?: {
1822
+ contains: string;
1823
+ visible?: boolean | undefined;
1824
+ scope?: string | undefined;
1825
+ absent?: boolean | undefined;
1826
+ } | undefined;
1784
1827
  route?: {
1785
1828
  contains?: string | undefined;
1786
1829
  pathname?: string | undefined;
@@ -1794,12 +1837,6 @@ export declare const FlowFileSchema: z.ZodObject<{
1794
1837
  })[] | undefined;
1795
1838
  ensures?: (Predicate | {
1796
1839
  signal?: string | undefined;
1797
- text?: {
1798
- contains: string;
1799
- visible?: boolean | undefined;
1800
- scope?: string | undefined;
1801
- absent?: boolean | undefined;
1802
- } | undefined;
1803
1840
  net?: {
1804
1841
  status?: number | undefined;
1805
1842
  method?: string | undefined;
@@ -1808,15 +1845,21 @@ export declare const FlowFileSchema: z.ZodObject<{
1808
1845
  } | undefined;
1809
1846
  state?: {
1810
1847
  path: string;
1848
+ hold?: boolean | undefined;
1811
1849
  store?: string | undefined;
1812
1850
  equals?: unknown;
1813
- hold?: boolean | undefined;
1814
1851
  } | undefined;
1815
1852
  element?: {
1816
1853
  testid?: string | undefined;
1817
1854
  role?: string | undefined;
1818
1855
  name?: string | undefined;
1819
1856
  } | undefined;
1857
+ text?: {
1858
+ contains: string;
1859
+ visible?: boolean | undefined;
1860
+ scope?: string | undefined;
1861
+ absent?: boolean | undefined;
1862
+ } | undefined;
1820
1863
  route?: {
1821
1864
  contains?: string | undefined;
1822
1865
  pathname?: string | undefined;
@@ -1828,15 +1871,13 @@ export declare const FlowFileSchema: z.ZodObject<{
1828
1871
  signalData?: Record<string, unknown> | undefined;
1829
1872
  signalCount?: number | undefined;
1830
1873
  })[] | undefined;
1874
+ author?: {
1875
+ agent?: string | undefined;
1876
+ person?: string | undefined;
1877
+ } | undefined;
1831
1878
  signalTimeoutMs?: number | undefined;
1832
1879
  success?: Predicate | {
1833
1880
  signal?: string | undefined;
1834
- text?: {
1835
- contains: string;
1836
- visible?: boolean | undefined;
1837
- scope?: string | undefined;
1838
- absent?: boolean | undefined;
1839
- } | undefined;
1840
1881
  net?: {
1841
1882
  status?: number | undefined;
1842
1883
  method?: string | undefined;
@@ -1845,15 +1886,21 @@ export declare const FlowFileSchema: z.ZodObject<{
1845
1886
  } | undefined;
1846
1887
  state?: {
1847
1888
  path: string;
1889
+ hold?: boolean | undefined;
1848
1890
  store?: string | undefined;
1849
1891
  equals?: unknown;
1850
- hold?: boolean | undefined;
1851
1892
  } | undefined;
1852
1893
  element?: {
1853
1894
  testid?: string | undefined;
1854
1895
  role?: string | undefined;
1855
1896
  name?: string | undefined;
1856
1897
  } | undefined;
1898
+ text?: {
1899
+ contains: string;
1900
+ visible?: boolean | undefined;
1901
+ scope?: string | undefined;
1902
+ absent?: boolean | undefined;
1903
+ } | undefined;
1857
1904
  route?: {
1858
1905
  contains?: string | undefined;
1859
1906
  pathname?: string | undefined;
@@ -1866,20 +1913,20 @@ export declare const FlowFileSchema: z.ZodObject<{
1866
1913
  signalCount?: number | undefined;
1867
1914
  } | undefined;
1868
1915
  dynamic?: ({
1869
- value: string;
1870
1916
  kind: "testid";
1917
+ value: string;
1871
1918
  source?: {
1872
1919
  file: string;
1873
1920
  line: number;
1874
1921
  column?: number | undefined;
1875
1922
  } | undefined;
1876
1923
  } | {
1877
- role: string;
1878
1924
  kind: "role";
1925
+ role: string;
1879
1926
  name?: string | undefined;
1880
1927
  } | {
1881
- name: string;
1882
1928
  kind: "signal";
1929
+ name: string;
1883
1930
  } | {
1884
1931
  kind: "component";
1885
1932
  role?: string | undefined;
@@ -1894,8 +1941,8 @@ export declare const FlowFileSchema: z.ZodObject<{
1894
1941
  labels?: string[] | undefined;
1895
1942
  needs?: string[] | undefined;
1896
1943
  knownBugs?: {
1897
- id: string;
1898
1944
  summary: string;
1945
+ id: string;
1899
1946
  assertions: string[];
1900
1947
  }[] | undefined;
1901
1948
  quarantine?: {
@@ -2067,23 +2114,17 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2067
2114
  hold: z.ZodOptional<z.ZodBoolean>;
2068
2115
  }, "strict", z.ZodTypeAny, {
2069
2116
  path: string;
2117
+ hold?: boolean | undefined;
2070
2118
  store?: string | undefined;
2071
2119
  equals?: unknown;
2072
- hold?: boolean | undefined;
2073
2120
  }, {
2074
2121
  path: string;
2122
+ hold?: boolean | undefined;
2075
2123
  store?: string | undefined;
2076
2124
  equals?: unknown;
2077
- hold?: boolean | undefined;
2078
2125
  }>>;
2079
2126
  }, "strict", z.ZodTypeAny, {
2080
2127
  signal?: string | undefined;
2081
- text?: {
2082
- contains: string;
2083
- visible?: boolean | undefined;
2084
- scope?: string | undefined;
2085
- absent?: boolean | undefined;
2086
- } | undefined;
2087
2128
  net?: {
2088
2129
  status?: number | undefined;
2089
2130
  method?: string | undefined;
@@ -2092,15 +2133,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2092
2133
  } | undefined;
2093
2134
  state?: {
2094
2135
  path: string;
2136
+ hold?: boolean | undefined;
2095
2137
  store?: string | undefined;
2096
2138
  equals?: unknown;
2097
- hold?: boolean | undefined;
2098
2139
  } | undefined;
2099
2140
  element?: {
2100
2141
  testid?: string | undefined;
2101
2142
  role?: string | undefined;
2102
2143
  name?: string | undefined;
2103
2144
  } | undefined;
2145
+ text?: {
2146
+ contains: string;
2147
+ visible?: boolean | undefined;
2148
+ scope?: string | undefined;
2149
+ absent?: boolean | undefined;
2150
+ } | undefined;
2104
2151
  route?: {
2105
2152
  contains?: string | undefined;
2106
2153
  pathname?: string | undefined;
@@ -2113,12 +2160,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2113
2160
  signalCount?: number | undefined;
2114
2161
  }, {
2115
2162
  signal?: string | undefined;
2116
- text?: {
2117
- contains: string;
2118
- visible?: boolean | undefined;
2119
- scope?: string | undefined;
2120
- absent?: boolean | undefined;
2121
- } | undefined;
2122
2163
  net?: {
2123
2164
  status?: number | undefined;
2124
2165
  method?: string | undefined;
@@ -2127,15 +2168,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2127
2168
  } | undefined;
2128
2169
  state?: {
2129
2170
  path: string;
2171
+ hold?: boolean | undefined;
2130
2172
  store?: string | undefined;
2131
2173
  equals?: unknown;
2132
- hold?: boolean | undefined;
2133
2174
  } | undefined;
2134
2175
  element?: {
2135
2176
  testid?: string | undefined;
2136
2177
  role?: string | undefined;
2137
2178
  name?: string | undefined;
2138
2179
  } | undefined;
2180
+ text?: {
2181
+ contains: string;
2182
+ visible?: boolean | undefined;
2183
+ scope?: string | undefined;
2184
+ absent?: boolean | undefined;
2185
+ } | undefined;
2139
2186
  route?: {
2140
2187
  contains?: string | undefined;
2141
2188
  pathname?: string | undefined;
@@ -2203,6 +2250,12 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2203
2250
  } | {
2204
2251
  kind: typeof PredicateKind.SETTLED;
2205
2252
  quietMs?: number;
2253
+ } | {
2254
+ kind: typeof PredicateKind.COMPARE;
2255
+ left: import("../verdict/compare-source.js").CompareSource;
2256
+ right: import("../verdict/compare-source.js").CompareSource;
2257
+ as?: import("../verdict/compare-source.js").CompareAs;
2258
+ tolerance?: number;
2206
2259
  } | {
2207
2260
  kind: typeof PredicateKind.ALL_OF;
2208
2261
  predicates: Predicate[];
@@ -2214,12 +2267,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2214
2267
  predicate: Predicate;
2215
2268
  } | undefined, {
2216
2269
  signal?: string | undefined;
2217
- text?: {
2218
- contains: string;
2219
- visible?: boolean | undefined;
2220
- scope?: string | undefined;
2221
- absent?: boolean | undefined;
2222
- } | undefined;
2223
2270
  net?: {
2224
2271
  status?: number | undefined;
2225
2272
  method?: string | undefined;
@@ -2228,15 +2275,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2228
2275
  } | undefined;
2229
2276
  state?: {
2230
2277
  path: string;
2278
+ hold?: boolean | undefined;
2231
2279
  store?: string | undefined;
2232
2280
  equals?: unknown;
2233
- hold?: boolean | undefined;
2234
2281
  } | undefined;
2235
2282
  element?: {
2236
2283
  testid?: string | undefined;
2237
2284
  role?: string | undefined;
2238
2285
  name?: string | undefined;
2239
2286
  } | undefined;
2287
+ text?: {
2288
+ contains: string;
2289
+ visible?: boolean | undefined;
2290
+ scope?: string | undefined;
2291
+ absent?: boolean | undefined;
2292
+ } | undefined;
2240
2293
  route?: {
2241
2294
  contains?: string | undefined;
2242
2295
  pathname?: string | undefined;
@@ -2249,12 +2302,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2249
2302
  signalCount?: number | undefined;
2250
2303
  }>]>, "many">, Predicate[], (Predicate | {
2251
2304
  signal?: string | undefined;
2252
- text?: {
2253
- contains: string;
2254
- visible?: boolean | undefined;
2255
- scope?: string | undefined;
2256
- absent?: boolean | undefined;
2257
- } | undefined;
2258
2305
  net?: {
2259
2306
  status?: number | undefined;
2260
2307
  method?: string | undefined;
@@ -2263,15 +2310,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2263
2310
  } | undefined;
2264
2311
  state?: {
2265
2312
  path: string;
2313
+ hold?: boolean | undefined;
2266
2314
  store?: string | undefined;
2267
2315
  equals?: unknown;
2268
- hold?: boolean | undefined;
2269
2316
  } | undefined;
2270
2317
  element?: {
2271
2318
  testid?: string | undefined;
2272
2319
  role?: string | undefined;
2273
2320
  name?: string | undefined;
2274
2321
  } | undefined;
2322
+ text?: {
2323
+ contains: string;
2324
+ visible?: boolean | undefined;
2325
+ scope?: string | undefined;
2326
+ absent?: boolean | undefined;
2327
+ } | undefined;
2275
2328
  route?: {
2276
2329
  contains?: string | undefined;
2277
2330
  pathname?: string | undefined;
@@ -2359,23 +2412,17 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2359
2412
  hold: z.ZodOptional<z.ZodBoolean>;
2360
2413
  }, "strict", z.ZodTypeAny, {
2361
2414
  path: string;
2415
+ hold?: boolean | undefined;
2362
2416
  store?: string | undefined;
2363
2417
  equals?: unknown;
2364
- hold?: boolean | undefined;
2365
2418
  }, {
2366
2419
  path: string;
2420
+ hold?: boolean | undefined;
2367
2421
  store?: string | undefined;
2368
2422
  equals?: unknown;
2369
- hold?: boolean | undefined;
2370
2423
  }>>;
2371
2424
  }, "strict", z.ZodTypeAny, {
2372
2425
  signal?: string | undefined;
2373
- text?: {
2374
- contains: string;
2375
- visible?: boolean | undefined;
2376
- scope?: string | undefined;
2377
- absent?: boolean | undefined;
2378
- } | undefined;
2379
2426
  net?: {
2380
2427
  status?: number | undefined;
2381
2428
  method?: string | undefined;
@@ -2384,15 +2431,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2384
2431
  } | undefined;
2385
2432
  state?: {
2386
2433
  path: string;
2434
+ hold?: boolean | undefined;
2387
2435
  store?: string | undefined;
2388
2436
  equals?: unknown;
2389
- hold?: boolean | undefined;
2390
2437
  } | undefined;
2391
2438
  element?: {
2392
2439
  testid?: string | undefined;
2393
2440
  role?: string | undefined;
2394
2441
  name?: string | undefined;
2395
2442
  } | undefined;
2443
+ text?: {
2444
+ contains: string;
2445
+ visible?: boolean | undefined;
2446
+ scope?: string | undefined;
2447
+ absent?: boolean | undefined;
2448
+ } | undefined;
2396
2449
  route?: {
2397
2450
  contains?: string | undefined;
2398
2451
  pathname?: string | undefined;
@@ -2405,12 +2458,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2405
2458
  signalCount?: number | undefined;
2406
2459
  }, {
2407
2460
  signal?: string | undefined;
2408
- text?: {
2409
- contains: string;
2410
- visible?: boolean | undefined;
2411
- scope?: string | undefined;
2412
- absent?: boolean | undefined;
2413
- } | undefined;
2414
2461
  net?: {
2415
2462
  status?: number | undefined;
2416
2463
  method?: string | undefined;
@@ -2419,15 +2466,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2419
2466
  } | undefined;
2420
2467
  state?: {
2421
2468
  path: string;
2469
+ hold?: boolean | undefined;
2422
2470
  store?: string | undefined;
2423
2471
  equals?: unknown;
2424
- hold?: boolean | undefined;
2425
2472
  } | undefined;
2426
2473
  element?: {
2427
2474
  testid?: string | undefined;
2428
2475
  role?: string | undefined;
2429
2476
  name?: string | undefined;
2430
2477
  } | undefined;
2478
+ text?: {
2479
+ contains: string;
2480
+ visible?: boolean | undefined;
2481
+ scope?: string | undefined;
2482
+ absent?: boolean | undefined;
2483
+ } | undefined;
2431
2484
  route?: {
2432
2485
  contains?: string | undefined;
2433
2486
  pathname?: string | undefined;
@@ -2495,6 +2548,12 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2495
2548
  } | {
2496
2549
  kind: typeof PredicateKind.SETTLED;
2497
2550
  quietMs?: number;
2551
+ } | {
2552
+ kind: typeof PredicateKind.COMPARE;
2553
+ left: import("../verdict/compare-source.js").CompareSource;
2554
+ right: import("../verdict/compare-source.js").CompareSource;
2555
+ as?: import("../verdict/compare-source.js").CompareAs;
2556
+ tolerance?: number;
2498
2557
  } | {
2499
2558
  kind: typeof PredicateKind.ALL_OF;
2500
2559
  predicates: Predicate[];
@@ -2506,12 +2565,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2506
2565
  predicate: Predicate;
2507
2566
  } | undefined, {
2508
2567
  signal?: string | undefined;
2509
- text?: {
2510
- contains: string;
2511
- visible?: boolean | undefined;
2512
- scope?: string | undefined;
2513
- absent?: boolean | undefined;
2514
- } | undefined;
2515
2568
  net?: {
2516
2569
  status?: number | undefined;
2517
2570
  method?: string | undefined;
@@ -2520,15 +2573,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2520
2573
  } | undefined;
2521
2574
  state?: {
2522
2575
  path: string;
2576
+ hold?: boolean | undefined;
2523
2577
  store?: string | undefined;
2524
2578
  equals?: unknown;
2525
- hold?: boolean | undefined;
2526
2579
  } | undefined;
2527
2580
  element?: {
2528
2581
  testid?: string | undefined;
2529
2582
  role?: string | undefined;
2530
2583
  name?: string | undefined;
2531
2584
  } | undefined;
2585
+ text?: {
2586
+ contains: string;
2587
+ visible?: boolean | undefined;
2588
+ scope?: string | undefined;
2589
+ absent?: boolean | undefined;
2590
+ } | undefined;
2532
2591
  route?: {
2533
2592
  contains?: string | undefined;
2534
2593
  pathname?: string | undefined;
@@ -2541,12 +2600,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2541
2600
  signalCount?: number | undefined;
2542
2601
  }>]>, "many">, Predicate[], (Predicate | {
2543
2602
  signal?: string | undefined;
2544
- text?: {
2545
- contains: string;
2546
- visible?: boolean | undefined;
2547
- scope?: string | undefined;
2548
- absent?: boolean | undefined;
2549
- } | undefined;
2550
2603
  net?: {
2551
2604
  status?: number | undefined;
2552
2605
  method?: string | undefined;
@@ -2555,15 +2608,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2555
2608
  } | undefined;
2556
2609
  state?: {
2557
2610
  path: string;
2611
+ hold?: boolean | undefined;
2558
2612
  store?: string | undefined;
2559
2613
  equals?: unknown;
2560
- hold?: boolean | undefined;
2561
2614
  } | undefined;
2562
2615
  element?: {
2563
2616
  testid?: string | undefined;
2564
2617
  role?: string | undefined;
2565
2618
  name?: string | undefined;
2566
2619
  } | undefined;
2620
+ text?: {
2621
+ contains: string;
2622
+ visible?: boolean | undefined;
2623
+ scope?: string | undefined;
2624
+ absent?: boolean | undefined;
2625
+ } | undefined;
2567
2626
  route?: {
2568
2627
  contains?: string | undefined;
2569
2628
  pathname?: string | undefined;
@@ -2575,6 +2634,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2575
2634
  signalData?: Record<string, unknown> | undefined;
2576
2635
  signalCount?: number | undefined;
2577
2636
  })[]>>;
2637
+ /**
2638
+ * Who made this flow, stamped at save: the agent that drove it (its MCP client name) and the
2639
+ * person signed in to the cloud key on that machine. Either is absent when it was not known —
2640
+ * never guessed.
2641
+ */
2642
+ author: z.ZodOptional<z.ZodObject<{
2643
+ agent: z.ZodOptional<z.ZodString>;
2644
+ person: z.ZodOptional<z.ZodString>;
2645
+ }, "strip", z.ZodTypeAny, {
2646
+ agent?: string | undefined;
2647
+ person?: string | undefined;
2648
+ }, {
2649
+ agent?: string | undefined;
2650
+ person?: string | undefined;
2651
+ }>>;
2578
2652
  /** From the injected clock (ms) — deterministic in tests, byte-stable on disk. */
2579
2653
  createdAt: z.ZodNumber;
2580
2654
  steps: z.ZodArray<z.ZodType<FlowStep, z.ZodTypeDef, FlowStep>, "many">;
@@ -2663,23 +2737,17 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2663
2737
  hold: z.ZodOptional<z.ZodBoolean>;
2664
2738
  }, "strict", z.ZodTypeAny, {
2665
2739
  path: string;
2740
+ hold?: boolean | undefined;
2666
2741
  store?: string | undefined;
2667
2742
  equals?: unknown;
2668
- hold?: boolean | undefined;
2669
2743
  }, {
2670
2744
  path: string;
2745
+ hold?: boolean | undefined;
2671
2746
  store?: string | undefined;
2672
2747
  equals?: unknown;
2673
- hold?: boolean | undefined;
2674
2748
  }>>;
2675
2749
  }, "strict", z.ZodTypeAny, {
2676
2750
  signal?: string | undefined;
2677
- text?: {
2678
- contains: string;
2679
- visible?: boolean | undefined;
2680
- scope?: string | undefined;
2681
- absent?: boolean | undefined;
2682
- } | undefined;
2683
2751
  net?: {
2684
2752
  status?: number | undefined;
2685
2753
  method?: string | undefined;
@@ -2688,15 +2756,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2688
2756
  } | undefined;
2689
2757
  state?: {
2690
2758
  path: string;
2759
+ hold?: boolean | undefined;
2691
2760
  store?: string | undefined;
2692
2761
  equals?: unknown;
2693
- hold?: boolean | undefined;
2694
2762
  } | undefined;
2695
2763
  element?: {
2696
2764
  testid?: string | undefined;
2697
2765
  role?: string | undefined;
2698
2766
  name?: string | undefined;
2699
2767
  } | undefined;
2768
+ text?: {
2769
+ contains: string;
2770
+ visible?: boolean | undefined;
2771
+ scope?: string | undefined;
2772
+ absent?: boolean | undefined;
2773
+ } | undefined;
2700
2774
  route?: {
2701
2775
  contains?: string | undefined;
2702
2776
  pathname?: string | undefined;
@@ -2709,12 +2783,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2709
2783
  signalCount?: number | undefined;
2710
2784
  }, {
2711
2785
  signal?: string | undefined;
2712
- text?: {
2713
- contains: string;
2714
- visible?: boolean | undefined;
2715
- scope?: string | undefined;
2716
- absent?: boolean | undefined;
2717
- } | undefined;
2718
2786
  net?: {
2719
2787
  status?: number | undefined;
2720
2788
  method?: string | undefined;
@@ -2723,15 +2791,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2723
2791
  } | undefined;
2724
2792
  state?: {
2725
2793
  path: string;
2794
+ hold?: boolean | undefined;
2726
2795
  store?: string | undefined;
2727
2796
  equals?: unknown;
2728
- hold?: boolean | undefined;
2729
2797
  } | undefined;
2730
2798
  element?: {
2731
2799
  testid?: string | undefined;
2732
2800
  role?: string | undefined;
2733
2801
  name?: string | undefined;
2734
2802
  } | undefined;
2803
+ text?: {
2804
+ contains: string;
2805
+ visible?: boolean | undefined;
2806
+ scope?: string | undefined;
2807
+ absent?: boolean | undefined;
2808
+ } | undefined;
2735
2809
  route?: {
2736
2810
  contains?: string | undefined;
2737
2811
  pathname?: string | undefined;
@@ -2799,6 +2873,12 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2799
2873
  } | {
2800
2874
  kind: typeof PredicateKind.SETTLED;
2801
2875
  quietMs?: number;
2876
+ } | {
2877
+ kind: typeof PredicateKind.COMPARE;
2878
+ left: import("../verdict/compare-source.js").CompareSource;
2879
+ right: import("../verdict/compare-source.js").CompareSource;
2880
+ as?: import("../verdict/compare-source.js").CompareAs;
2881
+ tolerance?: number;
2802
2882
  } | {
2803
2883
  kind: typeof PredicateKind.ALL_OF;
2804
2884
  predicates: Predicate[];
@@ -2810,12 +2890,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2810
2890
  predicate: Predicate;
2811
2891
  } | undefined, {
2812
2892
  signal?: string | undefined;
2813
- text?: {
2814
- contains: string;
2815
- visible?: boolean | undefined;
2816
- scope?: string | undefined;
2817
- absent?: boolean | undefined;
2818
- } | undefined;
2819
2893
  net?: {
2820
2894
  status?: number | undefined;
2821
2895
  method?: string | undefined;
@@ -2824,15 +2898,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2824
2898
  } | undefined;
2825
2899
  state?: {
2826
2900
  path: string;
2901
+ hold?: boolean | undefined;
2827
2902
  store?: string | undefined;
2828
2903
  equals?: unknown;
2829
- hold?: boolean | undefined;
2830
2904
  } | undefined;
2831
2905
  element?: {
2832
2906
  testid?: string | undefined;
2833
2907
  role?: string | undefined;
2834
2908
  name?: string | undefined;
2835
2909
  } | undefined;
2910
+ text?: {
2911
+ contains: string;
2912
+ visible?: boolean | undefined;
2913
+ scope?: string | undefined;
2914
+ absent?: boolean | undefined;
2915
+ } | undefined;
2836
2916
  route?: {
2837
2917
  contains?: string | undefined;
2838
2918
  pathname?: string | undefined;
@@ -2865,16 +2945,16 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2865
2945
  column?: number | undefined;
2866
2946
  }>>;
2867
2947
  }, "strip", z.ZodTypeAny, {
2868
- value: string;
2869
2948
  kind: "testid";
2949
+ value: string;
2870
2950
  source?: {
2871
2951
  file: string;
2872
2952
  line: number;
2873
2953
  column?: number | undefined;
2874
2954
  } | undefined;
2875
2955
  }, {
2876
- value: string;
2877
2956
  kind: "testid";
2957
+ value: string;
2878
2958
  source?: {
2879
2959
  file: string;
2880
2960
  line: number;
@@ -2885,22 +2965,22 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2885
2965
  role: z.ZodString;
2886
2966
  name: z.ZodOptional<z.ZodString>;
2887
2967
  }, "strip", z.ZodTypeAny, {
2888
- role: string;
2889
2968
  kind: "role";
2969
+ role: string;
2890
2970
  name?: string | undefined;
2891
2971
  }, {
2892
- role: string;
2893
2972
  kind: "role";
2973
+ role: string;
2894
2974
  name?: string | undefined;
2895
2975
  }>, z.ZodObject<{
2896
2976
  kind: z.ZodLiteral<"signal">;
2897
2977
  name: z.ZodString;
2898
2978
  }, "strip", z.ZodTypeAny, {
2899
- name: string;
2900
2979
  kind: "signal";
2901
- }, {
2902
2980
  name: string;
2981
+ }, {
2903
2982
  kind: "signal";
2983
+ name: string;
2904
2984
  }>, z.ZodObject<{
2905
2985
  kind: z.ZodLiteral<"component">;
2906
2986
  component: z.ZodOptional<z.ZodString>;
@@ -2978,14 +3058,14 @@ export declare const RecordedFlowSchema: z.ZodObject<{
2978
3058
  /** Consecutive runs that did not show it. One quiet run is not a fix; see learnFromRun. */
2979
3059
  cleanRuns: z.ZodOptional<z.ZodNumber>;
2980
3060
  }, "strip", z.ZodTypeAny, {
2981
- step: number;
2982
3061
  state: "open" | "guarded";
2983
3062
  kind: string;
3063
+ step: number;
2984
3064
  cleanRuns?: number | undefined;
2985
3065
  }, {
2986
- step: number;
2987
3066
  state: "open" | "guarded";
2988
3067
  kind: string;
3068
+ step: number;
2989
3069
  cleanRuns?: number | undefined;
2990
3070
  }>, "many">>;
2991
3071
  /**
@@ -3007,12 +3087,12 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3007
3087
  /** Which of this flow's assertions the note was written against. */
3008
3088
  assertions: z.ZodArray<z.ZodString, "many">;
3009
3089
  }, "strip", z.ZodTypeAny, {
3010
- id: string;
3011
3090
  summary: string;
3091
+ id: string;
3012
3092
  assertions: string[];
3013
3093
  }, {
3014
- id: string;
3015
3094
  summary: string;
3095
+ id: string;
3016
3096
  assertions: string[];
3017
3097
  }>, "many">>;
3018
3098
  /**
@@ -3039,41 +3119,45 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3039
3119
  until?: string | undefined;
3040
3120
  }>>;
3041
3121
  }, "strip", z.ZodTypeAny, {
3042
- name: string;
3043
3122
  steps: FlowStep[];
3123
+ name: string;
3044
3124
  createdAt: number;
3045
3125
  version: number;
3046
3126
  intent?: string | undefined;
3047
3127
  status?: "active" | "quarantined" | "draft" | undefined;
3128
+ startPath?: string | undefined;
3048
3129
  learned?: {
3049
- step: number;
3050
3130
  state: "open" | "guarded";
3051
3131
  kind: string;
3132
+ step: number;
3052
3133
  cleanRuns?: number | undefined;
3053
3134
  }[] | undefined;
3054
3135
  intentId?: string | undefined;
3055
3136
  projectId?: string | undefined;
3056
- startPath?: string | undefined;
3057
3137
  fixture?: string | undefined;
3058
3138
  requires?: Predicate[] | undefined;
3059
3139
  ensures?: Predicate[] | undefined;
3140
+ author?: {
3141
+ agent?: string | undefined;
3142
+ person?: string | undefined;
3143
+ } | undefined;
3060
3144
  signalTimeoutMs?: number | undefined;
3061
3145
  success?: Predicate | undefined;
3062
3146
  dynamic?: ({
3063
- value: string;
3064
3147
  kind: "testid";
3148
+ value: string;
3065
3149
  source?: {
3066
3150
  file: string;
3067
3151
  line: number;
3068
3152
  column?: number | undefined;
3069
3153
  } | undefined;
3070
3154
  } | {
3071
- role: string;
3072
3155
  kind: "role";
3156
+ role: string;
3073
3157
  name?: string | undefined;
3074
3158
  } | {
3075
- name: string;
3076
3159
  kind: "signal";
3160
+ name: string;
3077
3161
  } | {
3078
3162
  kind: "component";
3079
3163
  role?: string | undefined;
@@ -3088,8 +3172,8 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3088
3172
  labels?: string[] | undefined;
3089
3173
  needs?: string[] | undefined;
3090
3174
  knownBugs?: {
3091
- id: string;
3092
3175
  summary: string;
3176
+ id: string;
3093
3177
  assertions: string[];
3094
3178
  }[] | undefined;
3095
3179
  quarantine?: {
@@ -3099,30 +3183,24 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3099
3183
  until?: string | undefined;
3100
3184
  } | undefined;
3101
3185
  }, {
3102
- name: string;
3103
3186
  steps: FlowStep[];
3187
+ name: string;
3104
3188
  createdAt: number;
3105
3189
  version: number;
3106
3190
  intent?: string | undefined;
3107
3191
  status?: "active" | "quarantined" | "draft" | undefined;
3192
+ startPath?: string | undefined;
3108
3193
  learned?: {
3109
- step: number;
3110
3194
  state: "open" | "guarded";
3111
3195
  kind: string;
3196
+ step: number;
3112
3197
  cleanRuns?: number | undefined;
3113
3198
  }[] | undefined;
3114
3199
  intentId?: string | undefined;
3115
3200
  projectId?: string | undefined;
3116
- startPath?: string | undefined;
3117
3201
  fixture?: string | undefined;
3118
3202
  requires?: (Predicate | {
3119
3203
  signal?: string | undefined;
3120
- text?: {
3121
- contains: string;
3122
- visible?: boolean | undefined;
3123
- scope?: string | undefined;
3124
- absent?: boolean | undefined;
3125
- } | undefined;
3126
3204
  net?: {
3127
3205
  status?: number | undefined;
3128
3206
  method?: string | undefined;
@@ -3131,15 +3209,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3131
3209
  } | undefined;
3132
3210
  state?: {
3133
3211
  path: string;
3212
+ hold?: boolean | undefined;
3134
3213
  store?: string | undefined;
3135
3214
  equals?: unknown;
3136
- hold?: boolean | undefined;
3137
3215
  } | undefined;
3138
3216
  element?: {
3139
3217
  testid?: string | undefined;
3140
3218
  role?: string | undefined;
3141
3219
  name?: string | undefined;
3142
3220
  } | undefined;
3221
+ text?: {
3222
+ contains: string;
3223
+ visible?: boolean | undefined;
3224
+ scope?: string | undefined;
3225
+ absent?: boolean | undefined;
3226
+ } | undefined;
3143
3227
  route?: {
3144
3228
  contains?: string | undefined;
3145
3229
  pathname?: string | undefined;
@@ -3153,12 +3237,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3153
3237
  })[] | undefined;
3154
3238
  ensures?: (Predicate | {
3155
3239
  signal?: string | undefined;
3156
- text?: {
3157
- contains: string;
3158
- visible?: boolean | undefined;
3159
- scope?: string | undefined;
3160
- absent?: boolean | undefined;
3161
- } | undefined;
3162
3240
  net?: {
3163
3241
  status?: number | undefined;
3164
3242
  method?: string | undefined;
@@ -3167,15 +3245,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3167
3245
  } | undefined;
3168
3246
  state?: {
3169
3247
  path: string;
3248
+ hold?: boolean | undefined;
3170
3249
  store?: string | undefined;
3171
3250
  equals?: unknown;
3172
- hold?: boolean | undefined;
3173
3251
  } | undefined;
3174
3252
  element?: {
3175
3253
  testid?: string | undefined;
3176
3254
  role?: string | undefined;
3177
3255
  name?: string | undefined;
3178
3256
  } | undefined;
3257
+ text?: {
3258
+ contains: string;
3259
+ visible?: boolean | undefined;
3260
+ scope?: string | undefined;
3261
+ absent?: boolean | undefined;
3262
+ } | undefined;
3179
3263
  route?: {
3180
3264
  contains?: string | undefined;
3181
3265
  pathname?: string | undefined;
@@ -3187,15 +3271,13 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3187
3271
  signalData?: Record<string, unknown> | undefined;
3188
3272
  signalCount?: number | undefined;
3189
3273
  })[] | undefined;
3274
+ author?: {
3275
+ agent?: string | undefined;
3276
+ person?: string | undefined;
3277
+ } | undefined;
3190
3278
  signalTimeoutMs?: number | undefined;
3191
3279
  success?: Predicate | {
3192
3280
  signal?: string | undefined;
3193
- text?: {
3194
- contains: string;
3195
- visible?: boolean | undefined;
3196
- scope?: string | undefined;
3197
- absent?: boolean | undefined;
3198
- } | undefined;
3199
3281
  net?: {
3200
3282
  status?: number | undefined;
3201
3283
  method?: string | undefined;
@@ -3204,15 +3286,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3204
3286
  } | undefined;
3205
3287
  state?: {
3206
3288
  path: string;
3289
+ hold?: boolean | undefined;
3207
3290
  store?: string | undefined;
3208
3291
  equals?: unknown;
3209
- hold?: boolean | undefined;
3210
3292
  } | undefined;
3211
3293
  element?: {
3212
3294
  testid?: string | undefined;
3213
3295
  role?: string | undefined;
3214
3296
  name?: string | undefined;
3215
3297
  } | undefined;
3298
+ text?: {
3299
+ contains: string;
3300
+ visible?: boolean | undefined;
3301
+ scope?: string | undefined;
3302
+ absent?: boolean | undefined;
3303
+ } | undefined;
3216
3304
  route?: {
3217
3305
  contains?: string | undefined;
3218
3306
  pathname?: string | undefined;
@@ -3225,20 +3313,20 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3225
3313
  signalCount?: number | undefined;
3226
3314
  } | undefined;
3227
3315
  dynamic?: ({
3228
- value: string;
3229
3316
  kind: "testid";
3317
+ value: string;
3230
3318
  source?: {
3231
3319
  file: string;
3232
3320
  line: number;
3233
3321
  column?: number | undefined;
3234
3322
  } | undefined;
3235
3323
  } | {
3236
- role: string;
3237
3324
  kind: "role";
3325
+ role: string;
3238
3326
  name?: string | undefined;
3239
3327
  } | {
3240
- name: string;
3241
3328
  kind: "signal";
3329
+ name: string;
3242
3330
  } | {
3243
3331
  kind: "component";
3244
3332
  role?: string | undefined;
@@ -3253,8 +3341,8 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3253
3341
  labels?: string[] | undefined;
3254
3342
  needs?: string[] | undefined;
3255
3343
  knownBugs?: {
3256
- id: string;
3257
3344
  summary: string;
3345
+ id: string;
3258
3346
  assertions: string[];
3259
3347
  }[] | undefined;
3260
3348
  quarantine?: {
@@ -3266,41 +3354,45 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3266
3354
  }>;
3267
3355
  }, "strip", z.ZodTypeAny, {
3268
3356
  flow: {
3269
- name: string;
3270
3357
  steps: FlowStep[];
3358
+ name: string;
3271
3359
  createdAt: number;
3272
3360
  version: number;
3273
3361
  intent?: string | undefined;
3274
3362
  status?: "active" | "quarantined" | "draft" | undefined;
3363
+ startPath?: string | undefined;
3275
3364
  learned?: {
3276
- step: number;
3277
3365
  state: "open" | "guarded";
3278
3366
  kind: string;
3367
+ step: number;
3279
3368
  cleanRuns?: number | undefined;
3280
3369
  }[] | undefined;
3281
3370
  intentId?: string | undefined;
3282
3371
  projectId?: string | undefined;
3283
- startPath?: string | undefined;
3284
3372
  fixture?: string | undefined;
3285
3373
  requires?: Predicate[] | undefined;
3286
3374
  ensures?: Predicate[] | undefined;
3375
+ author?: {
3376
+ agent?: string | undefined;
3377
+ person?: string | undefined;
3378
+ } | undefined;
3287
3379
  signalTimeoutMs?: number | undefined;
3288
3380
  success?: Predicate | undefined;
3289
3381
  dynamic?: ({
3290
- value: string;
3291
3382
  kind: "testid";
3383
+ value: string;
3292
3384
  source?: {
3293
3385
  file: string;
3294
3386
  line: number;
3295
3387
  column?: number | undefined;
3296
3388
  } | undefined;
3297
3389
  } | {
3298
- role: string;
3299
3390
  kind: "role";
3391
+ role: string;
3300
3392
  name?: string | undefined;
3301
3393
  } | {
3302
- name: string;
3303
3394
  kind: "signal";
3395
+ name: string;
3304
3396
  } | {
3305
3397
  kind: "component";
3306
3398
  role?: string | undefined;
@@ -3315,8 +3407,8 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3315
3407
  labels?: string[] | undefined;
3316
3408
  needs?: string[] | undefined;
3317
3409
  knownBugs?: {
3318
- id: string;
3319
3410
  summary: string;
3411
+ id: string;
3320
3412
  assertions: string[];
3321
3413
  }[] | undefined;
3322
3414
  quarantine?: {
@@ -3329,30 +3421,24 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3329
3421
  name: string;
3330
3422
  }, {
3331
3423
  flow: {
3332
- name: string;
3333
3424
  steps: FlowStep[];
3425
+ name: string;
3334
3426
  createdAt: number;
3335
3427
  version: number;
3336
3428
  intent?: string | undefined;
3337
3429
  status?: "active" | "quarantined" | "draft" | undefined;
3430
+ startPath?: string | undefined;
3338
3431
  learned?: {
3339
- step: number;
3340
3432
  state: "open" | "guarded";
3341
3433
  kind: string;
3434
+ step: number;
3342
3435
  cleanRuns?: number | undefined;
3343
3436
  }[] | undefined;
3344
3437
  intentId?: string | undefined;
3345
3438
  projectId?: string | undefined;
3346
- startPath?: string | undefined;
3347
3439
  fixture?: string | undefined;
3348
3440
  requires?: (Predicate | {
3349
3441
  signal?: string | undefined;
3350
- text?: {
3351
- contains: string;
3352
- visible?: boolean | undefined;
3353
- scope?: string | undefined;
3354
- absent?: boolean | undefined;
3355
- } | undefined;
3356
3442
  net?: {
3357
3443
  status?: number | undefined;
3358
3444
  method?: string | undefined;
@@ -3361,15 +3447,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3361
3447
  } | undefined;
3362
3448
  state?: {
3363
3449
  path: string;
3450
+ hold?: boolean | undefined;
3364
3451
  store?: string | undefined;
3365
3452
  equals?: unknown;
3366
- hold?: boolean | undefined;
3367
3453
  } | undefined;
3368
3454
  element?: {
3369
3455
  testid?: string | undefined;
3370
3456
  role?: string | undefined;
3371
3457
  name?: string | undefined;
3372
3458
  } | undefined;
3459
+ text?: {
3460
+ contains: string;
3461
+ visible?: boolean | undefined;
3462
+ scope?: string | undefined;
3463
+ absent?: boolean | undefined;
3464
+ } | undefined;
3373
3465
  route?: {
3374
3466
  contains?: string | undefined;
3375
3467
  pathname?: string | undefined;
@@ -3383,12 +3475,6 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3383
3475
  })[] | undefined;
3384
3476
  ensures?: (Predicate | {
3385
3477
  signal?: string | undefined;
3386
- text?: {
3387
- contains: string;
3388
- visible?: boolean | undefined;
3389
- scope?: string | undefined;
3390
- absent?: boolean | undefined;
3391
- } | undefined;
3392
3478
  net?: {
3393
3479
  status?: number | undefined;
3394
3480
  method?: string | undefined;
@@ -3397,15 +3483,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3397
3483
  } | undefined;
3398
3484
  state?: {
3399
3485
  path: string;
3486
+ hold?: boolean | undefined;
3400
3487
  store?: string | undefined;
3401
3488
  equals?: unknown;
3402
- hold?: boolean | undefined;
3403
3489
  } | undefined;
3404
3490
  element?: {
3405
3491
  testid?: string | undefined;
3406
3492
  role?: string | undefined;
3407
3493
  name?: string | undefined;
3408
3494
  } | undefined;
3495
+ text?: {
3496
+ contains: string;
3497
+ visible?: boolean | undefined;
3498
+ scope?: string | undefined;
3499
+ absent?: boolean | undefined;
3500
+ } | undefined;
3409
3501
  route?: {
3410
3502
  contains?: string | undefined;
3411
3503
  pathname?: string | undefined;
@@ -3417,15 +3509,13 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3417
3509
  signalData?: Record<string, unknown> | undefined;
3418
3510
  signalCount?: number | undefined;
3419
3511
  })[] | undefined;
3512
+ author?: {
3513
+ agent?: string | undefined;
3514
+ person?: string | undefined;
3515
+ } | undefined;
3420
3516
  signalTimeoutMs?: number | undefined;
3421
3517
  success?: Predicate | {
3422
3518
  signal?: string | undefined;
3423
- text?: {
3424
- contains: string;
3425
- visible?: boolean | undefined;
3426
- scope?: string | undefined;
3427
- absent?: boolean | undefined;
3428
- } | undefined;
3429
3519
  net?: {
3430
3520
  status?: number | undefined;
3431
3521
  method?: string | undefined;
@@ -3434,15 +3524,21 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3434
3524
  } | undefined;
3435
3525
  state?: {
3436
3526
  path: string;
3527
+ hold?: boolean | undefined;
3437
3528
  store?: string | undefined;
3438
3529
  equals?: unknown;
3439
- hold?: boolean | undefined;
3440
3530
  } | undefined;
3441
3531
  element?: {
3442
3532
  testid?: string | undefined;
3443
3533
  role?: string | undefined;
3444
3534
  name?: string | undefined;
3445
3535
  } | undefined;
3536
+ text?: {
3537
+ contains: string;
3538
+ visible?: boolean | undefined;
3539
+ scope?: string | undefined;
3540
+ absent?: boolean | undefined;
3541
+ } | undefined;
3446
3542
  route?: {
3447
3543
  contains?: string | undefined;
3448
3544
  pathname?: string | undefined;
@@ -3455,20 +3551,20 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3455
3551
  signalCount?: number | undefined;
3456
3552
  } | undefined;
3457
3553
  dynamic?: ({
3458
- value: string;
3459
3554
  kind: "testid";
3555
+ value: string;
3460
3556
  source?: {
3461
3557
  file: string;
3462
3558
  line: number;
3463
3559
  column?: number | undefined;
3464
3560
  } | undefined;
3465
3561
  } | {
3466
- role: string;
3467
3562
  kind: "role";
3563
+ role: string;
3468
3564
  name?: string | undefined;
3469
3565
  } | {
3470
- name: string;
3471
3566
  kind: "signal";
3567
+ name: string;
3472
3568
  } | {
3473
3569
  kind: "component";
3474
3570
  role?: string | undefined;
@@ -3483,8 +3579,8 @@ export declare const RecordedFlowSchema: z.ZodObject<{
3483
3579
  labels?: string[] | undefined;
3484
3580
  needs?: string[] | undefined;
3485
3581
  knownBugs?: {
3486
- id: string;
3487
3582
  summary: string;
3583
+ id: string;
3488
3584
  assertions: string[];
3489
3585
  }[] | undefined;
3490
3586
  quarantine?: {