@remnic/core 9.69.32 → 9.69.34

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 (775) hide show
  1. package/dist/access-admin-ops-surface.d.ts +13 -11
  2. package/dist/access-admin-ops-surface.js +64 -59
  3. package/dist/access-authorization-probe.d.ts +13 -11
  4. package/dist/access-authorization-probe.js +65 -60
  5. package/dist/access-boundary.d.ts +13 -11
  6. package/dist/access-boundary.js +64 -59
  7. package/dist/access-cli.js +140 -136
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +2 -1
  10. package/dist/access-coding-context-resolution.js +3 -3
  11. package/dist/access-extraction-force-flush.d.ts +13 -11
  12. package/dist/access-extraction-force-flush.js +64 -59
  13. package/dist/access-health-types.d.ts +2 -1
  14. package/dist/access-http-briefing.d.ts +13 -11
  15. package/dist/access-http-briefing.js +65 -60
  16. package/dist/access-http-lcm-compaction.d.ts +13 -11
  17. package/dist/access-http-lifecycle-flush.d.ts +13 -11
  18. package/dist/access-http-offline-stream.d.ts +13 -11
  19. package/dist/access-http-query.d.ts +3 -2
  20. package/dist/access-http-query.js +66 -61
  21. package/dist/access-http.d.ts +14 -12
  22. package/dist/access-http.js +86 -82
  23. package/dist/access-identity-continuity-surface.d.ts +11 -9
  24. package/dist/access-identity-continuity-surface.js +64 -59
  25. package/dist/access-lcm-surface.d.ts +13 -11
  26. package/dist/access-lcm-surface.js +64 -59
  27. package/dist/access-mcp.d.ts +13 -11
  28. package/dist/access-mcp.js +73 -69
  29. package/dist/access-memory-search-fanout.d.ts +3 -2
  30. package/dist/{access-namespace-preflight-BsvmyENS.d.ts → access-namespace-preflight-kXG8MvYx.d.ts} +1 -1
  31. package/dist/access-namespace-preflight.d.ts +4 -3
  32. package/dist/access-namespace-preflight.js +64 -59
  33. package/dist/access-observe-transcript.d.ts +11 -9
  34. package/dist/access-observe-transcript.js +3 -3
  35. package/dist/access-observe-write-surface.d.ts +15 -13
  36. package/dist/access-observe-write-surface.js +64 -59
  37. package/dist/access-offline-manifest.d.ts +47 -11
  38. package/dist/access-offline-manifest.js +18 -16
  39. package/dist/access-operations-batch.js +67 -63
  40. package/dist/access-operations.d.ts +18 -16
  41. package/dist/access-operations.js +72 -68
  42. package/dist/access-recall-concurrency.d.ts +13 -11
  43. package/dist/access-recall-concurrency.js +64 -59
  44. package/dist/access-recall-response.d.ts +13 -11
  45. package/dist/access-recall-response.js +64 -59
  46. package/dist/access-recall-surface.d.ts +13 -11
  47. package/dist/access-recall-surface.js +64 -59
  48. package/dist/access-schema.d.ts +138 -96
  49. package/dist/access-schema.js +15 -1
  50. package/dist/{access-service-CCpOuS46.d.ts → access-service-WUm2LnXZ.d.ts} +110 -108
  51. package/dist/access-service-helpers.d.ts +13 -11
  52. package/dist/access-service.d.ts +13 -11
  53. package/dist/access-service.js +64 -59
  54. package/dist/access-surface-catalog.d.ts +13 -11
  55. package/dist/access-surface-catalog.js +66 -61
  56. package/dist/access-surface-catalog.js.map +1 -1
  57. package/dist/access-wearables-meetings-surface.d.ts +4 -3
  58. package/dist/action-confidence.d.ts +2 -1
  59. package/dist/active-memory-bridge.d.ts +2 -1
  60. package/dist/active-memory-bridge.js +2 -2
  61. package/dist/active-recall.d.ts +2 -1
  62. package/dist/active-recall.js +14 -12
  63. package/dist/active-recall.js.map +1 -1
  64. package/dist/activity/digest.d.ts +56 -0
  65. package/dist/activity/digest.js +32 -0
  66. package/dist/adapters/index.d.ts +46 -1
  67. package/dist/adapters/index.js +13 -9
  68. package/dist/adapters/registry.js +3 -3
  69. package/dist/ambient-provenance.d.ts +2 -1
  70. package/dist/artifact-search.d.ts +2 -1
  71. package/dist/{auto-sync-NSHLUAQI.js → auto-sync-4YFATLFQ.js} +10 -9
  72. package/dist/{auto-sync-NSHLUAQI.js.map → auto-sync-4YFATLFQ.js.map} +1 -1
  73. package/dist/behavior-learner.d.ts +2 -1
  74. package/dist/behavior-signals.d.ts +2 -1
  75. package/dist/bootstrap.d.ts +11 -9
  76. package/dist/briefing-window.d.ts +3 -2
  77. package/dist/briefing.d.ts +3 -2
  78. package/dist/briefing.js +28 -27
  79. package/dist/buffer-surprise-report.d.ts +2 -1
  80. package/dist/buffer-turn-helpers.d.ts +2 -1
  81. package/dist/buffer.d.ts +3 -2
  82. package/dist/buffer.js +12 -11
  83. package/dist/bulk-import/index.d.ts +4 -3
  84. package/dist/calibration.d.ts +2 -1
  85. package/dist/calibration.js +3 -2
  86. package/dist/calibration.js.map +1 -1
  87. package/dist/capabilities.d.ts +2 -1
  88. package/dist/{capsule-merge-IPG4IOFP.js → capsule-merge-ZCXUPLNJ.js} +2 -2
  89. package/dist/{catalog-CDZLyiXL.d.ts → catalog-BaCx29iv.d.ts} +1 -1
  90. package/dist/causal-behavior.d.ts +2 -1
  91. package/dist/causal-consolidation.d.ts +2 -1
  92. package/dist/causal-consolidation.js +29 -28
  93. package/dist/causal-consolidation.js.map +1 -1
  94. package/dist/causal-trajectory-graph.d.ts +2 -1
  95. package/dist/{chunk-CDKHKZL5.js → chunk-2524MOWK.js} +2 -2
  96. package/dist/{chunk-HVAEXYPL.js → chunk-255PC37A.js} +47 -25
  97. package/dist/chunk-255PC37A.js.map +1 -0
  98. package/dist/{chunk-IY2FVXM6.js → chunk-2AU4D4HQ.js} +3 -3
  99. package/dist/{chunk-QDY6KYTN.js → chunk-2JCA2PQT.js} +3 -3
  100. package/dist/{chunk-RSVEP77Y.js → chunk-2UZ5ZH6W.js} +3 -3
  101. package/dist/{chunk-XQ2Q43XD.js → chunk-326KUXIR.js} +15 -648
  102. package/dist/chunk-326KUXIR.js.map +1 -0
  103. package/dist/{chunk-NWWXSJX5.js → chunk-34QW2LK2.js} +2 -2
  104. package/dist/{chunk-S7DPKM5W.js → chunk-353C5UNV.js} +1 -1
  105. package/dist/{chunk-GQOMZ3MK.js → chunk-36UBSLFN.js} +2 -2
  106. package/dist/{chunk-DBQWVT2H.js → chunk-3CBI2ZSA.js} +2 -2
  107. package/dist/{chunk-NZXEK3UF.js → chunk-3Q3N35W7.js} +2 -2
  108. package/dist/{chunk-YYGZJPOK.js → chunk-42DJ235G.js} +2 -2
  109. package/dist/{chunk-7VJXIDOC.js → chunk-4JVQRFZD.js} +9 -9
  110. package/dist/{chunk-22FVR2KE.js → chunk-4MIS4CQW.js} +6 -2
  111. package/dist/chunk-4MIS4CQW.js.map +1 -0
  112. package/dist/{chunk-WHBVXTUI.js → chunk-4PB2MBY6.js} +9 -9
  113. package/dist/{chunk-TEYN7ZYF.js → chunk-4WCNPQQ5.js} +4 -4
  114. package/dist/{chunk-Z4PCVRTN.js → chunk-5A7ZUOBA.js} +217 -396
  115. package/dist/chunk-5A7ZUOBA.js.map +1 -0
  116. package/dist/chunk-5HYUUFMQ.js +1280 -0
  117. package/dist/chunk-5HYUUFMQ.js.map +1 -0
  118. package/dist/{chunk-RBGREYVJ.js → chunk-5QBDLMGG.js} +2 -2
  119. package/dist/{chunk-RKBLRTNT.js → chunk-5SDSVX7N.js} +2 -2
  120. package/dist/{chunk-LPECRQO4.js → chunk-5THU7NFP.js} +3 -3
  121. package/dist/{chunk-N7RWREIQ.js → chunk-65RENJGB.js} +6 -1
  122. package/dist/chunk-65RENJGB.js.map +1 -0
  123. package/dist/{chunk-LWA7MDVO.js → chunk-6CCRSQWT.js} +2 -2
  124. package/dist/{chunk-TIT2C6WX.js → chunk-6XYC7NM4.js} +2 -2
  125. package/dist/{chunk-FHQSPTPZ.js → chunk-6YAIN5XJ.js} +2 -2
  126. package/dist/{chunk-PV36INNL.js → chunk-757NP436.js} +3 -3
  127. package/dist/{chunk-WJBZMNNS.js → chunk-7CAY3YKP.js} +742 -29
  128. package/dist/chunk-7CAY3YKP.js.map +1 -0
  129. package/dist/{chunk-6H5JYDOM.js → chunk-7J2CGXG3.js} +2 -2
  130. package/dist/{chunk-FBMYGNOC.js → chunk-A2YQL2FF.js} +6 -6
  131. package/dist/chunk-A5UQ52YQ.js +211 -0
  132. package/dist/chunk-A5UQ52YQ.js.map +1 -0
  133. package/dist/{chunk-X2NFFBTO.js → chunk-A7GQBJP5.js} +4 -4
  134. package/dist/{chunk-MPYD657E.js → chunk-A7WOWDZK.js} +2 -2
  135. package/dist/{chunk-C4OTC6WY.js → chunk-AIKTQVV3.js} +3 -3
  136. package/dist/{chunk-CGC5UQCF.js → chunk-AKE4GGQ3.js} +2 -2
  137. package/dist/{chunk-VP67GZ7T.js → chunk-APFKZVJS.js} +2 -2
  138. package/dist/{chunk-M75RYSHS.js → chunk-AQIRQUCP.js} +2 -2
  139. package/dist/{chunk-S7T2TY65.js → chunk-AXFR2NQ5.js} +3 -3
  140. package/dist/{chunk-PSPABFN2.js → chunk-BD7JTBYP.js} +4 -4
  141. package/dist/{chunk-FCSZ4K2X.js → chunk-BJJWRWER.js} +3 -3
  142. package/dist/{chunk-JT3EB7ZL.js → chunk-BNGHPYZU.js} +5 -5
  143. package/dist/chunk-BRZWWUCJ.js +13 -0
  144. package/dist/{chunk-FYDW33ZB.js.map → chunk-BRZWWUCJ.js.map} +1 -1
  145. package/dist/{chunk-MFJBANPX.js → chunk-C2BFTYD7.js} +2 -2
  146. package/dist/{chunk-3JVLGJCY.js → chunk-C6KRO3SU.js} +2 -2
  147. package/dist/{chunk-Q3O3VKRB.js → chunk-CRUFVJOX.js} +16 -15
  148. package/dist/chunk-CRUFVJOX.js.map +1 -0
  149. package/dist/{chunk-AOCP6JA7.js → chunk-D3IZCN5P.js} +4 -4
  150. package/dist/{chunk-ROKKIMON.js → chunk-EJIEQOPB.js} +5 -5
  151. package/dist/{chunk-ET356KSB.js → chunk-F4TWWUMP.js} +2 -2
  152. package/dist/{chunk-CLLPJ6QT.js → chunk-FQXJAC3T.js} +2 -2
  153. package/dist/{chunk-DD5JFCWM.js → chunk-GCBIXUPT.js} +2 -2
  154. package/dist/{chunk-ROGRI25A.js → chunk-I3H5LFOI.js} +2 -2
  155. package/dist/{chunk-S65WXHNK.js → chunk-IFFLUCCU.js} +2 -2
  156. package/dist/{chunk-MYMNC6O5.js → chunk-ISYZ5DUI.js} +64 -60
  157. package/dist/{chunk-MYMNC6O5.js.map → chunk-ISYZ5DUI.js.map} +1 -1
  158. package/dist/{chunk-D5LORF7A.js → chunk-JZDH2ZZK.js} +3 -3
  159. package/dist/{chunk-2GPE5UCR.js → chunk-K6IPSW5B.js} +2 -2
  160. package/dist/{chunk-HG6HXVHQ.js → chunk-KDJHLOZP.js} +10 -10
  161. package/dist/{chunk-I27RSQRR.js → chunk-KYGOQV37.js} +2 -2
  162. package/dist/{chunk-JEIXTYVG.js → chunk-L2QLDZJC.js} +46 -17
  163. package/dist/chunk-L2QLDZJC.js.map +1 -0
  164. package/dist/{chunk-A7XEPMQ6.js → chunk-LAVJC57X.js} +3 -3
  165. package/dist/chunk-LAVJC57X.js.map +1 -0
  166. package/dist/{chunk-VZWXFXLX.js → chunk-LMCD5W5B.js} +2 -2
  167. package/dist/{chunk-3QQTXYZ6.js → chunk-LSLCFCCQ.js} +2 -1
  168. package/dist/chunk-LSLCFCCQ.js.map +1 -0
  169. package/dist/{chunk-MKD3OMPS.js → chunk-M3MYMWXG.js} +2 -2
  170. package/dist/{chunk-DITMGZOL.js → chunk-MMG5K6XJ.js} +2 -2
  171. package/dist/{chunk-VGXM5B4H.js → chunk-MNIPH6LD.js} +2 -2
  172. package/dist/{chunk-CZYYJZB6.js → chunk-ND2O2PVN.js} +1014 -1318
  173. package/dist/chunk-ND2O2PVN.js.map +1 -0
  174. package/dist/chunk-NPNSKE76.js +220 -0
  175. package/dist/chunk-NPNSKE76.js.map +1 -0
  176. package/dist/{chunk-MKWKYHXJ.js → chunk-OB3XMWX5.js} +4 -4
  177. package/dist/{chunk-XU6OEECT.js → chunk-OQQXGYMX.js} +3 -3
  178. package/dist/{chunk-GTWHVXPA.js → chunk-OZUXKUPD.js} +6 -4
  179. package/dist/{chunk-GTWHVXPA.js.map → chunk-OZUXKUPD.js.map} +1 -1
  180. package/dist/chunk-PCEYGOSL.js +66 -0
  181. package/dist/chunk-PCEYGOSL.js.map +1 -0
  182. package/dist/{chunk-47DEYNMR.js → chunk-PEXW2JCK.js} +2 -2
  183. package/dist/{chunk-EEOUMG3J.js → chunk-PWPIERBM.js} +38 -6
  184. package/dist/chunk-PWPIERBM.js.map +1 -0
  185. package/dist/chunk-Q4AUIFUA.js +111 -0
  186. package/dist/chunk-Q4AUIFUA.js.map +1 -0
  187. package/dist/{chunk-SO7SV523.js → chunk-Q6LCCIZN.js} +1 -1
  188. package/dist/chunk-Q6LCCIZN.js.map +1 -0
  189. package/dist/{chunk-42SDNZCU.js → chunk-QF4J3KMV.js} +19 -19
  190. package/dist/{chunk-SB6PSOP7.js → chunk-QLJ6762U.js} +2 -2
  191. package/dist/{chunk-XOVKXJEP.js → chunk-R3TLVTWW.js} +3 -3
  192. package/dist/{chunk-PHNAB54Q.js → chunk-RQO3J4MR.js} +2 -2
  193. package/dist/{chunk-5N53UBH2.js → chunk-RR7G2X7C.js} +5 -5
  194. package/dist/{chunk-DCJ3YFIC.js → chunk-S2ULTQZR.js} +2 -2
  195. package/dist/{chunk-GY5WZBA6.js → chunk-S76KRJDG.js} +3 -3
  196. package/dist/{chunk-H272ZPQ3.js → chunk-SHEHQBCG.js} +124 -23
  197. package/dist/chunk-SHEHQBCG.js.map +1 -0
  198. package/dist/{chunk-EEC4PCG5.js → chunk-SZDLX763.js} +2 -2
  199. package/dist/{chunk-SQJ3SDIW.js → chunk-SZWEDG3H.js} +13 -7
  200. package/dist/chunk-SZWEDG3H.js.map +1 -0
  201. package/dist/{chunk-E2ZHGBAK.js → chunk-T2JSUEH6.js} +2 -2
  202. package/dist/{chunk-QMGXMJ2O.js → chunk-T2YFZ27G.js} +9 -9
  203. package/dist/{chunk-LEPOP46W.js → chunk-TFA6HPOA.js} +4 -4
  204. package/dist/{chunk-BA6WOZOT.js → chunk-TK4FHQRN.js} +4 -4
  205. package/dist/chunk-TLHNF6GA.js +647 -0
  206. package/dist/chunk-TLHNF6GA.js.map +1 -0
  207. package/dist/{chunk-ZNJSBIP4.js → chunk-TNSCIPBQ.js} +4 -4
  208. package/dist/{chunk-YUMDFDUA.js → chunk-TWYTGIBR.js} +4 -4
  209. package/dist/{chunk-FDLDOEO6.js → chunk-UBG4GAEP.js} +51 -6
  210. package/dist/chunk-UBG4GAEP.js.map +1 -0
  211. package/dist/{chunk-EZZV7OQL.js → chunk-UEZKN6VR.js} +2 -2
  212. package/dist/{chunk-HY55QQD7.js → chunk-UJX4I26O.js} +2 -2
  213. package/dist/{chunk-BLUYQFRH.js → chunk-VELCIWJZ.js} +15 -11
  214. package/dist/chunk-VELCIWJZ.js.map +1 -0
  215. package/dist/{chunk-CBCNKKZD.js → chunk-VIZR45AN.js} +2 -2
  216. package/dist/{chunk-ZG74PWRW.js → chunk-VZAKYDMJ.js} +2 -2
  217. package/dist/{chunk-ITPS5DDH.js → chunk-W5BLTZZJ.js} +8 -8
  218. package/dist/chunk-W6IJMWTZ.js +72 -0
  219. package/dist/chunk-W6IJMWTZ.js.map +1 -0
  220. package/dist/{chunk-H3TKENU4.js → chunk-WIKO4SCR.js} +5 -5
  221. package/dist/{chunk-YFLLGRXO.js → chunk-X2QPKLPL.js} +2 -2
  222. package/dist/{chunk-FGGYSN4P.js → chunk-X424T5JQ.js} +2 -2
  223. package/dist/{chunk-NAXDPKVM.js → chunk-XPJNT6PI.js} +4 -4
  224. package/dist/{chunk-2JVJ7UHC.js → chunk-XQU3CPF2.js} +4 -2
  225. package/dist/chunk-XQU3CPF2.js.map +1 -0
  226. package/dist/chunk-XW2T4QAW.js +1 -0
  227. package/dist/{chunk-VED2YHUD.js → chunk-YEDVOYL2.js} +2 -2
  228. package/dist/{chunk-TLPZ6MKZ.js → chunk-YEN4TREG.js} +541 -5
  229. package/dist/chunk-YEN4TREG.js.map +1 -0
  230. package/dist/{chunk-RC5DXXWC.js → chunk-YM7YN37H.js} +2 -2
  231. package/dist/{chunk-VLXBE57O.js → chunk-YVGXH72Y.js} +2 -2
  232. package/dist/{chunk-YQAXP5AC.js → chunk-YXLUTALO.js} +5 -5
  233. package/dist/{chunk-565C6ZFO.js → chunk-Z7YDVHDI.js} +2 -2
  234. package/dist/{chunk-O75CRYGF.js → chunk-ZEFVK7XC.js} +1 -1
  235. package/dist/chunk-ZEFVK7XC.js.map +1 -0
  236. package/dist/{chunk-XUE46UYW.js → chunk-ZLN7AROH.js} +6 -6
  237. package/dist/{chunk-GVG3JYBI.js → chunk-ZMKYCFJ7.js} +640 -199
  238. package/dist/chunk-ZMKYCFJ7.js.map +1 -0
  239. package/dist/{chunk-HK32G473.js → chunk-ZWEZXVYH.js} +2 -2
  240. package/dist/{cli-NEEdq5Rt.d.ts → cli-5mTYh1Tn.d.ts} +5 -5
  241. package/dist/cli-fallback.d.ts +11 -4
  242. package/dist/cli-fallback.js +5 -1
  243. package/dist/cli.d.ts +15 -13
  244. package/dist/cli.js +110 -106
  245. package/dist/coding/export-okf-codegraph.d.ts +2 -1
  246. package/dist/coding/export-okf-codegraph.js +34 -32
  247. package/dist/coding/export-okf-codegraph.js.map +1 -1
  248. package/dist/coding/pre-action-gate.d.ts +2 -1
  249. package/dist/compat/checks.js +2 -2
  250. package/dist/compat/codex-cli-fallback.d.ts +1 -1
  251. package/dist/compat/codex-cli-fallback.js +5 -1
  252. package/dist/compat/codex-cli-fallback.js.map +1 -1
  253. package/dist/compounding/engine.d.ts +3 -2
  254. package/dist/compounding/engine.js +29 -28
  255. package/dist/compounding/preference-consolidator.d.ts +2 -1
  256. package/dist/compression-optimizer.d.ts +2 -1
  257. package/dist/config.d.ts +2 -1
  258. package/dist/config.js +14 -12
  259. package/dist/connectors/codex-materialize-runner.d.ts +2 -1
  260. package/dist/connectors/codex-materialize-runner.js +28 -27
  261. package/dist/connectors/codex-materialize.d.ts +2 -1
  262. package/dist/connectors/index.d.ts +2 -1
  263. package/dist/connectors/index.js +30 -29
  264. package/dist/consolidation-provenance-check.d.ts +3 -2
  265. package/dist/consolidation-undo.d.ts +3 -2
  266. package/dist/contradiction/index.d.ts +4 -3
  267. package/dist/contradiction/index.js +5 -5
  268. package/dist/{contradiction-scan-NOYMFG66.js → contradiction-scan-GVD4JJ7B.js} +3 -3
  269. package/dist/converge-config.d.ts +2 -1
  270. package/dist/convergence-refresh.d.ts +3 -2
  271. package/dist/convergence-refresh.js +30 -29
  272. package/dist/conversation-index/backend.d.ts +2 -1
  273. package/dist/conversation-index/backend.js +3 -3
  274. package/dist/conversation-index/chunker.d.ts +2 -1
  275. package/dist/conversation-index/faiss-adapter.d.ts +2 -1
  276. package/dist/conversation-index/faiss-adapter.js +2 -2
  277. package/dist/conversation-index/indexer.d.ts +2 -1
  278. package/dist/conversation-index/search.d.ts +2 -1
  279. package/dist/corpus-watermark.d.ts +2 -1
  280. package/dist/corpus-watermark.js +31 -30
  281. package/dist/cross-lingual-recall.d.ts +2 -1
  282. package/dist/day-summary.d.ts +2 -1
  283. package/dist/deep-recall-http-glue.d.ts +13 -11
  284. package/dist/deep-recall-http-glue.js +12 -2
  285. package/dist/deep-recall-mcp-tools.d.ts +13 -11
  286. package/dist/deep-recall-policy-llm.d.ts +2 -1
  287. package/dist/deep-recall-policy-llm.js +4 -3
  288. package/dist/deep-recall-seeds.d.ts +2 -1
  289. package/dist/delinearize.d.ts +2 -1
  290. package/dist/dependency-propagation-config.d.ts +2 -1
  291. package/dist/{dependency-propagation-delivery-CQPCu0o5.d.ts → dependency-propagation-delivery-CDQCxNll.d.ts} +1 -1
  292. package/dist/direct-answer-wiring.d.ts +2 -1
  293. package/dist/direct-answer.d.ts +2 -1
  294. package/dist/embedding-fallback.d.ts +2 -1
  295. package/dist/enrichment/index.d.ts +2 -1
  296. package/dist/entity-origin-fields.d.ts +2 -1
  297. package/dist/entity-retrieval.d.ts +3 -2
  298. package/dist/entity-retrieval.js +28 -27
  299. package/dist/entity-schema.d.ts +2 -1
  300. package/dist/episodic-context.d.ts +2 -1
  301. package/dist/eval-trajectory-contracts.d.ts +2 -1
  302. package/dist/eval-trajectory-store.d.ts +2 -1
  303. package/dist/eval-trajectory.d.ts +2 -1
  304. package/dist/explicit-capture.d.ts +11 -9
  305. package/dist/explicit-capture.js +6 -6
  306. package/dist/external-wiki-access.d.ts +13 -11
  307. package/dist/external-wiki-access.js +65 -60
  308. package/dist/external-wiki-collection-registration.d.ts +2 -1
  309. package/dist/external-wiki-collection.d.ts +2 -1
  310. package/dist/external-wiki-mcp-tools.d.ts +13 -11
  311. package/dist/extraction-error-classification.d.ts +2 -1
  312. package/dist/extraction-faithfulness.d.ts +2 -1
  313. package/dist/extraction-faithfulness.js +4 -3
  314. package/dist/extraction-judge-telemetry.d.ts +2 -1
  315. package/dist/extraction-judge-training.d.ts +2 -1
  316. package/dist/extraction-judge.d.ts +2 -1
  317. package/dist/extraction-judge.js +5 -4
  318. package/dist/extraction-liveness.d.ts +2 -1
  319. package/dist/extraction-normalization.d.ts +2 -1
  320. package/dist/extraction-prompt.d.ts +2 -1
  321. package/dist/extraction-source-grounding-rules.d.ts +2 -1
  322. package/dist/extraction-source-grounding.d.ts +2 -1
  323. package/dist/extraction.d.ts +2 -1
  324. package/dist/extraction.js +40 -38
  325. package/dist/fallback-llm.d.ts +2 -1
  326. package/dist/fallback-llm.js +3 -2
  327. package/dist/{first-start-migration-RC345GPL.js → first-start-migration-L3UFX5CU.js} +3 -3
  328. package/dist/generic-recall-paths-CqAZyXKX.d.ts +23 -0
  329. package/dist/graph-append-error.d.ts +2 -1
  330. package/dist/graph-dashboard-diff.d.ts +2 -1
  331. package/dist/graph-dashboard-key.d.ts +2 -1
  332. package/dist/graph-dashboard-parser.d.ts +2 -1
  333. package/dist/graph-edge-reinforcement.d.ts +2 -1
  334. package/dist/graph-jsonl.d.ts +2 -1
  335. package/dist/graph-path-reconstruction.d.ts +2 -1
  336. package/dist/graph-path-scoring.d.ts +2 -1
  337. package/dist/graph-snapshot.d.ts +2 -1
  338. package/dist/graph.d.ts +2 -1
  339. package/dist/harmonic-retrieval.js +2 -2
  340. package/dist/importance.d.ts +2 -1
  341. package/dist/importers/index.d.ts +2 -1
  342. package/dist/importers/test-utils.d.ts +2 -1
  343. package/dist/in-flight-reads.d.ts +2 -1
  344. package/dist/{index-C9VXenR8.d.ts → index-BNluTxBp.d.ts} +2 -2
  345. package/dist/index.d.ts +963 -945
  346. package/dist/index.js +323 -221
  347. package/dist/intent.d.ts +2 -1
  348. package/dist/lcm/engine.d.ts +2 -1
  349. package/dist/lcm/engine.js +2 -2
  350. package/dist/lcm/index.d.ts +2 -1
  351. package/dist/lcm/index.js +7 -7
  352. package/dist/lcm/tools.d.ts +2 -1
  353. package/dist/lifecycle.d.ts +2 -1
  354. package/dist/live-connectors-runner.d.ts +2 -1
  355. package/dist/local-llm.d.ts +4 -1
  356. package/dist/local-llm.js +2 -2
  357. package/dist/local-model-endpoint.d.ts +2 -1
  358. package/dist/location/index.d.ts +4 -3
  359. package/dist/location/index.js +33 -32
  360. package/dist/maintenance/memory-governance.d.ts +2 -1
  361. package/dist/maintenance/memory-governance.js +28 -27
  362. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
  363. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +28 -27
  364. package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
  365. package/dist/maintenance/rebuild-memory-projection.js +29 -28
  366. package/dist/{maintenance-C14sorKa.d.ts → maintenance-8hmWOMY_.d.ts} +378 -4
  367. package/dist/mcp-memory-inspector-app.d.ts +13 -11
  368. package/dist/memory-action-policy.d.ts +2 -1
  369. package/dist/memory-cache.d.ts +2 -1
  370. package/dist/memory-controller.d.ts +2 -1
  371. package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
  372. package/dist/memory-projection-store.d.ts +2 -1
  373. package/dist/memory-provenance.d.ts +2 -1
  374. package/dist/memory-snapshot.d.ts +2 -1
  375. package/dist/memory-subject-cli.d.ts +13 -11
  376. package/dist/memory-subject.d.ts +13 -11
  377. package/dist/memory-worth-outcomes.d.ts +3 -2
  378. package/dist/migrate/from-engram.js +2 -2
  379. package/dist/models-json.d.ts +2 -1
  380. package/dist/namespaces/migrate.d.ts +4 -3
  381. package/dist/namespaces/migrate.js +29 -28
  382. package/dist/namespaces/principal.d.ts +2 -1
  383. package/dist/namespaces/search.d.ts +2 -1
  384. package/dist/namespaces/search.js +11 -11
  385. package/dist/namespaces/storage.d.ts +4 -3
  386. package/dist/namespaces/storage.js +28 -27
  387. package/dist/native-knowledge.d.ts +2 -1
  388. package/dist/network/tailscale.js +2 -2
  389. package/dist/offline-sync-impression-drain.d.ts +2 -1
  390. package/dist/offline-sync-impression-drain.js +6 -6
  391. package/dist/operator-doctor-corpus.d.ts +2 -1
  392. package/dist/operator-doctor-corpus.js +32 -31
  393. package/dist/operator-doctor-replica.d.ts +2 -1
  394. package/dist/operator-toolkit.d.ts +4 -3
  395. package/dist/operator-toolkit.js +48 -46
  396. package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
  397. package/dist/orchestration/maintenance.d.ts +5 -4
  398. package/dist/orchestration/maintenance.js +47 -42
  399. package/dist/{orchestrator-kqSzGv7e.d.ts → orchestrator-BUd_3Q86.d.ts} +17 -29
  400. package/dist/orchestrator.d.ts +11 -9
  401. package/dist/orchestrator.js +144 -138
  402. package/dist/patterns-cli.d.ts +2 -1
  403. package/dist/{pipeline-DRUwHb1X.d.ts → pipeline-Dv1Bv0ma.d.ts} +1 -1
  404. package/dist/policy-runtime.d.ts +2 -1
  405. package/dist/proactive-contention.d.ts +2 -1
  406. package/dist/provenance.d.ts +2 -1
  407. package/dist/{public-http-CW3l0g3P.d.ts → public-http-L-IymRBN.d.ts} +1 -1
  408. package/dist/{qmd-BVWlg1YS.d.ts → qmd-Mj508lHA.d.ts} +1 -1
  409. package/dist/qmd-preflight.d.ts +3 -2
  410. package/dist/qmd-recall-cache.d.ts +2 -1
  411. package/dist/qmd.d.ts +3 -2
  412. package/dist/qmd.js +2 -2
  413. package/dist/recall-concurrency-config.d.ts +2 -1
  414. package/dist/recall-disclosure-escalation.d.ts +2 -1
  415. package/dist/recall-explain-renderer.d.ts +2 -1
  416. package/dist/recall-explain-renderer.js +3 -3
  417. package/dist/recall-memory-map.d.ts +2 -1
  418. package/dist/recall-navigate-access.d.ts +2 -1
  419. package/dist/recall-navigate-access.js +2 -2
  420. package/dist/recall-navigate-disclosure.d.ts +2 -1
  421. package/dist/recall-navigate-disclosure.js +1 -1
  422. package/dist/recall-navigate.d.ts +2 -1
  423. package/dist/recall-navigate.js +2 -2
  424. package/dist/recall-planner-llm.d.ts +2 -1
  425. package/dist/recall-planner-llm.js +3 -2
  426. package/dist/recall-planner-llm.js.map +1 -1
  427. package/dist/recall-state-view-admission.d.ts +56 -0
  428. package/dist/recall-state-view-admission.js +39 -0
  429. package/dist/recall-state-view-admission.js.map +1 -0
  430. package/dist/recall-state-view-inject.js +2 -2
  431. package/dist/recall-state-view-render.js +2 -2
  432. package/dist/recall-state-view-widen.d.ts +18 -1
  433. package/dist/recall-state-view-widen.js +2 -2
  434. package/dist/recall-state-view-wire.d.ts +1 -1
  435. package/dist/recall-state-view-wire.js +3 -3
  436. package/dist/recall-state-view.d.ts +1 -0
  437. package/dist/recall-state-view.js +1 -1
  438. package/dist/recall-state.d.ts +2 -1
  439. package/dist/recall-tag-filter.d.ts +2 -1
  440. package/dist/recall-timings.d.ts +2 -1
  441. package/dist/recall-xray-cli.d.ts +2 -1
  442. package/dist/recall-xray-cli.js +4 -4
  443. package/dist/recall-xray-renderer.d.ts +2 -1
  444. package/dist/recall-xray-renderer.js +3 -3
  445. package/dist/recall-xray.d.ts +9 -1
  446. package/dist/recall-xray.js +2 -2
  447. package/dist/reconcile/cursor.d.ts +11 -2
  448. package/dist/reconcile/cursor.js +6 -4
  449. package/dist/reconcile/cursor.js.map +1 -1
  450. package/dist/reconcile/manifest.d.ts +37 -2
  451. package/dist/reconcile/manifest.js +15 -5
  452. package/dist/reconcile/plan.d.ts +2 -1
  453. package/dist/replay/normalizers/chatgpt.d.ts +2 -1
  454. package/dist/replay/normalizers/claude.d.ts +2 -1
  455. package/dist/replay/normalizers/openclaw.d.ts +2 -1
  456. package/dist/replay/normalizers/shared.d.ts +2 -1
  457. package/dist/replay/runner.d.ts +2 -1
  458. package/dist/replay/types.d.ts +2 -1
  459. package/dist/replica-divergence.d.ts +2 -1
  460. package/dist/replica-peers-config.d.ts +2 -1
  461. package/dist/{resolution-VKATP2HT.js → resolution-OHJZG45O.js} +6 -6
  462. package/dist/resolution-OHJZG45O.js.map +1 -0
  463. package/dist/resolve-auth-token.d.ts +2 -1
  464. package/dist/resume-bundles.js +15 -13
  465. package/dist/retrieval-agents.d.ts +3 -2
  466. package/dist/retrieval-tiers.d.ts +2 -1
  467. package/dist/routing/engine.d.ts +2 -1
  468. package/dist/routing/store.d.ts +2 -1
  469. package/dist/runtime/child-process.d.ts +1 -1
  470. package/dist/runtime/child-process.js +1 -1
  471. package/dist/salvage-envelope.d.ts +2 -1
  472. package/dist/salvage-envelope.js +2 -2
  473. package/dist/schemas.d.ts +176 -176
  474. package/dist/{scope-profiles-Vl00B1KU.d.ts → scope-profiles-B6BGVbxm.d.ts} +1 -1
  475. package/dist/search/embed-helper.d.ts +2 -1
  476. package/dist/search/factory.d.ts +2 -1
  477. package/dist/search/factory.js +10 -10
  478. package/dist/search/index.d.ts +2 -1
  479. package/dist/search/index.js +14 -14
  480. package/dist/search/lancedb-backend.d.ts +2 -1
  481. package/dist/search/lancedb-backend.js +2 -2
  482. package/dist/search/meilisearch-backend.d.ts +2 -1
  483. package/dist/search/meilisearch-backend.js +2 -2
  484. package/dist/search/noop-backend.d.ts +2 -1
  485. package/dist/search/orama-backend.d.ts +2 -1
  486. package/dist/search/orama-backend.js +2 -2
  487. package/dist/search/port.d.ts +2 -1
  488. package/dist/search/remote-backend.d.ts +2 -1
  489. package/dist/{semantic-consolidation-BC9-GFuT.d.ts → semantic-consolidation-J-598F5M.d.ts} +1 -1
  490. package/dist/semantic-consolidation.d.ts +3 -2
  491. package/dist/semantic-consolidation.js +29 -28
  492. package/dist/semantic-rule-promotion.js +28 -27
  493. package/dist/semantic-rule-verifier.d.ts +2 -1
  494. package/dist/semantic-rule-verifier.js +28 -27
  495. package/dist/{service-BOy6dHfc.d.ts → service-ZQkJ52cz.d.ts} +2 -2
  496. package/dist/session-observer-bands.d.ts +2 -1
  497. package/dist/session-observer-state.d.ts +2 -1
  498. package/dist/shared-context/manager.d.ts +8 -7
  499. package/dist/signal.d.ts +2 -1
  500. package/dist/source-agent-qualifier.d.ts +2 -1
  501. package/dist/source-agent-qualifier.js +38 -36
  502. package/dist/standup/build.js +29 -28
  503. package/dist/{storage-BLJRnFi6.d.ts → storage-CU_hZUgP.d.ts} +67 -6
  504. package/dist/storage.d.ts +4 -3
  505. package/dist/storage.js +27 -26
  506. package/dist/subject-config.d.ts +2 -1
  507. package/dist/subject-config.js +2 -2
  508. package/dist/summarizer.d.ts +2 -1
  509. package/dist/summarizer.js +5 -5
  510. package/dist/summary-snapshot.d.ts +2 -1
  511. package/dist/support-passport/index.d.ts +49 -15
  512. package/dist/support-passport/index.js +72 -63
  513. package/dist/temporal-supersession.d.ts +3 -2
  514. package/dist/temporal-timeline-recall.d.ts +2 -1
  515. package/dist/temporal-validity.d.ts +2 -1
  516. package/dist/threading.d.ts +2 -1
  517. package/dist/tier-migration.d.ts +3 -2
  518. package/dist/tier-routing.d.ts +2 -1
  519. package/dist/tier-routing.js +2 -2
  520. package/dist/{tier-stats-KA6OZX2C.js → tier-stats-VK5PCO2L.js} +3 -3
  521. package/dist/topics.d.ts +2 -1
  522. package/dist/transcript.d.ts +2 -1
  523. package/dist/transfer/capsule-import.js +1 -1
  524. package/dist/transfer/export-okf.d.ts +2 -1
  525. package/dist/transfer/export-okf.js +29 -28
  526. package/dist/transfer/types.d.ts +102 -102
  527. package/dist/trust-score-stage.d.ts +2 -1
  528. package/dist/trust-score.d.ts +2 -1
  529. package/dist/{types-YY-eKKU7.d.ts → types-BGxTvLBO.d.ts} +58 -13
  530. package/dist/types.d.ts +2 -1
  531. package/dist/types.js +1 -1
  532. package/dist/utility-runtime.d.ts +2 -1
  533. package/dist/verified-recall.js +28 -27
  534. package/dist/who-knows-cli.d.ts +13 -11
  535. package/dist/who-knows-cli.js +29 -28
  536. package/dist/who-knows.d.ts +13 -11
  537. package/dist/who-knows.js +28 -27
  538. package/dist/write-envelope.d.ts +4 -2
  539. package/dist/write-envelope.js +3 -1
  540. package/package.json +12 -2
  541. package/src/access-category-alias.test.ts +216 -0
  542. package/src/access-mcp.test.ts +73 -0
  543. package/src/access-mcp.ts +6 -6
  544. package/src/access-observe-write-surface.ts +19 -4
  545. package/src/access-offline-manifest.ts +297 -16
  546. package/src/access-recall-surface.ts +5 -5
  547. package/src/access-schema.ts +76 -7
  548. package/src/access-service.ts +11 -2
  549. package/src/activity/config.test.ts +124 -1
  550. package/src/activity/config.ts +150 -18
  551. package/src/activity/index.ts +3 -0
  552. package/src/activity/journal-extract-storage.test.ts +129 -0
  553. package/src/activity/journal-extract.test.ts +314 -0
  554. package/src/activity/journal-extract.ts +247 -0
  555. package/src/activity/journal-heading.test.ts +24 -1
  556. package/src/activity/journal-heading.ts +36 -0
  557. package/src/activity/journal-read.test.ts +242 -0
  558. package/src/activity/journal-read.ts +183 -0
  559. package/src/activity/journal-source.test.ts +15 -15
  560. package/src/activity/journal-source.ts +21 -14
  561. package/src/activity/journal-state.lock-worker.ts +30 -0
  562. package/src/activity/journal-state.test.ts +144 -0
  563. package/src/activity/journal-state.ts +107 -0
  564. package/src/activity/journal-strip.test.ts +106 -52
  565. package/src/activity/journal-strip.ts +35 -10
  566. package/src/activity/journal-vault-integration.test.ts +230 -0
  567. package/src/activity/journal-vault-provenance.test.ts +9 -7
  568. package/src/activity/journal-vault-provenance.ts +4 -10
  569. package/src/activity/journal-vault-read.test.ts +3 -2
  570. package/src/activity/journal-vault-read.ts +9 -139
  571. package/src/activity/journal.test.ts +74 -23
  572. package/src/activity/runner.test.ts +116 -1
  573. package/src/activity/runner.ts +25 -0
  574. package/src/activity/scheduler.ts +4 -0
  575. package/src/activity/store.test.ts +18 -0
  576. package/src/activity/store.ts +14 -0
  577. package/src/activity/sync-registration.ts +4 -0
  578. package/src/activity/timeline/analysis-metadata.ts +2 -0
  579. package/src/activity/timeline/analysis-provider.ts +140 -0
  580. package/src/activity/timeline/analysis-run.test.ts +419 -0
  581. package/src/activity/timeline/analysis-run.ts +106 -0
  582. package/src/activity/timeline/analysis.ts +66 -37
  583. package/src/activity/timeline/corrections.ts +9 -0
  584. package/src/activity/timeline/index.ts +3 -0
  585. package/src/activity/timeline/query.test.ts +71 -0
  586. package/src/activity/timeline/query.ts +57 -8
  587. package/src/activity/timeline/regenerate.test.ts +505 -0
  588. package/src/activity/timeline/regenerate.ts +373 -0
  589. package/src/activity/types.ts +40 -5
  590. package/src/adapters/grok-opencode.test.ts +146 -0
  591. package/src/adapters/grok.ts +53 -0
  592. package/src/adapters/index.ts +2 -0
  593. package/src/adapters/opencode.ts +52 -0
  594. package/src/adapters/registry.ts +4 -0
  595. package/src/cli-fallback.ts +13 -4
  596. package/src/config.test.ts +3 -1
  597. package/src/config.ts +4 -0
  598. package/src/dedup/merge.test.ts +732 -25
  599. package/src/fallback-llm.test.ts +53 -0
  600. package/src/fallback-llm.ts +12 -0
  601. package/src/index.ts +2 -0
  602. package/src/local-llm.ts +3 -1
  603. package/src/orchestration/dependency-propagation-recovery-replay.ts +1 -1
  604. package/src/orchestration/extraction-persist-deps.ts +9 -0
  605. package/src/orchestration/extraction-persist-promotion.test.ts +265 -6
  606. package/src/orchestration/extraction-persist-promotion.ts +42 -3
  607. package/src/orchestration/extraction-persist.ts +3 -3
  608. package/src/orchestration/harmonic-construction-persist.test.ts +115 -4
  609. package/src/orchestration/harmonic-construction-persist.ts +34 -6
  610. package/src/orchestration/maintenance.ts +1 -0
  611. package/src/orchestration/orchestrator-helpers.ts +6 -0
  612. package/src/orchestration/recall-entry.ts +16 -0
  613. package/src/orchestration/recall-internal-deps.ts +14 -0
  614. package/src/orchestration/recall-internal.ts +41 -58
  615. package/src/orchestration/recall-result-formatter.ts +11 -1
  616. package/src/orchestration/recall-search-pipeline.ts +121 -11
  617. package/src/orchestration/recall-state-view-pipeline.test.ts +211 -0
  618. package/src/orchestration/semantic-merge-commit-effects.ts +76 -17
  619. package/src/orchestration/semantic-merge-persist.ts +121 -16
  620. package/src/orchestration/semantic-merge-promotion-payload.ts +133 -54
  621. package/src/orchestrator.ts +7 -35
  622. package/src/providers/codex-subscription.test.ts +666 -0
  623. package/src/providers/codex-subscription.ts +743 -0
  624. package/src/recall-disclosure.test.ts +20 -0
  625. package/src/recall-state-view-admission.ts +114 -0
  626. package/src/recall-state-view-asof.test.ts +176 -0
  627. package/src/recall-state-view-call.test.ts +175 -0
  628. package/src/recall-state-view-config.test.ts +16 -0
  629. package/src/recall-state-view-widen.test.ts +70 -0
  630. package/src/recall-state-view-widen.ts +28 -7
  631. package/src/recall-state-view-wire.ts +3 -1
  632. package/src/recall-state-view-zero-diff.test.ts +20 -11
  633. package/src/recall-state-view.test.ts +142 -0
  634. package/src/recall-state-view.ts +72 -24
  635. package/src/recall-xray-renderer.test.ts +27 -0
  636. package/src/recall-xray-renderer.ts +4 -0
  637. package/src/recall-xray.ts +13 -0
  638. package/src/reconcile/cursor.ts +23 -33
  639. package/src/reconcile/manifest.ts +96 -11
  640. package/src/reconcile-identity-cache.test.ts +378 -0
  641. package/src/runtime/child-process.ts +1 -1
  642. package/src/storage/cas-revision-host.ts +75 -0
  643. package/src/storage/cas-revision-store.test.ts +459 -0
  644. package/src/storage/cas-revision-store.ts +661 -0
  645. package/src/storage/deletion-revision-store.ts +80 -6
  646. package/src/storage/tombstone-blocked-capture-index.ts +15 -0
  647. package/src/storage/tombstone-blocked-capture-mutation.ts +67 -7
  648. package/src/storage/tombstone-blocked-capture-sync.ts +55 -20
  649. package/src/storage-contract/failure-semantics.test.ts +1 -1
  650. package/src/storage-frontmatter-cas.test.ts +698 -1
  651. package/src/storage-replay.test.ts +166 -3
  652. package/src/storage.ts +41 -41
  653. package/src/support-passport/card-projection.ts +82 -33
  654. package/src/temporal-supersession.test.ts +10 -10
  655. package/src/types.ts +7 -7
  656. package/src/write-envelope.ts +1 -1
  657. package/dist/chunk-22FVR2KE.js.map +0 -1
  658. package/dist/chunk-2JVJ7UHC.js.map +0 -1
  659. package/dist/chunk-3QQTXYZ6.js.map +0 -1
  660. package/dist/chunk-4UDQUPT5.js +0 -560
  661. package/dist/chunk-4UDQUPT5.js.map +0 -1
  662. package/dist/chunk-A7XEPMQ6.js.map +0 -1
  663. package/dist/chunk-AU7Q3LSC.js +0 -56
  664. package/dist/chunk-AU7Q3LSC.js.map +0 -1
  665. package/dist/chunk-BLUYQFRH.js.map +0 -1
  666. package/dist/chunk-CZYYJZB6.js.map +0 -1
  667. package/dist/chunk-EEOUMG3J.js.map +0 -1
  668. package/dist/chunk-FDLDOEO6.js.map +0 -1
  669. package/dist/chunk-FYDW33ZB.js +0 -13
  670. package/dist/chunk-GVG3JYBI.js.map +0 -1
  671. package/dist/chunk-H272ZPQ3.js.map +0 -1
  672. package/dist/chunk-HVAEXYPL.js.map +0 -1
  673. package/dist/chunk-JEIXTYVG.js.map +0 -1
  674. package/dist/chunk-LRICZIGN.js +0 -52
  675. package/dist/chunk-LRICZIGN.js.map +0 -1
  676. package/dist/chunk-N7RWREIQ.js.map +0 -1
  677. package/dist/chunk-O75CRYGF.js.map +0 -1
  678. package/dist/chunk-Q3O3VKRB.js.map +0 -1
  679. package/dist/chunk-SEDEKFYQ.js +0 -1
  680. package/dist/chunk-SO7SV523.js.map +0 -1
  681. package/dist/chunk-SQJ3SDIW.js.map +0 -1
  682. package/dist/chunk-TLPZ6MKZ.js.map +0 -1
  683. package/dist/chunk-WJBZMNNS.js.map +0 -1
  684. package/dist/chunk-XQ2Q43XD.js.map +0 -1
  685. package/dist/chunk-Z4PCVRTN.js.map +0 -1
  686. package/src/activity/journal-mode.test.ts +0 -32
  687. package/src/activity/journal-mode.ts +0 -20
  688. /package/dist/{chunk-SEDEKFYQ.js.map → activity/digest.js.map} +0 -0
  689. /package/dist/{capsule-merge-IPG4IOFP.js.map → capsule-merge-ZCXUPLNJ.js.map} +0 -0
  690. /package/dist/{chunk-CDKHKZL5.js.map → chunk-2524MOWK.js.map} +0 -0
  691. /package/dist/{chunk-IY2FVXM6.js.map → chunk-2AU4D4HQ.js.map} +0 -0
  692. /package/dist/{chunk-QDY6KYTN.js.map → chunk-2JCA2PQT.js.map} +0 -0
  693. /package/dist/{chunk-RSVEP77Y.js.map → chunk-2UZ5ZH6W.js.map} +0 -0
  694. /package/dist/{chunk-NWWXSJX5.js.map → chunk-34QW2LK2.js.map} +0 -0
  695. /package/dist/{chunk-S7DPKM5W.js.map → chunk-353C5UNV.js.map} +0 -0
  696. /package/dist/{chunk-GQOMZ3MK.js.map → chunk-36UBSLFN.js.map} +0 -0
  697. /package/dist/{chunk-DBQWVT2H.js.map → chunk-3CBI2ZSA.js.map} +0 -0
  698. /package/dist/{chunk-NZXEK3UF.js.map → chunk-3Q3N35W7.js.map} +0 -0
  699. /package/dist/{chunk-YYGZJPOK.js.map → chunk-42DJ235G.js.map} +0 -0
  700. /package/dist/{chunk-7VJXIDOC.js.map → chunk-4JVQRFZD.js.map} +0 -0
  701. /package/dist/{chunk-WHBVXTUI.js.map → chunk-4PB2MBY6.js.map} +0 -0
  702. /package/dist/{chunk-TEYN7ZYF.js.map → chunk-4WCNPQQ5.js.map} +0 -0
  703. /package/dist/{chunk-RBGREYVJ.js.map → chunk-5QBDLMGG.js.map} +0 -0
  704. /package/dist/{chunk-RKBLRTNT.js.map → chunk-5SDSVX7N.js.map} +0 -0
  705. /package/dist/{chunk-LPECRQO4.js.map → chunk-5THU7NFP.js.map} +0 -0
  706. /package/dist/{chunk-LWA7MDVO.js.map → chunk-6CCRSQWT.js.map} +0 -0
  707. /package/dist/{chunk-TIT2C6WX.js.map → chunk-6XYC7NM4.js.map} +0 -0
  708. /package/dist/{chunk-FHQSPTPZ.js.map → chunk-6YAIN5XJ.js.map} +0 -0
  709. /package/dist/{chunk-PV36INNL.js.map → chunk-757NP436.js.map} +0 -0
  710. /package/dist/{chunk-6H5JYDOM.js.map → chunk-7J2CGXG3.js.map} +0 -0
  711. /package/dist/{chunk-FBMYGNOC.js.map → chunk-A2YQL2FF.js.map} +0 -0
  712. /package/dist/{chunk-X2NFFBTO.js.map → chunk-A7GQBJP5.js.map} +0 -0
  713. /package/dist/{chunk-MPYD657E.js.map → chunk-A7WOWDZK.js.map} +0 -0
  714. /package/dist/{chunk-C4OTC6WY.js.map → chunk-AIKTQVV3.js.map} +0 -0
  715. /package/dist/{chunk-CGC5UQCF.js.map → chunk-AKE4GGQ3.js.map} +0 -0
  716. /package/dist/{chunk-VP67GZ7T.js.map → chunk-APFKZVJS.js.map} +0 -0
  717. /package/dist/{chunk-M75RYSHS.js.map → chunk-AQIRQUCP.js.map} +0 -0
  718. /package/dist/{chunk-S7T2TY65.js.map → chunk-AXFR2NQ5.js.map} +0 -0
  719. /package/dist/{chunk-PSPABFN2.js.map → chunk-BD7JTBYP.js.map} +0 -0
  720. /package/dist/{chunk-FCSZ4K2X.js.map → chunk-BJJWRWER.js.map} +0 -0
  721. /package/dist/{chunk-JT3EB7ZL.js.map → chunk-BNGHPYZU.js.map} +0 -0
  722. /package/dist/{chunk-MFJBANPX.js.map → chunk-C2BFTYD7.js.map} +0 -0
  723. /package/dist/{chunk-3JVLGJCY.js.map → chunk-C6KRO3SU.js.map} +0 -0
  724. /package/dist/{chunk-AOCP6JA7.js.map → chunk-D3IZCN5P.js.map} +0 -0
  725. /package/dist/{chunk-ROKKIMON.js.map → chunk-EJIEQOPB.js.map} +0 -0
  726. /package/dist/{chunk-ET356KSB.js.map → chunk-F4TWWUMP.js.map} +0 -0
  727. /package/dist/{chunk-CLLPJ6QT.js.map → chunk-FQXJAC3T.js.map} +0 -0
  728. /package/dist/{chunk-DD5JFCWM.js.map → chunk-GCBIXUPT.js.map} +0 -0
  729. /package/dist/{chunk-ROGRI25A.js.map → chunk-I3H5LFOI.js.map} +0 -0
  730. /package/dist/{chunk-S65WXHNK.js.map → chunk-IFFLUCCU.js.map} +0 -0
  731. /package/dist/{chunk-D5LORF7A.js.map → chunk-JZDH2ZZK.js.map} +0 -0
  732. /package/dist/{chunk-2GPE5UCR.js.map → chunk-K6IPSW5B.js.map} +0 -0
  733. /package/dist/{chunk-HG6HXVHQ.js.map → chunk-KDJHLOZP.js.map} +0 -0
  734. /package/dist/{chunk-I27RSQRR.js.map → chunk-KYGOQV37.js.map} +0 -0
  735. /package/dist/{chunk-VZWXFXLX.js.map → chunk-LMCD5W5B.js.map} +0 -0
  736. /package/dist/{chunk-MKD3OMPS.js.map → chunk-M3MYMWXG.js.map} +0 -0
  737. /package/dist/{chunk-DITMGZOL.js.map → chunk-MMG5K6XJ.js.map} +0 -0
  738. /package/dist/{chunk-VGXM5B4H.js.map → chunk-MNIPH6LD.js.map} +0 -0
  739. /package/dist/{chunk-MKWKYHXJ.js.map → chunk-OB3XMWX5.js.map} +0 -0
  740. /package/dist/{chunk-XU6OEECT.js.map → chunk-OQQXGYMX.js.map} +0 -0
  741. /package/dist/{chunk-47DEYNMR.js.map → chunk-PEXW2JCK.js.map} +0 -0
  742. /package/dist/{chunk-42SDNZCU.js.map → chunk-QF4J3KMV.js.map} +0 -0
  743. /package/dist/{chunk-SB6PSOP7.js.map → chunk-QLJ6762U.js.map} +0 -0
  744. /package/dist/{chunk-XOVKXJEP.js.map → chunk-R3TLVTWW.js.map} +0 -0
  745. /package/dist/{chunk-PHNAB54Q.js.map → chunk-RQO3J4MR.js.map} +0 -0
  746. /package/dist/{chunk-5N53UBH2.js.map → chunk-RR7G2X7C.js.map} +0 -0
  747. /package/dist/{chunk-DCJ3YFIC.js.map → chunk-S2ULTQZR.js.map} +0 -0
  748. /package/dist/{chunk-GY5WZBA6.js.map → chunk-S76KRJDG.js.map} +0 -0
  749. /package/dist/{chunk-EEC4PCG5.js.map → chunk-SZDLX763.js.map} +0 -0
  750. /package/dist/{chunk-E2ZHGBAK.js.map → chunk-T2JSUEH6.js.map} +0 -0
  751. /package/dist/{chunk-QMGXMJ2O.js.map → chunk-T2YFZ27G.js.map} +0 -0
  752. /package/dist/{chunk-LEPOP46W.js.map → chunk-TFA6HPOA.js.map} +0 -0
  753. /package/dist/{chunk-BA6WOZOT.js.map → chunk-TK4FHQRN.js.map} +0 -0
  754. /package/dist/{chunk-ZNJSBIP4.js.map → chunk-TNSCIPBQ.js.map} +0 -0
  755. /package/dist/{chunk-YUMDFDUA.js.map → chunk-TWYTGIBR.js.map} +0 -0
  756. /package/dist/{chunk-EZZV7OQL.js.map → chunk-UEZKN6VR.js.map} +0 -0
  757. /package/dist/{chunk-HY55QQD7.js.map → chunk-UJX4I26O.js.map} +0 -0
  758. /package/dist/{chunk-CBCNKKZD.js.map → chunk-VIZR45AN.js.map} +0 -0
  759. /package/dist/{chunk-ZG74PWRW.js.map → chunk-VZAKYDMJ.js.map} +0 -0
  760. /package/dist/{chunk-ITPS5DDH.js.map → chunk-W5BLTZZJ.js.map} +0 -0
  761. /package/dist/{chunk-H3TKENU4.js.map → chunk-WIKO4SCR.js.map} +0 -0
  762. /package/dist/{chunk-YFLLGRXO.js.map → chunk-X2QPKLPL.js.map} +0 -0
  763. /package/dist/{chunk-FGGYSN4P.js.map → chunk-X424T5JQ.js.map} +0 -0
  764. /package/dist/{chunk-NAXDPKVM.js.map → chunk-XPJNT6PI.js.map} +0 -0
  765. /package/dist/{contradiction-scan-NOYMFG66.js.map → chunk-XW2T4QAW.js.map} +0 -0
  766. /package/dist/{chunk-VED2YHUD.js.map → chunk-YEDVOYL2.js.map} +0 -0
  767. /package/dist/{chunk-RC5DXXWC.js.map → chunk-YM7YN37H.js.map} +0 -0
  768. /package/dist/{chunk-VLXBE57O.js.map → chunk-YVGXH72Y.js.map} +0 -0
  769. /package/dist/{chunk-YQAXP5AC.js.map → chunk-YXLUTALO.js.map} +0 -0
  770. /package/dist/{chunk-565C6ZFO.js.map → chunk-Z7YDVHDI.js.map} +0 -0
  771. /package/dist/{chunk-XUE46UYW.js.map → chunk-ZLN7AROH.js.map} +0 -0
  772. /package/dist/{chunk-HK32G473.js.map → chunk-ZWEZXVYH.js.map} +0 -0
  773. /package/dist/{resolution-VKATP2HT.js.map → contradiction-scan-GVD4JJ7B.js.map} +0 -0
  774. /package/dist/{first-start-migration-RC345GPL.js.map → first-start-migration-L3UFX5CU.js.map} +0 -0
  775. /package/dist/{tier-stats-KA6OZX2C.js.map → tier-stats-VK5PCO2L.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -9,35 +9,37 @@ export { DiscoveredConfigPath, configPathCandidates, discoverConfigPath } from '
9
9
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
10
10
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
11
11
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
12
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-kqSzGv7e.js';
12
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-BUd_3Q86.js';
13
13
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
14
14
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
15
15
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
16
- import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-C9VXenR8.js';
17
- export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index-C9VXenR8.js';
16
+ import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-BNluTxBp.js';
17
+ export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index-BNluTxBp.js';
18
+ export { DEFAULT_RECALL_STATE_VIEWS, StateLabel, StateViewChain, StateViewResult, annotateStateView, formatSupersededPrefix, isChangeOrientedQuery, parseRecallStateViews, resultStateViewId, shouldWidenSuperseded } from './recall-state-view.js';
18
19
  export { EvidencePackItem, EvidencePackOptions, EvidencePackSelectedItem, EvidencePackSelectionReceipt, buildEvidencePack } from './evidence-pack.js';
19
20
  export { ExplicitCueRecallEngine, ExplicitCueRecallOptions, ExplicitTurnReference, TrajectoryAnalysisLineReceipt, TrajectoryAnalysisRecallOptions, buildExplicitCueRecallSection, buildTrajectoryAnalysisRecallSection, collectBenchmarkAnchorCues, collectContentLexicalCues, collectExplicitTurnReferences, collectLexicalCues, collectQuestionSlotCues, collectStructuredPlanCues, collectTemporalLexicalCues, normalizeTurnExpansionEnd } from './explicit-cue-recall.js';
20
21
  export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecallTargetedFactEvidence } from './targeted-fact-recall.js';
