@remnic/core 9.65.8 → 9.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (637) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -12
  2. package/dist/access-admin-ops-surface.js +49 -46
  3. package/dist/access-authorization-probe.d.ts +11 -12
  4. package/dist/access-authorization-probe.js +50 -47
  5. package/dist/access-boundary.d.ts +11 -12
  6. package/dist/access-boundary.js +49 -46
  7. package/dist/access-citation-namespace.js +3 -3
  8. package/dist/access-cli.js +111 -106
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-coding-context-resolution.d.ts +1 -2
  11. package/dist/access-coding-context-resolution.js +2 -2
  12. package/dist/access-extraction-force-flush.d.ts +11 -12
  13. package/dist/access-extraction-force-flush.js +49 -46
  14. package/dist/access-health-types.d.ts +1 -2
  15. package/dist/access-http-lcm-compaction.d.ts +11 -12
  16. package/dist/access-http-lifecycle-flush.d.ts +11 -12
  17. package/dist/access-http-offline-stream.d.ts +11 -12
  18. package/dist/access-http-query.d.ts +2 -3
  19. package/dist/access-http-query.js +51 -48
  20. package/dist/access-http.d.ts +12 -13
  21. package/dist/access-http.js +68 -65
  22. package/dist/access-identity-continuity-surface.d.ts +9 -10
  23. package/dist/access-identity-continuity-surface.js +49 -46
  24. package/dist/access-lcm-surface.d.ts +11 -12
  25. package/dist/access-lcm-surface.js +49 -46
  26. package/dist/access-mcp-output-schemas.js +1 -1
  27. package/dist/access-mcp.d.ts +11 -12
  28. package/dist/access-mcp.js +62 -59
  29. package/dist/access-memory-search-fanout.d.ts +2 -3
  30. package/dist/{access-namespace-preflight-CpAOrS-9.d.ts → access-namespace-preflight-CLWUoMyW.d.ts} +1 -1
  31. package/dist/access-namespace-preflight.d.ts +3 -4
  32. package/dist/access-namespace-preflight.js +49 -46
  33. package/dist/access-observe-write-surface.d.ts +11 -12
  34. package/dist/access-observe-write-surface.js +49 -46
  35. package/dist/access-offline-manifest.d.ts +9 -10
  36. package/dist/access-offline-manifest.js +15 -15
  37. package/dist/access-operations-batch.js +54 -51
  38. package/dist/access-operations.d.ts +17 -18
  39. package/dist/access-operations.js +59 -56
  40. package/dist/access-recall-concurrency.d.ts +11 -12
  41. package/dist/access-recall-concurrency.js +49 -46
  42. package/dist/access-recall-response.d.ts +11 -12
  43. package/dist/access-recall-response.js +49 -46
  44. package/dist/access-recall-surface.d.ts +11 -12
  45. package/dist/access-recall-surface.js +49 -46
  46. package/dist/access-schema.d.ts +83 -83
  47. package/dist/access-schema.js +7 -7
  48. package/dist/{access-service-Diu61Cfv.d.ts → access-service-CEUE1Isj.d.ts} +66 -66
  49. package/dist/access-service-helpers.d.ts +11 -12
  50. package/dist/access-service.d.ts +11 -12
  51. package/dist/access-service.js +49 -46
  52. package/dist/access-surface-catalog.d.ts +11 -12
  53. package/dist/access-surface-catalog.js +53 -48
  54. package/dist/access-surface-catalog.js.map +1 -1
  55. package/dist/access-wearables-meetings-surface.d.ts +3 -4
  56. package/dist/action-confidence.d.ts +1 -2
  57. package/dist/active-memory-bridge.d.ts +1 -2
  58. package/dist/active-memory-bridge.js +2 -2
  59. package/dist/active-recall.d.ts +1 -2
  60. package/dist/active-recall.js +11 -11
  61. package/dist/ambient-provenance.d.ts +1 -2
  62. package/dist/artifact-search.d.ts +1 -2
  63. package/dist/{auto-sync-2YPITIWN.js → auto-sync-Q6Q2FVSC.js} +9 -9
  64. package/dist/behavior-learner.d.ts +1 -2
  65. package/dist/behavior-signals.d.ts +1 -2
  66. package/dist/bootstrap.d.ts +9 -10
  67. package/dist/briefing-window.d.ts +2 -3
  68. package/dist/briefing.d.ts +2 -3
  69. package/dist/briefing.js +23 -23
  70. package/dist/buffer-surprise-report.d.ts +1 -2
  71. package/dist/buffer-turn-helpers.d.ts +1 -2
  72. package/dist/buffer.d.ts +2 -3
  73. package/dist/buffer.js +20 -4
  74. package/dist/bulk-import/index.d.ts +3 -4
  75. package/dist/calibration.d.ts +1 -2
  76. package/dist/calibration.js +1 -1
  77. package/dist/capabilities.d.ts +1 -2
  78. package/dist/{capsule-merge-SGIVB3WA.js → capsule-merge-SEHERWWP.js} +4 -4
  79. package/dist/{catalog-9f-vEQLS.d.ts → catalog-D1HgugTA.d.ts} +1 -1
  80. package/dist/causal-behavior.d.ts +1 -2
  81. package/dist/causal-consolidation.d.ts +1 -2
  82. package/dist/causal-consolidation.js +24 -24
  83. package/dist/causal-trajectory-graph.d.ts +1 -2
  84. package/dist/{chunk-LEPOP46W.js → chunk-227UFSEQ.js} +4 -4
  85. package/dist/{chunk-NPFUNWNX.js → chunk-23CVL7HS.js} +2 -2
  86. package/dist/{chunk-PO7NXBG2.js → chunk-2GF27PGH.js} +5 -5
  87. package/dist/{chunk-MY2BC6UE.js → chunk-2LBAFHOQ.js} +11 -11
  88. package/dist/{chunk-AZMLH5UT.js → chunk-33MFRY25.js} +2 -2
  89. package/dist/{chunk-UEBDCMOO.js → chunk-3TSU662L.js} +3 -3
  90. package/dist/{chunk-CAMNRAJF.js → chunk-4FHRZD5T.js} +2 -2
  91. package/dist/{chunk-FP7YTTVO.js → chunk-4OFKZAJG.js} +2 -1
  92. package/dist/chunk-4OFKZAJG.js.map +1 -0
  93. package/dist/{chunk-S5XOSTYM.js → chunk-4STAANV7.js} +3 -3
  94. package/dist/{chunk-LKYIOCWL.js → chunk-56IV4J5W.js} +546 -96
  95. package/dist/chunk-56IV4J5W.js.map +1 -0
  96. package/dist/{chunk-4F4AQFWL.js → chunk-6CEGSTBD.js} +10 -10
  97. package/dist/{chunk-JYSN42VN.js → chunk-6QDXA26G.js} +235 -181
  98. package/dist/chunk-6QDXA26G.js.map +1 -0
  99. package/dist/{chunk-MDD2RINF.js → chunk-6RUHELWR.js} +3 -3
  100. package/dist/{chunk-WNXYT4MK.js → chunk-72OIT7KS.js} +4 -4
  101. package/dist/{chunk-KQAFEZQX.js → chunk-7LCGFUMB.js} +4 -4
  102. package/dist/{chunk-SNOIKAHM.js → chunk-7UTDHQZ5.js} +3 -3
  103. package/dist/{chunk-5HK3CJAR.js → chunk-7XOG75AU.js} +3 -3
  104. package/dist/{chunk-7BDZTALN.js → chunk-AJTG3CP7.js} +12 -2
  105. package/dist/chunk-AJTG3CP7.js.map +1 -0
  106. package/dist/{chunk-2LWQSV6A.js → chunk-AL3UYZ5N.js} +3 -2
  107. package/dist/chunk-AL3UYZ5N.js.map +1 -0
  108. package/dist/{chunk-UPFNQJC7.js → chunk-CN4VKV3S.js} +2 -2
  109. package/dist/{chunk-PMVPCZJZ.js → chunk-CTCGHNWN.js} +6 -6
  110. package/dist/{chunk-EGBDFJ36.js → chunk-DD5JFCWM.js} +2 -2
  111. package/dist/{chunk-XBGHAAKR.js → chunk-DDX6KIXF.js} +2 -2
  112. package/dist/{chunk-JIYDRBVZ.js → chunk-DJORULH3.js} +2 -2
  113. package/dist/{chunk-UENKPWCS.js → chunk-DMEHOEC7.js} +6 -6
  114. package/dist/{chunk-7KQB4EBS.js → chunk-DUAJKRR2.js} +2 -2
  115. package/dist/{chunk-XDL5CYZN.js → chunk-EEOUMG3J.js} +2 -1
  116. package/dist/{chunk-XDL5CYZN.js.map → chunk-EEOUMG3J.js.map} +1 -1
  117. package/dist/{chunk-SEEJOGQX.js → chunk-EFQCDJZ2.js} +4 -4
  118. package/dist/{chunk-Q57GOHLF.js → chunk-EGALNSZ4.js} +3 -3
  119. package/dist/{chunk-KCT36JAW.js → chunk-ESNFSSO4.js} +2 -2
  120. package/dist/{chunk-XQ3HXAQH.js → chunk-ET2CNMLD.js} +4 -4
  121. package/dist/{chunk-PU56CXZA.js → chunk-EZSCW4EM.js} +2 -2
  122. package/dist/{chunk-HMZKGHMD.js → chunk-FESUGFIL.js} +3 -3
  123. package/dist/{chunk-3A2NJP2U.js → chunk-FKKGCGYL.js} +3 -3
  124. package/dist/{chunk-BWGCOLEL.js → chunk-FTTJRVB7.js} +2 -2
  125. package/dist/{chunk-ODU2CNNX.js → chunk-FYWLSFFS.js} +2 -2
  126. package/dist/{chunk-W2BAGGEW.js → chunk-GEJKYA7D.js} +33 -24
  127. package/dist/{chunk-W2BAGGEW.js.map → chunk-GEJKYA7D.js.map} +1 -1
  128. package/dist/chunk-GSKINLAK.js +267 -0
  129. package/dist/chunk-GSKINLAK.js.map +1 -0
  130. package/dist/{chunk-3PKAS6VL.js → chunk-GX6FTSYH.js} +2 -2
  131. package/dist/{chunk-76DIF5KT.js → chunk-H7VDIF2V.js} +2 -2
  132. package/dist/{chunk-F7XUD3PL.js → chunk-HJXA6ZM7.js} +2 -2
  133. package/dist/{chunk-4QEYREAV.js → chunk-HNPE66LB.js} +2 -2
  134. package/dist/{chunk-P36Z4JRA.js → chunk-I5VB44ZK.js} +2 -2
  135. package/dist/{chunk-EUYWQ7TS.js → chunk-IEZ6CGTW.js} +2 -2
  136. package/dist/{chunk-OXRRJXPR.js → chunk-IHGMRDEE.js} +275 -1678
  137. package/dist/chunk-IHGMRDEE.js.map +1 -0
  138. package/dist/{chunk-5DHKCO52.js → chunk-IVIAHQBR.js} +2 -2
  139. package/dist/{chunk-TFR3HG4K.js → chunk-J3OND5QT.js} +4 -4
  140. package/dist/{chunk-UW5NPZJ2.js → chunk-JALOAKSZ.js} +59 -7
  141. package/dist/chunk-JALOAKSZ.js.map +1 -0
  142. package/dist/{chunk-5ACCD4L7.js → chunk-JRRQ747T.js} +7 -7
  143. package/dist/{chunk-V4IDF3EZ.js → chunk-JTWZKNUH.js} +5 -5
  144. package/dist/chunk-K66OY4EI.js +202 -0
  145. package/dist/chunk-K66OY4EI.js.map +1 -0
  146. package/dist/{chunk-XAB6STPO.js → chunk-KODXCHXJ.js} +17 -3
  147. package/dist/chunk-KODXCHXJ.js.map +1 -0
  148. package/dist/{chunk-KZIF6XHX.js → chunk-KXIXO76C.js} +28 -15
  149. package/dist/chunk-KXIXO76C.js.map +1 -0
  150. package/dist/{chunk-5RWZH6PH.js → chunk-L4X4PJYK.js} +2 -2
  151. package/dist/{chunk-UTQUEHC7.js → chunk-LUDBXTBJ.js} +8 -8
  152. package/dist/{chunk-XNWXSGHS.js → chunk-MAH64N55.js} +28 -10
  153. package/dist/chunk-MAH64N55.js.map +1 -0
  154. package/dist/{chunk-LDKPDODJ.js → chunk-ME35HVDJ.js} +2 -2
  155. package/dist/{chunk-DPCXDG7G.js → chunk-MJRGVXPQ.js} +2 -2
  156. package/dist/{chunk-773TRRGT.js → chunk-MJUCDM3C.js} +2 -2
  157. package/dist/{chunk-T6ILXUAH.js → chunk-MN5NOOI7.js} +2 -2
  158. package/dist/{chunk-AHPIFKNG.js → chunk-N4F7ZSSG.js} +2 -2
  159. package/dist/{chunk-JOZUBF4A.js → chunk-NACLNNFQ.js} +2 -2
  160. package/dist/{chunk-LC2BDILZ.js → chunk-NBP4EX5N.js} +2 -2
  161. package/dist/{chunk-ZVPVTPGI.js → chunk-NNZFPYYX.js} +4 -4
  162. package/dist/{chunk-DA7ITC5Z.js → chunk-O57GM3FR.js} +2 -2
  163. package/dist/{chunk-7VZFRUQU.js → chunk-O7ERGZDA.js} +5 -5
  164. package/dist/{chunk-3SZD4CYO.js → chunk-OAJMQKQR.js} +3 -3
  165. package/dist/{chunk-HSZMX3ZJ.js → chunk-ODW5GDFE.js} +2 -2
  166. package/dist/{chunk-7WOWGRAU.js → chunk-PEBH5DCK.js} +10 -7
  167. package/dist/{chunk-7WOWGRAU.js.map → chunk-PEBH5DCK.js.map} +1 -1
  168. package/dist/{chunk-J2WC5LF4.js → chunk-QBC33MPY.js} +2 -1
  169. package/dist/{chunk-T7XP6IZE.js → chunk-QCRJMU5V.js} +2 -2
  170. package/dist/chunk-QJCWK2A7.js +1466 -0
  171. package/dist/chunk-QJCWK2A7.js.map +1 -0
  172. package/dist/{chunk-YEUXERJ6.js → chunk-RDGKVH6T.js} +7 -3
  173. package/dist/{chunk-YEUXERJ6.js.map → chunk-RDGKVH6T.js.map} +1 -1
  174. package/dist/{chunk-OA2O2GJ4.js → chunk-RZ3IZIJG.js} +3 -3
  175. package/dist/{chunk-UL4MKZHI.js → chunk-SN4JXNLL.js} +2 -2
  176. package/dist/chunk-TB2MJRI6.js +866 -0
  177. package/dist/chunk-TB2MJRI6.js.map +1 -0
  178. package/dist/{chunk-7PHI6GUI.js → chunk-TEZ2HTC7.js} +42 -2
  179. package/dist/chunk-TEZ2HTC7.js.map +1 -0
  180. package/dist/{chunk-CPA5NBHN.js → chunk-TNGH4ZYI.js} +2 -2
  181. package/dist/{chunk-F3NVYTTA.js → chunk-TNXNECAN.js} +6 -6
  182. package/dist/{chunk-BEC4YBNA.js → chunk-TVW4C7PV.js} +2 -2
  183. package/dist/{chunk-UFKPQBXH.js → chunk-U62OK7BB.js} +2 -2
  184. package/dist/{chunk-AX7UXCHJ.js → chunk-UYA36DQ7.js} +2 -1
  185. package/dist/chunk-UYA36DQ7.js.map +1 -0
  186. package/dist/{chunk-DEACDKE3.js → chunk-VCKWULAK.js} +112 -87
  187. package/dist/chunk-VCKWULAK.js.map +1 -0
  188. package/dist/chunk-VOSWUO3K.js +100 -0
  189. package/dist/chunk-VOSWUO3K.js.map +1 -0
  190. package/dist/{chunk-TUHBYJXL.js → chunk-VQ4AMTGZ.js} +1 -1
  191. package/dist/{chunk-3BCULS4U.js → chunk-VQNRICAQ.js} +145 -507
  192. package/dist/chunk-VQNRICAQ.js.map +1 -0
  193. package/dist/{chunk-H2YSH3DG.js → chunk-WKAXBXVA.js} +2 -2
  194. package/dist/{chunk-HRHO3ZNG.js → chunk-WKJFIMVN.js} +2 -2
  195. package/dist/{chunk-SXIMQLGV.js → chunk-WVGXCBOC.js} +2 -2
  196. package/dist/{chunk-CRML27CO.js → chunk-X5YYSAZX.js} +4 -4
  197. package/dist/{chunk-FZEEWOI2.js → chunk-XJJYSX6F.js} +2 -2
  198. package/dist/{chunk-U7EW2W4W.js → chunk-XKNHFDTT.js} +26 -6
  199. package/dist/chunk-XKNHFDTT.js.map +1 -0
  200. package/dist/{chunk-UG6VXIOK.js → chunk-XSTNGNJP.js} +2 -2
  201. package/dist/{chunk-YDPAE2RD.js → chunk-YFLLGRXO.js} +2 -2
  202. package/dist/{chunk-LPNCR4QK.js → chunk-YXFCALVT.js} +12 -12
  203. package/dist/{chunk-Q4WONDMJ.js → chunk-YYGZJPOK.js} +2 -2
  204. package/dist/{chunk-GTO56JY5.js → chunk-ZJPM7GZ3.js} +2 -2
  205. package/dist/{chunk-LOXHYCVS.js → chunk-ZW4VXELZ.js} +2 -2
  206. package/dist/{cli-O3F-ht3i.d.ts → cli-BEkm2MEf.d.ts} +5 -5
  207. package/dist/cli.d.ts +13 -14
  208. package/dist/cli.js +90 -85
  209. package/dist/coding/export-okf-codegraph.d.ts +56 -0
  210. package/dist/coding/export-okf-codegraph.js +526 -0
  211. package/dist/coding/export-okf-codegraph.js.map +1 -0
  212. package/dist/coding/pre-action-gate.d.ts +1 -2
  213. package/dist/compounding/engine.d.ts +2 -3
  214. package/dist/compounding/engine.js +24 -24
  215. package/dist/compounding/preference-consolidator.d.ts +1 -2
  216. package/dist/compression-optimizer.d.ts +1 -2
  217. package/dist/config.d.ts +1 -2
  218. package/dist/config.js +11 -11
  219. package/dist/connectors/codex-materialize-runner.d.ts +1 -2
  220. package/dist/connectors/codex-materialize-runner.js +23 -23
  221. package/dist/connectors/codex-materialize.d.ts +1 -2
  222. package/dist/connectors/index.d.ts +1 -2
  223. package/dist/connectors/index.js +23 -23
  224. package/dist/consolidation-provenance-check.d.ts +2 -3
  225. package/dist/consolidation-provenance-check.js +4 -4
  226. package/dist/consolidation-undo.d.ts +2 -3
  227. package/dist/consolidation-undo.js +3 -3
  228. package/dist/contradiction/index.d.ts +3 -4
  229. package/dist/contradiction/index.js +9 -9
  230. package/dist/{contradiction-scan-AKUWPX5N.js → contradiction-scan-NOYMFG66.js} +3 -3
  231. package/dist/converge-config.d.ts +1 -2
  232. package/dist/convergence-refresh.d.ts +2 -3
  233. package/dist/convergence-refresh.js +25 -25
  234. package/dist/conversation-index/backend.d.ts +1 -2
  235. package/dist/conversation-index/backend.js +2 -2
  236. package/dist/conversation-index/chunker.d.ts +1 -2
  237. package/dist/conversation-index/faiss-adapter.d.ts +1 -2
  238. package/dist/conversation-index/indexer.d.ts +1 -2
  239. package/dist/conversation-index/search.d.ts +1 -2
  240. package/dist/corpus-watermark.d.ts +1 -2
  241. package/dist/corpus-watermark.js +25 -25
  242. package/dist/cross-lingual-recall.d.ts +1 -2
  243. package/dist/day-summary.d.ts +1 -2
  244. package/dist/delinearize.d.ts +1 -2
  245. package/dist/dependency-propagation-config.d.ts +1 -2
  246. package/dist/{dependency-propagation-delivery-CL6RWXTA.d.ts → dependency-propagation-delivery-BCpeo14F.d.ts} +1 -1
  247. package/dist/direct-answer-wiring.d.ts +1 -2
  248. package/dist/direct-answer.d.ts +1 -2
  249. package/dist/embedding-fallback.d.ts +1 -2
  250. package/dist/enrichment/index.d.ts +1 -2
  251. package/dist/entity-origin-fields.d.ts +1 -2
  252. package/dist/entity-retrieval.d.ts +2 -3
  253. package/dist/entity-retrieval.js +23 -23
  254. package/dist/entity-schema.d.ts +1 -2
  255. package/dist/episodic-context.d.ts +1 -2
  256. package/dist/eval-trajectory-contracts.d.ts +1 -2
  257. package/dist/eval-trajectory-store.d.ts +1 -2
  258. package/dist/eval-trajectory.d.ts +1 -2
  259. package/dist/explicit-capture.d.ts +9 -10
  260. package/dist/explicit-capture.js +11 -11
  261. package/dist/external-wiki-access.d.ts +11 -12
  262. package/dist/external-wiki-access.js +50 -47
  263. package/dist/external-wiki-collection-registration.d.ts +1 -2
  264. package/dist/external-wiki-collection.d.ts +1 -2
  265. package/dist/external-wiki-mcp-tools.d.ts +11 -12
  266. package/dist/extraction-error-classification.d.ts +1 -2
  267. package/dist/extraction-faithfulness.d.ts +1 -2
  268. package/dist/extraction-faithfulness.js +2 -2
  269. package/dist/extraction-judge-telemetry.d.ts +1 -2
  270. package/dist/extraction-judge-training.d.ts +1 -2
  271. package/dist/extraction-judge.d.ts +1 -2
  272. package/dist/extraction-judge.js +2 -2
  273. package/dist/extraction-liveness.d.ts +1 -2
  274. package/dist/extraction-normalization.d.ts +1 -2
  275. package/dist/extraction-prompt.d.ts +1 -2
  276. package/dist/extraction-source-grounding-rules.d.ts +1 -2
  277. package/dist/extraction-source-grounding.d.ts +1 -2
  278. package/dist/extraction.d.ts +1 -2
  279. package/dist/extraction.js +32 -29
  280. package/dist/fallback-llm.d.ts +7 -2
  281. package/dist/fallback-llm.js +1 -1
  282. package/dist/{first-start-migration-4NETATFF.js → first-start-migration-KHIMCBIC.js} +3 -3
  283. package/dist/graph-dashboard-diff.d.ts +1 -2
  284. package/dist/graph-dashboard-key.d.ts +1 -2
  285. package/dist/graph-dashboard-parser.d.ts +1 -2
  286. package/dist/graph-edge-reinforcement.d.ts +1 -2
  287. package/dist/graph-path-reconstruction.d.ts +1 -2
  288. package/dist/graph-path-scoring.d.ts +1 -2
  289. package/dist/graph-snapshot.d.ts +1 -2
  290. package/dist/graph.d.ts +1 -2
  291. package/dist/harmonic-retrieval.js +1 -1
  292. package/dist/importance.d.ts +1 -2
  293. package/dist/importers/index.d.ts +1 -2
  294. package/dist/in-flight-reads.d.ts +1 -2
  295. package/dist/{index-C7Xep6S9.d.ts → index-D_pyMUaP.d.ts} +2 -2
  296. package/dist/index.d.ts +929 -700
  297. package/dist/index.js +167 -132
  298. package/dist/intent.d.ts +1 -2
  299. package/dist/lcm/engine.d.ts +1 -2
  300. package/dist/lcm/index.d.ts +1 -2
  301. package/dist/lcm/tools.d.ts +1 -2
  302. package/dist/lifecycle.d.ts +1 -2
  303. package/dist/live-connectors-runner.d.ts +1 -2
  304. package/dist/local-llm.d.ts +1 -2
  305. package/dist/local-model-endpoint.d.ts +1 -2
  306. package/dist/location/index.d.ts +315 -6
  307. package/dist/location/index.js +151 -19
  308. package/dist/maintenance/memory-governance.d.ts +1 -2
  309. package/dist/maintenance/memory-governance.js +23 -23
  310. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -3
  311. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +23 -23
  312. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -3
  313. package/dist/maintenance/rebuild-memory-projection.js +24 -24
  314. package/dist/{maintenance-CJ-xqFp0.d.ts → maintenance-DDUX9d6D.d.ts} +3 -3
  315. package/dist/mcp-memory-inspector-app.d.ts +11 -12
  316. package/dist/mcp-read-only-tools.js +1 -1
  317. package/dist/memory-action-policy.d.ts +1 -2
  318. package/dist/memory-cache.d.ts +1 -2
  319. package/dist/memory-controller.d.ts +1 -2
  320. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -2
  321. package/dist/memory-projection-mutations.js +3 -3
  322. package/dist/memory-projection-store.d.ts +1 -2
  323. package/dist/memory-projection-store.js +1 -1
  324. package/dist/memory-provenance.d.ts +1 -2
  325. package/dist/memory-snapshot.d.ts +1 -2
  326. package/dist/memory-subject-cli.d.ts +11 -12
  327. package/dist/memory-subject.d.ts +11 -12
  328. package/dist/memory-subject.js +4 -4
  329. package/dist/memory-worth-outcomes.d.ts +2 -3
  330. package/dist/models-json.d.ts +1 -2
  331. package/dist/namespaces/migrate.d.ts +3 -4
  332. package/dist/namespaces/migrate.js +24 -24
  333. package/dist/namespaces/principal.d.ts +1 -2
  334. package/dist/namespaces/search.d.ts +1 -2
  335. package/dist/namespaces/search.js +5 -5
  336. package/dist/namespaces/storage.d.ts +3 -4
  337. package/dist/namespaces/storage.js +23 -23
  338. package/dist/native-knowledge.d.ts +1 -2
  339. package/dist/offline-sync-file-io.js +3 -3
  340. package/dist/offline-sync-impression-drain.d.ts +1 -2
  341. package/dist/offline-sync-impression-drain.js +9 -9
  342. package/dist/offline-sync.js +4 -4
  343. package/dist/operator-doctor-corpus.d.ts +1 -2
  344. package/dist/operator-doctor-corpus.js +26 -26
  345. package/dist/operator-doctor-replica.d.ts +1 -2
  346. package/dist/operator-toolkit.d.ts +3 -4
  347. package/dist/operator-toolkit.js +42 -42
  348. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -3
  349. package/dist/orchestration/maintenance.d.ts +4 -5
  350. package/dist/orchestration/maintenance.js +37 -36
  351. package/dist/{orchestrator-BsntWxLy.d.ts → orchestrator-3F4jihCo.d.ts} +8 -8
  352. package/dist/orchestrator.d.ts +9 -10
  353. package/dist/orchestrator.js +111 -106
  354. package/dist/page-versioning.js +3 -3
  355. package/dist/patterns-cli.d.ts +1 -2
  356. package/dist/{pipeline-CVoysPm2.d.ts → pipeline-CB1dj6Uh.d.ts} +1 -1
  357. package/dist/policy-runtime.d.ts +1 -2
  358. package/dist/proactive-contention.d.ts +1 -2
  359. package/dist/provenance.d.ts +1 -2
  360. package/dist/{public-http-CuOxlTC2.d.ts → public-http-34-JIAGQ.d.ts} +1 -1
  361. package/dist/{purge-GB7PZHT2.js → purge-OP6BEDFY.js} +2 -2
  362. package/dist/{qmd-DWMAGA5l.d.ts → qmd-edLLZXc5.d.ts} +1 -1
  363. package/dist/qmd-preflight.d.ts +2 -3
  364. package/dist/qmd-recall-cache.d.ts +1 -2
  365. package/dist/qmd.d.ts +2 -3
  366. package/dist/recall-concurrency-config.d.ts +1 -2
  367. package/dist/recall-disclosure-escalation.d.ts +1 -2
  368. package/dist/recall-explain-renderer.d.ts +1 -2
  369. package/dist/recall-memory-map.d.ts +1 -2
  370. package/dist/recall-planner-llm.d.ts +1 -2
  371. package/dist/recall-planner-llm.js +1 -1
  372. package/dist/recall-state.d.ts +1 -2
  373. package/dist/recall-tag-filter.d.ts +1 -2
  374. package/dist/recall-timings.d.ts +1 -2
  375. package/dist/recall-xray-cli.d.ts +1 -2
  376. package/dist/recall-xray-renderer.d.ts +1 -2
  377. package/dist/recall-xray.d.ts +1 -2
  378. package/dist/reconcile/cursor.d.ts +1 -2
  379. package/dist/reconcile/manifest.d.ts +1 -2
  380. package/dist/reconcile/manifest.js +4 -4
  381. package/dist/reconcile/plan.d.ts +1 -2
  382. package/dist/replay/normalizers/chatgpt.d.ts +1 -2
  383. package/dist/replay/normalizers/claude.d.ts +1 -2
  384. package/dist/replay/normalizers/openclaw.d.ts +1 -2
  385. package/dist/replay/normalizers/shared.d.ts +1 -2
  386. package/dist/replay/runner.d.ts +1 -2
  387. package/dist/replay/types.d.ts +1 -2
  388. package/dist/replica-divergence.d.ts +1 -2
  389. package/dist/replica-peers-config.d.ts +1 -2
  390. package/dist/{resolution-XWBPKYFB.js → resolution-4DLI3IOR.js} +10 -10
  391. package/dist/resolve-auth-token.d.ts +1 -2
  392. package/dist/resume-bundles.js +12 -12
  393. package/dist/retrieval-agents.d.ts +2 -3
  394. package/dist/retrieval-tiers.d.ts +1 -2
  395. package/dist/routing/engine.d.ts +1 -2
  396. package/dist/routing/store.d.ts +1 -2
  397. package/dist/salvage-envelope.d.ts +1 -2
  398. package/dist/salvage-envelope.js +6 -6
  399. package/dist/schemas.d.ts +639 -174
  400. package/dist/schemas.js +3 -1
  401. package/dist/{scope-profiles-CPWkW_dI.d.ts → scope-profiles-BF2lu81V.d.ts} +1 -1
  402. package/dist/search/document-scanner.js +1 -1
  403. package/dist/search/embed-helper.d.ts +1 -2
  404. package/dist/search/factory.d.ts +1 -2
  405. package/dist/search/factory.js +4 -4
  406. package/dist/search/index.d.ts +1 -2
  407. package/dist/search/index.js +4 -4
  408. package/dist/search/lancedb-backend.d.ts +1 -2
  409. package/dist/search/lancedb-backend.js +1 -1
  410. package/dist/search/meilisearch-backend.d.ts +1 -2
  411. package/dist/search/meilisearch-backend.js +1 -1
  412. package/dist/search/noop-backend.d.ts +1 -2
  413. package/dist/search/orama-backend.d.ts +1 -2
  414. package/dist/search/orama-backend.js +1 -1
  415. package/dist/search/port.d.ts +1 -2
  416. package/dist/search/remote-backend.d.ts +1 -2
  417. package/dist/secure-store/index.js +3 -3
  418. package/dist/{semantic-consolidation-CNFVBXFc.d.ts → semantic-consolidation-5OuWXBRt.d.ts} +1 -1
  419. package/dist/semantic-consolidation.d.ts +2 -3
  420. package/dist/semantic-consolidation.js +24 -24
  421. package/dist/semantic-rule-promotion.js +23 -23
  422. package/dist/semantic-rule-verifier.d.ts +1 -2
  423. package/dist/semantic-rule-verifier.js +23 -23
  424. package/dist/{service-Bb-JIdQ0.d.ts → service-CrqEhLXD.d.ts} +2 -2
  425. package/dist/session-observer-bands.d.ts +1 -2
  426. package/dist/session-observer-state.d.ts +1 -2
  427. package/dist/shared-context/manager.d.ts +7 -8
  428. package/dist/signal.d.ts +1 -2
  429. package/dist/source-agent-qualifier.d.ts +1 -2
  430. package/dist/source-agent-qualifier.js +30 -27
  431. package/dist/standup/build.d.ts +16 -0
  432. package/dist/standup/build.js +17 -0
  433. package/dist/standup/build.js.map +1 -0
  434. package/dist/{storage-CukrlNKk.d.ts → storage-BQn-xnxm.d.ts} +1 -1
  435. package/dist/storage.d.ts +2 -3
  436. package/dist/storage.js +22 -22
  437. package/dist/subject-config.d.ts +1 -2
  438. package/dist/subject-config.js +5 -5
  439. package/dist/summarizer.d.ts +1 -2
  440. package/dist/summarizer.js +2 -2
  441. package/dist/summary-snapshot.d.ts +1 -2
  442. package/dist/support-passport/index.d.ts +16 -17
  443. package/dist/support-passport/index.js +52 -49
  444. package/dist/temporal-supersession.d.ts +2 -3
  445. package/dist/temporal-timeline-recall.d.ts +1 -2
  446. package/dist/temporal-validity.d.ts +1 -2
  447. package/dist/threading.d.ts +1 -2
  448. package/dist/tier-migration.d.ts +2 -3
  449. package/dist/tier-routing.d.ts +1 -2
  450. package/dist/tier-routing.js +2 -2
  451. package/dist/{tier-stats-4B5IJ3NE.js → tier-stats-2TOW3QNL.js} +3 -3
  452. package/dist/topics.d.ts +1 -2
  453. package/dist/transcript.d.ts +1 -2
  454. package/dist/transfer/capsule-export.js +2 -2
  455. package/dist/transfer/capsule-import.js +5 -5
  456. package/dist/transfer/export-okf.d.ts +39 -0
  457. package/dist/transfer/export-okf.js +112 -0
  458. package/dist/transfer/export-okf.js.map +1 -0
  459. package/dist/transfer/types.d.ts +78 -78
  460. package/dist/trust-score-stage.d.ts +1 -2
  461. package/dist/trust-score.d.ts +1 -2
  462. package/dist/{types-djxQlxJ7.d.ts → types-BRpcNjHZ.d.ts} +117 -2
  463. package/dist/types.d.ts +1 -2
  464. package/dist/utility-runtime.d.ts +1 -2
  465. package/dist/verified-recall.js +23 -23
  466. package/dist/who-knows-cli.d.ts +11 -12
  467. package/dist/who-knows-cli.js +24 -24
  468. package/dist/who-knows.d.ts +11 -12
  469. package/dist/who-knows.js +23 -23
  470. package/dist/write-envelope.d.ts +1 -2
  471. package/dist/write-envelope.js +5 -5
  472. package/package.json +34 -3
  473. package/src/access-admin-ops-surface.ts +6 -1
  474. package/src/access-boundary.ts +1 -0
  475. package/src/access-http.ts +3 -1
  476. package/src/access-mcp-output-schemas.ts +1 -0
  477. package/src/access-mcp.ts +3 -3
  478. package/src/access-operations.ts +1 -0
  479. package/src/access-service-offline-file-content.test.ts +63 -0
  480. package/src/access-surface-catalog.ts +2 -0
  481. package/src/activity/config.test.ts +1 -0
  482. package/src/activity/config.ts +21 -1
  483. package/src/activity/index.ts +1 -0
  484. package/src/activity/timeline/build.ts +279 -0
  485. package/src/activity/timeline/categories.ts +111 -0
  486. package/src/activity/timeline/classify.ts +110 -0
  487. package/src/activity/timeline/corrections.ts +145 -0
  488. package/src/activity/timeline/index.ts +6 -0
  489. package/src/activity/timeline/timeline.test.ts +277 -0
  490. package/src/activity/timeline/types.ts +106 -0
  491. package/src/activity/types.ts +6 -0
  492. package/src/cli/okf-commands.ts +45 -0
  493. package/src/cli.ts +2 -2
  494. package/src/coding/export-okf-codegraph.test.ts +381 -0
  495. package/src/coding/export-okf-codegraph.ts +565 -0
  496. package/src/config.test.ts +1 -0
  497. package/src/extraction-prompt-safety.test.ts +14 -2
  498. package/src/extraction.ts +21 -1
  499. package/src/fallback-llm.test.ts +134 -0
  500. package/src/fallback-llm.ts +77 -5
  501. package/src/location/access-operations.ts +17 -8
  502. package/src/location/backfill.ts +137 -0
  503. package/src/location/config.test.ts +3 -0
  504. package/src/location/config.ts +46 -2
  505. package/src/location/http-glue.ts +1 -1
  506. package/src/location/index.ts +3 -0
  507. package/src/location/intervals.ts +1 -0
  508. package/src/location/matching.test.ts +65 -0
  509. package/src/location/matching.ts +354 -0
  510. package/src/location/mcp-tools.ts +2 -1
  511. package/src/location/surfaces.test.ts +15 -2
  512. package/src/location/surfaces.ts +95 -18
  513. package/src/location/tagging.test.ts +119 -0
  514. package/src/location/tagging.ts +277 -0
  515. package/src/location/types.ts +23 -1
  516. package/src/mcp-read-only-tools.ts +1 -0
  517. package/src/memory-projection-store.ts +3 -1
  518. package/src/okf/cli.ts +18 -5
  519. package/src/okf/config.ts +5 -0
  520. package/src/okf/index-files.test.ts +60 -0
  521. package/src/okf/index-files.ts +114 -0
  522. package/src/okf/render.ts +133 -0
  523. package/src/okf/type-mapping.test.ts +3 -0
  524. package/src/okf/type-mapping.ts +2 -0
  525. package/src/orchestration/extraction-run.ts +2 -1
  526. package/src/orchestration/generic-recall-paths.ts +4 -3
  527. package/src/schemas.ts +17 -1
  528. package/src/standup/access-operations.ts +14 -0
  529. package/src/standup/build.test.ts +34 -0
  530. package/src/standup/build.ts +115 -0
  531. package/src/standup/http-glue.ts +15 -0
  532. package/src/standup/mcp-tools.ts +16 -0
  533. package/src/support-passport/card-projection.ts +1 -0
  534. package/src/support-passport/card-service-commit-forwarding.test.ts +1 -0
  535. package/src/support-passport/card-service.test.ts +75 -1
  536. package/src/support-passport/card-service.ts +6 -3
  537. package/src/support-passport/card-state.ts +5 -1
  538. package/src/support-passport/offline-sync-guard.ts +14 -1
  539. package/src/transfer/export-okf.test.ts +164 -0
  540. package/src/transfer/export-okf.ts +286 -0
  541. package/dist/chunk-2LWQSV6A.js.map +0 -1
  542. package/dist/chunk-3BCULS4U.js.map +0 -1
  543. package/dist/chunk-7BDZTALN.js.map +0 -1
  544. package/dist/chunk-7PHI6GUI.js.map +0 -1
  545. package/dist/chunk-AX7UXCHJ.js.map +0 -1
  546. package/dist/chunk-DEACDKE3.js.map +0 -1
  547. package/dist/chunk-FP7YTTVO.js.map +0 -1
  548. package/dist/chunk-JYSN42VN.js.map +0 -1
  549. package/dist/chunk-KZIF6XHX.js.map +0 -1
  550. package/dist/chunk-LKYIOCWL.js.map +0 -1
  551. package/dist/chunk-OXRRJXPR.js.map +0 -1
  552. package/dist/chunk-U7EW2W4W.js.map +0 -1
  553. package/dist/chunk-UW5NPZJ2.js.map +0 -1
  554. package/dist/chunk-XAB6STPO.js.map +0 -1
  555. package/dist/chunk-XNWXSGHS.js.map +0 -1
  556. package/dist/types-CM86alG1.d.ts +0 -89
  557. /package/dist/{auto-sync-2YPITIWN.js.map → auto-sync-Q6Q2FVSC.js.map} +0 -0
  558. /package/dist/{capsule-merge-SGIVB3WA.js.map → capsule-merge-SEHERWWP.js.map} +0 -0
  559. /package/dist/{chunk-LEPOP46W.js.map → chunk-227UFSEQ.js.map} +0 -0
  560. /package/dist/{chunk-NPFUNWNX.js.map → chunk-23CVL7HS.js.map} +0 -0
  561. /package/dist/{chunk-PO7NXBG2.js.map → chunk-2GF27PGH.js.map} +0 -0
  562. /package/dist/{chunk-MY2BC6UE.js.map → chunk-2LBAFHOQ.js.map} +0 -0
  563. /package/dist/{chunk-AZMLH5UT.js.map → chunk-33MFRY25.js.map} +0 -0
  564. /package/dist/{chunk-UEBDCMOO.js.map → chunk-3TSU662L.js.map} +0 -0
  565. /package/dist/{chunk-CAMNRAJF.js.map → chunk-4FHRZD5T.js.map} +0 -0
  566. /package/dist/{chunk-S5XOSTYM.js.map → chunk-4STAANV7.js.map} +0 -0
  567. /package/dist/{chunk-4F4AQFWL.js.map → chunk-6CEGSTBD.js.map} +0 -0
  568. /package/dist/{chunk-MDD2RINF.js.map → chunk-6RUHELWR.js.map} +0 -0
  569. /package/dist/{chunk-WNXYT4MK.js.map → chunk-72OIT7KS.js.map} +0 -0
  570. /package/dist/{chunk-KQAFEZQX.js.map → chunk-7LCGFUMB.js.map} +0 -0
  571. /package/dist/{chunk-SNOIKAHM.js.map → chunk-7UTDHQZ5.js.map} +0 -0
  572. /package/dist/{chunk-5HK3CJAR.js.map → chunk-7XOG75AU.js.map} +0 -0
  573. /package/dist/{chunk-UPFNQJC7.js.map → chunk-CN4VKV3S.js.map} +0 -0
  574. /package/dist/{chunk-PMVPCZJZ.js.map → chunk-CTCGHNWN.js.map} +0 -0
  575. /package/dist/{chunk-EGBDFJ36.js.map → chunk-DD5JFCWM.js.map} +0 -0
  576. /package/dist/{chunk-XBGHAAKR.js.map → chunk-DDX6KIXF.js.map} +0 -0
  577. /package/dist/{chunk-JIYDRBVZ.js.map → chunk-DJORULH3.js.map} +0 -0
  578. /package/dist/{chunk-UENKPWCS.js.map → chunk-DMEHOEC7.js.map} +0 -0
  579. /package/dist/{chunk-7KQB4EBS.js.map → chunk-DUAJKRR2.js.map} +0 -0
  580. /package/dist/{chunk-SEEJOGQX.js.map → chunk-EFQCDJZ2.js.map} +0 -0
  581. /package/dist/{chunk-Q57GOHLF.js.map → chunk-EGALNSZ4.js.map} +0 -0
  582. /package/dist/{chunk-KCT36JAW.js.map → chunk-ESNFSSO4.js.map} +0 -0
  583. /package/dist/{chunk-XQ3HXAQH.js.map → chunk-ET2CNMLD.js.map} +0 -0
  584. /package/dist/{chunk-PU56CXZA.js.map → chunk-EZSCW4EM.js.map} +0 -0
  585. /package/dist/{chunk-HMZKGHMD.js.map → chunk-FESUGFIL.js.map} +0 -0
  586. /package/dist/{chunk-3A2NJP2U.js.map → chunk-FKKGCGYL.js.map} +0 -0
  587. /package/dist/{chunk-BWGCOLEL.js.map → chunk-FTTJRVB7.js.map} +0 -0
  588. /package/dist/{chunk-ODU2CNNX.js.map → chunk-FYWLSFFS.js.map} +0 -0
  589. /package/dist/{chunk-3PKAS6VL.js.map → chunk-GX6FTSYH.js.map} +0 -0
  590. /package/dist/{chunk-76DIF5KT.js.map → chunk-H7VDIF2V.js.map} +0 -0
  591. /package/dist/{chunk-F7XUD3PL.js.map → chunk-HJXA6ZM7.js.map} +0 -0
  592. /package/dist/{chunk-4QEYREAV.js.map → chunk-HNPE66LB.js.map} +0 -0
  593. /package/dist/{chunk-P36Z4JRA.js.map → chunk-I5VB44ZK.js.map} +0 -0
  594. /package/dist/{chunk-EUYWQ7TS.js.map → chunk-IEZ6CGTW.js.map} +0 -0
  595. /package/dist/{chunk-5DHKCO52.js.map → chunk-IVIAHQBR.js.map} +0 -0
  596. /package/dist/{chunk-TFR3HG4K.js.map → chunk-J3OND5QT.js.map} +0 -0
  597. /package/dist/{chunk-5ACCD4L7.js.map → chunk-JRRQ747T.js.map} +0 -0
  598. /package/dist/{chunk-V4IDF3EZ.js.map → chunk-JTWZKNUH.js.map} +0 -0
  599. /package/dist/{chunk-5RWZH6PH.js.map → chunk-L4X4PJYK.js.map} +0 -0
  600. /package/dist/{chunk-UTQUEHC7.js.map → chunk-LUDBXTBJ.js.map} +0 -0
  601. /package/dist/{chunk-LDKPDODJ.js.map → chunk-ME35HVDJ.js.map} +0 -0
  602. /package/dist/{chunk-DPCXDG7G.js.map → chunk-MJRGVXPQ.js.map} +0 -0
  603. /package/dist/{chunk-773TRRGT.js.map → chunk-MJUCDM3C.js.map} +0 -0
  604. /package/dist/{chunk-T6ILXUAH.js.map → chunk-MN5NOOI7.js.map} +0 -0
  605. /package/dist/{chunk-AHPIFKNG.js.map → chunk-N4F7ZSSG.js.map} +0 -0
  606. /package/dist/{chunk-JOZUBF4A.js.map → chunk-NACLNNFQ.js.map} +0 -0
  607. /package/dist/{chunk-LC2BDILZ.js.map → chunk-NBP4EX5N.js.map} +0 -0
  608. /package/dist/{chunk-ZVPVTPGI.js.map → chunk-NNZFPYYX.js.map} +0 -0
  609. /package/dist/{chunk-DA7ITC5Z.js.map → chunk-O57GM3FR.js.map} +0 -0
  610. /package/dist/{chunk-7VZFRUQU.js.map → chunk-O7ERGZDA.js.map} +0 -0
  611. /package/dist/{chunk-3SZD4CYO.js.map → chunk-OAJMQKQR.js.map} +0 -0
  612. /package/dist/{chunk-HSZMX3ZJ.js.map → chunk-ODW5GDFE.js.map} +0 -0
  613. /package/dist/{chunk-J2WC5LF4.js.map → chunk-QBC33MPY.js.map} +0 -0
  614. /package/dist/{chunk-T7XP6IZE.js.map → chunk-QCRJMU5V.js.map} +0 -0
  615. /package/dist/{chunk-OA2O2GJ4.js.map → chunk-RZ3IZIJG.js.map} +0 -0
  616. /package/dist/{chunk-UL4MKZHI.js.map → chunk-SN4JXNLL.js.map} +0 -0
  617. /package/dist/{chunk-CPA5NBHN.js.map → chunk-TNGH4ZYI.js.map} +0 -0
  618. /package/dist/{chunk-F3NVYTTA.js.map → chunk-TNXNECAN.js.map} +0 -0
  619. /package/dist/{chunk-BEC4YBNA.js.map → chunk-TVW4C7PV.js.map} +0 -0
  620. /package/dist/{chunk-UFKPQBXH.js.map → chunk-U62OK7BB.js.map} +0 -0
  621. /package/dist/{chunk-TUHBYJXL.js.map → chunk-VQ4AMTGZ.js.map} +0 -0
  622. /package/dist/{chunk-H2YSH3DG.js.map → chunk-WKAXBXVA.js.map} +0 -0
  623. /package/dist/{chunk-HRHO3ZNG.js.map → chunk-WKJFIMVN.js.map} +0 -0
  624. /package/dist/{chunk-SXIMQLGV.js.map → chunk-WVGXCBOC.js.map} +0 -0
  625. /package/dist/{chunk-CRML27CO.js.map → chunk-X5YYSAZX.js.map} +0 -0
  626. /package/dist/{chunk-FZEEWOI2.js.map → chunk-XJJYSX6F.js.map} +0 -0
  627. /package/dist/{chunk-UG6VXIOK.js.map → chunk-XSTNGNJP.js.map} +0 -0
  628. /package/dist/{chunk-YDPAE2RD.js.map → chunk-YFLLGRXO.js.map} +0 -0
  629. /package/dist/{chunk-LPNCR4QK.js.map → chunk-YXFCALVT.js.map} +0 -0
  630. /package/dist/{chunk-Q4WONDMJ.js.map → chunk-YYGZJPOK.js.map} +0 -0
  631. /package/dist/{chunk-GTO56JY5.js.map → chunk-ZJPM7GZ3.js.map} +0 -0
  632. /package/dist/{chunk-LOXHYCVS.js.map → chunk-ZW4VXELZ.js.map} +0 -0
  633. /package/dist/{contradiction-scan-AKUWPX5N.js.map → contradiction-scan-NOYMFG66.js.map} +0 -0
  634. /package/dist/{first-start-migration-4NETATFF.js.map → first-start-migration-KHIMCBIC.js.map} +0 -0
  635. /package/dist/{purge-GB7PZHT2.js.map → purge-OP6BEDFY.js.map} +0 -0
  636. /package/dist/{resolution-XWBPKYFB.js.map → resolution-4DLI3IOR.js.map} +0 -0
  637. /package/dist/{tier-stats-4B5IJ3NE.js.map → tier-stats-2TOW3QNL.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -7,20 +7,20 @@ export { resolveRemnicConfigRecord } from './config-record.js';
7
7
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
8
8
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
9
9
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
10
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-BsntWxLy.js';
10
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-3F4jihCo.js';
11
11
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
12
12
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
13
13
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
14
- import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-C7Xep6S9.js';
15
- 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-C7Xep6S9.js';
14
+ import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-D_pyMUaP.js';
15
+ 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-D_pyMUaP.js';
16
16
  export { EvidencePackItem, EvidencePackOptions, EvidencePackSelectedItem, EvidencePackSelectionReceipt, buildEvidencePack } from './evidence-pack.js';
17
17
  export { ExplicitCueRecallEngine, ExplicitCueRecallOptions, ExplicitTurnReference, TrajectoryAnalysisLineReceipt, TrajectoryAnalysisRecallOptions, buildExplicitCueRecallSection, buildTrajectoryAnalysisRecallSection, collectBenchmarkAnchorCues, collectContentLexicalCues, collectExplicitTurnReferences, collectLexicalCues, collectQuestionSlotCues, collectStructuredPlanCues, collectTemporalLexicalCues, normalizeTurnExpansionEnd } from './explicit-cue-recall.js';
18
18
  export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecallTargetedFactEvidence } from './targeted-fact-recall.js';
