@remnic/core 9.7.15 → 9.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 (929) hide show
  1. package/dist/access-admin-ops-surface.d.ts +13 -6
  2. package/dist/access-admin-ops-surface.js +85 -71
  3. package/dist/access-audit.js +2 -2
  4. package/dist/access-boundary.d.ts +35 -17
  5. package/dist/access-boundary.js +86 -74
  6. package/dist/access-citation.d.ts +28 -0
  7. package/dist/access-citation.js +9 -0
  8. package/dist/access-cli.js +194 -178
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-errors.d.ts +16 -1
  11. package/dist/access-errors.js +7 -3
  12. package/dist/access-http.d.ts +25 -19
  13. package/dist/access-http.js +100 -87
  14. package/dist/access-identity-continuity-surface.d.ts +13 -8
  15. package/dist/access-identity-continuity-surface.js +85 -71
  16. package/dist/access-lcm-surface.d.ts +16 -9
  17. package/dist/access-lcm-surface.js +85 -71
  18. package/dist/access-mcp.d.ts +23 -16
  19. package/dist/access-mcp.js +96 -84
  20. package/dist/access-memory-search-fanout.d.ts +93 -0
  21. package/dist/access-memory-search-fanout.js +18 -0
  22. package/dist/access-observe-write-surface.d.ts +26 -8
  23. package/dist/access-observe-write-surface.js +85 -71
  24. package/dist/access-operations-batch.js +92 -80
  25. package/dist/access-operations.d.ts +29 -22
  26. package/dist/access-operations.js +94 -82
  27. package/dist/access-recall-concurrency.d.ts +250 -0
  28. package/dist/access-recall-concurrency.js +157 -0
  29. package/dist/access-recall-response.d.ts +130 -0
  30. package/dist/access-recall-response.js +147 -0
  31. package/dist/access-recall-surface.d.ts +15 -7
  32. package/dist/access-recall-surface.js +85 -71
  33. package/dist/access-schema.d.ts +98 -98
  34. package/dist/access-schema.js +8 -6
  35. package/dist/{access-service-DpcYZ9Nl.d.ts → access-service-DEL4qCrc.d.ts} +25 -32
  36. package/dist/access-service.d.ts +13 -6
  37. package/dist/access-service.js +89 -72
  38. package/dist/access-surface-catalog.d.ts +23 -16
  39. package/dist/access-surface-catalog.js +1 -0
  40. package/dist/access-surface-catalog.js.map +1 -1
  41. package/dist/access-token-capabilities.d.ts +2 -1
  42. package/dist/access-token-capabilities.js +4 -2
  43. package/dist/action-confidence.d.ts +3 -1
  44. package/dist/active-memory-bridge.d.ts +3 -1
  45. package/dist/active-memory-bridge.js +4 -4
  46. package/dist/active-recall.d.ts +4 -1
  47. package/dist/active-recall.js +23 -13
  48. package/dist/active-recall.js.map +1 -1
  49. package/dist/adapters/index.js +4 -4
  50. package/dist/adapters/registry.js +2 -2
  51. package/dist/{auto-sync-AAMTVZMK.js → auto-sync-UZG3XQZ5.js} +14 -8
  52. package/dist/{auto-sync-AAMTVZMK.js.map → auto-sync-UZG3XQZ5.js.map} +1 -1
  53. package/dist/behavior-learner.d.ts +3 -1
  54. package/dist/behavior-signals.d.ts +3 -1
  55. package/dist/bootstrap.d.ts +12 -7
  56. package/dist/bootstrap.js +2 -2
  57. package/dist/bounded-jsonl-state.d.ts +54 -0
  58. package/dist/bounded-jsonl-state.js +10 -0
  59. package/dist/boxes.js +2 -2
  60. package/dist/briefing.d.ts +5 -2
  61. package/dist/briefing.js +34 -24
  62. package/dist/buffer-surprise-report.d.ts +3 -1
  63. package/dist/buffer.d.ts +60 -2
  64. package/dist/buffer.js +3 -3
  65. package/dist/bulk-import/index.d.ts +5 -3
  66. package/dist/calibration.d.ts +3 -1
  67. package/dist/calibration.js +6 -6
  68. package/dist/capabilities.d.ts +7 -7
  69. package/dist/capabilities.js +1 -1
  70. package/dist/{capsule-crypto-CZJSLEFG.js → capsule-crypto-YO5QJ6L3.js} +3 -3
  71. package/dist/capsule-crypto-YO5QJ6L3.js.map +1 -0
  72. package/dist/{catalog-C9444P10.d.ts → catalog-BWqHb5HT.d.ts} +1 -1
  73. package/dist/causal-behavior.d.ts +3 -1
  74. package/dist/causal-behavior.js +6 -6
  75. package/dist/causal-chain.js +4 -4
  76. package/dist/causal-consolidation.d.ts +3 -1
  77. package/dist/causal-consolidation.js +43 -34
  78. package/dist/causal-consolidation.js.map +1 -1
  79. package/dist/causal-retrieval.js +6 -6
  80. package/dist/causal-trajectory-graph.d.ts +3 -1
  81. package/dist/causal-trajectory-graph.js +1 -1
  82. package/dist/causal-trajectory.js +1 -1
  83. package/dist/{chunk-A3GOMRJG.js → chunk-23L3IXFD.js} +2 -2
  84. package/dist/chunk-2CGLBUW3.js +15 -0
  85. package/dist/chunk-2CGLBUW3.js.map +1 -0
  86. package/dist/{chunk-MRHFJV44.js → chunk-2DQ2XREU.js} +2 -2
  87. package/dist/{chunk-QKQYXZVS.js → chunk-2EJOEICD.js} +1819 -1481
  88. package/dist/chunk-2EJOEICD.js.map +1 -0
  89. package/dist/{chunk-L2B3EE7B.js → chunk-2QMKMVHH.js} +2 -2
  90. package/dist/{chunk-VJVNLNDQ.js → chunk-2UFO7X4Q.js} +7 -7
  91. package/dist/{chunk-2MR3MFQB.js → chunk-2VEOKUPP.js} +3 -3
  92. package/dist/chunk-2Z24E5W2.js +22 -0
  93. package/dist/chunk-2Z24E5W2.js.map +1 -0
  94. package/dist/{chunk-RHOZ5LLO.js → chunk-347WD2LE.js} +2 -2
  95. package/dist/{chunk-HDTQVNWD.js → chunk-3QAH2S33.js} +3 -3
  96. package/dist/{chunk-37CTGERM.js → chunk-3WCASNQZ.js} +12 -1
  97. package/dist/chunk-3WCASNQZ.js.map +1 -0
  98. package/dist/{chunk-LRNMRXJO.js → chunk-3Y224NYC.js} +3 -3
  99. package/dist/{chunk-3IY64MV6.js → chunk-44XZ75OQ.js} +44 -10
  100. package/dist/chunk-44XZ75OQ.js.map +1 -0
  101. package/dist/{chunk-VFSP73LP.js → chunk-45GF7Y3V.js} +2 -2
  102. package/dist/{chunk-K7LOWSLU.js → chunk-4BJQODZF.js} +2479 -1520
  103. package/dist/chunk-4BJQODZF.js.map +1 -0
  104. package/dist/{chunk-JREB6UFH.js → chunk-57OWKFUQ.js} +17 -6
  105. package/dist/chunk-57OWKFUQ.js.map +1 -0
  106. package/dist/{chunk-OEHCMALU.js → chunk-5I4M26Q7.js} +5 -5
  107. package/dist/{chunk-2AZXIZEN.js → chunk-5Q7EVV4X.js} +6 -6
  108. package/dist/{chunk-LC7OODWZ.js → chunk-5SB7SC2G.js} +80 -49
  109. package/dist/chunk-5SB7SC2G.js.map +1 -0
  110. package/dist/{chunk-PUBTHW5O.js → chunk-6DRPPQEJ.js} +2 -2
  111. package/dist/{chunk-NWTGD4AN.js → chunk-6KIQT7RG.js} +10 -9
  112. package/dist/chunk-6KIQT7RG.js.map +1 -0
  113. package/dist/{chunk-FDCTQWLW.js → chunk-6O22TZSB.js} +3 -3
  114. package/dist/{chunk-ZQ7UBUZ6.js → chunk-6QYST5XN.js} +6 -6
  115. package/dist/{chunk-W4PGTAS2.js → chunk-6WAFYNVT.js} +3 -3
  116. package/dist/chunk-6ZMAMSHS.js +20 -0
  117. package/dist/chunk-6ZMAMSHS.js.map +1 -0
  118. package/dist/{chunk-R5VAVVHP.js → chunk-72A4L5JJ.js} +2 -2
  119. package/dist/{chunk-X64YLC24.js → chunk-72VAXGEI.js} +5 -13
  120. package/dist/chunk-72VAXGEI.js.map +1 -0
  121. package/dist/{chunk-IKQTFQMI.js → chunk-755Q3DGF.js} +22 -3
  122. package/dist/chunk-755Q3DGF.js.map +1 -0
  123. package/dist/{chunk-OVJ2HIPE.js → chunk-76GLCM57.js} +158 -125
  124. package/dist/chunk-76GLCM57.js.map +1 -0
  125. package/dist/{chunk-D7FOKIY5.js → chunk-7AMFUATK.js} +12 -9
  126. package/dist/{chunk-D7FOKIY5.js.map → chunk-7AMFUATK.js.map} +1 -1
  127. package/dist/{chunk-BFVEEB7W.js → chunk-7ON2JW73.js} +57 -22
  128. package/dist/chunk-7ON2JW73.js.map +1 -0
  129. package/dist/chunk-7RNBVZZO.js +270 -0
  130. package/dist/chunk-7RNBVZZO.js.map +1 -0
  131. package/dist/{chunk-3FAMU5TX.js → chunk-A6USBZTO.js} +2 -2
  132. package/dist/{chunk-ZHIVCODT.js → chunk-A72SWTWW.js} +7 -7
  133. package/dist/{chunk-FC77VUX5.js → chunk-A7Q43EUZ.js} +2 -2
  134. package/dist/{chunk-UJBESW6X.js → chunk-AE7WMV4V.js} +7 -7
  135. package/dist/{chunk-J2HSAU72.js → chunk-AIK5W3IW.js} +29 -1
  136. package/dist/chunk-AIK5W3IW.js.map +1 -0
  137. package/dist/{chunk-A5UXZRRM.js → chunk-AJ7QCSIS.js} +2 -2
  138. package/dist/{chunk-FNMFJWBY.js → chunk-ANEUPF6O.js} +5 -5
  139. package/dist/chunk-AREGMX2J.js +50 -0
  140. package/dist/chunk-AREGMX2J.js.map +1 -0
  141. package/dist/chunk-AVPXXV6J.js +448 -0
  142. package/dist/chunk-AVPXXV6J.js.map +1 -0
  143. package/dist/{chunk-2A3OXAP2.js → chunk-B7RWBZXW.js} +2 -2
  144. package/dist/{chunk-GWTFLF2P.js → chunk-BJMBJZ2Y.js} +59 -59
  145. package/dist/chunk-BJMBJZ2Y.js.map +1 -0
  146. package/dist/{chunk-74F5STS4.js → chunk-BLAKS3CP.js} +4 -4
  147. package/dist/{chunk-M7VGG3ID.js → chunk-BV5WMSIJ.js} +9 -9
  148. package/dist/{chunk-2BFLDH5F.js → chunk-BXLOS5AJ.js} +2 -2
  149. package/dist/{chunk-UXKMMNJD.js → chunk-C23BYTJV.js} +6 -6
  150. package/dist/{chunk-JZHHREBL.js → chunk-C3AKM55W.js} +2 -2
  151. package/dist/{chunk-RP7YXA67.js → chunk-C5JF6EZ7.js} +2 -2
  152. package/dist/{chunk-T7Y5KPLN.js → chunk-C6XBRYVD.js} +16 -15
  153. package/dist/chunk-C6XBRYVD.js.map +1 -0
  154. package/dist/{chunk-FTYDWKO6.js → chunk-CEN6DW6X.js} +12 -2
  155. package/dist/chunk-CEN6DW6X.js.map +1 -0
  156. package/dist/chunk-CGASUJVP.js +421 -0
  157. package/dist/chunk-CGASUJVP.js.map +1 -0
  158. package/dist/{chunk-EHCONI6E.js → chunk-CQMEM5CC.js} +2 -2
  159. package/dist/{chunk-PBNZVPFS.js → chunk-CXZQOVIE.js} +12 -12
  160. package/dist/chunk-D3V3UMET.js +44 -0
  161. package/dist/chunk-D3V3UMET.js.map +1 -0
  162. package/dist/{chunk-7N2RUBAP.js → chunk-DDA47TES.js} +2 -2
  163. package/dist/{chunk-64SE4X5G.js → chunk-DEBHXHJR.js} +3 -3
  164. package/dist/{chunk-EHK6KZHK.js → chunk-DNHVPZOD.js} +2 -2
  165. package/dist/{chunk-437S3G37.js → chunk-DQEMWVMT.js} +2 -2
  166. package/dist/{chunk-LZZNTPLR.js → chunk-DX3XRGLH.js} +2 -2
  167. package/dist/chunk-EA2H5LML.js +72 -0
  168. package/dist/chunk-EA2H5LML.js.map +1 -0
  169. package/dist/{chunk-INELTPRG.js → chunk-EEC7UJPX.js} +103 -106
  170. package/dist/chunk-EEC7UJPX.js.map +1 -0
  171. package/dist/{chunk-KSNVDPDF.js → chunk-EKBNDKDY.js} +21 -20
  172. package/dist/chunk-EKBNDKDY.js.map +1 -0
  173. package/dist/{chunk-YF6FMLBT.js → chunk-EQWEIIKQ.js} +64 -34
  174. package/dist/chunk-EQWEIIKQ.js.map +1 -0
  175. package/dist/{chunk-DZKHSDOM.js → chunk-ES36HTSC.js} +4 -4
  176. package/dist/{chunk-TN7THW5U.js → chunk-ET356KSB.js} +2 -2
  177. package/dist/{chunk-YNDLCWXS.js → chunk-EZ25VE3G.js} +4 -4
  178. package/dist/{chunk-DMSDUGDM.js → chunk-F7GAIWFA.js} +20 -20
  179. package/dist/{chunk-G6XXLKC5.js → chunk-FFPJINJE.js} +6 -6
  180. package/dist/chunk-FMLKOL2Z.js +636 -0
  181. package/dist/chunk-FMLKOL2Z.js.map +1 -0
  182. package/dist/chunk-FQC3DHH2.js +20 -0
  183. package/dist/chunk-FQC3DHH2.js.map +1 -0
  184. package/dist/{chunk-G4CN3ZXL.js → chunk-FUTF72MJ.js} +15 -15
  185. package/dist/chunk-GCASGYIO.js +71 -0
  186. package/dist/chunk-GCASGYIO.js.map +1 -0
  187. package/dist/{chunk-HF77M34J.js → chunk-GFPZS3F5.js} +8 -8
  188. package/dist/{chunk-BCDKBDSY.js → chunk-GNVZQ5JN.js} +99 -41
  189. package/dist/chunk-GNVZQ5JN.js.map +1 -0
  190. package/dist/{chunk-G6NKALRN.js → chunk-H4WG3UQZ.js} +2 -2
  191. package/dist/{chunk-UDQUSU27.js → chunk-HNZKVLAN.js} +2 -2
  192. package/dist/{chunk-5EZXHU36.js → chunk-HYQJQGD3.js} +2 -2
  193. package/dist/{chunk-OAZVR2BV.js → chunk-IDZFBSHN.js} +8 -6
  194. package/dist/{chunk-OAZVR2BV.js.map → chunk-IDZFBSHN.js.map} +1 -1
  195. package/dist/{chunk-PLQE6MJA.js → chunk-IFH6LWTO.js} +50 -8
  196. package/dist/chunk-IFH6LWTO.js.map +1 -0
  197. package/dist/{chunk-RULE4VG5.js → chunk-ILGC6JH6.js} +21 -6
  198. package/dist/chunk-ILGC6JH6.js.map +1 -0
  199. package/dist/chunk-IUM3VSHI.js +113 -0
  200. package/dist/chunk-IUM3VSHI.js.map +1 -0
  201. package/dist/{chunk-DCFV7A7H.js → chunk-IYNGIMVG.js} +101 -91
  202. package/dist/chunk-IYNGIMVG.js.map +1 -0
  203. package/dist/{chunk-TRWPCR6P.js → chunk-JECBQBEX.js} +3 -3
  204. package/dist/{chunk-E6CBU7XP.js → chunk-JYIFGGEM.js} +2 -2
  205. package/dist/{chunk-VA4WSW54.js → chunk-JYIJNNN3.js} +3 -3
  206. package/dist/{chunk-L5HJQC36.js → chunk-K2TDK7GG.js} +3 -3
  207. package/dist/{chunk-KDXVOFYY.js → chunk-KAVBJSBQ.js} +4 -4
  208. package/dist/{chunk-BS4SGLWV.js → chunk-KF5EUVKQ.js} +16 -6
  209. package/dist/chunk-KF5EUVKQ.js.map +1 -0
  210. package/dist/chunk-KFZY2OFH.js +42 -0
  211. package/dist/chunk-KFZY2OFH.js.map +1 -0
  212. package/dist/{chunk-4OKLXWDZ.js → chunk-KNB7IBBU.js} +2 -2
  213. package/dist/{chunk-QLULYKWZ.js → chunk-KSXJOC4F.js} +2 -2
  214. package/dist/{chunk-2S6QHZGJ.js → chunk-L2DPF4DF.js} +1 -1
  215. package/dist/{chunk-JI5AVXYO.js → chunk-LEPOP46W.js} +6 -6
  216. package/dist/{chunk-O7BBFJLP.js → chunk-LTAVSOZW.js} +2 -2
  217. package/dist/{chunk-E3VODCC3.js → chunk-LUDXM7MD.js} +14 -2
  218. package/dist/{chunk-E3VODCC3.js.map → chunk-LUDXM7MD.js.map} +1 -1
  219. package/dist/{chunk-2IZAGAJR.js → chunk-LULR4IUW.js} +3 -3
  220. package/dist/{chunk-QQGPUKMT.js → chunk-MC5Q3J7S.js} +398 -7
  221. package/dist/chunk-MC5Q3J7S.js.map +1 -0
  222. package/dist/{chunk-WMWVO45V.js → chunk-MC6XO7T4.js} +2 -2
  223. package/dist/chunk-MKQBXQKU.js +107 -0
  224. package/dist/chunk-MKQBXQKU.js.map +1 -0
  225. package/dist/{chunk-7PND4PUC.js → chunk-MMGGVZ4Q.js} +29 -9
  226. package/dist/{chunk-7PND4PUC.js.map → chunk-MMGGVZ4Q.js.map} +1 -1
  227. package/dist/{chunk-D6RIFG4O.js → chunk-MNB5RMAY.js} +2 -2
  228. package/dist/{chunk-Q5WG43OP.js → chunk-MYFQ3ED4.js} +7 -7
  229. package/dist/{chunk-V3UE5I5F.js → chunk-MYVPLJOO.js} +2 -2
  230. package/dist/chunk-NINSR6LX.js +83 -0
  231. package/dist/chunk-NINSR6LX.js.map +1 -0
  232. package/dist/{chunk-MTWKDOVO.js → chunk-NLE6TSLG.js} +2 -2
  233. package/dist/{chunk-DBRYEIGY.js → chunk-OJP3N7UK.js} +2 -2
  234. package/dist/{chunk-VDW4VU7B.js → chunk-OQJIB32H.js} +28 -23
  235. package/dist/chunk-OQJIB32H.js.map +1 -0
  236. package/dist/{chunk-SMX5267P.js → chunk-OZKOPQCM.js} +2 -2
  237. package/dist/{chunk-JCK7V6SN.js → chunk-P65YJEEL.js} +2 -2
  238. package/dist/{chunk-MTR7BZQN.js → chunk-PBGWYM3H.js} +3 -3
  239. package/dist/chunk-PIG4WJFQ.js +87 -0
  240. package/dist/chunk-PIG4WJFQ.js.map +1 -0
  241. package/dist/chunk-PQVCH2AE.js +76 -0
  242. package/dist/chunk-PQVCH2AE.js.map +1 -0
  243. package/dist/{chunk-AXTXN4T6.js → chunk-PWFCHOB3.js} +2 -2
  244. package/dist/{chunk-FDPZVY6D.js → chunk-QFN4U7AG.js} +2 -2
  245. package/dist/{chunk-K2ZLHESQ.js → chunk-QIEUU4UK.js} +2 -2
  246. package/dist/{chunk-DYP3YYJJ.js → chunk-QJAQNXWI.js} +39 -5
  247. package/dist/chunk-QJAQNXWI.js.map +1 -0
  248. package/dist/{chunk-3D6AFGQR.js → chunk-QVT3E4CE.js} +7 -7
  249. package/dist/{chunk-FIJUY7GG.js → chunk-R26ZMXR2.js} +23 -23
  250. package/dist/{chunk-FIJUY7GG.js.map → chunk-R26ZMXR2.js.map} +1 -1
  251. package/dist/chunk-R3DJVOSM.js +34 -0
  252. package/dist/chunk-R3DJVOSM.js.map +1 -0
  253. package/dist/{chunk-SFQ6QNL7.js → chunk-R6YJI3HE.js} +2 -1
  254. package/dist/{chunk-5CJVLG3H.js → chunk-RFDD3B7W.js} +5 -5
  255. package/dist/{chunk-JBPKEARU.js → chunk-RKNJBZ55.js} +4 -4
  256. package/dist/chunk-ROI7BK7H.js +88 -0
  257. package/dist/chunk-ROI7BK7H.js.map +1 -0
  258. package/dist/{chunk-FNZQGN76.js → chunk-S2BBISHU.js} +4 -4
  259. package/dist/{chunk-IALLX7EE.js → chunk-S2FSBU4H.js} +3 -3
  260. package/dist/{chunk-BFPETA3S.js → chunk-SCCO46KZ.js} +3 -2
  261. package/dist/chunk-SCCO46KZ.js.map +1 -0
  262. package/dist/chunk-SICXL4MK.js +165 -0
  263. package/dist/chunk-SICXL4MK.js.map +1 -0
  264. package/dist/chunk-SK7AMF2J.js +168 -0
  265. package/dist/chunk-SK7AMF2J.js.map +1 -0
  266. package/dist/{chunk-LZOV7MX7.js → chunk-TDTXKOAJ.js} +6474 -5747
  267. package/dist/chunk-TDTXKOAJ.js.map +1 -0
  268. package/dist/{chunk-KSBEEMQF.js → chunk-TG6IHVE2.js} +151 -6
  269. package/dist/chunk-TG6IHVE2.js.map +1 -0
  270. package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
  271. package/dist/{chunk-DPAENM7O.js → chunk-U3ZAVRP3.js} +2 -2
  272. package/dist/{chunk-ODPLEWB6.js → chunk-UFGFMWAD.js} +47 -17
  273. package/dist/chunk-UFGFMWAD.js.map +1 -0
  274. package/dist/{chunk-4KJLYTLS.js → chunk-V57NLO5P.js} +2 -2
  275. package/dist/{chunk-FLVL4L3L.js → chunk-VDX2J7OX.js} +2 -2
  276. package/dist/{chunk-AJLLIIML.js → chunk-W4FBGYGK.js} +1 -1
  277. package/dist/{chunk-TXLGHDHS.js → chunk-W4XJFLAL.js} +53 -32
  278. package/dist/chunk-W4XJFLAL.js.map +1 -0
  279. package/dist/{chunk-6SXVCD7W.js → chunk-W7IGLX4G.js} +2 -2
  280. package/dist/{chunk-KQDNAXOM.js → chunk-WG5HSQ4P.js} +19 -6
  281. package/dist/chunk-WG5HSQ4P.js.map +1 -0
  282. package/dist/{chunk-LTJAMRGI.js → chunk-WL5EBRDH.js} +17 -3
  283. package/dist/chunk-WL5EBRDH.js.map +1 -0
  284. package/dist/{chunk-KAWTOYAW.js → chunk-WLZYGLJ4.js} +2 -2
  285. package/dist/{chunk-RO4LQGT3.js → chunk-WON4APQY.js} +4 -4
  286. package/dist/{chunk-PQVK2S3J.js → chunk-WZFAPHIK.js} +6 -6
  287. package/dist/{chunk-KQPJLK3X.js → chunk-XL24QQ63.js} +2 -2
  288. package/dist/{chunk-RVZRYUQH.js → chunk-YROFNEG5.js} +7 -7
  289. package/dist/{chunk-RAR2BSEM.js → chunk-YV32N67O.js} +1 -1
  290. package/dist/chunk-YV32N67O.js.map +1 -0
  291. package/dist/{chunk-PBSAPHHA.js → chunk-YVKF3HEW.js} +1 -1
  292. package/dist/chunk-YVKF3HEW.js.map +1 -0
  293. package/dist/{chunk-VRAD2FGO.js → chunk-Z54EM5YZ.js} +12 -12
  294. package/dist/{chunk-2VN4JAX7.js → chunk-ZOKZIR5K.js} +95 -33
  295. package/dist/chunk-ZOKZIR5K.js.map +1 -0
  296. package/dist/{cli-Cd5fMmhq.d.ts → cli-C_pqqTCw.d.ts} +28 -12
  297. package/dist/cli.d.ts +16 -9
  298. package/dist/cli.js +142 -127
  299. package/dist/compounding/engine.d.ts +5 -2
  300. package/dist/compounding/engine.js +36 -26
  301. package/dist/compounding/preference-consolidator.d.ts +3 -1
  302. package/dist/compounding/preference-consolidator.js +1 -1
  303. package/dist/compression-optimizer.d.ts +3 -1
  304. package/dist/config-qmd.d.ts +8 -0
  305. package/dist/config-qmd.js +20 -0
  306. package/dist/config-qmd.js.map +1 -0
  307. package/dist/config.d.ts +3 -1
  308. package/dist/config.js +15 -10
  309. package/dist/connectors/codex-materialize-runner.d.ts +3 -1
  310. package/dist/connectors/codex-materialize-runner.js +36 -26
  311. package/dist/connectors/codex-materialize.d.ts +3 -1
  312. package/dist/connectors/codex-materialize.js +2 -2
  313. package/dist/connectors/index.d.ts +3 -1
  314. package/dist/connectors/index.js +41 -32
  315. package/dist/consolidation-provenance-check.d.ts +5 -2
  316. package/dist/consolidation-undo.d.ts +5 -2
  317. package/dist/contradiction/index.d.ts +5 -2
  318. package/dist/contradiction/index.js +10 -4
  319. package/dist/{contradiction-scan-J57T5QV7.js → contradiction-scan-RJBABNRH.js} +4 -4
  320. package/dist/contradiction-scan-RJBABNRH.js.map +1 -0
  321. package/dist/conversation-index/backend.d.ts +3 -1
  322. package/dist/conversation-index/backend.js +5 -5
  323. package/dist/conversation-index/chunker.d.ts +3 -1
  324. package/dist/conversation-index/cleanup.js +2 -2
  325. package/dist/conversation-index/faiss-adapter.d.ts +3 -1
  326. package/dist/conversation-index/faiss-adapter.js +2 -2
  327. package/dist/conversation-index/indexer.d.ts +3 -1
  328. package/dist/conversation-index/indexer.js +2 -2
  329. package/dist/conversation-index/search.d.ts +3 -1
  330. package/dist/conversation-index/search.js +2 -2
  331. package/dist/cross-namespace-budget.d.ts +45 -1
  332. package/dist/cross-namespace-budget.js +5 -3
  333. package/dist/dashboard-runtime.js +2 -2
  334. package/dist/day-summary.d.ts +3 -1
  335. package/dist/day-summary.js +3 -3
  336. package/dist/delinearize.d.ts +3 -1
  337. package/dist/direct-answer-wiring.d.ts +3 -1
  338. package/dist/direct-answer.d.ts +3 -1
  339. package/dist/{dreams-ledger-6UODQOX6.js → dreams-ledger-567VKVOU.js} +4 -2
  340. package/dist/dreams-ledger-567VKVOU.js.map +1 -0
  341. package/dist/embedding-fallback.d.ts +3 -1
  342. package/dist/embedding-fallback.js +3 -3
  343. package/dist/enrichment/index.d.ts +3 -1
  344. package/dist/entity-retrieval.d.ts +5 -2
  345. package/dist/entity-retrieval.js +35 -26
  346. package/dist/entity-schema.d.ts +3 -1
  347. package/dist/explicit-capture.d.ts +13 -8
  348. package/dist/explicit-capture.js +7 -3
  349. package/dist/extraction-faithfulness.d.ts +3 -1
  350. package/dist/extraction-faithfulness.js +5 -5
  351. package/dist/extraction-judge-telemetry.d.ts +3 -1
  352. package/dist/extraction-judge-telemetry.js +2 -2
  353. package/dist/extraction-judge-training.d.ts +3 -1
  354. package/dist/extraction-judge-training.js +2 -2
  355. package/dist/extraction-judge.d.ts +3 -1
  356. package/dist/extraction-judge.js +5 -5
  357. package/dist/extraction.d.ts +3 -1
  358. package/dist/extraction.js +13 -12
  359. package/dist/faithfulness-config.js +3 -2
  360. package/dist/fallback-llm.d.ts +3 -1
  361. package/dist/fallback-llm.js +4 -4
  362. package/dist/{first-start-migration-TI67YMLG.js → first-start-migration-CSRHCJIQ.js} +2 -2
  363. package/dist/{forget-CQCLB5LB.js → forget-HRPLVB3W.js} +5 -5
  364. package/dist/graph-dashboard-diff.d.ts +3 -1
  365. package/dist/graph-dashboard-key.d.ts +3 -1
  366. package/dist/graph-dashboard-parser.d.ts +3 -1
  367. package/dist/{graph-edge-decay-IOGBBAGC.js → graph-edge-decay-Z6ENALU2.js} +3 -3
  368. package/dist/graph-edge-decay-Z6ENALU2.js.map +1 -0
  369. package/dist/graph-edge-reinforcement.d.ts +3 -1
  370. package/dist/graph-snapshot.d.ts +3 -1
  371. package/dist/graph-snapshot.js +2 -2
  372. package/dist/graph.d.ts +3 -1
  373. package/dist/graph.js +1 -1
  374. package/dist/identity-continuity.d.ts +1 -2
  375. package/dist/importance.d.ts +3 -1
  376. package/dist/importers/index.d.ts +3 -1
  377. package/dist/in-flight-reads.d.ts +3 -1
  378. package/dist/index.d.ts +473 -464
  379. package/dist/index.js +287 -239
  380. package/dist/intent.d.ts +3 -1
  381. package/dist/lcm/archive.js +2 -2
  382. package/dist/lcm/engine.d.ts +3 -1
  383. package/dist/lcm/engine.js +6 -6
  384. package/dist/lcm/index.d.ts +3 -1
  385. package/dist/lcm/index.js +13 -13
  386. package/dist/lcm/schema.js +2 -2
  387. package/dist/lcm/summarizer.js +3 -3
  388. package/dist/lcm/tools.d.ts +3 -1
  389. package/dist/lifecycle.d.ts +3 -1
  390. package/dist/live-connectors-runner.d.ts +3 -1
  391. package/dist/local-llm.d.ts +5 -2
  392. package/dist/local-llm.js +3 -3
  393. package/dist/local-model-endpoint.d.ts +3 -1
  394. package/dist/logger.d.ts +3 -1
  395. package/dist/logger.js +7 -3
  396. package/dist/maintenance/archive-observations.js +2 -2
  397. package/dist/maintenance/memory-governance.d.ts +3 -1
  398. package/dist/maintenance/memory-governance.js +35 -25
  399. package/dist/maintenance/migrate-observations.js +3 -3
  400. package/dist/maintenance/observation-ledger-utils.js +2 -2
  401. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +102 -1
  402. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +37 -25
  403. package/dist/maintenance/rebuild-memory-projection.js +38 -28
  404. package/dist/maintenance/rebuild-observations.js +3 -3
  405. package/dist/mcp-memory-inspector-app.d.ts +22 -15
  406. package/dist/memory-action-policy.d.ts +3 -1
  407. package/dist/memory-cache.d.ts +3 -1
  408. package/dist/memory-lifecycle-ledger-utils.d.ts +25 -2
  409. package/dist/memory-lifecycle-ledger-utils.js +11 -1
  410. package/dist/memory-projection-store.d.ts +3 -1
  411. package/dist/memory-projection-store.js +2 -2
  412. package/dist/memory-provenance.d.ts +3 -1
  413. package/dist/memory-worth-outcomes.d.ts +5 -2
  414. package/dist/model-registry.js +2 -2
  415. package/dist/models-json.d.ts +3 -1
  416. package/dist/models-json.js +2 -2
  417. package/dist/namespaces/migrate.d.ts +6 -3
  418. package/dist/namespaces/migrate.js +51 -42
  419. package/dist/namespaces/principal.d.ts +27 -2
  420. package/dist/namespaces/principal.js +6 -2
  421. package/dist/namespaces/search.d.ts +16 -2
  422. package/dist/namespaces/search.js +24 -20
  423. package/dist/namespaces/storage.d.ts +24 -3
  424. package/dist/namespaces/storage.js +35 -27
  425. package/dist/native-knowledge.d.ts +3 -1
  426. package/dist/native-knowledge.js +2 -2
  427. package/dist/negative.js +2 -2
  428. package/dist/offline-sync-exclude-globs.d.ts +13 -0
  429. package/dist/offline-sync-exclude-globs.js +10 -0
  430. package/dist/offline-sync-exclude-globs.js.map +1 -0
  431. package/dist/offline-sync-impression-drain.d.ts +78 -0
  432. package/dist/offline-sync-impression-drain.js +37 -0
  433. package/dist/offline-sync-impression-drain.js.map +1 -0
  434. package/dist/offline-sync.js +4 -2
  435. package/dist/operator-toolkit.d.ts +5 -2
  436. package/dist/operator-toolkit.js +69 -54
  437. package/dist/orchestration/compression-guideline-coordinator.d.ts +5 -2
  438. package/dist/orchestration/compression-guideline-coordinator.js +3 -3
  439. package/dist/orchestration/maintenance.d.ts +121 -2
  440. package/dist/orchestration/maintenance.js +44 -31
  441. package/dist/{orchestrator-Bp_jeBHK.d.ts → orchestrator-CQJ8U7En.d.ts} +85 -79
  442. package/dist/orchestrator.d.ts +13 -8
  443. package/dist/orchestrator.js +194 -177
  444. package/dist/patterns-cli.d.ts +3 -1
  445. package/dist/{pipeline-BAj5bx7g.d.ts → pipeline-Cn-kvYeV.d.ts} +1 -1
  446. package/dist/policy-runtime.d.ts +3 -1
  447. package/dist/prioritized-embed.d.ts +19 -0
  448. package/dist/prioritized-embed.js +8 -0
  449. package/dist/prioritized-embed.js.map +1 -0
  450. package/dist/proactive-contention.d.ts +28 -0
  451. package/dist/proactive-contention.js +8 -0
  452. package/dist/proactive-contention.js.map +1 -0
  453. package/dist/profiling.js +2 -2
  454. package/dist/provenance.d.ts +3 -1
  455. package/dist/provenance.js +3 -2
  456. package/dist/{purge-NDWV6WYD.js → purge-IRF47ZTX.js} +3 -3
  457. package/dist/{qmd-_MDSlj1m.d.ts → qmd-oh9VXz1d.d.ts} +11 -1
  458. package/dist/qmd-preflight.d.ts +5 -2
  459. package/dist/qmd-recall-cache.d.ts +3 -1
  460. package/dist/qmd-status.d.ts +57 -0
  461. package/dist/qmd-status.js +18 -0
  462. package/dist/qmd-status.js.map +1 -0
  463. package/dist/qmd.d.ts +5 -2
  464. package/dist/qmd.js +7 -3
  465. package/dist/recall-concurrency-config.d.ts +16 -0
  466. package/dist/recall-concurrency-config.js +10 -0
  467. package/dist/recall-concurrency-config.js.map +1 -0
  468. package/dist/recall-disclosure-escalation.d.ts +3 -1
  469. package/dist/recall-explain-renderer.d.ts +4 -1
  470. package/dist/recall-explain-renderer.js +3 -3
  471. package/dist/recall-memory-map.d.ts +26 -0
  472. package/dist/recall-memory-map.js +18 -0
  473. package/dist/recall-memory-map.js.map +1 -0
  474. package/dist/recall-planner-llm.d.ts +3 -1
  475. package/dist/recall-planner-llm.js +4 -4
  476. package/dist/recall-qos.js +2 -2
  477. package/dist/recall-state.d.ts +163 -2
  478. package/dist/recall-state.js +6 -3
  479. package/dist/recall-tag-filter.d.ts +3 -1
  480. package/dist/recall-timings.d.ts +11 -2
  481. package/dist/recall-timings.js +3 -1
  482. package/dist/recall-xray-cli.d.ts +3 -1
  483. package/dist/recall-xray-cli.js +4 -4
  484. package/dist/recall-xray-renderer.d.ts +3 -1
  485. package/dist/recall-xray-renderer.js +3 -3
  486. package/dist/recall-xray.d.ts +3 -1
  487. package/dist/recall-xray.js +2 -2
  488. package/dist/relevance.js +3 -3
  489. package/dist/replay/normalizers/chatgpt.d.ts +3 -1
  490. package/dist/replay/normalizers/claude.d.ts +3 -1
  491. package/dist/replay/normalizers/openclaw.d.ts +3 -1
  492. package/dist/replay/normalizers/shared.d.ts +3 -1
  493. package/dist/replay/runner.d.ts +3 -1
  494. package/dist/replay/types.d.ts +3 -1
  495. package/dist/rerank.d.ts +8 -1
  496. package/dist/rerank.js +3 -1
  497. package/dist/resolution-3K27T4VO.js +18 -0
  498. package/dist/resolution-3K27T4VO.js.map +1 -0
  499. package/dist/resolve-auth-token.d.ts +3 -1
  500. package/dist/resolve-provider-secret.js +2 -2
  501. package/dist/resume-bundles.js +19 -14
  502. package/dist/retrieval-agents.d.ts +19 -16
  503. package/dist/retrieval-agents.js +3 -3
  504. package/dist/retrieval-tiers.d.ts +3 -1
  505. package/dist/routing/engine.d.ts +3 -1
  506. package/dist/routing/store.d.ts +3 -1
  507. package/dist/routing/store.js +2 -2
  508. package/dist/salvage-envelope.d.ts +18 -0
  509. package/dist/salvage-envelope.js +15 -0
  510. package/dist/salvage-envelope.js.map +1 -0
  511. package/dist/schemas.d.ts +98 -98
  512. package/dist/scope-profiles-EpJG7yKP.d.ts +30 -0
  513. package/dist/search/document-scanner.js +3 -2
  514. package/dist/search/embed-helper.d.ts +3 -1
  515. package/dist/search/embed-helper.js +3 -3
  516. package/dist/search/factory.d.ts +3 -1
  517. package/dist/search/factory.js +18 -16
  518. package/dist/search/index.d.ts +3 -1
  519. package/dist/search/index.js +22 -20
  520. package/dist/search/lancedb-backend.d.ts +3 -1
  521. package/dist/search/lancedb-backend.js +6 -5
  522. package/dist/search/meilisearch-backend.d.ts +3 -1
  523. package/dist/search/meilisearch-backend.js +6 -5
  524. package/dist/search/noop-backend.d.ts +3 -1
  525. package/dist/search/orama-backend.d.ts +3 -1
  526. package/dist/search/orama-backend.js +6 -5
  527. package/dist/search/port.d.ts +16 -2
  528. package/dist/search/port.js +1 -1
  529. package/dist/search/remote-backend.d.ts +3 -1
  530. package/dist/search/remote-backend.js +3 -3
  531. package/dist/secure-store/index.d.ts +12 -1
  532. package/dist/secure-store/index.js +6 -3
  533. package/dist/{semantic-consolidation-C2m5eHHE.d.ts → semantic-consolidation-DILZEQq3.d.ts} +1 -1
  534. package/dist/semantic-consolidation.d.ts +4 -2
  535. package/dist/semantic-consolidation.js +38 -29
  536. package/dist/semantic-rule-promotion.js +34 -24
  537. package/dist/semantic-rule-verifier.d.ts +3 -1
  538. package/dist/semantic-rule-verifier.js +35 -25
  539. package/dist/session-observer-bands.d.ts +3 -1
  540. package/dist/session-observer-state.d.ts +3 -1
  541. package/dist/session-observer-state.js +2 -2
  542. package/dist/session-transcript-migration.js +2 -2
  543. package/dist/shared-context/manager.d.ts +11 -9
  544. package/dist/shared-context/manager.js +3 -3
  545. package/dist/signal.d.ts +3 -1
  546. package/dist/{storage-hr_Y2z5R.d.ts → storage-NIyKYD8g.d.ts} +489 -110
  547. package/dist/storage-guards.js +2 -2
  548. package/dist/storage.d.ts +6 -3
  549. package/dist/storage.js +38 -26
  550. package/dist/structured-attributes.d.ts +23 -1
  551. package/dist/structured-attributes.js +7 -1
  552. package/dist/summarizer.d.ts +3 -1
  553. package/dist/summarizer.js +11 -11
  554. package/dist/summary-snapshot.d.ts +3 -1
  555. package/dist/summary-snapshot.js +2 -2
  556. package/dist/temporal-index-batch.d.ts +1 -0
  557. package/dist/temporal-index-batch.js +10 -0
  558. package/dist/temporal-index-batch.js.map +1 -0
  559. package/dist/temporal-index-compat.d.ts +279 -1
  560. package/dist/temporal-index-compat.js +1 -1
  561. package/dist/temporal-index.d.ts +1 -225
  562. package/dist/temporal-index.js +35 -3
  563. package/dist/temporal-supersession.d.ts +5 -2
  564. package/dist/temporal-supersession.js +2 -2
  565. package/dist/temporal-timeline-recall.d.ts +3 -1
  566. package/dist/temporal-validity.d.ts +3 -1
  567. package/dist/threading.d.ts +3 -1
  568. package/dist/threading.js +2 -2
  569. package/dist/tier-migration.d.ts +5 -2
  570. package/dist/tier-routing.d.ts +3 -1
  571. package/dist/{tier-stats-KV7IWCJR.js → tier-stats-QEJSPFV2.js} +2 -2
  572. package/dist/tokens.js +3 -3
  573. package/dist/topics.d.ts +3 -1
  574. package/dist/transcript.d.ts +3 -1
  575. package/dist/transcript.js +2 -2
  576. package/dist/transfer/backup.js +3 -3
  577. package/dist/transfer/capsule-export.js +3 -3
  578. package/dist/transfer/capsule-import.js +3 -3
  579. package/dist/transfer/types.d.ts +90 -90
  580. package/dist/trust-score-stage.d.ts +75 -38
  581. package/dist/trust-score-stage.js +11 -3
  582. package/dist/trust-score.d.ts +3 -1
  583. package/dist/{types-Cg8q7W7_.d.ts → types-D_fG2ix8.d.ts} +39 -63
  584. package/dist/types-continuity.d.ts +52 -0
  585. package/dist/types-continuity.js +1 -0
  586. package/dist/types-continuity.js.map +1 -0
  587. package/dist/types.d.ts +3 -1
  588. package/dist/types.js +1 -1
  589. package/dist/utility-runtime.d.ts +3 -1
  590. package/dist/utils/serialize-mutations.d.ts +31 -2
  591. package/dist/utils/serialize-mutations.js +1 -1
  592. package/dist/verified-recall.js +36 -26
  593. package/dist/write-envelope.d.ts +282 -0
  594. package/dist/write-envelope.js +35 -0
  595. package/dist/write-envelope.js.map +1 -0
  596. package/dist/write-quarantine.d.ts +79 -0
  597. package/dist/write-quarantine.js +11 -0
  598. package/dist/write-quarantine.js.map +1 -0
  599. package/dist/write-rate-limiter.d.ts +45 -0
  600. package/dist/write-rate-limiter.js +9 -0
  601. package/dist/write-rate-limiter.js.map +1 -0
  602. package/package.json +37 -2
  603. package/src/access-admin-ops-surface.ts +17 -7
  604. package/src/access-boundary.test.ts +28 -0
  605. package/src/access-boundary.ts +31 -2
  606. package/src/access-citation.test.ts +72 -0
  607. package/src/access-citation.ts +139 -0
  608. package/src/access-errors.ts +21 -0
  609. package/src/access-fingerprint-parity.test.ts +211 -0
  610. package/src/access-http-cancellation.test.ts +59 -21
  611. package/src/access-http.test.ts +90 -0
  612. package/src/access-http.ts +79 -79
  613. package/src/access-mcp-cancellation.test.ts +16 -7
  614. package/src/access-memory-search-fanout.test.ts +220 -0
  615. package/src/access-memory-search-fanout.ts +168 -0
  616. package/src/access-observe-quarantine.test.ts +120 -0
  617. package/src/access-observe-write-surface.ts +130 -11
  618. package/src/access-operations-batch.ts +2 -0
  619. package/src/access-recall-concurrency.ts +773 -0
  620. package/src/access-recall-response.ts +307 -0
  621. package/src/access-recall-surface.ts +100 -252
  622. package/src/access-service-coding-write.test.ts +22 -4
  623. package/src/access-service-health.test.ts +49 -0
  624. package/src/access-service-namespace.test.ts +486 -8
  625. package/src/access-service-observe-scope.test.ts +4 -0
  626. package/src/access-service-recall-concurrency.test.ts +1990 -0
  627. package/src/access-service.ts +182 -175
  628. package/src/access-surface-catalog.ts +1 -0
  629. package/src/access-token-capabilities.ts +16 -9
  630. package/src/active-recall.test.ts +35 -0
  631. package/src/active-recall.ts +7 -0
  632. package/src/bounded-jsonl-state.ts +93 -0
  633. package/src/buffer-session.test.ts +422 -5
  634. package/src/buffer-surprise-trigger.test.ts +41 -0
  635. package/src/buffer.ts +218 -3
  636. package/src/capabilities-cluster-b.test.ts +1 -0
  637. package/src/capabilities.ts +5 -6
  638. package/src/cli.ts +21 -22
  639. package/src/coding/architecture-surfaces.test.ts +6 -3
  640. package/src/coding/architecture-surfaces.ts +36 -25
  641. package/src/coding/decision-surfaces.ts +42 -34
  642. package/src/compounding/engine.test.ts +5 -1
  643. package/src/compounding/engine.ts +7 -7
  644. package/src/config-qmd.ts +89 -0
  645. package/src/config.test.ts +136 -0
  646. package/src/config.ts +113 -118
  647. package/src/connector-provenance-lifecycle.test.ts +4 -4
  648. package/src/connectors/coerce.test.ts +131 -0
  649. package/src/connectors/coerce.ts +80 -7
  650. package/src/contradiction/contradiction.test.ts +10 -6
  651. package/src/contradiction/resolution.ts +17 -4
  652. package/src/correction/correction-access-wiring.ts +62 -18
  653. package/src/cross-namespace-budget.test.ts +35 -0
  654. package/src/cross-namespace-budget.ts +86 -19
  655. package/src/explicit-capture.ts +54 -17
  656. package/src/extraction.ts +2 -3
  657. package/src/faithfulness-graph-guard.test.ts +16 -69
  658. package/src/graph-recall.test.ts +31 -0
  659. package/src/index.ts +22 -2
  660. package/src/local-llm.ts +4 -6
  661. package/src/logger.ts +16 -0
  662. package/src/maintenance/dreams-ledger.ts +100 -49
  663. package/src/maintenance/rebuild-memory-lifecycle-ledger-cli.ts +77 -0
  664. package/src/maintenance/rebuild-memory-lifecycle-ledger.ts +373 -9
  665. package/src/memory-lifecycle-ledger-utils.ts +51 -5
  666. package/src/namespaces/principal.test.ts +37 -1
  667. package/src/namespaces/principal.ts +48 -0
  668. package/src/namespaces/search.test.ts +79 -5
  669. package/src/namespaces/search.ts +59 -6
  670. package/src/namespaces/storage.ts +43 -1
  671. package/src/offline-sync-exclude-globs.ts +58 -0
  672. package/src/offline-sync-impression-drain.test.ts +316 -0
  673. package/src/offline-sync-impression-drain.ts +260 -0
  674. package/src/offline-sync.test.ts +32 -5
  675. package/src/offline-sync.ts +1 -14
  676. package/src/operator-toolkit.ts +1 -1
  677. package/src/orchestration/batch-deindex-flush.test.ts +146 -0
  678. package/src/orchestration/consolidation-run.ts +96 -85
  679. package/src/orchestration/extraction-envelope.ts +94 -0
  680. package/src/orchestration/extraction-persist-promotion.ts +134 -0
  681. package/src/orchestration/extraction-persist.ts +325 -260
  682. package/src/orchestration/extraction-run.test.ts +1 -1
  683. package/src/orchestration/extraction-run.ts +2 -2
  684. package/src/orchestration/graph-recall-coordinator.ts +18 -7
  685. package/src/orchestration/lifecycle-policy-coordinator.ts +63 -48
  686. package/src/orchestration/maintenance.test.ts +2103 -3
  687. package/src/orchestration/maintenance.ts +574 -2
  688. package/src/orchestration/namespace-read-fanout.ts +14 -8
  689. package/src/orchestration/orchestrator-helpers.ts +8 -1
  690. package/src/orchestration/orchestrator-init.ts +22 -6
  691. package/src/orchestration/orchestrator-namespace-scope.ts +71 -0
  692. package/src/orchestration/persistence-index.ts +64 -9
  693. package/src/orchestration/qmd-result-resolver.ts +27 -0
  694. package/src/orchestration/recall-entry.ts +34 -19
  695. package/src/orchestration/recall-internal.ts +207 -79
  696. package/src/orchestration/recall-rerank-coordinator.ts +229 -82
  697. package/src/orchestration/recall-result-formatter.ts +76 -20
  698. package/src/orchestration/recall-search-pipeline.test.ts +70 -0
  699. package/src/orchestration/recall-search-pipeline.ts +102 -129
  700. package/src/orchestration/recall-section-coordinator.ts +315 -85
  701. package/src/orchestration/semantic-consolidation-coordinator.ts +69 -37
  702. package/src/orchestration/session-context.ts +21 -0
  703. package/src/orchestration/workspace-ops.test.ts +348 -0
  704. package/src/orchestration/workspace-ops.ts +168 -34
  705. package/src/orchestrator-chunked-hash-durability.test.ts +126 -0
  706. package/src/orchestrator-connector-dedup.test.ts +1061 -40
  707. package/src/orchestrator-flush.test.ts +155 -39
  708. package/src/orchestrator-nonchunked-hash-durability.test.ts +121 -0
  709. package/src/orchestrator-source-attribution.test.ts +9 -9
  710. package/src/orchestrator.ts +160 -149
  711. package/src/prioritized-embed.ts +123 -0
  712. package/src/proactive-contention.test.ts +80 -0
  713. package/src/proactive-contention.ts +39 -0
  714. package/src/procedural/procedure-miner.test.ts +19 -14
  715. package/src/procedural/procedure-miner.ts +44 -13
  716. package/src/qmd-client.test.ts +111 -1
  717. package/src/qmd-status.ts +186 -0
  718. package/src/qmd.ts +47 -47
  719. package/src/recall-budget-config.test.ts +30 -0
  720. package/src/recall-cold-deadline.test.ts +149 -0
  721. package/src/recall-concurrency-config.ts +28 -0
  722. package/src/recall-memory-map.ts +74 -0
  723. package/src/recall-rerank-coordinator.test.ts +508 -0
  724. package/src/recall-state.test.ts +825 -1
  725. package/src/recall-state.ts +406 -7
  726. package/src/recall-timings-access.test.ts +41 -0
  727. package/src/recall-timings.ts +16 -0
  728. package/src/relay/mission-access.test.ts +5 -5
  729. package/src/rerank.ts +22 -0
  730. package/src/retrieval-agents.test.ts +79 -0
  731. package/src/retrieval-agents.ts +71 -19
  732. package/src/salvage-envelope.ts +28 -0
  733. package/src/scopes/scope-plan.test.ts +42 -0
  734. package/src/scopes/scope-plan.ts +45 -0
  735. package/src/search/port.ts +13 -0
  736. package/src/secure-store/index.ts +1 -0
  737. package/src/secure-store/secure-fs.ts +48 -0
  738. package/src/secure-store/secure-store.test.ts +40 -0
  739. package/src/semantic-rule-promotion.ts +13 -4
  740. package/src/storage/content-hash-index.ts +655 -0
  741. package/src/storage/entity-timeline.ts +473 -0
  742. package/src/storage/memory-lifecycle-ledger-access.ts +603 -0
  743. package/src/storage/secure-line-reader.test.ts +197 -0
  744. package/src/storage/secure-line-reader.ts +181 -3
  745. package/src/storage-append-header-sniff.test.ts +195 -0
  746. package/src/storage-behavior-signals-cache.test.ts +237 -0
  747. package/src/storage-contract/cache-coherence.test.ts +96 -1
  748. package/src/storage-contract/content-hash.test.ts +47 -2
  749. package/src/storage-fact-hash-index-defer.test.ts +1200 -0
  750. package/src/storage-memory-lifecycle-ledger.test.ts +1146 -3
  751. package/src/storage.ts +882 -890
  752. package/src/structured-attributes.ts +52 -0
  753. package/src/temporal-index-batch.ts +112 -0
  754. package/src/temporal-index.test.ts +193 -0
  755. package/src/temporal-index.ts +49 -53
  756. package/src/testing/lifecycle-matrix.test.ts +212 -0
  757. package/src/testing/lifecycle-matrix.ts +271 -0
  758. package/src/testing/orchestrator-lite.ts +236 -0
  759. package/src/testing/subjects/dreams-ledger.test.ts +67 -0
  760. package/src/testing/subjects/extraction-lifecycle.test.ts +442 -0
  761. package/src/testing/subjects/lifecycle-ledger.test.ts +93 -0
  762. package/src/testing/subjects/recall-budget.test.ts +461 -0
  763. package/src/testing/subjects/serialized-write-chain.test.ts +224 -0
  764. package/src/trust-score-stage.test.ts +154 -0
  765. package/src/trust-score-stage.ts +216 -53
  766. package/src/types-continuity.ts +57 -0
  767. package/src/types.ts +51 -77
  768. package/src/utils/path-containment.test.ts +75 -0
  769. package/src/utils/path-containment.ts +76 -0
  770. package/src/utils/serialize-mutations.test.ts +122 -0
  771. package/src/utils/serialize-mutations.ts +68 -3
  772. package/src/wearables/memory-gen.test.ts +31 -9
  773. package/src/wearables/memory-gen.ts +95 -55
  774. package/src/wearables/pipeline.test.ts +10 -7
  775. package/src/wearables/service.test.ts +6 -8
  776. package/src/wearables/service.ts +2 -2
  777. package/src/write-envelope.extension.test.ts +111 -0
  778. package/src/write-envelope.test.ts +683 -0
  779. package/src/write-envelope.ts +902 -0
  780. package/src/write-quarantine.test.ts +193 -0
  781. package/src/write-quarantine.ts +241 -0
  782. package/src/write-rate-limiter.test.ts +105 -0
  783. package/src/write-rate-limiter.ts +135 -0
  784. package/src/write-sealed-parity.test.ts +204 -0
  785. package/dist/chunk-2VN4JAX7.js.map +0 -1
  786. package/dist/chunk-37CTGERM.js.map +0 -1
  787. package/dist/chunk-3IY64MV6.js.map +0 -1
  788. package/dist/chunk-BCDKBDSY.js.map +0 -1
  789. package/dist/chunk-BFPETA3S.js.map +0 -1
  790. package/dist/chunk-BFVEEB7W.js.map +0 -1
  791. package/dist/chunk-BS4SGLWV.js.map +0 -1
  792. package/dist/chunk-DCFV7A7H.js.map +0 -1
  793. package/dist/chunk-DYP3YYJJ.js.map +0 -1
  794. package/dist/chunk-E5BK6CGV.js +0 -335
  795. package/dist/chunk-E5BK6CGV.js.map +0 -1
  796. package/dist/chunk-FTYDWKO6.js.map +0 -1
  797. package/dist/chunk-GWTFLF2P.js.map +0 -1
  798. package/dist/chunk-IKQTFQMI.js.map +0 -1
  799. package/dist/chunk-INELTPRG.js.map +0 -1
  800. package/dist/chunk-J2HSAU72.js.map +0 -1
  801. package/dist/chunk-JREB6UFH.js.map +0 -1
  802. package/dist/chunk-K7LOWSLU.js.map +0 -1
  803. package/dist/chunk-KQDNAXOM.js.map +0 -1
  804. package/dist/chunk-KSBEEMQF.js.map +0 -1
  805. package/dist/chunk-KSNVDPDF.js.map +0 -1
  806. package/dist/chunk-LC7OODWZ.js.map +0 -1
  807. package/dist/chunk-LTJAMRGI.js.map +0 -1
  808. package/dist/chunk-LZOV7MX7.js.map +0 -1
  809. package/dist/chunk-NWTGD4AN.js.map +0 -1
  810. package/dist/chunk-ODPLEWB6.js.map +0 -1
  811. package/dist/chunk-OVJ2HIPE.js.map +0 -1
  812. package/dist/chunk-PBSAPHHA.js.map +0 -1
  813. package/dist/chunk-PHK3HARR.js +0 -32
  814. package/dist/chunk-PHK3HARR.js.map +0 -1
  815. package/dist/chunk-PLQE6MJA.js.map +0 -1
  816. package/dist/chunk-QKQYXZVS.js.map +0 -1
  817. package/dist/chunk-QQGPUKMT.js.map +0 -1
  818. package/dist/chunk-RANHFI3P.js +0 -8
  819. package/dist/chunk-RANHFI3P.js.map +0 -1
  820. package/dist/chunk-RAR2BSEM.js.map +0 -1
  821. package/dist/chunk-RULE4VG5.js.map +0 -1
  822. package/dist/chunk-SVOZFLIQ.js +0 -16
  823. package/dist/chunk-SVOZFLIQ.js.map +0 -1
  824. package/dist/chunk-T7Y5KPLN.js.map +0 -1
  825. package/dist/chunk-TXLGHDHS.js.map +0 -1
  826. package/dist/chunk-VDW4VU7B.js.map +0 -1
  827. package/dist/chunk-VSMRDBFT.js +0 -17
  828. package/dist/chunk-VSMRDBFT.js.map +0 -1
  829. package/dist/chunk-X64YLC24.js.map +0 -1
  830. package/dist/chunk-XDSXEKYK.js +0 -118
  831. package/dist/chunk-XDSXEKYK.js.map +0 -1
  832. package/dist/chunk-YF6FMLBT.js.map +0 -1
  833. package/dist/resolution-VH4NGENZ.js +0 -12
  834. /package/dist/{capsule-crypto-CZJSLEFG.js.map → access-citation.js.map} +0 -0
  835. /package/dist/{contradiction-scan-J57T5QV7.js.map → access-memory-search-fanout.js.map} +0 -0
  836. /package/dist/{dreams-ledger-6UODQOX6.js.map → access-recall-concurrency.js.map} +0 -0
  837. /package/dist/{graph-edge-decay-IOGBBAGC.js.map → access-recall-response.js.map} +0 -0
  838. /package/dist/{resolution-VH4NGENZ.js.map → bounded-jsonl-state.js.map} +0 -0
  839. /package/dist/{chunk-A3GOMRJG.js.map → chunk-23L3IXFD.js.map} +0 -0
  840. /package/dist/{chunk-MRHFJV44.js.map → chunk-2DQ2XREU.js.map} +0 -0
  841. /package/dist/{chunk-L2B3EE7B.js.map → chunk-2QMKMVHH.js.map} +0 -0
  842. /package/dist/{chunk-VJVNLNDQ.js.map → chunk-2UFO7X4Q.js.map} +0 -0
  843. /package/dist/{chunk-2MR3MFQB.js.map → chunk-2VEOKUPP.js.map} +0 -0
  844. /package/dist/{chunk-RHOZ5LLO.js.map → chunk-347WD2LE.js.map} +0 -0
  845. /package/dist/{chunk-HDTQVNWD.js.map → chunk-3QAH2S33.js.map} +0 -0
  846. /package/dist/{chunk-LRNMRXJO.js.map → chunk-3Y224NYC.js.map} +0 -0
  847. /package/dist/{chunk-VFSP73LP.js.map → chunk-45GF7Y3V.js.map} +0 -0
  848. /package/dist/{chunk-OEHCMALU.js.map → chunk-5I4M26Q7.js.map} +0 -0
  849. /package/dist/{chunk-2AZXIZEN.js.map → chunk-5Q7EVV4X.js.map} +0 -0
  850. /package/dist/{chunk-PUBTHW5O.js.map → chunk-6DRPPQEJ.js.map} +0 -0
  851. /package/dist/{chunk-FDCTQWLW.js.map → chunk-6O22TZSB.js.map} +0 -0
  852. /package/dist/{chunk-ZQ7UBUZ6.js.map → chunk-6QYST5XN.js.map} +0 -0
  853. /package/dist/{chunk-W4PGTAS2.js.map → chunk-6WAFYNVT.js.map} +0 -0
  854. /package/dist/{chunk-R5VAVVHP.js.map → chunk-72A4L5JJ.js.map} +0 -0
  855. /package/dist/{chunk-3FAMU5TX.js.map → chunk-A6USBZTO.js.map} +0 -0
  856. /package/dist/{chunk-ZHIVCODT.js.map → chunk-A72SWTWW.js.map} +0 -0
  857. /package/dist/{chunk-FC77VUX5.js.map → chunk-A7Q43EUZ.js.map} +0 -0
  858. /package/dist/{chunk-UJBESW6X.js.map → chunk-AE7WMV4V.js.map} +0 -0
  859. /package/dist/{chunk-A5UXZRRM.js.map → chunk-AJ7QCSIS.js.map} +0 -0
  860. /package/dist/{chunk-FNMFJWBY.js.map → chunk-ANEUPF6O.js.map} +0 -0
  861. /package/dist/{chunk-2A3OXAP2.js.map → chunk-B7RWBZXW.js.map} +0 -0
  862. /package/dist/{chunk-74F5STS4.js.map → chunk-BLAKS3CP.js.map} +0 -0
  863. /package/dist/{chunk-M7VGG3ID.js.map → chunk-BV5WMSIJ.js.map} +0 -0
  864. /package/dist/{chunk-2BFLDH5F.js.map → chunk-BXLOS5AJ.js.map} +0 -0
  865. /package/dist/{chunk-UXKMMNJD.js.map → chunk-C23BYTJV.js.map} +0 -0
  866. /package/dist/{chunk-JZHHREBL.js.map → chunk-C3AKM55W.js.map} +0 -0
  867. /package/dist/{chunk-RP7YXA67.js.map → chunk-C5JF6EZ7.js.map} +0 -0
  868. /package/dist/{chunk-EHCONI6E.js.map → chunk-CQMEM5CC.js.map} +0 -0
  869. /package/dist/{chunk-PBNZVPFS.js.map → chunk-CXZQOVIE.js.map} +0 -0
  870. /package/dist/{chunk-7N2RUBAP.js.map → chunk-DDA47TES.js.map} +0 -0
  871. /package/dist/{chunk-64SE4X5G.js.map → chunk-DEBHXHJR.js.map} +0 -0
  872. /package/dist/{chunk-EHK6KZHK.js.map → chunk-DNHVPZOD.js.map} +0 -0
  873. /package/dist/{chunk-437S3G37.js.map → chunk-DQEMWVMT.js.map} +0 -0
  874. /package/dist/{chunk-LZZNTPLR.js.map → chunk-DX3XRGLH.js.map} +0 -0
  875. /package/dist/{chunk-DZKHSDOM.js.map → chunk-ES36HTSC.js.map} +0 -0
  876. /package/dist/{chunk-TN7THW5U.js.map → chunk-ET356KSB.js.map} +0 -0
  877. /package/dist/{chunk-YNDLCWXS.js.map → chunk-EZ25VE3G.js.map} +0 -0
  878. /package/dist/{chunk-DMSDUGDM.js.map → chunk-F7GAIWFA.js.map} +0 -0
  879. /package/dist/{chunk-G6XXLKC5.js.map → chunk-FFPJINJE.js.map} +0 -0
  880. /package/dist/{chunk-G4CN3ZXL.js.map → chunk-FUTF72MJ.js.map} +0 -0
  881. /package/dist/{chunk-HF77M34J.js.map → chunk-GFPZS3F5.js.map} +0 -0
  882. /package/dist/{chunk-G6NKALRN.js.map → chunk-H4WG3UQZ.js.map} +0 -0
  883. /package/dist/{chunk-UDQUSU27.js.map → chunk-HNZKVLAN.js.map} +0 -0
  884. /package/dist/{chunk-5EZXHU36.js.map → chunk-HYQJQGD3.js.map} +0 -0
  885. /package/dist/{chunk-TRWPCR6P.js.map → chunk-JECBQBEX.js.map} +0 -0
  886. /package/dist/{chunk-E6CBU7XP.js.map → chunk-JYIFGGEM.js.map} +0 -0
  887. /package/dist/{chunk-VA4WSW54.js.map → chunk-JYIJNNN3.js.map} +0 -0
  888. /package/dist/{chunk-L5HJQC36.js.map → chunk-K2TDK7GG.js.map} +0 -0
  889. /package/dist/{chunk-KDXVOFYY.js.map → chunk-KAVBJSBQ.js.map} +0 -0
  890. /package/dist/{chunk-4OKLXWDZ.js.map → chunk-KNB7IBBU.js.map} +0 -0
  891. /package/dist/{chunk-QLULYKWZ.js.map → chunk-KSXJOC4F.js.map} +0 -0
  892. /package/dist/{chunk-2S6QHZGJ.js.map → chunk-L2DPF4DF.js.map} +0 -0
  893. /package/dist/{chunk-JI5AVXYO.js.map → chunk-LEPOP46W.js.map} +0 -0
  894. /package/dist/{chunk-O7BBFJLP.js.map → chunk-LTAVSOZW.js.map} +0 -0
  895. /package/dist/{chunk-2IZAGAJR.js.map → chunk-LULR4IUW.js.map} +0 -0
  896. /package/dist/{chunk-WMWVO45V.js.map → chunk-MC6XO7T4.js.map} +0 -0
  897. /package/dist/{chunk-D6RIFG4O.js.map → chunk-MNB5RMAY.js.map} +0 -0
  898. /package/dist/{chunk-Q5WG43OP.js.map → chunk-MYFQ3ED4.js.map} +0 -0
  899. /package/dist/{chunk-V3UE5I5F.js.map → chunk-MYVPLJOO.js.map} +0 -0
  900. /package/dist/{chunk-MTWKDOVO.js.map → chunk-NLE6TSLG.js.map} +0 -0
  901. /package/dist/{chunk-DBRYEIGY.js.map → chunk-OJP3N7UK.js.map} +0 -0
  902. /package/dist/{chunk-SMX5267P.js.map → chunk-OZKOPQCM.js.map} +0 -0
  903. /package/dist/{chunk-JCK7V6SN.js.map → chunk-P65YJEEL.js.map} +0 -0
  904. /package/dist/{chunk-MTR7BZQN.js.map → chunk-PBGWYM3H.js.map} +0 -0
  905. /package/dist/{chunk-AXTXN4T6.js.map → chunk-PWFCHOB3.js.map} +0 -0
  906. /package/dist/{chunk-FDPZVY6D.js.map → chunk-QFN4U7AG.js.map} +0 -0
  907. /package/dist/{chunk-K2ZLHESQ.js.map → chunk-QIEUU4UK.js.map} +0 -0
  908. /package/dist/{chunk-3D6AFGQR.js.map → chunk-QVT3E4CE.js.map} +0 -0
  909. /package/dist/{chunk-SFQ6QNL7.js.map → chunk-R6YJI3HE.js.map} +0 -0
  910. /package/dist/{chunk-5CJVLG3H.js.map → chunk-RFDD3B7W.js.map} +0 -0
  911. /package/dist/{chunk-JBPKEARU.js.map → chunk-RKNJBZ55.js.map} +0 -0
  912. /package/dist/{chunk-FNZQGN76.js.map → chunk-S2BBISHU.js.map} +0 -0
  913. /package/dist/{chunk-IALLX7EE.js.map → chunk-S2FSBU4H.js.map} +0 -0
  914. /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
  915. /package/dist/{chunk-DPAENM7O.js.map → chunk-U3ZAVRP3.js.map} +0 -0
  916. /package/dist/{chunk-4KJLYTLS.js.map → chunk-V57NLO5P.js.map} +0 -0
  917. /package/dist/{chunk-FLVL4L3L.js.map → chunk-VDX2J7OX.js.map} +0 -0
  918. /package/dist/{chunk-AJLLIIML.js.map → chunk-W4FBGYGK.js.map} +0 -0
  919. /package/dist/{chunk-6SXVCD7W.js.map → chunk-W7IGLX4G.js.map} +0 -0
  920. /package/dist/{chunk-KAWTOYAW.js.map → chunk-WLZYGLJ4.js.map} +0 -0
  921. /package/dist/{chunk-RO4LQGT3.js.map → chunk-WON4APQY.js.map} +0 -0
  922. /package/dist/{chunk-PQVK2S3J.js.map → chunk-WZFAPHIK.js.map} +0 -0
  923. /package/dist/{chunk-KQPJLK3X.js.map → chunk-XL24QQ63.js.map} +0 -0
  924. /package/dist/{chunk-RVZRYUQH.js.map → chunk-YROFNEG5.js.map} +0 -0
  925. /package/dist/{chunk-VRAD2FGO.js.map → chunk-Z54EM5YZ.js.map} +0 -0
  926. /package/dist/{first-start-migration-TI67YMLG.js.map → first-start-migration-CSRHCJIQ.js.map} +0 -0
  927. /package/dist/{forget-CQCLB5LB.js.map → forget-HRPLVB3W.js.map} +0 -0
  928. /package/dist/{purge-NDWV6WYD.js.map → purge-IRF47ZTX.js.map} +0 -0
  929. /package/dist/{tier-stats-KV7IWCJR.js.map → tier-stats-QEJSPFV2.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-r
2
2
  export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
3
3
  export { resolveRemnicConfigRecord } from './config-record.js';
4
4
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
5
- import { b as SpeakerRegistry, W as WearablesService } from './orchestrator-Bp_jeBHK.js';
6
- export { D as DEFAULT_SELF_NAME, O as Orchestrator, c as ResolvedSpeaker, d as SpeakerOverride, e as WEARABLE_SOURCE_PREFIX, f as WearableDayTranscriptView, g as WearableMemoryGenDeps, h as WearableMemoryGenResult, i as WearableMemorySearchResult, j as WearableMemoryWriter, k as WearableSearchBackend, l as WearableStorageIo, m as WearableSyncDeps, n as WearableSyncOptions, o as WearableTranscriptSearchResult, p as WearablesServiceDeps, q as buildExtractionTurns, r as dateInTimezone, s as defaultTimezone, t as defaultWorkspaceDir, u as distinctSpeakerLabels, v as emptySpeakerRegistry, w as generateWearableMemories, x as importNativeMemories, y as loadSpeakerRegistry, z as locateTranscriptPath, A as memoryStatusForMode, B as resolveSpeaker, E as resolveSyncDates, F as sanitizeSessionKeyForFilename, H as saveSpeakerRegistry, J as speakerRegistryKey, K as speakersFilePath, L as syncWearableSource, M as wearableDayTag, N as wearableSourceLabel, Q as writeDailyDigestMemory } from './orchestrator-Bp_jeBHK.js';
5
+ import { S as SpeakerRegistry, W as WearablesService } from './orchestrator-CQJ8U7En.js';
6
+ export { D as DEFAULT_SELF_NAME, O as Orchestrator, R as ResolvedSpeaker, a as SpeakerOverride, b as WEARABLE_SOURCE_PREFIX, c as WearableDayTranscriptView, d as WearableMemoryGenDeps, e as WearableMemoryGenResult, f as WearableMemorySearchResult, g as WearableMemoryWriter, h as WearableSearchBackend, i as WearableStorageIo, j as WearableSyncDeps, k as WearableSyncOptions, l as WearableTranscriptSearchResult, m as WearablesServiceDeps, n as buildExtractionTurns, o as dateInTimezone, p as defaultTimezone, q as defaultWorkspaceDir, r as distinctSpeakerLabels, s as emptySpeakerRegistry, t as generateWearableMemories, u as importNativeMemories, v as loadSpeakerRegistry, w as locateTranscriptPath, x as memoryStatusForMode, y as resolveSpeaker, z as resolveSyncDates, A as sanitizeSessionKeyForFilename, B as saveSpeakerRegistry, E as speakerRegistryKey, F as speakersFilePath, H as syncWearableSource, J as wearableDayTag, K as wearableSourceLabel, L as writeDailyDigestMemory } from './orchestrator-CQJ8U7En.js';
7
7
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
8
8
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
9
9
  export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
@@ -13,20 +13,21 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
13
13
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
14
14
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
15
15
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
16
- import { b as FusionConversationInput, c as FusedSpeaker, d as FusedSegment, e as FusedDisagreement, f as FusionOptions, g as FusionDayResult, S as StorageManager } from './storage-hr_Y2z5R.js';
17
- export { C as ContentHashIndex, D as DisagreementKind, h as FUSION_KIND, i as FusedContribution, j as FusedConversationProvenance, k as FusedDayFile, l as FusedDayMeta, m as FusedSegmentProvenance, a as FusedWearableConversation, n as FusionSegmentInput, M as MemoryWriteResult, o as SegmentPickReason, p as composeFusionDayMeta, q as hashFusionBody, r as normalizeAttributePairs, s as parseEntityFile, t as parseFusionDay, u as serializeEntityFile, v as serializeFusionDay } from './storage-hr_Y2z5R.js';
16
+ import { b as FusionConversationInput, c as FusedSpeaker, d as FusedSegment, e as FusedDisagreement, f as FusionOptions, g as FusionDayResult, S as StorageManager } from './storage-NIyKYD8g.js';
17
+ export { C as ContentHashIndex, D as DisagreementKind, h as FUSION_KIND, i as FusedContribution, j as FusedConversationProvenance, k as FusedDayFile, l as FusedDayMeta, m as FusedSegmentProvenance, a as FusedWearableConversation, n as FusionSegmentInput, M as MemoryWriteResult, o as SegmentPickReason, p as composeFusionDayMeta, q as hashFusionBody, r as parseEntityFile, s as parseFusionDay, t as serializeEntityFile, u as serializeFusionDay } from './storage-NIyKYD8g.js';
18
+ export { AccessWriteFingerprintParts, ComposeEnvelopeOptions, FINGERPRINT_EXEMPT_FIELDS, FINGERPRINT_SCOPE_FIELDS, FingerprintScope, MemoryWriteInput, ObserveFingerprintParts, STRUCTURED_ATTRIBUTE_LIMITS, SealedMemoryEnvelope, TAG_LIMITS, WRITE_FINGERPRINT_FIELDS, WriteContext, buildAccessWriteRequestFingerprint, buildObserveRequestFingerprint, buildWriteIdempotencyPayload, composeMemoryEnvelope, isSealedMemoryEnvelope, sealedWriteToLegacyArgs } from './write-envelope.js';
18
19
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
19
20
  export { ExtractionEngine } from './extraction.js';
20
21
  export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOptions, CodexCliFallbackRequest, CodexCliFallbackResult, CodexCliFallbackRunner, setCodexCliFallbackRunnerForProcess } from './cli-fallback.js';