21
22
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
22
23
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
23
24
  export { EventOrderRecallOptions, buildEventOrderRecallSection } from './event-order-recall.js';
24
- import { S as StorageManager, a as MeetingRecordStore } from './storage-BLJRnFi6.js';
25
- export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-BLJRnFi6.js';
25
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-CU_hZUgP.js';
26
+ export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-CU_hZUgP.js';
26
27
  import { SealedMemoryEnvelope } from './write-envelope.js';
27
28
  export { AccessWriteFingerprintParts, ComposeEnvelopeOptions, FINGERPRINT_EXEMPT_FIELDS, FINGERPRINT_SCOPE_FIELDS, FingerprintScope, MemoryWriteInput, ObserveFingerprintParts, STRUCTURED_ATTRIBUTE_LIMITS, TAG_LIMITS, WRITE_FINGERPRINT_FIELDS, WriteContext, buildAccessWriteRequestFingerprint, buildObserveRequestFingerprint, buildWriteIdempotencyPayload, composeMemoryEnvelope, isSealedMemoryEnvelope, sealedWriteToLegacyArgs } from './write-envelope.js';
28
29
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
29
30
  export { ExtractionEngine } from './extraction.js';
30
- export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOptions, CodexCliFallbackRequest, CodexCliFallbackResult, CodexCliFallbackRunner, setCodexCliFallbackRunnerForProcess } from './cli-fallback.js';
31
+ import { CodexCliFallbackRunner } from './cli-fallback.js';
32
+ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOptions, CodexCliFallbackRequest, CodexCliFallbackResult, setCodexCliFallbackRunnerForProcess } from './cli-fallback.js';
33
+ import { C as CodingContext, bz as CodingModeConfig, aZ as FusionConversationInput, bA as FusedSpeaker, bB as FusedSegment, bC as FusedDisagreement, bD as FusionOptions, a$ as WearableConversation, bE as FusionDayResult, aF as ModelProviderConfig, P as PluginConfig, bF as ParsedSkillBundle, Z as SkillBundle, bG as MemoryDriftState, bH as DriftDetectionConfig, bI as CodingKnowledgeConfig, aA as SubjectGuardMode, u as MemoryCategory, bJ as WearableCleanupSettings, bK as WearableFusionConfig, b0 as WearableSourceSettings, b4 as WearablesConfig, b3 as WearableSourceConnector, bL as OffTheRecordMarkerSettings, b9 as WearableCorrectionRule, bM as WearableDayTranscriptMeta, b7 as WearableDayTranscript, aT as ActivitySourceClient, bN as ActivitySourceCheck, bO as ActivitySnapshotPage, aR as ActivityConfig, bP as ActivityTimelineVaultConfig, bQ as ActivityTimelineQaConfig, aQ as ActivityTimelineAnalysisConfig, k as BufferTurn, ab as ExtractionResult, x as MemoryStatus, ay as ImportanceScore, bR as ActivityTimelineJournalConfig, bS as MeetingsDetectionConfig, aY as MeetingsDetectionInput, a_ as DetectedMeeting, aV as MeetingsConfig, aX as MeetingRecord, a8 as ActivitySnapshot, bT as MeetingAudioWindow, bU as MeetingAppSpan } from './types-BGxTvLBO.js';
34
+ export { bV as ACTION_GATE_DEFAULTS, bW as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bX as ActionGateAdvisory, bY as ActionGateAuditRecord, bZ as ActionGateAuditSink, b_ as ActionGateCandidate, b$ as ActionGateCandidateQuery, c0 as ActionGateCandidateSource, c1 as ActionGateConfig, c2 as ActionGateDecision, c3 as ActionGateRequest, c4 as ActionGateService, c5 as ActionGateServiceDependencies, c6 as ActionGateSourceResult, c7 as ActionGateStatus, aa as ActivityDayDigest, a9 as ActivityDayMeta, c8 as ActivityExtractionMode, c9 as ActivityJournalExtractionMode, aS as ActivitySourceConfig, ca as ActivityTimelineConfig, cb as ActivityTimelineVaultReadbackConfig, cc as ActivityTimelineVaultTargetConfig, w as AgentAccessAuthToken, g as BriefingActiveThread, cd as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, ce as BriefingWindow, ad as BufferSurpriseEvent, cf as BulkImportError, af as BulkImportOptions, ah as BulkImportResult, ag as BulkImportSource, cg as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, ch as CodexCompatConfig, bx as ConsolidationObservation, ci as DEFAULT_RECALL_DISCLOSURE, cj as DRIFT_DETECTION_DEFAULTS, ck as DisagreementKind, cl as DriftDetectionSettings, E as EntityFile, ar as EntityStructuredSection, aw as ExtractedFact, cm as FailureMemorySourceDependencies, cn as FusedContribution, co as FusedConversationProvenance, bb as FusedDayFile, ba as FusedDayMeta, aW as FusedMeeting, cp as FusedSegmentProvenance, b8 as FusedWearableConversation, cq as FusionSegmentInput, G as GatewayConfig, cr as ImportSourceRole, ae as ImportTurn, cs as ImportTurnValidationIssue, aU as MeetingBuildInput, bc as MeetingDetectionSource, ct as MeetingScreenContextEvent, cu as MeetingSummaryMode, aB as MemoryActionEligibilityContext, cv as MemoryActionEligibilitySource, al as MemoryActionType, cw as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cx as MemoryObservation, cy as MemoryScope, cz as NormalizedActionIntent, cA as PRE_ACTION_FINGERPRINT_VERSION, cB as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cC as PRE_ACTION_WARNING_VERSION, cD as PreActionFailureGate, cE as PreActionGateDependencies, cF as PreActionGateRequest, cG as PreActionGateResult, cH as PreActionGateStatus, cI as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cJ as RecallDriftAnnotation, cK as SKILL_FILE_NAME, v as SecretRef, cL as SegmentPickReason, cM as SkillProjectionConfig, cN as VaultPropertiesMode, cO as VaultSectionStrategy, cP as WearableAuthCheck, cQ as WearableFetchOptions, cR as WearableFetchPage, b2 as WearableMemoryMode, b1 as WearableNativeMemory, cS as WearableNativeMemoryPage, b6 as WearableSourceStatus, b5 as WearableSyncSummary, cT as WearableTranscriptSegment, cU as actionTermsFor, cV as buildProcedureMarkdownBody, cW as createFailureMemoryCandidateSource, cX as createTrajectoryCandidateSource, cY as isFailureClassMemory, cZ as isImportRole, c_ as isRecallDisclosure, c$ as normalizeActionIntent, d0 as parseActionGateConfig, d1 as parseDriftDetectionConfig, d2 as parseDriftProvenance, d3 as parseIsoTimestamp, d4 as parseProcedureStepsFromBody, d5 as parseSkillBundle, d6 as parseSkillProjectionConfig, d7 as projectProceduresToSkills, d8 as renderSkillBundle, d9 as sanitizePayloadString, da as sanitizeSkillSlug, db as serializeDriftProvenance, dc as validateImportTurn } from './types-BGxTvLBO.js';
31
35
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
32
36
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
33
37
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
34
- import { C as CodingContext, bw as CodingModeConfig, aW as FusionConversationInput, bx as FusedSpeaker, by as FusedSegment, bz as FusedDisagreement, bA as FusionOptions, aY as WearableConversation, bB as FusionDayResult, P as PluginConfig, bC as ParsedSkillBundle, Z as SkillBundle, bD as MemoryDriftState, bE as DriftDetectionConfig, bF as CodingKnowledgeConfig, ax as SubjectGuardMode, y as MemoryCategory, bG as WearableCleanupSettings, bH as WearableFusionConfig, aZ as WearableSourceSettings, b1 as WearablesConfig, b0 as WearableSourceConnector, bI as OffTheRecordMarkerSettings, b6 as WearableCorrectionRule, bJ as WearableDayTranscriptMeta, b4 as WearableDayTranscript, aN as ActivitySnapshot, bK as ActivityDayMeta, bL as ActivityDayDigest, aQ as ActivitySourceClient, bM as ActivitySourceCheck, bN as ActivitySnapshotPage, aO as ActivityConfig, bO as ActivityTimelineVaultConfig, bP as ActivityTimelineQaConfig, a8 as ExtractionResult, w as MemoryStatus, av as ImportanceScore, bQ as MeetingsDetectionConfig, aV as MeetingsDetectionInput, aX as DetectedMeeting, aS as MeetingsConfig, aU as MeetingRecord, bR as MeetingAudioWindow, bS as MeetingAppSpan } from './types-YY-eKKU7.js';
35
- export { bT as ACTION_GATE_DEFAULTS, bU as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bV as ActionGateAdvisory, bW as ActionGateAuditRecord, bX as ActionGateAuditSink, bY as ActionGateCandidate, bZ as ActionGateCandidateQuery, b_ as ActionGateCandidateSource, b$ as ActionGateConfig, c0 as ActionGateDecision, c1 as ActionGateRequest, c2 as ActionGateService, c3 as ActionGateServiceDependencies, c4 as ActionGateSourceResult, c5 as ActionGateStatus, c6 as ActivityExtractionMode, aP as ActivitySourceConfig, c7 as ActivityTimelineConfig, c8 as ActivityTimelineJournalConfig, c9 as ActivityTimelineVaultTargetConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, ca as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, cb as BriefingWindow, aa as BufferSurpriseEvent, cc as BulkImportError, ac as BulkImportOptions, ae as BulkImportResult, ad as BulkImportSource, cd as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, ce as CodexCompatConfig, bu as ConsolidationObservation, cf as DEFAULT_RECALL_DISCLOSURE, cg as DRIFT_DETECTION_DEFAULTS, ch as DisagreementKind, ci as DriftDetectionSettings, E as EntityFile, ao as EntityStructuredSection, at as ExtractedFact, cj as FailureMemorySourceDependencies, ck as FusedContribution, cl as FusedConversationProvenance, b8 as FusedDayFile, b7 as FusedDayMeta, aT as FusedMeeting, cm as FusedSegmentProvenance, b5 as FusedWearableConversation, cn as FusionSegmentInput, G as GatewayConfig, co as ImportSourceRole, ab as ImportTurn, cp as ImportTurnValidationIssue, aR as MeetingBuildInput, b9 as MeetingDetectionSource, cq as MeetingScreenContextEvent, cr as MeetingSummaryMode, ay as MemoryActionEligibilityContext, cs as MemoryActionEligibilitySource, ai as MemoryActionType, ct as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cu as MemoryObservation, cv as MemoryScope, cw as NormalizedActionIntent, cx as PRE_ACTION_FINGERPRINT_VERSION, cy as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cz as PRE_ACTION_WARNING_VERSION, cA as PreActionFailureGate, cB as PreActionGateDependencies, cC as PreActionGateRequest, cD as PreActionGateResult, cE as PreActionGateStatus, cF as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cG as RecallDriftAnnotation, cH as SKILL_FILE_NAME, u as SecretRef, cI as SegmentPickReason, cJ as SkillProjectionConfig, cK as VaultPropertiesMode, cL as VaultSectionStrategy, cM as WearableAuthCheck, cN as WearableFetchOptions, cO as WearableFetchPage, a$ as WearableMemoryMode, a_ as WearableNativeMemory, cP as WearableNativeMemoryPage, b3 as WearableSourceStatus, b2 as WearableSyncSummary, cQ as WearableTranscriptSegment, cR as actionTermsFor, cS as buildProcedureMarkdownBody, cT as createFailureMemoryCandidateSource, cU as createTrajectoryCandidateSource, cV as isFailureClassMemory, cW as isImportRole, cX as isRecallDisclosure, cY as normalizeActionIntent, cZ as parseActionGateConfig, c_ as parseDriftDetectionConfig, c$ as parseDriftProvenance, d0 as parseIsoTimestamp, d1 as parseProcedureStepsFromBody, d2 as parseSkillBundle, d3 as parseSkillProjectionConfig, d4 as projectProceduresToSkills, d5 as renderSkillBundle, d6 as sanitizePayloadString, d7 as sanitizeSkillSlug, d8 as serializeDriftProvenance, d9 as validateImportTurn } from './types-YY-eKKU7.js';
36
38
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
37
39
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
38
40
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
39
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-CCpOuS46.js';
40
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-CCpOuS46.js';
41
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-WUm2LnXZ.js';
42
+ export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-WUm2LnXZ.js';
41
43
  import { LocalLlmClient } from './local-llm.js';