19
19
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
20
20
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
21
21
  export { EventOrderRecallOptions, buildEventOrderRecallSection } from './event-order-recall.js';
22
- import { S as StorageManager, a as MeetingRecordStore } from './storage-CukrlNKk.js';
23
- 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-CukrlNKk.js';
22
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-BQn-xnxm.js';
23
+ 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-BQn-xnxm.js';
24
24
  import { SealedMemoryEnvelope } from './write-envelope.js';
25
25
  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';
26
26
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -29,13 +29,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
29
29
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
30
30
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
31
31
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
32
- import { C as CodingContext, bn as CodingModeConfig, aW as FusionConversationInput, bo as FusedSpeaker, bp as FusedSegment, bq as FusedDisagreement, br as FusionOptions, aY as WearableConversation, bs as FusionDayResult, P as PluginConfig, bt as ParsedSkillBundle, Z as SkillBundle, bu as MemoryDriftState, bv as DriftDetectionConfig, bw as CodingKnowledgeConfig, ax as SubjectGuardMode, y as MemoryCategory, bx as WearableCleanupSettings, by as WearableFusionConfig, aZ as WearableSourceSettings, b1 as WearablesConfig, b0 as WearableSourceConnector, bz as OffTheRecordMarkerSettings, b6 as WearableCorrectionRule, bA as WearableDayTranscriptMeta, b4 as WearableDayTranscript, aN as ActivitySnapshot, bB as ActivityDayMeta, bC as ActivityDayDigest, aQ as ActivitySourceClient, bD as ActivitySourceCheck, bE as ActivitySnapshotPage, aO as ActivityConfig, a8 as ExtractionResult, w as MemoryStatus, av as ImportanceScore, bF as MeetingsDetectionConfig, aV as MeetingsDetectionInput, aX as DetectedMeeting, aS as MeetingsConfig, aU as MeetingRecord, bG as MeetingAudioWindow, bH as MeetingAppSpan } from './types-djxQlxJ7.js';
33
- export { bI as ACTION_GATE_DEFAULTS, bJ as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bK as ActionGateAdvisory, bL as ActionGateAuditRecord, bM as ActionGateAuditSink, bN as ActionGateCandidate, bO as ActionGateCandidateQuery, bP as ActionGateCandidateSource, bQ as ActionGateConfig, bR as ActionGateDecision, bS as ActionGateRequest, bT as ActionGateService, bU as ActionGateServiceDependencies, bV as ActionGateSourceResult, bW as ActionGateStatus, bX as ActivityExtractionMode, aP as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bY as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bZ as BriefingWindow, aa as BufferSurpriseEvent, b_ as BulkImportError, ac as BulkImportOptions, ae as BulkImportResult, ad as BulkImportSource, b$ as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, c0 as CodexCompatConfig, bl as ConsolidationObservation, c1 as DEFAULT_RECALL_DISCLOSURE, c2 as DRIFT_DETECTION_DEFAULTS, c3 as DisagreementKind, c4 as DriftDetectionSettings, E as EntityFile, ao as EntityStructuredSection, at as ExtractedFact, c5 as FailureMemorySourceDependencies, c6 as FusedContribution, c7 as FusedConversationProvenance, b8 as FusedDayFile, b7 as FusedDayMeta, aT as FusedMeeting, c8 as FusedSegmentProvenance, b5 as FusedWearableConversation, c9 as FusionSegmentInput, G as GatewayConfig, ca as ImportSourceRole, ab as ImportTurn, cb as ImportTurnValidationIssue, aR as MeetingBuildInput, b9 as MeetingDetectionSource, cc as MeetingScreenContextEvent, cd as MeetingSummaryMode, ay as MemoryActionEligibilityContext, ce as MemoryActionEligibilitySource, ai as MemoryActionType, cf as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cg as MemoryObservation, ch as MemoryScope, ci as NormalizedActionIntent, cj as PRE_ACTION_FINGERPRINT_VERSION, ck as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cl as PRE_ACTION_WARNING_VERSION, cm as PreActionFailureGate, cn as PreActionGateDependencies, co as PreActionGateRequest, cp as PreActionGateResult, cq as PreActionGateStatus, cr as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cs as RecallDriftAnnotation, ct as SKILL_FILE_NAME, u as SecretRef, cu as SegmentPickReason, cv as SkillProjectionConfig, cw as WearableAuthCheck, cx as WearableFetchOptions, cy as WearableFetchPage, a$ as WearableMemoryMode, a_ as WearableNativeMemory, cz as WearableNativeMemoryPage, b3 as WearableSourceStatus, b2 as WearableSyncSummary, cA as WearableTranscriptSegment, cB as actionTermsFor, cC as buildProcedureMarkdownBody, cD as createFailureMemoryCandidateSource, cE as createTrajectoryCandidateSource, cF as isFailureClassMemory, cG as isImportRole, cH as isRecallDisclosure, cI as normalizeActionIntent, cJ as parseActionGateConfig, cK as parseDriftDetectionConfig, cL as parseDriftProvenance, cM as parseIsoTimestamp, cN as parseProcedureStepsFromBody, cO as parseSkillBundle, cP as parseSkillProjectionConfig, cQ as projectProceduresToSkills, cR as renderSkillBundle, cS as sanitizePayloadString, cT as sanitizeSkillSlug, cU as serializeDriftProvenance, cV as validateImportTurn } from './types-djxQlxJ7.js';
32
+ 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, a8 as ExtractionResult, w as MemoryStatus, av as ImportanceScore, bO as MeetingsDetectionConfig, aV as MeetingsDetectionInput, aX as DetectedMeeting, aS as MeetingsConfig, aU as MeetingRecord, bP as MeetingAudioWindow, bQ as MeetingAppSpan } from './types-BRpcNjHZ.js';
33
+ export { bR as ACTION_GATE_DEFAULTS, bS as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bT as ActionGateAdvisory, bU as ActionGateAuditRecord, bV as ActionGateAuditSink, bW as ActionGateCandidate, bX as ActionGateCandidateQuery, bY as ActionGateCandidateSource, bZ as ActionGateConfig, b_ as ActionGateDecision, b$ as ActionGateRequest, c0 as ActionGateService, c1 as ActionGateServiceDependencies, c2 as ActionGateSourceResult, c3 as ActionGateStatus, c4 as ActivityExtractionMode, aP as ActivitySourceConfig, c5 as ActivityTimelineConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, c6 as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, c7 as BriefingWindow, aa as BufferSurpriseEvent, c8 as BulkImportError, ac as BulkImportOptions, ae as BulkImportResult, ad as BulkImportSource, c9 as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, ca as CodexCompatConfig, bu as ConsolidationObservation, cb as DEFAULT_RECALL_DISCLOSURE, cc as DRIFT_DETECTION_DEFAULTS, cd as DisagreementKind, ce as DriftDetectionSettings, E as EntityFile, ao as EntityStructuredSection, at as ExtractedFact, cf as FailureMemorySourceDependencies, cg as FusedContribution, ch as FusedConversationProvenance, b8 as FusedDayFile, b7 as FusedDayMeta, aT as FusedMeeting, ci as FusedSegmentProvenance, b5 as FusedWearableConversation, cj as FusionSegmentInput, G as GatewayConfig, ck as ImportSourceRole, ab as ImportTurn, cl as ImportTurnValidationIssue, aR as MeetingBuildInput, b9 as MeetingDetectionSource, cm as MeetingScreenContextEvent, cn as MeetingSummaryMode, ay as MemoryActionEligibilityContext, co as MemoryActionEligibilitySource, ai as MemoryActionType, cp as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cq as MemoryObservation, cr as MemoryScope, cs as NormalizedActionIntent, ct as PRE_ACTION_FINGERPRINT_VERSION, cu as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cv as PRE_ACTION_WARNING_VERSION, cw as PreActionFailureGate, cx as PreActionGateDependencies, cy as PreActionGateRequest, cz as PreActionGateResult, cA as PreActionGateStatus, cB as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cC as RecallDriftAnnotation, cD as SKILL_FILE_NAME, u as SecretRef, cE as SegmentPickReason, cF as SkillProjectionConfig, cG as WearableAuthCheck, cH as WearableFetchOptions, cI as WearableFetchPage, a$ as WearableMemoryMode, a_ as WearableNativeMemory, cJ as WearableNativeMemoryPage, b3 as WearableSourceStatus, b2 as WearableSyncSummary, cK as WearableTranscriptSegment, cL as actionTermsFor, cM as buildProcedureMarkdownBody, cN as createFailureMemoryCandidateSource, cO as createTrajectoryCandidateSource, cP as isFailureClassMemory, cQ as isImportRole, cR as isRecallDisclosure, cS as normalizeActionIntent, cT as parseActionGateConfig, cU as parseDriftDetectionConfig, cV as parseDriftProvenance, cW as parseIsoTimestamp, cX as parseProcedureStepsFromBody, cY as parseSkillBundle, cZ as parseSkillProjectionConfig, c_ as projectProceduresToSkills, c$ as renderSkillBundle, d0 as sanitizePayloadString, d1 as sanitizeSkillSlug, d2 as serializeDriftProvenance, d3 as validateImportTurn } from './types-BRpcNjHZ.js';
34
34
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
35
35
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
36
36
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
37
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Diu61Cfv.js';
38
- 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-Diu61Cfv.js';
37
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-CEUE1Isj.js';
38
+ 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-CEUE1Isj.js';
39
39
  import { LocalLlmClient } from './local-llm.js';