21
22
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
22
23
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
23
24
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
24
- import { aG as CodingContext, aZ as CodingModeConfig, aL as WearableConversation, P as PluginConfig, a_ as CodingKnowledgeConfig, u as MemoryCategory, a$ as WearableCleanupSettings, b0 as WearableFusionConfig, aM as WearableSourceSettings, aQ as WearablesConfig, aP as WearableSourceConnector, aU as WearableCorrectionRule, b1 as WearableDayTranscriptMeta, aT as WearableDayTranscript } from './types-Cg8q7W7_.js';
25
- export { a3 as AgentAccessAuthToken, l as BriefingActiveThread, b2 as BriefingConfig, j as BriefingFocus, i as BriefingFollowup, b3 as BriefingOpenCommitment, n as BriefingRecentEntity, m as BriefingResult, h as BriefingSections, b4 as BriefingWindow, Z as BufferSurpriseEvent, b5 as BulkImportError, $ as BulkImportOptions, a1 as BulkImportResult, a0 as BulkImportSource, b6 as BulkImportSourceAdapter, k as CalendarEvent, C as CalendarSource, b7 as CodexCompatConfig, aY as ConsolidationObservation, ah as ContinuityImprovementLoop, b8 as DEFAULT_RECALL_DISCLOSURE, E as EntityFile, ad as EntityStructuredSection, b9 as ExtractedFact, G as GatewayConfig, ba as ImportSourceRole, _ as ImportTurn, bb as ImportTurnValidationIssue, am as MemoryActionEligibilityContext, bc as MemoryActionEligibilitySource, a7 as MemoryActionType, M as MemoryFile, p as MemoryFrontmatter, bd as MemoryObservation, be as MemoryScope, bf as RECALL_DISCLOSURE_LEVELS, R as RecallDisclosure, a2 as SecretRef, bg as WearableAuthCheck, bh as WearableFetchOptions, bi as WearableFetchPage, aO as WearableMemoryMode, aN as WearableNativeMemory, bj as WearableNativeMemoryPage, aS as WearableSourceStatus, aR as WearableSyncSummary, bk as WearableTranscriptSegment, bl as isImportRole, bm as isRecallDisclosure, bn as parseIsoTimestamp, bo as validateImportTurn } from './types-Cg8q7W7_.js';
25
+ import { aD as CodingContext, aT as CodingModeConfig, aF as WearableConversation, P as PluginConfig, aU as CodingKnowledgeConfig, w as MemoryCategory, aV as WearableCleanupSettings, aW as WearableFusionConfig, aG as WearableSourceSettings, aK as WearablesConfig, aJ as WearableSourceConnector, aO as WearableCorrectionRule, aX as WearableDayTranscriptMeta, aN as WearableDayTranscript } from './types-D_fG2ix8.js';
26
+ export { a6 as AgentAccessAuthToken, k as BriefingActiveThread, aY as BriefingConfig, i as BriefingFocus, h as BriefingFollowup, aZ as BriefingOpenCommitment, m as BriefingRecentEntity, l as BriefingResult, B as BriefingSections, a_ as BriefingWindow, a0 as BufferSurpriseEvent, a$ as BulkImportError, a2 as BulkImportOptions, a4 as BulkImportResult, a3 as BulkImportSource, b0 as BulkImportSourceAdapter, j as CalendarEvent, C as CalendarSource, b1 as CodexCompatConfig, aS as ConsolidationObservation, b2 as DEFAULT_RECALL_DISCLOSURE, E as EntityFile, ag as EntityStructuredSection, b3 as ExtractedFact, G as GatewayConfig, b4 as ImportSourceRole, a1 as ImportTurn, b5 as ImportTurnValidationIssue, aj as MemoryActionEligibilityContext, b6 as MemoryActionEligibilitySource, aa as MemoryActionType, M as MemoryFile, o as MemoryFrontmatter, b7 as MemoryObservation, b8 as MemoryScope, b9 as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, a5 as SecretRef, ba as WearableAuthCheck, bb as WearableFetchOptions, bc as WearableFetchPage, aI as WearableMemoryMode, aH as WearableNativeMemory, bd as WearableNativeMemoryPage, aM as WearableSourceStatus, aL as WearableSyncSummary, be as WearableTranscriptSegment, bf as isImportRole, bg as isRecallDisclosure, bh as parseIsoTimestamp, bi as validateImportTurn } from './types-D_fG2ix8.js';
26
27
  export { JudgeBatchResult, JudgeCandidate, JudgeVerdict, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
27
28
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
28
- import { F as EngramAccessService } from './access-service-DpcYZ9Nl.js';
29
- export { G as EngramAccessInputError, P as ProcedureStatsConfigSnapshot, H as ProcedureStatsRecent, I as ProcedureStatsReport, J as ProcedureStatusCounts, K as computeProcedureStats, L as formatProcedureStatsText } from './access-service-DpcYZ9Nl.js';
29
+ import { F as EngramAccessService } from './access-service-DEL4qCrc.js';
30
+ export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-DEL4qCrc.js';
30
31
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
31
32
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
32
33
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -34,13 +35,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
34
35
  export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
35
36
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
36
37
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
37
- export { Q as QmdClient } from './qmd-_MDSlj1m.js';
38
+ export { Q as QmdClient } from './qmd-oh9VXz1d.js';
38
39
  export { LanceDbBackend } from './search/lancedb-backend.js';
39
40
  export { OramaBackend } from './search/orama-backend.js';
40
41
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
41
42
  export { buildEntityRecallSection } from './entity-retrieval.js';
42
- export { resolvePrincipal } from './namespaces/principal.js';
43
- export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-C9444P10.js';
43
+ export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
44
+ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-BWqHb5HT.js';
44
45
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
45
46
  export { storagePathHash } from './storage-paths.js';
46
47
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
@@ -66,9 +67,10 @@ export { PageVersion, VersionHistory, VersionTrigger, VersioningConfig, Versioni
66
67
  export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance, formatOaiMemCitation, parseOaiMemCitation, sanitizeNoteForCitation } from './citations.js';
67
68
  export { initLogger, log } from './logger.js';
68
69
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
70
+ export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
69
71
  export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncFileContentChunk, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, globToRegExp, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
70
- import { D as DiscoveredExtension } from './semantic-consolidation-C2m5eHHE.js';
71
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-C2m5eHHE.js';
72
+ import { D as DiscoveredExtension } from './semantic-consolidation-DILZEQq3.js';
73
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DILZEQq3.js';
72
74
  export { ConnectorCapability, ConnectorInstance, ConnectorManifest, ConnectorRegistry, DoctorCheck, DoctorResult, InstallOptions, InstallResult, MARKETPLACE_MANIFEST_FILENAME, MARKETPLACE_SCHEMA_VERSION, MarketplaceConfig, MarketplaceEntry, MarketplaceInstallResult, MarketplaceInstallType, MarketplaceLogger, MarketplaceManifest, MarketplaceValidation, RemoveResult, checkMarketplaceManifest, coerceInstallExtension, doctorConnector, generateMarketplaceManifest, getConnectorToken, installConnector, installFromMarketplace, listConnectors, loadRegistry, removeConnector, saveRegistry, validateMarketplaceManifest, writeMarketplaceManifest } from './connectors/index.js';
73
75
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
74
76
  export { c as CONNECTOR_ID_PATTERN, C as ConnectorConfig, b as ConnectorCursor, a as ConnectorDocument, d as ConnectorDocumentSource, e as SyncIncrementalArgs, i as isValidConnectorId, p as persistableConnectorConfig, r as redactConnectorConfigSecrets } from './framework-CNDn2164.js';
@@ -83,8 +85,8 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
83
85
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
84
86
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
85
87
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
86
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-BAj5bx7g.js';
87
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-Cd5fMmhq.js';
88
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-Cn-kvYeV.js';
89
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-C_pqqTCw.js';
88
90
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
89
91
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
90
92
  export { ComputeMemoryWorthInput, MemoryWorthResult, computeMemoryWorth } from './memory-worth.js';
@@ -100,26 +102,30 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
100
102
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
101
103
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
102
104
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
105
+ export { ContinuityImprovementLoop } from './types-continuity.js';
106
+ export { EngramAccessInputError } from './access-errors.js';
103
107
  export { expandTildePath } from './utils/path.js';
108
+ export { normalizeAttributePairs } from './structured-attributes.js';
109
+ import './bounded-jsonl-state.js';
110
+ import './recall-state.js';
111
+ import './utils/serialize-mutations.js';
112
+ import './search/port.js';
104
113
  import './extraction-faithfulness.js';
105
114
  import './local-llm.js';
106
115
  import './resolve-provider-secret.js';
107
- import './search/port.js';
108
116
  import './transcript.js';
109
117
  import './session-integrity.js';
110
118
  import './summarizer.js';
111
119
  import './orchestration/maintenance.js';
112
120
  import './namespaces/search.js';
113
- import './recall-state.js';
114
- import './compounding/engine.js';
115
- import './shared-context/manager.js';
116
- import './capabilities.js';
117
121
  import './consolidation-operator.js';
118
122
  import './memory-projection-store.js';
119
123
  import './maintenance/memory-governance.js';
120
124
  import './runtime/better-sqlite.js';
121
125
  import 'better-sqlite3';
122
- import './structured-attributes.js';
126
+ import './compounding/engine.js';
127
+ import './shared-context/manager.js';
128
+ import './capabilities.js';
123
129
  import './utility-runtime.js';
124
130
  import './lifecycle.js';
125
131
  import './orchestration/compression-guideline-coordinator.js';
@@ -141,6 +147,7 @@ import './faiss-adapter-BHecI1fF.js';
141
147
  import './runtime/child-process.js';
142
148
  import './namespaces/storage.js';
143
149
  import './threading.js';
150
+ import './scope-profiles-EpJG7yKP.js';
144
151
  import './graph.js';
145
152
  import './relevance.js';
146
153
  import './negative.js';
@@ -156,10 +163,12 @@ import './policy-runtime.js';
156
163
  import './profiling.js';
157
164
  import './schemas.js';
158
165
  import './recall-explain-renderer.js';
166
+ import './access-citation.js';
159
167
  import './explicit-capture.js';
160
168
  import './graph-snapshot.js';
161
169
  import './transfer/capsule-export.js';
162
170
  import './capsule-cli.js';
171
+ import './qmd-status.js';
163
172
  import './search/embed-helper.js';
164
173
  import 'node:http';
165
174
  import './adapters/types.js';
@@ -169,10 +178,10 @@ import 'node:async_hooks';
169
178
  import 'node:stream';
170
179
  import './maintenance/migrate-observations.js';
171
180
  import './maintenance/rebuild-memory-projection.js';
172
- import './maintenance/rebuild-memory-lifecycle-ledger.js';
173
181
  import './maintenance/rebuild-observations.js';
174
182
  import './maintenance/archive-observations.js';
175
183
  import './replay/runner.js';
184
+ import './maintenance/rebuild-memory-lifecycle-ledger.js';
176
185
  import './work/types.js';
177
186
  import './routing/engine.js';
178
187
  import './network/tailscale.js';
@@ -852,15 +861,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
852
861
  locator: z.ZodOptional<z.ZodString>;
853
862
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
854
863
  }, "strict", z.ZodTypeAny, {
855
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
856
864
  id: string;
857
865
  label: string;
866
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
858
867
  capture: "at_action" | "historical_lookup" | "fixture";
859
868
  locator?: string | undefined;
860
869
  }, {
861
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
862
870
  id: string;
863
871
  label: string;
872
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
864
873
  capture: "at_action" | "historical_lookup" | "fixture";
865
874
  locator?: string | undefined;
866
875
  }>;