42
44
  import { FallbackLlmClient } from './fallback-llm.js';
43
45
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -50,20 +52,20 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
50
52
  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';
51
53
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
52
54
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
53
- export { Q as QmdClient } from './qmd-BVWlg1YS.js';
55
+ export { Q as QmdClient } from './qmd-Mj508lHA.js';
54
56
  export { LanceDbBackend } from './search/lancedb-backend.js';
55
57
  export { OramaBackend } from './search/orama-backend.js';
56
58
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
57
59
  export { buildEntityRecallSection } from './entity-retrieval.js';
58
60
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
59
- export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-CDZLyiXL.js';
61
+ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-BaCx29iv.js';
60
62
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
61
63
  export { storagePathHash } from './storage-paths.js';
62
64
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
63
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-NEEdq5Rt.js';
65
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-5mTYh1Tn.js';
64
66
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
65
- export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
66
- export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-CW3l0g3P.js';
67
+ export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, PersistedSupportPassportClassification, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createPersistedSupportPassportPrivateFileExclusion, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, supportPassportStatIdentity, syncDirectoryForDurability } from './support-passport/index.js';
68
+ export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-L-IymRBN.js';
67
69
  import { z } from 'zod';
68
70
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
69
71
  export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, RECALL_CONTEXT_SEPARATOR, RecallAuthorityRenderOptions, RecallContextComposition, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderAuthorityBoundContent, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
@@ -88,8 +90,8 @@ export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance,
88
90
  export { initLogger, log } from './logger.js';
89
91
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
90
92
  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_MAX_MTIME_MS, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncDeletionRevision, OfflineSyncFileContentChunk, OfflineSyncFileDeleteTarget, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileWriteTarget, OfflineSyncRecordDeletionRevision, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, filterOfflineSyncDeletionRevisions, globToRegExp, isInternalRemnicStatePath, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
91
- import { D as DiscoveredExtension } from './semantic-consolidation-BC9-GFuT.js';
92
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-BC9-GFuT.js';
93
+ import { D as DiscoveredExtension } from './semantic-consolidation-J-598F5M.js';
94
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-J-598F5M.js';
93
95
  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';
94
96
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
95
97
  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';
@@ -104,11 +106,12 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
104
106
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
105
107
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
106
108
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
107
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-DRUwHb1X.js';
108
- import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-BOy6dHfc.js';
109
- export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-BOy6dHfc.js';
110
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-C14sorKa.js';
111
- export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-C14sorKa.js';
109
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-Dv1Bv0ma.js';
110
+ import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-ZQkJ52cz.js';
111
+ export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-ZQkJ52cz.js';
112
+ import { A as ActivityStore, a as ActivitySyncRunSummary, T as TimelineCategory, b as TimelineObservation, c as TimelinePause, d as TimelineDay, e as TimelineCorrection, f as TimelineCard, g as TimelineAnalysisLocalLlm, h as TimelineAnalysisRemoteLlm, i as TimelineAnalysisStatus, j as AnalysisFailure, k as AnalysisRunMetadata } from './maintenance-8hmWOMY_.js';
113
+ export { l as ANALYSIS_FAILURE_KINDS, m as ANALYSIS_METADATA_MAX_FIELD_LENGTH, n as ActivitySourceRunItem, o as ActivitySyncRunOptions, p as AnalysisFailureKind, P as PersistedTimelineDay, q as PersistedTimelineDayStatus, R as RegenerateTimelineDayInput, r as RegenerateTimelineDayResult, s as TIMELINE_ANALYSIS_BATCH_OVERLAP, t as TIMELINE_ANALYSIS_BATCH_SIZE, u as TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, v as TIMELINE_ANALYSIS_LOCAL_PROVIDER_ID, w as TIMELINE_ANALYSIS_PROMPT_VERSION, x as TIMELINE_DAY_DIR, y as TIMELINE_DAY_FORMAT_VERSION, z as TimelineAnalysisClients, B as TimelineAnalysisComplete, C as TimelineAnalysisCompleteInput, D as TimelineAnalysisConfigError, E as TimelineAnalysisInput, F as TimelineAnalysisProviderError, G as TimelineAnalysisResult, H as TimelineCardKind, I as TimelineEvidenceRange, J as TimelineManualEdit, K as activityDatabasePath, L as analyzeTimelineCards, N as applyActivitySchema, O as buildAnalysisRunMetadata, Q as buildTimelineAnalysisPrompt, S as classifyAnalysisFailure, U as classifyAnalysisProviderError, V as ensureActivityStateDir, W as isAnalysisFailureKind, X as isAnalysisIdentifier, Y as listPersistedTimelineDates, Z as localDatesForUtcRange, _ as openActivityDatabase, $ as regenerateTimelineDay, a0 as resolveActivitySyncDates, a1 as resolveTimelineLoadDates, a2 as runActivitySyncOnce, a3 as snapshotToObservation, a4 as timelineAnalysisClientsFromConfig, a5 as timelineAnalysisCompleteFromClients, a6 as timelineDayPath } from './maintenance-8hmWOMY_.js';
114
+ export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, activityDateInTimezone, activityDayWindow, activityDigestPath, assertValidTimezone, composeActivityDigestBody, composeActivityDigestMeta, hashActivityBody, isValidActivityDate, parseActivityDigest, serializeActivityDigest, timezoneOffsetIso } from './activity/digest.js';
112
115
  import { SearchExecutionOptions } from './search/port.js';
113
116
  import { BetterSqlite3Database } from './runtime/better-sqlite.js';
114
117
  export { DEFAULT_IMPORT_BATCH_SIZE, FileImporterDefinition, FileImporterParseArgs, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, defineFileImporterAdapter, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
@@ -126,7 +129,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
126
129
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
127
130
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
128
131
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
129
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-Vl00B1KU.js';
132
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-B6BGVbxm.js';
130
133
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
131
134
  export { BuildEvalTrajectoryReportOptions, EvalTrajectoryReader, EvalTrajectoryReaderResult, buildEvalTrajectoryReport, createSyntheticEvalTrajectoryReader } from './eval-trajectory.js';
132
135
  export { ActiveContextAdapter, ActiveContextMessage, ActiveContextPlan, MemoryControllerActionFamily, MemoryControllerChoice, MemoryControllerConfig, MemoryControllerCoordinator, MemoryControllerDeps, MemoryControllerEvent, MemoryControllerEvidence, MemoryControllerEvidenceReport, MemoryControllerExecutors, MemoryControllerMode, MemoryControllerPairedSeedEvidence, MemoryControllerReceipt, MemoryControllerRecorder, MemoryControllerReportReader, MemoryControllerRunResult, MemoryControllerState, chooseAction, computeEvidenceReportHash, controllerConfigHash, evaluateActiveGates, hashControllerState, verifyEvidenceReport } from './memory-controller.js';
@@ -183,11 +186,12 @@ import './conversation-index/chunker.js';
183
186
  import './conversation-index/backend.js';
184
187
  import './faiss-adapter-BHecI1fF.js';
185
188
  import './runtime/child-process.js';
186
- import './dependency-propagation-delivery-CQPCu0o5.js';
189
+ import './dependency-propagation-delivery-CDQCxNll.js';
187
190
  import './namespaces/storage.js';
188
191
  import './threading.js';
189
192
  import './graph-DRkl22KE.js';
190
193
  import './graph-write-lock.js';
194
+ import './generic-recall-paths-CqAZyXKX.js';
191
195
  import './relevance.js';
192
196
  import './negative.js';
193
197
  import './session-observer-state.js';
@@ -204,7 +208,7 @@ import './profiling.js';
204
208
  import './schemas.js';
205
209
  import './extraction-error-classification.js';
206
210
  import 'node:stream';
207
- import './access-namespace-preflight-BsvmyENS.js';
211
+ import './access-namespace-preflight-kXG8MvYx.js';
208
212
  import './recall-explain-renderer.js';
209
213
  import './access-citation.js';
210
214
  import './access-health-types.js';
@@ -533,6 +537,86 @@ declare function parseFlexibleIsoTimestamp(value: string): number | null;
533
537
 
534
538
  declare function withRawEntityPageMutation<T>(baseDir: string, filePath: string, task: (refreshLock: () => Promise<boolean>) => Promise<T>): Promise<T>;
535
539
 
540
+ /**
541
+ * Codex subscription extraction provider (issue #2784).
542
+ *
543
+ * Routes extraction/consolidation LLM calls through the `codex` CLI so the
544
+ * operator's Codex subscription (ChatGPT OAuth login) authenticates the
545
+ * request — no OpenAI API key and no codex-openai-proxy. Credentials stay in
546
+ * the CLI's own auth store; this module never reads, accepts, or logs tokens.
547
+ *
548
+ * Transport contract mirrors `packages/bench/src/providers/codex-cli.ts`
549
+ * (`codex exec --json --output-last-message`, env allowlist, login-status
550
+ * precheck) but lives in core so the standalone daemon and host plugins get
551
+ * a working `api: "codex-cli"` transport without importing the optional
552
+ * bench package. Registered through the existing
553
+ * `setCodexCliFallbackRunnerForProcess` seam, and only when no host or
554
+ * benchmark runner has claimed it first.
555
+ */
556
+
557
+ declare const CODEX_SUBSCRIPTION_PROVIDER_ID = "codex-subscription";
558
+ /**
559
+ * Built-in provider entry so `"codex-subscription/<model>"` chains resolve
560
+ * with no models.json and no apiKey — the transport owns authentication.
561
+ */
562
+ declare function codexSubscriptionBuiltinProviderConfig(): ModelProviderConfig;
563
+ type CodexSubscriptionAuthReason = "unauthenticated" | "expired_or_revoked";
564
+ /** Login/authorization failure with actionable re-auth guidance. */
565
+ declare class CodexSubscriptionAuthError extends Error {
566
+ readonly reason: CodexSubscriptionAuthReason;
567
+ constructor(reason: CodexSubscriptionAuthReason, message: string);
568
+ }
569
+ /** Provider config violated the no-raw-credentials contract. */
570
+ declare class CodexSubscriptionConfigError extends Error {
571
+ constructor(message: string);
572
+ }
573
+ /** Request exceeded its deadline. Abort-driven cancellations rethrow the
574
+ * caller's own abort reason instead, preserving the AbortError contract. */
575
+ declare class CodexSubscriptionTimeoutError extends Error {
576
+ constructor(timeoutMs: number);
577
+ }
578
+ interface CodexSubscriptionExecRequest {
579
+ executable: string;
580
+ args: string[];
581
+ input: string;
582
+ env: NodeJS.ProcessEnv;
583
+ outputPath: string;
584
+ workspacePath: string;
585
+ timeoutMs?: number;
586
+ signal?: AbortSignal;
587
+ }
588
+ interface CodexSubscriptionExecResult {
589
+ status: number | null;
590
+ signal?: NodeJS.Signals | null;
591
+ stdout: string;
592
+ stderr: string;
593
+ outputText: string;
594
+ }
595
+ interface CodexSubscriptionRunnerDeps {
596
+ /** Runs `codex exec`. Default: isolated subprocess via launchProcess. */
597
+ runCodexExec?: (request: CodexSubscriptionExecRequest) => Promise<CodexSubscriptionExecResult>;
598
+ /** Runs `codex login status`. Default: isolated subprocess. Receives the
599
+ * login-status timeout budget (capped by the request deadline). */
600
+ runLoginStatus?: (executable: string, env: NodeJS.ProcessEnv, timeoutMs: number) => Promise<{
601
+ status: number | null;
602
+ stdout: string;
603
+ stderr: string;
604
+ }>;
605
+ /** Environment the isolated child env is filtered from. Tests inject fakes. */
606
+ env?: NodeJS.ProcessEnv;
607
+ tmpdir?: () => string;
608
+ now?: () => number;
609
+ }
610
+ declare function createCodexSubscriptionRunner(deps?: CodexSubscriptionRunnerDeps): CodexCliFallbackRunner;
611
+ /**
612
+ * Registers the core subprocess transport on the codex-cli seam, but only
613
+ * when no runner is registered yet — a host or benchmark runner that claimed
614
+ * the seam first always wins. If the seam was cleared afterwards
615
+ * (setCodexCliFallbackRunnerForProcess(undefined)), the core runner is
616
+ * re-registered so the next call still routes. Idempotent.
617
+ */
618
+ declare function ensureCodexSubscriptionRunnerRegistered(deps?: CodexSubscriptionRunnerDeps): boolean;
619
+
536
620
  /**
537
621
  * Intent-gated recall for active procedure memories (issue #519).
538
622
  */
@@ -1237,15 +1321,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1237
1321
  locator: z.ZodOptional<z.ZodString>;
1238
1322
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1239
1323
  }, "strict", z.ZodTypeAny, {
1240
- id: string;
1324
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1241
1325
  label: string;
1242
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1326
+ id: string;
1243
1327
  capture: "at_action" | "historical_lookup" | "fixture";
1244
1328
  locator?: string | undefined;
1245
1329
  }, {
1246
- id: string;
1330
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
1331
  label: string;
1248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1332
+ id: string;
1249
1333
  capture: "at_action" | "historical_lookup" | "fixture";
1250
1334
  locator?: string | undefined;
1251
1335
  }>;
@@ -1262,15 +1346,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1262
1346
  locator: z.ZodOptional<z.ZodString>;
1263
1347
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1264
1348
  }, "strict", z.ZodTypeAny, {
1265
- id: string;
1349
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1266
1350
  label: string;
1267
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1351
+ id: string;
1268
1352
  capture: "at_action" | "historical_lookup" | "fixture";
1269
1353
  locator?: string | undefined;
1270
1354
  }, {
1271
- id: string;
1355
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1272
1356
  label: string;
1273
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1357
+ id: string;
1274
1358
  capture: "at_action" | "historical_lookup" | "fixture";
1275
1359
  locator?: string | undefined;
1276
1360
  }>, "many">>;
@@ -1278,9 +1362,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1278
1362
  kind: "mission_started";
1279
1363
  title: string;
1280
1364
  evidence: {
1281
- id: string;
1365
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1282
1366
  label: string;
1283
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1367
+ id: string;
1284
1368
  capture: "at_action" | "historical_lookup" | "fixture";
1285
1369
  locator?: string | undefined;
1286
1370
  }[];
@@ -1292,9 +1376,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1292
1376
  objective: string;
1293
1377
  runMode: "replay" | "fixture" | "live";
1294
1378
  evidence?: {
1295
- id: string;
1379
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1296
1380
  label: string;
1297
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
+ id: string;
1298
1382
  capture: "at_action" | "historical_lookup" | "fixture";
1299
1383
  locator?: string | undefined;
1300
1384
  }[] | undefined;
@@ -1310,15 +1394,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1310
1394
  locator: z.ZodOptional<z.ZodString>;
1311
1395
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1312
1396
  }, "strict", z.ZodTypeAny, {
1313
- id: string;
1397
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
1398
  label: string;
1315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1399
+ id: string;
1316
1400
  capture: "at_action" | "historical_lookup" | "fixture";
1317
1401
  locator?: string | undefined;
1318
1402
  }, {
1319
- id: string;
1403
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1320
1404
  label: string;
1321
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1405
+ id: string;
1322
1406
  capture: "at_action" | "historical_lookup" | "fixture";
1323
1407
  locator?: string | undefined;
1324
1408
  }>, "many">>;
@@ -1326,32 +1410,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1326
1410
  sessionId: z.ZodString;
1327
1411
  kind: z.ZodLiteral<"agent_status">;
1328
1412
  }, "strict", z.ZodTypeAny, {
1329
- label: string;
1330
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1331
1413
  kind: "agent_status";
1414
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1415
+ label: string;
1332
1416
  role: string;
1333
1417
  agentId: string;
1334
1418
  sessionId: string;
1335
1419
  evidence: {
1336
- id: string;
1420
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1337
1421
  label: string;
1338
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
+ id: string;
1339
1423
  capture: "at_action" | "historical_lookup" | "fixture";
1340
1424
  locator?: string | undefined;
1341
1425
  }[];
1342
1426
  detail?: string | undefined;
1343
1427
  }, {
1344
- label: string;
1345
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1346
1428
  kind: "agent_status";
1429
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
1430
+ label: string;
1347
1431
  role: string;
1348
1432
  agentId: string;
1349
1433
  sessionId: string;
1350
1434
  detail?: string | undefined;
1351
1435
  evidence?: {
1352
- id: string;
1436
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1353
1437
  label: string;
1354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1438
+ id: string;
1355
1439
  capture: "at_action" | "historical_lookup" | "fixture";
1356
1440
  locator?: string | undefined;
1357
1441
  }[] | undefined;
@@ -1365,15 +1449,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1365
1449
  locator: z.ZodOptional<z.ZodString>;
1366
1450
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1367
1451
  }, "strict", z.ZodTypeAny, {
1368
- id: string;
1452
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
1453
  label: string;
1370
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1454
+ id: string;
1371
1455
  capture: "at_action" | "historical_lookup" | "fixture";
1372
1456
  locator?: string | undefined;
1373
1457
  }, {
1374
- id: string;
1458
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
1459
  label: string;
1376
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1460
+ id: string;
1377
1461
  capture: "at_action" | "historical_lookup" | "fixture";
1378
1462
  locator?: string | undefined;
1379
1463
  }>, "many">>;
@@ -1381,28 +1465,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1381
1465
  sessionId: z.ZodString;
1382
1466
  kind: z.ZodLiteral<"agent_output">;
1383
1467
  }, "strict", z.ZodTypeAny, {
1384
- summary: string;
1385
1468
  kind: "agent_output";
1469
+ summary: string;
1386
1470
  agentId: string;
1387
1471
  sessionId: string;
1388
1472
  evidence: {
1389
- id: string;
1473
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1390
1474
  label: string;
1391
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1475
+ id: string;
1392
1476
  capture: "at_action" | "historical_lookup" | "fixture";
1393
1477
  locator?: string | undefined;
1394
1478
  }[];
1395
1479
  outputId: string;
1396
1480
  }, {
1397
- summary: string;
1398
1481
  kind: "agent_output";
1482
+ summary: string;
1399
1483
  agentId: string;
1400
1484
  sessionId: string;
1401
1485
  outputId: string;
1402
1486
  evidence?: {
1403
- id: string;
1487
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1404
1488
  label: string;
1405
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1489
+ id: string;
1406
1490
  capture: "at_action" | "historical_lookup" | "fixture";
1407
1491
  locator?: string | undefined;
1408
1492
  }[] | undefined;
@@ -1418,15 +1502,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1418
1502
  locator: z.ZodOptional<z.ZodString>;
1419
1503
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1420
1504
  }, "strict", z.ZodTypeAny, {
1421
- id: string;
1505
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1506
  label: string;
1423
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1507
+ id: string;
1424
1508
  capture: "at_action" | "historical_lookup" | "fixture";
1425
1509
  locator?: string | undefined;
1426
1510
  }, {
1427
- id: string;
1511
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1428
1512
  label: string;
1429
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1513
+ id: string;
1430
1514
  capture: "at_action" | "historical_lookup" | "fixture";
1431
1515
  locator?: string | undefined;
1432
1516
  }>, "many">>;
@@ -1439,9 +1523,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1439
1523
  statement: string;
1440
1524
  sessionId: string;
1441
1525
  evidence: {
1442
- id: string;
1526
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1443
1527
  label: string;
1444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1528
+ id: string;
1445
1529
  capture: "at_action" | "historical_lookup" | "fixture";
1446
1530
  locator?: string | undefined;
1447
1531
  }[];
@@ -1457,9 +1541,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1457
1541
  decisionId: string;
1458
1542
  confidence?: number | undefined;
1459
1543
  evidence?: {
1460
- id: string;
1544
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1461
1545
  label: string;
1462
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1546
+ id: string;
1463
1547
  capture: "at_action" | "historical_lookup" | "fixture";
1464
1548
  locator?: string | undefined;
1465
1549
  }[] | undefined;