40
40
  import { FallbackLlmClient } from './fallback-llm.js';
41
41
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -48,20 +48,20 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
48
48
  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';
49
49
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
50
50
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
51
- export { Q as QmdClient } from './qmd-DWMAGA5l.js';
51
+ export { Q as QmdClient } from './qmd-edLLZXc5.js';
52
52
  export { LanceDbBackend } from './search/lancedb-backend.js';
53
53
  export { OramaBackend } from './search/orama-backend.js';
54
54
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
55
55
  export { buildEntityRecallSection } from './entity-retrieval.js';
56
56
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
57
- 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-9f-vEQLS.js';
57
+ 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-D1HgugTA.js';
58
58
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
59
59
  export { storagePathHash } from './storage-paths.js';
60
60
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
61
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-O3F-ht3i.js';
61
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-BEkm2MEf.js';
62
62
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
63
63
  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';
64
- 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-CuOxlTC2.js';
64
+ 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-34-JIAGQ.js';
65
65
  import { z } from 'zod';
66
66
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
67
67
  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';
@@ -86,8 +86,8 @@ export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance,
86
86
  export { initLogger, log } from './logger.js';
87
87
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
88
88
  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';
89
- import { D as DiscoveredExtension } from './semantic-consolidation-CNFVBXFc.js';
90
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-CNFVBXFc.js';
89
+ import { D as DiscoveredExtension } from './semantic-consolidation-5OuWXBRt.js';
90
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-5OuWXBRt.js';
91
91
  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';
92
92
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
93
93
  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';
@@ -102,12 +102,13 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
102
102
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
103
103
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
104
104
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
105
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CVoysPm2.js';
106
- 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-Bb-JIdQ0.js';
107
- 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-Bb-JIdQ0.js';
108
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-CJ-xqFp0.js';
109
- 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-CJ-xqFp0.js';
105
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CB1dj6Uh.js';
106
+ 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-CrqEhLXD.js';
107
+ 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-CrqEhLXD.js';
108
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DDUX9d6D.js';
109
+ 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-DDUX9d6D.js';
110
110
  import { SearchExecutionOptions } from './search/port.js';
111
+ import { BetterSqlite3Database } from './runtime/better-sqlite.js';
111
112
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
112
113
  export { ComputeMemoryWorthInput, MemoryWorthResult, computeMemoryWorth } from './memory-worth.js';
113
114
  export { MemoryOutcomeKind, RecordMemoryOutcomeInput, RecordMemoryOutcomeResult, memoryWorthOutcomeEligibleCategories, recordMemoryOutcome } from './memory-worth-outcomes.js';
@@ -123,7 +124,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
123
124
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
124
125
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
125
126
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
126
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-CPWkW_dI.js';
127
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-BF2lu81V.js';
127
128
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
128
129
  export { BuildEvalTrajectoryReportOptions, EvalTrajectoryReader, EvalTrajectoryReaderResult, buildEvalTrajectoryReport, createSyntheticEvalTrajectoryReader } from './eval-trajectory.js';
129
130
  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';
@@ -138,7 +139,6 @@ export { normalizeAttributePairs } from './structured-attributes.js';
138
139
  export { shouldRecallEventOrderEvidence } from './event-order-query.js';
139
140
  import './active-context-config.js';
140
141
  import './bounded-jsonl-state.js';
141
- import './types-CM86alG1.js';
142
142
  import './operator-doctor-types.js';
143
143
  import './contradiction-config.js';
144
144
  import './graph-path-scoring-config.js';
@@ -160,7 +160,6 @@ import './entity-id-normalization.js';
160
160
  import './consolidation-operator.js';
161
161
  import './memory-projection-store.js';
162
162
  import './maintenance/memory-governance.js';
163
- import './runtime/better-sqlite.js';
164
163
  import 'better-sqlite3';
165
164
  import './utility-runtime.js';
166
165
  import './lifecycle.js';
@@ -179,7 +178,7 @@ import './conversation-index/chunker.js';
179
178
  import './conversation-index/backend.js';
180
179
  import './faiss-adapter-BHecI1fF.js';
181
180
  import './runtime/child-process.js';
182
- import './dependency-propagation-delivery-CL6RWXTA.js';
181
+ import './dependency-propagation-delivery-BCpeo14F.js';
183
182
  import './namespaces/storage.js';
184
183
  import './threading.js';
185
184
  import './graph-444E-DrF.js';
@@ -199,7 +198,7 @@ import './profiling.js';
199
198
  import './schemas.js';
200
199
  import './extraction-error-classification.js';
201
200
  import 'node:stream';
202
- import './access-namespace-preflight-CpAOrS-9.js';
201
+ import './access-namespace-preflight-CLWUoMyW.js';
203
202
  import './recall-explain-renderer.js';
204
203
  import './access-citation.js';
205
204
  import './access-health-types.js';
@@ -1231,15 +1230,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1231
1230
  locator: z.ZodOptional<z.ZodString>;
1232
1231
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1233
1232
  }, "strict", z.ZodTypeAny, {
1234
- id: string;
1233
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1235
1234
  label: string;
1236
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1235
+ id: string;
1237
1236
  capture: "at_action" | "historical_lookup" | "fixture";
1238
1237
  locator?: string | undefined;
1239
1238
  }, {
1240
- id: string;
1239
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1241
1240
  label: string;
1242
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1241
+ id: string;
1243
1242
  capture: "at_action" | "historical_lookup" | "fixture";
1244
1243
  locator?: string | undefined;
1245
1244
  }>;
@@ -1256,15 +1255,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1256
1255
  locator: z.ZodOptional<z.ZodString>;
1257
1256
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1258
1257
  }, "strict", z.ZodTypeAny, {
1259
- id: string;
1258
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1260
1259
  label: string;
1261
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1260
+ id: string;
1262
1261
  capture: "at_action" | "historical_lookup" | "fixture";
1263
1262
  locator?: string | undefined;
1264
1263
  }, {
1265
- id: string;
1264
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1266
1265
  label: string;
1267
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1266
+ id: string;
1268
1267
  capture: "at_action" | "historical_lookup" | "fixture";
1269
1268
  locator?: string | undefined;
1270
1269
  }>, "many">>;
@@ -1272,9 +1271,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1272
1271
  kind: "mission_started";
1273
1272
  title: string;
1274
1273
  evidence: {
1275
- id: string;
1274
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1276
1275
  label: string;
1277
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1276
+ id: string;
1278
1277
  capture: "at_action" | "historical_lookup" | "fixture";
1279
1278
  locator?: string | undefined;
1280
1279
  }[];
@@ -1286,9 +1285,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1286
1285
  objective: string;
1287
1286
  runMode: "replay" | "fixture" | "live";
1288
1287
  evidence?: {
1289
- id: string;
1288
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1290
1289
  label: string;
1291
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1290
+ id: string;
1292
1291
  capture: "at_action" | "historical_lookup" | "fixture";
1293
1292
  locator?: string | undefined;
1294
1293
  }[] | undefined;
@@ -1304,15 +1303,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1304
1303
  locator: z.ZodOptional<z.ZodString>;
1305
1304
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1306
1305
  }, "strict", z.ZodTypeAny, {
1307
- id: string;
1306
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1308
1307
  label: string;
1309
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1308
+ id: string;
1310
1309
  capture: "at_action" | "historical_lookup" | "fixture";
1311
1310
  locator?: string | undefined;
1312
1311
  }, {
1313
- id: string;
1312
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
1313
  label: string;
1315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
+ id: string;
1316
1315
  capture: "at_action" | "historical_lookup" | "fixture";
1317
1316
  locator?: string | undefined;
1318
1317
  }>, "many">>;
@@ -1320,32 +1319,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1320
1319
  sessionId: z.ZodString;
1321
1320
  kind: z.ZodLiteral<"agent_status">;
1322
1321
  }, "strict", z.ZodTypeAny, {
1323
- label: string;
1324
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1325
1322
  kind: "agent_status";
1323
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1324
+ label: string;
1326
1325
  role: string;
1327
1326
  agentId: string;
1328
1327
  sessionId: string;
1329
1328
  evidence: {
1330
- id: string;
1329
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1331
1330
  label: string;
1332
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1331
+ id: string;
1333
1332
  capture: "at_action" | "historical_lookup" | "fixture";
1334
1333
  locator?: string | undefined;
1335
1334
  }[];
1336
1335
  detail?: string | undefined;
1337
1336
  }, {
1338
- label: string;
1339
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1340
1337
  kind: "agent_status";
1338
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1339
+ label: string;
1341
1340
  role: string;
1342
1341
  agentId: string;
1343
1342
  sessionId: string;
1344
1343
  detail?: string | undefined;
1345
1344
  evidence?: {
1346
- id: string;
1345
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1347
1346
  label: string;
1348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1347
+ id: string;
1349
1348
  capture: "at_action" | "historical_lookup" | "fixture";
1350
1349
  locator?: string | undefined;
1351
1350
  }[] | undefined;
@@ -1359,15 +1358,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1359
1358
  locator: z.ZodOptional<z.ZodString>;
1360
1359
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1361
1360
  }, "strict", z.ZodTypeAny, {
1362
- id: string;
1361
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1362
  label: string;
1364
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
+ id: string;
1365
1364
  capture: "at_action" | "historical_lookup" | "fixture";
1366
1365
  locator?: string | undefined;
1367
1366
  }, {
1368
- id: string;
1367
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
1368
  label: string;
1370
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
+ id: string;
1371
1370
  capture: "at_action" | "historical_lookup" | "fixture";
1372
1371
  locator?: string | undefined;
1373
1372
  }>, "many">>;
@@ -1375,28 +1374,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1375
1374
  sessionId: z.ZodString;
1376
1375
  kind: z.ZodLiteral<"agent_output">;
1377
1376
  }, "strict", z.ZodTypeAny, {
1378
- summary: string;
1379
1377
  kind: "agent_output";
1378
+ summary: string;
1380
1379
  agentId: string;
1381
1380
  sessionId: string;
1382
1381
  evidence: {
1383
- id: string;
1382
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
1383
  label: string;
1385
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
+ id: string;
1386
1385
  capture: "at_action" | "historical_lookup" | "fixture";
1387
1386
  locator?: string | undefined;
1388
1387
  }[];
1389
1388
  outputId: string;
1390
1389
  }, {
1391
- summary: string;
1392
1390
  kind: "agent_output";
1391
+ summary: string;
1393
1392
  agentId: string;
1394
1393
  sessionId: string;
1395
1394
  outputId: string;
1396
1395
  evidence?: {
1397
- id: string;
1396
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1398
1397
  label: string;
1399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1398
+ id: string;
1400
1399
  capture: "at_action" | "historical_lookup" | "fixture";
1401
1400
  locator?: string | undefined;
1402
1401
  }[] | undefined;
@@ -1412,15 +1411,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1412
1411
  locator: z.ZodOptional<z.ZodString>;
1413
1412
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1414
1413
  }, "strict", z.ZodTypeAny, {
1415
- id: string;
1414
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
1415
  label: string;
1417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
+ id: string;
1418
1417
  capture: "at_action" | "historical_lookup" | "fixture";
1419
1418
  locator?: string | undefined;
1420
1419
  }, {
1421
- id: string;
1420
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1421
  label: string;
1423
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
+ id: string;
1424
1423
  capture: "at_action" | "historical_lookup" | "fixture";
1425
1424
  locator?: string | undefined;
1426
1425
  }>, "many">>;
@@ -1433,9 +1432,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1433
1432
  statement: string;
1434
1433
  sessionId: string;
1435
1434
  evidence: {
1436
- id: string;
1435
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
1436
  label: string;
1438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
+ id: string;
1439
1438
  capture: "at_action" | "historical_lookup" | "fixture";
1440
1439
  locator?: string | undefined;
1441
1440
  }[];
@@ -1451,9 +1450,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1451
1450
  decisionId: string;
1452
1451
  confidence?: number | undefined;
1453
1452
  evidence?: {
1454
- id: string;
1453
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1455
1454
  label: string;
1456
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1455
+ id: string;
1457
1456
  capture: "at_action" | "historical_lookup" | "fixture";
1458
1457
  locator?: string | undefined;
1459
1458
  }[] | undefined;
@@ -1470,25 +1469,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1470
1469
  locator: z.ZodOptional<z.ZodString>;
1471
1470
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1472
1471
  }, "strict", z.ZodTypeAny, {
1473
- id: string;
1472
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
1473
  label: string;
1475
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
+ id: string;
1476
1475
  capture: "at_action" | "historical_lookup" | "fixture";
1477
1476
  locator?: string | undefined;
1478
1477
  }, {
1479
- id: string;
1478
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
1479
  label: string;
1481
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
+ id: string;
1482
1481
  capture: "at_action" | "historical_lookup" | "fixture";
1483
1482
  locator?: string | undefined;
1484
1483
  }>, "many">>;
1485
1484
  }, "strict", z.ZodTypeAny, {
1486
- summary: string;
1487
1485
  kind: "conflict_detected";
1486
+ summary: string;
1488
1487
  evidence: {
1489
- id: string;
1488
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1490
1489
  label: string;
1491
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1490
+ id: string;
1492
1491
  capture: "at_action" | "historical_lookup" | "fixture";
1493
1492
  locator?: string | undefined;
1494
1493
  }[];
@@ -1496,15 +1495,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1496
1495
  decisionIds: string[];
1497
1496
  agentIds: string[];
1498
1497
  }, {
1499
- summary: string;
1500
1498
  kind: "conflict_detected";
1499
+ summary: string;
1501
1500
  conflictId: string;
1502
1501
  decisionIds: string[];
1503
1502
  agentIds: string[];
1504
1503
  evidence?: {
1505
- id: string;
1504
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1506
1505
  label: string;
1507
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1506
+ id: string;
1508
1507
  capture: "at_action" | "historical_lookup" | "fixture";
1509
1508
  locator?: string | undefined;
1510
1509
  }[] | undefined;
@@ -1524,27 +1523,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1524
1523
  locator: z.ZodOptional<z.ZodString>;
1525
1524
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1526
1525
  }, "strict", z.ZodTypeAny, {
1527
- id: string;
1526
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1528
1527
  label: string;
1529
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1528
+ id: string;
1530
1529
  capture: "at_action" | "historical_lookup" | "fixture";
1531
1530
  locator?: string | undefined;
1532
1531
  }, {
1533
- id: string;
1532
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1533
  label: string;
1535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
+ id: string;
1536
1535
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1536
  locator?: string | undefined;
1538
1537
  }>, "many">>;