@@ -877,39 +886,39 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
877
886
  locator: z.ZodOptional<z.ZodString>;
878
887
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
879
888
  }, "strict", z.ZodTypeAny, {
880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
881
889
  id: string;
882
890
  label: string;
891
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
883
892
  capture: "at_action" | "historical_lookup" | "fixture";
884
893
  locator?: string | undefined;
885
894
  }, {
886
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
887
895
  id: string;
888
896
  label: string;
897
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
889
898
  capture: "at_action" | "historical_lookup" | "fixture";
890
899
  locator?: string | undefined;
891
900
  }>, "many">>;
892
901
  }, "strict", z.ZodTypeAny, {
893
902
  kind: "mission_started";
894
903
  title: string;
895
- objective: string;
896
- runMode: "replay" | "fixture" | "live";
897
904
  evidence: {
898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
899
905
  id: string;
900
906
  label: string;
907
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
901
908
  capture: "at_action" | "historical_lookup" | "fixture";
902
909
  locator?: string | undefined;
903
910
  }[];
911
+ objective: string;
912
+ runMode: "replay" | "fixture" | "live";
904
913
  }, {
905
914
  kind: "mission_started";
906
915
  title: string;
907
916
  objective: string;
908
917
  runMode: "replay" | "fixture" | "live";
909
918
  evidence?: {
910
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
911
919
  id: string;
912
920
  label: string;
921
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
913
922
  capture: "at_action" | "historical_lookup" | "fixture";
914
923
  locator?: string | undefined;
915
924
  }[] | undefined;
@@ -925,15 +934,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
925
934
  locator: z.ZodOptional<z.ZodString>;
926
935
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
927
936
  }, "strict", z.ZodTypeAny, {
928
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
929
937
  id: string;
930
938
  label: string;
939
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
931
940
  capture: "at_action" | "historical_lookup" | "fixture";
932
941
  locator?: string | undefined;
933
942
  }, {
934
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
935
943
  id: string;
936
944
  label: string;
945
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
937
946
  capture: "at_action" | "historical_lookup" | "fixture";
938
947
  locator?: string | undefined;
939
948
  }>, "many">>;