@@ -1476,25 +1560,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1476
1560
  locator: z.ZodOptional<z.ZodString>;
1477
1561
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1478
1562
  }, "strict", z.ZodTypeAny, {
1479
- id: string;
1563
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
1564
  label: string;
1481
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1565
+ id: string;
1482
1566
  capture: "at_action" | "historical_lookup" | "fixture";
1483
1567
  locator?: string | undefined;
1484
1568
  }, {
1485
- id: string;
1569
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1486
1570
  label: string;
1487
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1571
+ id: string;
1488
1572
  capture: "at_action" | "historical_lookup" | "fixture";
1489
1573
  locator?: string | undefined;
1490
1574
  }>, "many">>;
1491
1575
  }, "strict", z.ZodTypeAny, {
1492
- summary: string;
1493
1576
  kind: "conflict_detected";
1577
+ summary: string;
1494
1578
  evidence: {
1495
- id: string;
1579
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1496
1580
  label: string;
1497
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1581
+ id: string;
1498
1582
  capture: "at_action" | "historical_lookup" | "fixture";
1499
1583
  locator?: string | undefined;
1500
1584
  }[];
@@ -1502,15 +1586,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1502
1586
  decisionIds: string[];
1503
1587
  agentIds: string[];
1504
1588
  }, {
1505
- summary: string;
1506
1589
  kind: "conflict_detected";
1590
+ summary: string;
1507
1591
  conflictId: string;
1508
1592
  decisionIds: string[];
1509
1593
  agentIds: string[];
1510
1594
  evidence?: {
1511
- id: string;
1595
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1512
1596
  label: string;
1513
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1597
+ id: string;
1514
1598
  capture: "at_action" | "historical_lookup" | "fixture";
1515
1599
  locator?: string | undefined;
1516
1600
  }[] | undefined;
@@ -1530,27 +1614,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1530
1614
  locator: z.ZodOptional<z.ZodString>;
1531
1615
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1532
1616
  }, "strict", z.ZodTypeAny, {
1533
- id: string;
1617
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1618
  label: string;
1535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1619
+ id: string;
1536
1620
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1621
  locator?: string | undefined;
1538
1622
  }, {
1539
- id: string;
1623
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1540
1624
  label: string;
1541
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1625
+ id: string;
1542
1626
  capture: "at_action" | "historical_lookup" | "fixture";
1543
1627
  locator?: string | undefined;
1544
1628
  }>, "many">>;
1545
1629
  }, "strict", z.ZodTypeAny, {
1630
+ kind: "test_result";
1546
1631
  summary: string;
1547
1632
  status: "error" | "failed" | "passed";
1548
- kind: "test_result";
1549
1633
  command: string;
1550
1634
  evidence: {
1551
- id: string;
1635
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1552
1636
  label: string;
1553
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1637
+ id: string;
1554
1638
  capture: "at_action" | "historical_lookup" | "fixture";
1555
1639
  locator?: string | undefined;
1556
1640
  }[];
@@ -1559,17 +1643,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1559
1643
  durationMs?: number | undefined;
1560
1644
  correctionId?: string | undefined;
1561
1645
  }, {
1646
+ kind: "test_result";
1562
1647
  summary: string;
1563
1648
  status: "error" | "failed" | "passed";
1564
- kind: "test_result";
1565
1649
  command: string;
1566
1650
  decisionId: string;
1567
1651
  testId: string;
1568
1652
  durationMs?: number | undefined;
1569
1653
  evidence?: {
1570
- id: string;
1654
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1571
1655
  label: string;
1572
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1656
+ id: string;
1573
1657
  capture: "at_action" | "historical_lookup" | "fixture";
1574
1658
  locator?: string | undefined;
1575
1659
  }[] | undefined;
@@ -1590,15 +1674,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1590
1674
  locator: z.ZodOptional<z.ZodString>;
1591
1675
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1592
1676
  }, "strict", z.ZodTypeAny, {
1593
- id: string;
1677
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
1678
  label: string;
1595
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1679
+ id: string;
1596
1680
  capture: "at_action" | "historical_lookup" | "fixture";
1597
1681
  locator?: string | undefined;
1598
1682
  }, {
1599
- id: string;
1683
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
1684
  label: string;
1601
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1685
+ id: string;
1602
1686
  capture: "at_action" | "historical_lookup" | "fixture";
1603
1687
  locator?: string | undefined;
1604
1688
  }>, "many">>;
@@ -1607,9 +1691,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1607
1691
  statement: string;
1608
1692
  rationale: string;
1609
1693
  evidence: {
1610
- id: string;
1694
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
1695
  label: string;
1612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1696
+ id: string;
1613
1697
  capture: "at_action" | "historical_lookup" | "fixture";
1614
1698
  locator?: string | undefined;
1615
1699
  }[];
@@ -1628,9 +1712,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1628
1712
  supersedesDecisionIds: string[];
1629
1713
  proposedBy: string;
1630
1714
  evidence?: {
1631
- id: string;
1715
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1632
1716
  label: string;
1633
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1717
+ id: string;
1634
1718
  capture: "at_action" | "historical_lookup" | "fixture";
1635
1719
  locator?: string | undefined;
1636
1720
  }[] | undefined;
@@ -1642,13 +1726,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1642
1726
  id: z.ZodString;
1643
1727
  label: z.ZodString;
1644
1728
  }, "strict", z.ZodTypeAny, {
1645
- id: string;
1646
- label: string;
1647
1729
  kind: "agent" | "human";
1648
- }, {
1649
- id: string;
1650
1730
  label: string;
1731
+ id: string;
1732
+ }, {
1651
1733
  kind: "agent" | "human";
1734
+ label: string;
1735
+ id: string;
1652
1736
  }>;
1653
1737
  note: z.ZodOptional<z.ZodString>;
1654
1738
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1658,47 +1742,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1658
1742
  locator: z.ZodOptional<z.ZodString>;
1659
1743
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1660
1744
  }, "strict", z.ZodTypeAny, {
1661
- id: string;
1745
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
1746
  label: string;
1663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1747
+ id: string;
1664
1748
  capture: "at_action" | "historical_lookup" | "fixture";
1665
1749
  locator?: string | undefined;
1666
1750
  }, {
1667
- id: string;
1751
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1668
1752
  label: string;
1669
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1753
+ id: string;
1670
1754
  capture: "at_action" | "historical_lookup" | "fixture";
1671
1755
  locator?: string | undefined;
1672
1756
  }>, "many">>;
1673
1757
  }, "strict", z.ZodTypeAny, {
1674
1758
  kind: "correction_approved";
1675
1759
  evidence: {
1676
- id: string;
1760
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1677
1761
  label: string;
1678
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1762
+ id: string;
1679
1763
  capture: "at_action" | "historical_lookup" | "fixture";
1680
1764
  locator?: string | undefined;
1681
1765
  }[];
1682
1766
  correctionId: string;
1683
1767
  approvedBy: {
1684
- id: string;
1685
- label: string;
1686
1768
  kind: "agent" | "human";
1769
+ label: string;
1770
+ id: string;
1687
1771
  };
1688
1772
  note?: string | undefined;
1689
1773
  }, {
1690
1774
  kind: "correction_approved";
1691
1775
  correctionId: string;
1692
1776
  approvedBy: {
1693
- id: string;
1694
- label: string;
1695
1777
  kind: "agent" | "human";
1778
+ label: string;
1779
+ id: string;
1696
1780
  };
1697
1781
  note?: string | undefined;
1698
1782
  evidence?: {
1699
- id: string;
1783
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
1784
  label: string;
1701
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1785
+ id: string;
1702
1786
  capture: "at_action" | "historical_lookup" | "fixture";
1703
1787
  locator?: string | undefined;
1704
1788
  }[] | undefined;
@@ -1714,24 +1798,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1714
1798
  locator: z.ZodOptional<z.ZodString>;
1715
1799
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1716
1800
  }, "strict", z.ZodTypeAny, {
1717
- id: string;
1801
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
1802
  label: string;
1719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1803
+ id: string;
1720
1804
  capture: "at_action" | "historical_lookup" | "fixture";
1721
1805
  locator?: string | undefined;
1722
1806
  }, {
1723
- id: string;
1807
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1724
1808
  label: string;
1725
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1809
+ id: string;
1726
1810
  capture: "at_action" | "historical_lookup" | "fixture";
1727
1811
  locator?: string | undefined;
1728
1812
  }>, "many">>;
1729
1813
  }, "strict", z.ZodTypeAny, {
1730
1814
  kind: "decision_superseded";
1731
1815
  evidence: {
1732
- id: string;
1816
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1733
1817
  label: string;
1734
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1818
+ id: string;
1735
1819
  capture: "at_action" | "historical_lookup" | "fixture";
1736
1820
  locator?: string | undefined;
1737
1821
  }[];
@@ -1744,9 +1828,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1744
1828
  correctionId: string;
1745
1829
  replacementDecisionId: string;
1746
1830
  evidence?: {
1747
- id: string;
1831
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1748
1832
  label: string;
1749
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1833
+ id: string;
1750
1834
  capture: "at_action" | "historical_lookup" | "fixture";
1751
1835
  locator?: string | undefined;
1752
1836
  }[] | undefined;
@@ -1762,15 +1846,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1762
1846
  locator: z.ZodOptional<z.ZodString>;
1763
1847
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1764
1848
  }, "strict", z.ZodTypeAny, {
1765
- id: string;
1849
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
1850
  label: string;
1767
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1851
+ id: string;
1768
1852
  capture: "at_action" | "historical_lookup" | "fixture";
1769
1853
  locator?: string | undefined;
1770
1854
  }, {
1771
- id: string;
1855
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1772
1856
  label: string;
1773
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1857
+ id: string;
1774
1858
  capture: "at_action" | "historical_lookup" | "fixture";
1775
1859
  locator?: string | undefined;
1776
1860
  }>, "many">>;
@@ -1783,9 +1867,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1783
1867
  agentId: string;
1784
1868
  sessionId: string;
1785
1869
  evidence: {
1786
- id: string;
1870
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1787
1871
  label: string;
1788
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1872
+ id: string;
1789
1873
  capture: "at_action" | "historical_lookup" | "fixture";
1790
1874
  locator?: string | undefined;
1791
1875
  }[];
@@ -1801,9 +1885,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1801
1885
  recallReceiptId: string;
1802
1886
  capturedAtAction: boolean;
1803
1887
  evidence?: {
1804
- id: string;
1888
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1805
1889
  label: string;
1806
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1890
+ id: string;
1807
1891
  capture: "at_action" | "historical_lookup" | "fixture";
1808
1892
  locator?: string | undefined;
1809
1893
  }[] | undefined;
@@ -1819,15 +1903,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1819
1903
  locator: z.ZodOptional<z.ZodString>;
1820
1904
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1821
1905
  }, "strict", z.ZodTypeAny, {
1822
- id: string;
1906
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
1907
  label: string;
1824
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1908
+ id: string;
1825
1909
  capture: "at_action" | "historical_lookup" | "fixture";
1826
1910
  locator?: string | undefined;
1827
1911
  }, {
1828
- id: string;
1912
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1829
1913
  label: string;
1830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1914
+ id: string;
1831
1915
  capture: "at_action" | "historical_lookup" | "fixture";
1832
1916
  locator?: string | undefined;
1833
1917
  }>, "many">>;
@@ -1839,9 +1923,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1839
1923
  agentId: string;
1840
1924
  sessionId: string;
1841
1925
  evidence: {
1842
- id: string;
1926
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1843
1927
  label: string;
1844
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1928
+ id: string;
1845
1929
  capture: "at_action" | "historical_lookup" | "fixture";
1846
1930
  locator?: string | undefined;
1847
1931
  }[];
@@ -1858,9 +1942,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1858
1942
  recallReceiptId: string;
1859
1943
  staleDecisionAbsent: boolean;
1860
1944
  evidence?: {
1861
- id: string;
1945
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1862
1946
  label: string;
1863
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
+ id: string;
1864
1948
  capture: "at_action" | "historical_lookup" | "fixture";
1865
1949
  locator?: string | undefined;
1866
1950
  }[] | undefined;
@@ -1875,37 +1959,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1875
1959
  locator: z.ZodOptional<z.ZodString>;
1876
1960
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1877
1961
  }, "strict", z.ZodTypeAny, {
1878
- id: string;
1962
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1879
1963
  label: string;
1880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1964
+ id: string;
1881
1965
  capture: "at_action" | "historical_lookup" | "fixture";
1882
1966
  locator?: string | undefined;
1883
1967
  }, {
1884
- id: string;
1968
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
1969
  label: string;
1886
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1970
+ id: string;
1887
1971
  capture: "at_action" | "historical_lookup" | "fixture";
1888
1972
  locator?: string | undefined;
1889
1973
  }>, "many">>;
1890
1974
  }, "strict", z.ZodTypeAny, {
1891
- summary: string;
1892
1975
  kind: "mission_completed";
1976
+ summary: string;
1893
1977
  outcome: "failed" | "recovered" | "inconclusive";
1894
1978
  evidence: {
1895
- id: string;
1979
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1896
1980
  label: string;
1897
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
+ id: string;
1898
1982
  capture: "at_action" | "historical_lookup" | "fixture";
1899
1983
  locator?: string | undefined;
1900
1984
  }[];
1901
1985
  }, {
1902
- summary: string;
1903
1986
  kind: "mission_completed";
1987
+ summary: string;
1904
1988
  outcome: "failed" | "recovered" | "inconclusive";
1905
1989
  evidence?: {
1906
- id: string;
1990
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
1991
  label: string;
1908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1992
+ id: string;
1909
1993
  capture: "at_action" | "historical_lookup" | "fixture";
1910
1994
  locator?: string | undefined;
1911
1995
  }[] | undefined;
@@ -1913,38 +1997,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1913
1997
  kind: "mission_started";
1914
1998
  title: string;
1915
1999
  evidence: {
1916
- id: string;
2000
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1917
2001
  label: string;
1918
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2002
+ id: string;
1919
2003
  capture: "at_action" | "historical_lookup" | "fixture";
1920
2004
  locator?: string | undefined;
1921
2005
  }[];
1922
2006
  objective: string;
1923
2007
  runMode: "replay" | "fixture" | "live";
1924
2008
  } | {
1925
- label: string;
1926
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1927
2009
  kind: "agent_status";
2010
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2011
+ label: string;
1928
2012
  role: string;
1929
2013
  agentId: string;
1930
2014
  sessionId: string;
1931
2015
  evidence: {
1932
- id: string;
2016
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1933
2017
  label: string;
1934
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2018
+ id: string;
1935
2019
  capture: "at_action" | "historical_lookup" | "fixture";
1936
2020
  locator?: string | undefined;
1937
2021
  }[];
1938
2022
  detail?: string | undefined;
1939
2023
  } | {
1940
- summary: string;
1941
2024
  kind: "agent_output";
2025
+ summary: string;
1942
2026
  agentId: string;
1943
2027
  sessionId: string;
1944
2028
  evidence: {
1945
- id: string;
2029
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1946
2030
  label: string;
1947
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2031
+ id: string;
1948
2032
  capture: "at_action" | "historical_lookup" | "fixture";
1949
2033
  locator?: string | undefined;
1950
2034
  }[];
@@ -1955,9 +2039,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1955
2039
  statement: string;
1956
2040
  sessionId: string;
1957
2041
  evidence: {
1958
- id: string;
2042
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1959
2043
  label: string;
1960
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2044
+ id: string;
1961
2045
  capture: "at_action" | "historical_lookup" | "fixture";
1962
2046
  locator?: string | undefined;
1963
2047
  }[];
@@ -1965,12 +2049,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1965
2049
  decisionId: string;
1966
2050
  confidence?: number | undefined;
1967
2051
  } | {
1968
- summary: string;
1969
2052
  kind: "conflict_detected";
2053
+ summary: string;
1970
2054
  evidence: {
1971
- id: string;
2055
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1972
2056
  label: string;
1973
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2057
+ id: string;
1974
2058
  capture: "at_action" | "historical_lookup" | "fixture";
1975
2059
  locator?: string | undefined;
1976
2060
  }[];
@@ -1978,14 +2062,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1978
2062
  decisionIds: string[];
1979
2063
  agentIds: string[];
1980
2064
  } | {
2065
+ kind: "test_result";
1981
2066
  summary: string;
1982
2067
  status: "error" | "failed" | "passed";
1983
- kind: "test_result";
1984
2068
  command: string;
1985
2069
  evidence: {
1986
- id: string;
2070
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1987
2071
  label: string;
1988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2072
+ id: string;
1989
2073
  capture: "at_action" | "historical_lookup" | "fixture";
1990
2074
  locator?: string | undefined;
1991
2075
  }[];
@@ -1998,9 +2082,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1998
2082
  statement: string;
1999
2083
  rationale: string;
2000
2084
  evidence: {
2001
- id: string;
2085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2002
2086
  label: string;
2003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2087
+ id: string;
2004
2088
  capture: "at_action" | "historical_lookup" | "fixture";
2005
2089
  locator?: string | undefined;
2006
2090
  }[];
@@ -2012,25 +2096,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2012
2096
  } | {
2013
2097
  kind: "correction_approved";
2014
2098
  evidence: {
2015
- id: string;
2099
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2016
2100
  label: string;
2017
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2101
+ id: string;
2018
2102
  capture: "at_action" | "historical_lookup" | "fixture";
2019
2103
  locator?: string | undefined;
2020
2104
  }[];
2021
2105
  correctionId: string;
2022
2106
  approvedBy: {
2023
- id: string;
2024
- label: string;
2025
2107
  kind: "agent" | "human";
2108
+ label: string;
2109
+ id: string;
2026
2110
  };
2027
2111
  note?: string | undefined;
2028
2112
  } | {
2029
2113
  kind: "decision_superseded";
2030
2114
  evidence: {
2031
- id: string;
2115
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2032
2116
  label: string;
2033
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2117
+ id: string;
2034
2118
  capture: "at_action" | "historical_lookup" | "fixture";
2035
2119
  locator?: string | undefined;
2036
2120
  }[];
@@ -2043,9 +2127,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2043
2127
  agentId: string;
2044
2128
  sessionId: string;
2045
2129
  evidence: {
2046
- id: string;
2130
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2047
2131
  label: string;
2048
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2132
+ id: string;
2049
2133
  capture: "at_action" | "historical_lookup" | "fixture";
2050
2134
  locator?: string | undefined;
2051
2135
  }[];
@@ -2057,9 +2141,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2057
2141
  agentId: string;
2058
2142
  sessionId: string;
2059
2143
  evidence: {
2060
- id: string;
2144
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2061
2145
  label: string;
2062
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2146
+ id: string;
2063
2147
  capture: "at_action" | "historical_lookup" | "fixture";
2064
2148
  locator?: string | undefined;
2065
2149
  }[];
@@ -2068,13 +2152,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2068
2152
  recallReceiptId: string;
2069
2153
  staleDecisionAbsent: boolean;
2070
2154
  } | {
2071
- summary: string;
2072
2155
  kind: "mission_completed";
2156
+ summary: string;
2073
2157
  outcome: "failed" | "recovered" | "inconclusive";
2074
2158
  evidence: {
2075
- id: string;
2159
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2076
2160
  label: string;
2077
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2161
+ id: string;
2078
2162
  capture: "at_action" | "historical_lookup" | "fixture";
2079
2163
  locator?: string | undefined;
2080
2164
  }[];
@@ -2084,37 +2168,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2084
2168
  objective: string;
2085
2169
  runMode: "replay" | "fixture" | "live";
2086
2170
  evidence?: {
2087
- id: string;
2171
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2088
2172
  label: string;
2089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2173
+ id: string;
2090
2174
  capture: "at_action" | "historical_lookup" | "fixture";
2091
2175
  locator?: string | undefined;
2092
2176
  }[] | undefined;
2093
2177
  } | {
2094
- label: string;
2095
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2096
2178
  kind: "agent_status";
2179
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2180
+ label: string;
2097
2181
  role: string;
2098
2182
  agentId: string;
2099
2183
  sessionId: string;
2100
2184
  detail?: string | undefined;
2101
2185
  evidence?: {
2102
- id: string;
2186
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
2187
  label: string;
2104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2188
+ id: string;
2105
2189
  capture: "at_action" | "historical_lookup" | "fixture";
2106
2190
  locator?: string | undefined;
2107
2191
  }[] | undefined;
2108
2192
  } | {
2109
- summary: string;
2110
2193
  kind: "agent_output";
2194
+ summary: string;
2111
2195
  agentId: string;
2112
2196
  sessionId: string;
2113
2197
  outputId: string;
2114
2198
  evidence?: {
2115
- id: string;
2199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2116
2200
  label: string;
2117
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2201
+ id: string;
2118
2202
  capture: "at_action" | "historical_lookup" | "fixture";
2119
2203
  locator?: string | undefined;
2120
2204
  }[] | undefined;
@@ -2127,37 +2211,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2127
2211
  decisionId: string;
2128
2212
  confidence?: number | undefined;
2129
2213
  evidence?: {
2130
- id: string;
2214
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2131
2215
  label: string;
2132
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2216
+ id: string;
2133
2217
  capture: "at_action" | "historical_lookup" | "fixture";
2134
2218
  locator?: string | undefined;
2135
2219
  }[] | undefined;
2136
2220
  } | {
2137
- summary: string;
2138
2221
  kind: "conflict_detected";
2222
+ summary: string;
2139
2223
  conflictId: string;
2140
2224
  decisionIds: string[];
2141
2225
  agentIds: string[];
2142
2226
  evidence?: {
2143
- id: string;
2227
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2144
2228
  label: string;
2145
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2229
+ id: string;
2146
2230
  capture: "at_action" | "historical_lookup" | "fixture";
2147
2231
  locator?: string | undefined;
2148
2232
  }[] | undefined;
2149
2233
  } | {
2234
+ kind: "test_result";
2150
2235
  summary: string;
2151
2236
  status: "error" | "failed" | "passed";
2152
- kind: "test_result";
2153
2237
  command: string;
2154
2238
  decisionId: string;
2155
2239
  testId: string;
2156
2240
  durationMs?: number | undefined;
2157
2241
  evidence?: {
2158
- id: string;
2242
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2159
2243
  label: string;
2160
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2244
+ id: string;
2161
2245
  capture: "at_action" | "historical_lookup" | "fixture";
2162
2246
  locator?: string | undefined;
2163
2247
  }[] | undefined;
@@ -2172,9 +2256,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2172
2256
  supersedesDecisionIds: string[];
2173
2257
  proposedBy: string;
2174
2258
  evidence?: {
2175
- id: string;
2259
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2176
2260
  label: string;
2177
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2261
+ id: string;
2178
2262
  capture: "at_action" | "historical_lookup" | "fixture";
2179
2263
  locator?: string | undefined;
2180
2264
  }[] | undefined;
@@ -2182,15 +2266,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2182
2266
  kind: "correction_approved";
2183
2267
  correctionId: string;
2184
2268
  approvedBy: {
2185
- id: string;
2186
- label: string;
2187
2269
  kind: "agent" | "human";
2270
+ label: string;
2271
+ id: string;
2188
2272
  };
2189
2273
  note?: string | undefined;
2190
2274
  evidence?: {
2191
- id: string;
2275
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2192
2276
  label: string;
2193
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2277
+ id: string;
2194
2278
  capture: "at_action" | "historical_lookup" | "fixture";
2195
2279
  locator?: string | undefined;
2196
2280
  }[] | undefined;
@@ -2200,9 +2284,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2200
2284
  correctionId: string;
2201
2285
  replacementDecisionId: string;
2202
2286
  evidence?: {
2203
- id: string;
2287
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2204
2288
  label: string;
2205
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2289
+ id: string;
2206
2290
  capture: "at_action" | "historical_lookup" | "fixture";
2207
2291
  locator?: string | undefined;
2208
2292
  }[] | undefined;
@@ -2215,9 +2299,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2215
2299
  recallReceiptId: string;
2216
2300
  capturedAtAction: boolean;
2217
2301
  evidence?: {
2218
- id: string;
2302
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2219
2303
  label: string;
2220
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2304
+ id: string;
2221
2305
  capture: "at_action" | "historical_lookup" | "fixture";
2222
2306
  locator?: string | undefined;
2223
2307
  }[] | undefined;
@@ -2230,20 +2314,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2230
2314
  recallReceiptId: string;
2231
2315
  staleDecisionAbsent: boolean;
2232
2316
  evidence?: {
2233
- id: string;
2317
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2234
2318
  label: string;
2235
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2319
+ id: string;
2236
2320
  capture: "at_action" | "historical_lookup" | "fixture";
2237
2321
  locator?: string | undefined;
2238
2322
  }[] | undefined;
2239
2323
  } | {
2240
- summary: string;
2241
2324
  kind: "mission_completed";
2325
+ summary: string;
2242
2326
  outcome: "failed" | "recovered" | "inconclusive";
2243
2327
  evidence?: {
2244
- id: string;
2328
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2245
2329
  label: string;
2246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2330
+ id: string;
2247
2331
  capture: "at_action" | "historical_lookup" | "fixture";
2248
2332
  locator?: string | undefined;
2249
2333
  }[] | undefined;
@@ -2264,15 +2348,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2264
2348
  locator: z.ZodOptional<z.ZodString>;
2265
2349
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2266
2350
  }, "strict", z.ZodTypeAny, {
2267
- id: string;
2351
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2268
2352
  label: string;
2269
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2353
+ id: string;
2270
2354
  capture: "at_action" | "historical_lookup" | "fixture";
2271
2355
  locator?: string | undefined;
2272
2356
  }, {
2273
- id: string;
2357
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2274
2358
  label: string;
2275
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2359
+ id: string;
2276
2360
  capture: "at_action" | "historical_lookup" | "fixture";
2277
2361
  locator?: string | undefined;
2278
2362
  }>, "many">>;
@@ -2280,9 +2364,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2280
2364
  kind: "mission_started";
2281
2365
  title: string;
2282
2366
  evidence: {
2283
- id: string;
2367
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2284
2368
  label: string;
2285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2369
+ id: string;
2286
2370
  capture: "at_action" | "historical_lookup" | "fixture";
2287
2371
  locator?: string | undefined;
2288
2372
  }[];
@@ -2294,9 +2378,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2294
2378
  objective: string;
2295
2379
  runMode: "replay" | "fixture" | "live";
2296
2380
  evidence?: {
2297
- id: string;
2381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2298
2382
  label: string;
2299
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
+ id: string;
2300
2384
  capture: "at_action" | "historical_lookup" | "fixture";
2301
2385
  locator?: string | undefined;
2302
2386
  }[] | undefined;
@@ -2312,15 +2396,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2312
2396
  locator: z.ZodOptional<z.ZodString>;
2313
2397
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2314
2398
  }, "strict", z.ZodTypeAny, {
2315
- id: string;
2399
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
2400
  label: string;
2317
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2401
+ id: string;
2318
2402
  capture: "at_action" | "historical_lookup" | "fixture";
2319
2403
  locator?: string | undefined;
2320
2404
  }, {
2321
- id: string;
2405
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2322
2406
  label: string;
2323
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2407
+ id: string;
2324
2408
  capture: "at_action" | "historical_lookup" | "fixture";
2325
2409
  locator?: string | undefined;
2326
2410
  }>, "many">>;
@@ -2328,32 +2412,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2328
2412
  sessionId: z.ZodString;
2329
2413
  kind: z.ZodLiteral<"agent_status">;
2330
2414
  }, "strict", z.ZodTypeAny, {
2331
- label: string;
2332
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2333
2415
  kind: "agent_status";
2416
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2417
+ label: string;
2334
2418
  role: string;
2335
2419
  agentId: string;
2336
2420
  sessionId: string;
2337
2421
  evidence: {
2338
- id: string;
2422
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2339
2423
  label: string;
2340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
+ id: string;
2341
2425
  capture: "at_action" | "historical_lookup" | "fixture";
2342
2426
  locator?: string | undefined;
2343
2427
  }[];
2344
2428
  detail?: string | undefined;
2345
2429
  }, {
2346
- label: string;
2347
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2348
2430
  kind: "agent_status";
2431
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
2432
+ label: string;
2349
2433
  role: string;
2350
2434
  agentId: string;
2351
2435
  sessionId: string;
2352
2436
  detail?: string | undefined;
2353
2437
  evidence?: {
2354
- id: string;
2438
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2355
2439
  label: string;
2356
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2440
+ id: string;
2357
2441
  capture: "at_action" | "historical_lookup" | "fixture";
2358
2442
  locator?: string | undefined;
2359
2443
  }[] | undefined;
@@ -2367,15 +2451,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2367
2451
  locator: z.ZodOptional<z.ZodString>;
2368
2452
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2369
2453
  }, "strict", z.ZodTypeAny, {
2370
- id: string;
2454
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
2455
  label: string;
2372
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2456
+ id: string;
2373
2457
  capture: "at_action" | "historical_lookup" | "fixture";
2374
2458
  locator?: string | undefined;
2375
2459
  }, {
2376
- id: string;
2460
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
2461
  label: string;
2378
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2462
+ id: string;
2379
2463
  capture: "at_action" | "historical_lookup" | "fixture";
2380
2464
  locator?: string | undefined;
2381
2465
  }>, "many">>;
@@ -2383,28 +2467,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2383
2467
  sessionId: z.ZodString;
2384
2468
  kind: z.ZodLiteral<"agent_output">;
2385
2469
  }, "strict", z.ZodTypeAny, {
2386
- summary: string;
2387
2470
  kind: "agent_output";
2471
+ summary: string;
2388
2472
  agentId: string;
2389
2473
  sessionId: string;
2390
2474
  evidence: {
2391
- id: string;
2475
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2392
2476
  label: string;
2393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2477
+ id: string;
2394
2478
  capture: "at_action" | "historical_lookup" | "fixture";
2395
2479
  locator?: string | undefined;
2396
2480
  }[];
2397
2481
  outputId: string;
2398
2482
  }, {
2399
- summary: string;
2400
2483
  kind: "agent_output";
2484
+ summary: string;
2401
2485
  agentId: string;
2402
2486
  sessionId: string;
2403
2487
  outputId: string;
2404
2488
  evidence?: {
2405
- id: string;
2489
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2406
2490
  label: string;
2407
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2491
+ id: string;
2408
2492
  capture: "at_action" | "historical_lookup" | "fixture";
2409
2493
  locator?: string | undefined;
2410
2494
  }[] | undefined;
@@ -2420,15 +2504,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2420
2504
  locator: z.ZodOptional<z.ZodString>;
2421
2505
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2422
2506
  }, "strict", z.ZodTypeAny, {
2423
- id: string;
2507
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2508
  label: string;
2425
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2509
+ id: string;
2426
2510
  capture: "at_action" | "historical_lookup" | "fixture";
2427
2511
  locator?: string | undefined;
2428
2512
  }, {
2429
- id: string;
2513
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2430
2514
  label: string;
2431
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2515
+ id: string;
2432
2516
  capture: "at_action" | "historical_lookup" | "fixture";
2433
2517
  locator?: string | undefined;
2434
2518
  }>, "many">>;