1539
1538
  }, "strict", z.ZodTypeAny, {
1539
+ kind: "test_result";
1540
1540
  summary: string;
1541
1541
  status: "error" | "failed" | "passed";
1542
- kind: "test_result";
1543
1542
  command: string;
1544
1543
  evidence: {
1545
- id: string;
1544
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1546
1545
  label: string;
1547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1546
+ id: string;
1548
1547
  capture: "at_action" | "historical_lookup" | "fixture";
1549
1548
  locator?: string | undefined;
1550
1549
  }[];
@@ -1553,17 +1552,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1553
1552
  durationMs?: number | undefined;
1554
1553
  correctionId?: string | undefined;
1555
1554
  }, {
1555
+ kind: "test_result";
1556
1556
  summary: string;
1557
1557
  status: "error" | "failed" | "passed";
1558
- kind: "test_result";
1559
1558
  command: string;
1560
1559
  decisionId: string;
1561
1560
  testId: string;
1562
1561
  durationMs?: number | undefined;
1563
1562
  evidence?: {
1564
- id: string;
1563
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1565
1564
  label: string;
1566
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1565
+ id: string;
1567
1566
  capture: "at_action" | "historical_lookup" | "fixture";
1568
1567
  locator?: string | undefined;
1569
1568
  }[] | undefined;
@@ -1584,15 +1583,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1584
1583
  locator: z.ZodOptional<z.ZodString>;
1585
1584
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1586
1585
  }, "strict", z.ZodTypeAny, {
1587
- id: string;
1586
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1588
1587
  label: string;
1589
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1588
+ id: string;
1590
1589
  capture: "at_action" | "historical_lookup" | "fixture";
1591
1590
  locator?: string | undefined;
1592
1591
  }, {
1593
- id: string;
1592
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
1593
  label: string;
1595
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
+ id: string;
1596
1595
  capture: "at_action" | "historical_lookup" | "fixture";
1597
1596
  locator?: string | undefined;
1598
1597
  }>, "many">>;
@@ -1601,9 +1600,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1601
1600
  statement: string;
1602
1601
  rationale: string;
1603
1602
  evidence: {
1604
- id: string;
1603
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1605
1604
  label: string;
1606
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1605
+ id: string;
1607
1606
  capture: "at_action" | "historical_lookup" | "fixture";
1608
1607
  locator?: string | undefined;
1609
1608
  }[];
@@ -1622,9 +1621,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1622
1621
  supersedesDecisionIds: string[];
1623
1622
  proposedBy: string;
1624
1623
  evidence?: {
1625
- id: string;
1624
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1626
1625
  label: string;
1627
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1626
+ id: string;
1628
1627
  capture: "at_action" | "historical_lookup" | "fixture";
1629
1628
  locator?: string | undefined;
1630
1629
  }[] | undefined;
@@ -1636,13 +1635,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1636
1635
  id: z.ZodString;
1637
1636
  label: z.ZodString;
1638
1637
  }, "strict", z.ZodTypeAny, {
1639
- id: string;
1640
- label: string;
1641
1638
  kind: "agent" | "human";
1642
- }, {
1643
- id: string;
1644
1639
  label: string;
1640
+ id: string;
1641
+ }, {
1645
1642
  kind: "agent" | "human";
1643
+ label: string;
1644
+ id: string;
1646
1645
  }>;
1647
1646
  note: z.ZodOptional<z.ZodString>;
1648
1647
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1652,47 +1651,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1652
1651
  locator: z.ZodOptional<z.ZodString>;
1653
1652
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1654
1653
  }, "strict", z.ZodTypeAny, {
1655
- id: string;
1654
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1656
1655
  label: string;
1657
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1656
+ id: string;
1658
1657
  capture: "at_action" | "historical_lookup" | "fixture";
1659
1658
  locator?: string | undefined;
1660
1659
  }, {
1661
- id: string;
1660
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
1661
  label: string;
1663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
+ id: string;
1664
1663
  capture: "at_action" | "historical_lookup" | "fixture";
1665
1664
  locator?: string | undefined;
1666
1665
  }>, "many">>;
1667
1666
  }, "strict", z.ZodTypeAny, {
1668
1667
  kind: "correction_approved";
1669
1668
  evidence: {
1670
- id: string;
1669
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1671
1670
  label: string;
1672
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1671
+ id: string;
1673
1672
  capture: "at_action" | "historical_lookup" | "fixture";
1674
1673
  locator?: string | undefined;
1675
1674
  }[];
1676
1675
  correctionId: string;
1677
1676
  approvedBy: {
1678
- id: string;
1679
- label: string;
1680
1677
  kind: "agent" | "human";
1678
+ label: string;
1679
+ id: string;
1681
1680
  };
1682
1681
  note?: string | undefined;
1683
1682
  }, {
1684
1683
  kind: "correction_approved";
1685
1684
  correctionId: string;
1686
1685
  approvedBy: {
1687
- id: string;
1688
- label: string;
1689
1686
  kind: "agent" | "human";
1687
+ label: string;
1688
+ id: string;
1690
1689
  };
1691
1690
  note?: string | undefined;
1692
1691
  evidence?: {
1693
- id: string;
1692
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1694
1693
  label: string;
1695
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1694
+ id: string;
1696
1695
  capture: "at_action" | "historical_lookup" | "fixture";
1697
1696
  locator?: string | undefined;
1698
1697
  }[] | undefined;
@@ -1708,24 +1707,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1708
1707
  locator: z.ZodOptional<z.ZodString>;
1709
1708
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1710
1709
  }, "strict", z.ZodTypeAny, {
1711
- id: string;
1710
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1712
1711
  label: string;
1713
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1712
+ id: string;
1714
1713
  capture: "at_action" | "historical_lookup" | "fixture";
1715
1714
  locator?: string | undefined;
1716
1715
  }, {
1717
- id: string;
1716
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
1717
  label: string;
1719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
+ id: string;
1720
1719
  capture: "at_action" | "historical_lookup" | "fixture";
1721
1720
  locator?: string | undefined;
1722
1721
  }>, "many">>;
1723
1722
  }, "strict", z.ZodTypeAny, {
1724
1723
  kind: "decision_superseded";
1725
1724
  evidence: {
1726
- id: string;
1725
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
1726
  label: string;
1728
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
+ id: string;
1729
1728
  capture: "at_action" | "historical_lookup" | "fixture";
1730
1729
  locator?: string | undefined;
1731
1730
  }[];
@@ -1738,9 +1737,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1738
1737
  correctionId: string;
1739
1738
  replacementDecisionId: string;
1740
1739
  evidence?: {
1741
- id: string;
1740
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1742
1741
  label: string;
1743
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1742
+ id: string;
1744
1743
  capture: "at_action" | "historical_lookup" | "fixture";
1745
1744
  locator?: string | undefined;
1746
1745
  }[] | undefined;
@@ -1756,15 +1755,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1756
1755
  locator: z.ZodOptional<z.ZodString>;
1757
1756
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1758
1757
  }, "strict", z.ZodTypeAny, {
1759
- id: string;
1758
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
1759
  label: string;
1761
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
+ id: string;
1762
1761
  capture: "at_action" | "historical_lookup" | "fixture";
1763
1762
  locator?: string | undefined;
1764
1763
  }, {
1765
- id: string;
1764
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
1765
  label: string;
1767
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1766
+ id: string;
1768
1767
  capture: "at_action" | "historical_lookup" | "fixture";
1769
1768
  locator?: string | undefined;
1770
1769
  }>, "many">>;
@@ -1777,9 +1776,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1777
1776
  agentId: string;
1778
1777
  sessionId: string;
1779
1778
  evidence: {
1780
- id: string;
1779
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1781
1780
  label: string;
1782
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1781
+ id: string;
1783
1782
  capture: "at_action" | "historical_lookup" | "fixture";
1784
1783
  locator?: string | undefined;
1785
1784
  }[];
@@ -1795,9 +1794,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1795
1794
  recallReceiptId: string;
1796
1795
  capturedAtAction: boolean;
1797
1796
  evidence?: {
1798
- id: string;
1797
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
1798
  label: string;
1800
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1799
+ id: string;
1801
1800
  capture: "at_action" | "historical_lookup" | "fixture";
1802
1801
  locator?: string | undefined;
1803
1802
  }[] | undefined;
@@ -1813,15 +1812,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1813
1812
  locator: z.ZodOptional<z.ZodString>;
1814
1813
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1815
1814
  }, "strict", z.ZodTypeAny, {
1816
- id: string;
1815
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1817
1816
  label: string;
1818
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1817
+ id: string;
1819
1818
  capture: "at_action" | "historical_lookup" | "fixture";
1820
1819
  locator?: string | undefined;
1821
1820
  }, {
1822
- id: string;
1821
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
1822
  label: string;
1824
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1823
+ id: string;
1825
1824
  capture: "at_action" | "historical_lookup" | "fixture";
1826
1825
  locator?: string | undefined;
1827
1826
  }>, "many">>;
@@ -1833,9 +1832,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1833
1832
  agentId: string;
1834
1833
  sessionId: string;
1835
1834
  evidence: {
1836
- id: string;
1835
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1837
1836
  label: string;
1838
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1837
+ id: string;
1839
1838
  capture: "at_action" | "historical_lookup" | "fixture";
1840
1839
  locator?: string | undefined;
1841
1840
  }[];
@@ -1852,9 +1851,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1852
1851
  recallReceiptId: string;
1853
1852
  staleDecisionAbsent: boolean;
1854
1853
  evidence?: {
1855
- id: string;
1854
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
1855
  label: string;
1857
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
+ id: string;
1858
1857
  capture: "at_action" | "historical_lookup" | "fixture";
1859
1858
  locator?: string | undefined;
1860
1859
  }[] | undefined;
@@ -1869,37 +1868,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1869
1868
  locator: z.ZodOptional<z.ZodString>;
1870
1869
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1871
1870
  }, "strict", z.ZodTypeAny, {
1872
- id: string;
1871
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1873
1872
  label: string;
1874
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1873
+ id: string;
1875
1874
  capture: "at_action" | "historical_lookup" | "fixture";
1876
1875
  locator?: string | undefined;
1877
1876
  }, {
1878
- id: string;
1877
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1879
1878
  label: string;
1880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1879
+ id: string;
1881
1880
  capture: "at_action" | "historical_lookup" | "fixture";
1882
1881
  locator?: string | undefined;
1883
1882
  }>, "many">>;
1884
1883
  }, "strict", z.ZodTypeAny, {
1885
- summary: string;
1886
1884
  kind: "mission_completed";
1885
+ summary: string;
1887
1886
  outcome: "failed" | "recovered" | "inconclusive";
1888
1887
  evidence: {
1889
- id: string;
1888
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1890
1889
  label: string;
1891
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1890
+ id: string;
1892
1891
  capture: "at_action" | "historical_lookup" | "fixture";
1893
1892
  locator?: string | undefined;
1894
1893
  }[];
1895
1894
  }, {
1896
- summary: string;
1897
1895
  kind: "mission_completed";
1896
+ summary: string;
1898
1897
  outcome: "failed" | "recovered" | "inconclusive";
1899
1898
  evidence?: {
1900
- id: string;
1899
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1901
1900
  label: string;
1902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1901
+ id: string;
1903
1902
  capture: "at_action" | "historical_lookup" | "fixture";
1904
1903
  locator?: string | undefined;
1905
1904
  }[] | undefined;
@@ -1907,38 +1906,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1907
1906
  kind: "mission_started";
1908
1907
  title: string;
1909
1908
  evidence: {
1910
- id: string;
1909
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1911
1910
  label: string;
1912
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1911
+ id: string;
1913
1912
  capture: "at_action" | "historical_lookup" | "fixture";
1914
1913
  locator?: string | undefined;
1915
1914
  }[];
1916
1915
  objective: string;
1917
1916
  runMode: "replay" | "fixture" | "live";
1918
1917
  } | {
1919
- label: string;
1920
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1921
1918
  kind: "agent_status";
1919
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1920
+ label: string;
1922
1921
  role: string;
1923
1922
  agentId: string;
1924
1923
  sessionId: string;
1925
1924
  evidence: {
1926
- id: string;
1925
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1927
1926
  label: string;
1928
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1927
+ id: string;
1929
1928
  capture: "at_action" | "historical_lookup" | "fixture";
1930
1929
  locator?: string | undefined;
1931
1930
  }[];
1932
1931
  detail?: string | undefined;
1933
1932
  } | {
1934
- summary: string;
1935
1933
  kind: "agent_output";
1934
+ summary: string;
1936
1935
  agentId: string;
1937
1936
  sessionId: string;
1938
1937
  evidence: {
1939
- id: string;
1938
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1940
1939
  label: string;
1941
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1940
+ id: string;
1942
1941
  capture: "at_action" | "historical_lookup" | "fixture";
1943
1942
  locator?: string | undefined;
1944
1943
  }[];
@@ -1949,9 +1948,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1949
1948
  statement: string;
1950
1949
  sessionId: string;
1951
1950
  evidence: {
1952
- id: string;
1951
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1953
1952
  label: string;
1954
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1953
+ id: string;
1955
1954
  capture: "at_action" | "historical_lookup" | "fixture";
1956
1955
  locator?: string | undefined;
1957
1956
  }[];
@@ -1959,12 +1958,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1959
1958
  decisionId: string;
1960
1959
  confidence?: number | undefined;
1961
1960
  } | {
1962
- summary: string;
1963
1961
  kind: "conflict_detected";
1962
+ summary: string;
1964
1963
  evidence: {
1965
- id: string;
1964
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1966
1965
  label: string;
1967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1966
+ id: string;
1968
1967
  capture: "at_action" | "historical_lookup" | "fixture";
1969
1968
  locator?: string | undefined;
1970
1969
  }[];
@@ -1972,14 +1971,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1972
1971
  decisionIds: string[];
1973
1972
  agentIds: string[];
1974
1973
  } | {
1974
+ kind: "test_result";
1975
1975
  summary: string;
1976
1976
  status: "error" | "failed" | "passed";
1977
- kind: "test_result";
1978
1977
  command: string;
1979
1978
  evidence: {
1980
- id: string;
1979
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
1980
  label: string;
1982
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
+ id: string;
1983
1982
  capture: "at_action" | "historical_lookup" | "fixture";
1984
1983
  locator?: string | undefined;
1985
1984
  }[];
@@ -1992,9 +1991,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1992
1991
  statement: string;
1993
1992
  rationale: string;
1994
1993
  evidence: {
1995
- id: string;
1994
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1996
1995
  label: string;
1997
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1996
+ id: string;
1998
1997
  capture: "at_action" | "historical_lookup" | "fixture";
1999
1998
  locator?: string | undefined;
2000
1999
  }[];
@@ -2006,25 +2005,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2006
2005
  } | {
2007
2006
  kind: "correction_approved";
2008
2007
  evidence: {
2009
- id: string;
2008
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
2009
  label: string;
2011
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
+ id: string;
2012
2011
  capture: "at_action" | "historical_lookup" | "fixture";
2013
2012
  locator?: string | undefined;
2014
2013
  }[];
2015
2014
  correctionId: string;
2016
2015
  approvedBy: {
2017
- id: string;
2018
- label: string;
2019
2016
  kind: "agent" | "human";
2017
+ label: string;
2018
+ id: string;
2020
2019
  };
2021
2020
  note?: string | undefined;
2022
2021
  } | {
2023
2022
  kind: "decision_superseded";
2024
2023
  evidence: {
2025
- id: string;
2024
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2026
2025
  label: string;
2027
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2026
+ id: string;
2028
2027
  capture: "at_action" | "historical_lookup" | "fixture";
2029
2028
  locator?: string | undefined;
2030
2029
  }[];
@@ -2037,9 +2036,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2037
2036
  agentId: string;
2038
2037
  sessionId: string;
2039
2038
  evidence: {
2040
- id: string;
2039
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2041
2040
  label: string;
2042
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2041
+ id: string;
2043
2042
  capture: "at_action" | "historical_lookup" | "fixture";
2044
2043
  locator?: string | undefined;
2045
2044
  }[];
@@ -2051,9 +2050,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2051
2050
  agentId: string;
2052
2051
  sessionId: string;
2053
2052
  evidence: {
2054
- id: string;
2053
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2055
2054
  label: string;
2056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2055
+ id: string;
2057
2056
  capture: "at_action" | "historical_lookup" | "fixture";
2058
2057
  locator?: string | undefined;
2059
2058
  }[];
@@ -2062,13 +2061,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2062
2061
  recallReceiptId: string;
2063
2062
  staleDecisionAbsent: boolean;
2064
2063
  } | {
2065
- summary: string;
2066
2064
  kind: "mission_completed";
2065
+ summary: string;
2067
2066
  outcome: "failed" | "recovered" | "inconclusive";
2068
2067
  evidence: {
2069
- id: string;
2068
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
2069
  label: string;
2071
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
+ id: string;
2072
2071
  capture: "at_action" | "historical_lookup" | "fixture";
2073
2072
  locator?: string | undefined;
2074
2073
  }[];
@@ -2078,37 +2077,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2078
2077
  objective: string;
2079
2078
  runMode: "replay" | "fixture" | "live";
2080
2079
  evidence?: {
2081
- id: string;
2080
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
2081
  label: string;
2083
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
+ id: string;
2084
2083
  capture: "at_action" | "historical_lookup" | "fixture";
2085
2084
  locator?: string | undefined;
2086
2085
  }[] | undefined;
2087
2086
  } | {
2088
- label: string;
2089
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2090
2087
  kind: "agent_status";
2088
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2089
+ label: string;
2091
2090
  role: string;
2092
2091
  agentId: string;
2093
2092
  sessionId: string;
2094
2093
  detail?: string | undefined;
2095
2094
  evidence?: {
2096
- id: string;
2095
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2097
2096
  label: string;
2098
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2097
+ id: string;
2099
2098
  capture: "at_action" | "historical_lookup" | "fixture";
2100
2099
  locator?: string | undefined;
2101
2100
  }[] | undefined;
2102
2101
  } | {
2103
- summary: string;
2104
2102
  kind: "agent_output";
2103
+ summary: string;
2105
2104
  agentId: string;
2106
2105
  sessionId: string;
2107
2106
  outputId: string;
2108
2107
  evidence?: {
2109
- id: string;
2108
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2110
2109
  label: string;
2111
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2110
+ id: string;
2112
2111
  capture: "at_action" | "historical_lookup" | "fixture";
2113
2112
  locator?: string | undefined;
2114
2113
  }[] | undefined;
@@ -2121,37 +2120,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2121
2120
  decisionId: string;
2122
2121
  confidence?: number | undefined;
2123
2122
  evidence?: {
2124
- id: string;
2123
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2125
2124
  label: string;
2126
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2125
+ id: string;
2127
2126
  capture: "at_action" | "historical_lookup" | "fixture";
2128
2127
  locator?: string | undefined;
2129
2128
  }[] | undefined;
2130
2129
  } | {
2131
- summary: string;
2132
2130
  kind: "conflict_detected";
2131
+ summary: string;
2133
2132
  conflictId: string;
2134
2133
  decisionIds: string[];
2135
2134
  agentIds: string[];
2136
2135
  evidence?: {
2137
- id: string;
2136
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2138
2137
  label: string;
2139
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2138
+ id: string;
2140
2139
  capture: "at_action" | "historical_lookup" | "fixture";
2141
2140
  locator?: string | undefined;
2142
2141
  }[] | undefined;
2143
2142
  } | {
2143
+ kind: "test_result";
2144
2144
  summary: string;
2145
2145
  status: "error" | "failed" | "passed";
2146
- kind: "test_result";
2147
2146
  command: string;
2148
2147
  decisionId: string;
2149
2148
  testId: string;
2150
2149
  durationMs?: number | undefined;
2151
2150
  evidence?: {
2152
- id: string;
2151
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2153
2152
  label: string;
2154
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2153
+ id: string;
2155
2154
  capture: "at_action" | "historical_lookup" | "fixture";
2156
2155
  locator?: string | undefined;
2157
2156
  }[] | undefined;
@@ -2166,9 +2165,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2166
2165
  supersedesDecisionIds: string[];
2167
2166
  proposedBy: string;
2168
2167
  evidence?: {
2169
- id: string;
2168
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2170
2169
  label: string;
2171
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2170
+ id: string;
2172
2171
  capture: "at_action" | "historical_lookup" | "fixture";
2173
2172
  locator?: string | undefined;
2174
2173
  }[] | undefined;
@@ -2176,15 +2175,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2176
2175
  kind: "correction_approved";
2177
2176
  correctionId: string;
2178
2177
  approvedBy: {
2179
- id: string;
2180
- label: string;
2181
2178
  kind: "agent" | "human";
2179
+ label: string;
2180
+ id: string;
2182
2181
  };
2183
2182
  note?: string | undefined;
2184
2183
  evidence?: {
2185
- id: string;
2184
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2186
2185
  label: string;
2187
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2186
+ id: string;
2188
2187
  capture: "at_action" | "historical_lookup" | "fixture";
2189
2188
  locator?: string | undefined;
2190
2189
  }[] | undefined;
@@ -2194,9 +2193,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2194
2193
  correctionId: string;
2195
2194
  replacementDecisionId: string;
2196
2195
  evidence?: {
2197
- id: string;
2196
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2198
2197
  label: string;
2199
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2198
+ id: string;
2200
2199
  capture: "at_action" | "historical_lookup" | "fixture";
2201
2200
  locator?: string | undefined;
2202
2201
  }[] | undefined;
@@ -2209,9 +2208,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2209
2208
  recallReceiptId: string;
2210
2209
  capturedAtAction: boolean;
2211
2210
  evidence?: {
2212
- id: string;
2211
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
2212
  label: string;
2214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
+ id: string;
2215
2214
  capture: "at_action" | "historical_lookup" | "fixture";
2216
2215
  locator?: string | undefined;
2217
2216
  }[] | undefined;
@@ -2224,20 +2223,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2224
2223
  recallReceiptId: string;
2225
2224
  staleDecisionAbsent: boolean;
2226
2225
  evidence?: {
2227
- id: string;
2226
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
2227
  label: string;
2229
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
+ id: string;
2230
2229
  capture: "at_action" | "historical_lookup" | "fixture";
2231
2230
  locator?: string | undefined;
2232
2231
  }[] | undefined;
2233
2232
  } | {
2234
- summary: string;
2235
2233
  kind: "mission_completed";
2234
+ summary: string;
2236
2235
  outcome: "failed" | "recovered" | "inconclusive";
2237
2236
  evidence?: {
2238
- id: string;
2237
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2239
2238
  label: string;
2240
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2239
+ id: string;
2241
2240
  capture: "at_action" | "historical_lookup" | "fixture";
2242
2241
  locator?: string | undefined;
2243
2242
  }[] | undefined;
@@ -2258,15 +2257,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2258
2257
  locator: z.ZodOptional<z.ZodString>;
2259
2258
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2260
2259
  }, "strict", z.ZodTypeAny, {
2261
- id: string;
2260
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2262
2261
  label: string;
2263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2262
+ id: string;
2264
2263
  capture: "at_action" | "historical_lookup" | "fixture";
2265
2264
  locator?: string | undefined;
2266
2265
  }, {
2267
- id: string;
2266
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2268
2267
  label: string;
2269
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2268
+ id: string;
2270
2269
  capture: "at_action" | "historical_lookup" | "fixture";
2271
2270
  locator?: string | undefined;
2272
2271
  }>, "many">>;
@@ -2274,9 +2273,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2274
2273
  kind: "mission_started";
2275
2274
  title: string;
2276
2275
  evidence: {
2277
- id: string;
2276
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2278
2277
  label: string;
2279
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2278
+ id: string;
2280
2279
  capture: "at_action" | "historical_lookup" | "fixture";
2281
2280
  locator?: string | undefined;
2282
2281
  }[];
@@ -2288,9 +2287,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2288
2287
  objective: string;
2289
2288
  runMode: "replay" | "fixture" | "live";
2290
2289
  evidence?: {
2291
- id: string;
2290
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2292
2291
  label: string;
2293
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2292
+ id: string;
2294
2293
  capture: "at_action" | "historical_lookup" | "fixture";
2295
2294
  locator?: string | undefined;
2296
2295
  }[] | undefined;
@@ -2306,15 +2305,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2306
2305
  locator: z.ZodOptional<z.ZodString>;
2307
2306
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2308
2307
  }, "strict", z.ZodTypeAny, {
2309
- id: string;
2308
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2310
2309
  label: string;
2311
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2310
+ id: string;
2312
2311
  capture: "at_action" | "historical_lookup" | "fixture";
2313
2312
  locator?: string | undefined;
2314
2313
  }, {
2315
- id: string;
2314
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
2315
  label: string;
2317
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
+ id: string;
2318
2317
  capture: "at_action" | "historical_lookup" | "fixture";
2319
2318
  locator?: string | undefined;
2320
2319
  }>, "many">>;
@@ -2322,32 +2321,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2322
2321
  sessionId: z.ZodString;