@@ -941,32 +950,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
941
950
  sessionId: z.ZodString;
942
951
  kind: z.ZodLiteral<"agent_status">;
943
952
  }, "strict", z.ZodTypeAny, {
953
+ label: string;
954
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
944
955
  kind: "agent_status";
945
956
  role: string;
946
- status: "failed" | "complete" | "working" | "blocked" | "idle";
947
- label: string;
948
957
  agentId: string;
949
958
  sessionId: string;
950
959
  evidence: {
951
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
952
960
  id: string;
953
961
  label: string;
962
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
954
963
  capture: "at_action" | "historical_lookup" | "fixture";
955
964
  locator?: string | undefined;
956
965
  }[];
957
966
  detail?: string | undefined;
958
967
  }, {
968
+ label: string;
969
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
959
970
  kind: "agent_status";
960
971
  role: string;
961
- status: "failed" | "complete" | "working" | "blocked" | "idle";
962
- label: string;
963
972
  agentId: string;
964
973
  sessionId: string;
965
974
  detail?: string | undefined;
966
975
  evidence?: {
967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
968
976
  id: string;
969
977
  label: string;
978
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
970
979
  capture: "at_action" | "historical_lookup" | "fixture";
971
980
  locator?: string | undefined;
972
981
  }[] | undefined;
@@ -980,15 +989,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
980
989
  locator: z.ZodOptional<z.ZodString>;
981
990
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
982
991
  }, "strict", z.ZodTypeAny, {
983
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
984
992
  id: string;
985
993
  label: string;
994
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
986
995
  capture: "at_action" | "historical_lookup" | "fixture";
987
996
  locator?: string | undefined;
988
997
  }, {
989
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
990
998
  id: string;
991
999
  label: string;
1000
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
992
1001
  capture: "at_action" | "historical_lookup" | "fixture";
993
1002
  locator?: string | undefined;
994
1003
  }>, "many">>;
@@ -996,28 +1005,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
996
1005
  sessionId: z.ZodString;
997
1006
  kind: z.ZodLiteral<"agent_output">;
998
1007
  }, "strict", z.ZodTypeAny, {
999
- kind: "agent_output";
1000
1008
  summary: string;
1009
+ kind: "agent_output";
1001
1010
  agentId: string;
1002
1011
  sessionId: string;
1003
1012
  evidence: {
1004
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1005
1013
  id: string;
1006
1014
  label: string;
1015
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1007
1016
  capture: "at_action" | "historical_lookup" | "fixture";
1008
1017
  locator?: string | undefined;
1009
1018
  }[];
1010
1019
  outputId: string;
1011
1020
  }, {
1012
- kind: "agent_output";
1013
1021
  summary: string;
1022
+ kind: "agent_output";
1014
1023
  agentId: string;
1015
1024
  sessionId: string;
1016
1025
  outputId: string;
1017
1026
  evidence?: {
1018
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1019
1027
  id: string;
1020
1028
  label: string;
1029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1021
1030
  capture: "at_action" | "historical_lookup" | "fixture";
1022
1031
  locator?: string | undefined;
1023
1032
  }[] | undefined;
@@ -1033,15 +1042,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1033
1042
  locator: z.ZodOptional<z.ZodString>;
1034
1043
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1035
1044
  }, "strict", z.ZodTypeAny, {
1036
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1037
1045
  id: string;
1038
1046
  label: string;
1047
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1039
1048
  capture: "at_action" | "historical_lookup" | "fixture";
1040
1049
  locator?: string | undefined;
1041
1050
  }, {
1042
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1043
1051
  id: string;
1044
1052
  label: string;
1053
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1045
1054
  capture: "at_action" | "historical_lookup" | "fixture";
1046
1055
  locator?: string | undefined;
1047
1056
  }>, "many">>;
@@ -1051,12 +1060,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1051
1060
  }, "strict", z.ZodTypeAny, {
1052
1061
  kind: "belief_observed";
1053
1062
  agentId: string;
1054
- sessionId: string;
1055
1063
  statement: string;
1064
+ sessionId: string;
1056
1065
  evidence: {
1057
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1058
1066
  id: string;
1059
1067
  label: string;
1068
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1060
1069
  capture: "at_action" | "historical_lookup" | "fixture";
1061
1070
  locator?: string | undefined;
1062
1071
  }[];
@@ -1066,15 +1075,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1066
1075
  }, {
1067
1076
  kind: "belief_observed";
1068
1077
  agentId: string;
1069
- sessionId: string;
1070
1078
  statement: string;
1079
+ sessionId: string;
1071
1080
  beliefId: string;
1072
1081
  decisionId: string;
1073
1082
  confidence?: number | undefined;
1074
1083
  evidence?: {
1075
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1076
1084
  id: string;
1077
1085
  label: string;
1086
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1078
1087
  capture: "at_action" | "historical_lookup" | "fixture";
1079
1088
  locator?: string | undefined;
1080
1089
  }[] | undefined;
@@ -1091,25 +1100,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1091
1100
  locator: z.ZodOptional<z.ZodString>;
1092
1101
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1093
1102
  }, "strict", z.ZodTypeAny, {
1094
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1095
1103
  id: string;
1096
1104
  label: string;
1105
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1097
1106
  capture: "at_action" | "historical_lookup" | "fixture";
1098
1107
  locator?: string | undefined;
1099
1108
  }, {
1100
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1101
1109
  id: string;
1102
1110
  label: string;
1111
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1103
1112
  capture: "at_action" | "historical_lookup" | "fixture";
1104
1113
  locator?: string | undefined;
1105
1114
  }>, "many">>;
1106
1115
  }, "strict", z.ZodTypeAny, {
1107
- kind: "conflict_detected";
1108
1116
  summary: string;
1117
+ kind: "conflict_detected";
1109
1118
  evidence: {
1110
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1111
1119
  id: string;
1112
1120
  label: string;
1121
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1113
1122
  capture: "at_action" | "historical_lookup" | "fixture";
1114
1123
  locator?: string | undefined;
1115
1124
  }[];
@@ -1117,15 +1126,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1117
1126
  decisionIds: string[];
1118
1127
  agentIds: string[];
1119
1128
  }, {
1120
- kind: "conflict_detected";
1121
1129
  summary: string;
1130
+ kind: "conflict_detected";
1122
1131
  conflictId: string;
1123
1132
  decisionIds: string[];
1124
1133
  agentIds: string[];
1125
1134
  evidence?: {
1126
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1127
1135
  id: string;
1128
1136
  label: string;
1137
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1129
1138
  capture: "at_action" | "historical_lookup" | "fixture";
1130
1139
  locator?: string | undefined;
1131
1140
  }[] | undefined;
@@ -1145,27 +1154,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1145
1154
  locator: z.ZodOptional<z.ZodString>;
1146
1155
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1147
1156
  }, "strict", z.ZodTypeAny, {
1148
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1149
1157
  id: string;
1150
1158
  label: string;
1159
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1151
1160
  capture: "at_action" | "historical_lookup" | "fixture";
1152
1161
  locator?: string | undefined;
1153
1162
  }, {
1154
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1155
1163
  id: string;
1156
1164
  label: string;
1165
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1157
1166
  capture: "at_action" | "historical_lookup" | "fixture";
1158
1167
  locator?: string | undefined;
1159
1168
  }>, "many">>;
1160
1169
  }, "strict", z.ZodTypeAny, {
1161
- kind: "test_result";
1162
1170
  summary: string;
1163
- command: string;
1164
1171
  status: "error" | "failed" | "passed";
1172
+ kind: "test_result";
1173
+ command: string;
1165
1174
  evidence: {
1166
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1167
1175
  id: string;
1168
1176
  label: string;
1177
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1169
1178
  capture: "at_action" | "historical_lookup" | "fixture";
1170
1179
  locator?: string | undefined;
1171
1180
  }[];
@@ -1174,17 +1183,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1174
1183
  durationMs?: number | undefined;
1175
1184
  correctionId?: string | undefined;
1176
1185
  }, {
1177
- kind: "test_result";
1178
1186
  summary: string;
1179
- command: string;
1180
1187
  status: "error" | "failed" | "passed";
1188
+ kind: "test_result";
1189
+ command: string;
1181
1190
  decisionId: string;
1182
1191
  testId: string;
1183
1192
  durationMs?: number | undefined;
1184
1193
  evidence?: {
1185
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1186
1194
  id: string;
1187
1195
  label: string;
1196
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1188
1197
  capture: "at_action" | "historical_lookup" | "fixture";
1189
1198
  locator?: string | undefined;
1190
1199
  }[] | undefined;
@@ -1205,15 +1214,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1205
1214
  locator: z.ZodOptional<z.ZodString>;
1206
1215
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1207
1216
  }, "strict", z.ZodTypeAny, {
1208
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1209
1217
  id: string;
1210
1218
  label: string;
1219
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1211
1220
  capture: "at_action" | "historical_lookup" | "fixture";
1212
1221
  locator?: string | undefined;
1213
1222
  }, {
1214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1215
1223
  id: string;
1216
1224
  label: string;
1225
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1217
1226
  capture: "at_action" | "historical_lookup" | "fixture";
1218
1227
  locator?: string | undefined;
1219
1228
  }>, "many">>;
@@ -1222,9 +1231,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1222
1231
  rationale: string;
1223
1232
  statement: string;
1224
1233
  evidence: {
1225
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1226
1234
  id: string;
1227
1235
  label: string;
1236
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1228
1237
  capture: "at_action" | "historical_lookup" | "fixture";
1229
1238
  locator?: string | undefined;
1230
1239
  }[];
@@ -1243,9 +1252,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1243
1252
  supersedesDecisionIds: string[];
1244
1253
  proposedBy: string;
1245
1254
  evidence?: {
1246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
1255
  id: string;
1248
1256
  label: string;
1257
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1249
1258
  capture: "at_action" | "historical_lookup" | "fixture";
1250
1259
  locator?: string | undefined;
1251
1260
  }[] | undefined;
@@ -1257,13 +1266,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1257
1266
  id: z.ZodString;
1258
1267
  label: z.ZodString;
1259
1268
  }, "strict", z.ZodTypeAny, {
1260
- kind: "agent" | "human";
1261
1269
  id: string;
1262
1270
  label: string;
1263
- }, {
1264
1271
  kind: "agent" | "human";
1272
+ }, {
1265
1273
  id: string;
1266
1274
  label: string;
1275
+ kind: "agent" | "human";
1267
1276
  }>;
1268
1277
  note: z.ZodOptional<z.ZodString>;
1269
1278
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1273,47 +1282,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1273
1282
  locator: z.ZodOptional<z.ZodString>;
1274
1283
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1275
1284
  }, "strict", z.ZodTypeAny, {
1276
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1277
1285
  id: string;
1278
1286
  label: string;
1287
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1279
1288
  capture: "at_action" | "historical_lookup" | "fixture";
1280
1289
  locator?: string | undefined;
1281
1290
  }, {
1282
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1283
1291
  id: string;
1284
1292
  label: string;
1293
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1285
1294
  capture: "at_action" | "historical_lookup" | "fixture";
1286
1295
  locator?: string | undefined;
1287
1296
  }>, "many">>;
1288
1297
  }, "strict", z.ZodTypeAny, {
1289
1298
  kind: "correction_approved";
1290
1299
  evidence: {
1291
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1292
1300
  id: string;
1293
1301
  label: string;
1302
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1294
1303
  capture: "at_action" | "historical_lookup" | "fixture";
1295
1304
  locator?: string | undefined;
1296
1305
  }[];
1297
1306
  correctionId: string;
1298
1307
  approvedBy: {
1299
- kind: "agent" | "human";
1300
1308
  id: string;
1301
1309
  label: string;
1310
+ kind: "agent" | "human";
1302
1311
  };
1303
1312
  note?: string | undefined;
1304
1313
  }, {
1305
1314
  kind: "correction_approved";
1306
1315
  correctionId: string;
1307
1316
  approvedBy: {
1308
- kind: "agent" | "human";
1309
1317
  id: string;
1310
1318
  label: string;
1319
+ kind: "agent" | "human";
1311
1320
  };
1312
1321
  note?: string | undefined;
1313
1322
  evidence?: {
1314
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1315
1323
  id: string;
1316
1324
  label: string;
1325
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1317
1326
  capture: "at_action" | "historical_lookup" | "fixture";
1318
1327
  locator?: string | undefined;
1319
1328
  }[] | undefined;
@@ -1329,24 +1338,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1329
1338
  locator: z.ZodOptional<z.ZodString>;
1330
1339
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1331
1340
  }, "strict", z.ZodTypeAny, {
1332
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1333
1341
  id: string;
1334
1342
  label: string;
1343
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1335
1344
  capture: "at_action" | "historical_lookup" | "fixture";
1336
1345
  locator?: string | undefined;
1337
1346
  }, {
1338
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1339
1347
  id: string;
1340
1348
  label: string;
1349
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1341
1350
  capture: "at_action" | "historical_lookup" | "fixture";
1342
1351
  locator?: string | undefined;
1343
1352
  }>, "many">>;
1344
1353
  }, "strict", z.ZodTypeAny, {
1345
1354
  kind: "decision_superseded";
1346
1355
  evidence: {
1347
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1348
1356
  id: string;
1349
1357
  label: string;
1358
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1350
1359
  capture: "at_action" | "historical_lookup" | "fixture";
1351
1360
  locator?: string | undefined;
1352
1361
  }[];
@@ -1359,9 +1368,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1359
1368
  correctionId: string;
1360
1369
  replacementDecisionId: string;
1361
1370
  evidence?: {
1362
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1371
  id: string;
1364
1372
  label: string;
1373
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1365
1374
  capture: "at_action" | "historical_lookup" | "fixture";
1366
1375
  locator?: string | undefined;
1367
1376
  }[] | undefined;
@@ -1377,15 +1386,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1377
1386
  locator: z.ZodOptional<z.ZodString>;
1378
1387
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1379
1388
  }, "strict", z.ZodTypeAny, {
1380
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
1389
  id: string;
1382
1390
  label: string;
1391
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1383
1392
  capture: "at_action" | "historical_lookup" | "fixture";
1384
1393
  locator?: string | undefined;
1385
1394
  }, {
1386
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1387
1395
  id: string;
1388
1396
  label: string;
1397
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1389
1398
  capture: "at_action" | "historical_lookup" | "fixture";
1390
1399
  locator?: string | undefined;
1391
1400
  }>, "many">>;
@@ -1398,9 +1407,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1398
1407
  agentId: string;
1399
1408
  sessionId: string;
1400
1409
  evidence: {
1401
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1402
1410
  id: string;
1403
1411
  label: string;
1412
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1404
1413
  capture: "at_action" | "historical_lookup" | "fixture";
1405
1414
  locator?: string | undefined;
1406
1415
  }[];
@@ -1416,9 +1425,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1416
1425
  recallReceiptId: string;
1417
1426
  capturedAtAction: boolean;
1418
1427
  evidence?: {
1419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1420
1428
  id: string;
1421
1429
  label: string;
1430
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1431
  capture: "at_action" | "historical_lookup" | "fixture";
1423
1432
  locator?: string | undefined;
1424
1433
  }[] | undefined;
@@ -1434,15 +1443,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1434
1443
  locator: z.ZodOptional<z.ZodString>;