@@ -2441,9 +2525,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2441
2525
  statement: string;
2442
2526
  sessionId: string;
2443
2527
  evidence: {
2444
- id: string;
2528
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2445
2529
  label: string;
2446
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2530
+ id: string;
2447
2531
  capture: "at_action" | "historical_lookup" | "fixture";
2448
2532
  locator?: string | undefined;
2449
2533
  }[];
@@ -2459,9 +2543,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2459
2543
  decisionId: string;
2460
2544
  confidence?: number | undefined;
2461
2545
  evidence?: {
2462
- id: string;
2546
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2463
2547
  label: string;
2464
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2548
+ id: string;
2465
2549
  capture: "at_action" | "historical_lookup" | "fixture";
2466
2550
  locator?: string | undefined;
2467
2551
  }[] | undefined;
@@ -2478,25 +2562,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2478
2562
  locator: z.ZodOptional<z.ZodString>;
2479
2563
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2480
2564
  }, "strict", z.ZodTypeAny, {
2481
- id: string;
2565
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
2566
  label: string;
2483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2567
+ id: string;
2484
2568
  capture: "at_action" | "historical_lookup" | "fixture";
2485
2569
  locator?: string | undefined;
2486
2570
  }, {
2487
- id: string;
2571
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2488
2572
  label: string;
2489
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2573
+ id: string;
2490
2574
  capture: "at_action" | "historical_lookup" | "fixture";
2491
2575
  locator?: string | undefined;
2492
2576
  }>, "many">>;
2493
2577
  }, "strict", z.ZodTypeAny, {
2494
- summary: string;
2495
2578
  kind: "conflict_detected";
2579
+ summary: string;
2496
2580
  evidence: {
2497
- id: string;
2581
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2498
2582
  label: string;
2499
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2583
+ id: string;
2500
2584
  capture: "at_action" | "historical_lookup" | "fixture";
2501
2585
  locator?: string | undefined;
2502
2586
  }[];
@@ -2504,15 +2588,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2504
2588
  decisionIds: string[];
2505
2589
  agentIds: string[];
2506
2590
  }, {
2507
- summary: string;
2508
2591
  kind: "conflict_detected";
2592
+ summary: string;
2509
2593
  conflictId: string;
2510
2594
  decisionIds: string[];
2511
2595
  agentIds: string[];
2512
2596
  evidence?: {
2513
- id: string;
2597
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2514
2598
  label: string;
2515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2599
+ id: string;
2516
2600
  capture: "at_action" | "historical_lookup" | "fixture";
2517
2601
  locator?: string | undefined;
2518
2602
  }[] | undefined;
@@ -2532,27 +2616,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2532
2616
  locator: z.ZodOptional<z.ZodString>;
2533
2617
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2534
2618
  }, "strict", z.ZodTypeAny, {
2535
- id: string;
2619
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2620
  label: string;
2537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2621
+ id: string;
2538
2622
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2623
  locator?: string | undefined;
2540
2624
  }, {
2541
- id: string;
2625
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2542
2626
  label: string;
2543
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2627
+ id: string;
2544
2628
  capture: "at_action" | "historical_lookup" | "fixture";
2545
2629
  locator?: string | undefined;
2546
2630
  }>, "many">>;
2547
2631
  }, "strict", z.ZodTypeAny, {
2632
+ kind: "test_result";
2548
2633
  summary: string;
2549
2634
  status: "error" | "failed" | "passed";
2550
- kind: "test_result";
2551
2635
  command: string;
2552
2636
  evidence: {
2553
- id: string;
2637
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2554
2638
  label: string;
2555
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2639
+ id: string;
2556
2640
  capture: "at_action" | "historical_lookup" | "fixture";
2557
2641
  locator?: string | undefined;
2558
2642
  }[];
@@ -2561,17 +2645,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2561
2645
  durationMs?: number | undefined;
2562
2646
  correctionId?: string | undefined;
2563
2647
  }, {
2648
+ kind: "test_result";
2564
2649
  summary: string;
2565
2650
  status: "error" | "failed" | "passed";
2566
- kind: "test_result";
2567
2651
  command: string;
2568
2652
  decisionId: string;
2569
2653
  testId: string;
2570
2654
  durationMs?: number | undefined;
2571
2655
  evidence?: {
2572
- id: string;
2656
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2573
2657
  label: string;
2574
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2658
+ id: string;
2575
2659
  capture: "at_action" | "historical_lookup" | "fixture";
2576
2660
  locator?: string | undefined;
2577
2661
  }[] | undefined;
@@ -2592,15 +2676,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2592
2676
  locator: z.ZodOptional<z.ZodString>;
2593
2677
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2594
2678
  }, "strict", z.ZodTypeAny, {
2595
- id: string;
2679
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
2680
  label: string;
2597
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2681
+ id: string;
2598
2682
  capture: "at_action" | "historical_lookup" | "fixture";
2599
2683
  locator?: string | undefined;
2600
2684
  }, {
2601
- id: string;
2685
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
2686
  label: string;
2603
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2687
+ id: string;
2604
2688
  capture: "at_action" | "historical_lookup" | "fixture";
2605
2689
  locator?: string | undefined;
2606
2690
  }>, "many">>;
@@ -2609,9 +2693,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2609
2693
  statement: string;
2610
2694
  rationale: string;
2611
2695
  evidence: {
2612
- id: string;
2696
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
2697
  label: string;
2614
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2698
+ id: string;
2615
2699
  capture: "at_action" | "historical_lookup" | "fixture";
2616
2700
  locator?: string | undefined;
2617
2701
  }[];
@@ -2630,9 +2714,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2630
2714
  supersedesDecisionIds: string[];
2631
2715
  proposedBy: string;
2632
2716
  evidence?: {
2633
- id: string;
2717
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2634
2718
  label: string;
2635
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2719
+ id: string;
2636
2720
  capture: "at_action" | "historical_lookup" | "fixture";
2637
2721
  locator?: string | undefined;
2638
2722
  }[] | undefined;
@@ -2644,13 +2728,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2644
2728
  id: z.ZodString;
2645
2729
  label: z.ZodString;
2646
2730
  }, "strict", z.ZodTypeAny, {
2647
- id: string;
2648
- label: string;
2649
2731
  kind: "agent" | "human";
2650
- }, {
2651
- id: string;
2652
2732
  label: string;
2733
+ id: string;
2734
+ }, {
2653
2735
  kind: "agent" | "human";
2736
+ label: string;
2737
+ id: string;
2654
2738
  }>;
2655
2739
  note: z.ZodOptional<z.ZodString>;
2656
2740
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2660,47 +2744,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2660
2744
  locator: z.ZodOptional<z.ZodString>;
2661
2745
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2662
2746
  }, "strict", z.ZodTypeAny, {
2663
- id: string;
2747
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
2748
  label: string;
2665
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2749
+ id: string;
2666
2750
  capture: "at_action" | "historical_lookup" | "fixture";
2667
2751
  locator?: string | undefined;
2668
2752
  }, {
2669
- id: string;
2753
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2670
2754
  label: string;
2671
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2755
+ id: string;
2672
2756
  capture: "at_action" | "historical_lookup" | "fixture";
2673
2757
  locator?: string | undefined;
2674
2758
  }>, "many">>;
2675
2759
  }, "strict", z.ZodTypeAny, {
2676
2760
  kind: "correction_approved";
2677
2761
  evidence: {
2678
- id: string;
2762
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2679
2763
  label: string;
2680
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2764
+ id: string;
2681
2765
  capture: "at_action" | "historical_lookup" | "fixture";
2682
2766
  locator?: string | undefined;
2683
2767
  }[];
2684
2768
  correctionId: string;
2685
2769
  approvedBy: {
2686
- id: string;
2687
- label: string;
2688
2770
  kind: "agent" | "human";
2771
+ label: string;
2772
+ id: string;
2689
2773
  };
2690
2774
  note?: string | undefined;
2691
2775
  }, {
2692
2776
  kind: "correction_approved";
2693
2777
  correctionId: string;
2694
2778
  approvedBy: {
2695
- id: string;
2696
- label: string;
2697
2779
  kind: "agent" | "human";
2780
+ label: string;
2781
+ id: string;
2698
2782
  };
2699
2783
  note?: string | undefined;
2700
2784
  evidence?: {
2701
- id: string;
2785
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
2786
  label: string;
2703
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2787
+ id: string;
2704
2788
  capture: "at_action" | "historical_lookup" | "fixture";
2705
2789
  locator?: string | undefined;
2706
2790
  }[] | undefined;
@@ -2716,24 +2800,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2716
2800
  locator: z.ZodOptional<z.ZodString>;
2717
2801
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2718
2802
  }, "strict", z.ZodTypeAny, {
2719
- id: string;
2803
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
2804
  label: string;
2721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2805
+ id: string;
2722
2806
  capture: "at_action" | "historical_lookup" | "fixture";
2723
2807
  locator?: string | undefined;
2724
2808
  }, {
2725
- id: string;
2809
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2726
2810
  label: string;
2727
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2811
+ id: string;
2728
2812
  capture: "at_action" | "historical_lookup" | "fixture";
2729
2813
  locator?: string | undefined;
2730
2814
  }>, "many">>;
2731
2815
  }, "strict", z.ZodTypeAny, {
2732
2816
  kind: "decision_superseded";
2733
2817
  evidence: {
2734
- id: string;
2818
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2735
2819
  label: string;
2736
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2820
+ id: string;
2737
2821
  capture: "at_action" | "historical_lookup" | "fixture";
2738
2822
  locator?: string | undefined;
2739
2823
  }[];
@@ -2746,9 +2830,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2746
2830
  correctionId: string;
2747
2831
  replacementDecisionId: string;
2748
2832
  evidence?: {
2749
- id: string;
2833
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2750
2834
  label: string;
2751
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2835
+ id: string;
2752
2836
  capture: "at_action" | "historical_lookup" | "fixture";
2753
2837
  locator?: string | undefined;
2754
2838
  }[] | undefined;
@@ -2764,15 +2848,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2764
2848
  locator: z.ZodOptional<z.ZodString>;
2765
2849
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2766
2850
  }, "strict", z.ZodTypeAny, {
2767
- id: string;
2851
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
2852
  label: string;
2769
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2853
+ id: string;
2770
2854
  capture: "at_action" | "historical_lookup" | "fixture";
2771
2855
  locator?: string | undefined;
2772
2856
  }, {
2773
- id: string;
2857
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2774
2858
  label: string;
2775
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2859
+ id: string;
2776
2860
  capture: "at_action" | "historical_lookup" | "fixture";
2777
2861
  locator?: string | undefined;
2778
2862
  }>, "many">>;
@@ -2785,9 +2869,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2785
2869
  agentId: string;
2786
2870
  sessionId: string;
2787
2871
  evidence: {
2788
- id: string;
2872
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2789
2873
  label: string;
2790
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2874
+ id: string;
2791
2875
  capture: "at_action" | "historical_lookup" | "fixture";
2792
2876
  locator?: string | undefined;
2793
2877
  }[];
@@ -2803,9 +2887,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2803
2887
  recallReceiptId: string;
2804
2888
  capturedAtAction: boolean;
2805
2889
  evidence?: {
2806
- id: string;
2890
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2807
2891
  label: string;
2808
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2892
+ id: string;
2809
2893
  capture: "at_action" | "historical_lookup" | "fixture";
2810
2894
  locator?: string | undefined;
2811
2895
  }[] | undefined;
@@ -2821,15 +2905,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2821
2905
  locator: z.ZodOptional<z.ZodString>;
2822
2906
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2823
2907
  }, "strict", z.ZodTypeAny, {
2824
- id: string;
2908
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
2909
  label: string;
2826
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2910
+ id: string;
2827
2911
  capture: "at_action" | "historical_lookup" | "fixture";
2828
2912
  locator?: string | undefined;
2829
2913
  }, {
2830
- id: string;
2914
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2831
2915
  label: string;
2832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2916
+ id: string;
2833
2917
  capture: "at_action" | "historical_lookup" | "fixture";
2834
2918
  locator?: string | undefined;
2835
2919
  }>, "many">>;
@@ -2841,9 +2925,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2841
2925
  agentId: string;
2842
2926
  sessionId: string;
2843
2927
  evidence: {
2844
- id: string;
2928
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2845
2929
  label: string;
2846
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2930
+ id: string;
2847
2931
  capture: "at_action" | "historical_lookup" | "fixture";
2848
2932
  locator?: string | undefined;
2849
2933
  }[];
@@ -2860,9 +2944,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2860
2944
  recallReceiptId: string;
2861
2945
  staleDecisionAbsent: boolean;
2862
2946
  evidence?: {
2863
- id: string;
2947
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2864
2948
  label: string;
2865
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
+ id: string;
2866
2950
  capture: "at_action" | "historical_lookup" | "fixture";
2867
2951
  locator?: string | undefined;
2868
2952
  }[] | undefined;
@@ -2877,37 +2961,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2877
2961
  locator: z.ZodOptional<z.ZodString>;
2878
2962
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2879
2963
  }, "strict", z.ZodTypeAny, {
2880
- id: string;
2964
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2881
2965
  label: string;
2882
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2966
+ id: string;
2883
2967
  capture: "at_action" | "historical_lookup" | "fixture";
2884
2968
  locator?: string | undefined;
2885
2969
  }, {
2886
- id: string;
2970
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2887
2971
  label: string;
2888
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2972
+ id: string;
2889
2973
  capture: "at_action" | "historical_lookup" | "fixture";
2890
2974
  locator?: string | undefined;
2891
2975
  }>, "many">>;
2892
2976
  }, "strict", z.ZodTypeAny, {
2893
- summary: string;
2894
2977
  kind: "mission_completed";
2978
+ summary: string;
2895
2979
  outcome: "failed" | "recovered" | "inconclusive";
2896
2980
  evidence: {
2897
- id: string;
2981
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2898
2982
  label: string;
2899
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2983
+ id: string;
2900
2984
  capture: "at_action" | "historical_lookup" | "fixture";
2901
2985
  locator?: string | undefined;
2902
2986
  }[];
2903
2987
  }, {
2904
- summary: string;
2905
2988
  kind: "mission_completed";
2989
+ summary: string;
2906
2990
  outcome: "failed" | "recovered" | "inconclusive";
2907
2991
  evidence?: {
2908
- id: string;
2992
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
2993
  label: string;
2910
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2994
+ id: string;
2911
2995
  capture: "at_action" | "historical_lookup" | "fixture";
2912
2996
  locator?: string | undefined;
2913
2997
  }[] | undefined;
@@ -2915,38 +2999,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2915
2999
  kind: "mission_started";
2916
3000
  title: string;
2917
3001
  evidence: {
2918
- id: string;
3002
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2919
3003
  label: string;
2920
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3004
+ id: string;
2921
3005
  capture: "at_action" | "historical_lookup" | "fixture";
2922
3006
  locator?: string | undefined;
2923
3007
  }[];
2924
3008
  objective: string;
2925
3009
  runMode: "replay" | "fixture" | "live";
2926
3010
  } | {
2927
- label: string;
2928
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2929
3011
  kind: "agent_status";
3012
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3013
+ label: string;
2930
3014
  role: string;
2931
3015
  agentId: string;
2932
3016
  sessionId: string;
2933
3017
  evidence: {
2934
- id: string;
3018
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2935
3019
  label: string;
2936
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3020
+ id: string;
2937
3021
  capture: "at_action" | "historical_lookup" | "fixture";
2938
3022
  locator?: string | undefined;
2939
3023
  }[];
2940
3024
  detail?: string | undefined;
2941
3025
  } | {
2942
- summary: string;
2943
3026
  kind: "agent_output";
3027
+ summary: string;
2944
3028
  agentId: string;
2945
3029
  sessionId: string;
2946
3030
  evidence: {
2947
- id: string;
3031
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2948
3032
  label: string;
2949
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3033
+ id: string;
2950
3034
  capture: "at_action" | "historical_lookup" | "fixture";
2951
3035
  locator?: string | undefined;
2952
3036
  }[];
@@ -2957,9 +3041,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2957
3041
  statement: string;
2958
3042
  sessionId: string;
2959
3043
  evidence: {
2960
- id: string;
3044
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2961
3045
  label: string;
2962
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3046
+ id: string;
2963
3047
  capture: "at_action" | "historical_lookup" | "fixture";
2964
3048
  locator?: string | undefined;
2965
3049
  }[];
@@ -2967,12 +3051,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2967
3051
  decisionId: string;
2968
3052
  confidence?: number | undefined;
2969
3053
  } | {
2970
- summary: string;
2971
3054
  kind: "conflict_detected";
3055
+ summary: string;
2972
3056
  evidence: {
2973
- id: string;
3057
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2974
3058
  label: string;
2975
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3059
+ id: string;
2976
3060
  capture: "at_action" | "historical_lookup" | "fixture";
2977
3061
  locator?: string | undefined;
2978
3062
  }[];
@@ -2980,14 +3064,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2980
3064
  decisionIds: string[];
2981
3065
  agentIds: string[];
2982
3066
  } | {
3067
+ kind: "test_result";
2983
3068
  summary: string;
2984
3069
  status: "error" | "failed" | "passed";
2985
- kind: "test_result";
2986
3070
  command: string;
2987
3071
  evidence: {
2988
- id: string;
3072
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2989
3073
  label: string;
2990
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3074
+ id: string;
2991
3075
  capture: "at_action" | "historical_lookup" | "fixture";
2992
3076
  locator?: string | undefined;
2993
3077
  }[];
@@ -3000,9 +3084,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3000
3084
  statement: string;
3001
3085
  rationale: string;
3002
3086
  evidence: {
3003
- id: string;
3087
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3004
3088
  label: string;
3005
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3089
+ id: string;
3006
3090
  capture: "at_action" | "historical_lookup" | "fixture";
3007
3091
  locator?: string | undefined;
3008
3092
  }[];
@@ -3014,25 +3098,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3014
3098
  } | {
3015
3099
  kind: "correction_approved";
3016
3100
  evidence: {
3017
- id: string;
3101
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3018
3102
  label: string;
3019
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3103
+ id: string;
3020
3104
  capture: "at_action" | "historical_lookup" | "fixture";
3021
3105
  locator?: string | undefined;
3022
3106
  }[];
3023
3107
  correctionId: string;
3024
3108
  approvedBy: {
3025
- id: string;
3026
- label: string;
3027
3109
  kind: "agent" | "human";
3110
+ label: string;
3111
+ id: string;
3028
3112
  };
3029
3113
  note?: string | undefined;
3030
3114
  } | {
3031
3115
  kind: "decision_superseded";
3032
3116
  evidence: {
3033
- id: string;
3117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3034
3118
  label: string;
3035
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3119
+ id: string;
3036
3120
  capture: "at_action" | "historical_lookup" | "fixture";
3037
3121
  locator?: string | undefined;
3038
3122
  }[];
@@ -3045,9 +3129,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3045
3129
  agentId: string;
3046
3130
  sessionId: string;
3047
3131
  evidence: {
3048
- id: string;
3132
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3049
3133
  label: string;
3050
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3134
+ id: string;
3051
3135
  capture: "at_action" | "historical_lookup" | "fixture";
3052
3136
  locator?: string | undefined;
3053
3137
  }[];
@@ -3059,9 +3143,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3059
3143
  agentId: string;
3060
3144
  sessionId: string;
3061
3145
  evidence: {
3062
- id: string;
3146
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3063
3147
  label: string;
3064
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3148
+ id: string;
3065
3149
  capture: "at_action" | "historical_lookup" | "fixture";
3066
3150
  locator?: string | undefined;
3067
3151
  }[];
@@ -3070,13 +3154,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3070
3154
  recallReceiptId: string;
3071
3155
  staleDecisionAbsent: boolean;
3072
3156
  } | {
3073
- summary: string;
3074
3157
  kind: "mission_completed";
3158
+ summary: string;
3075
3159
  outcome: "failed" | "recovered" | "inconclusive";
3076
3160
  evidence: {
3077
- id: string;
3161
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3078
3162
  label: string;
3079
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3163
+ id: string;
3080
3164
  capture: "at_action" | "historical_lookup" | "fixture";
3081
3165
  locator?: string | undefined;
3082
3166
  }[];
@@ -3086,37 +3170,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3086
3170
  objective: string;
3087
3171
  runMode: "replay" | "fixture" | "live";
3088
3172
  evidence?: {
3089
- id: string;
3173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3090
3174
  label: string;
3091
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3175
+ id: string;
3092
3176
  capture: "at_action" | "historical_lookup" | "fixture";
3093
3177
  locator?: string | undefined;
3094
3178
  }[] | undefined;
3095
3179
  } | {
3096
- label: string;
3097
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3098
3180
  kind: "agent_status";
3181
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3182
+ label: string;
3099
3183
  role: string;
3100
3184
  agentId: string;
3101
3185
  sessionId: string;
3102
3186
  detail?: string | undefined;
3103
3187
  evidence?: {
3104
- id: string;
3188
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3105
3189
  label: string;
3106
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3190
+ id: string;
3107
3191
  capture: "at_action" | "historical_lookup" | "fixture";
3108
3192
  locator?: string | undefined;
3109
3193
  }[] | undefined;
3110
3194
  } | {
3111
- summary: string;
3112
3195
  kind: "agent_output";
3196
+ summary: string;
3113
3197
  agentId: string;
3114
3198
  sessionId: string;
3115
3199
  outputId: string;
3116
3200
  evidence?: {
3117
- id: string;
3201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3118
3202
  label: string;
3119
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3203
+ id: string;
3120
3204
  capture: "at_action" | "historical_lookup" | "fixture";
3121
3205
  locator?: string | undefined;
3122
3206
  }[] | undefined;
@@ -3129,37 +3213,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3129
3213
  decisionId: string;
3130
3214
  confidence?: number | undefined;
3131
3215
  evidence?: {
3132
- id: string;
3216
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3133
3217
  label: string;
3134
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3218
+ id: string;
3135
3219
  capture: "at_action" | "historical_lookup" | "fixture";
3136
3220
  locator?: string | undefined;
3137
3221
  }[] | undefined;
3138
3222
  } | {
3139
- summary: string;
3140
3223
  kind: "conflict_detected";
3224
+ summary: string;
3141
3225
  conflictId: string;
3142
3226
  decisionIds: string[];
3143
3227
  agentIds: string[];
3144
3228
  evidence?: {
3145
- id: string;
3229
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3146
3230
  label: string;
3147
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3231
+ id: string;
3148
3232
  capture: "at_action" | "historical_lookup" | "fixture";
3149
3233
  locator?: string | undefined;
3150
3234
  }[] | undefined;
3151
3235
  } | {
3236
+ kind: "test_result";
3152
3237
  summary: string;
3153
3238
  status: "error" | "failed" | "passed";
3154
- kind: "test_result";
3155
3239
  command: string;
3156
3240
  decisionId: string;
3157
3241
  testId: string;
3158
3242
  durationMs?: number | undefined;
3159
3243
  evidence?: {
3160
- id: string;
3244
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3161
3245
  label: string;
3162
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3246
+ id: string;
3163
3247
  capture: "at_action" | "historical_lookup" | "fixture";
3164
3248
  locator?: string | undefined;
3165
3249
  }[] | undefined;
@@ -3174,9 +3258,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3174
3258
  supersedesDecisionIds: string[];
3175
3259
  proposedBy: string;
3176
3260
  evidence?: {
3177
- id: string;
3261
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3178
3262
  label: string;
3179
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3263
+ id: string;
3180
3264
  capture: "at_action" | "historical_lookup" | "fixture";
3181
3265
  locator?: string | undefined;
3182
3266
  }[] | undefined;
@@ -3184,15 +3268,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3184
3268
  kind: "correction_approved";
3185
3269
  correctionId: string;
3186
3270
  approvedBy: {
3187
- id: string;
3188
- label: string;
3189
3271
  kind: "agent" | "human";
3272
+ label: string;
3273
+ id: string;
3190
3274
  };
3191
3275
  note?: string | undefined;
3192
3276
  evidence?: {
3193
- id: string;
3277
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3194
3278
  label: string;
3195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3279
+ id: string;
3196
3280
  capture: "at_action" | "historical_lookup" | "fixture";
3197
3281
  locator?: string | undefined;
3198
3282
  }[] | undefined;
@@ -3202,9 +3286,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3202
3286
  correctionId: string;
3203
3287
  replacementDecisionId: string;
3204
3288
  evidence?: {
3205
- id: string;
3289
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3206
3290
  label: string;
3207
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3291
+ id: string;
3208
3292
  capture: "at_action" | "historical_lookup" | "fixture";
3209
3293
  locator?: string | undefined;
3210
3294
  }[] | undefined;
@@ -3217,9 +3301,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3217
3301
  recallReceiptId: string;
3218
3302
  capturedAtAction: boolean;
3219
3303
  evidence?: {
3220
- id: string;
3304
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3221
3305
  label: string;
3222
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3306
+ id: string;
3223
3307
  capture: "at_action" | "historical_lookup" | "fixture";
3224
3308
  locator?: string | undefined;
3225
3309
  }[] | undefined;
@@ -3232,20 +3316,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3232
3316
  recallReceiptId: string;
3233
3317
  staleDecisionAbsent: boolean;
3234
3318
  evidence?: {
3235
- id: string;
3319
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3236
3320
  label: string;
3237
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3321
+ id: string;
3238
3322
  capture: "at_action" | "historical_lookup" | "fixture";
3239
3323
  locator?: string | undefined;
3240
3324
  }[] | undefined;
3241
3325
  } | {
3242
- summary: string;
3243
3326
  kind: "mission_completed";
3327
+ summary: string;
3244
3328
  outcome: "failed" | "recovered" | "inconclusive";
3245
3329
  evidence?: {
3246
- id: string;
3330
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3247
3331
  label: string;
3248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3332
+ id: string;
3249
3333
  capture: "at_action" | "historical_lookup" | "fixture";
3250
3334
  locator?: string | undefined;
3251
3335
  }[] | undefined;
@@ -3255,38 +3339,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3255
3339
  kind: "mission_started";
3256
3340
  title: string;
3257
3341
  evidence: {
3258
- id: string;
3342
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3259
3343
  label: string;
3260
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
+ id: string;
3261
3345
  capture: "at_action" | "historical_lookup" | "fixture";
3262
3346
  locator?: string | undefined;
3263
3347
  }[];
3264
3348
  objective: string;
3265
3349
  runMode: "replay" | "fixture" | "live";
3266
3350
  } | {
3267
- label: string;
3268
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3269
3351
  kind: "agent_status";
3352
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3353
+ label: string;
3270
3354
  role: string;
3271
3355
  agentId: string;
3272
3356
  sessionId: string;
3273
3357
  evidence: {
3274
- id: string;
3358
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3275
3359
  label: string;
3276
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3360
+ id: string;
3277
3361
  capture: "at_action" | "historical_lookup" | "fixture";
3278
3362
  locator?: string | undefined;
3279
3363
  }[];
3280
3364
  detail?: string | undefined;
3281
3365
  } | {
3282
- summary: string;
3283
3366
  kind: "agent_output";
3367
+ summary: string;
3284
3368
  agentId: string;
3285
3369
  sessionId: string;
3286
3370
  evidence: {
3287
- id: string;
3371
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3288
3372
  label: string;
3289
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3373
+ id: string;
3290
3374
  capture: "at_action" | "historical_lookup" | "fixture";
3291
3375
  locator?: string | undefined;
3292
3376
  }[];
@@ -3297,9 +3381,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3297
3381
  statement: string;
3298
3382
  sessionId: string;
3299
3383
  evidence: {
3300
- id: string;
3384
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3301
3385
  label: string;
3302
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3386
+ id: string;
3303
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3304
3388
  locator?: string | undefined;
3305
3389
  }[];
@@ -3307,12 +3391,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3307
3391
  decisionId: string;
3308
3392
  confidence?: number | undefined;
3309
3393
  } | {
3310
- summary: string;
3311
3394
  kind: "conflict_detected";
3395
+ summary: string;
3312
3396
  evidence: {
3313
- id: string;
3397
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3314
3398
  label: string;
3315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3399
+ id: string;
3316
3400
  capture: "at_action" | "historical_lookup" | "fixture";
3317
3401
  locator?: string | undefined;
3318
3402
  }[];
@@ -3320,14 +3404,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3320
3404
  decisionIds: string[];
3321
3405
  agentIds: string[];
3322
3406
  } | {
3407
+ kind: "test_result";
3323
3408
  summary: string;
3324
3409
  status: "error" | "failed" | "passed";
3325
- kind: "test_result";
3326
3410
  command: string;
3327
3411
  evidence: {
3328
- id: string;
3412
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3329
3413
  label: string;
3330
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3414
+ id: string;
3331
3415
  capture: "at_action" | "historical_lookup" | "fixture";
3332
3416
  locator?: string | undefined;
3333
3417
  }[];
@@ -3340,9 +3424,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3340
3424
  statement: string;
3341
3425
  rationale: string;
3342
3426
  evidence: {
3343
- id: string;
3427
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
3428
  label: string;
3345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3429
+ id: string;
3346
3430
  capture: "at_action" | "historical_lookup" | "fixture";
3347
3431
  locator?: string | undefined;
3348
3432
  }[];
@@ -3354,25 +3438,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3354
3438
  } | {
3355
3439
  kind: "correction_approved";
3356
3440
  evidence: {
3357
- id: string;
3441
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3358
3442
  label: string;
3359
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
+ id: string;
3360
3444
  capture: "at_action" | "historical_lookup" | "fixture";
3361
3445
  locator?: string | undefined;
3362
3446
  }[];
3363
3447
  correctionId: string;
3364
3448
  approvedBy: {
3365
- id: string;
3366
- label: string;
3367
3449
  kind: "agent" | "human";
3450
+ label: string;
3451
+ id: string;
3368
3452
  };
3369
3453
  note?: string | undefined;
3370
3454
  } | {
3371
3455
  kind: "decision_superseded";
3372
3456
  evidence: {
3373
- id: string;
3457
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3374
3458
  label: string;
3375
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3459
+ id: string;
3376
3460
  capture: "at_action" | "historical_lookup" | "fixture";
3377
3461
  locator?: string | undefined;
3378
3462
  }[];
@@ -3385,9 +3469,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3385
3469
  agentId: string;
3386
3470
  sessionId: string;
3387
3471
  evidence: {
3388
- id: string;
3472
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3389
3473
  label: string;
3390
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3474
+ id: string;
3391
3475
  capture: "at_action" | "historical_lookup" | "fixture";
3392
3476
  locator?: string | undefined;
3393
3477
  }[];
@@ -3399,9 +3483,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3399
3483
  agentId: string;
3400
3484
  sessionId: string;
3401
3485
  evidence: {
3402
- id: string;
3486
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3403
3487
  label: string;
3404
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3488
+ id: string;
3405
3489
  capture: "at_action" | "historical_lookup" | "fixture";
3406
3490
  locator?: string | undefined;
3407
3491
  }[];
@@ -3410,13 +3494,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3410
3494
  recallReceiptId: string;
3411
3495
  staleDecisionAbsent: boolean;
3412
3496
  } | {
3413
- summary: string;
3414
3497
  kind: "mission_completed";
3498
+ summary: string;
3415
3499
  outcome: "failed" | "recovered" | "inconclusive";
3416
3500
  evidence: {
3417
- id: string;
3501
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3418
3502
  label: string;
3419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3503
+ id: string;
3420
3504
  capture: "at_action" | "historical_lookup" | "fixture";
3421
3505
  locator?: string | undefined;
3422
3506
  }[];
@@ -3430,37 +3514,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3430
3514
  objective: string;
3431
3515
  runMode: "replay" | "fixture" | "live";
3432
3516
  evidence?: {
3433
- id: string;
3517
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3434
3518
  label: string;
3435
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3519
+ id: string;
3436
3520
  capture: "at_action" | "historical_lookup" | "fixture";
3437
3521
  locator?: string | undefined;
3438
3522
  }[] | undefined;
3439
3523
  } | {
3440
- label: string;
3441
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3442
3524
  kind: "agent_status";
3525
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3526
+ label: string;
3443
3527
  role: string;
3444
3528
  agentId: string;
3445
3529
  sessionId: string;
3446
3530
  detail?: string | undefined;
3447
3531
  evidence?: {
3448
- id: string;
3532
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3449
3533
  label: string;
3450
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3534
+ id: string;
3451
3535
  capture: "at_action" | "historical_lookup" | "fixture";
3452
3536
  locator?: string | undefined;
3453
3537
  }[] | undefined;
3454
3538
  } | {
3455
- summary: string;
3456
3539
  kind: "agent_output";
3540
+ summary: string;
3457
3541
  agentId: string;
3458
3542
  sessionId: string;
3459
3543
  outputId: string;
3460
3544
  evidence?: {
3461
- id: string;
3545
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3462
3546
  label: string;
3463
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3547
+ id: string;
3464
3548
  capture: "at_action" | "historical_lookup" | "fixture";
3465
3549
  locator?: string | undefined;
3466
3550
  }[] | undefined;
@@ -3473,37 +3557,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3473
3557
  decisionId: string;
3474
3558
  confidence?: number | undefined;
3475
3559
  evidence?: {
3476
- id: string;
3560
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3477
3561
  label: string;
3478
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3562
+ id: string;
3479
3563
  capture: "at_action" | "historical_lookup" | "fixture";
3480
3564
  locator?: string | undefined;
3481
3565
  }[] | undefined;
3482
3566
  } | {
3483
- summary: string;
3484
3567
  kind: "conflict_detected";
3568
+ summary: string;
3485
3569
  conflictId: string;
3486
3570
  decisionIds: string[];
3487
3571
  agentIds: string[];
3488
3572
  evidence?: {
3489
- id: string;
3573
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3490
3574
  label: string;
3491
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3575
+ id: string;
3492
3576
  capture: "at_action" | "historical_lookup" | "fixture";
3493
3577
  locator?: string | undefined;
3494
3578
  }[] | undefined;
3495
3579
  } | {
3580
+ kind: "test_result";
3496
3581
  summary: string;
3497
3582
  status: "error" | "failed" | "passed";
3498
- kind: "test_result";
3499
3583
  command: string;
3500
3584
  decisionId: string;
3501
3585
  testId: string;
3502
3586
  durationMs?: number | undefined;
3503
3587
  evidence?: {
3504
- id: string;
3588
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3505
3589
  label: string;
3506
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3590
+ id: string;
3507
3591
  capture: "at_action" | "historical_lookup" | "fixture";
3508
3592
  locator?: string | undefined;
3509
3593
  }[] | undefined;
@@ -3518,9 +3602,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3518
3602
  supersedesDecisionIds: string[];
3519
3603
  proposedBy: string;
3520
3604
  evidence?: {
3521
- id: string;
3605
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3522
3606
  label: string;
3523
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3607
+ id: string;
3524
3608
  capture: "at_action" | "historical_lookup" | "fixture";
3525
3609
  locator?: string | undefined;
3526
3610
  }[] | undefined;
@@ -3528,15 +3612,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3528
3612
  kind: "correction_approved";
3529
3613
  correctionId: string;
3530
3614
  approvedBy: {
3531
- id: string;
3532
- label: string;
3533
3615
  kind: "agent" | "human";
3616
+ label: string;
3617
+ id: string;
3534
3618
  };
3535
3619
  note?: string | undefined;
3536
3620
  evidence?: {
3537
- id: string;
3621
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3538
3622
  label: string;
3539
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
+ id: string;
3540
3624
  capture: "at_action" | "historical_lookup" | "fixture";
3541
3625
  locator?: string | undefined;
3542
3626
  }[] | undefined;
@@ -3546,9 +3630,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3546
3630
  correctionId: string;
3547
3631
  replacementDecisionId: string;
3548
3632
  evidence?: {
3549
- id: string;
3633
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
3634
  label: string;
3551
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3635
+ id: string;
3552
3636
  capture: "at_action" | "historical_lookup" | "fixture";
3553
3637
  locator?: string | undefined;
3554
3638
  }[] | undefined;
@@ -3561,9 +3645,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3561
3645
  recallReceiptId: string;
3562
3646
  capturedAtAction: boolean;
3563
3647
  evidence?: {
3564
- id: string;
3648
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3565
3649
  label: string;
3566
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3650
+ id: string;
3567
3651
  capture: "at_action" | "historical_lookup" | "fixture";
3568
3652
  locator?: string | undefined;
3569
3653
  }[] | undefined;
@@ -3576,20 +3660,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3576
3660
  recallReceiptId: string;
3577
3661
  staleDecisionAbsent: boolean;
3578
3662
  evidence?: {
3579
- id: string;
3663
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
3664
  label: string;
3581
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3665
+ id: string;
3582
3666
  capture: "at_action" | "historical_lookup" | "fixture";
3583
3667
  locator?: string | undefined;
3584
3668
  }[] | undefined;
3585
3669
  } | {
3586
- summary: string;
3587
3670
  kind: "mission_completed";
3671
+ summary: string;
3588
3672
  outcome: "failed" | "recovered" | "inconclusive";
3589
3673
  evidence?: {
3590
- id: string;
3674
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3591
3675
  label: string;
3592
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3676
+ id: string;
3593
3677
  capture: "at_action" | "historical_lookup" | "fixture";
3594
3678
  locator?: string | undefined;
3595
3679
  }[] | undefined;
@@ -3619,15 +3703,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3619
3703
  locator: z.ZodOptional<z.ZodString>;
3620
3704
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3621
3705
  }, "strict", z.ZodTypeAny, {
3622
- id: string;
3706
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
3707
  label: string;
3624
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3708
+ id: string;
3625
3709
  capture: "at_action" | "historical_lookup" | "fixture";
3626
3710
  locator?: string | undefined;
3627
3711
  }, {
3628
- id: string;
3712
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3629
3713
  label: string;
3630
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3714
+ id: string;
3631
3715
  capture: "at_action" | "historical_lookup" | "fixture";
3632
3716
  locator?: string | undefined;
3633
3717
  }>, "many">>;