2323
2322
  kind: z.ZodLiteral<"agent_status">;
2324
2323
  }, "strict", z.ZodTypeAny, {
2325
- label: string;
2326
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2327
2324
  kind: "agent_status";
2325
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2326
+ label: string;
2328
2327
  role: string;
2329
2328
  agentId: string;
2330
2329
  sessionId: string;
2331
2330
  evidence: {
2332
- id: string;
2331
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2333
2332
  label: string;
2334
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2333
+ id: string;
2335
2334
  capture: "at_action" | "historical_lookup" | "fixture";
2336
2335
  locator?: string | undefined;
2337
2336
  }[];
2338
2337
  detail?: string | undefined;
2339
2338
  }, {
2340
- label: string;
2341
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2342
2339
  kind: "agent_status";
2340
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2341
+ label: string;
2343
2342
  role: string;
2344
2343
  agentId: string;
2345
2344
  sessionId: string;
2346
2345
  detail?: string | undefined;
2347
2346
  evidence?: {
2348
- id: string;
2347
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
2348
  label: string;
2350
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
+ id: string;
2351
2350
  capture: "at_action" | "historical_lookup" | "fixture";
2352
2351
  locator?: string | undefined;
2353
2352
  }[] | undefined;
@@ -2361,15 +2360,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2361
2360
  locator: z.ZodOptional<z.ZodString>;
2362
2361
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2363
2362
  }, "strict", z.ZodTypeAny, {
2364
- id: string;
2363
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2364
  label: string;
2366
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
+ id: string;
2367
2366
  capture: "at_action" | "historical_lookup" | "fixture";
2368
2367
  locator?: string | undefined;
2369
2368
  }, {
2370
- id: string;
2369
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
2370
  label: string;
2372
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
+ id: string;
2373
2372
  capture: "at_action" | "historical_lookup" | "fixture";
2374
2373
  locator?: string | undefined;
2375
2374
  }>, "many">>;
@@ -2377,28 +2376,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2377
2376
  sessionId: z.ZodString;
2378
2377
  kind: z.ZodLiteral<"agent_output">;
2379
2378
  }, "strict", z.ZodTypeAny, {
2380
- summary: string;
2381
2379
  kind: "agent_output";
2380
+ summary: string;
2382
2381
  agentId: string;
2383
2382
  sessionId: string;
2384
2383
  evidence: {
2385
- id: string;
2384
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
2385
  label: string;
2387
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
+ id: string;
2388
2387
  capture: "at_action" | "historical_lookup" | "fixture";
2389
2388
  locator?: string | undefined;
2390
2389
  }[];
2391
2390
  outputId: string;
2392
2391
  }, {
2393
- summary: string;
2394
2392
  kind: "agent_output";
2393
+ summary: string;
2395
2394
  agentId: string;
2396
2395
  sessionId: string;
2397
2396
  outputId: string;
2398
2397
  evidence?: {
2399
- id: string;
2398
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2400
2399
  label: string;
2401
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2400
+ id: string;
2402
2401
  capture: "at_action" | "historical_lookup" | "fixture";
2403
2402
  locator?: string | undefined;
2404
2403
  }[] | undefined;
@@ -2414,15 +2413,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2414
2413
  locator: z.ZodOptional<z.ZodString>;
2415
2414
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2416
2415
  }, "strict", z.ZodTypeAny, {
2417
- id: string;
2416
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
2417
  label: string;
2419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
+ id: string;
2420
2419
  capture: "at_action" | "historical_lookup" | "fixture";
2421
2420
  locator?: string | undefined;
2422
2421
  }, {
2423
- id: string;
2422
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2423
  label: string;
2425
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
+ id: string;
2426
2425
  capture: "at_action" | "historical_lookup" | "fixture";
2427
2426
  locator?: string | undefined;
2428
2427
  }>, "many">>;
@@ -2435,9 +2434,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2435
2434
  statement: string;
2436
2435
  sessionId: string;
2437
2436
  evidence: {
2438
- id: string;
2437
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
2438
  label: string;
2440
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
+ id: string;
2441
2440
  capture: "at_action" | "historical_lookup" | "fixture";
2442
2441
  locator?: string | undefined;
2443
2442
  }[];
@@ -2453,9 +2452,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2453
2452
  decisionId: string;
2454
2453
  confidence?: number | undefined;
2455
2454
  evidence?: {
2456
- id: string;
2455
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2457
2456
  label: string;
2458
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2457
+ id: string;
2459
2458
  capture: "at_action" | "historical_lookup" | "fixture";
2460
2459
  locator?: string | undefined;
2461
2460
  }[] | undefined;
@@ -2472,25 +2471,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2472
2471
  locator: z.ZodOptional<z.ZodString>;
2473
2472
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2474
2473
  }, "strict", z.ZodTypeAny, {
2475
- id: string;
2474
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
2475
  label: string;
2477
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
+ id: string;
2478
2477
  capture: "at_action" | "historical_lookup" | "fixture";
2479
2478
  locator?: string | undefined;
2480
2479
  }, {
2481
- id: string;
2480
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
2481
  label: string;
2483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
+ id: string;
2484
2483
  capture: "at_action" | "historical_lookup" | "fixture";
2485
2484
  locator?: string | undefined;
2486
2485
  }>, "many">>;
2487
2486
  }, "strict", z.ZodTypeAny, {
2488
- summary: string;
2489
2487
  kind: "conflict_detected";
2488
+ summary: string;
2490
2489
  evidence: {
2491
- id: string;
2490
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2492
2491
  label: string;
2493
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2492
+ id: string;
2494
2493
  capture: "at_action" | "historical_lookup" | "fixture";
2495
2494
  locator?: string | undefined;
2496
2495
  }[];
@@ -2498,15 +2497,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2498
2497
  decisionIds: string[];
2499
2498
  agentIds: string[];
2500
2499
  }, {
2501
- summary: string;
2502
2500
  kind: "conflict_detected";
2501
+ summary: string;
2503
2502
  conflictId: string;
2504
2503
  decisionIds: string[];
2505
2504
  agentIds: string[];
2506
2505
  evidence?: {
2507
- id: string;
2506
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2508
2507
  label: string;
2509
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2508
+ id: string;
2510
2509
  capture: "at_action" | "historical_lookup" | "fixture";
2511
2510
  locator?: string | undefined;
2512
2511
  }[] | undefined;
@@ -2526,27 +2525,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2526
2525
  locator: z.ZodOptional<z.ZodString>;
2527
2526
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2528
2527
  }, "strict", z.ZodTypeAny, {
2529
- id: string;
2528
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2530
2529
  label: string;
2531
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2530
+ id: string;
2532
2531
  capture: "at_action" | "historical_lookup" | "fixture";
2533
2532
  locator?: string | undefined;
2534
2533
  }, {
2535
- id: string;
2534
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2535
  label: string;
2537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
+ id: string;
2538
2537
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2538
  locator?: string | undefined;
2540
2539
  }>, "many">>;
2541
2540
  }, "strict", z.ZodTypeAny, {
2541
+ kind: "test_result";
2542
2542
  summary: string;
2543
2543
  status: "error" | "failed" | "passed";
2544
- kind: "test_result";
2545
2544
  command: string;
2546
2545
  evidence: {
2547
- id: string;
2546
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2548
2547
  label: string;
2549
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2548
+ id: string;
2550
2549
  capture: "at_action" | "historical_lookup" | "fixture";
2551
2550
  locator?: string | undefined;
2552
2551
  }[];
@@ -2555,17 +2554,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2555
2554
  durationMs?: number | undefined;
2556
2555
  correctionId?: string | undefined;
2557
2556
  }, {
2557
+ kind: "test_result";
2558
2558
  summary: string;
2559
2559
  status: "error" | "failed" | "passed";
2560
- kind: "test_result";
2561
2560
  command: string;
2562
2561
  decisionId: string;
2563
2562
  testId: string;
2564
2563
  durationMs?: number | undefined;
2565
2564
  evidence?: {
2566
- id: string;
2565
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2567
2566
  label: string;
2568
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2567
+ id: string;
2569
2568
  capture: "at_action" | "historical_lookup" | "fixture";
2570
2569
  locator?: string | undefined;
2571
2570
  }[] | undefined;
@@ -2586,15 +2585,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2586
2585
  locator: z.ZodOptional<z.ZodString>;
2587
2586
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2588
2587
  }, "strict", z.ZodTypeAny, {
2589
- id: string;
2588
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2590
2589
  label: string;
2591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2590
+ id: string;
2592
2591
  capture: "at_action" | "historical_lookup" | "fixture";
2593
2592
  locator?: string | undefined;
2594
2593
  }, {
2595
- id: string;
2594
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
2595
  label: string;
2597
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
+ id: string;
2598
2597
  capture: "at_action" | "historical_lookup" | "fixture";
2599
2598
  locator?: string | undefined;
2600
2599
  }>, "many">>;
@@ -2603,9 +2602,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2603
2602
  statement: string;
2604
2603
  rationale: string;
2605
2604
  evidence: {
2606
- id: string;
2605
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2607
2606
  label: string;
2608
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2607
+ id: string;
2609
2608
  capture: "at_action" | "historical_lookup" | "fixture";
2610
2609
  locator?: string | undefined;
2611
2610
  }[];
@@ -2624,9 +2623,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2624
2623
  supersedesDecisionIds: string[];
2625
2624
  proposedBy: string;
2626
2625
  evidence?: {
2627
- id: string;
2626
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2628
2627
  label: string;
2629
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2628
+ id: string;
2630
2629
  capture: "at_action" | "historical_lookup" | "fixture";
2631
2630
  locator?: string | undefined;
2632
2631
  }[] | undefined;
@@ -2638,13 +2637,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2638
2637
  id: z.ZodString;
2639
2638
  label: z.ZodString;
2640
2639
  }, "strict", z.ZodTypeAny, {
2641
- id: string;
2642
- label: string;
2643
2640
  kind: "agent" | "human";
2644
- }, {
2645
- id: string;
2646
2641
  label: string;
2642
+ id: string;
2643
+ }, {
2647
2644
  kind: "agent" | "human";
2645
+ label: string;
2646
+ id: string;
2648
2647
  }>;
2649
2648
  note: z.ZodOptional<z.ZodString>;
2650
2649
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2654,47 +2653,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2654
2653
  locator: z.ZodOptional<z.ZodString>;
2655
2654
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2656
2655
  }, "strict", z.ZodTypeAny, {
2657
- id: string;
2656
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2658
2657
  label: string;
2659
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2658
+ id: string;
2660
2659
  capture: "at_action" | "historical_lookup" | "fixture";
2661
2660
  locator?: string | undefined;
2662
2661
  }, {
2663
- id: string;
2662
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
2663
  label: string;
2665
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
+ id: string;
2666
2665
  capture: "at_action" | "historical_lookup" | "fixture";
2667
2666
  locator?: string | undefined;
2668
2667
  }>, "many">>;
2669
2668
  }, "strict", z.ZodTypeAny, {
2670
2669
  kind: "correction_approved";
2671
2670
  evidence: {
2672
- id: string;
2671
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2673
2672
  label: string;
2674
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2673
+ id: string;
2675
2674
  capture: "at_action" | "historical_lookup" | "fixture";
2676
2675
  locator?: string | undefined;
2677
2676
  }[];
2678
2677
  correctionId: string;
2679
2678
  approvedBy: {
2680
- id: string;
2681
- label: string;
2682
2679
  kind: "agent" | "human";
2680
+ label: string;
2681
+ id: string;
2683
2682
  };
2684
2683
  note?: string | undefined;
2685
2684
  }, {
2686
2685
  kind: "correction_approved";
2687
2686
  correctionId: string;
2688
2687
  approvedBy: {
2689
- id: string;
2690
- label: string;
2691
2688
  kind: "agent" | "human";
2689
+ label: string;
2690
+ id: string;
2692
2691
  };
2693
2692
  note?: string | undefined;
2694
2693
  evidence?: {
2695
- id: string;
2694
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2696
2695
  label: string;
2697
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2696
+ id: string;
2698
2697
  capture: "at_action" | "historical_lookup" | "fixture";
2699
2698
  locator?: string | undefined;
2700
2699
  }[] | undefined;
@@ -2710,24 +2709,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2710
2709
  locator: z.ZodOptional<z.ZodString>;
2711
2710
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2712
2711
  }, "strict", z.ZodTypeAny, {
2713
- id: string;
2712
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2714
2713
  label: string;
2715
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2714
+ id: string;
2716
2715
  capture: "at_action" | "historical_lookup" | "fixture";
2717
2716
  locator?: string | undefined;
2718
2717
  }, {
2719
- id: string;
2718
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
2719
  label: string;
2721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
+ id: string;
2722
2721
  capture: "at_action" | "historical_lookup" | "fixture";
2723
2722
  locator?: string | undefined;
2724
2723
  }>, "many">>;
2725
2724
  }, "strict", z.ZodTypeAny, {
2726
2725
  kind: "decision_superseded";
2727
2726
  evidence: {
2728
- id: string;
2727
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
2728
  label: string;
2730
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
+ id: string;
2731
2730
  capture: "at_action" | "historical_lookup" | "fixture";
2732
2731
  locator?: string | undefined;
2733
2732
  }[];
@@ -2740,9 +2739,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2740
2739
  correctionId: string;
2741
2740
  replacementDecisionId: string;
2742
2741
  evidence?: {
2743
- id: string;
2742
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2744
2743
  label: string;
2745
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2744
+ id: string;
2746
2745
  capture: "at_action" | "historical_lookup" | "fixture";
2747
2746
  locator?: string | undefined;
2748
2747
  }[] | undefined;
@@ -2758,15 +2757,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2758
2757
  locator: z.ZodOptional<z.ZodString>;
2759
2758
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2760
2759
  }, "strict", z.ZodTypeAny, {
2761
- id: string;
2760
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
2761
  label: string;
2763
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
+ id: string;
2764
2763
  capture: "at_action" | "historical_lookup" | "fixture";
2765
2764
  locator?: string | undefined;
2766
2765
  }, {
2767
- id: string;
2766
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
2767
  label: string;
2769
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2768
+ id: string;
2770
2769
  capture: "at_action" | "historical_lookup" | "fixture";
2771
2770
  locator?: string | undefined;
2772
2771
  }>, "many">>;
@@ -2779,9 +2778,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2779
2778
  agentId: string;
2780
2779
  sessionId: string;
2781
2780
  evidence: {
2782
- id: string;
2781
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2783
2782
  label: string;
2784
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2783
+ id: string;
2785
2784
  capture: "at_action" | "historical_lookup" | "fixture";
2786
2785
  locator?: string | undefined;
2787
2786
  }[];
@@ -2797,9 +2796,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2797
2796
  recallReceiptId: string;
2798
2797
  capturedAtAction: boolean;
2799
2798
  evidence?: {
2800
- id: string;
2799
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
2800
  label: string;
2802
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2801
+ id: string;
2803
2802
  capture: "at_action" | "historical_lookup" | "fixture";
2804
2803
  locator?: string | undefined;
2805
2804
  }[] | undefined;
@@ -2815,15 +2814,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2815
2814
  locator: z.ZodOptional<z.ZodString>;
2816
2815
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2817
2816
  }, "strict", z.ZodTypeAny, {
2818
- id: string;
2817
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2819
2818
  label: string;
2820
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2819
+ id: string;
2821
2820
  capture: "at_action" | "historical_lookup" | "fixture";
2822
2821
  locator?: string | undefined;
2823
2822
  }, {
2824
- id: string;
2823
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
2824
  label: string;
2826
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2825
+ id: string;
2827
2826
  capture: "at_action" | "historical_lookup" | "fixture";
2828
2827
  locator?: string | undefined;
2829
2828
  }>, "many">>;
@@ -2835,9 +2834,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2835
2834
  agentId: string;
2836
2835
  sessionId: string;
2837
2836
  evidence: {
2838
- id: string;
2837
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2839
2838
  label: string;
2840
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2839
+ id: string;
2841
2840
  capture: "at_action" | "historical_lookup" | "fixture";
2842
2841
  locator?: string | undefined;
2843
2842
  }[];
@@ -2854,9 +2853,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2854
2853
  recallReceiptId: string;
2855
2854
  staleDecisionAbsent: boolean;
2856
2855
  evidence?: {
2857
- id: string;
2856
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
2857
  label: string;
2859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
+ id: string;
2860
2859
  capture: "at_action" | "historical_lookup" | "fixture";
2861
2860
  locator?: string | undefined;
2862
2861
  }[] | undefined;
@@ -2871,37 +2870,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2871
2870
  locator: z.ZodOptional<z.ZodString>;
2872
2871
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2873
2872
  }, "strict", z.ZodTypeAny, {
2874
- id: string;
2873
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2875
2874
  label: string;
2876
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2875
+ id: string;
2877
2876
  capture: "at_action" | "historical_lookup" | "fixture";
2878
2877
  locator?: string | undefined;
2879
2878
  }, {
2880
- id: string;
2879
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2881
2880
  label: string;
2882
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2881
+ id: string;
2883
2882
  capture: "at_action" | "historical_lookup" | "fixture";
2884
2883
  locator?: string | undefined;
2885
2884
  }>, "many">>;