1435
1444
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1436
1445
  }, "strict", z.ZodTypeAny, {
1437
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1438
1446
  id: string;
1439
1447
  label: string;
1448
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1440
1449
  capture: "at_action" | "historical_lookup" | "fixture";
1441
1450
  locator?: string | undefined;
1442
1451
  }, {
1443
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1444
1452
  id: string;
1445
1453
  label: string;
1454
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1446
1455
  capture: "at_action" | "historical_lookup" | "fixture";
1447
1456
  locator?: string | undefined;
1448
1457
  }>, "many">>;
@@ -1454,9 +1463,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1454
1463
  agentId: string;
1455
1464
  sessionId: string;
1456
1465
  evidence: {
1457
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1458
1466
  id: string;
1459
1467
  label: string;
1468
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1460
1469
  capture: "at_action" | "historical_lookup" | "fixture";
1461
1470
  locator?: string | undefined;
1462
1471
  }[];
@@ -1473,9 +1482,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1473
1482
  recallReceiptId: string;
1474
1483
  staleDecisionAbsent: boolean;
1475
1484
  evidence?: {
1476
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1477
1485
  id: string;
1478
1486
  label: string;
1487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
1488
  capture: "at_action" | "historical_lookup" | "fixture";
1480
1489
  locator?: string | undefined;
1481
1490
  }[] | undefined;
@@ -1490,76 +1499,76 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1490
1499
  locator: z.ZodOptional<z.ZodString>;
1491
1500
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1492
1501
  }, "strict", z.ZodTypeAny, {
1493
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1494
1502
  id: string;
1495
1503
  label: string;
1504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1496
1505
  capture: "at_action" | "historical_lookup" | "fixture";
1497
1506
  locator?: string | undefined;
1498
1507
  }, {
1499
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1500
1508
  id: string;
1501
1509
  label: string;
1510
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1502
1511
  capture: "at_action" | "historical_lookup" | "fixture";
1503
1512
  locator?: string | undefined;
1504
1513
  }>, "many">>;
1505
1514
  }, "strict", z.ZodTypeAny, {
1506
- kind: "mission_completed";
1507
1515
  summary: string;
1516
+ kind: "mission_completed";
1508
1517
  outcome: "failed" | "recovered" | "inconclusive";
1509
1518
  evidence: {
1510
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1511
1519
  id: string;
1512
1520
  label: string;
1521
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1513
1522
  capture: "at_action" | "historical_lookup" | "fixture";
1514
1523
  locator?: string | undefined;
1515
1524
  }[];
1516
1525
  }, {
1517
- kind: "mission_completed";
1518
1526
  summary: string;
1527
+ kind: "mission_completed";
1519
1528
  outcome: "failed" | "recovered" | "inconclusive";
1520
1529
  evidence?: {
1521
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1522
1530
  id: string;
1523
1531
  label: string;
1532
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1524
1533
  capture: "at_action" | "historical_lookup" | "fixture";
1525
1534
  locator?: string | undefined;
1526
1535
  }[] | undefined;
1527
1536
  }>]>, {
1528
1537
  kind: "mission_started";
1529
1538
  title: string;
1530
- objective: string;
1531
- runMode: "replay" | "fixture" | "live";
1532
1539
  evidence: {
1533
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1540
  id: string;
1535
1541
  label: string;
1542
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
1543
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1544
  locator?: string | undefined;
1538
1545
  }[];
1546
+ objective: string;
1547
+ runMode: "replay" | "fixture" | "live";
1539
1548
  } | {
1549
+ label: string;
1550
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1540
1551
  kind: "agent_status";
1541
1552
  role: string;
1542
- status: "failed" | "complete" | "working" | "blocked" | "idle";
1543
- label: string;
1544
1553
  agentId: string;
1545
1554
  sessionId: string;
1546
1555
  evidence: {
1547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1548
1556
  id: string;
1549
1557
  label: string;
1558
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1550
1559
  capture: "at_action" | "historical_lookup" | "fixture";
1551
1560
  locator?: string | undefined;
1552
1561
  }[];
1553
1562
  detail?: string | undefined;
1554
1563
  } | {
1555
- kind: "agent_output";
1556
1564
  summary: string;
1565
+ kind: "agent_output";
1557
1566
  agentId: string;
1558
1567
  sessionId: string;
1559
1568
  evidence: {
1560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1561
1569
  id: string;
1562
1570
  label: string;
1571
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1563
1572
  capture: "at_action" | "historical_lookup" | "fixture";
1564
1573
  locator?: string | undefined;
1565
1574
  }[];
@@ -1567,12 +1576,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1567
1576
  } | {
1568
1577
  kind: "belief_observed";
1569
1578
  agentId: string;
1570
- sessionId: string;
1571
1579
  statement: string;
1580
+ sessionId: string;
1572
1581
  evidence: {
1573
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1574
1582
  id: string;
1575
1583
  label: string;
1584
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1576
1585
  capture: "at_action" | "historical_lookup" | "fixture";
1577
1586
  locator?: string | undefined;
1578
1587
  }[];
@@ -1580,12 +1589,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1580
1589
  decisionId: string;
1581
1590
  confidence?: number | undefined;
1582
1591
  } | {
1583
- kind: "conflict_detected";
1584
1592
  summary: string;
1593
+ kind: "conflict_detected";
1585
1594
  evidence: {
1586
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1587
1595
  id: string;
1588
1596
  label: string;
1597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1589
1598
  capture: "at_action" | "historical_lookup" | "fixture";
1590
1599
  locator?: string | undefined;
1591
1600
  }[];
@@ -1593,14 +1602,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1593
1602
  decisionIds: string[];
1594
1603
  agentIds: string[];
1595
1604
  } | {
1596
- kind: "test_result";
1597
1605
  summary: string;
1598
- command: string;
1599
1606
  status: "error" | "failed" | "passed";
1607
+ kind: "test_result";
1608
+ command: string;
1600
1609
  evidence: {
1601
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1602
1610
  id: string;
1603
1611
  label: string;
1612
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1604
1613
  capture: "at_action" | "historical_lookup" | "fixture";
1605
1614
  locator?: string | undefined;
1606
1615
  }[];
@@ -1613,9 +1622,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1613
1622
  rationale: string;
1614
1623
  statement: string;
1615
1624
  evidence: {
1616
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1617
1625
  id: string;
1618
1626
  label: string;
1627
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1619
1628
  capture: "at_action" | "historical_lookup" | "fixture";
1620
1629
  locator?: string | undefined;
1621
1630
  }[];
@@ -1627,25 +1636,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1627
1636
  } | {
1628
1637
  kind: "correction_approved";
1629
1638
  evidence: {
1630
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1631
1639
  id: string;
1632
1640
  label: string;
1641
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1633
1642
  capture: "at_action" | "historical_lookup" | "fixture";
1634
1643
  locator?: string | undefined;
1635
1644
  }[];
1636
1645
  correctionId: string;
1637
1646
  approvedBy: {
1638
- kind: "agent" | "human";
1639
1647
  id: string;
1640
1648
  label: string;
1649
+ kind: "agent" | "human";
1641
1650
  };
1642
1651
  note?: string | undefined;
1643
1652
  } | {
1644
1653
  kind: "decision_superseded";
1645
1654
  evidence: {
1646
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1647
1655
  id: string;
1648
1656
  label: string;
1657
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1649
1658
  capture: "at_action" | "historical_lookup" | "fixture";
1650
1659
  locator?: string | undefined;
1651
1660
  }[];
@@ -1658,9 +1667,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1658
1667
  agentId: string;
1659
1668
  sessionId: string;
1660
1669
  evidence: {
1661
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
1670
  id: string;
1663
1671
  label: string;
1672
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1664
1673
  capture: "at_action" | "historical_lookup" | "fixture";
1665
1674
  locator?: string | undefined;
1666
1675
  }[];
@@ -1672,9 +1681,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1672
1681
  agentId: string;
1673
1682
  sessionId: string;
1674
1683
  evidence: {
1675
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1676
1684
  id: string;
1677
1685
  label: string;
1686
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1678
1687
  capture: "at_action" | "historical_lookup" | "fixture";
1679
1688
  locator?: string | undefined;
1680
1689
  }[];
@@ -1683,13 +1692,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1683
1692
  recallReceiptId: string;
1684
1693
  staleDecisionAbsent: boolean;
1685
1694
  } | {
1686
- kind: "mission_completed";
1687
1695
  summary: string;
1696
+ kind: "mission_completed";
1688
1697
  outcome: "failed" | "recovered" | "inconclusive";
1689
1698
  evidence: {
1690
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1691
1699
  id: string;
1692
1700
  label: string;
1701
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1693
1702
  capture: "at_action" | "historical_lookup" | "fixture";
1694
1703
  locator?: string | undefined;
1695
1704
  }[];
@@ -1699,80 +1708,80 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1699
1708
  objective: string;
1700
1709
  runMode: "replay" | "fixture" | "live";
1701
1710
  evidence?: {
1702
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1703
1711
  id: string;
1704
1712
  label: string;
1713
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1705
1714
  capture: "at_action" | "historical_lookup" | "fixture";
1706
1715
  locator?: string | undefined;
1707
1716
  }[] | undefined;
1708
1717
  } | {
1718
+ label: string;
1719
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1709
1720
  kind: "agent_status";
1710
1721
  role: string;
1711
- status: "failed" | "complete" | "working" | "blocked" | "idle";
1712
- label: string;
1713
1722
  agentId: string;
1714
1723
  sessionId: string;
1715
1724
  detail?: string | undefined;
1716
1725
  evidence?: {
1717
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
1726
  id: string;
1719
1727
  label: string;
1728
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1720
1729
  capture: "at_action" | "historical_lookup" | "fixture";
1721
1730
  locator?: string | undefined;
1722
1731
  }[] | undefined;
1723
1732
  } | {
1724
- kind: "agent_output";
1725
1733
  summary: string;
1734
+ kind: "agent_output";
1726
1735
  agentId: string;
1727
1736
  sessionId: string;
1728
1737
  outputId: string;
1729
1738
  evidence?: {
1730
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
1739
  id: string;
1732
1740
  label: string;
1741
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1733
1742
  capture: "at_action" | "historical_lookup" | "fixture";
1734
1743
  locator?: string | undefined;
1735
1744
  }[] | undefined;
1736
1745
  } | {
1737
1746
  kind: "belief_observed";
1738
1747
  agentId: string;
1739
- sessionId: string;
1740
1748
  statement: string;
1749
+ sessionId: string;
1741
1750
  beliefId: string;
1742
1751
  decisionId: string;
1743
1752
  confidence?: number | undefined;
1744
1753
  evidence?: {
1745
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1746
1754
  id: string;
1747
1755
  label: string;
1756
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1748
1757
  capture: "at_action" | "historical_lookup" | "fixture";
1749
1758
  locator?: string | undefined;
1750
1759
  }[] | undefined;
1751
1760
  } | {
1752
- kind: "conflict_detected";
1753
1761
  summary: string;
1762
+ kind: "conflict_detected";
1754
1763
  conflictId: string;
1755
1764
  decisionIds: string[];
1756
1765
  agentIds: string[];
1757
1766
  evidence?: {
1758
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1759
1767
  id: string;
1760
1768
  label: string;
1769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1761
1770
  capture: "at_action" | "historical_lookup" | "fixture";
1762
1771
  locator?: string | undefined;
1763
1772
  }[] | undefined;
1764
1773
  } | {
1765
- kind: "test_result";
1766
1774
  summary: string;
1767
- command: string;
1768
1775
  status: "error" | "failed" | "passed";
1776
+ kind: "test_result";
1777
+ command: string;
1769
1778
  decisionId: string;
1770
1779
  testId: string;
1771
1780
  durationMs?: number | undefined;
1772
1781
  evidence?: {
1773
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1774
1782
  id: string;
1775
1783
  label: string;
1784
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1776
1785
  capture: "at_action" | "historical_lookup" | "fixture";
1777
1786
  locator?: string | undefined;
1778
1787
  }[] | undefined;
@@ -1787,9 +1796,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1787
1796
  supersedesDecisionIds: string[];
1788
1797
  proposedBy: string;
1789
1798
  evidence?: {
1790
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1791
1799
  id: string;
1792
1800
  label: string;
1801
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1793
1802
  capture: "at_action" | "historical_lookup" | "fixture";
1794
1803
  locator?: string | undefined;
1795
1804
  }[] | undefined;
@@ -1797,15 +1806,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1797
1806
  kind: "correction_approved";
1798
1807
  correctionId: string;
1799
1808
  approvedBy: {
1800
- kind: "agent" | "human";
1801
1809
  id: string;
1802
1810
  label: string;
1811
+ kind: "agent" | "human";
1803
1812
  };
1804
1813
  note?: string | undefined;
1805
1814
  evidence?: {
1806
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1807
1815
  id: string;
1808
1816
  label: string;
1817
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1809
1818
  capture: "at_action" | "historical_lookup" | "fixture";
1810
1819
  locator?: string | undefined;
1811
1820
  }[] | undefined;
@@ -1815,9 +1824,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1815
1824
  correctionId: string;
1816
1825
  replacementDecisionId: string;
1817
1826
  evidence?: {
1818
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1819
1827
  id: string;
1820
1828
  label: string;
1829
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
1830
  capture: "at_action" | "historical_lookup" | "fixture";
1822
1831
  locator?: string | undefined;
1823
1832
  }[] | undefined;
@@ -1830,9 +1839,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1830
1839
  recallReceiptId: string;
1831
1840
  capturedAtAction: boolean;
1832
1841
  evidence?: {
1833
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1834
1842
  id: string;
1835
1843
  label: string;
1844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1836
1845
  capture: "at_action" | "historical_lookup" | "fixture";
1837
1846
  locator?: string | undefined;
1838
1847
  }[] | undefined;
@@ -1845,20 +1854,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1845
1854
  recallReceiptId: string;
1846
1855
  staleDecisionAbsent: boolean;
1847
1856
  evidence?: {
1848
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1849
1857
  id: string;
1850
1858
  label: string;
1859
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1851
1860
  capture: "at_action" | "historical_lookup" | "fixture";
1852
1861
  locator?: string | undefined;
1853
1862
  }[] | undefined;
1854
1863
  } | {
1855
- kind: "mission_completed";
1856
1864
  summary: string;
1865
+ kind: "mission_completed";
1857
1866
  outcome: "failed" | "recovered" | "inconclusive";
1858
1867
  evidence?: {
1859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1860
1868
  id: string;
1861
1869
  label: string;
1870
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1862
1871
  capture: "at_action" | "historical_lookup" | "fixture";
1863
1872
  locator?: string | undefined;
1864
1873
  }[] | undefined;
@@ -1879,39 +1888,39 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1879
1888
  locator: z.ZodOptional<z.ZodString>;
1880
1889
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1881
1890
  }, "strict", z.ZodTypeAny, {
1882
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1883
1891
  id: string;
1884
1892
  label: string;
1893
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
1894
  capture: "at_action" | "historical_lookup" | "fixture";
1886
1895
  locator?: string | undefined;
1887
1896
  }, {
1888
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1889
1897
  id: string;
1890
1898
  label: string;
1899
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1891
1900
  capture: "at_action" | "historical_lookup" | "fixture";
1892
1901
  locator?: string | undefined;
1893
1902
  }>, "many">>;
1894
1903
  }, "strict", z.ZodTypeAny, {
1895
1904
  kind: "mission_started";
1896
1905
  title: string;
1897
- objective: string;
1898
- runMode: "replay" | "fixture" | "live";
1899
1906
  evidence: {
1900
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1901
1907
  id: string;
1902
1908
  label: string;
1909
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1903
1910
  capture: "at_action" | "historical_lookup" | "fixture";
1904
1911
  locator?: string | undefined;
1905
1912
  }[];
1913
+ objective: string;
1914
+ runMode: "replay" | "fixture" | "live";
1906
1915
  }, {
1907
1916
  kind: "mission_started";
1908
1917
  title: string;
1909
1918
  objective: string;
1910
1919
  runMode: "replay" | "fixture" | "live";
1911
1920
  evidence?: {
1912
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1913
1921
  id: string;
1914
1922
  label: string;
1923
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
1924
  capture: "at_action" | "historical_lookup" | "fixture";
1916
1925
  locator?: string | undefined;
1917
1926
  }[] | undefined;
@@ -1927,15 +1936,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1927
1936
  locator: z.ZodOptional<z.ZodString>;
1928
1937
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1929
1938
  }, "strict", z.ZodTypeAny, {
1930
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
1939
  id: string;
1932
1940
  label: string;
1941
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1933
1942
  capture: "at_action" | "historical_lookup" | "fixture";
1934
1943
  locator?: string | undefined;
1935
1944
  }, {
1936
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1937
1945
  id: string;
1938
1946
  label: string;
1947
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1939
1948
  capture: "at_action" | "historical_lookup" | "fixture";
1940
1949
  locator?: string | undefined;
1941
1950
  }>, "many">>;
@@ -1943,32 +1952,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1943
1952
  sessionId: z.ZodString;
1944
1953
  kind: z.ZodLiteral<"agent_status">;
1945
1954
  }, "strict", z.ZodTypeAny, {
1955
+ label: string;
1956
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1946
1957
  kind: "agent_status";
1947
1958
  role: string;
1948
- status: "failed" | "complete" | "working" | "blocked" | "idle";
1949
- label: string;
1950
1959
  agentId: string;
1951
1960
  sessionId: string;
1952
1961
  evidence: {
1953
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1954
1962
  id: string;
1955
1963
  label: string;
1964
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1956
1965
  capture: "at_action" | "historical_lookup" | "fixture";
1957
1966
  locator?: string | undefined;
1958
1967
  }[];
1959
1968
  detail?: string | undefined;
1960
1969
  }, {
1970
+ label: string;
1971
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1961
1972
  kind: "agent_status";
1962
1973
  role: string;
1963
- status: "failed" | "complete" | "working" | "blocked" | "idle";
1964
- label: string;
1965
1974
  agentId: string;
1966
1975
  sessionId: string;
1967
1976
  detail?: string | undefined;
1968
1977
  evidence?: {
1969
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1970
1978
  id: string;
1971
1979
  label: string;
1980
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1972
1981
  capture: "at_action" | "historical_lookup" | "fixture";
1973
1982
  locator?: string | undefined;
1974
1983
  }[] | undefined;
@@ -1982,15 +1991,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1982
1991
  locator: z.ZodOptional<z.ZodString>;
1983
1992
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1984
1993
  }, "strict", z.ZodTypeAny, {
1985
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1986
1994
  id: string;
1987
1995
  label: string;
1996
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1988
1997
  capture: "at_action" | "historical_lookup" | "fixture";
1989
1998
  locator?: string | undefined;
1990
1999
  }, {
1991
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1992
2000
  id: string;
1993
2001
  label: string;
2002
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1994
2003
  capture: "at_action" | "historical_lookup" | "fixture";
1995
2004
  locator?: string | undefined;
1996
2005
  }>, "many">>;
@@ -1998,28 +2007,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1998
2007
  sessionId: z.ZodString;
1999
2008
  kind: z.ZodLiteral<"agent_output">;
2000
2009
  }, "strict", z.ZodTypeAny, {
2001
- kind: "agent_output";
2002
2010
  summary: string;
2011
+ kind: "agent_output";
2003
2012
  agentId: string;
2004
2013
  sessionId: string;
2005
2014
  evidence: {
2006
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2007
2015
  id: string;
2008
2016
  label: string;
2017
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2009
2018
  capture: "at_action" | "historical_lookup" | "fixture";
2010
2019
  locator?: string | undefined;
2011
2020
  }[];
2012
2021
  outputId: string;
2013
2022
  }, {
2014
- kind: "agent_output";
2015
2023
  summary: string;
2024
+ kind: "agent_output";
2016
2025
  agentId: string;
2017
2026
  sessionId: string;
2018
2027
  outputId: string;
2019
2028
  evidence?: {
2020
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2021
2029
  id: string;
2022
2030
  label: string;
2031
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2023
2032
  capture: "at_action" | "historical_lookup" | "fixture";
2024
2033
  locator?: string | undefined;
2025
2034
  }[] | undefined;
@@ -2035,15 +2044,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2035
2044
  locator: z.ZodOptional<z.ZodString>;
2036
2045
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2037
2046
  }, "strict", z.ZodTypeAny, {
2038
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2039
2047
  id: string;
2040
2048
  label: string;
2049
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2041
2050
  capture: "at_action" | "historical_lookup" | "fixture";
2042
2051
  locator?: string | undefined;
2043
2052
  }, {
2044
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
2053
  id: string;
2046
2054
  label: string;
2055
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2047
2056
  capture: "at_action" | "historical_lookup" | "fixture";
2048
2057
  locator?: string | undefined;
2049
2058
  }>, "many">>;
@@ -2053,12 +2062,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2053
2062
  }, "strict", z.ZodTypeAny, {
2054
2063
  kind: "belief_observed";
2055
2064
  agentId: string;
2056
- sessionId: string;
2057
2065
  statement: string;
2066
+ sessionId: string;
2058
2067
  evidence: {
2059
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2060
2068
  id: string;
2061
2069
  label: string;
2070
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2062
2071
  capture: "at_action" | "historical_lookup" | "fixture";
2063
2072
  locator?: string | undefined;
2064
2073
  }[];
@@ -2068,15 +2077,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2068
2077
  }, {
2069
2078
  kind: "belief_observed";
2070
2079
  agentId: string;
2071
- sessionId: string;
2072
2080
  statement: string;
2081
+ sessionId: string;
2073
2082
  beliefId: string;
2074
2083
  decisionId: string;
2075
2084
  confidence?: number | undefined;
2076
2085
  evidence?: {
2077
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2078
2086
  id: string;
2079
2087
  label: string;
2088
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2080
2089
  capture: "at_action" | "historical_lookup" | "fixture";
2081
2090
  locator?: string | undefined;
2082
2091
  }[] | undefined;
@@ -2093,25 +2102,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2093
2102
  locator: z.ZodOptional<z.ZodString>;
2094
2103
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2095
2104
  }, "strict", z.ZodTypeAny, {
2096
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2097
2105
  id: string;
2098
2106
  label: string;
2107
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2099
2108
  capture: "at_action" | "historical_lookup" | "fixture";
2100
2109
  locator?: string | undefined;
2101
2110
  }, {
2102
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
2111
  id: string;
2104
2112
  label: string;
2113
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
2114
  capture: "at_action" | "historical_lookup" | "fixture";
2106
2115
  locator?: string | undefined;
2107
2116
  }>, "many">>;
2108
2117
  }, "strict", z.ZodTypeAny, {
2109
- kind: "conflict_detected";
2110
2118
  summary: string;
2119
+ kind: "conflict_detected";
2111
2120
  evidence: {
2112
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2113
2121
  id: string;
2114
2122
  label: string;
2123
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2115
2124
  capture: "at_action" | "historical_lookup" | "fixture";
2116
2125
  locator?: string | undefined;
2117
2126
  }[];
@@ -2119,15 +2128,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2119
2128
  decisionIds: string[];
2120
2129
  agentIds: string[];
2121
2130
  }, {
2122
- kind: "conflict_detected";
2123
2131
  summary: string;
2132
+ kind: "conflict_detected";
2124
2133
  conflictId: string;
2125
2134
  decisionIds: string[];
2126
2135
  agentIds: string[];
2127
2136
  evidence?: {
2128
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2129
2137
  id: string;
2130
2138
  label: string;
2139
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2131
2140
  capture: "at_action" | "historical_lookup" | "fixture";
2132
2141
  locator?: string | undefined;
2133
2142
  }[] | undefined;
@@ -2147,27 +2156,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2147
2156
  locator: z.ZodOptional<z.ZodString>;
2148
2157
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2149
2158
  }, "strict", z.ZodTypeAny, {
2150
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2151
2159
  id: string;
2152
2160
  label: string;
2161
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2153
2162
  capture: "at_action" | "historical_lookup" | "fixture";
2154
2163
  locator?: string | undefined;
2155
2164
  }, {
2156
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2157
2165
  id: string;
2158
2166
  label: string;
2167
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2159
2168
  capture: "at_action" | "historical_lookup" | "fixture";
2160
2169
  locator?: string | undefined;
2161
2170
  }>, "many">>;
2162
2171
  }, "strict", z.ZodTypeAny, {
2163
- kind: "test_result";
2164
2172
  summary: string;
2165
- command: string;
2166
2173
  status: "error" | "failed" | "passed";
2174
+ kind: "test_result";
2175
+ command: string;
2167
2176
  evidence: {
2168
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2169
2177
  id: string;
2170
2178
  label: string;
2179
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2171
2180
  capture: "at_action" | "historical_lookup" | "fixture";
2172
2181
  locator?: string | undefined;
2173
2182
  }[];
@@ -2176,17 +2185,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2176
2185
  durationMs?: number | undefined;
2177
2186
  correctionId?: string | undefined;
2178
2187
  }, {
2179
- kind: "test_result";
2180
2188
  summary: string;
2181
- command: string;
2182
2189
  status: "error" | "failed" | "passed";
2190
+ kind: "test_result";
2191
+ command: string;
2183
2192
  decisionId: string;
2184
2193
  testId: string;
2185
2194
  durationMs?: number | undefined;
2186
2195
  evidence?: {
2187
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2188
2196
  id: string;
2189
2197
  label: string;
2198
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2190
2199
  capture: "at_action" | "historical_lookup" | "fixture";
2191
2200
  locator?: string | undefined;
2192
2201
  }[] | undefined;
@@ -2207,15 +2216,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2207
2216
  locator: z.ZodOptional<z.ZodString>;
2208
2217
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2209
2218
  }, "strict", z.ZodTypeAny, {
2210
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2211
2219
  id: string;
2212
2220
  label: string;
2221
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
2222
  capture: "at_action" | "historical_lookup" | "fixture";
2214
2223
  locator?: string | undefined;
2215
2224
  }, {
2216
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2217
2225
  id: string;
2218
2226
  label: string;
2227
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2219
2228
  capture: "at_action" | "historical_lookup" | "fixture";
2220
2229
  locator?: string | undefined;
2221
2230
  }>, "many">>;
@@ -2224,9 +2233,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2224
2233
  rationale: string;