@@ -3635,9 +3719,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3635
3719
  kind: "mission_started";
3636
3720
  title: string;
3637
3721
  evidence: {
3638
- id: string;
3722
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3639
3723
  label: string;
3640
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3724
+ id: string;
3641
3725
  capture: "at_action" | "historical_lookup" | "fixture";
3642
3726
  locator?: string | undefined;
3643
3727
  }[];
@@ -3649,9 +3733,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3649
3733
  objective: string;
3650
3734
  runMode: "replay" | "fixture" | "live";
3651
3735
  evidence?: {
3652
- id: string;
3736
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3653
3737
  label: string;
3654
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
+ id: string;
3655
3739
  capture: "at_action" | "historical_lookup" | "fixture";
3656
3740
  locator?: string | undefined;
3657
3741
  }[] | undefined;
@@ -3667,15 +3751,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3667
3751
  locator: z.ZodOptional<z.ZodString>;
3668
3752
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3669
3753
  }, "strict", z.ZodTypeAny, {
3670
- id: string;
3754
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
3755
  label: string;
3672
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3756
+ id: string;
3673
3757
  capture: "at_action" | "historical_lookup" | "fixture";
3674
3758
  locator?: string | undefined;
3675
3759
  }, {
3676
- id: string;
3760
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3677
3761
  label: string;
3678
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3762
+ id: string;
3679
3763
  capture: "at_action" | "historical_lookup" | "fixture";
3680
3764
  locator?: string | undefined;
3681
3765
  }>, "many">>;
@@ -3683,32 +3767,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3683
3767
  sessionId: z.ZodString;
3684
3768
  kind: z.ZodLiteral<"agent_status">;
3685
3769
  }, "strict", z.ZodTypeAny, {
3686
- label: string;
3687
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3688
3770
  kind: "agent_status";
3771
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3772
+ label: string;
3689
3773
  role: string;
3690
3774
  agentId: string;
3691
3775
  sessionId: string;
3692
3776
  evidence: {
3693
- id: string;
3777
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3694
3778
  label: string;
3695
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
+ id: string;
3696
3780
  capture: "at_action" | "historical_lookup" | "fixture";
3697
3781
  locator?: string | undefined;
3698
3782
  }[];
3699
3783
  detail?: string | undefined;
3700
3784
  }, {
3701
- label: string;
3702
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3703
3785
  kind: "agent_status";
3786
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
3787
+ label: string;
3704
3788
  role: string;
3705
3789
  agentId: string;
3706
3790
  sessionId: string;
3707
3791
  detail?: string | undefined;
3708
3792
  evidence?: {
3709
- id: string;
3793
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3710
3794
  label: string;
3711
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3795
+ id: string;
3712
3796
  capture: "at_action" | "historical_lookup" | "fixture";
3713
3797
  locator?: string | undefined;
3714
3798
  }[] | undefined;
@@ -3722,15 +3806,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3722
3806
  locator: z.ZodOptional<z.ZodString>;
3723
3807
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3724
3808
  }, "strict", z.ZodTypeAny, {
3725
- id: string;
3809
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
3810
  label: string;
3727
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3811
+ id: string;
3728
3812
  capture: "at_action" | "historical_lookup" | "fixture";
3729
3813
  locator?: string | undefined;
3730
3814
  }, {
3731
- id: string;
3815
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
3816
  label: string;
3733
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3817
+ id: string;
3734
3818
  capture: "at_action" | "historical_lookup" | "fixture";
3735
3819
  locator?: string | undefined;
3736
3820
  }>, "many">>;
@@ -3738,28 +3822,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3738
3822
  sessionId: z.ZodString;
3739
3823
  kind: z.ZodLiteral<"agent_output">;
3740
3824
  }, "strict", z.ZodTypeAny, {
3741
- summary: string;
3742
3825
  kind: "agent_output";
3826
+ summary: string;
3743
3827
  agentId: string;
3744
3828
  sessionId: string;
3745
3829
  evidence: {
3746
- id: string;
3830
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3747
3831
  label: string;
3748
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3832
+ id: string;
3749
3833
  capture: "at_action" | "historical_lookup" | "fixture";
3750
3834
  locator?: string | undefined;
3751
3835
  }[];
3752
3836
  outputId: string;
3753
3837
  }, {
3754
- summary: string;
3755
3838
  kind: "agent_output";
3839
+ summary: string;
3756
3840
  agentId: string;
3757
3841
  sessionId: string;
3758
3842
  outputId: string;
3759
3843
  evidence?: {
3760
- id: string;
3844
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3761
3845
  label: string;
3762
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3846
+ id: string;
3763
3847
  capture: "at_action" | "historical_lookup" | "fixture";
3764
3848
  locator?: string | undefined;
3765
3849
  }[] | undefined;
@@ -3775,15 +3859,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3775
3859
  locator: z.ZodOptional<z.ZodString>;
3776
3860
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3777
3861
  }, "strict", z.ZodTypeAny, {
3778
- id: string;
3862
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3863
  label: string;
3780
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3864
+ id: string;
3781
3865
  capture: "at_action" | "historical_lookup" | "fixture";
3782
3866
  locator?: string | undefined;
3783
3867
  }, {
3784
- id: string;
3868
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3785
3869
  label: string;
3786
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3870
+ id: string;
3787
3871
  capture: "at_action" | "historical_lookup" | "fixture";
3788
3872
  locator?: string | undefined;
3789
3873
  }>, "many">>;
@@ -3796,9 +3880,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3796
3880
  statement: string;
3797
3881
  sessionId: string;
3798
3882
  evidence: {
3799
- id: string;
3883
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3800
3884
  label: string;
3801
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3885
+ id: string;
3802
3886
  capture: "at_action" | "historical_lookup" | "fixture";
3803
3887
  locator?: string | undefined;
3804
3888
  }[];
@@ -3814,9 +3898,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3814
3898
  decisionId: string;
3815
3899
  confidence?: number | undefined;
3816
3900
  evidence?: {
3817
- id: string;
3901
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3818
3902
  label: string;
3819
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3903
+ id: string;
3820
3904
  capture: "at_action" | "historical_lookup" | "fixture";
3821
3905
  locator?: string | undefined;
3822
3906
  }[] | undefined;
@@ -3833,25 +3917,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3833
3917
  locator: z.ZodOptional<z.ZodString>;
3834
3918
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3835
3919
  }, "strict", z.ZodTypeAny, {
3836
- id: string;
3920
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
3921
  label: string;
3838
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3922
+ id: string;
3839
3923
  capture: "at_action" | "historical_lookup" | "fixture";
3840
3924
  locator?: string | undefined;
3841
3925
  }, {
3842
- id: string;
3926
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3843
3927
  label: string;
3844
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3928
+ id: string;
3845
3929
  capture: "at_action" | "historical_lookup" | "fixture";
3846
3930
  locator?: string | undefined;
3847
3931
  }>, "many">>;
3848
3932
  }, "strict", z.ZodTypeAny, {
3849
- summary: string;
3850
3933
  kind: "conflict_detected";
3934
+ summary: string;
3851
3935
  evidence: {
3852
- id: string;
3936
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3853
3937
  label: string;
3854
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3938
+ id: string;
3855
3939
  capture: "at_action" | "historical_lookup" | "fixture";
3856
3940
  locator?: string | undefined;
3857
3941
  }[];
@@ -3859,15 +3943,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3859
3943
  decisionIds: string[];
3860
3944
  agentIds: string[];
3861
3945
  }, {
3862
- summary: string;
3863
3946
  kind: "conflict_detected";
3947
+ summary: string;
3864
3948
  conflictId: string;
3865
3949
  decisionIds: string[];
3866
3950
  agentIds: string[];
3867
3951
  evidence?: {
3868
- id: string;
3952
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3869
3953
  label: string;
3870
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3954
+ id: string;
3871
3955
  capture: "at_action" | "historical_lookup" | "fixture";
3872
3956
  locator?: string | undefined;
3873
3957
  }[] | undefined;
@@ -3887,27 +3971,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3887
3971
  locator: z.ZodOptional<z.ZodString>;
3888
3972
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3889
3973
  }, "strict", z.ZodTypeAny, {
3890
- id: string;
3974
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3975
  label: string;
3892
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3976
+ id: string;
3893
3977
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3978
  locator?: string | undefined;
3895
3979
  }, {
3896
- id: string;
3980
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3897
3981
  label: string;
3898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3982
+ id: string;
3899
3983
  capture: "at_action" | "historical_lookup" | "fixture";
3900
3984
  locator?: string | undefined;
3901
3985
  }>, "many">>;
3902
3986
  }, "strict", z.ZodTypeAny, {
3987
+ kind: "test_result";
3903
3988
  summary: string;
3904
3989
  status: "error" | "failed" | "passed";
3905
- kind: "test_result";
3906
3990
  command: string;
3907
3991
  evidence: {
3908
- id: string;
3992
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3909
3993
  label: string;
3910
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3994
+ id: string;
3911
3995
  capture: "at_action" | "historical_lookup" | "fixture";
3912
3996
  locator?: string | undefined;
3913
3997
  }[];
@@ -3916,17 +4000,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3916
4000
  durationMs?: number | undefined;
3917
4001
  correctionId?: string | undefined;
3918
4002
  }, {
4003
+ kind: "test_result";
3919
4004
  summary: string;
3920
4005
  status: "error" | "failed" | "passed";
3921
- kind: "test_result";
3922
4006
  command: string;
3923
4007
  decisionId: string;
3924
4008
  testId: string;
3925
4009
  durationMs?: number | undefined;
3926
4010
  evidence?: {
3927
- id: string;
4011
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3928
4012
  label: string;
3929
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4013
+ id: string;
3930
4014
  capture: "at_action" | "historical_lookup" | "fixture";
3931
4015
  locator?: string | undefined;
3932
4016
  }[] | undefined;
@@ -3947,15 +4031,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3947
4031
  locator: z.ZodOptional<z.ZodString>;
3948
4032
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3949
4033
  }, "strict", z.ZodTypeAny, {
3950
- id: string;
4034
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
4035
  label: string;
3952
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4036
+ id: string;
3953
4037
  capture: "at_action" | "historical_lookup" | "fixture";
3954
4038
  locator?: string | undefined;
3955
4039
  }, {
3956
- id: string;
4040
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
4041
  label: string;
3958
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4042
+ id: string;
3959
4043
  capture: "at_action" | "historical_lookup" | "fixture";
3960
4044
  locator?: string | undefined;
3961
4045
  }>, "many">>;
@@ -3964,9 +4048,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3964
4048
  statement: string;
3965
4049
  rationale: string;
3966
4050
  evidence: {
3967
- id: string;
4051
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
4052
  label: string;
3969
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4053
+ id: string;
3970
4054
  capture: "at_action" | "historical_lookup" | "fixture";
3971
4055
  locator?: string | undefined;
3972
4056
  }[];
@@ -3985,9 +4069,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3985
4069
  supersedesDecisionIds: string[];
3986
4070
  proposedBy: string;
3987
4071
  evidence?: {
3988
- id: string;
4072
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3989
4073
  label: string;
3990
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4074
+ id: string;
3991
4075
  capture: "at_action" | "historical_lookup" | "fixture";
3992
4076
  locator?: string | undefined;
3993
4077
  }[] | undefined;
@@ -3999,13 +4083,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3999
4083
  id: z.ZodString;
4000
4084
  label: z.ZodString;
4001
4085
  }, "strict", z.ZodTypeAny, {
4002
- id: string;
4003
- label: string;
4004
4086
  kind: "agent" | "human";
4005
- }, {
4006
- id: string;
4007
4087
  label: string;
4088
+ id: string;
4089
+ }, {
4008
4090
  kind: "agent" | "human";
4091
+ label: string;
4092
+ id: string;
4009
4093
  }>;
4010
4094
  note: z.ZodOptional<z.ZodString>;
4011
4095
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4015,47 +4099,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4015
4099
  locator: z.ZodOptional<z.ZodString>;
4016
4100
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4017
4101
  }, "strict", z.ZodTypeAny, {
4018
- id: string;
4102
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
4103
  label: string;
4020
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4104
+ id: string;
4021
4105
  capture: "at_action" | "historical_lookup" | "fixture";
4022
4106
  locator?: string | undefined;
4023
4107
  }, {
4024
- id: string;
4108
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4025
4109
  label: string;
4026
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4110
+ id: string;
4027
4111
  capture: "at_action" | "historical_lookup" | "fixture";
4028
4112
  locator?: string | undefined;
4029
4113
  }>, "many">>;
4030
4114
  }, "strict", z.ZodTypeAny, {
4031
4115
  kind: "correction_approved";
4032
4116
  evidence: {
4033
- id: string;
4117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4034
4118
  label: string;
4035
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4119
+ id: string;
4036
4120
  capture: "at_action" | "historical_lookup" | "fixture";
4037
4121
  locator?: string | undefined;
4038
4122
  }[];
4039
4123
  correctionId: string;
4040
4124
  approvedBy: {
4041
- id: string;
4042
- label: string;
4043
4125
  kind: "agent" | "human";
4126
+ label: string;
4127
+ id: string;
4044
4128
  };
4045
4129
  note?: string | undefined;
4046
4130
  }, {
4047
4131
  kind: "correction_approved";
4048
4132
  correctionId: string;
4049
4133
  approvedBy: {
4050
- id: string;
4051
- label: string;
4052
4134
  kind: "agent" | "human";
4135
+ label: string;
4136
+ id: string;
4053
4137
  };
4054
4138
  note?: string | undefined;
4055
4139
  evidence?: {
4056
- id: string;
4140
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
4141
  label: string;
4058
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4142
+ id: string;
4059
4143
  capture: "at_action" | "historical_lookup" | "fixture";
4060
4144
  locator?: string | undefined;
4061
4145
  }[] | undefined;
@@ -4071,24 +4155,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4071
4155
  locator: z.ZodOptional<z.ZodString>;
4072
4156
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4073
4157
  }, "strict", z.ZodTypeAny, {
4074
- id: string;
4158
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
4159
  label: string;
4076
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4160
+ id: string;
4077
4161
  capture: "at_action" | "historical_lookup" | "fixture";
4078
4162
  locator?: string | undefined;
4079
4163
  }, {
4080
- id: string;
4164
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4081
4165
  label: string;
4082
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4166
+ id: string;
4083
4167
  capture: "at_action" | "historical_lookup" | "fixture";
4084
4168
  locator?: string | undefined;
4085
4169
  }>, "many">>;
4086
4170
  }, "strict", z.ZodTypeAny, {
4087
4171
  kind: "decision_superseded";
4088
4172
  evidence: {
4089
- id: string;
4173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4090
4174
  label: string;
4091
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4175
+ id: string;
4092
4176
  capture: "at_action" | "historical_lookup" | "fixture";
4093
4177
  locator?: string | undefined;
4094
4178
  }[];
@@ -4101,9 +4185,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4101
4185
  correctionId: string;
4102
4186
  replacementDecisionId: string;
4103
4187
  evidence?: {
4104
- id: string;
4188
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4105
4189
  label: string;
4106
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4190
+ id: string;
4107
4191
  capture: "at_action" | "historical_lookup" | "fixture";
4108
4192
  locator?: string | undefined;
4109
4193
  }[] | undefined;
@@ -4119,15 +4203,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4119
4203
  locator: z.ZodOptional<z.ZodString>;
4120
4204
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4121
4205
  }, "strict", z.ZodTypeAny, {
4122
- id: string;
4206
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
4207
  label: string;
4124
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4208
+ id: string;
4125
4209
  capture: "at_action" | "historical_lookup" | "fixture";
4126
4210
  locator?: string | undefined;
4127
4211
  }, {
4128
- id: string;
4212
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4129
4213
  label: string;
4130
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4214
+ id: string;
4131
4215
  capture: "at_action" | "historical_lookup" | "fixture";
4132
4216
  locator?: string | undefined;
4133
4217
  }>, "many">>;
@@ -4140,9 +4224,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4140
4224
  agentId: string;
4141
4225
  sessionId: string;
4142
4226
  evidence: {
4143
- id: string;
4227
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4144
4228
  label: string;
4145
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4229
+ id: string;
4146
4230
  capture: "at_action" | "historical_lookup" | "fixture";
4147
4231
  locator?: string | undefined;
4148
4232
  }[];
@@ -4158,9 +4242,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4158
4242
  recallReceiptId: string;
4159
4243
  capturedAtAction: boolean;
4160
4244
  evidence?: {
4161
- id: string;
4245
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4162
4246
  label: string;
4163
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4247
+ id: string;
4164
4248
  capture: "at_action" | "historical_lookup" | "fixture";
4165
4249
  locator?: string | undefined;
4166
4250
  }[] | undefined;
@@ -4176,15 +4260,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4176
4260
  locator: z.ZodOptional<z.ZodString>;
4177
4261
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4178
4262
  }, "strict", z.ZodTypeAny, {
4179
- id: string;
4263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
4264
  label: string;
4181
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4265
+ id: string;
4182
4266
  capture: "at_action" | "historical_lookup" | "fixture";
4183
4267
  locator?: string | undefined;
4184
4268
  }, {
4185
- id: string;
4269
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4186
4270
  label: string;
4187
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4271
+ id: string;
4188
4272
  capture: "at_action" | "historical_lookup" | "fixture";
4189
4273
  locator?: string | undefined;
4190
4274
  }>, "many">>;
@@ -4196,9 +4280,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4196
4280
  agentId: string;
4197
4281
  sessionId: string;
4198
4282
  evidence: {
4199
- id: string;
4283
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4200
4284
  label: string;
4201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4285
+ id: string;
4202
4286
  capture: "at_action" | "historical_lookup" | "fixture";
4203
4287
  locator?: string | undefined;
4204
4288
  }[];
@@ -4215,9 +4299,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4215
4299
  recallReceiptId: string;
4216
4300
  staleDecisionAbsent: boolean;
4217
4301
  evidence?: {
4218
- id: string;
4302
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4219
4303
  label: string;
4220
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
+ id: string;
4221
4305
  capture: "at_action" | "historical_lookup" | "fixture";
4222
4306
  locator?: string | undefined;
4223
4307
  }[] | undefined;
@@ -4232,37 +4316,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4232
4316
  locator: z.ZodOptional<z.ZodString>;
4233
4317
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4234
4318
  }, "strict", z.ZodTypeAny, {
4235
- id: string;
4319
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4236
4320
  label: string;
4237
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4321
+ id: string;
4238
4322
  capture: "at_action" | "historical_lookup" | "fixture";
4239
4323
  locator?: string | undefined;
4240
4324
  }, {
4241
- id: string;
4325
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4242
4326
  label: string;
4243
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4327
+ id: string;
4244
4328
  capture: "at_action" | "historical_lookup" | "fixture";
4245
4329
  locator?: string | undefined;
4246
4330
  }>, "many">>;