2886
2885
  }, "strict", z.ZodTypeAny, {
2887
- summary: string;
2888
2886
  kind: "mission_completed";
2887
+ summary: string;
2889
2888
  outcome: "failed" | "recovered" | "inconclusive";
2890
2889
  evidence: {
2891
- id: string;
2890
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2892
2891
  label: string;
2893
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2892
+ id: string;
2894
2893
  capture: "at_action" | "historical_lookup" | "fixture";
2895
2894
  locator?: string | undefined;
2896
2895
  }[];
2897
2896
  }, {
2898
- summary: string;
2899
2897
  kind: "mission_completed";
2898
+ summary: string;
2900
2899
  outcome: "failed" | "recovered" | "inconclusive";
2901
2900
  evidence?: {
2902
- id: string;
2901
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2903
2902
  label: string;
2904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2903
+ id: string;
2905
2904
  capture: "at_action" | "historical_lookup" | "fixture";
2906
2905
  locator?: string | undefined;
2907
2906
  }[] | undefined;
@@ -2909,38 +2908,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2909
2908
  kind: "mission_started";
2910
2909
  title: string;
2911
2910
  evidence: {
2912
- id: string;
2911
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2913
2912
  label: string;
2914
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2913
+ id: string;
2915
2914
  capture: "at_action" | "historical_lookup" | "fixture";
2916
2915
  locator?: string | undefined;
2917
2916
  }[];
2918
2917
  objective: string;
2919
2918
  runMode: "replay" | "fixture" | "live";
2920
2919
  } | {
2921
- label: string;
2922
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2923
2920
  kind: "agent_status";
2921
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2922
+ label: string;
2924
2923
  role: string;
2925
2924
  agentId: string;
2926
2925
  sessionId: string;
2927
2926
  evidence: {
2928
- id: string;
2927
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2929
2928
  label: string;
2930
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2929
+ id: string;
2931
2930
  capture: "at_action" | "historical_lookup" | "fixture";
2932
2931
  locator?: string | undefined;
2933
2932
  }[];
2934
2933
  detail?: string | undefined;
2935
2934
  } | {
2936
- summary: string;
2937
2935
  kind: "agent_output";
2936
+ summary: string;
2938
2937
  agentId: string;
2939
2938
  sessionId: string;
2940
2939
  evidence: {
2941
- id: string;
2940
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2942
2941
  label: string;
2943
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2942
+ id: string;
2944
2943
  capture: "at_action" | "historical_lookup" | "fixture";
2945
2944
  locator?: string | undefined;
2946
2945
  }[];
@@ -2951,9 +2950,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2951
2950
  statement: string;
2952
2951
  sessionId: string;
2953
2952
  evidence: {
2954
- id: string;
2953
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2955
2954
  label: string;
2956
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2955
+ id: string;
2957
2956
  capture: "at_action" | "historical_lookup" | "fixture";
2958
2957
  locator?: string | undefined;
2959
2958
  }[];
@@ -2961,12 +2960,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2961
2960
  decisionId: string;
2962
2961
  confidence?: number | undefined;
2963
2962
  } | {
2964
- summary: string;
2965
2963
  kind: "conflict_detected";
2964
+ summary: string;
2966
2965
  evidence: {
2967
- id: string;
2966
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2968
2967
  label: string;
2969
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2968
+ id: string;
2970
2969
  capture: "at_action" | "historical_lookup" | "fixture";
2971
2970
  locator?: string | undefined;
2972
2971
  }[];
@@ -2974,14 +2973,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2974
2973
  decisionIds: string[];
2975
2974
  agentIds: string[];
2976
2975
  } | {
2976
+ kind: "test_result";
2977
2977
  summary: string;
2978
2978
  status: "error" | "failed" | "passed";
2979
- kind: "test_result";
2980
2979
  command: string;
2981
2980
  evidence: {
2982
- id: string;
2981
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2983
2982
  label: string;
2984
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2983
+ id: string;
2985
2984
  capture: "at_action" | "historical_lookup" | "fixture";
2986
2985
  locator?: string | undefined;
2987
2986
  }[];
@@ -2994,9 +2993,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2994
2993
  statement: string;
2995
2994
  rationale: string;
2996
2995
  evidence: {
2997
- id: string;
2996
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2998
2997
  label: string;
2999
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2998
+ id: string;
3000
2999
  capture: "at_action" | "historical_lookup" | "fixture";
3001
3000
  locator?: string | undefined;
3002
3001
  }[];
@@ -3008,25 +3007,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3008
3007
  } | {
3009
3008
  kind: "correction_approved";
3010
3009
  evidence: {
3011
- id: string;
3010
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3012
3011
  label: string;
3013
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3012
+ id: string;
3014
3013
  capture: "at_action" | "historical_lookup" | "fixture";
3015
3014
  locator?: string | undefined;
3016
3015
  }[];
3017
3016
  correctionId: string;
3018
3017
  approvedBy: {
3019
- id: string;
3020
- label: string;
3021
3018
  kind: "agent" | "human";
3019
+ label: string;
3020
+ id: string;
3022
3021
  };
3023
3022
  note?: string | undefined;
3024
3023
  } | {
3025
3024
  kind: "decision_superseded";
3026
3025
  evidence: {
3027
- id: string;
3026
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3028
3027
  label: string;
3029
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3028
+ id: string;
3030
3029
  capture: "at_action" | "historical_lookup" | "fixture";
3031
3030
  locator?: string | undefined;
3032
3031
  }[];
@@ -3039,9 +3038,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3039
3038
  agentId: string;
3040
3039
  sessionId: string;
3041
3040
  evidence: {
3042
- id: string;
3041
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3043
3042
  label: string;
3044
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3043
+ id: string;
3045
3044
  capture: "at_action" | "historical_lookup" | "fixture";
3046
3045
  locator?: string | undefined;
3047
3046
  }[];
@@ -3053,9 +3052,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3053
3052
  agentId: string;
3054
3053
  sessionId: string;
3055
3054
  evidence: {
3056
- id: string;
3055
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
3056
  label: string;
3058
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
+ id: string;
3059
3058
  capture: "at_action" | "historical_lookup" | "fixture";
3060
3059
  locator?: string | undefined;
3061
3060
  }[];
@@ -3064,13 +3063,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3064
3063
  recallReceiptId: string;
3065
3064
  staleDecisionAbsent: boolean;
3066
3065
  } | {
3067
- summary: string;
3068
3066
  kind: "mission_completed";
3067
+ summary: string;
3069
3068
  outcome: "failed" | "recovered" | "inconclusive";
3070
3069
  evidence: {
3071
- id: string;
3070
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3072
3071
  label: string;
3073
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3072
+ id: string;
3074
3073
  capture: "at_action" | "historical_lookup" | "fixture";
3075
3074
  locator?: string | undefined;
3076
3075
  }[];
@@ -3080,37 +3079,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3080
3079
  objective: string;
3081
3080
  runMode: "replay" | "fixture" | "live";
3082
3081
  evidence?: {
3083
- id: string;
3082
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3084
3083
  label: string;
3085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3084
+ id: string;
3086
3085
  capture: "at_action" | "historical_lookup" | "fixture";
3087
3086
  locator?: string | undefined;
3088
3087
  }[] | undefined;
3089
3088
  } | {
3090
- label: string;
3091
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3092
3089
  kind: "agent_status";
3090
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3091
+ label: string;
3093
3092
  role: string;
3094
3093
  agentId: string;
3095
3094
  sessionId: string;
3096
3095
  detail?: string | undefined;
3097
3096
  evidence?: {
3098
- id: string;
3097
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3099
3098
  label: string;
3100
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3099
+ id: string;
3101
3100
  capture: "at_action" | "historical_lookup" | "fixture";
3102
3101
  locator?: string | undefined;
3103
3102
  }[] | undefined;
3104
3103
  } | {
3105
- summary: string;
3106
3104
  kind: "agent_output";
3105
+ summary: string;
3107
3106
  agentId: string;
3108
3107
  sessionId: string;
3109
3108
  outputId: string;
3110
3109
  evidence?: {
3111
- id: string;
3110
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3112
3111
  label: string;
3113
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3112
+ id: string;
3114
3113
  capture: "at_action" | "historical_lookup" | "fixture";
3115
3114
  locator?: string | undefined;
3116
3115
  }[] | undefined;
@@ -3123,37 +3122,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3123
3122
  decisionId: string;
3124
3123
  confidence?: number | undefined;
3125
3124
  evidence?: {
3126
- id: string;
3125
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3127
3126
  label: string;
3128
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3127
+ id: string;
3129
3128
  capture: "at_action" | "historical_lookup" | "fixture";
3130
3129
  locator?: string | undefined;
3131
3130
  }[] | undefined;
3132
3131
  } | {
3133
- summary: string;
3134
3132
  kind: "conflict_detected";
3133
+ summary: string;
3135
3134
  conflictId: string;
3136
3135
  decisionIds: string[];
3137
3136
  agentIds: string[];
3138
3137
  evidence?: {
3139
- id: string;
3138
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3140
3139
  label: string;
3141
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3140
+ id: string;
3142
3141
  capture: "at_action" | "historical_lookup" | "fixture";
3143
3142
  locator?: string | undefined;
3144
3143
  }[] | undefined;
3145
3144
  } | {
3145
+ kind: "test_result";
3146
3146
  summary: string;
3147
3147
  status: "error" | "failed" | "passed";
3148
- kind: "test_result";
3149
3148
  command: string;
3150
3149
  decisionId: string;
3151
3150
  testId: string;
3152
3151
  durationMs?: number | undefined;
3153
3152
  evidence?: {
3154
- id: string;
3153
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3155
3154
  label: string;
3156
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3155
+ id: string;
3157
3156
  capture: "at_action" | "historical_lookup" | "fixture";
3158
3157
  locator?: string | undefined;
3159
3158
  }[] | undefined;
@@ -3168,9 +3167,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3168
3167
  supersedesDecisionIds: string[];
3169
3168
  proposedBy: string;
3170
3169
  evidence?: {
3171
- id: string;
3170
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3172
3171
  label: string;
3173
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3172
+ id: string;
3174
3173
  capture: "at_action" | "historical_lookup" | "fixture";
3175
3174
  locator?: string | undefined;
3176
3175
  }[] | undefined;
@@ -3178,15 +3177,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3178
3177
  kind: "correction_approved";
3179
3178
  correctionId: string;
3180
3179
  approvedBy: {
3181
- id: string;
3182
- label: string;
3183
3180
  kind: "agent" | "human";
3181
+ label: string;
3182
+ id: string;
3184
3183
  };
3185
3184
  note?: string | undefined;
3186
3185
  evidence?: {
3187
- id: string;
3186
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
3187
  label: string;
3189
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3188
+ id: string;
3190
3189
  capture: "at_action" | "historical_lookup" | "fixture";
3191
3190
  locator?: string | undefined;
3192
3191
  }[] | undefined;
@@ -3196,9 +3195,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3196
3195
  correctionId: string;
3197
3196
  replacementDecisionId: string;
3198
3197
  evidence?: {
3199
- id: string;
3198
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3200
3199
  label: string;
3201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3200
+ id: string;
3202
3201
  capture: "at_action" | "historical_lookup" | "fixture";
3203
3202
  locator?: string | undefined;
3204
3203
  }[] | undefined;
@@ -3211,9 +3210,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3211
3210
  recallReceiptId: string;
3212
3211
  capturedAtAction: boolean;
3213
3212
  evidence?: {
3214
- id: string;
3213
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3215
3214
  label: string;
3216
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3215
+ id: string;
3217
3216
  capture: "at_action" | "historical_lookup" | "fixture";
3218
3217
  locator?: string | undefined;
3219
3218
  }[] | undefined;
@@ -3226,20 +3225,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3226
3225
  recallReceiptId: string;
3227
3226
  staleDecisionAbsent: boolean;
3228
3227
  evidence?: {
3229
- id: string;
3228
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
3229
  label: string;
3231
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
+ id: string;
3232
3231
  capture: "at_action" | "historical_lookup" | "fixture";
3233
3232
  locator?: string | undefined;
3234
3233
  }[] | undefined;
3235
3234
  } | {
3236
- summary: string;
3237
3235
  kind: "mission_completed";
3236
+ summary: string;
3238
3237
  outcome: "failed" | "recovered" | "inconclusive";
3239
3238
  evidence?: {
3240
- id: string;
3239
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3241
3240
  label: string;
3242
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3241
+ id: string;
3243
3242
  capture: "at_action" | "historical_lookup" | "fixture";
3244
3243
  locator?: string | undefined;
3245
3244
  }[] | undefined;
@@ -3249,38 +3248,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3249
3248
  kind: "mission_started";
3250
3249
  title: string;
3251
3250
  evidence: {
3252
- id: string;
3251
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3253
3252
  label: string;
3254
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3253
+ id: string;
3255
3254
  capture: "at_action" | "historical_lookup" | "fixture";
3256
3255
  locator?: string | undefined;
3257
3256
  }[];
3258
3257
  objective: string;
3259
3258
  runMode: "replay" | "fixture" | "live";
3260
3259
  } | {
3261
- label: string;
3262
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3263
3260
  kind: "agent_status";
3261
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3262
+ label: string;
3264
3263
  role: string;
3265
3264
  agentId: string;
3266
3265
  sessionId: string;
3267
3266
  evidence: {
3268
- id: string;
3267
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3269
3268
  label: string;
3270
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3269
+ id: string;
3271
3270
  capture: "at_action" | "historical_lookup" | "fixture";
3272
3271
  locator?: string | undefined;
3273
3272
  }[];
3274
3273
  detail?: string | undefined;
3275
3274
  } | {
3276
- summary: string;
3277
3275
  kind: "agent_output";
3276
+ summary: string;
3278
3277
  agentId: string;
3279
3278
  sessionId: string;
3280
3279
  evidence: {
3281
- id: string;
3280
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3282
3281
  label: string;
3283
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3282
+ id: string;
3284
3283
  capture: "at_action" | "historical_lookup" | "fixture";
3285
3284
  locator?: string | undefined;
3286
3285
  }[];
@@ -3291,9 +3290,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3291
3290
  statement: string;
3292
3291
  sessionId: string;
3293
3292
  evidence: {
3294
- id: string;
3293
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
3294
  label: string;
3296
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
+ id: string;
3297
3296
  capture: "at_action" | "historical_lookup" | "fixture";
3298
3297
  locator?: string | undefined;
3299
3298
  }[];
@@ -3301,12 +3300,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3301
3300
  decisionId: string;
3302
3301
  confidence?: number | undefined;
3303
3302
  } | {
3304
- summary: string;
3305
3303
  kind: "conflict_detected";
3304
+ summary: string;
3306
3305
  evidence: {
3307
- id: string;
3306
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3308
3307
  label: string;
3309
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3308
+ id: string;
3310
3309
  capture: "at_action" | "historical_lookup" | "fixture";
3311
3310
  locator?: string | undefined;
3312
3311
  }[];
@@ -3314,14 +3313,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3314
3313
  decisionIds: string[];
3315
3314
  agentIds: string[];
3316
3315
  } | {
3316
+ kind: "test_result";
3317
3317
  summary: string;
3318
3318
  status: "error" | "failed" | "passed";
3319
- kind: "test_result";
3320
3319
  command: string;
3321
3320
  evidence: {
3322
- id: string;
3321
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3323
3322
  label: string;
3324
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3323
+ id: string;
3325
3324
  capture: "at_action" | "historical_lookup" | "fixture";
3326
3325
  locator?: string | undefined;
3327
3326
  }[];
@@ -3334,9 +3333,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3334
3333
  statement: string;
3335
3334
  rationale: string;
3336
3335
  evidence: {
3337
- id: string;
3336
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
3337
  label: string;
3339
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
+ id: string;
3340
3339
  capture: "at_action" | "historical_lookup" | "fixture";
3341
3340
  locator?: string | undefined;
3342
3341
  }[];
@@ -3348,25 +3347,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3348
3347
  } | {
3349
3348
  kind: "correction_approved";
3350
3349
  evidence: {
3351
- id: string;
3350
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
3351
  label: string;
3353
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
+ id: string;
3354
3353
  capture: "at_action" | "historical_lookup" | "fixture";
3355
3354
  locator?: string | undefined;
3356
3355
  }[];
3357
3356
  correctionId: string;
3358
3357
  approvedBy: {
3359
- id: string;
3360
- label: string;
3361
3358
  kind: "agent" | "human";
3359
+ label: string;
3360
+ id: string;
3362
3361
  };
3363
3362
  note?: string | undefined;
3364
3363
  } | {
3365
3364
  kind: "decision_superseded";
3366
3365
  evidence: {
3367
- id: string;
3366
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3368
3367
  label: string;
3369
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3368
+ id: string;
3370
3369
  capture: "at_action" | "historical_lookup" | "fixture";
3371
3370
  locator?: string | undefined;
3372
3371
  }[];
@@ -3379,9 +3378,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3379
3378
  agentId: string;
3380
3379
  sessionId: string;
3381
3380
  evidence: {
3382
- id: string;
3381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3383
3382
  label: string;
3384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3383
+ id: string;
3385
3384
  capture: "at_action" | "historical_lookup" | "fixture";
3386
3385
  locator?: string | undefined;
3387
3386
  }[];
@@ -3393,9 +3392,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3393
3392
  agentId: string;
3394
3393
  sessionId: string;
3395
3394
  evidence: {
3396
- id: string;
3395
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3397
3396
  label: string;
3398
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3397
+ id: string;
3399
3398
  capture: "at_action" | "historical_lookup" | "fixture";
3400
3399
  locator?: string | undefined;
3401
3400
  }[];
@@ -3404,13 +3403,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3404
3403
  recallReceiptId: string;
3405
3404
  staleDecisionAbsent: boolean;
3406
3405
  } | {
3407
- summary: string;
3408
3406
  kind: "mission_completed";
3407
+ summary: string;
3409
3408
  outcome: "failed" | "recovered" | "inconclusive";
3410
3409
  evidence: {
3411
- id: string;
3410
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3412
3411
  label: string;
3413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3412
+ id: string;
3414
3413
  capture: "at_action" | "historical_lookup" | "fixture";
3415
3414
  locator?: string | undefined;
3416
3415
  }[];
@@ -3424,37 +3423,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3424
3423
  objective: string;
3425
3424
  runMode: "replay" | "fixture" | "live";
3426
3425
  evidence?: {
3427
- id: string;
3426
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3428
3427
  label: string;
3429
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3428
+ id: string;
3430
3429
  capture: "at_action" | "historical_lookup" | "fixture";
3431
3430
  locator?: string | undefined;
3432
3431
  }[] | undefined;
3433
3432
  } | {
3434
- label: string;
3435
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3436
3433
  kind: "agent_status";
3434
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3435
+ label: string;
3437
3436
  role: string;
3438
3437
  agentId: string;
3439
3438
  sessionId: string;
3440
3439
  detail?: string | undefined;
3441
3440
  evidence?: {
3442
- id: string;
3441
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
3442
  label: string;
3444
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3443
+ id: string;
3445
3444
  capture: "at_action" | "historical_lookup" | "fixture";
3446
3445
  locator?: string | undefined;
3447
3446
  }[] | undefined;
3448
3447
  } | {
3449
- summary: string;
3450
3448
  kind: "agent_output";
3449
+ summary: string;
3451
3450
  agentId: string;
3452
3451
  sessionId: string;
3453
3452
  outputId: string;
3454
3453
  evidence?: {
3455
- id: string;
3454
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3456
3455
  label: string;
3457
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3456
+ id: string;
3458
3457
  capture: "at_action" | "historical_lookup" | "fixture";
3459
3458
  locator?: string | undefined;
3460
3459
  }[] | undefined;
@@ -3467,37 +3466,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3467
3466
  decisionId: string;
3468
3467
  confidence?: number | undefined;
3469
3468
  evidence?: {
3470
- id: string;
3469
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3471
3470
  label: string;
3472
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3471
+ id: string;
3473
3472
  capture: "at_action" | "historical_lookup" | "fixture";
3474
3473
  locator?: string | undefined;
3475
3474
  }[] | undefined;
3476
3475
  } | {
3477
- summary: string;
3478
3476
  kind: "conflict_detected";
3477
+ summary: string;
3479
3478
  conflictId: string;
3480
3479
  decisionIds: string[];
3481
3480
  agentIds: string[];
3482
3481
  evidence?: {
3483
- id: string;
3482
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3484
3483
  label: string;
3485
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3484
+ id: string;
3486
3485
  capture: "at_action" | "historical_lookup" | "fixture";
3487
3486
  locator?: string | undefined;
3488
3487
  }[] | undefined;
3489
3488
  } | {
3489
+ kind: "test_result";
3490
3490
  summary: string;
3491
3491
  status: "error" | "failed" | "passed";
3492
- kind: "test_result";
3493
3492
  command: string;
3494
3493
  decisionId: string;
3495
3494
  testId: string;
3496
3495
  durationMs?: number | undefined;
3497
3496
  evidence?: {
3498
- id: string;
3497
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3499
3498
  label: string;
3500
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3499
+ id: string;
3501
3500
  capture: "at_action" | "historical_lookup" | "fixture";
3502
3501
  locator?: string | undefined;
3503
3502
  }[] | undefined;
@@ -3512,9 +3511,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3512
3511
  supersedesDecisionIds: string[];
3513
3512
  proposedBy: string;
3514
3513
  evidence?: {
3515
- id: string;
3514
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3516
3515
  label: string;
3517
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3516
+ id: string;
3518
3517
  capture: "at_action" | "historical_lookup" | "fixture";
3519
3518
  locator?: string | undefined;
3520
3519
  }[] | undefined;
@@ -3522,15 +3521,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3522
3521
  kind: "correction_approved";
3523
3522
  correctionId: string;
3524
3523
  approvedBy: {
3525
- id: string;
3526
- label: string;
3527
3524
  kind: "agent" | "human";
3525
+ label: string;
3526
+ id: string;
3528
3527
  };
3529
3528
  note?: string | undefined;
3530
3529
  evidence?: {
3531
- id: string;
3530
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3532
3531
  label: string;
3533
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3532
+ id: string;
3534
3533
  capture: "at_action" | "historical_lookup" | "fixture";
3535
3534
  locator?: string | undefined;
3536
3535
  }[] | undefined;
@@ -3540,9 +3539,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3540
3539
  correctionId: string;
3541
3540
  replacementDecisionId: string;
3542
3541
  evidence?: {
3543
- id: string;
3542
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3544
3543
  label: string;
3545
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3544
+ id: string;
3546
3545
  capture: "at_action" | "historical_lookup" | "fixture";
3547
3546
  locator?: string | undefined;
3548
3547
  }[] | undefined;
@@ -3555,9 +3554,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3555
3554
  recallReceiptId: string;
3556
3555
  capturedAtAction: boolean;
3557
3556
  evidence?: {
3558
- id: string;
3557
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
3558
  label: string;
3560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
+ id: string;
3561
3560
  capture: "at_action" | "historical_lookup" | "fixture";
3562
3561
  locator?: string | undefined;
3563
3562
  }[] | undefined;
@@ -3570,20 +3569,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3570
3569
  recallReceiptId: string;
3571
3570
  staleDecisionAbsent: boolean;
3572
3571
  evidence?: {
3573
- id: string;
3572
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3574
3573
  label: string;
3575
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3574
+ id: string;
3576
3575
  capture: "at_action" | "historical_lookup" | "fixture";
3577
3576
  locator?: string | undefined;
3578
3577
  }[] | undefined;
3579
3578
  } | {
3580
- summary: string;
3581
3579
  kind: "mission_completed";
3580
+ summary: string;
3582
3581
  outcome: "failed" | "recovered" | "inconclusive";
3583
3582
  evidence?: {
3584
- id: string;
3583
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3585
3584
  label: string;
3586
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3585
+ id: string;
3587
3586
  capture: "at_action" | "historical_lookup" | "fixture";
3588
3587
  locator?: string | undefined;
3589
3588
  }[] | undefined;
@@ -3613,15 +3612,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3613
3612
  locator: z.ZodOptional<z.ZodString>;
3614
3613
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3615
3614
  }, "strict", z.ZodTypeAny, {
3616
- id: string;
3615
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3617
3616
  label: string;
3618
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3617
+ id: string;
3619
3618
  capture: "at_action" | "historical_lookup" | "fixture";
3620
3619
  locator?: string | undefined;
3621
3620
  }, {
3622
- id: string;
3621
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
3622
  label: string;
3624
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3623
+ id: string;
3625
3624
  capture: "at_action" | "historical_lookup" | "fixture";
3626
3625
  locator?: string | undefined;
3627
3626
  }>, "many">>;
@@ -3629,9 +3628,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3629
3628
  kind: "mission_started";
3630
3629
  title: string;
3631
3630
  evidence: {
3632
- id: string;
3631
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3633
3632
  label: string;
3634
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3633
+ id: string;
3635
3634
  capture: "at_action" | "historical_lookup" | "fixture";
3636
3635
  locator?: string | undefined;
3637
3636
  }[];
@@ -3643,9 +3642,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3643
3642
  objective: string;
3644
3643
  runMode: "replay" | "fixture" | "live";
3645
3644
  evidence?: {
3646
- id: string;
3645
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3647
3646
  label: string;
3648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3647
+ id: string;
3649
3648
  capture: "at_action" | "historical_lookup" | "fixture";
3650
3649
  locator?: string | undefined;
3651
3650
  }[] | undefined;
@@ -3661,15 +3660,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3661
3660
  locator: z.ZodOptional<z.ZodString>;
3662
3661
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3663
3662
  }, "strict", z.ZodTypeAny, {
3664
- id: string;
3663
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3665
3664
  label: string;
3666
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3665
+ id: string;
3667
3666
  capture: "at_action" | "historical_lookup" | "fixture";
3668
3667
  locator?: string | undefined;
3669
3668
  }, {
3670
- id: string;
3669
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
3670
  label: string;
3672
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
+ id: string;
3673
3672
  capture: "at_action" | "historical_lookup" | "fixture";
3674
3673
  locator?: string | undefined;
3675
3674
  }>, "many">>;
@@ -3677,32 +3676,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3677
3676
  sessionId: z.ZodString;
3678
3677
  kind: z.ZodLiteral<"agent_status">;
3679
3678
  }, "strict", z.ZodTypeAny, {
3680
- label: string;
3681
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3682
3679
  kind: "agent_status";
3680
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3681
+ label: string;
3683
3682
  role: string;
3684
3683
  agentId: string;
3685
3684
  sessionId: string;
3686
3685
  evidence: {
3687
- id: string;
3686
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3688
3687
  label: string;
3689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3688
+ id: string;
3690
3689
  capture: "at_action" | "historical_lookup" | "fixture";
3691
3690
  locator?: string | undefined;
3692
3691
  }[];
3693
3692
  detail?: string | undefined;
3694
3693
  }, {
3695
- label: string;
3696
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3697
3694
  kind: "agent_status";
3695
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3696
+ label: string;
3698
3697
  role: string;
3699
3698
  agentId: string;
3700
3699
  sessionId: string;
3701
3700
  detail?: string | undefined;
3702
3701
  evidence?: {
3703
- id: string;
3702
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3704
3703
  label: string;
3705
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3704
+ id: string;
3706
3705
  capture: "at_action" | "historical_lookup" | "fixture";
3707
3706
  locator?: string | undefined;
3708
3707
  }[] | undefined;
@@ -3716,15 +3715,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3716
3715
  locator: z.ZodOptional<z.ZodString>;
3717
3716
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3718
3717
  }, "strict", z.ZodTypeAny, {
3719
- id: string;
3718
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3719
  label: string;
3721
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
+ id: string;
3722
3721
  capture: "at_action" | "historical_lookup" | "fixture";
3723
3722
  locator?: string | undefined;
3724
3723
  }, {
3725
- id: string;
3724
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
3725
  label: string;
3727
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
+ id: string;
3728
3727
  capture: "at_action" | "historical_lookup" | "fixture";
3729
3728
  locator?: string | undefined;
3730
3729
  }>, "many">>;
@@ -3732,28 +3731,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3732
3731
  sessionId: z.ZodString;
3733
3732
  kind: z.ZodLiteral<"agent_output">;
3734
3733
  }, "strict", z.ZodTypeAny, {
3735
- summary: string;
3736
3734
  kind: "agent_output";
3735
+ summary: string;
3737
3736
  agentId: string;
3738
3737
  sessionId: string;
3739
3738
  evidence: {
3740
- id: string;
3739
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
3740
  label: string;
3742
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
+ id: string;
3743
3742
  capture: "at_action" | "historical_lookup" | "fixture";
3744
3743
  locator?: string | undefined;
3745
3744
  }[];
3746
3745
  outputId: string;
3747
3746
  }, {
3748
- summary: string;
3749
3747
  kind: "agent_output";
3748
+ summary: string;
3750
3749
  agentId: string;
3751
3750
  sessionId: string;
3752
3751
  outputId: string;
3753
3752
  evidence?: {
3754
- id: string;
3753
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3755
3754
  label: string;
3756
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3755
+ id: string;
3757
3756
  capture: "at_action" | "historical_lookup" | "fixture";
3758
3757
  locator?: string | undefined;
3759
3758
  }[] | undefined;
@@ -3769,15 +3768,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3769
3768
  locator: z.ZodOptional<z.ZodString>;
3770
3769
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3771
3770
  }, "strict", z.ZodTypeAny, {
3772
- id: string;
3771
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
3772
  label: string;
3774
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
+ id: string;
3775
3774
  capture: "at_action" | "historical_lookup" | "fixture";
3776
3775
  locator?: string | undefined;
3777
3776
  }, {
3778
- id: string;
3777
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3778
  label: string;
3780
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
+ id: string;
3781
3780
  capture: "at_action" | "historical_lookup" | "fixture";
3782
3781
  locator?: string | undefined;
3783
3782
  }>, "many">>;
@@ -3790,9 +3789,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3790
3789
  statement: string;
3791
3790
  sessionId: string;
3792
3791
  evidence: {
3793
- id: string;
3792
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
3793
  label: string;
3795
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
+ id: string;
3796
3795
  capture: "at_action" | "historical_lookup" | "fixture";
3797
3796
  locator?: string | undefined;
3798
3797
  }[];
@@ -3808,9 +3807,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3808
3807
  decisionId: string;
3809
3808
  confidence?: number | undefined;
3810
3809
  evidence?: {
3811
- id: string;
3810
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3812
3811
  label: string;
3813
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3812
+ id: string;
3814
3813
  capture: "at_action" | "historical_lookup" | "fixture";
3815
3814
  locator?: string | undefined;
3816
3815
  }[] | undefined;
@@ -3827,25 +3826,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3827
3826
  locator: z.ZodOptional<z.ZodString>;
3828
3827
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3829
3828
  }, "strict", z.ZodTypeAny, {
3830
- id: string;
3829
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
3830
  label: string;
3832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
+ id: string;
3833
3832
  capture: "at_action" | "historical_lookup" | "fixture";
3834
3833
  locator?: string | undefined;
3835
3834
  }, {
3836
- id: string;
3835
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
3836
  label: string;
3838
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
+ id: string;
3839
3838
  capture: "at_action" | "historical_lookup" | "fixture";
3840
3839
  locator?: string | undefined;
3841
3840
  }>, "many">>;
3842
3841
  }, "strict", z.ZodTypeAny, {
3843
- summary: string;
3844
3842
  kind: "conflict_detected";
3843
+ summary: string;
3845
3844
  evidence: {
3846
- id: string;
3845
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3847
3846
  label: string;
3848
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3847
+ id: string;
3849
3848
  capture: "at_action" | "historical_lookup" | "fixture";
3850
3849
  locator?: string | undefined;
3851
3850
  }[];
@@ -3853,15 +3852,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3853
3852
  decisionIds: string[];
3854
3853
  agentIds: string[];
3855
3854
  }, {
3856
- summary: string;
3857
3855
  kind: "conflict_detected";
3856
+ summary: string;
3858
3857
  conflictId: string;
3859
3858
  decisionIds: string[];
3860
3859
  agentIds: string[];
3861
3860
  evidence?: {
3862
- id: string;
3861
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3863
3862
  label: string;
3864
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3863
+ id: string;
3865
3864
  capture: "at_action" | "historical_lookup" | "fixture";
3866
3865
  locator?: string | undefined;
3867
3866
  }[] | undefined;
@@ -3881,27 +3880,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3881
3880
  locator: z.ZodOptional<z.ZodString>;
3882
3881
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3883
3882
  }, "strict", z.ZodTypeAny, {
3884
- id: string;
3883
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3885
3884
  label: string;
3886
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3885
+ id: string;
3887
3886
  capture: "at_action" | "historical_lookup" | "fixture";
3888
3887
  locator?: string | undefined;
3889
3888
  }, {
3890
- id: string;
3889
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3890
  label: string;
3892
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
+ id: string;
3893
3892
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3893
  locator?: string | undefined;
3895
3894
  }>, "many">>;