2225
2234
  statement: string;
2226
2235
  evidence: {
2227
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
2236
  id: string;
2229
2237
  label: string;
2238
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2230
2239
  capture: "at_action" | "historical_lookup" | "fixture";
2231
2240
  locator?: string | undefined;
2232
2241
  }[];
@@ -2245,9 +2254,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2245
2254
  supersedesDecisionIds: string[];
2246
2255
  proposedBy: string;
2247
2256
  evidence?: {
2248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2249
2257
  id: string;
2250
2258
  label: string;
2259
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2251
2260
  capture: "at_action" | "historical_lookup" | "fixture";
2252
2261
  locator?: string | undefined;
2253
2262
  }[] | undefined;
@@ -2259,13 +2268,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2259
2268
  id: z.ZodString;
2260
2269
  label: z.ZodString;
2261
2270
  }, "strict", z.ZodTypeAny, {
2262
- kind: "agent" | "human";
2263
2271
  id: string;
2264
2272
  label: string;
2265
- }, {
2266
2273
  kind: "agent" | "human";
2274
+ }, {
2267
2275
  id: string;
2268
2276
  label: string;
2277
+ kind: "agent" | "human";
2269
2278
  }>;
2270
2279
  note: z.ZodOptional<z.ZodString>;
2271
2280
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2275,47 +2284,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2275
2284
  locator: z.ZodOptional<z.ZodString>;
2276
2285
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2277
2286
  }, "strict", z.ZodTypeAny, {
2278
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2279
2287
  id: string;
2280
2288
  label: string;
2289
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2281
2290
  capture: "at_action" | "historical_lookup" | "fixture";
2282
2291
  locator?: string | undefined;
2283
2292
  }, {
2284
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2285
2293
  id: string;
2286
2294
  label: string;
2295
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2287
2296
  capture: "at_action" | "historical_lookup" | "fixture";
2288
2297
  locator?: string | undefined;
2289
2298
  }>, "many">>;
2290
2299
  }, "strict", z.ZodTypeAny, {
2291
2300
  kind: "correction_approved";
2292
2301
  evidence: {
2293
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2294
2302
  id: string;
2295
2303
  label: string;
2304
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2296
2305
  capture: "at_action" | "historical_lookup" | "fixture";
2297
2306
  locator?: string | undefined;
2298
2307
  }[];
2299
2308
  correctionId: string;
2300
2309
  approvedBy: {
2301
- kind: "agent" | "human";
2302
2310
  id: string;
2303
2311
  label: string;
2312
+ kind: "agent" | "human";
2304
2313
  };
2305
2314
  note?: string | undefined;
2306
2315
  }, {
2307
2316
  kind: "correction_approved";
2308
2317
  correctionId: string;
2309
2318
  approvedBy: {
2310
- kind: "agent" | "human";
2311
2319
  id: string;
2312
2320
  label: string;
2321
+ kind: "agent" | "human";
2313
2322
  };
2314
2323
  note?: string | undefined;
2315
2324
  evidence?: {
2316
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2317
2325
  id: string;
2318
2326
  label: string;
2327
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2319
2328
  capture: "at_action" | "historical_lookup" | "fixture";
2320
2329
  locator?: string | undefined;
2321
2330
  }[] | undefined;
@@ -2331,24 +2340,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2331
2340
  locator: z.ZodOptional<z.ZodString>;
2332
2341
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2333
2342
  }, "strict", z.ZodTypeAny, {
2334
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2335
2343
  id: string;
2336
2344
  label: string;
2345
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2337
2346
  capture: "at_action" | "historical_lookup" | "fixture";
2338
2347
  locator?: string | undefined;
2339
2348
  }, {
2340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2341
2349
  id: string;
2342
2350
  label: string;
2351
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2343
2352
  capture: "at_action" | "historical_lookup" | "fixture";
2344
2353
  locator?: string | undefined;
2345
2354
  }>, "many">>;
2346
2355
  }, "strict", z.ZodTypeAny, {
2347
2356
  kind: "decision_superseded";
2348
2357
  evidence: {
2349
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2350
2358
  id: string;
2351
2359
  label: string;
2360
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2352
2361
  capture: "at_action" | "historical_lookup" | "fixture";
2353
2362
  locator?: string | undefined;
2354
2363
  }[];
@@ -2361,9 +2370,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2361
2370
  correctionId: string;
2362
2371
  replacementDecisionId: string;
2363
2372
  evidence?: {
2364
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2373
  id: string;
2366
2374
  label: string;
2375
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2367
2376
  capture: "at_action" | "historical_lookup" | "fixture";
2368
2377
  locator?: string | undefined;
2369
2378
  }[] | undefined;
@@ -2379,15 +2388,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2379
2388
  locator: z.ZodOptional<z.ZodString>;
2380
2389
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2381
2390
  }, "strict", z.ZodTypeAny, {
2382
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
2391
  id: string;
2384
2392
  label: string;
2393
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2385
2394
  capture: "at_action" | "historical_lookup" | "fixture";
2386
2395
  locator?: string | undefined;
2387
2396
  }, {
2388
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2389
2397
  id: string;
2390
2398
  label: string;
2399
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2391
2400
  capture: "at_action" | "historical_lookup" | "fixture";
2392
2401
  locator?: string | undefined;
2393
2402
  }>, "many">>;
@@ -2400,9 +2409,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2400
2409
  agentId: string;
2401
2410
  sessionId: string;
2402
2411
  evidence: {
2403
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2404
2412
  id: string;
2405
2413
  label: string;
2414
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2406
2415
  capture: "at_action" | "historical_lookup" | "fixture";
2407
2416
  locator?: string | undefined;
2408
2417
  }[];
@@ -2418,9 +2427,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2418
2427
  recallReceiptId: string;
2419
2428
  capturedAtAction: boolean;
2420
2429
  evidence?: {
2421
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2422
2430
  id: string;
2423
2431
  label: string;
2432
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2433
  capture: "at_action" | "historical_lookup" | "fixture";
2425
2434
  locator?: string | undefined;
2426
2435
  }[] | undefined;
@@ -2436,15 +2445,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2436
2445
  locator: z.ZodOptional<z.ZodString>;
2437
2446
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2438
2447
  }, "strict", z.ZodTypeAny, {
2439
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2440
2448
  id: string;
2441
2449
  label: string;
2450
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2442
2451
  capture: "at_action" | "historical_lookup" | "fixture";
2443
2452
  locator?: string | undefined;
2444
2453
  }, {
2445
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2446
2454
  id: string;
2447
2455
  label: string;
2456
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2448
2457
  capture: "at_action" | "historical_lookup" | "fixture";
2449
2458
  locator?: string | undefined;
2450
2459
  }>, "many">>;
@@ -2456,9 +2465,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2456
2465
  agentId: string;
2457
2466
  sessionId: string;
2458
2467
  evidence: {
2459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2460
2468
  id: string;
2461
2469
  label: string;
2470
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2462
2471
  capture: "at_action" | "historical_lookup" | "fixture";
2463
2472
  locator?: string | undefined;
2464
2473
  }[];
@@ -2475,9 +2484,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2475
2484
  recallReceiptId: string;
2476
2485
  staleDecisionAbsent: boolean;
2477
2486
  evidence?: {
2478
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2479
2487
  id: string;
2480
2488
  label: string;
2489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
2490
  capture: "at_action" | "historical_lookup" | "fixture";
2482
2491
  locator?: string | undefined;
2483
2492
  }[] | undefined;
@@ -2492,76 +2501,76 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2492
2501
  locator: z.ZodOptional<z.ZodString>;
2493
2502
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2494
2503
  }, "strict", z.ZodTypeAny, {
2495
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2496
2504
  id: string;
2497
2505
  label: string;
2506
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2498
2507
  capture: "at_action" | "historical_lookup" | "fixture";
2499
2508
  locator?: string | undefined;
2500
2509
  }, {
2501
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2502
2510
  id: string;
2503
2511
  label: string;
2512
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2504
2513
  capture: "at_action" | "historical_lookup" | "fixture";
2505
2514
  locator?: string | undefined;
2506
2515
  }>, "many">>;
2507
2516
  }, "strict", z.ZodTypeAny, {
2508
- kind: "mission_completed";
2509
2517
  summary: string;
2518
+ kind: "mission_completed";
2510
2519
  outcome: "failed" | "recovered" | "inconclusive";
2511
2520
  evidence: {
2512
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2513
2521
  id: string;
2514
2522
  label: string;
2523
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2515
2524
  capture: "at_action" | "historical_lookup" | "fixture";
2516
2525
  locator?: string | undefined;
2517
2526
  }[];
2518
2527
  }, {
2519
- kind: "mission_completed";
2520
2528
  summary: string;
2529
+ kind: "mission_completed";
2521
2530
  outcome: "failed" | "recovered" | "inconclusive";
2522
2531
  evidence?: {
2523
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2524
2532
  id: string;
2525
2533
  label: string;
2534
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2526
2535
  capture: "at_action" | "historical_lookup" | "fixture";
2527
2536
  locator?: string | undefined;
2528
2537
  }[] | undefined;
2529
2538
  }>]>, {
2530
2539
  kind: "mission_started";
2531
2540
  title: string;
2532
- objective: string;
2533
- runMode: "replay" | "fixture" | "live";
2534
2541
  evidence: {
2535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2542
  id: string;
2537
2543
  label: string;
2544
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
2545
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2546
  locator?: string | undefined;
2540
2547
  }[];
2548
+ objective: string;
2549
+ runMode: "replay" | "fixture" | "live";
2541
2550
  } | {
2551
+ label: string;
2552
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2542
2553
  kind: "agent_status";
2543
2554
  role: string;
2544
- status: "failed" | "complete" | "working" | "blocked" | "idle";
2545
- label: string;
2546
2555
  agentId: string;
2547
2556
  sessionId: string;
2548
2557
  evidence: {
2549
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2550
2558
  id: string;
2551
2559
  label: string;
2560
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2552
2561
  capture: "at_action" | "historical_lookup" | "fixture";
2553
2562
  locator?: string | undefined;
2554
2563
  }[];
2555
2564
  detail?: string | undefined;
2556
2565
  } | {
2557
- kind: "agent_output";
2558
2566
  summary: string;
2567
+ kind: "agent_output";
2559
2568
  agentId: string;
2560
2569
  sessionId: string;
2561
2570
  evidence: {
2562
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2563
2571
  id: string;
2564
2572
  label: string;
2573
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2565
2574
  capture: "at_action" | "historical_lookup" | "fixture";
2566
2575
  locator?: string | undefined;
2567
2576
  }[];
@@ -2569,12 +2578,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2569
2578
  } | {
2570
2579
  kind: "belief_observed";
2571
2580
  agentId: string;
2572
- sessionId: string;
2573
2581
  statement: string;
2582
+ sessionId: string;
2574
2583
  evidence: {
2575
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2576
2584
  id: string;
2577
2585
  label: string;
2586
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2578
2587
  capture: "at_action" | "historical_lookup" | "fixture";
2579
2588
  locator?: string | undefined;
2580
2589
  }[];
@@ -2582,12 +2591,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2582
2591
  decisionId: string;
2583
2592
  confidence?: number | undefined;
2584
2593
  } | {
2585
- kind: "conflict_detected";
2586
2594
  summary: string;
2595
+ kind: "conflict_detected";
2587
2596
  evidence: {
2588
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2589
2597
  id: string;
2590
2598
  label: string;
2599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2591
2600
  capture: "at_action" | "historical_lookup" | "fixture";
2592
2601
  locator?: string | undefined;
2593
2602
  }[];
@@ -2595,14 +2604,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2595
2604
  decisionIds: string[];
2596
2605
  agentIds: string[];
2597
2606
  } | {
2598
- kind: "test_result";
2599
2607
  summary: string;
2600
- command: string;
2601
2608
  status: "error" | "failed" | "passed";
2609
+ kind: "test_result";
2610
+ command: string;
2602
2611
  evidence: {
2603
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2604
2612
  id: string;
2605
2613
  label: string;
2614
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2606
2615
  capture: "at_action" | "historical_lookup" | "fixture";
2607
2616
  locator?: string | undefined;
2608
2617
  }[];
@@ -2615,9 +2624,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2615
2624
  rationale: string;
2616
2625
  statement: string;
2617
2626
  evidence: {
2618
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2619
2627
  id: string;
2620
2628
  label: string;
2629
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2621
2630
  capture: "at_action" | "historical_lookup" | "fixture";
2622
2631
  locator?: string | undefined;
2623
2632
  }[];
@@ -2629,25 +2638,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2629
2638
  } | {
2630
2639
  kind: "correction_approved";
2631
2640
  evidence: {
2632
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2633
2641
  id: string;
2634
2642
  label: string;
2643
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2635
2644
  capture: "at_action" | "historical_lookup" | "fixture";
2636
2645
  locator?: string | undefined;
2637
2646
  }[];
2638
2647
  correctionId: string;
2639
2648
  approvedBy: {
2640
- kind: "agent" | "human";
2641
2649
  id: string;
2642
2650
  label: string;
2651
+ kind: "agent" | "human";
2643
2652
  };
2644
2653
  note?: string | undefined;
2645
2654
  } | {
2646
2655
  kind: "decision_superseded";
2647
2656
  evidence: {
2648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2649
2657
  id: string;
2650
2658
  label: string;
2659
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2651
2660
  capture: "at_action" | "historical_lookup" | "fixture";
2652
2661
  locator?: string | undefined;
2653
2662
  }[];
@@ -2660,9 +2669,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2660
2669
  agentId: string;
2661
2670
  sessionId: string;
2662
2671
  evidence: {
2663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
2672
  id: string;
2665
2673
  label: string;
2674
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2666
2675
  capture: "at_action" | "historical_lookup" | "fixture";
2667
2676
  locator?: string | undefined;
2668
2677
  }[];
@@ -2674,9 +2683,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2674
2683
  agentId: string;
2675
2684
  sessionId: string;
2676
2685
  evidence: {
2677
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2678
2686
  id: string;
2679
2687
  label: string;
2688
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2680
2689
  capture: "at_action" | "historical_lookup" | "fixture";
2681
2690
  locator?: string | undefined;
2682
2691
  }[];
@@ -2685,13 +2694,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2685
2694
  recallReceiptId: string;
2686
2695
  staleDecisionAbsent: boolean;
2687
2696
  } | {
2688
- kind: "mission_completed";
2689
2697
  summary: string;
2698
+ kind: "mission_completed";
2690
2699
  outcome: "failed" | "recovered" | "inconclusive";
2691
2700
  evidence: {
2692
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2693
2701
  id: string;
2694
2702
  label: string;
2703
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2695
2704
  capture: "at_action" | "historical_lookup" | "fixture";
2696
2705
  locator?: string | undefined;
2697
2706
  }[];
@@ -2701,80 +2710,80 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2701
2710
  objective: string;
2702
2711
  runMode: "replay" | "fixture" | "live";
2703
2712
  evidence?: {
2704
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2705
2713
  id: string;
2706
2714
  label: string;
2715
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2707
2716
  capture: "at_action" | "historical_lookup" | "fixture";
2708
2717
  locator?: string | undefined;
2709
2718
  }[] | undefined;
2710
2719
  } | {
2720
+ label: string;
2721
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2711
2722
  kind: "agent_status";
2712
2723
  role: string;
2713
- status: "failed" | "complete" | "working" | "blocked" | "idle";
2714
- label: string;
2715
2724
  agentId: string;
2716
2725
  sessionId: string;
2717
2726
  detail?: string | undefined;
2718
2727
  evidence?: {
2719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
2728
  id: string;
2721
2729
  label: string;
2730
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2722
2731
  capture: "at_action" | "historical_lookup" | "fixture";
2723
2732
  locator?: string | undefined;
2724
2733
  }[] | undefined;
2725
2734
  } | {
2726
- kind: "agent_output";
2727
2735
  summary: string;
2736
+ kind: "agent_output";
2728
2737
  agentId: string;
2729
2738
  sessionId: string;
2730
2739
  outputId: string;
2731
2740
  evidence?: {
2732
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
2741
  id: string;
2734
2742
  label: string;
2743
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2735
2744
  capture: "at_action" | "historical_lookup" | "fixture";
2736
2745
  locator?: string | undefined;
2737
2746
  }[] | undefined;
2738
2747
  } | {
2739
2748
  kind: "belief_observed";
2740
2749
  agentId: string;
2741
- sessionId: string;
2742
2750
  statement: string;
2751
+ sessionId: string;
2743
2752
  beliefId: string;
2744
2753
  decisionId: string;
2745
2754
  confidence?: number | undefined;
2746
2755
  evidence?: {
2747
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2748
2756
  id: string;
2749
2757
  label: string;
2758
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2750
2759
  capture: "at_action" | "historical_lookup" | "fixture";
2751
2760
  locator?: string | undefined;
2752
2761
  }[] | undefined;
2753
2762
  } | {
2754
- kind: "conflict_detected";
2755
2763
  summary: string;
2764
+ kind: "conflict_detected";
2756
2765
  conflictId: string;
2757
2766
  decisionIds: string[];
2758
2767
  agentIds: string[];
2759
2768
  evidence?: {
2760
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2761
2769
  id: string;
2762
2770
  label: string;
2771
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2763
2772
  capture: "at_action" | "historical_lookup" | "fixture";
2764
2773
  locator?: string | undefined;
2765
2774
  }[] | undefined;
2766
2775
  } | {
2767
- kind: "test_result";
2768
2776
  summary: string;
2769
- command: string;
2770
2777
  status: "error" | "failed" | "passed";
2778
+ kind: "test_result";
2779
+ command: string;
2771
2780
  decisionId: string;
2772
2781
  testId: string;
2773
2782
  durationMs?: number | undefined;
2774
2783
  evidence?: {
2775
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2776
2784
  id: string;
2777
2785
  label: string;
2786
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2778
2787
  capture: "at_action" | "historical_lookup" | "fixture";
2779
2788
  locator?: string | undefined;
2780
2789
  }[] | undefined;
@@ -2789,9 +2798,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2789
2798
  supersedesDecisionIds: string[];
2790
2799
  proposedBy: string;
2791
2800
  evidence?: {
2792
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2793
2801
  id: string;
2794
2802
  label: string;
2803
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2795
2804
  capture: "at_action" | "historical_lookup" | "fixture";
2796
2805
  locator?: string | undefined;
2797
2806
  }[] | undefined;
@@ -2799,15 +2808,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2799
2808
  kind: "correction_approved";
2800
2809
  correctionId: string;
2801
2810
  approvedBy: {
2802
- kind: "agent" | "human";
2803
2811
  id: string;
2804
2812
  label: string;
2813
+ kind: "agent" | "human";
2805
2814
  };
2806
2815
  note?: string | undefined;
2807
2816
  evidence?: {
2808
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2809
2817
  id: string;
2810
2818
  label: string;
2819
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2811
2820
  capture: "at_action" | "historical_lookup" | "fixture";
2812
2821
  locator?: string | undefined;
2813
2822
  }[] | undefined;
@@ -2817,9 +2826,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2817
2826
  correctionId: string;
2818
2827
  replacementDecisionId: string;
2819
2828
  evidence?: {
2820
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2821
2829
  id: string;
2822
2830
  label: string;
2831
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
2832
  capture: "at_action" | "historical_lookup" | "fixture";
2824
2833
  locator?: string | undefined;
2825
2834
  }[] | undefined;
@@ -2832,9 +2841,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2832
2841
  recallReceiptId: string;
2833
2842
  capturedAtAction: boolean;
2834
2843
  evidence?: {
2835
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2836
2844
  id: string;
2837
2845
  label: string;
2846
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2838
2847
  capture: "at_action" | "historical_lookup" | "fixture";
2839
2848
  locator?: string | undefined;
2840
2849
  }[] | undefined;
@@ -2847,20 +2856,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2847
2856
  recallReceiptId: string;
2848
2857
  staleDecisionAbsent: boolean;
2849
2858
  evidence?: {
2850
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2851
2859
  id: string;
2852
2860
  label: string;
2861
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2853
2862
  capture: "at_action" | "historical_lookup" | "fixture";
2854
2863
  locator?: string | undefined;
2855
2864
  }[] | undefined;
2856
2865
  } | {
2857
- kind: "mission_completed";
2858
2866
  summary: string;
2867
+ kind: "mission_completed";
2859
2868
  outcome: "failed" | "recovered" | "inconclusive";
2860
2869
  evidence?: {
2861
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2862
2870
  id: string;
2863
2871
  label: string;
2872
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2864
2873
  capture: "at_action" | "historical_lookup" | "fixture";
2865
2874
  locator?: string | undefined;
2866
2875
  }[] | undefined;
@@ -2869,39 +2878,39 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2869
2878
  payload: {
2870
2879
  kind: "mission_started";
2871
2880
  title: string;
2872
- objective: string;
2873
- runMode: "replay" | "fixture" | "live";
2874
2881
  evidence: {
2875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
2882
  id: string;
2877
2883
  label: string;
2884
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2878
2885
  capture: "at_action" | "historical_lookup" | "fixture";
2879
2886
  locator?: string | undefined;
2880
2887
  }[];
2888
+ objective: string;
2889
+ runMode: "replay" | "fixture" | "live";
2881
2890
  } | {
2891
+ label: string;
2892
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2882
2893
  kind: "agent_status";
2883
2894
  role: string;
2884
- status: "failed" | "complete" | "working" | "blocked" | "idle";
2885
- label: string;
2886
2895
  agentId: string;
2887
2896
  sessionId: string;
2888
2897
  evidence: {
2889
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2890
2898
  id: string;
2891
2899
  label: string;
2900
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2892
2901
  capture: "at_action" | "historical_lookup" | "fixture";
2893
2902
  locator?: string | undefined;
2894
2903
  }[];
2895
2904
  detail?: string | undefined;
2896
2905
  } | {
2897
- kind: "agent_output";
2898
2906
  summary: string;
2907
+ kind: "agent_output";
2899
2908
  agentId: string;
2900
2909
  sessionId: string;
2901
2910
  evidence: {
2902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2903
2911
  id: string;
2904
2912
  label: string;
2913
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2905
2914
  capture: "at_action" | "historical_lookup" | "fixture";
2906
2915
  locator?: string | undefined;
2907
2916
  }[];
@@ -2909,12 +2918,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2909
2918
  } | {
2910
2919
  kind: "belief_observed";
2911
2920
  agentId: string;
2912
- sessionId: string;
2913
2921
  statement: string;
2922
+ sessionId: string;
2914
2923
  evidence: {
2915
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2916
2924
  id: string;
2917
2925
  label: string;
2926
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2918
2927
  capture: "at_action" | "historical_lookup" | "fixture";
2919
2928
  locator?: string | undefined;
2920
2929
  }[];
@@ -2922,12 +2931,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2922
2931
  decisionId: string;
2923
2932
  confidence?: number | undefined;
2924
2933
  } | {
2925
- kind: "conflict_detected";
2926
2934
  summary: string;
2935
+ kind: "conflict_detected";
2927
2936
  evidence: {
2928
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2929
2937
  id: string;
2930
2938
  label: string;
2939
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2931
2940
  capture: "at_action" | "historical_lookup" | "fixture";
2932
2941
  locator?: string | undefined;
2933
2942
  }[];
@@ -2935,14 +2944,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2935
2944
  decisionIds: string[];
2936
2945
  agentIds: string[];
2937
2946
  } | {
2938
- kind: "test_result";
2939
2947
  summary: string;
2940
- command: string;
2941
2948
  status: "error" | "failed" | "passed";
2949
+ kind: "test_result";
2950
+ command: string;
2942
2951
  evidence: {
2943
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2944
2952
  id: string;
2945
2953
  label: string;
2954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2946
2955
  capture: "at_action" | "historical_lookup" | "fixture";
2947
2956
  locator?: string | undefined;
2948
2957
  }[];
@@ -2955,9 +2964,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2955
2964
  rationale: string;
2956
2965
  statement: string;
2957
2966
  evidence: {
2958
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2959
2967
  id: string;
2960
2968
  label: string;
2969
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2961
2970
  capture: "at_action" | "historical_lookup" | "fixture";
2962
2971
  locator?: string | undefined;
2963
2972
  }[];
@@ -2969,25 +2978,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2969
2978
  } | {
2970
2979
  kind: "correction_approved";
2971
2980
  evidence: {
2972
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2973
2981
  id: string;
2974
2982
  label: string;
2983
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2975
2984
  capture: "at_action" | "historical_lookup" | "fixture";
2976
2985
  locator?: string | undefined;
2977
2986
  }[];
2978
2987
  correctionId: string;
2979
2988
  approvedBy: {
2980
- kind: "agent" | "human";
2981
2989
  id: string;
2982
2990
  label: string;
2991
+ kind: "agent" | "human";
2983
2992
  };
2984
2993
  note?: string | undefined;
2985
2994
  } | {
2986
2995
  kind: "decision_superseded";
2987
2996
  evidence: {
2988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2989
2997
  id: string;
2990
2998
  label: string;
2999
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2991
3000
  capture: "at_action" | "historical_lookup" | "fixture";
2992
3001
  locator?: string | undefined;
2993
3002
  }[];
@@ -3000,9 +3009,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3000
3009
  agentId: string;
3001
3010
  sessionId: string;
3002
3011
  evidence: {
3003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3004
3012
  id: string;
3005
3013
  label: string;
3014
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3006
3015
  capture: "at_action" | "historical_lookup" | "fixture";
3007
3016
  locator?: string | undefined;
3008
3017
  }[];
@@ -3014,9 +3023,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3014
3023
  agentId: string;
3015
3024
  sessionId: string;
3016
3025
  evidence: {
3017
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3018
3026
  id: string;
3019
3027
  label: string;
3028
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3020
3029
  capture: "at_action" | "historical_lookup" | "fixture";
3021
3030
  locator?: string | undefined;
3022
3031
  }[];
@@ -3025,13 +3034,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3025
3034
  recallReceiptId: string;
3026
3035
  staleDecisionAbsent: boolean;
3027
3036
  } | {
3028
- kind: "mission_completed";
3029
3037
  summary: string;
3038
+ kind: "mission_completed";
3030
3039
  outcome: "failed" | "recovered" | "inconclusive";
3031
3040
  evidence: {
3032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3033
3041
  id: string;
3034
3042
  label: string;
3043
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3035
3044
  capture: "at_action" | "historical_lookup" | "fixture";
3036
3045
  locator?: string | undefined;
3037
3046
  }[];
@@ -3045,80 +3054,80 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3045
3054
  objective: string;
3046
3055
  runMode: "replay" | "fixture" | "live";
3047
3056
  evidence?: {
3048
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3049
3057
  id: string;
3050
3058
  label: string;
3059
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3051
3060
  capture: "at_action" | "historical_lookup" | "fixture";
3052
3061
  locator?: string | undefined;
3053
3062
  }[] | undefined;
3054
3063
  } | {
3064
+ label: string;
3065
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3055
3066
  kind: "agent_status";
3056
3067
  role: string;
3057
- status: "failed" | "complete" | "working" | "blocked" | "idle";
3058
- label: string;
3059
3068
  agentId: string;
3060
3069
  sessionId: string;
3061
3070
  detail?: string | undefined;
3062
3071
  evidence?: {
3063
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3064
3072
  id: string;
3065
3073
  label: string;
3074
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3066
3075
  capture: "at_action" | "historical_lookup" | "fixture";
3067
3076
  locator?: string | undefined;
3068
3077
  }[] | undefined;
3069
3078
  } | {
3070
- kind: "agent_output";
3071
3079
  summary: string;
3080
+ kind: "agent_output";
3072
3081
  agentId: string;
3073
3082
  sessionId: string;
3074
3083
  outputId: string;
3075
3084
  evidence?: {
3076
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3077
3085
  id: string;
3078
3086
  label: string;
3087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3079
3088
  capture: "at_action" | "historical_lookup" | "fixture";
3080
3089
  locator?: string | undefined;
3081
3090
  }[] | undefined;
3082
3091
  } | {
3083
3092
  kind: "belief_observed";
3084
3093
  agentId: string;
3085
- sessionId: string;
3086
3094
  statement: string;
3095
+ sessionId: string;
3087
3096
  beliefId: string;
3088
3097
  decisionId: string;
3089
3098
  confidence?: number | undefined;
3090
3099
  evidence?: {
3091
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3092
3100
  id: string;
3093
3101
  label: string;
3102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3094
3103
  capture: "at_action" | "historical_lookup" | "fixture";
3095
3104
  locator?: string | undefined;
3096
3105
  }[] | undefined;
3097
3106
  } | {
3098
- kind: "conflict_detected";
3099
3107
  summary: string;
3108
+ kind: "conflict_detected";
3100
3109
  conflictId: string;
3101
3110
  decisionIds: string[];
3102
3111
  agentIds: string[];
3103
3112
  evidence?: {
3104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3105
3113
  id: string;
3106
3114
  label: string;
3115
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3107
3116
  capture: "at_action" | "historical_lookup" | "fixture";
3108
3117
  locator?: string | undefined;
3109
3118
  }[] | undefined;
3110
3119
  } | {
3111
- kind: "test_result";
3112
3120
  summary: string;
3113
- command: string;
3114
3121
  status: "error" | "failed" | "passed";
3122
+ kind: "test_result";
3123
+ command: string;
3115
3124
  decisionId: string;
3116
3125
  testId: string;
3117
3126
  durationMs?: number | undefined;
3118
3127
  evidence?: {
3119
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3120
3128
  id: string;
3121
3129
  label: string;
3130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3122
3131
  capture: "at_action" | "historical_lookup" | "fixture";
3123
3132
  locator?: string | undefined;
3124
3133
  }[] | undefined;
@@ -3133,9 +3142,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3133
3142
  supersedesDecisionIds: string[];
3134
3143
  proposedBy: string;
3135
3144
  evidence?: {
3136
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3137
3145
  id: string;
3138
3146
  label: string;
3147
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3139
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3140
3149
  locator?: string | undefined;
3141
3150
  }[] | undefined;
@@ -3143,15 +3152,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3143
3152
  kind: "correction_approved";
3144
3153
  correctionId: string;
3145
3154
  approvedBy: {
3146
- kind: "agent" | "human";
3147
3155
  id: string;
3148
3156
  label: string;
3157
+ kind: "agent" | "human";
3149
3158
  };
3150
3159
  note?: string | undefined;
3151
3160
  evidence?: {
3152
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3153
3161
  id: string;
3154
3162
  label: string;
3163
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3155
3164
  capture: "at_action" | "historical_lookup" | "fixture";
3156
3165
  locator?: string | undefined;
3157
3166
  }[] | undefined;
@@ -3161,9 +3170,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3161
3170
  correctionId: string;
3162
3171
  replacementDecisionId: string;
3163
3172
  evidence?: {
3164
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3165
3173
  id: string;
3166
3174
  label: string;
3175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3167
3176
  capture: "at_action" | "historical_lookup" | "fixture";
3168
3177
  locator?: string | undefined;
3169
3178
  }[] | undefined;
@@ -3176,9 +3185,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3176
3185
  recallReceiptId: string;
3177
3186
  capturedAtAction: boolean;
3178
3187
  evidence?: {
3179
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3180
3188
  id: string;
3181
3189
  label: string;
3190
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3182
3191
  capture: "at_action" | "historical_lookup" | "fixture";
3183
3192
  locator?: string | undefined;
3184
3193
  }[] | undefined;
@@ -3191,20 +3200,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3191
3200
  recallReceiptId: string;
3192
3201
  staleDecisionAbsent: boolean;
3193
3202
  evidence?: {
3194
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3195
3203
  id: string;
3196
3204
  label: string;
3205
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3197
3206
  capture: "at_action" | "historical_lookup" | "fixture";
3198
3207
  locator?: string | undefined;
3199
3208
  }[] | undefined;
3200
3209
  } | {
3201
- kind: "mission_completed";
3202
3210
  summary: string;
3211
+ kind: "mission_completed";
3203
3212
  outcome: "failed" | "recovered" | "inconclusive";
3204
3213
  evidence?: {
3205
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3206
3214
  id: string;
3207
3215
  label: string;
3216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3208
3217
  capture: "at_action" | "historical_lookup" | "fixture";
3209
3218
  locator?: string | undefined;
3210
3219
  }[] | undefined;
@@ -3234,39 +3243,39 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3234
3243
  locator: z.ZodOptional<z.ZodString>;
3235
3244
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3236
3245
  }, "strict", z.ZodTypeAny, {
3237
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3238
3246
  id: string;
3239
3247
  label: string;
3248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3240
3249
  capture: "at_action" | "historical_lookup" | "fixture";
3241
3250
  locator?: string | undefined;
3242
3251
  }, {
3243
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3244
3252
  id: string;
3245
3253
  label: string;
3254
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3246
3255
  capture: "at_action" | "historical_lookup" | "fixture";
3247
3256
  locator?: string | undefined;
3248
3257
  }>, "many">>;
3249
3258
  }, "strict", z.ZodTypeAny, {
3250
3259
  kind: "mission_started";
3251
3260
  title: string;
3252
- objective: string;
3253
- runMode: "replay" | "fixture" | "live";
3254
3261
  evidence: {
3255
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3256
3262
  id: string;
3257
3263
  label: string;
3264
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3258
3265
  capture: "at_action" | "historical_lookup" | "fixture";
3259
3266
  locator?: string | undefined;
3260
3267
  }[];
3268
+ objective: string;
3269
+ runMode: "replay" | "fixture" | "live";
3261
3270
  }, {
3262
3271
  kind: "mission_started";
3263
3272
  title: string;
3264
3273
  objective: string;
3265
3274
  runMode: "replay" | "fixture" | "live";
3266
3275
  evidence?: {
3267
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3268
3276
  id: string;
3269
3277
  label: string;
3278
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3270
3279
  capture: "at_action" | "historical_lookup" | "fixture";
3271
3280
  locator?: string | undefined;
3272
3281
  }[] | undefined;
@@ -3282,15 +3291,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3282
3291
  locator: z.ZodOptional<z.ZodString>;
3283
3292
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3284
3293
  }, "strict", z.ZodTypeAny, {
3285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3286
3294
  id: string;
3287
3295
  label: string;
3296
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3288
3297
  capture: "at_action" | "historical_lookup" | "fixture";
3289
3298
  locator?: string | undefined;
3290
3299
  }, {
3291
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3292
3300
  id: string;
3293
3301
  label: string;
3302
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3294
3303
  capture: "at_action" | "historical_lookup" | "fixture";
3295
3304
  locator?: string | undefined;
3296
3305
  }>, "many">>;