4247
4331
  }, "strict", z.ZodTypeAny, {
4248
- summary: string;
4249
4332
  kind: "mission_completed";
4333
+ summary: string;
4250
4334
  outcome: "failed" | "recovered" | "inconclusive";
4251
4335
  evidence: {
4252
- id: string;
4336
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
4337
  label: string;
4254
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4338
+ id: string;
4255
4339
  capture: "at_action" | "historical_lookup" | "fixture";
4256
4340
  locator?: string | undefined;
4257
4341
  }[];
4258
4342
  }, {
4259
- summary: string;
4260
4343
  kind: "mission_completed";
4344
+ summary: string;
4261
4345
  outcome: "failed" | "recovered" | "inconclusive";
4262
4346
  evidence?: {
4263
- id: string;
4347
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
4348
  label: string;
4265
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4349
+ id: string;
4266
4350
  capture: "at_action" | "historical_lookup" | "fixture";
4267
4351
  locator?: string | undefined;
4268
4352
  }[] | undefined;
@@ -4270,38 +4354,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4270
4354
  kind: "mission_started";
4271
4355
  title: string;
4272
4356
  evidence: {
4273
- id: string;
4357
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4274
4358
  label: string;
4275
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4359
+ id: string;
4276
4360
  capture: "at_action" | "historical_lookup" | "fixture";
4277
4361
  locator?: string | undefined;
4278
4362
  }[];
4279
4363
  objective: string;
4280
4364
  runMode: "replay" | "fixture" | "live";
4281
4365
  } | {
4282
- label: string;
4283
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4284
4366
  kind: "agent_status";
4367
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4368
+ label: string;
4285
4369
  role: string;
4286
4370
  agentId: string;
4287
4371
  sessionId: string;
4288
4372
  evidence: {
4289
- id: string;
4373
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4290
4374
  label: string;
4291
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4375
+ id: string;
4292
4376
  capture: "at_action" | "historical_lookup" | "fixture";
4293
4377
  locator?: string | undefined;
4294
4378
  }[];
4295
4379
  detail?: string | undefined;
4296
4380
  } | {
4297
- summary: string;
4298
4381
  kind: "agent_output";
4382
+ summary: string;
4299
4383
  agentId: string;
4300
4384
  sessionId: string;
4301
4385
  evidence: {
4302
- id: string;
4386
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4303
4387
  label: string;
4304
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4388
+ id: string;
4305
4389
  capture: "at_action" | "historical_lookup" | "fixture";
4306
4390
  locator?: string | undefined;
4307
4391
  }[];
@@ -4312,9 +4396,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4312
4396
  statement: string;
4313
4397
  sessionId: string;
4314
4398
  evidence: {
4315
- id: string;
4399
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4316
4400
  label: string;
4317
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4401
+ id: string;
4318
4402
  capture: "at_action" | "historical_lookup" | "fixture";
4319
4403
  locator?: string | undefined;
4320
4404
  }[];
@@ -4322,12 +4406,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4322
4406
  decisionId: string;
4323
4407
  confidence?: number | undefined;
4324
4408
  } | {
4325
- summary: string;
4326
4409
  kind: "conflict_detected";
4410
+ summary: string;
4327
4411
  evidence: {
4328
- id: string;
4412
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4329
4413
  label: string;
4330
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
+ id: string;
4331
4415
  capture: "at_action" | "historical_lookup" | "fixture";
4332
4416
  locator?: string | undefined;
4333
4417
  }[];
@@ -4335,14 +4419,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4335
4419
  decisionIds: string[];
4336
4420
  agentIds: string[];
4337
4421
  } | {
4422
+ kind: "test_result";
4338
4423
  summary: string;
4339
4424
  status: "error" | "failed" | "passed";
4340
- kind: "test_result";
4341
4425
  command: string;
4342
4426
  evidence: {
4343
- id: string;
4427
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4344
4428
  label: string;
4345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4429
+ id: string;
4346
4430
  capture: "at_action" | "historical_lookup" | "fixture";
4347
4431
  locator?: string | undefined;
4348
4432
  }[];
@@ -4355,9 +4439,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4355
4439
  statement: string;
4356
4440
  rationale: string;
4357
4441
  evidence: {
4358
- id: string;
4442
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4359
4443
  label: string;
4360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4444
+ id: string;
4361
4445
  capture: "at_action" | "historical_lookup" | "fixture";
4362
4446
  locator?: string | undefined;
4363
4447
  }[];
@@ -4369,25 +4453,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4369
4453
  } | {
4370
4454
  kind: "correction_approved";
4371
4455
  evidence: {
4372
- id: string;
4456
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
4457
  label: string;
4374
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
+ id: string;
4375
4459
  capture: "at_action" | "historical_lookup" | "fixture";
4376
4460
  locator?: string | undefined;
4377
4461
  }[];
4378
4462
  correctionId: string;
4379
4463
  approvedBy: {
4380
- id: string;
4381
- label: string;
4382
4464
  kind: "agent" | "human";
4465
+ label: string;
4466
+ id: string;
4383
4467
  };
4384
4468
  note?: string | undefined;
4385
4469
  } | {
4386
4470
  kind: "decision_superseded";
4387
4471
  evidence: {
4388
- id: string;
4472
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4389
4473
  label: string;
4390
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4474
+ id: string;
4391
4475
  capture: "at_action" | "historical_lookup" | "fixture";
4392
4476
  locator?: string | undefined;
4393
4477
  }[];
@@ -4400,9 +4484,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4400
4484
  agentId: string;
4401
4485
  sessionId: string;
4402
4486
  evidence: {
4403
- id: string;
4487
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4404
4488
  label: string;
4405
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4489
+ id: string;
4406
4490
  capture: "at_action" | "historical_lookup" | "fixture";
4407
4491
  locator?: string | undefined;
4408
4492
  }[];
@@ -4414,9 +4498,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4414
4498
  agentId: string;
4415
4499
  sessionId: string;
4416
4500
  evidence: {
4417
- id: string;
4501
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4418
4502
  label: string;
4419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4503
+ id: string;
4420
4504
  capture: "at_action" | "historical_lookup" | "fixture";
4421
4505
  locator?: string | undefined;
4422
4506
  }[];
@@ -4425,13 +4509,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4425
4509
  recallReceiptId: string;
4426
4510
  staleDecisionAbsent: boolean;
4427
4511
  } | {
4428
- summary: string;
4429
4512
  kind: "mission_completed";
4513
+ summary: string;
4430
4514
  outcome: "failed" | "recovered" | "inconclusive";
4431
4515
  evidence: {
4432
- id: string;
4516
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4433
4517
  label: string;
4434
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4518
+ id: string;
4435
4519
  capture: "at_action" | "historical_lookup" | "fixture";
4436
4520
  locator?: string | undefined;
4437
4521
  }[];
@@ -4441,37 +4525,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4441
4525
  objective: string;
4442
4526
  runMode: "replay" | "fixture" | "live";
4443
4527
  evidence?: {
4444
- id: string;
4528
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4445
4529
  label: string;
4446
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4530
+ id: string;
4447
4531
  capture: "at_action" | "historical_lookup" | "fixture";
4448
4532
  locator?: string | undefined;
4449
4533
  }[] | undefined;
4450
4534
  } | {
4451
- label: string;
4452
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4453
4535
  kind: "agent_status";
4536
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4537
+ label: string;
4454
4538
  role: string;
4455
4539
  agentId: string;
4456
4540
  sessionId: string;
4457
4541
  detail?: string | undefined;
4458
4542
  evidence?: {
4459
- id: string;
4543
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4460
4544
  label: string;
4461
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4545
+ id: string;
4462
4546
  capture: "at_action" | "historical_lookup" | "fixture";
4463
4547
  locator?: string | undefined;
4464
4548
  }[] | undefined;
4465
4549
  } | {
4466
- summary: string;
4467
4550
  kind: "agent_output";
4551
+ summary: string;
4468
4552
  agentId: string;
4469
4553
  sessionId: string;
4470
4554
  outputId: string;
4471
4555
  evidence?: {
4472
- id: string;
4556
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
4557
  label: string;
4474
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4558
+ id: string;
4475
4559
  capture: "at_action" | "historical_lookup" | "fixture";
4476
4560
  locator?: string | undefined;
4477
4561
  }[] | undefined;
@@ -4484,37 +4568,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4484
4568
  decisionId: string;
4485
4569
  confidence?: number | undefined;
4486
4570
  evidence?: {
4487
- id: string;
4571
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
4572
  label: string;
4489
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4573
+ id: string;
4490
4574
  capture: "at_action" | "historical_lookup" | "fixture";
4491
4575
  locator?: string | undefined;
4492
4576
  }[] | undefined;
4493
4577
  } | {
4494
- summary: string;
4495
4578
  kind: "conflict_detected";
4579
+ summary: string;
4496
4580
  conflictId: string;
4497
4581
  decisionIds: string[];
4498
4582
  agentIds: string[];
4499
4583
  evidence?: {
4500
- id: string;
4584
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4501
4585
  label: string;
4502
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4586
+ id: string;
4503
4587
  capture: "at_action" | "historical_lookup" | "fixture";
4504
4588
  locator?: string | undefined;
4505
4589
  }[] | undefined;
4506
4590
  } | {
4591
+ kind: "test_result";
4507
4592
  summary: string;
4508
4593
  status: "error" | "failed" | "passed";
4509
- kind: "test_result";
4510
4594
  command: string;
4511
4595
  decisionId: string;
4512
4596
  testId: string;
4513
4597
  durationMs?: number | undefined;
4514
4598
  evidence?: {
4515
- id: string;
4599
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4516
4600
  label: string;
4517
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4601
+ id: string;
4518
4602
  capture: "at_action" | "historical_lookup" | "fixture";
4519
4603
  locator?: string | undefined;
4520
4604
  }[] | undefined;
@@ -4529,9 +4613,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4529
4613
  supersedesDecisionIds: string[];
4530
4614
  proposedBy: string;
4531
4615
  evidence?: {
4532
- id: string;
4616
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4533
4617
  label: string;
4534
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4618
+ id: string;
4535
4619
  capture: "at_action" | "historical_lookup" | "fixture";
4536
4620
  locator?: string | undefined;
4537
4621
  }[] | undefined;
@@ -4539,15 +4623,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4539
4623
  kind: "correction_approved";
4540
4624
  correctionId: string;
4541
4625
  approvedBy: {
4542
- id: string;
4543
- label: string;
4544
4626
  kind: "agent" | "human";
4627
+ label: string;
4628
+ id: string;
4545
4629
  };
4546
4630
  note?: string | undefined;
4547
4631
  evidence?: {
4548
- id: string;
4632
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4549
4633
  label: string;
4550
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4634
+ id: string;
4551
4635
  capture: "at_action" | "historical_lookup" | "fixture";
4552
4636
  locator?: string | undefined;
4553
4637
  }[] | undefined;
@@ -4557,9 +4641,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4557
4641
  correctionId: string;
4558
4642
  replacementDecisionId: string;
4559
4643
  evidence?: {
4560
- id: string;
4644
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4561
4645
  label: string;
4562
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4646
+ id: string;
4563
4647
  capture: "at_action" | "historical_lookup" | "fixture";
4564
4648
  locator?: string | undefined;
4565
4649
  }[] | undefined;
@@ -4572,9 +4656,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4572
4656
  recallReceiptId: string;
4573
4657
  capturedAtAction: boolean;
4574
4658
  evidence?: {
4575
- id: string;
4659
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4576
4660
  label: string;
4577
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4661
+ id: string;
4578
4662
  capture: "at_action" | "historical_lookup" | "fixture";
4579
4663
  locator?: string | undefined;
4580
4664
  }[] | undefined;
@@ -4587,64 +4671,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4587
4671
  recallReceiptId: string;
4588
4672
  staleDecisionAbsent: boolean;
4589
4673
  evidence?: {
4590
- id: string;
4674
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
4675
  label: string;
4592
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4676
+ id: string;
4593
4677
  capture: "at_action" | "historical_lookup" | "fixture";
4594
4678
  locator?: string | undefined;
4595
4679
  }[] | undefined;
4596
4680
  } | {
4597
- summary: string;
4598
4681
  kind: "mission_completed";
4682
+ summary: string;
4599
4683
  outcome: "failed" | "recovered" | "inconclusive";
4600
4684
  evidence?: {
4601
- id: string;
4685
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4602
4686
  label: string;
4603
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4687
+ id: string;
4604
4688
  capture: "at_action" | "historical_lookup" | "fixture";
4605
4689
  locator?: string | undefined;
4606
4690
  }[] | undefined;
4607
4691
  }>;