3896
3895
  }, "strict", z.ZodTypeAny, {
3896
+ kind: "test_result";
3897
3897
  summary: string;
3898
3898
  status: "error" | "failed" | "passed";
3899
- kind: "test_result";
3900
3899
  command: string;
3901
3900
  evidence: {
3902
- id: string;
3901
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3903
3902
  label: string;
3904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3903
+ id: string;
3905
3904
  capture: "at_action" | "historical_lookup" | "fixture";
3906
3905
  locator?: string | undefined;
3907
3906
  }[];
@@ -3910,17 +3909,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3910
3909
  durationMs?: number | undefined;
3911
3910
  correctionId?: string | undefined;
3912
3911
  }, {
3912
+ kind: "test_result";
3913
3913
  summary: string;
3914
3914
  status: "error" | "failed" | "passed";
3915
- kind: "test_result";
3916
3915
  command: string;
3917
3916
  decisionId: string;
3918
3917
  testId: string;
3919
3918
  durationMs?: number | undefined;
3920
3919
  evidence?: {
3921
- id: string;
3920
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3922
3921
  label: string;
3923
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3922
+ id: string;
3924
3923
  capture: "at_action" | "historical_lookup" | "fixture";
3925
3924
  locator?: string | undefined;
3926
3925
  }[] | undefined;
@@ -3941,15 +3940,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3941
3940
  locator: z.ZodOptional<z.ZodString>;
3942
3941
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3943
3942
  }, "strict", z.ZodTypeAny, {
3944
- id: string;
3943
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3945
3944
  label: string;
3946
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3945
+ id: string;
3947
3946
  capture: "at_action" | "historical_lookup" | "fixture";
3948
3947
  locator?: string | undefined;
3949
3948
  }, {
3950
- id: string;
3949
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
3950
  label: string;
3952
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
+ id: string;
3953
3952
  capture: "at_action" | "historical_lookup" | "fixture";
3954
3953
  locator?: string | undefined;
3955
3954
  }>, "many">>;
@@ -3958,9 +3957,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3958
3957
  statement: string;
3959
3958
  rationale: string;
3960
3959
  evidence: {
3961
- id: string;
3960
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3962
3961
  label: string;
3963
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3962
+ id: string;
3964
3963
  capture: "at_action" | "historical_lookup" | "fixture";
3965
3964
  locator?: string | undefined;
3966
3965
  }[];
@@ -3979,9 +3978,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3979
3978
  supersedesDecisionIds: string[];
3980
3979
  proposedBy: string;
3981
3980
  evidence?: {
3982
- id: string;
3981
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3983
3982
  label: string;
3984
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3983
+ id: string;
3985
3984
  capture: "at_action" | "historical_lookup" | "fixture";
3986
3985
  locator?: string | undefined;
3987
3986
  }[] | undefined;
@@ -3993,13 +3992,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3993
3992
  id: z.ZodString;
3994
3993
  label: z.ZodString;
3995
3994
  }, "strict", z.ZodTypeAny, {
3996
- id: string;
3997
- label: string;
3998
3995
  kind: "agent" | "human";
3999
- }, {
4000
- id: string;
4001
3996
  label: string;
3997
+ id: string;
3998
+ }, {
4002
3999
  kind: "agent" | "human";
4000
+ label: string;
4001
+ id: string;
4003
4002
  }>;
4004
4003
  note: z.ZodOptional<z.ZodString>;
4005
4004
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4009,47 +4008,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4009
4008
  locator: z.ZodOptional<z.ZodString>;
4010
4009
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4011
4010
  }, "strict", z.ZodTypeAny, {
4012
- id: string;
4011
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4013
4012
  label: string;
4014
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4013
+ id: string;
4015
4014
  capture: "at_action" | "historical_lookup" | "fixture";
4016
4015
  locator?: string | undefined;
4017
4016
  }, {
4018
- id: string;
4017
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
4018
  label: string;
4020
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
+ id: string;
4021
4020
  capture: "at_action" | "historical_lookup" | "fixture";
4022
4021
  locator?: string | undefined;
4023
4022
  }>, "many">>;
4024
4023
  }, "strict", z.ZodTypeAny, {
4025
4024
  kind: "correction_approved";
4026
4025
  evidence: {
4027
- id: string;
4026
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4028
4027
  label: string;
4029
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4028
+ id: string;
4030
4029
  capture: "at_action" | "historical_lookup" | "fixture";
4031
4030
  locator?: string | undefined;
4032
4031
  }[];
4033
4032
  correctionId: string;
4034
4033
  approvedBy: {
4035
- id: string;
4036
- label: string;
4037
4034
  kind: "agent" | "human";
4035
+ label: string;
4036
+ id: string;
4038
4037
  };
4039
4038
  note?: string | undefined;
4040
4039
  }, {
4041
4040
  kind: "correction_approved";
4042
4041
  correctionId: string;
4043
4042
  approvedBy: {
4044
- id: string;
4045
- label: string;
4046
4043
  kind: "agent" | "human";
4044
+ label: string;
4045
+ id: string;
4047
4046
  };
4048
4047
  note?: string | undefined;
4049
4048
  evidence?: {
4050
- id: string;
4049
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4051
4050
  label: string;
4052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4051
+ id: string;
4053
4052
  capture: "at_action" | "historical_lookup" | "fixture";
4054
4053
  locator?: string | undefined;
4055
4054
  }[] | undefined;
@@ -4065,24 +4064,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4065
4064
  locator: z.ZodOptional<z.ZodString>;
4066
4065
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4067
4066
  }, "strict", z.ZodTypeAny, {
4068
- id: string;
4067
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4069
4068
  label: string;
4070
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4069
+ id: string;
4071
4070
  capture: "at_action" | "historical_lookup" | "fixture";
4072
4071
  locator?: string | undefined;
4073
4072
  }, {
4074
- id: string;
4073
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
4074
  label: string;
4076
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
+ id: string;
4077
4076
  capture: "at_action" | "historical_lookup" | "fixture";
4078
4077
  locator?: string | undefined;
4079
4078
  }>, "many">>;
4080
4079
  }, "strict", z.ZodTypeAny, {
4081
4080
  kind: "decision_superseded";
4082
4081
  evidence: {
4083
- id: string;
4082
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
4083
  label: string;
4085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
+ id: string;
4086
4085
  capture: "at_action" | "historical_lookup" | "fixture";
4087
4086
  locator?: string | undefined;
4088
4087
  }[];
@@ -4095,9 +4094,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4095
4094
  correctionId: string;
4096
4095
  replacementDecisionId: string;
4097
4096
  evidence?: {
4098
- id: string;
4097
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4099
4098
  label: string;
4100
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4099
+ id: string;
4101
4100
  capture: "at_action" | "historical_lookup" | "fixture";
4102
4101
  locator?: string | undefined;
4103
4102
  }[] | undefined;
@@ -4113,15 +4112,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4113
4112
  locator: z.ZodOptional<z.ZodString>;
4114
4113
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4115
4114
  }, "strict", z.ZodTypeAny, {
4116
- id: string;
4115
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
4116
  label: string;
4118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
+ id: string;
4119
4118
  capture: "at_action" | "historical_lookup" | "fixture";
4120
4119
  locator?: string | undefined;
4121
4120
  }, {
4122
- id: string;
4121
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
4122
  label: string;
4124
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4123
+ id: string;
4125
4124
  capture: "at_action" | "historical_lookup" | "fixture";
4126
4125
  locator?: string | undefined;
4127
4126
  }>, "many">>;
@@ -4134,9 +4133,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4134
4133
  agentId: string;
4135
4134
  sessionId: string;
4136
4135
  evidence: {
4137
- id: string;
4136
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4138
4137
  label: string;
4139
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4138
+ id: string;
4140
4139
  capture: "at_action" | "historical_lookup" | "fixture";
4141
4140
  locator?: string | undefined;
4142
4141
  }[];
@@ -4152,9 +4151,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4152
4151
  recallReceiptId: string;
4153
4152
  capturedAtAction: boolean;
4154
4153
  evidence?: {
4155
- id: string;
4154
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
4155
  label: string;
4157
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4156
+ id: string;
4158
4157
  capture: "at_action" | "historical_lookup" | "fixture";
4159
4158
  locator?: string | undefined;
4160
4159
  }[] | undefined;
@@ -4170,15 +4169,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4170
4169
  locator: z.ZodOptional<z.ZodString>;
4171
4170
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4172
4171
  }, "strict", z.ZodTypeAny, {
4173
- id: string;
4172
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4174
4173
  label: string;
4175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4174
+ id: string;
4176
4175
  capture: "at_action" | "historical_lookup" | "fixture";
4177
4176
  locator?: string | undefined;
4178
4177
  }, {
4179
- id: string;
4178
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
4179
  label: string;
4181
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4180
+ id: string;
4182
4181
  capture: "at_action" | "historical_lookup" | "fixture";
4183
4182
  locator?: string | undefined;
4184
4183
  }>, "many">>;
@@ -4190,9 +4189,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4190
4189
  agentId: string;
4191
4190
  sessionId: string;
4192
4191
  evidence: {
4193
- id: string;
4192
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4194
4193
  label: string;
4195
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4194
+ id: string;
4196
4195
  capture: "at_action" | "historical_lookup" | "fixture";
4197
4196
  locator?: string | undefined;
4198
4197
  }[];
@@ -4209,9 +4208,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4209
4208
  recallReceiptId: string;
4210
4209
  staleDecisionAbsent: boolean;
4211
4210
  evidence?: {
4212
- id: string;
4211
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
4212
  label: string;
4214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
+ id: string;
4215
4214
  capture: "at_action" | "historical_lookup" | "fixture";
4216
4215
  locator?: string | undefined;
4217
4216
  }[] | undefined;
@@ -4226,37 +4225,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4226
4225
  locator: z.ZodOptional<z.ZodString>;
4227
4226
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4228
4227
  }, "strict", z.ZodTypeAny, {
4229
- id: string;
4228
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4230
4229
  label: string;
4231
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4230
+ id: string;
4232
4231
  capture: "at_action" | "historical_lookup" | "fixture";
4233
4232
  locator?: string | undefined;
4234
4233
  }, {
4235
- id: string;
4234
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4236
4235
  label: string;
4237
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4236
+ id: string;
4238
4237
  capture: "at_action" | "historical_lookup" | "fixture";
4239
4238
  locator?: string | undefined;
4240
4239
  }>, "many">>;
4241
4240
  }, "strict", z.ZodTypeAny, {
4242
- summary: string;
4243
4241
  kind: "mission_completed";
4242
+ summary: string;
4244
4243
  outcome: "failed" | "recovered" | "inconclusive";
4245
4244
  evidence: {
4246
- id: string;
4245
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4247
4246
  label: string;
4248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4247
+ id: string;
4249
4248
  capture: "at_action" | "historical_lookup" | "fixture";
4250
4249
  locator?: string | undefined;
4251
4250
  }[];
4252
4251
  }, {
4253
- summary: string;
4254
4252
  kind: "mission_completed";
4253
+ summary: string;
4255
4254
  outcome: "failed" | "recovered" | "inconclusive";
4256
4255
  evidence?: {
4257
- id: string;
4256
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4258
4257
  label: string;
4259
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4258
+ id: string;
4260
4259
  capture: "at_action" | "historical_lookup" | "fixture";
4261
4260
  locator?: string | undefined;
4262
4261
  }[] | undefined;
@@ -4264,38 +4263,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4264
4263
  kind: "mission_started";
4265
4264
  title: string;
4266
4265
  evidence: {
4267
- id: string;
4266
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4268
4267
  label: string;
4269
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4268
+ id: string;
4270
4269
  capture: "at_action" | "historical_lookup" | "fixture";
4271
4270
  locator?: string | undefined;
4272
4271
  }[];
4273
4272
  objective: string;
4274
4273
  runMode: "replay" | "fixture" | "live";
4275
4274
  } | {
4276
- label: string;
4277
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4278
4275
  kind: "agent_status";
4276
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4277
+ label: string;
4279
4278
  role: string;
4280
4279
  agentId: string;
4281
4280
  sessionId: string;
4282
4281
  evidence: {
4283
- id: string;
4282
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4284
4283
  label: string;
4285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4284
+ id: string;
4286
4285
  capture: "at_action" | "historical_lookup" | "fixture";
4287
4286
  locator?: string | undefined;
4288
4287
  }[];
4289
4288
  detail?: string | undefined;
4290
4289
  } | {
4291
- summary: string;
4292
4290
  kind: "agent_output";
4291
+ summary: string;
4293
4292
  agentId: string;
4294
4293
  sessionId: string;
4295
4294
  evidence: {
4296
- id: string;
4295
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4297
4296
  label: string;
4298
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4297
+ id: string;
4299
4298
  capture: "at_action" | "historical_lookup" | "fixture";
4300
4299
  locator?: string | undefined;
4301
4300
  }[];
@@ -4306,9 +4305,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4306
4305
  statement: string;
4307
4306
  sessionId: string;
4308
4307
  evidence: {
4309
- id: string;
4308
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4310
4309
  label: string;
4311
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4310
+ id: string;
4312
4311
  capture: "at_action" | "historical_lookup" | "fixture";
4313
4312
  locator?: string | undefined;
4314
4313
  }[];
@@ -4316,12 +4315,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4316
4315
  decisionId: string;
4317
4316
  confidence?: number | undefined;
4318
4317
  } | {
4319
- summary: string;
4320
4318
  kind: "conflict_detected";
4319
+ summary: string;
4321
4320
  evidence: {
4322
- id: string;
4321
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4323
4322
  label: string;
4324
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4323
+ id: string;
4325
4324
  capture: "at_action" | "historical_lookup" | "fixture";
4326
4325
  locator?: string | undefined;
4327
4326
  }[];
@@ -4329,14 +4328,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4329
4328
  decisionIds: string[];
4330
4329
  agentIds: string[];
4331
4330
  } | {
4331
+ kind: "test_result";
4332
4332
  summary: string;
4333
4333
  status: "error" | "failed" | "passed";
4334
- kind: "test_result";
4335
4334
  command: string;
4336
4335
  evidence: {
4337
- id: string;
4336
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4338
4337
  label: string;
4339
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4338
+ id: string;
4340
4339
  capture: "at_action" | "historical_lookup" | "fixture";
4341
4340
  locator?: string | undefined;
4342
4341
  }[];
@@ -4349,9 +4348,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4349
4348
  statement: string;
4350
4349
  rationale: string;
4351
4350
  evidence: {
4352
- id: string;
4351
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4353
4352
  label: string;
4354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4353
+ id: string;
4355
4354
  capture: "at_action" | "historical_lookup" | "fixture";
4356
4355
  locator?: string | undefined;
4357
4356
  }[];
@@ -4363,25 +4362,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4363
4362
  } | {
4364
4363
  kind: "correction_approved";
4365
4364
  evidence: {
4366
- id: string;
4365
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4367
4366
  label: string;
4368
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4367
+ id: string;
4369
4368
  capture: "at_action" | "historical_lookup" | "fixture";
4370
4369
  locator?: string | undefined;
4371
4370
  }[];
4372
4371
  correctionId: string;
4373
4372
  approvedBy: {
4374
- id: string;
4375
- label: string;
4376
4373
  kind: "agent" | "human";
4374
+ label: string;
4375
+ id: string;
4377
4376
  };
4378
4377
  note?: string | undefined;
4379
4378
  } | {
4380
4379
  kind: "decision_superseded";
4381
4380
  evidence: {
4382
- id: string;
4381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
4382
  label: string;
4384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
+ id: string;
4385
4384
  capture: "at_action" | "historical_lookup" | "fixture";
4386
4385
  locator?: string | undefined;
4387
4386
  }[];
@@ -4394,9 +4393,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4394
4393
  agentId: string;
4395
4394
  sessionId: string;
4396
4395
  evidence: {
4397
- id: string;
4396
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4398
4397
  label: string;
4399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4398
+ id: string;
4400
4399
  capture: "at_action" | "historical_lookup" | "fixture";
4401
4400
  locator?: string | undefined;
4402
4401
  }[];
@@ -4408,9 +4407,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4408
4407
  agentId: string;
4409
4408
  sessionId: string;
4410
4409
  evidence: {
4411
- id: string;
4410
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
4411
  label: string;
4413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
+ id: string;
4414
4413
  capture: "at_action" | "historical_lookup" | "fixture";
4415
4414
  locator?: string | undefined;
4416
4415
  }[];
@@ -4419,13 +4418,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4419
4418
  recallReceiptId: string;
4420
4419
  staleDecisionAbsent: boolean;
4421
4420
  } | {
4422
- summary: string;
4423
4421
  kind: "mission_completed";
4422
+ summary: string;
4424
4423
  outcome: "failed" | "recovered" | "inconclusive";
4425
4424
  evidence: {
4426
- id: string;
4425
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
4426
  label: string;
4428
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
+ id: string;
4429
4428
  capture: "at_action" | "historical_lookup" | "fixture";
4430
4429
  locator?: string | undefined;
4431
4430
  }[];
@@ -4435,37 +4434,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4435
4434
  objective: string;
4436
4435
  runMode: "replay" | "fixture" | "live";
4437
4436
  evidence?: {
4438
- id: string;
4437
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4439
4438
  label: string;
4440
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4439
+ id: string;
4441
4440
  capture: "at_action" | "historical_lookup" | "fixture";
4442
4441
  locator?: string | undefined;
4443
4442
  }[] | undefined;
4444
4443
  } | {
4445
- label: string;
4446
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4447
4444
  kind: "agent_status";
4445
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4446
+ label: string;
4448
4447
  role: string;
4449
4448
  agentId: string;
4450
4449
  sessionId: string;
4451
4450
  detail?: string | undefined;
4452
4451
  evidence?: {
4453
- id: string;
4452
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4454
4453
  label: string;
4455
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4454
+ id: string;
4456
4455
  capture: "at_action" | "historical_lookup" | "fixture";
4457
4456
  locator?: string | undefined;
4458
4457
  }[] | undefined;
4459
4458
  } | {
4460
- summary: string;
4461
4459
  kind: "agent_output";
4460
+ summary: string;
4462
4461
  agentId: string;
4463
4462
  sessionId: string;
4464
4463
  outputId: string;
4465
4464
  evidence?: {
4466
- id: string;
4465
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4467
4466
  label: string;
4468
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4467
+ id: string;
4469
4468
  capture: "at_action" | "historical_lookup" | "fixture";
4470
4469
  locator?: string | undefined;
4471
4470
  }[] | undefined;
@@ -4478,37 +4477,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4478
4477
  decisionId: string;
4479
4478
  confidence?: number | undefined;
4480
4479
  evidence?: {
4481
- id: string;
4480
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4482
4481
  label: string;
4483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4482
+ id: string;
4484
4483
  capture: "at_action" | "historical_lookup" | "fixture";
4485
4484
  locator?: string | undefined;
4486
4485
  }[] | undefined;
4487
4486
  } | {
4488
- summary: string;
4489
4487
  kind: "conflict_detected";
4488
+ summary: string;
4490
4489
  conflictId: string;
4491
4490
  decisionIds: string[];
4492
4491
  agentIds: string[];
4493
4492
  evidence?: {
4494
- id: string;
4493
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4495
4494
  label: string;
4496
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4495
+ id: string;
4497
4496
  capture: "at_action" | "historical_lookup" | "fixture";
4498
4497
  locator?: string | undefined;
4499
4498
  }[] | undefined;
4500
4499
  } | {
4500
+ kind: "test_result";
4501
4501
  summary: string;
4502
4502
  status: "error" | "failed" | "passed";
4503
- kind: "test_result";
4504
4503
  command: string;
4505
4504
  decisionId: string;
4506
4505
  testId: string;
4507
4506
  durationMs?: number | undefined;
4508
4507
  evidence?: {
4509
- id: string;
4508
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
4509
  label: string;
4511
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
+ id: string;
4512
4511
  capture: "at_action" | "historical_lookup" | "fixture";
4513
4512
  locator?: string | undefined;
4514
4513
  }[] | undefined;
@@ -4523,9 +4522,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4523
4522
  supersedesDecisionIds: string[];
4524
4523
  proposedBy: string;
4525
4524
  evidence?: {
4526
- id: string;
4525
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4527
4526
  label: string;
4528
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4527
+ id: string;
4529
4528
  capture: "at_action" | "historical_lookup" | "fixture";
4530
4529
  locator?: string | undefined;
4531
4530
  }[] | undefined;
@@ -4533,15 +4532,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4533
4532
  kind: "correction_approved";
4534
4533
  correctionId: string;
4535
4534
  approvedBy: {
4536
- id: string;
4537
- label: string;
4538
4535
  kind: "agent" | "human";
4536
+ label: string;
4537
+ id: string;
4539
4538
  };
4540
4539
  note?: string | undefined;
4541
4540
  evidence?: {
4542
- id: string;
4541
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
4542
  label: string;
4544
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
+ id: string;
4545
4544
  capture: "at_action" | "historical_lookup" | "fixture";
4546
4545
  locator?: string | undefined;
4547
4546
  }[] | undefined;
@@ -4551,9 +4550,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4551
4550
  correctionId: string;
4552
4551
  replacementDecisionId: string;
4553
4552
  evidence?: {
4554
- id: string;
4553
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
4554
  label: string;
4556
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
+ id: string;
4557
4556
  capture: "at_action" | "historical_lookup" | "fixture";
4558
4557
  locator?: string | undefined;
4559
4558
  }[] | undefined;
@@ -4566,9 +4565,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4566
4565
  recallReceiptId: string;
4567
4566
  capturedAtAction: boolean;
4568
4567
  evidence?: {
4569
- id: string;
4568
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4570
4569
  label: string;
4571
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4570
+ id: string;
4572
4571
  capture: "at_action" | "historical_lookup" | "fixture";
4573
4572
  locator?: string | undefined;
4574
4573
  }[] | undefined;
@@ -4581,64 +4580,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4581
4580
  recallReceiptId: string;
4582
4581
  staleDecisionAbsent: boolean;
4583
4582
  evidence?: {
4584
- id: string;
4583
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4585
4584
  label: string;
4586
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4585
+ id: string;
4587
4586
  capture: "at_action" | "historical_lookup" | "fixture";
4588
4587
  locator?: string | undefined;
4589
4588
  }[] | undefined;
4590
4589
  } | {
4591
- summary: string;
4592
4590
  kind: "mission_completed";
4591
+ summary: string;
4593
4592
  outcome: "failed" | "recovered" | "inconclusive";
4594
4593
  evidence?: {
4595
- id: string;
4594
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4596
4595
  label: string;
4597
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4596
+ id: string;
4598
4597
  capture: "at_action" | "historical_lookup" | "fixture";
4599
4598
  locator?: string | undefined;
4600
4599
  }[] | undefined;
4601
4600
  }>;