@@ -3298,32 +3307,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3298
3307
  sessionId: z.ZodString;
3299
3308
  kind: z.ZodLiteral<"agent_status">;
3300
3309
  }, "strict", z.ZodTypeAny, {
3310
+ label: string;
3311
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3301
3312
  kind: "agent_status";
3302
3313
  role: string;
3303
- status: "failed" | "complete" | "working" | "blocked" | "idle";
3304
- label: string;
3305
3314
  agentId: string;
3306
3315
  sessionId: string;
3307
3316
  evidence: {
3308
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3309
3317
  id: string;
3310
3318
  label: string;
3319
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3311
3320
  capture: "at_action" | "historical_lookup" | "fixture";
3312
3321
  locator?: string | undefined;
3313
3322
  }[];
3314
3323
  detail?: string | undefined;
3315
3324
  }, {
3325
+ label: string;
3326
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3316
3327
  kind: "agent_status";
3317
3328
  role: string;
3318
- status: "failed" | "complete" | "working" | "blocked" | "idle";
3319
- label: string;
3320
3329
  agentId: string;
3321
3330
  sessionId: string;
3322
3331
  detail?: string | undefined;
3323
3332
  evidence?: {
3324
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3325
3333
  id: string;
3326
3334
  label: string;
3335
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3327
3336
  capture: "at_action" | "historical_lookup" | "fixture";
3328
3337
  locator?: string | undefined;
3329
3338
  }[] | undefined;
@@ -3337,15 +3346,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3337
3346
  locator: z.ZodOptional<z.ZodString>;
3338
3347
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3339
3348
  }, "strict", z.ZodTypeAny, {
3340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3341
3349
  id: string;
3342
3350
  label: string;
3351
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3343
3352
  capture: "at_action" | "historical_lookup" | "fixture";
3344
3353
  locator?: string | undefined;
3345
3354
  }, {
3346
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3347
3355
  id: string;
3348
3356
  label: string;
3357
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3349
3358
  capture: "at_action" | "historical_lookup" | "fixture";
3350
3359
  locator?: string | undefined;
3351
3360
  }>, "many">>;
@@ -3353,28 +3362,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3353
3362
  sessionId: z.ZodString;
3354
3363
  kind: z.ZodLiteral<"agent_output">;
3355
3364
  }, "strict", z.ZodTypeAny, {
3356
- kind: "agent_output";
3357
3365
  summary: string;
3366
+ kind: "agent_output";
3358
3367
  agentId: string;
3359
3368
  sessionId: string;
3360
3369
  evidence: {
3361
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3362
3370
  id: string;
3363
3371
  label: string;
3372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3364
3373
  capture: "at_action" | "historical_lookup" | "fixture";
3365
3374
  locator?: string | undefined;
3366
3375
  }[];
3367
3376
  outputId: string;
3368
3377
  }, {
3369
- kind: "agent_output";
3370
3378
  summary: string;
3379
+ kind: "agent_output";
3371
3380
  agentId: string;
3372
3381
  sessionId: string;
3373
3382
  outputId: string;
3374
3383
  evidence?: {
3375
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3376
3384
  id: string;
3377
3385
  label: string;
3386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3378
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3379
3388
  locator?: string | undefined;
3380
3389
  }[] | undefined;
@@ -3390,15 +3399,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3390
3399
  locator: z.ZodOptional<z.ZodString>;
3391
3400
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3392
3401
  }, "strict", z.ZodTypeAny, {
3393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3394
3402
  id: string;
3395
3403
  label: string;
3404
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3396
3405
  capture: "at_action" | "historical_lookup" | "fixture";
3397
3406
  locator?: string | undefined;
3398
3407
  }, {
3399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3400
3408
  id: string;
3401
3409
  label: string;
3410
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3402
3411
  capture: "at_action" | "historical_lookup" | "fixture";
3403
3412
  locator?: string | undefined;
3404
3413
  }>, "many">>;
@@ -3408,12 +3417,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3408
3417
  }, "strict", z.ZodTypeAny, {
3409
3418
  kind: "belief_observed";
3410
3419
  agentId: string;
3411
- sessionId: string;
3412
3420
  statement: string;
3421
+ sessionId: string;
3413
3422
  evidence: {
3414
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3415
3423
  id: string;
3416
3424
  label: string;
3425
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3417
3426
  capture: "at_action" | "historical_lookup" | "fixture";
3418
3427
  locator?: string | undefined;
3419
3428
  }[];
@@ -3423,15 +3432,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3423
3432
  }, {
3424
3433
  kind: "belief_observed";
3425
3434
  agentId: string;
3426
- sessionId: string;
3427
3435
  statement: string;
3436
+ sessionId: string;
3428
3437
  beliefId: string;
3429
3438
  decisionId: string;
3430
3439
  confidence?: number | undefined;
3431
3440
  evidence?: {
3432
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3433
3441
  id: string;
3434
3442
  label: string;
3443
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3435
3444
  capture: "at_action" | "historical_lookup" | "fixture";
3436
3445
  locator?: string | undefined;
3437
3446
  }[] | undefined;
@@ -3448,25 +3457,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3448
3457
  locator: z.ZodOptional<z.ZodString>;
3449
3458
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3450
3459
  }, "strict", z.ZodTypeAny, {
3451
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3452
3460
  id: string;
3453
3461
  label: string;
3462
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3454
3463
  capture: "at_action" | "historical_lookup" | "fixture";
3455
3464
  locator?: string | undefined;
3456
3465
  }, {
3457
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3458
3466
  id: string;
3459
3467
  label: string;
3468
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
3469
  capture: "at_action" | "historical_lookup" | "fixture";
3461
3470
  locator?: string | undefined;
3462
3471
  }>, "many">>;
3463
3472
  }, "strict", z.ZodTypeAny, {
3464
- kind: "conflict_detected";
3465
3473
  summary: string;
3474
+ kind: "conflict_detected";
3466
3475
  evidence: {
3467
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3468
3476
  id: string;
3469
3477
  label: string;
3478
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3470
3479
  capture: "at_action" | "historical_lookup" | "fixture";
3471
3480
  locator?: string | undefined;
3472
3481
  }[];
@@ -3474,15 +3483,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3474
3483
  decisionIds: string[];
3475
3484
  agentIds: string[];
3476
3485
  }, {
3477
- kind: "conflict_detected";
3478
3486
  summary: string;
3487
+ kind: "conflict_detected";
3479
3488
  conflictId: string;
3480
3489
  decisionIds: string[];
3481
3490
  agentIds: string[];
3482
3491
  evidence?: {
3483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3484
3492
  id: string;
3485
3493
  label: string;
3494
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3486
3495
  capture: "at_action" | "historical_lookup" | "fixture";
3487
3496
  locator?: string | undefined;
3488
3497
  }[] | undefined;
@@ -3502,27 +3511,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3502
3511
  locator: z.ZodOptional<z.ZodString>;
3503
3512
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3504
3513
  }, "strict", z.ZodTypeAny, {
3505
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3506
3514
  id: string;
3507
3515
  label: string;
3516
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3508
3517
  capture: "at_action" | "historical_lookup" | "fixture";
3509
3518
  locator?: string | undefined;
3510
3519
  }, {
3511
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3512
3520
  id: string;
3513
3521
  label: string;
3522
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3514
3523
  capture: "at_action" | "historical_lookup" | "fixture";
3515
3524
  locator?: string | undefined;
3516
3525
  }>, "many">>;
3517
3526
  }, "strict", z.ZodTypeAny, {
3518
- kind: "test_result";
3519
3527
  summary: string;
3520
- command: string;
3521
3528
  status: "error" | "failed" | "passed";
3529
+ kind: "test_result";
3530
+ command: string;
3522
3531
  evidence: {
3523
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3524
3532
  id: string;
3525
3533
  label: string;
3534
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3526
3535
  capture: "at_action" | "historical_lookup" | "fixture";
3527
3536
  locator?: string | undefined;
3528
3537
  }[];
@@ -3531,17 +3540,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3531
3540
  durationMs?: number | undefined;
3532
3541
  correctionId?: string | undefined;
3533
3542
  }, {
3534
- kind: "test_result";
3535
3543
  summary: string;
3536
- command: string;
3537
3544
  status: "error" | "failed" | "passed";
3545
+ kind: "test_result";
3546
+ command: string;
3538
3547
  decisionId: string;
3539
3548
  testId: string;
3540
3549
  durationMs?: number | undefined;
3541
3550
  evidence?: {
3542
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3543
3551
  id: string;
3544
3552
  label: string;
3553
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3545
3554
  capture: "at_action" | "historical_lookup" | "fixture";
3546
3555
  locator?: string | undefined;
3547
3556
  }[] | undefined;
@@ -3562,15 +3571,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3562
3571
  locator: z.ZodOptional<z.ZodString>;
3563
3572
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3564
3573
  }, "strict", z.ZodTypeAny, {
3565
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3566
3574
  id: string;
3567
3575
  label: string;
3576
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3568
3577
  capture: "at_action" | "historical_lookup" | "fixture";
3569
3578
  locator?: string | undefined;
3570
3579
  }, {
3571
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3572
3580
  id: string;
3573
3581
  label: string;
3582
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3574
3583
  capture: "at_action" | "historical_lookup" | "fixture";
3575
3584
  locator?: string | undefined;
3576
3585
  }>, "many">>;
@@ -3579,9 +3588,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3579
3588
  rationale: string;
3580
3589
  statement: string;
3581
3590
  evidence: {
3582
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3583
3591
  id: string;
3584
3592
  label: string;
3593
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3585
3594
  capture: "at_action" | "historical_lookup" | "fixture";
3586
3595
  locator?: string | undefined;
3587
3596
  }[];
@@ -3600,9 +3609,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3600
3609
  supersedesDecisionIds: string[];
3601
3610
  proposedBy: string;
3602
3611
  evidence?: {
3603
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
3612
  id: string;
3605
3613
  label: string;
3614
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3606
3615
  capture: "at_action" | "historical_lookup" | "fixture";
3607
3616
  locator?: string | undefined;
3608
3617
  }[] | undefined;
@@ -3614,13 +3623,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3614
3623
  id: z.ZodString;
3615
3624
  label: z.ZodString;
3616
3625
  }, "strict", z.ZodTypeAny, {
3617
- kind: "agent" | "human";
3618
3626
  id: string;
3619
3627
  label: string;
3620
- }, {
3621
3628
  kind: "agent" | "human";
3629
+ }, {
3622
3630
  id: string;
3623
3631
  label: string;
3632
+ kind: "agent" | "human";
3624
3633
  }>;
3625
3634
  note: z.ZodOptional<z.ZodString>;
3626
3635
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3630,47 +3639,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3630
3639
  locator: z.ZodOptional<z.ZodString>;
3631
3640
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3632
3641
  }, "strict", z.ZodTypeAny, {
3633
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3634
3642
  id: string;
3635
3643
  label: string;
3644
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3636
3645
  capture: "at_action" | "historical_lookup" | "fixture";
3637
3646
  locator?: string | undefined;
3638
3647
  }, {
3639
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3640
3648
  id: string;
3641
3649
  label: string;
3650
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3642
3651
  capture: "at_action" | "historical_lookup" | "fixture";
3643
3652
  locator?: string | undefined;
3644
3653
  }>, "many">>;
3645
3654
  }, "strict", z.ZodTypeAny, {
3646
3655
  kind: "correction_approved";
3647
3656
  evidence: {
3648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3649
3657
  id: string;
3650
3658
  label: string;
3659
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
3660
  capture: "at_action" | "historical_lookup" | "fixture";
3652
3661
  locator?: string | undefined;
3653
3662
  }[];
3654
3663
  correctionId: string;
3655
3664
  approvedBy: {
3656
- kind: "agent" | "human";
3657
3665
  id: string;
3658
3666
  label: string;
3667
+ kind: "agent" | "human";
3659
3668
  };
3660
3669
  note?: string | undefined;
3661
3670
  }, {
3662
3671
  kind: "correction_approved";
3663
3672
  correctionId: string;
3664
3673
  approvedBy: {
3665
- kind: "agent" | "human";
3666
3674
  id: string;
3667
3675
  label: string;
3676
+ kind: "agent" | "human";
3668
3677
  };
3669
3678
  note?: string | undefined;
3670
3679
  evidence?: {
3671
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3672
3680
  id: string;
3673
3681
  label: string;
3682
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3674
3683
  capture: "at_action" | "historical_lookup" | "fixture";
3675
3684
  locator?: string | undefined;
3676
3685
  }[] | undefined;
@@ -3686,24 +3695,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3686
3695
  locator: z.ZodOptional<z.ZodString>;
3687
3696
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3688
3697
  }, "strict", z.ZodTypeAny, {
3689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3690
3698
  id: string;
3691
3699
  label: string;
3700
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3692
3701
  capture: "at_action" | "historical_lookup" | "fixture";
3693
3702
  locator?: string | undefined;
3694
3703
  }, {
3695
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3696
3704
  id: string;
3697
3705
  label: string;
3706
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3698
3707
  capture: "at_action" | "historical_lookup" | "fixture";
3699
3708
  locator?: string | undefined;
3700
3709
  }>, "many">>;
3701
3710
  }, "strict", z.ZodTypeAny, {
3702
3711
  kind: "decision_superseded";
3703
3712
  evidence: {
3704
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3705
3713
  id: string;
3706
3714
  label: string;
3715
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3707
3716
  capture: "at_action" | "historical_lookup" | "fixture";
3708
3717
  locator?: string | undefined;
3709
3718
  }[];
@@ -3716,9 +3725,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3716
3725
  correctionId: string;
3717
3726
  replacementDecisionId: string;
3718
3727
  evidence?: {
3719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3728
  id: string;
3721
3729
  label: string;
3730
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3722
3731
  capture: "at_action" | "historical_lookup" | "fixture";
3723
3732
  locator?: string | undefined;
3724
3733
  }[] | undefined;
@@ -3734,15 +3743,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3734
3743
  locator: z.ZodOptional<z.ZodString>;
3735
3744
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3736
3745
  }, "strict", z.ZodTypeAny, {
3737
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
3746
  id: string;
3739
3747
  label: string;
3748
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3740
3749
  capture: "at_action" | "historical_lookup" | "fixture";
3741
3750
  locator?: string | undefined;
3742
3751
  }, {
3743
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3744
3752
  id: string;
3745
3753
  label: string;
3754
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3746
3755
  capture: "at_action" | "historical_lookup" | "fixture";
3747
3756
  locator?: string | undefined;
3748
3757
  }>, "many">>;
@@ -3755,9 +3764,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3755
3764
  agentId: string;
3756
3765
  sessionId: string;
3757
3766
  evidence: {
3758
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3759
3767
  id: string;
3760
3768
  label: string;
3769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3761
3770
  capture: "at_action" | "historical_lookup" | "fixture";
3762
3771
  locator?: string | undefined;
3763
3772
  }[];
@@ -3773,9 +3782,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3773
3782
  recallReceiptId: string;
3774
3783
  capturedAtAction: boolean;
3775
3784
  evidence?: {
3776
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3777
3785
  id: string;
3778
3786
  label: string;
3787
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3788
  capture: "at_action" | "historical_lookup" | "fixture";
3780
3789
  locator?: string | undefined;
3781
3790
  }[] | undefined;
@@ -3791,15 +3800,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3791
3800
  locator: z.ZodOptional<z.ZodString>;
3792
3801
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3793
3802
  }, "strict", z.ZodTypeAny, {
3794
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3795
3803
  id: string;
3796
3804
  label: string;
3805
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3797
3806
  capture: "at_action" | "historical_lookup" | "fixture";
3798
3807
  locator?: string | undefined;
3799
3808
  }, {
3800
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3801
3809
  id: string;
3802
3810
  label: string;
3811
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3803
3812
  capture: "at_action" | "historical_lookup" | "fixture";
3804
3813
  locator?: string | undefined;
3805
3814
  }>, "many">>;
@@ -3811,9 +3820,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3811
3820
  agentId: string;
3812
3821
  sessionId: string;
3813
3822
  evidence: {
3814
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3815
3823
  id: string;
3816
3824
  label: string;
3825
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3817
3826
  capture: "at_action" | "historical_lookup" | "fixture";
3818
3827
  locator?: string | undefined;
3819
3828
  }[];
@@ -3830,9 +3839,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3830
3839
  recallReceiptId: string;
3831
3840
  staleDecisionAbsent: boolean;
3832
3841
  evidence?: {
3833
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3834
3842
  id: string;
3835
3843
  label: string;
3844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
3845
  capture: "at_action" | "historical_lookup" | "fixture";
3837
3846
  locator?: string | undefined;
3838
3847
  }[] | undefined;
@@ -3847,76 +3856,76 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3847
3856
  locator: z.ZodOptional<z.ZodString>;
3848
3857
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3849
3858
  }, "strict", z.ZodTypeAny, {
3850
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3851
3859
  id: string;
3852
3860
  label: string;
3861
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3853
3862
  capture: "at_action" | "historical_lookup" | "fixture";
3854
3863
  locator?: string | undefined;
3855
3864
  }, {
3856
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3857
3865
  id: string;
3858
3866
  label: string;
3867
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3859
3868
  capture: "at_action" | "historical_lookup" | "fixture";
3860
3869
  locator?: string | undefined;
3861
3870
  }>, "many">>;