4608
4692
  }, "strict", z.ZodTypeAny, {
4609
- namespace: string;
4610
- recordedAt: string;
4611
4693
  schemaVersion: "1";
4694
+ recordedAt: string;
4612
4695
  payload: {
4613
4696
  kind: "mission_started";
4614
4697
  title: string;
4615
4698
  evidence: {
4616
- id: string;
4699
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4617
4700
  label: string;
4618
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4701
+ id: string;
4619
4702
  capture: "at_action" | "historical_lookup" | "fixture";
4620
4703
  locator?: string | undefined;
4621
4704
  }[];
4622
4705
  objective: string;
4623
4706
  runMode: "replay" | "fixture" | "live";
4624
4707
  } | {
4625
- label: string;
4626
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4627
4708
  kind: "agent_status";
4709
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4710
+ label: string;
4628
4711
  role: string;
4629
4712
  agentId: string;
4630
4713
  sessionId: string;
4631
4714
  evidence: {
4632
- id: string;
4715
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4633
4716
  label: string;
4634
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4717
+ id: string;
4635
4718
  capture: "at_action" | "historical_lookup" | "fixture";
4636
4719
  locator?: string | undefined;
4637
4720
  }[];
4638
4721
  detail?: string | undefined;
4639
4722
  } | {
4640
- summary: string;
4641
4723
  kind: "agent_output";
4724
+ summary: string;
4642
4725
  agentId: string;
4643
4726
  sessionId: string;
4644
4727
  evidence: {
4645
- id: string;
4728
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4646
4729
  label: string;
4647
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4730
+ id: string;
4648
4731
  capture: "at_action" | "historical_lookup" | "fixture";
4649
4732
  locator?: string | undefined;
4650
4733
  }[];
@@ -4655,9 +4738,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4655
4738
  statement: string;
4656
4739
  sessionId: string;
4657
4740
  evidence: {
4658
- id: string;
4741
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4659
4742
  label: string;
4660
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4743
+ id: string;
4661
4744
  capture: "at_action" | "historical_lookup" | "fixture";
4662
4745
  locator?: string | undefined;
4663
4746
  }[];
@@ -4665,12 +4748,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4665
4748
  decisionId: string;
4666
4749
  confidence?: number | undefined;
4667
4750
  } | {
4668
- summary: string;
4669
4751
  kind: "conflict_detected";
4752
+ summary: string;
4670
4753
  evidence: {
4671
- id: string;
4754
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4672
4755
  label: string;
4673
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4756
+ id: string;
4674
4757
  capture: "at_action" | "historical_lookup" | "fixture";
4675
4758
  locator?: string | undefined;
4676
4759
  }[];
@@ -4678,14 +4761,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4678
4761
  decisionIds: string[];
4679
4762
  agentIds: string[];
4680
4763
  } | {
4764
+ kind: "test_result";
4681
4765
  summary: string;
4682
4766
  status: "error" | "failed" | "passed";
4683
- kind: "test_result";
4684
4767
  command: string;
4685
4768
  evidence: {
4686
- id: string;
4769
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4687
4770
  label: string;
4688
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4771
+ id: string;
4689
4772
  capture: "at_action" | "historical_lookup" | "fixture";
4690
4773
  locator?: string | undefined;
4691
4774
  }[];
@@ -4698,9 +4781,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4698
4781
  statement: string;
4699
4782
  rationale: string;
4700
4783
  evidence: {
4701
- id: string;
4784
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4702
4785
  label: string;
4703
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4786
+ id: string;
4704
4787
  capture: "at_action" | "historical_lookup" | "fixture";
4705
4788
  locator?: string | undefined;
4706
4789
  }[];
@@ -4712,25 +4795,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4712
4795
  } | {
4713
4796
  kind: "correction_approved";
4714
4797
  evidence: {
4715
- id: string;
4798
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4716
4799
  label: string;
4717
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4800
+ id: string;
4718
4801
  capture: "at_action" | "historical_lookup" | "fixture";
4719
4802
  locator?: string | undefined;
4720
4803
  }[];
4721
4804
  correctionId: string;
4722
4805
  approvedBy: {
4723
- id: string;
4724
- label: string;
4725
4806
  kind: "agent" | "human";
4807
+ label: string;
4808
+ id: string;
4726
4809
  };
4727
4810
  note?: string | undefined;
4728
4811
  } | {
4729
4812
  kind: "decision_superseded";
4730
4813
  evidence: {
4731
- id: string;
4814
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4732
4815
  label: string;
4733
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4816
+ id: string;
4734
4817
  capture: "at_action" | "historical_lookup" | "fixture";
4735
4818
  locator?: string | undefined;
4736
4819
  }[];
@@ -4743,9 +4826,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4743
4826
  agentId: string;
4744
4827
  sessionId: string;
4745
4828
  evidence: {
4746
- id: string;
4829
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4747
4830
  label: string;
4748
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4831
+ id: string;
4749
4832
  capture: "at_action" | "historical_lookup" | "fixture";
4750
4833
  locator?: string | undefined;
4751
4834
  }[];
@@ -4757,9 +4840,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4757
4840
  agentId: string;
4758
4841
  sessionId: string;
4759
4842
  evidence: {
4760
- id: string;
4843
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4761
4844
  label: string;
4762
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4845
+ id: string;
4763
4846
  capture: "at_action" | "historical_lookup" | "fixture";
4764
4847
  locator?: string | undefined;
4765
4848
  }[];
@@ -4768,63 +4851,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4768
4851
  recallReceiptId: string;
4769
4852
  staleDecisionAbsent: boolean;
4770
4853
  } | {
4771
- summary: string;
4772
4854
  kind: "mission_completed";
4855
+ summary: string;
4773
4856
  outcome: "failed" | "recovered" | "inconclusive";
4774
4857
  evidence: {
4775
- id: string;
4858
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4776
4859
  label: string;
4777
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4860
+ id: string;
4778
4861
  capture: "at_action" | "historical_lookup" | "fixture";
4779
4862
  locator?: string | undefined;
4780
4863
  }[];
4781
4864
  };
4865
+ namespace: string;
4782
4866
  eventId: string;
4783
4867
  occurredAt: string;
4784
4868
  missionId: string;
4785
4869
  idempotencyKey?: string | undefined;
4786
4870
  authenticatedPrincipal?: string | undefined;
4787
4871
  }, {
4788
- namespace: string;
4789
- recordedAt: string;
4790
4872
  schemaVersion: "1";
4873
+ recordedAt: string;
4791
4874
  payload: {
4792
4875
  kind: "mission_started";
4793
4876
  title: string;
4794
4877
  objective: string;
4795
4878
  runMode: "replay" | "fixture" | "live";
4796
4879
  evidence?: {
4797
- id: string;
4880
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4798
4881
  label: string;
4799
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4882
+ id: string;
4800
4883
  capture: "at_action" | "historical_lookup" | "fixture";
4801
4884
  locator?: string | undefined;
4802
4885
  }[] | undefined;
4803
4886
  } | {
4804
- label: string;
4805
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4806
4887
  kind: "agent_status";
4888
+ status: "failed" | "complete" | "blocked" | "idle" | "working";
4889
+ label: string;
4807
4890
  role: string;
4808
4891
  agentId: string;
4809
4892
  sessionId: string;
4810
4893
  detail?: string | undefined;
4811
4894
  evidence?: {
4812
- id: string;
4895
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4813
4896
  label: string;
4814
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4897
+ id: string;
4815
4898
  capture: "at_action" | "historical_lookup" | "fixture";
4816
4899
  locator?: string | undefined;
4817
4900
  }[] | undefined;
4818
4901
  } | {
4819
- summary: string;
4820
4902
  kind: "agent_output";
4903
+ summary: string;
4821
4904
  agentId: string;
4822
4905
  sessionId: string;
4823
4906
  outputId: string;
4824
4907
  evidence?: {
4825
- id: string;
4908
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4826
4909
  label: string;
4827
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4910
+ id: string;
4828
4911
  capture: "at_action" | "historical_lookup" | "fixture";
4829
4912
  locator?: string | undefined;
4830
4913
  }[] | undefined;
@@ -4837,37 +4920,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4837
4920
  decisionId: string;
4838
4921
  confidence?: number | undefined;
4839
4922
  evidence?: {
4840
- id: string;
4923
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4841
4924
  label: string;
4842
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4925
+ id: string;
4843
4926
  capture: "at_action" | "historical_lookup" | "fixture";
4844
4927
  locator?: string | undefined;
4845
4928
  }[] | undefined;
4846
4929
  } | {
4847
- summary: string;
4848
4930
  kind: "conflict_detected";
4931
+ summary: string;
4849
4932
  conflictId: string;
4850
4933
  decisionIds: string[];
4851
4934
  agentIds: string[];
4852
4935
  evidence?: {
4853
- id: string;
4936
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4854
4937
  label: string;
4855
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4938
+ id: string;
4856
4939
  capture: "at_action" | "historical_lookup" | "fixture";
4857
4940
  locator?: string | undefined;
4858
4941
  }[] | undefined;
4859
4942
  } | {
4943
+ kind: "test_result";
4860
4944
  summary: string;
4861
4945
  status: "error" | "failed" | "passed";
4862
- kind: "test_result";
4863
4946
  command: string;
4864
4947
  decisionId: string;
4865
4948
  testId: string;
4866
4949
  durationMs?: number | undefined;
4867
4950
  evidence?: {
4868
- id: string;
4951
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4869
4952
  label: string;
4870
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4953
+ id: string;
4871
4954
  capture: "at_action" | "historical_lookup" | "fixture";
4872
4955
  locator?: string | undefined;
4873
4956
  }[] | undefined;
@@ -4882,9 +4965,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4882
4965
  supersedesDecisionIds: string[];
4883
4966
  proposedBy: string;
4884
4967
  evidence?: {
4885
- id: string;
4968
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4886
4969
  label: string;
4887
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4970
+ id: string;
4888
4971
  capture: "at_action" | "historical_lookup" | "fixture";
4889
4972
  locator?: string | undefined;
4890
4973
  }[] | undefined;
@@ -4892,15 +4975,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4892
4975
  kind: "correction_approved";
4893
4976
  correctionId: string;
4894
4977
  approvedBy: {
4895
- id: string;
4896
- label: string;
4897
4978
  kind: "agent" | "human";
4979
+ label: string;
4980
+ id: string;
4898
4981
  };
4899
4982
  note?: string | undefined;
4900
4983
  evidence?: {
4901
- id: string;
4984
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4902
4985
  label: string;
4903
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4986
+ id: string;
4904
4987
  capture: "at_action" | "historical_lookup" | "fixture";
4905
4988
  locator?: string | undefined;
4906
4989
  }[] | undefined;
@@ -4910,9 +4993,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4910
4993
  correctionId: string;
4911
4994
  replacementDecisionId: string;
4912
4995
  evidence?: {
4913
- id: string;
4996
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4914
4997
  label: string;
4915
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4998
+ id: string;
4916
4999
  capture: "at_action" | "historical_lookup" | "fixture";
4917
5000
  locator?: string | undefined;
4918
5001
  }[] | undefined;
@@ -4925,9 +5008,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4925
5008
  recallReceiptId: string;
4926
5009
  capturedAtAction: boolean;
4927
5010
  evidence?: {
4928
- id: string;
5011
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4929
5012
  label: string;
4930
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5013
+ id: string;
4931
5014
  capture: "at_action" | "historical_lookup" | "fixture";
4932
5015
  locator?: string | undefined;
4933
5016
  }[] | undefined;
@@ -4940,24 +5023,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4940
5023
  recallReceiptId: string;
4941
5024
  staleDecisionAbsent: boolean;
4942
5025
  evidence?: {
4943
- id: string;
5026
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4944
5027
  label: string;
4945
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5028
+ id: string;
4946
5029
  capture: "at_action" | "historical_lookup" | "fixture";
4947
5030
  locator?: string | undefined;
4948
5031
  }[] | undefined;
4949
5032
  } | {
4950
- summary: string;
4951
5033
  kind: "mission_completed";
5034
+ summary: string;
4952
5035
  outcome: "failed" | "recovered" | "inconclusive";
4953
5036
  evidence?: {
4954
- id: string;
5037
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4955
5038
  label: string;
4956
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
5039
+ id: string;
4957
5040
  capture: "at_action" | "historical_lookup" | "fixture";
4958
5041
  locator?: string | undefined;
4959
5042
  }[] | undefined;
4960
5043
  };
5044
+ namespace: string;
4961
5045
  eventId: string;
4962
5046
  occurredAt: string;
4963
5047
  missionId: string;
@@ -7302,46 +7386,6 @@ interface WearablesCliIo {
7302
7386
  */
7303
7387
  declare function runWearablesCliCommand(service: WearablesService, args: string[], io: WearablesCliIo): Promise<number>;
7304
7388
 
7305
- /**
7306
- * Deterministic screen-activity day-digest renderer (issue #1899).
7307
- *
7308
- * Renders a day's snapshots into markdown with YAML frontmatter, placed at
7309
- * `<memoryDir>/activity/<date>.md` — outside the memory scan roots but inside
7310
- * the QMD collection root (searchable, never auto-recalled). No LLM: the body
7311
- * is a pure, byte-identical function of its inputs so an unchanged day skips
7312
- * rewrite by contentHash. Day bucketing is DST-aware and half-open
7313
- * [start, end) (AGENTS.md §23); sort keys are total with stable tiebreakers
7314
- * (§12).
7315
- */
7316
-
7317
- declare const ACTIVITY_DIGEST_FORMAT_VERSION = 1;
7318
- declare const ACTIVITY_DIR_NAME = "activity";
7319
- declare function isValidActivityDate(date: string): boolean;
7320
- declare function activityDigestPath(memoryDir: string, date: string): string;
7321
- declare function timezoneOffsetIso(instant: Date, timezone: string): string;
7322
- declare function assertValidTimezone(timezone: string): void;
7323
- /**
7324
- * Half-open [start, end) UTC ISO bounds of a local day. A civil date the
7325
- * zone skipped entirely owns no interval: the window is zero-width
7326
- * `[transition, transition)`.
7327
- */
7328
- declare function activityDayWindow(date: string, timezone: string): {
7329
- startUtc: string;
7330
- endUtc: string;
7331
- };
7332
- /**
7333
- * The local calendar day (YYYY-MM-DD) an instant falls in for an IANA
7334
- * timezone — the day key `activityDayWindow` buckets on. Callers that need
7335
- * "today" for activity artifacts MUST use this rather than the host-local
7336
- * date, which drifts a day near either timezone's midnight.
7337
- */
7338
- declare function activityDateInTimezone(instant: Date, timezone: string): string;
7339
- declare function composeActivityDigestBody(date: string, timezone: string, snapshots: ActivitySnapshot[]): string;
7340
- declare function hashActivityBody(body: string): string;
7341
- declare function composeActivityDigestMeta(date: string, machines: string[], snapshots: ActivitySnapshot[], body: string): ActivityDayMeta;
7342
- declare function serializeActivityDigest(meta: ActivityDayMeta, body: string): string;
7343
- declare function parseActivityDigest(raw: string): ActivityDayDigest | null;
7344
-
7345
7389
  /**
7346
7390
  * Sync cursors are scoped per (machine, local day): each date resumes its own
7347
7391
  * pagination independently, so a multi-day window never inherits an earlier
@@ -7451,6 +7495,8 @@ interface ActivitySyncSchedulerOptions {
7451
7495
  onRun?: (summary: ActivitySyncRunSummary) => void;
7452
7496
  /** Called when a tick's sync rejects; defaults to swallowing (best-effort). */
7453
7497
  onError?: (error: unknown) => void;
7498
+ /** Full plugin config forwarded to the default runner for analysis clients. */
7499
+ pluginConfig?: PluginConfig;
7454
7500
  }
7455
7501
  interface ActivitySyncRegistration {
7456
7502
  /** True when a periodic timer was armed (feature enabled). */
@@ -7538,104 +7584,6 @@ interface ActivityIndexRefresher {
7538
7584
  }
7539
7585
  declare function refreshActivityIndex(qmd: ActivityIndexRefresher, collection: string, signal?: AbortSignal): Promise<void>;
7540
7586
 
7541
- /**
7542
- * Timeline-card layer over the #1899 activity store (issue #2049).
7543
- *
7544
- * A card is a deterministic, replayable *derived view*: it references snapshot
7545
- * evidence by store row id and content identity, never copying or re-storing
7546
- * it. All intervals are half-open [start, end) UTC; day bucketing reuses the
7547
- * DST-aware `activityDayWindow` from the digest layer, so timeline days and
7548
- * digests always agree on day bounds.
7549
- */
7550
- /** Reference to one stored observation (subset of ActivitySnapshot; no text). */
7551
- interface TimelineObservation {
7552
- /** Store row id of the referenced snapshot. */
7553
- id: number;
7554
- machine: string;
7555
- /** UTC ISO-8601 capture instant. */
7556
- capturedAtUtc: string;
7557
- app: string;
7558
- windowTitle: string;
7559
- /** Browser tab URL, when the frontmost window is a known browser. */
7560
- browserUrl?: string;
7561
- /** Content hash of the referenced snapshot (identity, not re-stored text). */
7562
- contentHash: string;
7563
- }
7564
- /** User-declared pause, half-open [startUtc, endUtc) in UTC. Not idle. */
7565
- interface TimelinePause {
7566
- startUtc: string;
7567
- endUtc: string;
7568
- /** Free-form reason, kept verbatim on the derived pause card. */
7569
- reason?: string;
7570
- }
7571
- /** One category definition in the registry. */
7572
- interface TimelineCategory {
7573
- /** Stable ID (`system.*` is the reserved namespace). */
7574
- id: string;
7575
- name: string;
7576
- /** Hex color, `#RRGGBB`. */
7577
- color: string;
7578
- description: string;
7579
- /** Presentation order; equal orders tie-break by id. */
7580
- order: number;
7581
- /** Reserved system category (idle / pause / unknown). */
7582
- system?: boolean;
7583
- /** Marks the reserved idle category. */
7584
- idle?: boolean;
7585
- }
7586
- type TimelineCardKind = "activity" | "idle" | "pause";
7587
- /** Provenance stamped on a card when a manual correction was applied. */
7588
- interface TimelineManualEdit {
7589
- categoryId?: string;
7590
- title?: string;
7591
- editedAtUtc: string;
7592
- }
7593
- /** A persisted manual correction; keyed by stable card id, survives rebuilds. */
7594
- interface TimelineCorrection {
7595
- cardId: string;
7596
- categoryId?: string;
7597
- title?: string;
7598
- editedAtUtc: string;
7599
- }
7600
- /** Stable first/last evidence identity keys bracketing a card's sources. */
7601
- interface TimelineEvidenceRange {
7602
- firstKey: string;
7603
- lastKey: string;
7604
- }
7605
- interface TimelineCard {
7606
- /** Stable content-derived id (never array position or wall-clock). */
7607
- id: string;
7608
- kind: TimelineCardKind;
7609
- title: string;
7610
- summary: string;
7611
- categoryId: string;
7612
- /** Classification confidence; manual corrections set it to 1. */
7613
- confidence: number;
7614
- /** Half-open [startUtc, endUtc) UTC bounds. */
7615
- startUtc: string;
7616
- endUtc: string;
7617
- /** Local day key (YYYY-MM-DD) this card belongs to. */
7618
- dayKey: string;
7619
- timezone: string;
7620
- /** Track the card was built on; null for machine-less pause cards. */
7621
- machine: string | null;
7622
- /** Store row ids of the source snapshots (empty for idle/pause). */
7623
- evidenceIds: number[];
7624
- /** First/last evidence identity keys (null for idle/pause). */
7625
- evidenceRange: TimelineEvidenceRange | null;
7626
- /** Present only when a manual correction was applied. */
7627
- manualEdit?: TimelineManualEdit;
7628
- }
7629
- /** One replayable local day of cards. */
7630
- interface TimelineDay {
7631
- formatVersion: number;
7632
- date: string;
7633
- timezone: string;
7634
- startUtc: string;
7635
- endUtc: string;
7636
- cards: TimelineCard[];
7637
- }
7638
-
7639
7587
  /**
7640
7588
  * Timeline category registry (issue #2049): ordered definitions with stable
7641
7589
  * IDs, names, colors, descriptions, and system/idle flags. Reserved system
@@ -7760,6 +7708,8 @@ declare class TimelineCorrectionStore {
7760
7708
  reset(cardId: string): boolean;
7761
7709
  close(): void;
7762
7710
  }
7711
+ /** Corrections whose cardId is in `cards`, in incoming list order. */
7712
+ declare function correctionsForCards(cards: readonly TimelineCard[], corrections: readonly TimelineCorrection[]): TimelineCorrection[];
7763
7713
  /**
7764
7714
  * Apply corrections to built cards. Overrides title/category, sets confidence
7765
7715
  * to 1 (a human confirmed it), and stamps manual-edit provenance. Uncorrected
@@ -7821,7 +7771,29 @@ interface TimelineCliDeps {
7821
7771
  timelineEnabled?: boolean;
7822
7772
  /** Required for `publish`; range/search never read it. */
7823
7773
  config?: PluginConfig;
7774
+ /** Production host loads cards through regenerateTimelineDay. */
7775
+ loadCards?: (window: {
7776
+ from?: string;
7777
+ to?: string;
7778
+ }) => Promise<readonly TimelineQueryCard[] | null>;
7824
7779
  }
7780
+ /**
7781
+ * Validate a range request completely - format, instants, ordering, and
7782
+ * qa.maxRangeDays - with no card access. Production callers must run this
7783
+ * before any side-effecting card loader so an invalid range fails before
7784
+ * day regeneration or analysis spend.
7785
+ */
7786
+ declare function validateTimelineRangeQuery(query: {
7787
+ from: string;
7788
+ to: string;
7789
+ format: string;
7790
+ maxRangeDays?: number;
7791
+ }): void;
7792
+ /** Validate optional search bounds the way queryTimelineSearch applies them. */
7793
+ declare function validateTimelineSearchBounds(bounds: {
7794
+ from?: string;
7795
+ to?: string;
7796
+ }): void;
7825
7797
  declare function queryTimelineRange(cards: readonly TimelineQueryCard[], query: TimelineRangeQuery): TimelineCard[] | TimelineCompactRange;
7826
7798
  declare function queryTimelineSearch(cards: readonly TimelineQueryCard[] | null | undefined, query: TimelineSearchQuery): TimelineSearchResult;
7827
7799
  /** Shared CLI runner. `deps.cards` may be an in-memory fixture. */
@@ -7904,56 +7876,39 @@ declare function weeklySnapshotPath(input: PersistWeeklySnapshotInput): string;
7904
7876
  /** Persist one weekly snapshot. Same bytes are a no-op. */
7905
7877
  declare function persistWeeklySnapshot(input: PersistWeeklySnapshotInput): PersistWeeklySnapshotResult;
7906
7878
 
7907
- declare const TIMELINE_ANALYSIS_PROMPT_VERSION = 1;
7908
- declare const TIMELINE_ANALYSIS_BATCH_SIZE = 40;
7909
- declare const TIMELINE_ANALYSIS_BATCH_OVERLAP = 2;
7910
- declare const TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS = 15000;
7911
- declare class TimelineAnalysisConfigError extends Error {
7912
- readonly name = "TimelineAnalysisConfigError";
7913
- readonly code: "invalid_config";
7914
- constructor(message: string);
7915
- }
7916
- type TimelineAnalysisStatus = "ok" | "disabled" | "provider_failed" | "invalid_output";
7917
- interface TimelineAnalysisCompleteInput {
7918
- prompt: string;
7919
- provider: string;
7920
- model: string;
7921
- signal: AbortSignal;
7922
- }
7923
- type TimelineAnalysisComplete = (input: TimelineAnalysisCompleteInput) => Promise<string>;
7924
- interface TimelineAnalysisInput {
7925
- enabled: boolean;
7879
+ interface TimelineAnalysisRunInput {
7880
+ /** Local calendar day being analyzed (YYYY-MM-DD). */
7881
+ date: string;
7882
+ /** IANA timezone the day is bucketed in. */
7883
+ timezone: string;
7884
+ /** Deterministic cards for the day (the bytes that must survive failure). */
7926
7885
  cards: readonly TimelineCard[];
7886
+ /** Day observations — the only evidence the provider may see. */
7927
7887
  observations: readonly TimelineObservation[];
7928
- provider?: string;
7929
- model?: string;
7930
- complete?: TimelineAnalysisComplete;
7931
- timeoutMs?: number;
7932
- date?: string;
7933
- timezone?: string;
7934
7888
  categories?: readonly TimelineCategory[];
7935
- preferences?: readonly string[];
7936
- priorEdits?: readonly TimelineCorrection[];
7889
+ /** Prior accepted manual corrections, surfaced to the prompt as edits. */
7890
+ corrections?: readonly TimelineCorrection[];
7891
+ config: ActivityTimelineAnalysisConfig;
7892
+ deps: {
7893
+ localLlm?: TimelineAnalysisLocalLlm | null;
7894
+ remoteLlm?: TimelineAnalysisRemoteLlm | null;
7895
+ };
7937
7896
  signal?: AbortSignal;
7938
7897
  }
7939
- interface TimelineAnalysisResult {
7898
+ interface TimelineAnalysisRunResult {
7940
7899
  status: TimelineAnalysisStatus;
7900
+ /** Same card objects as the input on any non-ok status. */
7941
7901
  cards: TimelineCard[];
7942
- provider?: string;
7943
- model?: string;
7944
- promptVersion?: number;
7902
+ failure?: AnalysisFailure;
7903
+ /** Provider/model/prompt-version provenance; identifiers only, never content. */
7904
+ metadata?: AnalysisRunMetadata;
7945
7905
  }
7946
- declare function buildTimelineAnalysisPrompt(input: {
7947
- date?: string;
7948
- timezone?: string;
7949
- cards: readonly TimelineCard[];
7950
- observations: readonly TimelineObservation[];
7951
- categories: readonly TimelineCategory[];
7952
- preferences?: readonly string[];
7953
- priorEdits?: readonly TimelineCorrection[];
7954
- }): string;
7955
- /** Analyze one day of cards. Failures return the input cards unchanged. */
7956
- declare function analyzeTimelineCards(input: TimelineAnalysisInput): Promise<TimelineAnalysisResult>;
7906
+ /**
7907
+ * Run the optional analysis for one day. Observations are confined to the
7908
+ * DST-aware day window before anything is sent, so a mis-scoped caller cannot
7909
+ * widen the evidence the provider sees.
7910
+ */
7911
+ declare function runTimelineCardAnalysis(input: TimelineAnalysisRunInput): Promise<TimelineAnalysisRunResult>;
7957
7912
 
7958
7913
  /**
7959
7914
  * Deterministic machine-readable recap export from timeline cards (issue #2051).
@@ -8190,25 +8145,6 @@ interface ClippedRecapCard {
8190
8145
  }
8191
8146
  declare function clipCardsToRecapWindow(cards: readonly RecapWindowCard[], windowStartMs: number, windowEndMs: number): ClippedRecapCard[];
8192
8147
 
8193
- /**
8194
- * Typed failure classification for timeline analysis (issue #2050).
8195
- *
8196
- * Unknown kinds fail closed with a TypeError. Pure: no I/O, no clock, no randomness.
8197
- */
8198
- declare const ANALYSIS_FAILURE_KINDS: readonly ["provider_unavailable", "timeout", "aborted", "rate_limited", "malformed_json", "invalid_schema", "partial_output", "invalid_config"];
8199
- type AnalysisFailureKind = (typeof ANALYSIS_FAILURE_KINDS)[number];
8200
- interface AnalysisFailure {
8201
- kind: AnalysisFailureKind;
8202
- /** True only when retrying the same request could plausibly succeed. */
8203
- retryable: boolean;
8204
- /** True when the deterministic cards must be preserved unchanged. */
8205
- preservesDeterministic: true;
8206
- }
8207
- /** True when the value is one of the known failure kinds. */
8208
- declare function isAnalysisFailureKind(value: unknown): value is AnalysisFailureKind;
8209
- /** Classify a failure kind. Unknown kinds throw; there is no permissive default. */
8210
- declare function classifyAnalysisFailure(kind: string): AnalysisFailure;
8211
-
8212
8148
  /**
8213
8149
  * Merge user hand-edits into a regenerated journal recap (issue #2051).
8214
8150
  *
@@ -8233,34 +8169,6 @@ declare function mergeRecapUserEdits(input: {
8233
8169
  reset?: boolean;
8234
8170
  }): MergeRecapEditsResult;
8235
8171
 
8236
- /**
8237
- * Analysis run metadata (issue #2050).
8238
- *
8239
- * Pure builder for the provider/model/prompt-version record attached to
8240
- * stored analysis results and telemetry.
8241
- *
8242
- * The no-content guarantee is enforced by SHAPE, not by length: each field
8243
- * must match an identifier/version syntax, so prose cannot be stored as a
8244
- * "model name". A 200-character single-line string is happily prose
8245
- * ("Summarize this user\u0027s activity"), which is why a length cap alone was
8246
- * not the boundary this record needs. Errors never echo a rejected value,
8247
- * so a mis-passed prompt cannot reach logs through the failure path either.
8248
- */
8249
- interface AnalysisRunMetadata {
8250
- provider: string;
8251
- model: string;
8252
- promptVersion: string;
8253
- /** Observation ids the run consumed, for evidence tracing. */
8254
- observationCount: number;
8255
- }
8256
- declare const ANALYSIS_METADATA_MAX_FIELD_LENGTH = 120;
8257
- declare function buildAnalysisRunMetadata(input: {
8258
- provider: string;
8259
- model: string;
8260
- promptVersion: string;
8261
- observationCount: number;
8262
- }): AnalysisRunMetadata;
8263
-
8264
8172
  /**
8265
8173
  * Fallback selection for the daily journal recap (issue #2051).
8266
8174
  *
@@ -8337,12 +8245,130 @@ declare function todayJournalDate(now?: Date): string;
8337
8245
  declare function writeJournalFile(filePath: string, content: string, force: boolean): boolean;
8338
8246
  declare function seedJournal(input: SeedJournalInput): SeedJournalResult;
8339
8247
 
8248
+ type ReadJournalResult = {
8249
+ ok: true;
8250
+ exists: false;
8251
+ reason: "missing_file" | "missing_heading";
8252
+ filePath: string;
8253
+ } | {
8254
+ ok: true;
8255
+ exists: true;
8256
+ text: string;
8257
+ heading: string;
8258
+ warnings: readonly string[];
8259
+ filePath: string;
8260
+ } | {
8261
+ ok: false;
8262
+ reason: "duplicate_heading";
8263
+ lines: readonly number[];
8264
+ filePath: string;
8265
+ } | {
8266
+ ok: false;
8267
+ reason: "not_directory" | "path_escape" | "symlink_escape";
8268
+ filePath: string;
8269
+ };
8270
+ /** Publisher-owned daily-note heading sections that must never count as journal text. */
8271
+ declare function publisherOwnedSectionNames(vault: ActivityTimelineVaultConfig): string[];
8272
+ declare function readJournalForDate(input: {
8273
+ vault: ActivityTimelineVaultConfig;
8274
+ date: string;
8275
+ timezone?: string;
8276
+ }): ReadJournalResult;
8277
+
8278
+ interface TimelineState {
8279
+ version: 1;
8280
+ journal: Record<string, string>;
8281
+ }
8282
+ declare function timelineStatePath(memoryDir: string): string;
8283
+ /** Hash the post-strip section text — Remnic-stripped noise must not re-trigger extraction. */
8284
+ declare function hashJournalText(text: string): string;
8285
+ declare function readTimelineState(memoryDir: string): TimelineState;
8286
+ /** Write new before deleting old (§42): unique temp file first, then an atomic rename. */
8287
+ declare function writeTimelineState(memoryDir: string, state: TimelineState): void;
8288
+ declare function journalDateLockPath(memoryDir: string, date: string): string;
8289
+ declare function timelineStateLockPath(memoryDir: string): string;
8290
+ /** Hold the per-date extract lock for hash reread → extract → commit. Fail closed. */
8291
+ declare function withJournalDateLock<T>(memoryDir: string, date: string, task: () => Promise<T>): Promise<T>;
8292
+ /** Reread-merge one day's hash under the state-file lock, unique tmp + rename. */
8293
+ declare function commitJournalHash(memoryDir: string, date: string, hash: string): Promise<void>;
8294
+ /** Pure update: set one day's hash. Returns a new state object. */
8295
+ declare function setJournalHash(state: TimelineState, date: string, hash: string): TimelineState;
8296
+ /** True when the day's stored hash matches — unchanged days are skipped. */
8297
+ declare function journalUnchanged(state: TimelineState, date: string, text: string): boolean;
8298
+
8299
+ /** The subset of StorageManager the journal pass writes through. */
8300
+ interface JournalStorageIo {
8301
+ writeSealedMemory(envelope: SealedMemoryEnvelope, extras: {
8302
+ status: MemoryStatus;
8303
+ contentHashSource: string;
8304
+ importance?: ImportanceScore;
8305
+ }): Promise<{
8306
+ tombstoneBlocked?: boolean;
8307
+ }>;
8308
+ hasFactContentHash(content: string): Promise<boolean>;
8309
+ readAllMemories(): Promise<Array<{
8310
+ path: string;
8311
+ frontmatter: {
8312
+ tags?: string[];
8313
+ source?: unknown;
8314
+ };
8315
+ content: string;
8316
+ }>>;
8317
+ }
8318
+ interface JournalMemoryWriter {
8319
+ writeSealedMemory: JournalStorageIo["writeSealedMemory"];
8320
+ /** Dedup beyond the fact-only hash index: scans journal-tagged memories. */
8321
+ hasJournalMemoryContent(content: string): Promise<boolean>;
8322
+ }
8323
+ /**
8324
+ * The storage fact-hash index only covers category "fact"; journal
8325
+ * candidates span every category, so dedup additionally scans existing
8326
+ * journal-tagged memories for an exact content match (wearables parity,
8327
+ * Codex P2 on PR #1458).
8328
+ */
8329
+ declare function createJournalMemoryWriter(storage: JournalStorageIo): JournalMemoryWriter;
8330
+ /** Result of one day's journal extraction run, including the skip reason. */
8331
+ type JournalExtractionRunResult = JournalExtractionResult & {
8332
+ skippedReason?: string;
8333
+ filePath?: string;
8334
+ };
8335
+ interface JournalExtractionDeps {
8336
+ extract(turns: BufferTurn[]): Promise<ExtractionResult>;
8337
+ writer: JournalMemoryWriter;
8338
+ /** LLM-as-judge batch evaluation; absent degrades to review-only writes. */
8339
+ judge?(candidates: JudgeCandidate[]): Promise<Map<number, JudgeVerdict>>;
8340
+ now?(): Date;
8341
+ /** Fires once after any candidate write — the §31 reindex hook. */
8342
+ afterWrites?(): Promise<void>;
8343
+ }
8344
+ interface JournalExtractionResult {
8345
+ /** pending_review candidates written this run. */
8346
+ pendingReview: number;
8347
+ /** Candidates the judge rejected — dropped, never queued. */
8348
+ rejectedByJudge: number;
8349
+ /** Candidates skipped by in-run or persisted dedup. */
8350
+ skipped: number;
8351
+ /** True when the pass extracted the day (caller advances the state hash). */
8352
+ completed: boolean;
8353
+ warnings: string[];
8354
+ }
8355
+ declare function runJournalReviewExtraction(input: {
8356
+ date: string;
8357
+ journalText: string;
8358
+ source: "memoryDir" | "vault";
8359
+ journalConfig: Pick<ActivityTimelineJournalConfig, "extractionMode">;
8360
+ deps: JournalExtractionDeps;
8361
+ }): Promise<JournalExtractionResult>;
8362
+
8340
8363
  /**
8341
8364
  * Read-only vault daily-note journal section (issue #1987 first slice).
8342
8365
  *
8343
- * Pure: file text in, journal body out. Never writes. Strips Remnic-owned
8344
- * marker regions and publisher-owned headings so published timeline text
8345
- * cannot re-enter the journal. Path templates stay in vault-publish.
8366
+ * Pure: caller supplies the file text (one read; the filesystem wrapper
8367
+ * lives in journal-read.ts). Extracts the unique journal section via
8368
+ * the shared ATX heading matcher, then strips every Remnic-owned region
8369
+ * (journal-strip.ts) so published output can never re-enter the journal.
8370
+ * Missing note and missing section are distinct, labeled no-journal
8371
+ * outcomes (§22); duplicate headings refuse with line numbers.
8346
8372
  */
8347
8373
  interface ReadVaultJournalInput {
8348
8374
  fileText: string | null | undefined;
@@ -8401,19 +8427,11 @@ declare function buildJournalMemoryProvenance(input: {
8401
8427
  date: string;
8402
8428
  }): JournalMemoryProvenance;
8403
8429
 
8404
- /**
8405
- * Strip Remnic-owned regions from a vault journal section (issue #1987).
8406
- *
8407
- * Loop prevention for vault journals: before daily-note text is treated
8408
- * as journal text, every managed marker region and every configured
8409
- * owned heading section is removed, so published output can never
8410
- * re-enter the journal. An unterminated start marker fails closed and
8411
- * strips to the end of the section. Pure string-in/string-out. No
8412
- * filesystem. Heading lines parse through the SAME exported ATX
8413
- * parser the journal-section reader uses, so a heading the reader
8414
- * recognizes is always a heading this stripper strips.
8415
- */
8416
- declare function stripRemnicOwnedRegions(sectionText: string, ownedHeadings: readonly string[]): string;
8430
+ interface StripResult {
8431
+ text: string;
8432
+ warnings: readonly string[];
8433
+ }
8434
+ declare function stripRemnicOwnedRegions(sectionText: string, ownedHeadings: readonly string[]): StripResult;
8417
8435
 
8418
8436
  interface ActivityMemoryWriter {
8419
8437
  /**
@@ -9572,4 +9590,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
9572
9590
  */
9573
9591
  declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
9574
9592
 
9575
- export { ACTIVITY_ANALYSIS_STATUSES, ACTIVITY_DELETE_SCOPES, ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_FEATURE_GATES, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ANALYSIS_FAILURE_KINDS, ANALYSIS_METADATA_MAX_FIELD_LENGTH, type ActivityAnalysisStatus, ActivityConfig, ActivityDayDigest, ActivityDayMeta, type ActivityDeleteCandidate, type ActivityDeletePlan, type ActivityDeleteScope, type ActivityFeatureGate, type ActivityGateSet, type ActivityHealthSnapshot, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, type ActivityPrivacyPolicy, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityTimelineQaConfig, ActivityTimelineVaultConfig, ActivityWearablesMeetingsDaySource, type AnalysisFailure, type AnalysisFailureKind, type AnalysisPromptObservation, type AnalysisRunMetadata, type ApplyManagedRegionResult, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BatchObservationsOptions, type BeginEndPairInput, type BeginEndPairResult, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, type ClippedRecapCard, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledOffTheRecordMarkers, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_RECURRENCE_MIN_DAYS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_TIMELINE_CATEGORIES, DEFAULT_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, type DeterministicJournalOptions, type DeterministicRecap, type DeterministicRecapOptions, type DeterministicWeek, type DeterministicWeekDay, type DeterministicWeekOptions, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type ExportSkillsResult, FallbackLlmClient, type FileChange, type FileLine, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, INJECTION_SCREEN_THRESHOLD, type ImportSkillsResult, type IngestionPlan, type InjectionScreenFinding, type InjectionScreenResult, type InsertVaultRegionResult, JOURNAL_DIR_NAME, type JournalMemoryProvenance, type JournalSeedCard, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MIN_RECURRENCE_MIN_DAYS, MS_PER_DAY, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, MemoryDriftState, type MemoryEntry, type MemoryExtensionPublisher, type MergeRecapEditsResult, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OffTheRecordMarkerInput, OffTheRecordMarkerSettings, type OnboardOptions, type OnboardResult, type OriginClass, PUBLISHERS, type PackReviewContextStructuralInput, type ParseClaimObservationIdResult, ParsedSkillBundle, type PersistDeterministicJournalInput, type PersistDeterministicJournalResult, type PersistWeeklySnapshotInput, type PersistWeeklySnapshotResult, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, type PrivacyWindowItem, type PrivacyWindowOptions, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublishVaultNoteInput, type PublishVaultRegionResult, type PublisherCapabilities, RECAP_SOURCE_KINDS, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type ReadSkillBundle, type ReadVaultJournalInput, type ReadVaultJournalResult, type RecapCandidate, type RecapMarkdownOptions, type RecapSection, type RecapSelection, type RecapSourceKind, type RecapWindowCard, type RecurringPattern, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, ReviewDeckSnapshot, ReviewDeckSourceRow, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SeedJournalInput, type SeedJournalResult, SemanticDedupLookup, type SessionSummaryDraft, type SessionSummaryExcerpt, SkillBundle, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TIMELINE_ANALYSIS_BATCH_OVERLAP, TIMELINE_ANALYSIS_BATCH_SIZE, TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, TIMELINE_ANALYSIS_PROMPT_VERSION, TIMELINE_FORMAT_VERSION, TIMELINE_MAX_DWELL_MS, TIMELINE_MERGE_GAP_MS, TIMELINE_RESERVED_IDLE, TIMELINE_RESERVED_PAUSE, TIMELINE_RESERVED_UNKNOWN, TRANSCRIPT_FORMAT_VERSION, Taxonomy, type TimelineAnalysisComplete, type TimelineAnalysisCompleteInput, TimelineAnalysisConfigError, type TimelineAnalysisInput, type TimelineAnalysisResult, type TimelineAnalysisStatus, type TimelineBatchObservation, type TimelineBuildInput, type TimelineCard, type TimelineCardKind, type TimelineCategory, type TimelineClassification, type TimelineCliDeps, type TimelineCliIo, type TimelineCompactCard, type TimelineCompactRange, type TimelineCorrection, TimelineCorrectionStore, type TimelineDay, type TimelineEvidenceClaim, type TimelineEvidenceObservation, type TimelineEvidenceRange, type TimelineManualEdit, type TimelineObservation, type TimelinePause, type TimelineQueryCard, type TimelineRangeFormat, type TimelineRangeQuery, type TimelineSearchQuery, type TimelineSearchResult, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, VAULT_JOURNAL_PREREQUISITES, VAULT_PUBLISH_OUTCOMES, VAULT_TEMPLATE_TOKENS, type ValidateRegionNameResult, type VaultDryRunInput, type VaultJournalPrereqResult, type VaultJournalPrerequisite, type VaultPublishOutcome, type VaultPublishResult, type VaultPublishStatus, type VaultPublisherTestHooks, type VaultSectionProvenance, type VaultSectionPublish, type VaultTemplateToken, WEARABLES_DIR_NAME, WEEKLY_ACTIVITY_FORMAT_VERSION, WEEKLY_SNAPSHOT_DIR, WEEKLY_SNAPSHOT_FORMAT_VERSION, WEEK_START_DAYS, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, type WeekDayOccurrence, type WeekSnapshotDay, type WeekSnapshotOptions, type WeeklyActivityOptions, type WeeklyActivitySummary, type WeeklyCategoryTotal, type WeeklyConfigInput, type WeeklyDayTotal, type WeeklyDurationTotals, type WeeklyKindTotals, type WeeklyPreviousPeriod, type WeeklyPreviousPeriodUnavailable, activityCursorKey, activityDateInTimezone, activityDayWindow, activityDigestPath, analyzeTimelineCards, appendRelayMissionEvent, applyCorrections, applyManagedRegion, applyOffTheRecord, applyPreferenceDriftRanking, applyTimelineCorrections, applyVaultFrontmatter, assertBeginEndPair, assertValidTimezone, batchObservations, bodyIsEscaped, boundEvidence, branchNamespaceName, buildActivityHealth, buildAnalysisPrompt, buildAnalysisRunMetadata, buildAudioWindows, buildJournalMemoryProvenance, buildPhraseMatcher, buildProcedureRecallSection, buildTimelineAnalysisPrompt, buildTimelineDay, buildWeeklyActivitySummary, builtInConnectorPackageSpecifier, checkVaultJournalPrerequisites, classifyAnalysisFailure, classifyOrigin, classifyTimelineObservation, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clipCardsToRecapWindow, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compareWeeklyPreviousPeriod, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, computeWeeklyConfigHash, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, detectScriptHints, driftAgeNote, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, expandVaultTemplateTokens, exportDeterministicRecap, exportDeterministicWeek, exportSkillBundles, fileLines, filterPrivacyWindow, findContradictions, findDuplicates, findRecurringPatterns, forkCapsule, formatVaultWikilink, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, insertMarkersUnderHeading, isAnalysisFailureKind, isEligibleActivityFact, isJournalDayPath, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidActivityDate, isValidTranscriptDate, joinVaultSegments, journalPath, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeFrontmatterKeys, mergeRecapUserEdits, mergeSpaces, normalizeOriginUrl, observationsForExport, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseActivityPrivacy, parseAtxHeading, parseClaimObservationId, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTimelineVaultConfig, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistDeterministicJournal, persistImportedSkills, persistWeeklySnapshot, planActivityDeletion, planVaultDryRun, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publishVaultNote, publishVaultRegion, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, queryTimelineRange, queryTimelineSearch, rankReviewCandidates, readForkLineage, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, readVaultJournal, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderDeterministicJournal, renderExtensionsBlock, renderExtensionsFooter, renderRecapMarkdown, renderStructuralProviderStatusLine, renderWeekSnapshot, resolveActivityGates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, resolveVaultNotePath, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runTimelineCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, seedJournal, selectRecapForDay, selfRegisterWearableConnector, serializeActivityDigest, serializeDayTranscript, serializeTimelineDay, setVaultPublisherTestHooks, shareSpace, shouldRetain, sortObservationIds, sortTimelineCategories, stableHash, storageWearableDayReader, stripFillerTokens, stripRemnicOwnedRegions, stripVaultMdSuffix, structuralProviderActive, summarizeVaultPublish, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timelineCorrectionDatabasePath, timezoneOffsetIso, toStructuralContextDegradation, todayJournalDate, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateRegionName, validateSlug, validateTaxonomy, validateTimelineCategories, validateVaultNoteTemplate, watchForChanges, weeklySnapshotPath, withRawEntityPageMutation, writeJournalFile, writeManifest, writeMeetingEpisodeMemory };
9593
+ export { ACTIVITY_ANALYSIS_STATUSES, ACTIVITY_DELETE_SCOPES, ACTIVITY_FEATURE_GATES, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, type ActivityAnalysisStatus, ActivityConfig, type ActivityDeleteCandidate, type ActivityDeletePlan, type ActivityDeleteScope, type ActivityFeatureGate, type ActivityGateSet, type ActivityHealthSnapshot, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, type ActivityPrivacyPolicy, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityTimelineAnalysisConfig, ActivityTimelineJournalConfig, ActivityTimelineQaConfig, ActivityTimelineVaultConfig, ActivityWearablesMeetingsDaySource, AnalysisFailure, type AnalysisPromptObservation, AnalysisRunMetadata, type ApplyManagedRegionResult, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BatchObservationsOptions, type BeginEndPairInput, type BeginEndPairResult, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, CODEX_SUBSCRIPTION_PROVIDER_ID, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, type ClippedRecapCard, CodexCliFallbackRunner, CodexMemoryExtensionPublisher, CodexSubscriptionAuthError, CodexSubscriptionConfigError, CodexSubscriptionTimeoutError, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledOffTheRecordMarkers, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_RECURRENCE_MIN_DAYS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_TIMELINE_CATEGORIES, DEFAULT_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, type DeterministicJournalOptions, type DeterministicRecap, type DeterministicRecapOptions, type DeterministicWeek, type DeterministicWeekDay, type DeterministicWeekOptions, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type ExportSkillsResult, FallbackLlmClient, type FileChange, type FileLine, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, INJECTION_SCREEN_THRESHOLD, type ImportSkillsResult, type IngestionPlan, type InjectionScreenFinding, type InjectionScreenResult, type InsertVaultRegionResult, JOURNAL_DIR_NAME, type JournalExtractionDeps, type JournalExtractionResult, type JournalExtractionRunResult, type JournalMemoryProvenance, type JournalMemoryWriter, type JournalSeedCard, type JournalStorageIo, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MIN_RECURRENCE_MIN_DAYS, MS_PER_DAY, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, MemoryDriftState, type MemoryEntry, type MemoryExtensionPublisher, type MergeRecapEditsResult, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OffTheRecordMarkerInput, OffTheRecordMarkerSettings, type OnboardOptions, type OnboardResult, type OriginClass, PUBLISHERS, type PackReviewContextStructuralInput, type ParseClaimObservationIdResult, ParsedSkillBundle, type PersistDeterministicJournalInput, type PersistDeterministicJournalResult, type PersistWeeklySnapshotInput, type PersistWeeklySnapshotResult, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, type PrivacyWindowItem, type PrivacyWindowOptions, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublishVaultNoteInput, type PublishVaultRegionResult, type PublisherCapabilities, RECAP_SOURCE_KINDS, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type ReadJournalResult, type ReadSkillBundle, type ReadVaultJournalInput, type ReadVaultJournalResult, type RecapCandidate, type RecapMarkdownOptions, type RecapSection, type RecapSelection, type RecapSourceKind, type RecapWindowCard, type RecurringPattern, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, ReviewDeckSnapshot, ReviewDeckSourceRow, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SeedJournalInput, type SeedJournalResult, SemanticDedupLookup, type SessionSummaryDraft, type SessionSummaryExcerpt, SkillBundle, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TIMELINE_FORMAT_VERSION, TIMELINE_MAX_DWELL_MS, TIMELINE_MERGE_GAP_MS, TIMELINE_RESERVED_IDLE, TIMELINE_RESERVED_PAUSE, TIMELINE_RESERVED_UNKNOWN, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TimelineAnalysisLocalLlm, TimelineAnalysisRemoteLlm, type TimelineAnalysisRunInput, type TimelineAnalysisRunResult, TimelineAnalysisStatus, type TimelineBatchObservation, type TimelineBuildInput, TimelineCard, TimelineCategory, type TimelineClassification, type TimelineCliDeps, type TimelineCliIo, type TimelineCompactCard, type TimelineCompactRange, TimelineCorrection, TimelineCorrectionStore, TimelineDay, type TimelineEvidenceClaim, type TimelineEvidenceObservation, TimelineObservation, TimelinePause, type TimelineQueryCard, type TimelineRangeFormat, type TimelineRangeQuery, type TimelineSearchQuery, type TimelineSearchResult, type TimelineState, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, VAULT_JOURNAL_PREREQUISITES, VAULT_PUBLISH_OUTCOMES, VAULT_TEMPLATE_TOKENS, type ValidateRegionNameResult, type VaultDryRunInput, type VaultJournalPrereqResult, type VaultJournalPrerequisite, type VaultPublishOutcome, type VaultPublishResult, type VaultPublishStatus, type VaultPublisherTestHooks, type VaultSectionProvenance, type VaultSectionPublish, type VaultTemplateToken, WEARABLES_DIR_NAME, WEEKLY_ACTIVITY_FORMAT_VERSION, WEEKLY_SNAPSHOT_DIR, WEEKLY_SNAPSHOT_FORMAT_VERSION, WEEK_START_DAYS, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, type WeekDayOccurrence, type WeekSnapshotDay, type WeekSnapshotOptions, type WeeklyActivityOptions, type WeeklyActivitySummary, type WeeklyCategoryTotal, type WeeklyConfigInput, type WeeklyDayTotal, type WeeklyDurationTotals, type WeeklyKindTotals, type WeeklyPreviousPeriod, type WeeklyPreviousPeriodUnavailable, activityCursorKey, appendRelayMissionEvent, applyCorrections, applyManagedRegion, applyOffTheRecord, applyPreferenceDriftRanking, applyTimelineCorrections, applyVaultFrontmatter, assertBeginEndPair, batchObservations, bodyIsEscaped, boundEvidence, branchNamespaceName, buildActivityHealth, buildAnalysisPrompt, buildAudioWindows, buildJournalMemoryProvenance, buildPhraseMatcher, buildProcedureRecallSection, buildTimelineDay, buildWeeklyActivitySummary, builtInConnectorPackageSpecifier, checkVaultJournalPrerequisites, classifyOrigin, classifyTimelineObservation, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clipCardsToRecapWindow, clusterConversations, codexSubscriptionBuiltinProviderConfig, collapseImmediateRepeats, collectLocalSessionSummaries, commitJournalHash, compareRelayEvents, compareWeeklyPreviousPeriod, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, computeWeeklyConfigHash, convertMemoriesToRecords, correctionsFilePath, correctionsForCards, createBackend, createCodexSubscriptionRunner, createGoogleDriveConnector, createJournalMemoryWriter, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, detectScriptHints, driftAgeNote, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, ensureCodexSubscriptionRunnerRegistered, escapeSegmentText, expandVaultTemplateTokens, exportDeterministicRecap, exportDeterministicWeek, exportSkillBundles, fileLines, filterPrivacyWindow, findContradictions, findDuplicates, findRecurringPatterns, forkCapsule, formatVaultWikilink, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashJournalText, hashTranscriptBody, hostIdForConnector, insertMarkersUnderHeading, isEligibleActivityFact, isJournalDayPath, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidTranscriptDate, joinVaultSegments, journalDateLockPath, journalPath, journalUnchanged, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeFrontmatterKeys, mergeRecapUserEdits, mergeSpaces, normalizeOriginUrl, observationsForExport, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityPrivacy, parseAtxHeading, parseClaimObservationId, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTimelineVaultConfig, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistDeterministicJournal, persistImportedSkills, persistWeeklySnapshot, planActivityDeletion, planVaultDryRun, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publishVaultNote, publishVaultRegion, publisherFor, publisherForConnector, publisherOwnedSectionNames, pullFromSpace, pushToSpace, queryTimelineRange, queryTimelineSearch, rankReviewCandidates, readForkLineage, readJournalForDate, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, readTimelineState, readVaultJournal, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderDeterministicJournal, renderExtensionsBlock, renderExtensionsFooter, renderRecapMarkdown, renderStructuralProviderStatusLine, renderWeekSnapshot, resolveActivityGates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, resolveVaultNotePath, runBinaryLifecyclePipeline, runJournalReviewExtraction, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runTimelineCardAnalysis, runTimelineCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, seedJournal, selectRecapForDay, selfRegisterWearableConnector, serializeDayTranscript, serializeTimelineDay, setJournalHash, setVaultPublisherTestHooks, shareSpace, shouldRetain, sortObservationIds, sortTimelineCategories, stableHash, storageWearableDayReader, stripFillerTokens, stripRemnicOwnedRegions, stripVaultMdSuffix, structuralProviderActive, summarizeVaultPublish, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timelineCorrectionDatabasePath, timelineStateLockPath, timelineStatePath, toStructuralContextDegradation, todayJournalDate, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateRegionName, validateSlug, validateTaxonomy, validateTimelineCategories, validateTimelineRangeQuery, validateTimelineSearchBounds, validateVaultNoteTemplate, watchForChanges, weeklySnapshotPath, withJournalDateLock, withRawEntityPageMutation, writeJournalFile, writeManifest, writeMeetingEpisodeMemory, writeTimelineState };