4602
4601
  }, "strict", z.ZodTypeAny, {
4603
- namespace: string;
4604
4602
  recordedAt: string;
4605
4603
  schemaVersion: "1";
4606
4604
  payload: {
4607
4605
  kind: "mission_started";
4608
4606
  title: string;
4609
4607
  evidence: {
4610
- id: string;
4608
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4611
4609
  label: string;
4612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4610
+ id: string;
4613
4611
  capture: "at_action" | "historical_lookup" | "fixture";
4614
4612
  locator?: string | undefined;
4615
4613
  }[];
4616
4614
  objective: string;
4617
4615
  runMode: "replay" | "fixture" | "live";
4618
4616
  } | {
4619
- label: string;
4620
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4621
4617
  kind: "agent_status";
4618
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4619
+ label: string;
4622
4620
  role: string;
4623
4621
  agentId: string;
4624
4622
  sessionId: string;
4625
4623
  evidence: {
4626
- id: string;
4624
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4627
4625
  label: string;
4628
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4626
+ id: string;
4629
4627
  capture: "at_action" | "historical_lookup" | "fixture";
4630
4628
  locator?: string | undefined;
4631
4629
  }[];
4632
4630
  detail?: string | undefined;
4633
4631
  } | {
4634
- summary: string;
4635
4632
  kind: "agent_output";
4633
+ summary: string;
4636
4634
  agentId: string;
4637
4635
  sessionId: string;
4638
4636
  evidence: {
4639
- id: string;
4637
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4640
4638
  label: string;
4641
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4639
+ id: string;
4642
4640
  capture: "at_action" | "historical_lookup" | "fixture";
4643
4641
  locator?: string | undefined;
4644
4642
  }[];
@@ -4649,9 +4647,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4649
4647
  statement: string;
4650
4648
  sessionId: string;
4651
4649
  evidence: {
4652
- id: string;
4650
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4653
4651
  label: string;
4654
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4652
+ id: string;
4655
4653
  capture: "at_action" | "historical_lookup" | "fixture";
4656
4654
  locator?: string | undefined;
4657
4655
  }[];
@@ -4659,12 +4657,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4659
4657
  decisionId: string;
4660
4658
  confidence?: number | undefined;
4661
4659
  } | {
4662
- summary: string;
4663
4660
  kind: "conflict_detected";
4661
+ summary: string;
4664
4662
  evidence: {
4665
- id: string;
4663
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4666
4664
  label: string;
4667
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4665
+ id: string;
4668
4666
  capture: "at_action" | "historical_lookup" | "fixture";
4669
4667
  locator?: string | undefined;
4670
4668
  }[];
@@ -4672,14 +4670,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4672
4670
  decisionIds: string[];
4673
4671
  agentIds: string[];
4674
4672
  } | {
4673
+ kind: "test_result";
4675
4674
  summary: string;
4676
4675
  status: "error" | "failed" | "passed";
4677
- kind: "test_result";
4678
4676
  command: string;
4679
4677
  evidence: {
4680
- id: string;
4678
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4681
4679
  label: string;
4682
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4680
+ id: string;
4683
4681
  capture: "at_action" | "historical_lookup" | "fixture";
4684
4682
  locator?: string | undefined;
4685
4683
  }[];
@@ -4692,9 +4690,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4692
4690
  statement: string;
4693
4691
  rationale: string;
4694
4692
  evidence: {
4695
- id: string;
4693
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4696
4694
  label: string;
4697
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4695
+ id: string;
4698
4696
  capture: "at_action" | "historical_lookup" | "fixture";
4699
4697
  locator?: string | undefined;
4700
4698
  }[];
@@ -4706,25 +4704,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4706
4704
  } | {
4707
4705
  kind: "correction_approved";
4708
4706
  evidence: {
4709
- id: string;
4707
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4710
4708
  label: string;
4711
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4709
+ id: string;
4712
4710
  capture: "at_action" | "historical_lookup" | "fixture";
4713
4711
  locator?: string | undefined;
4714
4712
  }[];
4715
4713
  correctionId: string;
4716
4714
  approvedBy: {
4717
- id: string;
4718
- label: string;
4719
4715
  kind: "agent" | "human";
4716
+ label: string;
4717
+ id: string;
4720
4718
  };
4721
4719
  note?: string | undefined;
4722
4720
  } | {
4723
4721
  kind: "decision_superseded";
4724
4722
  evidence: {
4725
- id: string;
4723
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4726
4724
  label: string;
4727
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4725
+ id: string;
4728
4726
  capture: "at_action" | "historical_lookup" | "fixture";
4729
4727
  locator?: string | undefined;
4730
4728
  }[];
@@ -4737,9 +4735,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4737
4735
  agentId: string;
4738
4736
  sessionId: string;
4739
4737
  evidence: {
4740
- id: string;
4738
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4741
4739
  label: string;
4742
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4740
+ id: string;
4743
4741
  capture: "at_action" | "historical_lookup" | "fixture";
4744
4742
  locator?: string | undefined;
4745
4743
  }[];
@@ -4751,9 +4749,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4751
4749
  agentId: string;
4752
4750
  sessionId: string;
4753
4751
  evidence: {
4754
- id: string;
4752
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4755
4753
  label: string;
4756
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4754
+ id: string;
4757
4755
  capture: "at_action" | "historical_lookup" | "fixture";
4758
4756
  locator?: string | undefined;
4759
4757
  }[];
@@ -4762,24 +4760,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4762
4760
  recallReceiptId: string;
4763
4761
  staleDecisionAbsent: boolean;
4764
4762
  } | {
4765
- summary: string;
4766
4763
  kind: "mission_completed";
4764
+ summary: string;
4767
4765
  outcome: "failed" | "recovered" | "inconclusive";
4768
4766
  evidence: {
4769
- id: string;
4767
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4770
4768
  label: string;
4771
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4769
+ id: string;
4772
4770
  capture: "at_action" | "historical_lookup" | "fixture";
4773
4771
  locator?: string | undefined;
4774
4772
  }[];
4775
4773
  };
4774
+ namespace: string;
4776
4775
  eventId: string;
4777
4776
  occurredAt: string;
4778
4777
  missionId: string;
4779
4778
  idempotencyKey?: string | undefined;
4780
4779
  authenticatedPrincipal?: string | undefined;
4781
4780
  }, {
4782
- namespace: string;
4783
4781
  recordedAt: string;
4784
4782
  schemaVersion: "1";
4785
4783
  payload: {
@@ -4788,37 +4786,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4788
4786
  objective: string;
4789
4787
  runMode: "replay" | "fixture" | "live";
4790
4788
  evidence?: {
4791
- id: string;
4789
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4792
4790
  label: string;
4793
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4791
+ id: string;
4794
4792
  capture: "at_action" | "historical_lookup" | "fixture";
4795
4793
  locator?: string | undefined;
4796
4794
  }[] | undefined;
4797
4795
  } | {
4798
- label: string;
4799
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4800
4796
  kind: "agent_status";
4797
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4798
+ label: string;
4801
4799
  role: string;
4802
4800
  agentId: string;
4803
4801
  sessionId: string;
4804
4802
  detail?: string | undefined;
4805
4803
  evidence?: {
4806
- id: string;
4804
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4807
4805
  label: string;
4808
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4806
+ id: string;
4809
4807
  capture: "at_action" | "historical_lookup" | "fixture";
4810
4808
  locator?: string | undefined;
4811
4809
  }[] | undefined;
4812
4810
  } | {
4813
- summary: string;
4814
4811
  kind: "agent_output";
4812
+ summary: string;
4815
4813
  agentId: string;
4816
4814
  sessionId: string;
4817
4815
  outputId: string;
4818
4816
  evidence?: {
4819
- id: string;
4817
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4820
4818
  label: string;
4821
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4819
+ id: string;
4822
4820
  capture: "at_action" | "historical_lookup" | "fixture";
4823
4821
  locator?: string | undefined;
4824
4822
  }[] | undefined;
@@ -4831,37 +4829,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4831
4829
  decisionId: string;
4832
4830
  confidence?: number | undefined;
4833
4831
  evidence?: {
4834
- id: string;
4832
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4835
4833
  label: string;
4836
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4834
+ id: string;
4837
4835
  capture: "at_action" | "historical_lookup" | "fixture";
4838
4836
  locator?: string | undefined;
4839
4837
  }[] | undefined;
4840
4838
  } | {
4841
- summary: string;
4842
4839
  kind: "conflict_detected";
4840
+ summary: string;
4843
4841
  conflictId: string;
4844
4842
  decisionIds: string[];
4845
4843
  agentIds: string[];
4846
4844
  evidence?: {
4847
- id: string;
4845
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4848
4846
  label: string;
4849
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4847
+ id: string;
4850
4848
  capture: "at_action" | "historical_lookup" | "fixture";
4851
4849
  locator?: string | undefined;
4852
4850
  }[] | undefined;
4853
4851
  } | {
4852
+ kind: "test_result";
4854
4853
  summary: string;
4855
4854
  status: "error" | "failed" | "passed";
4856
- kind: "test_result";
4857
4855
  command: string;
4858
4856
  decisionId: string;
4859
4857
  testId: string;
4860
4858
  durationMs?: number | undefined;
4861
4859
  evidence?: {
4862
- id: string;
4860
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4863
4861
  label: string;
4864
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4862
+ id: string;
4865
4863
  capture: "at_action" | "historical_lookup" | "fixture";
4866
4864
  locator?: string | undefined;
4867
4865
  }[] | undefined;
@@ -4876,9 +4874,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4876
4874
  supersedesDecisionIds: string[];
4877
4875
  proposedBy: string;
4878
4876
  evidence?: {
4879
- id: string;
4877
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4880
4878
  label: string;
4881
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4879
+ id: string;
4882
4880
  capture: "at_action" | "historical_lookup" | "fixture";
4883
4881
  locator?: string | undefined;
4884
4882
  }[] | undefined;
@@ -4886,15 +4884,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4886
4884
  kind: "correction_approved";
4887
4885
  correctionId: string;
4888
4886
  approvedBy: {
4889
- id: string;
4890
- label: string;
4891
4887
  kind: "agent" | "human";
4888
+ label: string;
4889
+ id: string;
4892
4890
  };
4893
4891
  note?: string | undefined;
4894
4892
  evidence?: {
4895
- id: string;
4893
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4896
4894
  label: string;
4897
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4895
+ id: string;
4898
4896
  capture: "at_action" | "historical_lookup" | "fixture";
4899
4897
  locator?: string | undefined;
4900
4898
  }[] | undefined;
@@ -4904,9 +4902,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4904
4902
  correctionId: string;
4905
4903
  replacementDecisionId: string;
4906
4904
  evidence?: {
4907
- id: string;
4905
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4908
4906
  label: string;
4909
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4907
+ id: string;
4910
4908
  capture: "at_action" | "historical_lookup" | "fixture";
4911
4909
  locator?: string | undefined;
4912
4910
  }[] | undefined;
@@ -4919,9 +4917,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4919
4917
  recallReceiptId: string;
4920
4918
  capturedAtAction: boolean;
4921
4919
  evidence?: {
4922
- id: string;
4920
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4923
4921
  label: string;
4924
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4922
+ id: string;
4925
4923
  capture: "at_action" | "historical_lookup" | "fixture";
4926
4924
  locator?: string | undefined;
4927
4925
  }[] | undefined;
@@ -4934,24 +4932,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4934
4932
  recallReceiptId: string;
4935
4933
  staleDecisionAbsent: boolean;
4936
4934
  evidence?: {
4937
- id: string;
4935
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4938
4936
  label: string;
4939
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4937
+ id: string;
4940
4938
  capture: "at_action" | "historical_lookup" | "fixture";
4941
4939
  locator?: string | undefined;
4942
4940
  }[] | undefined;
4943
4941
  } | {
4944
- summary: string;
4945
4942
  kind: "mission_completed";
4943
+ summary: string;
4946
4944
  outcome: "failed" | "recovered" | "inconclusive";
4947
4945
  evidence?: {
4948
- id: string;
4946
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4949
4947
  label: string;
4950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4948
+ id: string;
4951
4949
  capture: "at_action" | "historical_lookup" | "fixture";
4952
4950
  locator?: string | undefined;
4953
4951
  }[] | undefined;
4954
4952
  };
4953
+ namespace: string;
4955
4954
  eventId: string;
4956
4955
  occurredAt: string;
4957
4956
  missionId: string;
@@ -7503,6 +7502,235 @@ interface ActivityIndexRefresher {
7503
7502
  }
7504
7503
  declare function refreshActivityIndex(qmd: ActivityIndexRefresher, collection: string, signal?: AbortSignal): Promise<void>;
7505
7504
 
7505
+ /**
7506
+ * Timeline-card layer over the #1899 activity store (issue #2049).
7507
+ *
7508
+ * A card is a deterministic, replayable *derived view*: it references snapshot
7509
+ * evidence by store row id and content identity, never copying or re-storing
7510
+ * it. All intervals are half-open [start, end) UTC; day bucketing reuses the
7511
+ * DST-aware `activityDayWindow` from the digest layer, so timeline days and
7512
+ * digests always agree on day bounds.
7513
+ */
7514
+ /** Reference to one stored observation (subset of ActivitySnapshot; no text). */
7515
+ interface TimelineObservation {
7516
+ /** Store row id of the referenced snapshot. */
7517
+ id: number;
7518
+ machine: string;
7519
+ /** UTC ISO-8601 capture instant. */
7520
+ capturedAtUtc: string;
7521
+ app: string;
7522
+ windowTitle: string;
7523
+ /** Browser tab URL, when the frontmost window is a known browser. */
7524
+ browserUrl?: string;
7525
+ /** Content hash of the referenced snapshot (identity, not re-stored text). */
7526
+ contentHash: string;
7527
+ }
7528
+ /** User-declared pause, half-open [startUtc, endUtc) in UTC. Not idle. */
7529
+ interface TimelinePause {
7530
+ startUtc: string;
7531
+ endUtc: string;
7532
+ /** Free-form reason, kept verbatim on the derived pause card. */
7533
+ reason?: string;
7534
+ }
7535
+ /** One category definition in the registry. */
7536
+ interface TimelineCategory {
7537
+ /** Stable ID (`system.*` is the reserved namespace). */
7538
+ id: string;
7539
+ name: string;
7540
+ /** Hex color, `#RRGGBB`. */
7541
+ color: string;
7542
+ description: string;
7543
+ /** Presentation order; equal orders tie-break by id. */
7544
+ order: number;
7545
+ /** Reserved system category (idle / pause / unknown). */
7546
+ system?: boolean;
7547
+ /** Marks the reserved idle category. */
7548
+ idle?: boolean;
7549
+ }
7550
+ type TimelineCardKind = "activity" | "idle" | "pause";
7551
+ /** Provenance stamped on a card when a manual correction was applied. */
7552
+ interface TimelineManualEdit {
7553
+ categoryId?: string;
7554
+ title?: string;
7555
+ editedAtUtc: string;
7556
+ }
7557
+ /** A persisted manual correction; keyed by stable card id, survives rebuilds. */
7558
+ interface TimelineCorrection {
7559
+ cardId: string;
7560
+ categoryId?: string;
7561
+ title?: string;
7562
+ editedAtUtc: string;
7563
+ }
7564
+ /** Stable first/last evidence identity keys bracketing a card's sources. */
7565
+ interface TimelineEvidenceRange {
7566
+ firstKey: string;
7567
+ lastKey: string;
7568
+ }
7569
+ interface TimelineCard {
7570
+ /** Stable content-derived id (never array position or wall-clock). */
7571
+ id: string;
7572
+ kind: TimelineCardKind;
7573
+ title: string;
7574
+ summary: string;
7575
+ categoryId: string;
7576
+ /** Classification confidence; manual corrections set it to 1. */
7577
+ confidence: number;
7578
+ /** Half-open [startUtc, endUtc) UTC bounds. */
7579
+ startUtc: string;
7580
+ endUtc: string;
7581
+ /** Local day key (YYYY-MM-DD) this card belongs to. */
7582
+ dayKey: string;
7583
+ timezone: string;
7584
+ /** Track the card was built on; null for machine-less pause cards. */
7585
+ machine: string | null;
7586
+ /** Store row ids of the source snapshots (empty for idle/pause). */
7587
+ evidenceIds: number[];
7588
+ /** First/last evidence identity keys (null for idle/pause). */
7589
+ evidenceRange: TimelineEvidenceRange | null;
7590
+ /** Present only when a manual correction was applied. */
7591
+ manualEdit?: TimelineManualEdit;
7592
+ }
7593
+ /** One replayable local day of cards. */
7594
+ interface TimelineDay {
7595
+ formatVersion: number;
7596
+ date: string;
7597
+ timezone: string;
7598
+ startUtc: string;
7599
+ endUtc: string;
7600
+ cards: TimelineCard[];
7601
+ }
7602
+
7603
+ /**
7604
+ * Timeline category registry (issue #2049): ordered definitions with stable
7605
+ * IDs, names, colors, descriptions, and system/idle flags. Reserved system
7606
+ * categories (`system.*`) must always be present; unknown activity stays
7607
+ * visible in `system.unknown` rather than being silently reassigned.
7608
+ */
7609
+
7610
+ declare const TIMELINE_RESERVED_UNKNOWN = "system.unknown";
7611
+ declare const TIMELINE_RESERVED_IDLE = "system.idle";
7612
+ declare const TIMELINE_RESERVED_PAUSE = "system.pause";
7613
+ /**
7614
+ * Default registry. User category orders step by 10 so a corrected registry
7615
+ * can insert between without renumbering; system categories sort last.
7616
+ */
7617
+ declare const DEFAULT_TIMELINE_CATEGORIES: readonly TimelineCategory[];
7618
+ /**
7619
+ * Validate a registry: unique well-formed ids, non-empty names, hex colors,
7620
+ * integer orders, reserved categories present and correctly flagged, and the
7621
+ * `system.` namespace reserved. Throws with the offending key path.
7622
+ */
7623
+ declare function validateTimelineCategories(categories: readonly TimelineCategory[]): void;
7624
+ /**
7625
+ * Deterministic presentation order: by `order`, then by id as the equal-order
7626
+ * tie-breaker, so two categories sharing an order never swap between runs.
7627
+ */
7628
+ declare function sortTimelineCategories(categories: readonly TimelineCategory[]): TimelineCategory[];
7629
+
7630
+ /**
7631
+ * Deterministic first-pass timeline classification (issue #2049).
7632
+ *
7633
+ * Signal-only: application name, browser domain, and window-title keywords.
7634
+ * No LLM, no scoring, no intent inference — an app/window match says what was
7635
+ * on screen, never that the user meant it. First matching rule (in declared
7636
+ * order: domain, then app, then title) wins; no match stays visible in the
7637
+ * reserved `system.unknown` category with confidence 0.
7638
+ */
7639
+
7640
+ interface TimelineClassification {
7641
+ categoryId: string;
7642
+ confidence: number;
7643
+ }
7644
+ /**
7645
+ * Classify one observation. Throws if a rule targets a category missing from
7646
+ * the registry (configuration error must fail loudly, not fall back silently).
7647
+ */
7648
+ declare function classifyTimelineObservation(observation: Pick<TimelineObservation, "app" | "windowTitle" | "browserUrl">, categories: readonly TimelineCategory[]): TimelineClassification;
7649
+
7650
+ /**
7651
+ * Deterministic timeline-card day builder (issue #2049).
7652
+ *
7653
+ * Semantics (all half-open [start, end), all UTC internally):
7654
+ * - Observations are grouped per capture machine and sorted by
7655
+ * (canonical capture instant, contentHash) — never by array position.
7656
+ * - Compatibility rule: two consecutive observations on one machine merge
7657
+ * into the same card iff they share the exact (app, windowTitle) pair.
7658
+ * - Gap rule: a merge happens only when the inter-observation gap is
7659
+ * ≤ MERGE_GAP_MS (2 min). A card's end extends from its last observation
7660
+ * by at most MAX_DWELL_MS (15 min, matching the digest dwell cap), is
7661
+ * clipped by the next observation on the machine, by any user pause, and
7662
+ * by the local day end — so cards never overlap on a track.
7663
+ * - Idle: any uncovered remainder between consecutive cards on a machine
7664
+ * track (which in practice means a gap > MAX_DWELL_MS) becomes a derived
7665
+ * idle card with no evidence. The day's leading/trailing uncovered ranges
7666
+ * are represented by the absence of cards, not by invented idle.
7667
+ * - Pause: user-declared intervals are unioned, clipped to the day, emitted
7668
+ * as pause cards, and never overlapped by activity dwell or idle.
7669
+ * - Nothing is invented for gaps: idle/pause cards carry no evidence and are
7670
+ * flagged by kind; an app/window match never claims user intent.
7671
+ *
7672
+ * Output is byte-stable: identical inputs produce identical
7673
+ * `serializeTimelineDay()` bytes across runs and process restarts.
7674
+ */
7675
+
7676
+ declare const TIMELINE_FORMAT_VERSION = 1;
7677
+ /** Max inter-observation gap that still merges into one card. */
7678
+ declare const TIMELINE_MERGE_GAP_MS = 120000;
7679
+ /** Max dwell attributed past a card's last observation (digest parity). */
7680
+ declare const TIMELINE_MAX_DWELL_MS: number;
7681
+ interface TimelineBuildInput {
7682
+ /** Local day, YYYY-MM-DD. */
7683
+ date: string;
7684
+ timezone: string;
7685
+ /** Stored observations for the day (e.g. from ActivityStore.listSnapshotsForDay). */
7686
+ observations: readonly TimelineObservation[];
7687
+ /** User-declared pauses (UTC, half-open); may overlap and extend past the day. */
7688
+ pauses?: readonly TimelinePause[];
7689
+ /** Registry override; validated. Defaults to the built-in registry. */
7690
+ categories?: readonly TimelineCategory[];
7691
+ }
7692
+ /** Build one replayable local day of timeline cards. Pure; throws on bad input. */
7693
+ declare function buildTimelineDay(input: TimelineBuildInput): TimelineDay;
7694
+ /**
7695
+ * Canonical byte-stable serialization. Card objects are constructed in a
7696
+ * fixed field order, so `JSON.stringify` output is stable across runs.
7697
+ */
7698
+ declare function serializeTimelineDay(day: TimelineDay): string;
7699
+
7700
+ /**
7701
+ * Timeline correction store (issue #2049): manual card/category edits that
7702
+ * survive day rebuilds. Corrections are keyed by the card's stable
7703
+ * content-derived id, so rebuilding the same evidence reproduces the same
7704
+ * card ids and re-applies the edit; an explicit `reset()` reverts a card to
7705
+ * its derived values. Corrections are user edits, not evidence — they live in
7706
+ * their own small SQLite file, never in the #1899 snapshot store.
7707
+ */
7708
+
7709
+ declare function timelineCorrectionDatabasePath(memoryDir: string): string;
7710
+ declare class TimelineCorrectionStore {
7711
+ private readonly db;
7712
+ constructor(db: BetterSqlite3Database);
7713
+ static open(memoryDir: string): TimelineCorrectionStore;
7714
+ /**
7715
+ * Persist one correction. `categoryId`, when set, must exist in `categories`
7716
+ * (defaults to the built-in registry) — an unknown category is a malformed
7717
+ * edit and must fail rather than silently strand the card.
7718
+ */
7719
+ upsert(correction: TimelineCorrection, categories?: readonly TimelineCategory[]): void;
7720
+ get(cardId: string): TimelineCorrection | undefined;
7721
+ /** All corrections ordered by card id (deterministic listing). */
7722
+ list(): TimelineCorrection[];
7723
+ /** Explicitly reset a card to its derived values; true when a correction existed. */
7724
+ reset(cardId: string): boolean;
7725
+ close(): void;
7726
+ }
7727
+ /**
7728
+ * Apply corrections to built cards. Overrides title/category, sets confidence
7729
+ * to 1 (a human confirmed it), and stamps manual-edit provenance. Uncorrected
7730
+ * cards pass through untouched, so serialization stays byte-stable for them.
7731
+ */
7732
+ declare function applyTimelineCorrections(cards: readonly TimelineCard[], corrections: readonly TimelineCorrection[]): TimelineCard[];
7733
+
7506
7734
  interface ActivityMemoryWriter {
7507
7735
  /**
7508
7736
  * Locate an existing activity memory for this day whose normalized content
@@ -7971,6 +8199,7 @@ declare function runOkfCliCommand(argv: string[], io: {
7971
8199
  memoryDir: string;
7972
8200
  conformanceEnabled: boolean;
7973
8201
  sweepEnabled: boolean;
8202
+ indexFilesEnabled: boolean;
7974
8203
  }): Promise<number>;
7975
8204
 
7976
8205
  type LocalSessionRole = "user" | "assistant" | "tool" | "system" | "other";
@@ -8289,4 +8518,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
8289
8518
  */
8290
8519
  declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
8291
8520
 
8292
- export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityWearablesMeetingsDaySource, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, 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_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type ExportSkillsResult, FallbackLlmClient, type FileChange, 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, 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, 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 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, ParsedSkillBundle, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, 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 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, 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, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, 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, activityCursorKey, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyCorrections, applyOffTheRecord, applyPreferenceDriftRanking, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildPhraseMatcher, buildProcedureRecallSection, builtInConnectorPackageSpecifier, classifyOrigin, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, 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, exportSkillBundles, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isEligibleActivityFact, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeSpaces, normalizeOriginUrl, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistImportedSkills, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, serializeActivityDigest, serializeDayTranscript, shareSpace, stableHash, storageWearableDayReader, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timezoneOffsetIso, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, withRawEntityPageMutation, writeManifest, writeMeetingEpisodeMemory };
8521
+ export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityWearablesMeetingsDaySource, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, 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_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, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type ExportSkillsResult, FallbackLlmClient, type FileChange, 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, 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, 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 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, ParsedSkillBundle, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, 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 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, 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, type TimelineBuildInput, type TimelineCard, type TimelineCardKind, type TimelineCategory, type TimelineClassification, type TimelineCorrection, TimelineCorrectionStore, type TimelineDay, type TimelineEvidenceRange, type TimelineManualEdit, type TimelineObservation, type TimelinePause, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, 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, activityCursorKey, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyCorrections, applyOffTheRecord, applyPreferenceDriftRanking, applyTimelineCorrections, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildPhraseMatcher, buildProcedureRecallSection, buildTimelineDay, builtInConnectorPackageSpecifier, classifyOrigin, classifyTimelineObservation, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, 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, exportSkillBundles, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isEligibleActivityFact, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeSpaces, normalizeOriginUrl, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistImportedSkills, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, serializeActivityDigest, serializeDayTranscript, serializeTimelineDay, shareSpace, sortTimelineCategories, stableHash, storageWearableDayReader, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timelineCorrectionDatabasePath, timezoneOffsetIso, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, validateTimelineCategories, watchForChanges, withRawEntityPageMutation, writeManifest, writeMeetingEpisodeMemory };