3862
3871
  }, "strict", z.ZodTypeAny, {
3863
- kind: "mission_completed";
3864
3872
  summary: string;
3873
+ kind: "mission_completed";
3865
3874
  outcome: "failed" | "recovered" | "inconclusive";
3866
3875
  evidence: {
3867
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3868
3876
  id: string;
3869
3877
  label: string;
3878
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3870
3879
  capture: "at_action" | "historical_lookup" | "fixture";
3871
3880
  locator?: string | undefined;
3872
3881
  }[];
3873
3882
  }, {
3874
- kind: "mission_completed";
3875
3883
  summary: string;
3884
+ kind: "mission_completed";
3876
3885
  outcome: "failed" | "recovered" | "inconclusive";
3877
3886
  evidence?: {
3878
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3879
3887
  id: string;
3880
3888
  label: string;
3889
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3881
3890
  capture: "at_action" | "historical_lookup" | "fixture";
3882
3891
  locator?: string | undefined;
3883
3892
  }[] | undefined;
3884
3893
  }>]>, {
3885
3894
  kind: "mission_started";
3886
3895
  title: string;
3887
- objective: string;
3888
- runMode: "replay" | "fixture" | "live";
3889
3896
  evidence: {
3890
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3897
  id: string;
3892
3898
  label: string;
3899
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
3900
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3901
  locator?: string | undefined;
3895
3902
  }[];
3903
+ objective: string;
3904
+ runMode: "replay" | "fixture" | "live";
3896
3905
  } | {
3906
+ label: string;
3907
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3897
3908
  kind: "agent_status";
3898
3909
  role: string;
3899
- status: "failed" | "complete" | "working" | "blocked" | "idle";
3900
- label: string;
3901
3910
  agentId: string;
3902
3911
  sessionId: string;
3903
3912
  evidence: {
3904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3905
3913
  id: string;
3906
3914
  label: string;
3915
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3907
3916
  capture: "at_action" | "historical_lookup" | "fixture";
3908
3917
  locator?: string | undefined;
3909
3918
  }[];
3910
3919
  detail?: string | undefined;
3911
3920
  } | {
3912
- kind: "agent_output";
3913
3921
  summary: string;
3922
+ kind: "agent_output";
3914
3923
  agentId: string;
3915
3924
  sessionId: string;
3916
3925
  evidence: {
3917
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3918
3926
  id: string;
3919
3927
  label: string;
3928
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3920
3929
  capture: "at_action" | "historical_lookup" | "fixture";
3921
3930
  locator?: string | undefined;
3922
3931
  }[];
@@ -3924,12 +3933,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3924
3933
  } | {
3925
3934
  kind: "belief_observed";
3926
3935
  agentId: string;
3927
- sessionId: string;
3928
3936
  statement: string;
3937
+ sessionId: string;
3929
3938
  evidence: {
3930
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3931
3939
  id: string;
3932
3940
  label: string;
3941
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3933
3942
  capture: "at_action" | "historical_lookup" | "fixture";
3934
3943
  locator?: string | undefined;
3935
3944
  }[];
@@ -3937,12 +3946,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3937
3946
  decisionId: string;
3938
3947
  confidence?: number | undefined;
3939
3948
  } | {
3940
- kind: "conflict_detected";
3941
3949
  summary: string;
3950
+ kind: "conflict_detected";
3942
3951
  evidence: {
3943
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3944
3952
  id: string;
3945
3953
  label: string;
3954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3946
3955
  capture: "at_action" | "historical_lookup" | "fixture";
3947
3956
  locator?: string | undefined;
3948
3957
  }[];
@@ -3950,14 +3959,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3950
3959
  decisionIds: string[];
3951
3960
  agentIds: string[];
3952
3961
  } | {
3953
- kind: "test_result";
3954
3962
  summary: string;
3955
- command: string;
3956
3963
  status: "error" | "failed" | "passed";
3964
+ kind: "test_result";
3965
+ command: string;
3957
3966
  evidence: {
3958
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3959
3967
  id: string;
3960
3968
  label: string;
3969
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3961
3970
  capture: "at_action" | "historical_lookup" | "fixture";
3962
3971
  locator?: string | undefined;
3963
3972
  }[];
@@ -3970,9 +3979,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3970
3979
  rationale: string;
3971
3980
  statement: string;
3972
3981
  evidence: {
3973
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3974
3982
  id: string;
3975
3983
  label: string;
3984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3976
3985
  capture: "at_action" | "historical_lookup" | "fixture";
3977
3986
  locator?: string | undefined;
3978
3987
  }[];
@@ -3984,25 +3993,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3984
3993
  } | {
3985
3994
  kind: "correction_approved";
3986
3995
  evidence: {
3987
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3988
3996
  id: string;
3989
3997
  label: string;
3998
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3990
3999
  capture: "at_action" | "historical_lookup" | "fixture";
3991
4000
  locator?: string | undefined;
3992
4001
  }[];
3993
4002
  correctionId: string;
3994
4003
  approvedBy: {
3995
- kind: "agent" | "human";
3996
4004
  id: string;
3997
4005
  label: string;
4006
+ kind: "agent" | "human";
3998
4007
  };
3999
4008
  note?: string | undefined;
4000
4009
  } | {
4001
4010
  kind: "decision_superseded";
4002
4011
  evidence: {
4003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4004
4012
  id: string;
4005
4013
  label: string;
4014
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4006
4015
  capture: "at_action" | "historical_lookup" | "fixture";
4007
4016
  locator?: string | undefined;
4008
4017
  }[];
@@ -4015,9 +4024,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4015
4024
  agentId: string;
4016
4025
  sessionId: string;
4017
4026
  evidence: {
4018
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
4027
  id: string;
4020
4028
  label: string;
4029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4021
4030
  capture: "at_action" | "historical_lookup" | "fixture";
4022
4031
  locator?: string | undefined;
4023
4032
  }[];
@@ -4029,9 +4038,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4029
4038
  agentId: string;
4030
4039
  sessionId: string;
4031
4040
  evidence: {
4032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4033
4041
  id: string;
4034
4042
  label: string;
4043
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4035
4044
  capture: "at_action" | "historical_lookup" | "fixture";
4036
4045
  locator?: string | undefined;
4037
4046
  }[];
@@ -4040,13 +4049,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4040
4049
  recallReceiptId: string;
4041
4050
  staleDecisionAbsent: boolean;
4042
4051
  } | {
4043
- kind: "mission_completed";
4044
4052
  summary: string;
4053
+ kind: "mission_completed";
4045
4054
  outcome: "failed" | "recovered" | "inconclusive";
4046
4055
  evidence: {
4047
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4048
4056
  id: string;
4049
4057
  label: string;
4058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4050
4059
  capture: "at_action" | "historical_lookup" | "fixture";
4051
4060
  locator?: string | undefined;
4052
4061
  }[];
@@ -4056,80 +4065,80 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4056
4065
  objective: string;
4057
4066
  runMode: "replay" | "fixture" | "live";
4058
4067
  evidence?: {
4059
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4060
4068
  id: string;
4061
4069
  label: string;
4070
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4062
4071
  capture: "at_action" | "historical_lookup" | "fixture";
4063
4072
  locator?: string | undefined;
4064
4073
  }[] | undefined;
4065
4074
  } | {
4075
+ label: string;
4076
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4066
4077
  kind: "agent_status";
4067
4078
  role: string;
4068
- status: "failed" | "complete" | "working" | "blocked" | "idle";
4069
- label: string;
4070
4079
  agentId: string;
4071
4080
  sessionId: string;
4072
4081
  detail?: string | undefined;
4073
4082
  evidence?: {
4074
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
4083
  id: string;
4076
4084
  label: string;
4085
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4077
4086
  capture: "at_action" | "historical_lookup" | "fixture";
4078
4087
  locator?: string | undefined;
4079
4088
  }[] | undefined;
4080
4089
  } | {
4081
- kind: "agent_output";
4082
4090
  summary: string;
4091
+ kind: "agent_output";
4083
4092
  agentId: string;
4084
4093
  sessionId: string;
4085
4094
  outputId: string;
4086
4095
  evidence?: {
4087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
4096
  id: string;
4089
4097
  label: string;
4098
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4090
4099
  capture: "at_action" | "historical_lookup" | "fixture";
4091
4100
  locator?: string | undefined;
4092
4101
  }[] | undefined;
4093
4102
  } | {
4094
4103
  kind: "belief_observed";
4095
4104
  agentId: string;
4096
- sessionId: string;
4097
4105
  statement: string;
4106
+ sessionId: string;
4098
4107
  beliefId: string;
4099
4108
  decisionId: string;
4100
4109
  confidence?: number | undefined;
4101
4110
  evidence?: {
4102
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4103
4111
  id: string;
4104
4112
  label: string;
4113
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4105
4114
  capture: "at_action" | "historical_lookup" | "fixture";
4106
4115
  locator?: string | undefined;
4107
4116
  }[] | undefined;
4108
4117
  } | {
4109
- kind: "conflict_detected";
4110
4118
  summary: string;
4119
+ kind: "conflict_detected";
4111
4120
  conflictId: string;
4112
4121
  decisionIds: string[];
4113
4122
  agentIds: string[];
4114
4123
  evidence?: {
4115
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4116
4124
  id: string;
4117
4125
  label: string;
4126
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4118
4127
  capture: "at_action" | "historical_lookup" | "fixture";
4119
4128
  locator?: string | undefined;
4120
4129
  }[] | undefined;
4121
4130
  } | {
4122
- kind: "test_result";
4123
4131
  summary: string;
4124
- command: string;
4125
4132
  status: "error" | "failed" | "passed";
4133
+ kind: "test_result";
4134
+ command: string;
4126
4135
  decisionId: string;
4127
4136
  testId: string;
4128
4137
  durationMs?: number | undefined;
4129
4138
  evidence?: {
4130
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4131
4139
  id: string;
4132
4140
  label: string;
4141
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4133
4142
  capture: "at_action" | "historical_lookup" | "fixture";
4134
4143
  locator?: string | undefined;
4135
4144
  }[] | undefined;
@@ -4144,9 +4153,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4144
4153
  supersedesDecisionIds: string[];
4145
4154
  proposedBy: string;
4146
4155
  evidence?: {
4147
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4148
4156
  id: string;
4149
4157
  label: string;
4158
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4150
4159
  capture: "at_action" | "historical_lookup" | "fixture";
4151
4160
  locator?: string | undefined;
4152
4161
  }[] | undefined;
@@ -4154,15 +4163,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4154
4163
  kind: "correction_approved";
4155
4164
  correctionId: string;
4156
4165
  approvedBy: {
4157
- kind: "agent" | "human";
4158
4166
  id: string;
4159
4167
  label: string;
4168
+ kind: "agent" | "human";
4160
4169
  };
4161
4170
  note?: string | undefined;
4162
4171
  evidence?: {
4163
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4164
4172
  id: string;
4165
4173
  label: string;
4174
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4166
4175
  capture: "at_action" | "historical_lookup" | "fixture";
4167
4176
  locator?: string | undefined;
4168
4177
  }[] | undefined;
@@ -4172,9 +4181,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4172
4181
  correctionId: string;
4173
4182
  replacementDecisionId: string;
4174
4183
  evidence?: {
4175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4176
4184
  id: string;
4177
4185
  label: string;
4186
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
4187
  capture: "at_action" | "historical_lookup" | "fixture";
4179
4188
  locator?: string | undefined;
4180
4189
  }[] | undefined;
@@ -4187,9 +4196,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4187
4196
  recallReceiptId: string;
4188
4197
  capturedAtAction: boolean;
4189
4198
  evidence?: {
4190
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4191
4199
  id: string;
4192
4200
  label: string;
4201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4193
4202
  capture: "at_action" | "historical_lookup" | "fixture";
4194
4203
  locator?: string | undefined;
4195
4204
  }[] | undefined;
@@ -4202,63 +4211,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4202
4211
  recallReceiptId: string;
4203
4212
  staleDecisionAbsent: boolean;
4204
4213
  evidence?: {
4205
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4206
4214
  id: string;
4207
4215
  label: string;
4216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4208
4217
  capture: "at_action" | "historical_lookup" | "fixture";
4209
4218
  locator?: string | undefined;
4210
4219
  }[] | undefined;
4211
4220
  } | {
4212
- kind: "mission_completed";
4213
4221
  summary: string;
4222
+ kind: "mission_completed";
4214
4223
  outcome: "failed" | "recovered" | "inconclusive";
4215
4224
  evidence?: {
4216
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4217
4225
  id: string;
4218
4226
  label: string;
4227
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4219
4228
  capture: "at_action" | "historical_lookup" | "fixture";
4220
4229
  locator?: string | undefined;
4221
4230
  }[] | undefined;
4222
4231
  }>;
4223
4232
  }, "strict", z.ZodTypeAny, {
4224
- schemaVersion: "1";
4233
+ namespace: string;
4225
4234
  recordedAt: string;
4235
+ schemaVersion: "1";
4226
4236
  payload: {
4227
4237
  kind: "mission_started";
4228
4238
  title: string;
4229
- objective: string;
4230
- runMode: "replay" | "fixture" | "live";
4231
4239
  evidence: {
4232
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4233
4240
  id: string;
4234
4241
  label: string;
4242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4235
4243
  capture: "at_action" | "historical_lookup" | "fixture";
4236
4244
  locator?: string | undefined;
4237
4245
  }[];
4246
+ objective: string;
4247
+ runMode: "replay" | "fixture" | "live";
4238
4248
  } | {
4249
+ label: string;
4250
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4239
4251
  kind: "agent_status";
4240
4252
  role: string;
4241
- status: "failed" | "complete" | "working" | "blocked" | "idle";
4242
- label: string;
4243
4253
  agentId: string;
4244
4254
  sessionId: string;
4245
4255
  evidence: {
4246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4247
4256
  id: string;
4248
4257
  label: string;
4258
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4249
4259
  capture: "at_action" | "historical_lookup" | "fixture";
4250
4260
  locator?: string | undefined;
4251
4261
  }[];
4252
4262
  detail?: string | undefined;
4253
4263
  } | {
4254
- kind: "agent_output";
4255
4264
  summary: string;
4265
+ kind: "agent_output";
4256
4266
  agentId: string;
4257
4267
  sessionId: string;
4258
4268
  evidence: {
4259
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4260
4269
  id: string;
4261
4270
  label: string;
4271
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
4272
  capture: "at_action" | "historical_lookup" | "fixture";
4263
4273
  locator?: string | undefined;
4264
4274
  }[];
@@ -4266,12 +4276,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4266
4276
  } | {
4267
4277
  kind: "belief_observed";
4268
4278
  agentId: string;
4269
- sessionId: string;
4270
4279
  statement: string;
4280
+ sessionId: string;
4271
4281
  evidence: {
4272
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4273
4282
  id: string;
4274
4283
  label: string;
4284
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4275
4285
  capture: "at_action" | "historical_lookup" | "fixture";
4276
4286
  locator?: string | undefined;
4277
4287
  }[];
@@ -4279,12 +4289,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4279
4289
  decisionId: string;
4280
4290
  confidence?: number | undefined;
4281
4291
  } | {
4282
- kind: "conflict_detected";
4283
4292
  summary: string;
4293
+ kind: "conflict_detected";
4284
4294
  evidence: {
4285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4286
4295
  id: string;
4287
4296
  label: string;
4297
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
4298
  capture: "at_action" | "historical_lookup" | "fixture";
4289
4299
  locator?: string | undefined;
4290
4300
  }[];
@@ -4292,14 +4302,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4292
4302
  decisionIds: string[];
4293
4303
  agentIds: string[];
4294
4304
  } | {
4295
- kind: "test_result";
4296
4305
  summary: string;
4297
- command: string;
4298
4306
  status: "error" | "failed" | "passed";
4307
+ kind: "test_result";
4308
+ command: string;
4299
4309
  evidence: {
4300
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4301
4310
  id: string;
4302
4311
  label: string;
4312
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4303
4313
  capture: "at_action" | "historical_lookup" | "fixture";
4304
4314
  locator?: string | undefined;
4305
4315
  }[];
@@ -4312,9 +4322,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4312
4322
  rationale: string;
4313
4323
  statement: string;
4314
4324
  evidence: {
4315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4316
4325
  id: string;
4317
4326
  label: string;
4327
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4318
4328
  capture: "at_action" | "historical_lookup" | "fixture";
4319
4329
  locator?: string | undefined;
4320
4330
  }[];
@@ -4326,25 +4336,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4326
4336
  } | {
4327
4337
  kind: "correction_approved";
4328
4338
  evidence: {
4329
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4330
4339
  id: string;
4331
4340
  label: string;
4341
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4332
4342
  capture: "at_action" | "historical_lookup" | "fixture";
4333
4343
  locator?: string | undefined;
4334
4344
  }[];
4335
4345
  correctionId: string;
4336
4346
  approvedBy: {
4337
- kind: "agent" | "human";
4338
4347
  id: string;
4339
4348
  label: string;
4349
+ kind: "agent" | "human";
4340
4350
  };
4341
4351
  note?: string | undefined;
4342
4352
  } | {
4343
4353
  kind: "decision_superseded";
4344
4354
  evidence: {
4345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4346
4355
  id: string;
4347
4356
  label: string;
4357
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4348
4358
  capture: "at_action" | "historical_lookup" | "fixture";
4349
4359
  locator?: string | undefined;
4350
4360
  }[];
@@ -4357,9 +4367,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4357
4367
  agentId: string;
4358
4368
  sessionId: string;
4359
4369
  evidence: {
4360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4361
4370
  id: string;
4362
4371
  label: string;
4372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4363
4373
  capture: "at_action" | "historical_lookup" | "fixture";
4364
4374
  locator?: string | undefined;
4365
4375
  }[];
@@ -4371,9 +4381,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4371
4381
  agentId: string;
4372
4382
  sessionId: string;
4373
4383
  evidence: {
4374
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4375
4384
  id: string;
4376
4385
  label: string;
4386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4377
4387
  capture: "at_action" | "historical_lookup" | "fixture";
4378
4388
  locator?: string | undefined;
4379
4389
  }[];
@@ -4382,106 +4392,106 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4382
4392
  recallReceiptId: string;
4383
4393
  staleDecisionAbsent: boolean;
4384
4394
  } | {
4385
- kind: "mission_completed";
4386
4395
  summary: string;
4396
+ kind: "mission_completed";
4387
4397
  outcome: "failed" | "recovered" | "inconclusive";
4388
4398
  evidence: {
4389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4390
4399
  id: string;
4391
4400
  label: string;
4401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4392
4402
  capture: "at_action" | "historical_lookup" | "fixture";
4393
4403
  locator?: string | undefined;
4394
4404
  }[];
4395
4405
  };
4396
- namespace: string;
4397
4406
  eventId: string;
4398
4407
  occurredAt: string;
4399
4408
  missionId: string;
4400
- idempotencyKey?: string | undefined;
4401
4409
  authenticatedPrincipal?: string | undefined;
4410
+ idempotencyKey?: string | undefined;
4402
4411
  }, {
4403
- schemaVersion: "1";
4412
+ namespace: string;
4404
4413
  recordedAt: string;
4414
+ schemaVersion: "1";
4405
4415
  payload: {
4406
4416
  kind: "mission_started";
4407
4417
  title: string;
4408
4418
  objective: string;
4409
4419
  runMode: "replay" | "fixture" | "live";
4410
4420
  evidence?: {
4411
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
4421
  id: string;
4413
4422
  label: string;
4423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
4424
  capture: "at_action" | "historical_lookup" | "fixture";
4415
4425
  locator?: string | undefined;
4416
4426
  }[] | undefined;
4417
4427
  } | {
4428
+ label: string;
4429
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4418
4430
  kind: "agent_status";
4419
4431
  role: string;
4420
- status: "failed" | "complete" | "working" | "blocked" | "idle";
4421
- label: string;
4422
4432
  agentId: string;
4423
4433
  sessionId: string;
4424
4434
  detail?: string | undefined;
4425
4435
  evidence?: {
4426
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
4436
  id: string;
4428
4437
  label: string;
4438
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4429
4439
  capture: "at_action" | "historical_lookup" | "fixture";
4430
4440
  locator?: string | undefined;
4431
4441
  }[] | undefined;
4432
4442
  } | {
4433
- kind: "agent_output";
4434
4443
  summary: string;
4444
+ kind: "agent_output";
4435
4445
  agentId: string;
4436
4446
  sessionId: string;
4437
4447
  outputId: string;
4438
4448
  evidence?: {
4439
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4440
4449
  id: string;
4441
4450
  label: string;
4451
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4442
4452
  capture: "at_action" | "historical_lookup" | "fixture";
4443
4453
  locator?: string | undefined;
4444
4454
  }[] | undefined;
4445
4455
  } | {
4446
4456
  kind: "belief_observed";
4447
4457
  agentId: string;
4448
- sessionId: string;
4449
4458
  statement: string;
4459
+ sessionId: string;
4450
4460
  beliefId: string;
4451
4461
  decisionId: string;
4452
4462
  confidence?: number | undefined;
4453
4463
  evidence?: {
4454
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4455
4464
  id: string;
4456
4465
  label: string;
4466
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4457
4467
  capture: "at_action" | "historical_lookup" | "fixture";
4458
4468
  locator?: string | undefined;
4459
4469
  }[] | undefined;
4460
4470
  } | {
4461
- kind: "conflict_detected";
4462
4471
  summary: string;
4472
+ kind: "conflict_detected";
4463
4473
  conflictId: string;
4464
4474
  decisionIds: string[];
4465
4475
  agentIds: string[];
4466
4476
  evidence?: {
4467
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4468
4477
  id: string;
4469
4478
  label: string;
4479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4470
4480
  capture: "at_action" | "historical_lookup" | "fixture";
4471
4481
  locator?: string | undefined;
4472
4482
  }[] | undefined;
4473
4483
  } | {
4474
- kind: "test_result";
4475
4484
  summary: string;
4476
- command: string;
4477
4485
  status: "error" | "failed" | "passed";
4486
+ kind: "test_result";
4487
+ command: string;
4478
4488
  decisionId: string;
4479
4489
  testId: string;
4480
4490
  durationMs?: number | undefined;
4481
4491
  evidence?: {
4482
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4483
4492
  id: string;
4484
4493
  label: string;
4494
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4485
4495
  capture: "at_action" | "historical_lookup" | "fixture";
4486
4496
  locator?: string | undefined;
4487
4497
  }[] | undefined;
@@ -4496,9 +4506,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4496
4506
  supersedesDecisionIds: string[];
4497
4507
  proposedBy: string;
4498
4508
  evidence?: {
4499
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4500
4509
  id: string;
4501
4510
  label: string;
4511
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4502
4512
  capture: "at_action" | "historical_lookup" | "fixture";
4503
4513
  locator?: string | undefined;
4504
4514
  }[] | undefined;
@@ -4506,15 +4516,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4506
4516
  kind: "correction_approved";
4507
4517
  correctionId: string;
4508
4518
  approvedBy: {
4509
- kind: "agent" | "human";
4510
4519
  id: string;
4511
4520
  label: string;
4521
+ kind: "agent" | "human";
4512
4522
  };
4513
4523
  note?: string | undefined;
4514
4524
  evidence?: {
4515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4516
4525
  id: string;
4517
4526
  label: string;
4527
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4518
4528
  capture: "at_action" | "historical_lookup" | "fixture";
4519
4529
  locator?: string | undefined;
4520
4530
  }[] | undefined;
@@ -4524,9 +4534,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4524
4534
  correctionId: string;
4525
4535
  replacementDecisionId: string;
4526
4536
  evidence?: {
4527
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4528
4537
  id: string;
4529
4538
  label: string;
4539
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4530
4540
  capture: "at_action" | "historical_lookup" | "fixture";
4531
4541
  locator?: string | undefined;
4532
4542
  }[] | undefined;
@@ -4539,9 +4549,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4539
4549
  recallReceiptId: string;
4540
4550
  capturedAtAction: boolean;
4541
4551
  evidence?: {
4542
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
4552
  id: string;
4544
4553
  label: string;
4554
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4545
4555
  capture: "at_action" | "historical_lookup" | "fixture";
4546
4556
  locator?: string | undefined;
4547
4557
  }[] | undefined;
@@ -4554,30 +4564,29 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4554
4564
  recallReceiptId: string;
4555
4565
  staleDecisionAbsent: boolean;
4556
4566
  evidence?: {
4557
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4558
4567
  id: string;
4559
4568
  label: string;
4569
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4560
4570
  capture: "at_action" | "historical_lookup" | "fixture";
4561
4571
  locator?: string | undefined;
4562
4572
  }[] | undefined;
4563
4573
  } | {
4564
- kind: "mission_completed";
4565
4574
  summary: string;
4575
+ kind: "mission_completed";
4566
4576
  outcome: "failed" | "recovered" | "inconclusive";
4567
4577
  evidence?: {
4568
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4569
4578
  id: string;
4570
4579
  label: string;
4580
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4571
4581
  capture: "at_action" | "historical_lookup" | "fixture";
4572
4582
  locator?: string | undefined;
4573
4583
  }[] | undefined;
4574
4584
  };
4575
- namespace: string;
4576
4585
  eventId: string;
4577
4586
  occurredAt: string;
4578
4587
  missionId: string;
4579
- idempotencyKey?: string | undefined;
4580
4588
  authenticatedPrincipal?: string | undefined;
4589
+ idempotencyKey?: string | undefined;
4581
4590
  }>;
4582
4591
  type RelayMissionEvent = z.infer<typeof RelayMissionEventSchema>;
4583
4592
  declare const RelayMissionReadOptionsSchema: z.ZodEffects<z.ZodObject<{
@@ -4586,20 +4595,20 @@ declare const RelayMissionReadOptionsSchema: z.ZodEffects<z.ZodObject<{
4586
4595
  limit: z.ZodDefault<z.ZodNumber>;
4587
4596
  }, "strict", z.ZodTypeAny, {
4588
4597
  limit: number;
4589
- since?: string | undefined;
4590
4598
  until?: string | undefined;
4591
- }, {
4592
4599
  since?: string | undefined;
4600
+ }, {
4593
4601
  limit?: number | undefined;
4594
4602
  until?: string | undefined;
4603
+ since?: string | undefined;
4595
4604
  }>, {
4596
4605
  limit: number;
4597
- since?: string | undefined;
4598
4606
  until?: string | undefined;
4599
- }, {
4600
4607
  since?: string | undefined;
4608
+ }, {
4601
4609
  limit?: number | undefined;
4602
4610
  until?: string | undefined;
4611
+ since?: string | undefined;
4603
4612
  }>;
4604
4613
  type RelayMissionReadOptions = z.input<typeof RelayMissionReadOptionsSchema>;
4605
4614
  type RelayMissionStatus = "not_started" | "active" | "awaiting_approval" | "correcting" | "verified" | "completed" | "failed";