@remnic/core 9.54.7 → 9.55.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 (600) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -11
  2. package/dist/access-admin-ops-surface.js +64 -62
  3. package/dist/access-authorization-probe.d.ts +11 -11
  4. package/dist/access-authorization-probe.js +65 -63
  5. package/dist/access-boundary.d.ts +11 -11
  6. package/dist/access-boundary.js +64 -62
  7. package/dist/access-cli.js +141 -138
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +11 -11
  11. package/dist/access-extraction-force-flush.js +64 -62
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +11 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +11 -11
  15. package/dist/access-http-offline-stream.d.ts +11 -11
  16. package/dist/access-http-query.js +64 -62
  17. package/dist/access-http.d.ts +12 -12
  18. package/dist/access-http.js +80 -78
  19. package/dist/access-identity-continuity-surface.d.ts +9 -9
  20. package/dist/access-identity-continuity-surface.js +64 -62
  21. package/dist/access-lcm-surface.d.ts +11 -11
  22. package/dist/access-lcm-surface.js +64 -62
  23. package/dist/access-mcp.d.ts +11 -11
  24. package/dist/access-mcp.js +73 -71
  25. package/dist/access-memory-search-fanout.d.ts +2 -2
  26. package/dist/access-memory-search-fanout.js +3 -3
  27. package/dist/{access-namespace-preflight-CCNn_6NE.d.ts → access-namespace-preflight-Bpt-SYP0.d.ts} +1 -1
  28. package/dist/access-namespace-preflight.d.ts +3 -3
  29. package/dist/access-namespace-preflight.js +64 -62
  30. package/dist/access-observe-write-surface.d.ts +11 -11
  31. package/dist/access-observe-write-surface.js +64 -62
  32. package/dist/access-offline-manifest.d.ts +9 -9
  33. package/dist/access-offline-manifest.js +9 -9
  34. package/dist/access-operations-batch.js +68 -66
  35. package/dist/access-operations.d.ts +14 -14
  36. package/dist/access-operations.js +72 -70
  37. package/dist/access-recall-concurrency.d.ts +11 -11
  38. package/dist/access-recall-concurrency.js +64 -62
  39. package/dist/access-recall-response.d.ts +11 -11
  40. package/dist/access-recall-response.js +64 -62
  41. package/dist/access-recall-surface.d.ts +11 -11
  42. package/dist/access-recall-surface.js +64 -62
  43. package/dist/access-schema.d.ts +88 -88
  44. package/dist/access-schema.js +4 -4
  45. package/dist/{access-service-DK82xdNi.d.ts → access-service-4DO8XMq6.d.ts} +71 -71
  46. package/dist/access-service-helpers.d.ts +11 -11
  47. package/dist/access-service.d.ts +11 -11
  48. package/dist/access-service.js +64 -62
  49. package/dist/access-surface-catalog.d.ts +11 -11
  50. package/dist/access-surface-catalog.js +66 -64
  51. package/dist/access-surface-catalog.js.map +1 -1
  52. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  53. package/dist/action-confidence.d.ts +1 -1
  54. package/dist/active-memory-bridge.d.ts +1 -1
  55. package/dist/active-memory-bridge.js +3 -3
  56. package/dist/active-recall.d.ts +1 -1
  57. package/dist/active-recall.js +4 -2
  58. package/dist/active-recall.js.map +1 -1
  59. package/dist/adapters/index.js +4 -4
  60. package/dist/adapters/registry.js +2 -2
  61. package/dist/ambient-provenance.d.ts +1 -1
  62. package/dist/artifact-search.d.ts +1 -1
  63. package/dist/{auto-sync-NR3GPCOA.js → auto-sync-5HVRCMGZ.js} +3 -3
  64. package/dist/behavior-learner.d.ts +1 -1
  65. package/dist/behavior-learner.js +1 -1
  66. package/dist/behavior-signals.d.ts +1 -1
  67. package/dist/bootstrap.d.ts +9 -9
  68. package/dist/briefing-window.d.ts +36 -0
  69. package/dist/briefing-window.js +9 -0
  70. package/dist/briefing.d.ts +2 -2
  71. package/dist/briefing.js +24 -22
  72. package/dist/buffer-surprise-report.d.ts +1 -1
  73. package/dist/buffer-turn-helpers.d.ts +1 -1
  74. package/dist/buffer.d.ts +2 -2
  75. package/dist/buffer.js +8 -7
  76. package/dist/bulk-import/index.d.ts +3 -3
  77. package/dist/calibration.d.ts +1 -1
  78. package/dist/capabilities.d.ts +8 -8
  79. package/dist/capabilities.js +1 -1
  80. package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
  81. package/dist/{catalog-DGFf8mD9.d.ts → catalog-BasnO3Bw.d.ts} +1 -1
  82. package/dist/causal-behavior.d.ts +1 -1
  83. package/dist/causal-behavior.js +2 -2
  84. package/dist/causal-chain.js +2 -2
  85. package/dist/causal-consolidation.d.ts +1 -1
  86. package/dist/causal-consolidation.js +26 -25
  87. package/dist/causal-consolidation.js.map +1 -1
  88. package/dist/causal-retrieval.js +2 -2
  89. package/dist/causal-trajectory-graph.d.ts +1 -1
  90. package/dist/causal-trajectory-graph.js +2 -2
  91. package/dist/causal-trajectory.js +1 -1
  92. package/dist/{chunk-LEPOP46W.js → chunk-227UFSEQ.js} +4 -4
  93. package/dist/{chunk-I6WYQSX4.js → chunk-2NKY7OC6.js} +14 -2
  94. package/dist/chunk-2NKY7OC6.js.map +1 -0
  95. package/dist/{chunk-FTPONF6B.js → chunk-2YREVL4T.js} +2 -2
  96. package/dist/{chunk-PG4QBPVG.js → chunk-3VFVQDZO.js} +8 -4
  97. package/dist/chunk-3VFVQDZO.js.map +1 -0
  98. package/dist/{chunk-KM55SMLG.js → chunk-4KM3V6VS.js} +2 -2
  99. package/dist/{chunk-HAEU3ZW7.js → chunk-4OW2T32G.js} +2 -2
  100. package/dist/{chunk-43SEBY2M.js → chunk-4QFCAKNM.js} +1 -1
  101. package/dist/{chunk-RZQ6W2W4.js → chunk-4THNU7OF.js} +427 -52
  102. package/dist/chunk-4THNU7OF.js.map +1 -0
  103. package/dist/{chunk-76JJSXK7.js → chunk-5QHDXMXP.js} +1 -1
  104. package/dist/chunk-5QHDXMXP.js.map +1 -0
  105. package/dist/{chunk-KFBOPMF6.js → chunk-5ZIWRMZM.js} +5 -5
  106. package/dist/{chunk-GWFSVJ4P.js → chunk-6KTXE6A3.js} +2 -2
  107. package/dist/{chunk-FPLM2TKD.js → chunk-6P2NUVM5.js} +26 -24
  108. package/dist/chunk-6P2NUVM5.js.map +1 -0
  109. package/dist/chunk-6Q3ZTEF6.js +54 -0
  110. package/dist/chunk-6Q3ZTEF6.js.map +1 -0
  111. package/dist/{chunk-GJ776BC2.js → chunk-7NSC4IVA.js} +4 -3
  112. package/dist/{chunk-GJ776BC2.js.map → chunk-7NSC4IVA.js.map} +1 -1
  113. package/dist/{chunk-GN3WRFJY.js → chunk-7PKNOXYB.js} +14 -14
  114. package/dist/{chunk-AHVEHR6K.js → chunk-7ZNJN5WZ.js} +13 -1
  115. package/dist/chunk-7ZNJN5WZ.js.map +1 -0
  116. package/dist/{chunk-RZRUV6N2.js → chunk-ANMIOQPU.js} +2 -2
  117. package/dist/{chunk-RPSYDM6C.js → chunk-BPWZDHFM.js} +2 -2
  118. package/dist/{chunk-CIAI24TQ.js → chunk-BVRREV3N.js} +2 -2
  119. package/dist/{chunk-M4YHAODQ.js → chunk-BWJMBJCY.js} +306 -244
  120. package/dist/chunk-BWJMBJCY.js.map +1 -0
  121. package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
  122. package/dist/{chunk-I3MSGFGD.js → chunk-CKSEJD7K.js} +2 -2
  123. package/dist/{chunk-46SZBVDS.js → chunk-CME347TM.js} +2 -2
  124. package/dist/{chunk-BGLY7EEM.js → chunk-CMRUIKVA.js} +3 -3
  125. package/dist/{chunk-HGJ6NJ4E.js → chunk-D4LVHPOA.js} +2 -2
  126. package/dist/{chunk-YK6BDDHP.js → chunk-DFEODULB.js} +2 -2
  127. package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
  128. package/dist/{chunk-W6FNX2LP.js → chunk-E57E5SCS.js} +2 -2
  129. package/dist/{chunk-M23RF3LJ.js → chunk-ER4BLWI6.js} +2 -2
  130. package/dist/{chunk-QZLDRQ4I.js → chunk-F7M36OG2.js} +5 -5
  131. package/dist/{chunk-D3LBIUWV.js → chunk-FK7T55BA.js} +80 -61
  132. package/dist/{chunk-D3LBIUWV.js.map → chunk-FK7T55BA.js.map} +1 -1
  133. package/dist/{chunk-5FD7JMTX.js → chunk-FONW766A.js} +2 -2
  134. package/dist/{chunk-3TIZPSJC.js → chunk-FR3FNPCJ.js} +3 -3
  135. package/dist/{chunk-G6DFSS6A.js → chunk-GUNIXT36.js} +2 -2
  136. package/dist/{chunk-K2UGPTYY.js → chunk-H6ZXNH5I.js} +2 -2
  137. package/dist/{chunk-BRR5EUTF.js → chunk-HC55YCNK.js} +2 -2
  138. package/dist/{chunk-PT54WISF.js → chunk-HQ2VGCGP.js} +14 -14
  139. package/dist/{chunk-AHZOMHWN.js → chunk-HXXGZ4KV.js} +1 -1
  140. package/dist/{chunk-ZRZVLB7O.js → chunk-HYVBJLEK.js} +5 -5
  141. package/dist/{chunk-W5ZKPI34.js → chunk-IFFW25NG.js} +330 -202
  142. package/dist/chunk-IFFW25NG.js.map +1 -0
  143. package/dist/{chunk-3GD2HFR6.js → chunk-IGWVMA4Y.js} +2 -2
  144. package/dist/{chunk-FONWBCVY.js → chunk-IKT6ZVO7.js} +3 -3
  145. package/dist/{chunk-TO7ZTWJW.js → chunk-ION47U3Z.js} +3 -3
  146. package/dist/{chunk-OCIP6YMD.js → chunk-IXGQP4RZ.js} +3 -3
  147. package/dist/{chunk-UPLZNJKN.js → chunk-JFPZEWY3.js} +3 -3
  148. package/dist/{chunk-SMNYAMJD.js → chunk-JKL53MOY.js} +4 -4
  149. package/dist/{chunk-2FKEIPIT.js → chunk-JOA4Q765.js} +3 -3
  150. package/dist/{chunk-2XRE6FLM.js → chunk-JUOZ62Y7.js} +3 -1
  151. package/dist/chunk-JUOZ62Y7.js.map +1 -0
  152. package/dist/{chunk-MLPTFODV.js → chunk-KHQ57QLJ.js} +4 -4
  153. package/dist/{chunk-NSVDUN76.js → chunk-LCU5R6TQ.js} +8 -3
  154. package/dist/chunk-LCU5R6TQ.js.map +1 -0
  155. package/dist/{chunk-IQ4NVWEF.js → chunk-LYPG7GOO.js} +4 -4
  156. package/dist/{chunk-IQ4NVWEF.js.map → chunk-LYPG7GOO.js.map} +1 -1
  157. package/dist/{chunk-KRTY3ENI.js → chunk-MDVBCPOS.js} +2 -2
  158. package/dist/{chunk-UCTS3DDH.js → chunk-N655QIA2.js} +4 -4
  159. package/dist/{chunk-5NB726GV.js → chunk-NFQB6RJT.js} +3 -3
  160. package/dist/{chunk-UYYW2KPU.js → chunk-NP7FLVZW.js} +2 -2
  161. package/dist/{chunk-CX5SW2EW.js → chunk-NRFU5MVH.js} +4 -4
  162. package/dist/{chunk-NISZQW72.js → chunk-O4TTIMOP.js} +2 -2
  163. package/dist/{chunk-7BD6O7ZV.js → chunk-O54B5YNM.js} +3 -3
  164. package/dist/{chunk-UKYS3NU5.js → chunk-ONCWJBWV.js} +3 -3
  165. package/dist/{chunk-OUKBMQ2O.js → chunk-PD66CVSD.js} +2 -2
  166. package/dist/{chunk-QYN5PXDZ.js → chunk-PPUTUOC3.js} +2 -2
  167. package/dist/{chunk-MIH3CJPN.js → chunk-PSH3VFZ7.js} +4 -4
  168. package/dist/{chunk-MK5VEWCR.js → chunk-QKPDN325.js} +2 -2
  169. package/dist/{chunk-EVWWT3KE.js → chunk-QP2IZTUR.js} +2 -2
  170. package/dist/{chunk-K26NWEOC.js → chunk-QSDPVZPD.js} +5 -5
  171. package/dist/{chunk-S354QO4R.js → chunk-QV7OEHFN.js} +2 -2
  172. package/dist/{chunk-HBUFQRIM.js → chunk-QZR3WT3L.js} +2 -2
  173. package/dist/{chunk-EEAMSNSG.js → chunk-R7TZ2HCS.js} +2 -2
  174. package/dist/{chunk-YXQEKCZM.js → chunk-R7UHWPYI.js} +2 -2
  175. package/dist/{chunk-2QSZNTDO.js → chunk-RKNJBZ55.js} +4 -4
  176. package/dist/{chunk-L6Z5OAS4.js → chunk-RL3EGL7A.js} +2 -2
  177. package/dist/{chunk-QCECHYZL.js → chunk-RVO6TCTU.js} +6 -6
  178. package/dist/{chunk-JYG4OLWH.js → chunk-S6AH7WSF.js} +3 -3
  179. package/dist/{chunk-6CYHUWCO.js → chunk-SFCJCMZQ.js} +5 -5
  180. package/dist/{chunk-V6ERBR7U.js → chunk-T3HC7RJ7.js} +2 -2
  181. package/dist/chunk-T3JQTCCO.js +94 -0
  182. package/dist/chunk-T3JQTCCO.js.map +1 -0
  183. package/dist/{chunk-FFRTNF3L.js → chunk-T6EQPZ6E.js} +4 -4
  184. package/dist/{chunk-FWX7W5PM.js → chunk-TAMY4NKO.js} +2 -2
  185. package/dist/{chunk-7TBXNYLO.js → chunk-TAPFJ3ET.js} +2 -2
  186. package/dist/{chunk-RUNORG2P.js → chunk-TF3LMM5E.js} +6 -11
  187. package/dist/chunk-TF3LMM5E.js.map +1 -0
  188. package/dist/{chunk-ZUKIUXHQ.js → chunk-TFXYQNBH.js} +12 -12
  189. package/dist/{chunk-26ZXBTYN.js → chunk-THACANBI.js} +4 -4
  190. package/dist/{chunk-37DZZFFM.js → chunk-TLVLJSWS.js} +2 -2
  191. package/dist/{chunk-6QPI2ITJ.js → chunk-TVKWT2CY.js} +4 -4
  192. package/dist/{chunk-H7NAZ3UB.js → chunk-U7BMN33M.js} +2 -2
  193. package/dist/chunk-UBCBDJOB.js +22 -0
  194. package/dist/chunk-UBCBDJOB.js.map +1 -0
  195. package/dist/{chunk-XZHE2DEN.js → chunk-UTDMY476.js} +50 -6
  196. package/dist/chunk-UTDMY476.js.map +1 -0
  197. package/dist/{chunk-6LKEUCEM.js → chunk-UXREWVW4.js} +2 -2
  198. package/dist/{chunk-SUPEYLH2.js → chunk-UYCIS6V5.js} +2 -2
  199. package/dist/{chunk-EKTP7MNS.js → chunk-V3IT3XNG.js} +7 -7
  200. package/dist/{chunk-IPLYGWQF.js → chunk-VDX2J7OX.js} +6 -6
  201. package/dist/{chunk-IKP5OYQQ.js → chunk-VWP5DEHU.js} +2 -2
  202. package/dist/{chunk-NQMSEB5D.js → chunk-X5OIPQME.js} +2 -2
  203. package/dist/{chunk-RBII7637.js → chunk-XRPPHIRI.js} +2 -2
  204. package/dist/{chunk-BIJAWZYW.js → chunk-YMOPYG3K.js} +6 -6
  205. package/dist/{cli-BPDUXnAl.d.ts → cli-CQdYilcx.d.ts} +61 -11
  206. package/dist/cli.d.ts +18 -18
  207. package/dist/cli.js +107 -102
  208. package/dist/coding/pre-action-gate.d.ts +1 -1
  209. package/dist/coding/pre-action-gate.js +2 -2
  210. package/dist/compounding/engine.d.ts +2 -2
  211. package/dist/compounding/engine.js +25 -24
  212. package/dist/compounding/preference-consolidator.d.ts +1 -1
  213. package/dist/compression-optimizer.d.ts +1 -1
  214. package/dist/config-security.d.ts +7 -0
  215. package/dist/config-security.js +12 -0
  216. package/dist/config.d.ts +1 -1
  217. package/dist/config.js +4 -2
  218. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  219. package/dist/connectors/codex-materialize-runner.js +23 -22
  220. package/dist/connectors/codex-materialize.d.ts +1 -1
  221. package/dist/connectors/index.d.ts +1 -1
  222. package/dist/connectors/index.js +24 -23
  223. package/dist/consolidation-provenance-check.d.ts +2 -2
  224. package/dist/consolidation-undo.d.ts +2 -2
  225. package/dist/contradiction/index.d.ts +2 -2
  226. package/dist/contradiction/index.js +4 -4
  227. package/dist/{contradiction-scan-JDTBXRGW.js → contradiction-scan-522AYLQC.js} +3 -3
  228. package/dist/converge-config.d.ts +1 -1
  229. package/dist/convergence-refresh.d.ts +2 -2
  230. package/dist/convergence-refresh.js +25 -24
  231. package/dist/conversation-index/backend.d.ts +1 -1
  232. package/dist/conversation-index/backend.js +2 -2
  233. package/dist/conversation-index/chunker.d.ts +1 -1
  234. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  235. package/dist/conversation-index/indexer.d.ts +1 -1
  236. package/dist/conversation-index/search.d.ts +1 -1
  237. package/dist/corpus-watermark.d.ts +1 -1
  238. package/dist/corpus-watermark.js +25 -24
  239. package/dist/day-summary.d.ts +1 -1
  240. package/dist/day-summary.js +2 -2
  241. package/dist/delinearize.d.ts +1 -1
  242. package/dist/dependency-propagation-config.d.ts +1 -1
  243. package/dist/{dependency-propagation-delivery-CzEfB31P.d.ts → dependency-propagation-delivery-C_K_AHcv.d.ts} +1 -1
  244. package/dist/direct-answer-wiring.d.ts +1 -1
  245. package/dist/direct-answer.d.ts +1 -1
  246. package/dist/embedding-fallback.d.ts +1 -1
  247. package/dist/embedding-fallback.js +2 -2
  248. package/dist/enrichment/index.d.ts +1 -1
  249. package/dist/entity-retrieval.d.ts +4 -2
  250. package/dist/entity-retrieval.js +24 -22
  251. package/dist/entity-schema.d.ts +1 -1
  252. package/dist/explicit-capture.d.ts +9 -9
  253. package/dist/explicit-capture.js +6 -6
  254. package/dist/external-wiki-access.d.ts +11 -11
  255. package/dist/external-wiki-access.js +65 -63
  256. package/dist/external-wiki-collection-registration.d.ts +1 -1
  257. package/dist/external-wiki-collection.d.ts +1 -1
  258. package/dist/external-wiki-mcp-tools.d.ts +11 -11
  259. package/dist/extraction-error-classification.d.ts +1 -1
  260. package/dist/extraction-faithfulness.d.ts +1 -1
  261. package/dist/extraction-judge-telemetry.d.ts +1 -1
  262. package/dist/extraction-judge-training.d.ts +1 -1
  263. package/dist/extraction-judge.d.ts +1 -1
  264. package/dist/extraction-liveness.d.ts +1 -1
  265. package/dist/extraction-normalization.d.ts +1 -1
  266. package/dist/extraction-normalization.js +3 -3
  267. package/dist/extraction-prompt.d.ts +1 -1
  268. package/dist/extraction-prompt.js +2 -2
  269. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  270. package/dist/extraction-source-grounding.d.ts +1 -1
  271. package/dist/extraction.d.ts +1 -1
  272. package/dist/extraction.js +38 -37
  273. package/dist/fallback-llm.d.ts +1 -1
  274. package/dist/{first-start-migration-CRZCZAJN.js → first-start-migration-HZ4VPRFQ.js} +2 -2
  275. package/dist/{forget-EHGGJZLX.js → forget-5TWK7CZT.js} +3 -3
  276. package/dist/graph-dashboard-diff.d.ts +1 -1
  277. package/dist/graph-dashboard-key.d.ts +1 -1
  278. package/dist/graph-dashboard-parser.d.ts +1 -1
  279. package/dist/{graph-edge-decay-65KMOJWY.js → graph-edge-decay-ZXGBXNPW.js} +4 -4
  280. package/dist/graph-edge-decay-ZXGBXNPW.js.map +1 -0
  281. package/dist/graph-edge-reinforcement.d.ts +1 -1
  282. package/dist/graph-path-reconstruction.d.ts +1 -1
  283. package/dist/graph-path-scoring.d.ts +1 -1
  284. package/dist/graph-snapshot.d.ts +1 -1
  285. package/dist/graph-snapshot.js +3 -3
  286. package/dist/graph.d.ts +1 -1
  287. package/dist/graph.js +3 -3
  288. package/dist/harmonic-retrieval.js +1 -1
  289. package/dist/importance.d.ts +1 -1
  290. package/dist/importers/index.d.ts +1 -1
  291. package/dist/in-flight-reads.d.ts +1 -1
  292. package/dist/index.d.ts +755 -706
  293. package/dist/index.js +214 -188
  294. package/dist/intent.d.ts +1 -1
  295. package/dist/lcm/engine.d.ts +1 -1
  296. package/dist/lcm/index.d.ts +1 -1
  297. package/dist/lcm/index.js +3 -3
  298. package/dist/lcm/tools.d.ts +1 -1
  299. package/dist/lifecycle.d.ts +1 -1
  300. package/dist/live-connectors-runner.d.ts +1 -1
  301. package/dist/local-llm.d.ts +1 -1
  302. package/dist/local-llm.js +3 -3
  303. package/dist/local-model-endpoint.d.ts +1 -1
  304. package/dist/maintenance/memory-governance.d.ts +1 -1
  305. package/dist/maintenance/memory-governance.js +23 -22
  306. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  307. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +23 -22
  308. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  309. package/dist/maintenance/rebuild-memory-projection.js +24 -23
  310. package/dist/{maintenance-C8aRWfhq.d.ts → maintenance-DdP931i9.d.ts} +3 -3
  311. package/dist/mcp-memory-inspector-app.d.ts +11 -11
  312. package/dist/memory-action-policy.d.ts +1 -1
  313. package/dist/memory-cache.d.ts +1 -1
  314. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  315. package/dist/memory-projection-store.d.ts +1 -1
  316. package/dist/memory-provenance.d.ts +1 -1
  317. package/dist/memory-snapshot.d.ts +1 -1
  318. package/dist/memory-worth-outcomes.d.ts +2 -2
  319. package/dist/models-json.d.ts +1 -1
  320. package/dist/namespaces/migrate.d.ts +3 -3
  321. package/dist/namespaces/migrate.js +24 -23
  322. package/dist/namespaces/principal.d.ts +1 -1
  323. package/dist/namespaces/principal.js +2 -2
  324. package/dist/namespaces/search.d.ts +1 -1
  325. package/dist/namespaces/search.js +8 -8
  326. package/dist/namespaces/storage.d.ts +3 -3
  327. package/dist/namespaces/storage.js +23 -22
  328. package/dist/native-knowledge.d.ts +1 -1
  329. package/dist/offline-sync-impression-drain.d.ts +1 -1
  330. package/dist/offline-sync-impression-drain.js +5 -5
  331. package/dist/operator-doctor-corpus.d.ts +1 -1
  332. package/dist/operator-doctor-corpus.js +26 -25
  333. package/dist/operator-doctor-replica.d.ts +1 -1
  334. package/dist/operator-toolkit.d.ts +3 -3
  335. package/dist/operator-toolkit.js +38 -36
  336. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  337. package/dist/orchestration/compression-guideline-coordinator.js +2 -2
  338. package/dist/orchestration/maintenance.d.ts +4 -4
  339. package/dist/orchestration/maintenance.js +31 -30
  340. package/dist/{orchestrator-D85CzDDY.d.ts → orchestrator-DxUWX7gs.d.ts} +26 -20
  341. package/dist/orchestrator.d.ts +9 -9
  342. package/dist/orchestrator.js +171 -168
  343. package/dist/patterns-cli.d.ts +1 -1
  344. package/dist/{pipeline-DPcUifCO.d.ts → pipeline-BKUMU1vU.d.ts} +1 -1
  345. package/dist/policy-runtime.d.ts +1 -1
  346. package/dist/policy-runtime.js +1 -1
  347. package/dist/proactive-contention.d.ts +1 -1
  348. package/dist/provenance.d.ts +1 -1
  349. package/dist/{public-http-D3GBeII4.d.ts → public-http-Dw0bJhcC.d.ts} +1 -1
  350. package/dist/{qmd-dFCHp1r0.d.ts → qmd-DJP-GLFe.d.ts} +1 -1
  351. package/dist/qmd-preflight.d.ts +2 -2
  352. package/dist/qmd-recall-cache.d.ts +1 -1
  353. package/dist/qmd.d.ts +2 -2
  354. package/dist/qmd.js +4 -4
  355. package/dist/recall-concurrency-config.d.ts +1 -1
  356. package/dist/recall-context-composition.d.ts +11 -1
  357. package/dist/recall-context-composition.js +4 -1
  358. package/dist/recall-disclosure-escalation.d.ts +1 -1
  359. package/dist/recall-explain-renderer.d.ts +1 -1
  360. package/dist/recall-explain-renderer.js +3 -3
  361. package/dist/recall-memory-map.d.ts +1 -1
  362. package/dist/recall-planner-llm.d.ts +1 -1
  363. package/dist/recall-planner-llm.js +3 -3
  364. package/dist/recall-state.d.ts +1 -1
  365. package/dist/recall-tag-filter.d.ts +1 -1
  366. package/dist/recall-timings.d.ts +1 -1
  367. package/dist/recall-xray-cli.d.ts +1 -1
  368. package/dist/recall-xray-cli.js +4 -4
  369. package/dist/recall-xray-renderer.d.ts +1 -1
  370. package/dist/recall-xray-renderer.js +3 -3
  371. package/dist/recall-xray.d.ts +1 -1
  372. package/dist/recall-xray.js +2 -2
  373. package/dist/reconcile/cursor.d.ts +1 -1
  374. package/dist/reconcile/manifest.d.ts +1 -1
  375. package/dist/reconcile/manifest.js +3 -3
  376. package/dist/reconcile/plan.d.ts +1 -1
  377. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  378. package/dist/replay/normalizers/claude.d.ts +1 -1
  379. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  380. package/dist/replay/normalizers/shared.d.ts +1 -1
  381. package/dist/replay/runner.d.ts +1 -1
  382. package/dist/replay/types.d.ts +1 -1
  383. package/dist/replica-divergence.d.ts +1 -1
  384. package/dist/replica-peers-config.d.ts +1 -1
  385. package/dist/{resolution-MMOD5WC4.js → resolution-DKMBPXHI.js} +3 -3
  386. package/dist/resolution-DKMBPXHI.js.map +1 -0
  387. package/dist/resolve-auth-token.d.ts +1 -1
  388. package/dist/resume-bundles.js +5 -3
  389. package/dist/retrieval-agents.d.ts +2 -2
  390. package/dist/retrieval-tiers.d.ts +1 -1
  391. package/dist/routing/engine.d.ts +1 -1
  392. package/dist/routing/store.d.ts +1 -1
  393. package/dist/salvage-envelope.d.ts +1 -1
  394. package/dist/salvage-envelope.js +2 -2
  395. package/dist/schemas.d.ts +138 -138
  396. package/dist/{scope-profiles-DICK7GtN.d.ts → scope-profiles-CaKcnB-6.d.ts} +1 -1
  397. package/dist/search/embed-helper.d.ts +1 -1
  398. package/dist/search/embed-helper.js +2 -2
  399. package/dist/search/factory.d.ts +1 -1
  400. package/dist/search/factory.js +7 -7
  401. package/dist/search/index.d.ts +1 -1
  402. package/dist/search/index.js +7 -7
  403. package/dist/search/lancedb-backend.d.ts +1 -1
  404. package/dist/search/meilisearch-backend.d.ts +1 -1
  405. package/dist/search/noop-backend.d.ts +1 -1
  406. package/dist/search/orama-backend.d.ts +1 -1
  407. package/dist/search/port.d.ts +1 -1
  408. package/dist/search/remote-backend.d.ts +1 -1
  409. package/dist/{semantic-consolidation-BP7NAX0N.d.ts → semantic-consolidation-P0eMWqh-.d.ts} +1 -1
  410. package/dist/semantic-consolidation.d.ts +2 -2
  411. package/dist/semantic-consolidation.js +24 -23
  412. package/dist/semantic-rule-promotion.js +23 -22
  413. package/dist/semantic-rule-verifier.d.ts +1 -1
  414. package/dist/semantic-rule-verifier.js +23 -22
  415. package/dist/{service-DT-pJyda.d.ts → service-D5GQLxq_.d.ts} +2 -2
  416. package/dist/session-observer-bands.d.ts +1 -1
  417. package/dist/session-observer-state.d.ts +1 -1
  418. package/dist/shared-context/manager.d.ts +9 -9
  419. package/dist/shared-context/manager.js +2 -2
  420. package/dist/signal.d.ts +1 -1
  421. package/dist/source-agent-qualifier.d.ts +1 -1
  422. package/dist/source-agent-qualifier.js +31 -30
  423. package/dist/{storage-qOnaJ1Lw.d.ts → storage-DIyil2ll.d.ts} +18 -10
  424. package/dist/storage.d.ts +2 -2
  425. package/dist/storage.js +22 -21
  426. package/dist/summarizer.d.ts +1 -1
  427. package/dist/summarizer.js +4 -4
  428. package/dist/summary-snapshot.d.ts +1 -1
  429. package/dist/support-passport/index.d.ts +14 -14
  430. package/dist/support-passport/index.js +67 -65
  431. package/dist/temporal-supersession.d.ts +2 -2
  432. package/dist/temporal-timeline-recall.d.ts +3 -1
  433. package/dist/temporal-timeline-recall.js +3 -1
  434. package/dist/temporal-validity.d.ts +1 -1
  435. package/dist/threading.d.ts +1 -1
  436. package/dist/tier-migration.d.ts +2 -2
  437. package/dist/tier-routing.d.ts +1 -1
  438. package/dist/{tier-stats-EXYSKSVN.js → tier-stats-7E6OBUSD.js} +2 -2
  439. package/dist/topics.d.ts +1 -1
  440. package/dist/transcript.d.ts +1 -1
  441. package/dist/transfer/autodetect.js +1 -1
  442. package/dist/transfer/backup.js +2 -2
  443. package/dist/transfer/capsule-export.js +3 -3
  444. package/dist/transfer/capsule-import.js +2 -2
  445. package/dist/transfer/types.d.ts +66 -66
  446. package/dist/trust-score-stage.d.ts +1 -1
  447. package/dist/trust-score.d.ts +1 -1
  448. package/dist/{types-ed-SvS2t.d.ts → types-CbXieHKr.d.ts} +15 -3
  449. package/dist/types.d.ts +1 -1
  450. package/dist/types.js +1 -1
  451. package/dist/utility-runtime.d.ts +1 -1
  452. package/dist/verified-recall.js +23 -22
  453. package/dist/write-envelope.d.ts +5 -2
  454. package/dist/write-envelope.js +1 -1
  455. package/package.json +2 -2
  456. package/src/bitemporal-frontmatter.test.ts +20 -1
  457. package/src/briefing-window.ts +27 -0
  458. package/src/briefing.test.ts +29 -0
  459. package/src/briefing.ts +2 -9
  460. package/src/capabilities.test.ts +2 -0
  461. package/src/capabilities.ts +17 -17
  462. package/src/cli.ts +14 -0
  463. package/src/config-security.ts +131 -0
  464. package/src/config.test.ts +61 -0
  465. package/src/config.ts +2 -1
  466. package/src/entity-retrieval.ts +31 -24
  467. package/src/index.ts +4 -6
  468. package/src/maintenance/memory-governance.ts +1 -0
  469. package/src/orchestration/conversation-index-coordinator.ts +13 -2
  470. package/src/orchestration/extraction-injection-gate.ts +154 -0
  471. package/src/orchestration/extraction-origin-context.ts +90 -0
  472. package/src/orchestration/extraction-persist.ts +66 -64
  473. package/src/orchestration/extraction-run.ts +4 -2
  474. package/src/orchestration/extraction-security.test.ts +271 -0
  475. package/src/orchestration/graph-recall-coordinator.ts +2 -0
  476. package/src/orchestration/namespace-read-fanout.ts +1 -0
  477. package/src/orchestration/qmd-result-resolver.ts +1 -0
  478. package/src/orchestration/recall-internal.ts +17 -11
  479. package/src/orchestration/recall-result-formatter.ts +35 -6
  480. package/src/orchestration/recall-search-pipeline.ts +3 -5
  481. package/src/orchestration/recall-search-prefilter.ts +1 -0
  482. package/src/orchestrator.ts +2 -1
  483. package/src/procedural/procedure-recall.ts +11 -1
  484. package/src/recall-authority-fence.test.ts +180 -0
  485. package/src/recall-context-composition.ts +28 -0
  486. package/src/security/audit-memory-cli.ts +42 -0
  487. package/src/security/audit-memory.test.ts +252 -0
  488. package/src/security/audit-memory.ts +318 -0
  489. package/src/security/injection-screen.test.ts +77 -0
  490. package/src/security/injection-screen.ts +158 -0
  491. package/src/security/origin-authority.test.ts +61 -0
  492. package/src/security/origin-authority.ts +88 -0
  493. package/src/security/types.ts +14 -0
  494. package/src/semantic-rule-promotion.ts +1 -1
  495. package/src/storage/memory-read-store.ts +1 -0
  496. package/src/storage/windowed-memory-read.ts +109 -0
  497. package/src/storage.ts +17 -15
  498. package/src/temporal-timeline-recall.test.ts +18 -0
  499. package/src/temporal-timeline-recall.ts +12 -1
  500. package/src/testing/subjects/windowed-memory-read.test.ts +146 -0
  501. package/src/types.ts +4 -4
  502. package/src/write-envelope.test.ts +1 -0
  503. package/src/write-envelope.ts +9 -0
  504. package/dist/chunk-2XRE6FLM.js.map +0 -1
  505. package/dist/chunk-76JJSXK7.js.map +0 -1
  506. package/dist/chunk-AHVEHR6K.js.map +0 -1
  507. package/dist/chunk-FPLM2TKD.js.map +0 -1
  508. package/dist/chunk-I6WYQSX4.js.map +0 -1
  509. package/dist/chunk-M4YHAODQ.js.map +0 -1
  510. package/dist/chunk-NSVDUN76.js.map +0 -1
  511. package/dist/chunk-PG4QBPVG.js.map +0 -1
  512. package/dist/chunk-RUNORG2P.js.map +0 -1
  513. package/dist/chunk-RZQ6W2W4.js.map +0 -1
  514. package/dist/chunk-W5ZKPI34.js.map +0 -1
  515. package/dist/chunk-XZHE2DEN.js.map +0 -1
  516. /package/dist/{auto-sync-NR3GPCOA.js.map → auto-sync-5HVRCMGZ.js.map} +0 -0
  517. /package/dist/{capsule-crypto-7FJQINUR.js.map → briefing-window.js.map} +0 -0
  518. /package/dist/{contradiction-scan-JDTBXRGW.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
  519. /package/dist/{chunk-LEPOP46W.js.map → chunk-227UFSEQ.js.map} +0 -0
  520. /package/dist/{chunk-FTPONF6B.js.map → chunk-2YREVL4T.js.map} +0 -0
  521. /package/dist/{chunk-KM55SMLG.js.map → chunk-4KM3V6VS.js.map} +0 -0
  522. /package/dist/{chunk-HAEU3ZW7.js.map → chunk-4OW2T32G.js.map} +0 -0
  523. /package/dist/{chunk-43SEBY2M.js.map → chunk-4QFCAKNM.js.map} +0 -0
  524. /package/dist/{chunk-KFBOPMF6.js.map → chunk-5ZIWRMZM.js.map} +0 -0
  525. /package/dist/{chunk-GWFSVJ4P.js.map → chunk-6KTXE6A3.js.map} +0 -0
  526. /package/dist/{chunk-GN3WRFJY.js.map → chunk-7PKNOXYB.js.map} +0 -0
  527. /package/dist/{chunk-RZRUV6N2.js.map → chunk-ANMIOQPU.js.map} +0 -0
  528. /package/dist/{chunk-RPSYDM6C.js.map → chunk-BPWZDHFM.js.map} +0 -0
  529. /package/dist/{chunk-CIAI24TQ.js.map → chunk-BVRREV3N.js.map} +0 -0
  530. /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
  531. /package/dist/{chunk-I3MSGFGD.js.map → chunk-CKSEJD7K.js.map} +0 -0
  532. /package/dist/{chunk-46SZBVDS.js.map → chunk-CME347TM.js.map} +0 -0
  533. /package/dist/{chunk-BGLY7EEM.js.map → chunk-CMRUIKVA.js.map} +0 -0
  534. /package/dist/{chunk-HGJ6NJ4E.js.map → chunk-D4LVHPOA.js.map} +0 -0
  535. /package/dist/{chunk-YK6BDDHP.js.map → chunk-DFEODULB.js.map} +0 -0
  536. /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
  537. /package/dist/{chunk-W6FNX2LP.js.map → chunk-E57E5SCS.js.map} +0 -0
  538. /package/dist/{chunk-M23RF3LJ.js.map → chunk-ER4BLWI6.js.map} +0 -0
  539. /package/dist/{chunk-QZLDRQ4I.js.map → chunk-F7M36OG2.js.map} +0 -0
  540. /package/dist/{chunk-5FD7JMTX.js.map → chunk-FONW766A.js.map} +0 -0
  541. /package/dist/{chunk-3TIZPSJC.js.map → chunk-FR3FNPCJ.js.map} +0 -0
  542. /package/dist/{chunk-G6DFSS6A.js.map → chunk-GUNIXT36.js.map} +0 -0
  543. /package/dist/{chunk-K2UGPTYY.js.map → chunk-H6ZXNH5I.js.map} +0 -0
  544. /package/dist/{chunk-BRR5EUTF.js.map → chunk-HC55YCNK.js.map} +0 -0
  545. /package/dist/{chunk-PT54WISF.js.map → chunk-HQ2VGCGP.js.map} +0 -0
  546. /package/dist/{chunk-AHZOMHWN.js.map → chunk-HXXGZ4KV.js.map} +0 -0
  547. /package/dist/{chunk-ZRZVLB7O.js.map → chunk-HYVBJLEK.js.map} +0 -0
  548. /package/dist/{chunk-3GD2HFR6.js.map → chunk-IGWVMA4Y.js.map} +0 -0
  549. /package/dist/{chunk-FONWBCVY.js.map → chunk-IKT6ZVO7.js.map} +0 -0
  550. /package/dist/{chunk-TO7ZTWJW.js.map → chunk-ION47U3Z.js.map} +0 -0
  551. /package/dist/{chunk-OCIP6YMD.js.map → chunk-IXGQP4RZ.js.map} +0 -0
  552. /package/dist/{chunk-UPLZNJKN.js.map → chunk-JFPZEWY3.js.map} +0 -0
  553. /package/dist/{chunk-SMNYAMJD.js.map → chunk-JKL53MOY.js.map} +0 -0
  554. /package/dist/{chunk-2FKEIPIT.js.map → chunk-JOA4Q765.js.map} +0 -0
  555. /package/dist/{chunk-MLPTFODV.js.map → chunk-KHQ57QLJ.js.map} +0 -0
  556. /package/dist/{chunk-KRTY3ENI.js.map → chunk-MDVBCPOS.js.map} +0 -0
  557. /package/dist/{chunk-UCTS3DDH.js.map → chunk-N655QIA2.js.map} +0 -0
  558. /package/dist/{chunk-5NB726GV.js.map → chunk-NFQB6RJT.js.map} +0 -0
  559. /package/dist/{chunk-UYYW2KPU.js.map → chunk-NP7FLVZW.js.map} +0 -0
  560. /package/dist/{chunk-CX5SW2EW.js.map → chunk-NRFU5MVH.js.map} +0 -0
  561. /package/dist/{chunk-NISZQW72.js.map → chunk-O4TTIMOP.js.map} +0 -0
  562. /package/dist/{chunk-7BD6O7ZV.js.map → chunk-O54B5YNM.js.map} +0 -0
  563. /package/dist/{chunk-UKYS3NU5.js.map → chunk-ONCWJBWV.js.map} +0 -0
  564. /package/dist/{chunk-OUKBMQ2O.js.map → chunk-PD66CVSD.js.map} +0 -0
  565. /package/dist/{chunk-QYN5PXDZ.js.map → chunk-PPUTUOC3.js.map} +0 -0
  566. /package/dist/{chunk-MIH3CJPN.js.map → chunk-PSH3VFZ7.js.map} +0 -0
  567. /package/dist/{chunk-MK5VEWCR.js.map → chunk-QKPDN325.js.map} +0 -0
  568. /package/dist/{chunk-EVWWT3KE.js.map → chunk-QP2IZTUR.js.map} +0 -0
  569. /package/dist/{chunk-K26NWEOC.js.map → chunk-QSDPVZPD.js.map} +0 -0
  570. /package/dist/{chunk-S354QO4R.js.map → chunk-QV7OEHFN.js.map} +0 -0
  571. /package/dist/{chunk-HBUFQRIM.js.map → chunk-QZR3WT3L.js.map} +0 -0
  572. /package/dist/{chunk-EEAMSNSG.js.map → chunk-R7TZ2HCS.js.map} +0 -0
  573. /package/dist/{chunk-YXQEKCZM.js.map → chunk-R7UHWPYI.js.map} +0 -0
  574. /package/dist/{chunk-2QSZNTDO.js.map → chunk-RKNJBZ55.js.map} +0 -0
  575. /package/dist/{chunk-L6Z5OAS4.js.map → chunk-RL3EGL7A.js.map} +0 -0
  576. /package/dist/{chunk-QCECHYZL.js.map → chunk-RVO6TCTU.js.map} +0 -0
  577. /package/dist/{chunk-JYG4OLWH.js.map → chunk-S6AH7WSF.js.map} +0 -0
  578. /package/dist/{chunk-6CYHUWCO.js.map → chunk-SFCJCMZQ.js.map} +0 -0
  579. /package/dist/{chunk-V6ERBR7U.js.map → chunk-T3HC7RJ7.js.map} +0 -0
  580. /package/dist/{chunk-FFRTNF3L.js.map → chunk-T6EQPZ6E.js.map} +0 -0
  581. /package/dist/{chunk-FWX7W5PM.js.map → chunk-TAMY4NKO.js.map} +0 -0
  582. /package/dist/{chunk-7TBXNYLO.js.map → chunk-TAPFJ3ET.js.map} +0 -0
  583. /package/dist/{chunk-ZUKIUXHQ.js.map → chunk-TFXYQNBH.js.map} +0 -0
  584. /package/dist/{chunk-26ZXBTYN.js.map → chunk-THACANBI.js.map} +0 -0
  585. /package/dist/{chunk-37DZZFFM.js.map → chunk-TLVLJSWS.js.map} +0 -0
  586. /package/dist/{chunk-6QPI2ITJ.js.map → chunk-TVKWT2CY.js.map} +0 -0
  587. /package/dist/{chunk-H7NAZ3UB.js.map → chunk-U7BMN33M.js.map} +0 -0
  588. /package/dist/{chunk-6LKEUCEM.js.map → chunk-UXREWVW4.js.map} +0 -0
  589. /package/dist/{chunk-SUPEYLH2.js.map → chunk-UYCIS6V5.js.map} +0 -0
  590. /package/dist/{chunk-EKTP7MNS.js.map → chunk-V3IT3XNG.js.map} +0 -0
  591. /package/dist/{chunk-IPLYGWQF.js.map → chunk-VDX2J7OX.js.map} +0 -0
  592. /package/dist/{chunk-IKP5OYQQ.js.map → chunk-VWP5DEHU.js.map} +0 -0
  593. /package/dist/{chunk-NQMSEB5D.js.map → chunk-X5OIPQME.js.map} +0 -0
  594. /package/dist/{chunk-RBII7637.js.map → chunk-XRPPHIRI.js.map} +0 -0
  595. /package/dist/{chunk-BIJAWZYW.js.map → chunk-YMOPYG3K.js.map} +0 -0
  596. /package/dist/{graph-edge-decay-65KMOJWY.js.map → config-security.js.map} +0 -0
  597. /package/dist/{resolution-MMOD5WC4.js.map → contradiction-scan-522AYLQC.js.map} +0 -0
  598. /package/dist/{first-start-migration-CRZCZAJN.js.map → first-start-migration-HZ4VPRFQ.js.map} +0 -0
  599. /package/dist/{forget-EHGGJZLX.js.map → forget-5TWK7CZT.js.map} +0 -0
  600. /package/dist/{tier-stats-EXYSKSVN.js.map → tier-stats-7E6OBUSD.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { resolveRemnicConfigRecord } from './config-record.js';
4
4
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
5
5
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
6
6
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
7
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-D85CzDDY.js';
7
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-DxUWX7gs.js';
8
8
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
9
9
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
10
10
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
@@ -15,8 +15,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
15
15
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
16
16
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
17
17
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
18
- import { S as StorageManager, a as MeetingRecordStore } from './storage-qOnaJ1Lw.js';
19
- 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-qOnaJ1Lw.js';
18
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-DIyil2ll.js';
19
+ 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-DIyil2ll.js';
20
20
  import { SealedMemoryEnvelope } from './write-envelope.js';
21
21
  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';
22
22
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -25,13 +25,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
25
25
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
26
26
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
27
27
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
28
- import { C as CodingContext, bi as CodingModeConfig, aQ as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aT as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, w as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, aU as WearableSourceSettings, aY as WearablesConfig, aX as WearableSourceConnector, br as OffTheRecordMarkerSettings, b1 as WearableCorrectionRule, bs as WearableDayTranscriptMeta, a$ as WearableDayTranscript, aH as ActivitySnapshot, bt as ActivityDayMeta, bu as ActivityDayDigest, aK as ActivitySourceClient, bv as ActivitySourceCheck, bw as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bx as MeetingsDetectionConfig, aP as MeetingsDetectionInput, aS as DetectedMeeting, aM as MeetingsConfig, aO as MeetingRecord, by as MeetingAudioWindow, bz as MeetingAppSpan } from './types-ed-SvS2t.js';
29
- export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bB as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bC as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bD as BriefingWindow, a7 as BufferSurpriseEvent, bE as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bF as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bG as CodexCompatConfig, bh as ConsolidationObservation, bH as DEFAULT_RECALL_DISCLOSURE, bI as DisagreementKind, E as EntityFile, an as EntityStructuredSection, ao as ExtractedFact, bJ as FusedContribution, bK as FusedConversationProvenance, b3 as FusedDayFile, b2 as FusedDayMeta, aN as FusedMeeting, bL as FusedSegmentProvenance, b0 as FusedWearableConversation, bM as FusionSegmentInput, G as GatewayConfig, bN as ImportSourceRole, a8 as ImportTurn, bO as ImportTurnValidationIssue, aR as MeetingActivitySnapshot, aL as MeetingBuildInput, b4 as MeetingDetectionSource, bP as MeetingScreenContextEvent, bQ as MeetingSummaryMode, as as MemoryActionEligibilityContext, bR as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bS as MemoryObservation, bT as MemoryScope, bU as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, u as SecretRef, bV as SegmentPickReason, bW as WearableAuthCheck, bX as WearableFetchOptions, bY as WearableFetchPage, aW as WearableMemoryMode, aV as WearableNativeMemory, bZ as WearableNativeMemoryPage, a_ as WearableSourceStatus, aZ as WearableSyncSummary, b_ as WearableTranscriptSegment, b$ as isImportRole, c0 as isRecallDisclosure, c1 as parseIsoTimestamp, c2 as validateImportTurn } from './types-ed-SvS2t.js';
28
+ import { C as CodingContext, bi as CodingModeConfig, aQ as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aT as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, w as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, aU as WearableSourceSettings, aY as WearablesConfig, aX as WearableSourceConnector, br as OffTheRecordMarkerSettings, b1 as WearableCorrectionRule, bs as WearableDayTranscriptMeta, a$ as WearableDayTranscript, aH as ActivitySnapshot, bt as ActivityDayMeta, bu as ActivityDayDigest, aK as ActivitySourceClient, bv as ActivitySourceCheck, bw as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bx as MeetingsDetectionConfig, aP as MeetingsDetectionInput, aS as DetectedMeeting, aM as MeetingsConfig, aO as MeetingRecord, by as MeetingAudioWindow, bz as MeetingAppSpan } from './types-CbXieHKr.js';
29
+ export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bB as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bC as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bD as BriefingWindow, a7 as BufferSurpriseEvent, bE as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bF as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bG as CodexCompatConfig, bh as ConsolidationObservation, bH as DEFAULT_RECALL_DISCLOSURE, bI as DisagreementKind, E as EntityFile, an as EntityStructuredSection, ao as ExtractedFact, bJ as FusedContribution, bK as FusedConversationProvenance, b3 as FusedDayFile, b2 as FusedDayMeta, aN as FusedMeeting, bL as FusedSegmentProvenance, b0 as FusedWearableConversation, bM as FusionSegmentInput, G as GatewayConfig, bN as ImportSourceRole, a8 as ImportTurn, bO as ImportTurnValidationIssue, aR as MeetingActivitySnapshot, aL as MeetingBuildInput, b4 as MeetingDetectionSource, bP as MeetingScreenContextEvent, bQ as MeetingSummaryMode, as as MemoryActionEligibilityContext, bR as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bS as MemoryObservation, bT as MemoryScope, bU as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, u as SecretRef, bV as SegmentPickReason, bW as WearableAuthCheck, bX as WearableFetchOptions, bY as WearableFetchPage, aW as WearableMemoryMode, aV as WearableNativeMemory, bZ as WearableNativeMemoryPage, a_ as WearableSourceStatus, aZ as WearableSyncSummary, b_ as WearableTranscriptSegment, b$ as isImportRole, c0 as isRecallDisclosure, c1 as parseIsoTimestamp, c2 as validateImportTurn } from './types-CbXieHKr.js';
30
30
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
31
31
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
32
32
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
33
- import { f as EngramAccessService } from './access-service-DK82xdNi.js';
34
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-DK82xdNi.js';
33
+ import { f as EngramAccessService } from './access-service-4DO8XMq6.js';
34
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-4DO8XMq6.js';
35
35
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
36
36
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
37
37
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -39,25 +39,26 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
39
39
  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';
40
40
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
41
41
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
42
- export { Q as QmdClient } from './qmd-dFCHp1r0.js';
42
+ export { Q as QmdClient } from './qmd-DJP-GLFe.js';
43
43
  export { LanceDbBackend } from './search/lancedb-backend.js';
44
44
  export { OramaBackend } from './search/orama-backend.js';
45
45
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
46
46
  export { buildEntityRecallSection } from './entity-retrieval.js';
47
47
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
48
- export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-DGFf8mD9.js';
48
+ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-BasnO3Bw.js';
49
49
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
50
50
  export { storagePathHash } from './storage-paths.js';
51
51
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
52
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-CQdYilcx.js';
52
53
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
53
54
  export { EngramMcpServer } from './access-mcp.js';
54
55
  import { BoundOperation } from './access-boundary.js';
55
56
  export { OPERATION_NAMES, OperationName } from './access-boundary.js';
56
57
  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';
57
- 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-D3GBeII4.js';
58
+ 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-Dw0bJhcC.js';
58
59
  import { z } from 'zod';
59
60
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
60
- export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, RECALL_CONTEXT_SEPARATOR, RecallContextComposition, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
61
+ 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';
61
62
  export { ParsedXrayCliOptions, parseXrayBudgetFlag, parseXrayCliOptions } from './recall-xray-cli.js';
62
63
  export { RECALL_XRAY_FORMATS, RecallXrayFormat, parseXrayFormat, renderXray, renderXrayJson, renderXrayMarkdown, renderXrayText } from './recall-xray-renderer.js';
63
64
  export { RecallFilterTrace, RecallXrayResult, RecallXrayScoreDecomposition, RecallXrayServedBy, RecallXraySnapshot } from './recall-xray.js';
@@ -78,8 +79,8 @@ export { initLogger, log } from './logger.js';
78
79
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
79
80
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
80
81
  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';
81
- import { D as DiscoveredExtension } from './semantic-consolidation-BP7NAX0N.js';
82
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-BP7NAX0N.js';
82
+ import { D as DiscoveredExtension } from './semantic-consolidation-P0eMWqh-.js';
83
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-P0eMWqh-.js';
83
84
  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';
84
85
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
85
86
  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';
@@ -94,12 +95,11 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
94
95
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
95
96
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
96
97
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
97
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-DPcUifCO.js';
98
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BPDUXnAl.js';
99
- 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-DT-pJyda.js';
100
- 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-DT-pJyda.js';
101
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-C8aRWfhq.js';
102
- 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-C8aRWfhq.js';
98
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-BKUMU1vU.js';
99
+ 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-D5GQLxq_.js';
100
+ 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-D5GQLxq_.js';
101
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DdP931i9.js';
102
+ 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-DdP931i9.js';
103
103
  import { SearchExecutionOptions } from './search/port.js';
104
104
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
105
105
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -117,7 +117,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
117
117
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
118
118
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
119
119
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
120
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-DICK7GtN.js';
120
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-CaKcnB-6.js';
121
121
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
122
122
  export { ContinuityImprovementLoop } from './types-continuity.js';
123
123
  export { EngramAccessInputError } from './access-errors.js';
@@ -166,7 +166,7 @@ import './conversation-index/chunker.js';
166
166
  import './conversation-index/backend.js';
167
167
  import './faiss-adapter-BHecI1fF.js';
168
168
  import './runtime/child-process.js';
169
- import './dependency-propagation-delivery-CzEfB31P.js';
169
+ import './dependency-propagation-delivery-C_K_AHcv.js';
170
170
  import './namespaces/storage.js';
171
171
  import './threading.js';
172
172
  import './graph-444E-DrF.js';
@@ -185,7 +185,7 @@ import './policy-runtime.js';
185
185
  import './profiling.js';
186
186
  import './schemas.js';
187
187
  import './extraction-error-classification.js';
188
- import './access-namespace-preflight-CCNn_6NE.js';
188
+ import './access-namespace-preflight-Bpt-SYP0.js';
189
189
  import './recall-explain-renderer.js';
190
190
  import './access-citation.js';
191
191
  import './access-health-types.js';
@@ -202,14 +202,8 @@ import './capsule-cli.js';
202
202
  import './transfer/capsule-export.js';
203
203
  import './qmd-status.js';
204
204
  import './search/embed-helper.js';
205
- import 'node:http';
206
- import './write-rate-limiter.js';
207
- import './adapters/types.js';
208
- import './adapters/registry.js';
209
- import './recall-audit.js';
210
- import 'node:stream';
211
- import 'node:fs/promises';
212
205
  import './maintenance/migrate-observations.js';
206
+ import 'node:stream';
213
207
  import './maintenance/rebuild-memory-projection.js';
214
208
  import './maintenance/rebuild-observations.js';
215
209
  import './maintenance/archive-observations.js';
@@ -226,6 +220,12 @@ import './utility-telemetry.js';
226
220
  import './utility-learner.js';
227
221
  import './resume-bundles.js';
228
222
  import './semantic-rule-promotion.js';
223
+ import 'node:http';
224
+ import './write-rate-limiter.js';
225
+ import './adapters/types.js';
226
+ import './adapters/registry.js';
227
+ import './recall-audit.js';
228
+ import 'node:fs/promises';
229
229
 
230
230
  /**
231
231
  * Coding-agent namespace overlay (issue #569 PR 2 + PR 3).
@@ -549,6 +549,55 @@ declare function buildProcedureMarkdownBody(steps: ProcedureStep[]): string;
549
549
  */
550
550
  declare function parseProcedureStepsFromBody(content: string): ProcedureStep[] | null;
551
551
 
552
+ /**
553
+ * Origin metadata and the single recall-time authority fence.
554
+ *
555
+ * The least-privilege default is intentional: data with no trusted origin
556
+ * must not acquire user authority by accident (#1955).
557
+ */
558
+ type OriginClass = "user" | "assistant" | "tool_output" | `connector:${string}` | `import:${string}` | "unknown";
559
+ /**
560
+ * Convert untrusted frontmatter or wire data into a known origin class.
561
+ * Unknown values remain unknown instead of being promoted to user authority.
562
+ */
563
+ declare function parseOriginClass(value: unknown): OriginClass;
564
+ /** Classify a write origin. Import and connector identity outrank turn role. */
565
+ declare function classifyOrigin(input: {
566
+ turnRole?: "user" | "assistant" | "tool" | string;
567
+ connectorId?: string;
568
+ importAdapter?: string;
569
+ }): OriginClass;
570
+ declare const DEFAULT_UNTRUSTED_ORIGINS: readonly string[];
571
+ /** Match exact origins and prefix wildcards such as connector:* and import:*. */
572
+ declare function isUntrustedOrigin(origin: OriginClass, untrustedOrigins: readonly string[]): boolean;
573
+ /**
574
+ * Render data inside one authority-neutral quote block.
575
+ *
576
+ * Every content line gets a `> ` marker. This is also the escape rule: a line
577
+ * equal to the delimiter becomes `> <delimiter>`, so embedded content cannot
578
+ * close the block. The header stays unquoted for machine-readable consistency.
579
+ */
580
+ declare function renderAuthorityFence(content: string, origin: OriginClass): string;
581
+
582
+ /**
583
+ * Deterministic write-path screening for prompt-injection-shaped facts (#1955).
584
+ *
585
+ * This module has no model or storage calls. It only returns explainable
586
+ * findings so callers can quarantine a candidate for human review.
587
+ */
588
+ interface InjectionScreenFinding {
589
+ rule: string;
590
+ excerpt: string;
591
+ }
592
+ interface InjectionScreenResult {
593
+ score: number;
594
+ findings: InjectionScreenFinding[];
595
+ quarantine: boolean;
596
+ }
597
+ declare const INJECTION_SCREEN_THRESHOLD = 4;
598
+ /** Screen a candidate fact without model calls, I/O, or mutable state. */
599
+ declare function screenCandidateFact(content: string): InjectionScreenResult;
600
+
552
601
  /**
553
602
  * @remnic/core — Live Connectors Registry (issue #683 PR 1/N)
554
603
  *
@@ -899,15 +948,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
899
948
  locator: z.ZodOptional<z.ZodString>;
900
949
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
901
950
  }, "strict", z.ZodTypeAny, {
902
- id: string;
951
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
903
952
  label: string;
904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
953
+ id: string;
905
954
  capture: "at_action" | "historical_lookup" | "fixture";
906
955
  locator?: string | undefined;
907
956
  }, {
908
- id: string;
957
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
909
958
  label: string;
910
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
959
+ id: string;
911
960
  capture: "at_action" | "historical_lookup" | "fixture";
912
961
  locator?: string | undefined;
913
962
  }>;
@@ -924,15 +973,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
924
973
  locator: z.ZodOptional<z.ZodString>;
925
974
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
926
975
  }, "strict", z.ZodTypeAny, {
927
- id: string;
976
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
928
977
  label: string;
929
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
978
+ id: string;
930
979
  capture: "at_action" | "historical_lookup" | "fixture";
931
980
  locator?: string | undefined;
932
981
  }, {
933
- id: string;
982
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
934
983
  label: string;
935
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
984
+ id: string;
936
985
  capture: "at_action" | "historical_lookup" | "fixture";
937
986
  locator?: string | undefined;
938
987
  }>, "many">>;
@@ -940,9 +989,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
940
989
  kind: "mission_started";
941
990
  title: string;
942
991
  evidence: {
943
- id: string;
992
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
944
993
  label: string;
945
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
994
+ id: string;
946
995
  capture: "at_action" | "historical_lookup" | "fixture";
947
996
  locator?: string | undefined;
948
997
  }[];
@@ -954,9 +1003,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
954
1003
  objective: string;
955
1004
  runMode: "replay" | "fixture" | "live";
956
1005
  evidence?: {
957
- id: string;
1006
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
958
1007
  label: string;
959
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1008
+ id: string;
960
1009
  capture: "at_action" | "historical_lookup" | "fixture";
961
1010
  locator?: string | undefined;
962
1011
  }[] | undefined;
@@ -972,15 +1021,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
972
1021
  locator: z.ZodOptional<z.ZodString>;
973
1022
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
974
1023
  }, "strict", z.ZodTypeAny, {
975
- id: string;
1024
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
976
1025
  label: string;
977
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1026
+ id: string;
978
1027
  capture: "at_action" | "historical_lookup" | "fixture";
979
1028
  locator?: string | undefined;
980
1029
  }, {
981
- id: string;
1030
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
982
1031
  label: string;
983
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1032
+ id: string;
984
1033
  capture: "at_action" | "historical_lookup" | "fixture";
985
1034
  locator?: string | undefined;
986
1035
  }>, "many">>;
@@ -988,32 +1037,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
988
1037
  sessionId: z.ZodString;
989
1038
  kind: z.ZodLiteral<"agent_status">;
990
1039
  }, "strict", z.ZodTypeAny, {
991
- label: string;
992
- status: "failed" | "blocked" | "working" | "complete" | "idle";
993
1040
  kind: "agent_status";
1041
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1042
+ label: string;
994
1043
  role: string;
995
1044
  agentId: string;
996
1045
  sessionId: string;
997
1046
  evidence: {
998
- id: string;
1047
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
999
1048
  label: string;
1000
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1049
+ id: string;
1001
1050
  capture: "at_action" | "historical_lookup" | "fixture";
1002
1051
  locator?: string | undefined;
1003
1052
  }[];
1004
1053
  detail?: string | undefined;
1005
1054
  }, {
1006
- label: string;
1007
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1008
1055
  kind: "agent_status";
1056
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1057
+ label: string;
1009
1058
  role: string;
1010
1059
  agentId: string;
1011
1060
  sessionId: string;
1012
1061
  detail?: string | undefined;
1013
1062
  evidence?: {
1014
- id: string;
1063
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1015
1064
  label: string;
1016
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1065
+ id: string;
1017
1066
  capture: "at_action" | "historical_lookup" | "fixture";
1018
1067
  locator?: string | undefined;
1019
1068
  }[] | undefined;
@@ -1027,15 +1076,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1027
1076
  locator: z.ZodOptional<z.ZodString>;
1028
1077
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1029
1078
  }, "strict", z.ZodTypeAny, {
1030
- id: string;
1079
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1031
1080
  label: string;
1032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1081
+ id: string;
1033
1082
  capture: "at_action" | "historical_lookup" | "fixture";
1034
1083
  locator?: string | undefined;
1035
1084
  }, {
1036
- id: string;
1085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1037
1086
  label: string;
1038
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1087
+ id: string;
1039
1088
  capture: "at_action" | "historical_lookup" | "fixture";
1040
1089
  locator?: string | undefined;
1041
1090
  }>, "many">>;
@@ -1043,28 +1092,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1043
1092
  sessionId: z.ZodString;
1044
1093
  kind: z.ZodLiteral<"agent_output">;
1045
1094
  }, "strict", z.ZodTypeAny, {
1046
- summary: string;
1047
1095
  kind: "agent_output";
1096
+ summary: string;
1048
1097
  agentId: string;
1049
1098
  sessionId: string;
1050
1099
  evidence: {
1051
- id: string;
1100
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1052
1101
  label: string;
1053
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1102
+ id: string;
1054
1103
  capture: "at_action" | "historical_lookup" | "fixture";
1055
1104
  locator?: string | undefined;
1056
1105
  }[];
1057
1106
  outputId: string;
1058
1107
  }, {
1059
- summary: string;
1060
1108
  kind: "agent_output";
1109
+ summary: string;
1061
1110
  agentId: string;
1062
1111
  sessionId: string;
1063
1112
  outputId: string;
1064
1113
  evidence?: {
1065
- id: string;
1114
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1066
1115
  label: string;
1067
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1116
+ id: string;
1068
1117
  capture: "at_action" | "historical_lookup" | "fixture";
1069
1118
  locator?: string | undefined;
1070
1119
  }[] | undefined;
@@ -1080,15 +1129,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1080
1129
  locator: z.ZodOptional<z.ZodString>;
1081
1130
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1082
1131
  }, "strict", z.ZodTypeAny, {
1083
- id: string;
1132
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1084
1133
  label: string;
1085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1134
+ id: string;
1086
1135
  capture: "at_action" | "historical_lookup" | "fixture";
1087
1136
  locator?: string | undefined;
1088
1137
  }, {
1089
- id: string;
1138
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1090
1139
  label: string;
1091
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1140
+ id: string;
1092
1141
  capture: "at_action" | "historical_lookup" | "fixture";
1093
1142
  locator?: string | undefined;
1094
1143
  }>, "many">>;
@@ -1101,9 +1150,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1101
1150
  statement: string;
1102
1151
  sessionId: string;
1103
1152
  evidence: {
1104
- id: string;
1153
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1105
1154
  label: string;
1106
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1155
+ id: string;
1107
1156
  capture: "at_action" | "historical_lookup" | "fixture";
1108
1157
  locator?: string | undefined;
1109
1158
  }[];
@@ -1119,9 +1168,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1119
1168
  decisionId: string;
1120
1169
  confidence?: number | undefined;
1121
1170
  evidence?: {
1122
- id: string;
1171
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1123
1172
  label: string;
1124
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1173
+ id: string;
1125
1174
  capture: "at_action" | "historical_lookup" | "fixture";
1126
1175
  locator?: string | undefined;
1127
1176
  }[] | undefined;
@@ -1138,25 +1187,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1138
1187
  locator: z.ZodOptional<z.ZodString>;
1139
1188
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1140
1189
  }, "strict", z.ZodTypeAny, {
1141
- id: string;
1190
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1142
1191
  label: string;
1143
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1192
+ id: string;
1144
1193
  capture: "at_action" | "historical_lookup" | "fixture";
1145
1194
  locator?: string | undefined;
1146
1195
  }, {
1147
- id: string;
1196
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1148
1197
  label: string;
1149
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1198
+ id: string;
1150
1199
  capture: "at_action" | "historical_lookup" | "fixture";
1151
1200
  locator?: string | undefined;
1152
1201
  }>, "many">>;
1153
1202
  }, "strict", z.ZodTypeAny, {
1154
- summary: string;
1155
1203
  kind: "conflict_detected";
1204
+ summary: string;
1156
1205
  evidence: {
1157
- id: string;
1206
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1158
1207
  label: string;
1159
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1208
+ id: string;
1160
1209
  capture: "at_action" | "historical_lookup" | "fixture";
1161
1210
  locator?: string | undefined;
1162
1211
  }[];
@@ -1164,15 +1213,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1164
1213
  decisionIds: string[];
1165
1214
  agentIds: string[];
1166
1215
  }, {
1167
- summary: string;
1168
1216
  kind: "conflict_detected";
1217
+ summary: string;
1169
1218
  conflictId: string;
1170
1219
  decisionIds: string[];
1171
1220
  agentIds: string[];
1172
1221
  evidence?: {
1173
- id: string;
1222
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1174
1223
  label: string;
1175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1224
+ id: string;
1176
1225
  capture: "at_action" | "historical_lookup" | "fixture";
1177
1226
  locator?: string | undefined;
1178
1227
  }[] | undefined;
@@ -1192,27 +1241,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1192
1241
  locator: z.ZodOptional<z.ZodString>;
1193
1242
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1194
1243
  }, "strict", z.ZodTypeAny, {
1195
- id: string;
1244
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1196
1245
  label: string;
1197
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1246
+ id: string;
1198
1247
  capture: "at_action" | "historical_lookup" | "fixture";
1199
1248
  locator?: string | undefined;
1200
1249
  }, {
1201
- id: string;
1250
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1202
1251
  label: string;
1203
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1252
+ id: string;
1204
1253
  capture: "at_action" | "historical_lookup" | "fixture";
1205
1254
  locator?: string | undefined;
1206
1255
  }>, "many">>;
1207
1256
  }, "strict", z.ZodTypeAny, {
1257
+ kind: "test_result";
1208
1258
  summary: string;
1209
1259
  status: "error" | "failed" | "passed";
1210
- kind: "test_result";
1211
1260
  command: string;
1212
1261
  evidence: {
1213
- id: string;
1262
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1214
1263
  label: string;
1215
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1264
+ id: string;
1216
1265
  capture: "at_action" | "historical_lookup" | "fixture";
1217
1266
  locator?: string | undefined;
1218
1267
  }[];
@@ -1221,17 +1270,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1221
1270
  durationMs?: number | undefined;
1222
1271
  correctionId?: string | undefined;
1223
1272
  }, {
1273
+ kind: "test_result";
1224
1274
  summary: string;
1225
1275
  status: "error" | "failed" | "passed";
1226
- kind: "test_result";
1227
1276
  command: string;
1228
1277
  decisionId: string;
1229
1278
  testId: string;
1230
1279
  durationMs?: number | undefined;
1231
1280
  evidence?: {
1232
- id: string;
1281
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1233
1282
  label: string;
1234
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1283
+ id: string;
1235
1284
  capture: "at_action" | "historical_lookup" | "fixture";
1236
1285
  locator?: string | undefined;
1237
1286
  }[] | undefined;
@@ -1252,15 +1301,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1252
1301
  locator: z.ZodOptional<z.ZodString>;
1253
1302
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1254
1303
  }, "strict", z.ZodTypeAny, {
1255
- id: string;
1304
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1256
1305
  label: string;
1257
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1306
+ id: string;
1258
1307
  capture: "at_action" | "historical_lookup" | "fixture";
1259
1308
  locator?: string | undefined;
1260
1309
  }, {
1261
- id: string;
1310
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1262
1311
  label: string;
1263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1312
+ id: string;
1264
1313
  capture: "at_action" | "historical_lookup" | "fixture";
1265
1314
  locator?: string | undefined;
1266
1315
  }>, "many">>;
@@ -1269,9 +1318,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1269
1318
  statement: string;
1270
1319
  rationale: string;
1271
1320
  evidence: {
1272
- id: string;
1321
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1273
1322
  label: string;
1274
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1323
+ id: string;
1275
1324
  capture: "at_action" | "historical_lookup" | "fixture";
1276
1325
  locator?: string | undefined;
1277
1326
  }[];
@@ -1290,9 +1339,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1290
1339
  supersedesDecisionIds: string[];
1291
1340
  proposedBy: string;
1292
1341
  evidence?: {
1293
- id: string;
1342
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1294
1343
  label: string;
1295
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1344
+ id: string;
1296
1345
  capture: "at_action" | "historical_lookup" | "fixture";
1297
1346
  locator?: string | undefined;
1298
1347
  }[] | undefined;
@@ -1304,13 +1353,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1304
1353
  id: z.ZodString;
1305
1354
  label: z.ZodString;
1306
1355
  }, "strict", z.ZodTypeAny, {
1307
- id: string;
1308
- label: string;
1309
1356
  kind: "agent" | "human";
1310
- }, {
1311
- id: string;
1312
1357
  label: string;
1358
+ id: string;
1359
+ }, {
1313
1360
  kind: "agent" | "human";
1361
+ label: string;
1362
+ id: string;
1314
1363
  }>;
1315
1364
  note: z.ZodOptional<z.ZodString>;
1316
1365
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1320,47 +1369,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1320
1369
  locator: z.ZodOptional<z.ZodString>;
1321
1370
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1322
1371
  }, "strict", z.ZodTypeAny, {
1323
- id: string;
1372
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1324
1373
  label: string;
1325
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1374
+ id: string;
1326
1375
  capture: "at_action" | "historical_lookup" | "fixture";
1327
1376
  locator?: string | undefined;
1328
1377
  }, {
1329
- id: string;
1378
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1330
1379
  label: string;
1331
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1380
+ id: string;
1332
1381
  capture: "at_action" | "historical_lookup" | "fixture";
1333
1382
  locator?: string | undefined;
1334
1383
  }>, "many">>;
1335
1384
  }, "strict", z.ZodTypeAny, {
1336
1385
  kind: "correction_approved";
1337
1386
  evidence: {
1338
- id: string;
1387
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1339
1388
  label: string;
1340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1389
+ id: string;
1341
1390
  capture: "at_action" | "historical_lookup" | "fixture";
1342
1391
  locator?: string | undefined;
1343
1392
  }[];
1344
1393
  correctionId: string;
1345
1394
  approvedBy: {
1346
- id: string;
1347
- label: string;
1348
1395
  kind: "agent" | "human";
1396
+ label: string;
1397
+ id: string;
1349
1398
  };
1350
1399
  note?: string | undefined;
1351
1400
  }, {
1352
1401
  kind: "correction_approved";
1353
1402
  correctionId: string;
1354
1403
  approvedBy: {
1355
- id: string;
1356
- label: string;
1357
1404
  kind: "agent" | "human";
1405
+ label: string;
1406
+ id: string;
1358
1407
  };
1359
1408
  note?: string | undefined;
1360
1409
  evidence?: {
1361
- id: string;
1410
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1362
1411
  label: string;
1363
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1412
+ id: string;
1364
1413
  capture: "at_action" | "historical_lookup" | "fixture";
1365
1414
  locator?: string | undefined;
1366
1415
  }[] | undefined;
@@ -1376,24 +1425,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1376
1425
  locator: z.ZodOptional<z.ZodString>;
1377
1426
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1378
1427
  }, "strict", z.ZodTypeAny, {
1379
- id: string;
1428
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1380
1429
  label: string;
1381
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1430
+ id: string;
1382
1431
  capture: "at_action" | "historical_lookup" | "fixture";
1383
1432
  locator?: string | undefined;
1384
1433
  }, {
1385
- id: string;
1434
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1386
1435
  label: string;
1387
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1436
+ id: string;
1388
1437
  capture: "at_action" | "historical_lookup" | "fixture";
1389
1438
  locator?: string | undefined;
1390
1439
  }>, "many">>;
1391
1440
  }, "strict", z.ZodTypeAny, {
1392
1441
  kind: "decision_superseded";
1393
1442
  evidence: {
1394
- id: string;
1443
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1395
1444
  label: string;
1396
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1445
+ id: string;
1397
1446
  capture: "at_action" | "historical_lookup" | "fixture";
1398
1447
  locator?: string | undefined;
1399
1448
  }[];
@@ -1406,9 +1455,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1406
1455
  correctionId: string;
1407
1456
  replacementDecisionId: string;
1408
1457
  evidence?: {
1409
- id: string;
1458
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1410
1459
  label: string;
1411
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1460
+ id: string;
1412
1461
  capture: "at_action" | "historical_lookup" | "fixture";
1413
1462
  locator?: string | undefined;
1414
1463
  }[] | undefined;
@@ -1424,15 +1473,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1424
1473
  locator: z.ZodOptional<z.ZodString>;
1425
1474
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1426
1475
  }, "strict", z.ZodTypeAny, {
1427
- id: string;
1476
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1428
1477
  label: string;
1429
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1478
+ id: string;
1430
1479
  capture: "at_action" | "historical_lookup" | "fixture";
1431
1480
  locator?: string | undefined;
1432
1481
  }, {
1433
- id: string;
1482
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1434
1483
  label: string;
1435
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1484
+ id: string;
1436
1485
  capture: "at_action" | "historical_lookup" | "fixture";
1437
1486
  locator?: string | undefined;
1438
1487
  }>, "many">>;
@@ -1445,9 +1494,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1445
1494
  agentId: string;
1446
1495
  sessionId: string;
1447
1496
  evidence: {
1448
- id: string;
1497
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1449
1498
  label: string;
1450
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1499
+ id: string;
1451
1500
  capture: "at_action" | "historical_lookup" | "fixture";
1452
1501
  locator?: string | undefined;
1453
1502
  }[];
@@ -1463,9 +1512,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1463
1512
  recallReceiptId: string;
1464
1513
  capturedAtAction: boolean;
1465
1514
  evidence?: {
1466
- id: string;
1515
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1467
1516
  label: string;
1468
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1517
+ id: string;
1469
1518
  capture: "at_action" | "historical_lookup" | "fixture";
1470
1519
  locator?: string | undefined;
1471
1520
  }[] | undefined;
@@ -1481,15 +1530,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1481
1530
  locator: z.ZodOptional<z.ZodString>;
1482
1531
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1483
1532
  }, "strict", z.ZodTypeAny, {
1484
- id: string;
1533
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1485
1534
  label: string;
1486
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1535
+ id: string;
1487
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1488
1537
  locator?: string | undefined;
1489
1538
  }, {
1490
- id: string;
1539
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1491
1540
  label: string;
1492
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1541
+ id: string;
1493
1542
  capture: "at_action" | "historical_lookup" | "fixture";
1494
1543
  locator?: string | undefined;
1495
1544
  }>, "many">>;
@@ -1501,9 +1550,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1501
1550
  agentId: string;
1502
1551
  sessionId: string;
1503
1552
  evidence: {
1504
- id: string;
1553
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1505
1554
  label: string;
1506
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1555
+ id: string;
1507
1556
  capture: "at_action" | "historical_lookup" | "fixture";
1508
1557
  locator?: string | undefined;
1509
1558
  }[];
@@ -1520,9 +1569,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1520
1569
  recallReceiptId: string;
1521
1570
  staleDecisionAbsent: boolean;
1522
1571
  evidence?: {
1523
- id: string;
1572
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1524
1573
  label: string;
1525
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1574
+ id: string;
1526
1575
  capture: "at_action" | "historical_lookup" | "fixture";
1527
1576
  locator?: string | undefined;
1528
1577
  }[] | undefined;
@@ -1537,37 +1586,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1537
1586
  locator: z.ZodOptional<z.ZodString>;
1538
1587
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1539
1588
  }, "strict", z.ZodTypeAny, {
1540
- id: string;
1589
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1541
1590
  label: string;
1542
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1591
+ id: string;
1543
1592
  capture: "at_action" | "historical_lookup" | "fixture";
1544
1593
  locator?: string | undefined;
1545
1594
  }, {
1546
- id: string;
1595
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1547
1596
  label: string;
1548
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1597
+ id: string;
1549
1598
  capture: "at_action" | "historical_lookup" | "fixture";
1550
1599
  locator?: string | undefined;
1551
1600
  }>, "many">>;
1552
1601
  }, "strict", z.ZodTypeAny, {
1553
- summary: string;
1554
1602
  kind: "mission_completed";
1603
+ summary: string;
1555
1604
  outcome: "failed" | "recovered" | "inconclusive";
1556
1605
  evidence: {
1557
- id: string;
1606
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1558
1607
  label: string;
1559
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1608
+ id: string;
1560
1609
  capture: "at_action" | "historical_lookup" | "fixture";
1561
1610
  locator?: string | undefined;
1562
1611
  }[];
1563
1612
  }, {
1564
- summary: string;
1565
1613
  kind: "mission_completed";
1614
+ summary: string;
1566
1615
  outcome: "failed" | "recovered" | "inconclusive";
1567
1616
  evidence?: {
1568
- id: string;
1617
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1569
1618
  label: string;
1570
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1619
+ id: string;
1571
1620
  capture: "at_action" | "historical_lookup" | "fixture";
1572
1621
  locator?: string | undefined;
1573
1622
  }[] | undefined;
@@ -1575,38 +1624,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1575
1624
  kind: "mission_started";
1576
1625
  title: string;
1577
1626
  evidence: {
1578
- id: string;
1627
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1579
1628
  label: string;
1580
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1629
+ id: string;
1581
1630
  capture: "at_action" | "historical_lookup" | "fixture";
1582
1631
  locator?: string | undefined;
1583
1632
  }[];
1584
1633
  objective: string;
1585
1634
  runMode: "replay" | "fixture" | "live";
1586
1635
  } | {
1587
- label: string;
1588
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1589
1636
  kind: "agent_status";
1637
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1638
+ label: string;
1590
1639
  role: string;
1591
1640
  agentId: string;
1592
1641
  sessionId: string;
1593
1642
  evidence: {
1594
- id: string;
1643
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1595
1644
  label: string;
1596
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1645
+ id: string;
1597
1646
  capture: "at_action" | "historical_lookup" | "fixture";
1598
1647
  locator?: string | undefined;
1599
1648
  }[];
1600
1649
  detail?: string | undefined;
1601
1650
  } | {
1602
- summary: string;
1603
1651
  kind: "agent_output";
1652
+ summary: string;
1604
1653
  agentId: string;
1605
1654
  sessionId: string;
1606
1655
  evidence: {
1607
- id: string;
1656
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1608
1657
  label: string;
1609
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1658
+ id: string;
1610
1659
  capture: "at_action" | "historical_lookup" | "fixture";
1611
1660
  locator?: string | undefined;
1612
1661
  }[];
@@ -1617,9 +1666,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1617
1666
  statement: string;
1618
1667
  sessionId: string;
1619
1668
  evidence: {
1620
- id: string;
1669
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1621
1670
  label: string;
1622
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1671
+ id: string;
1623
1672
  capture: "at_action" | "historical_lookup" | "fixture";
1624
1673
  locator?: string | undefined;
1625
1674
  }[];
@@ -1627,12 +1676,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1627
1676
  decisionId: string;
1628
1677
  confidence?: number | undefined;
1629
1678
  } | {
1630
- summary: string;
1631
1679
  kind: "conflict_detected";
1680
+ summary: string;
1632
1681
  evidence: {
1633
- id: string;
1682
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1634
1683
  label: string;
1635
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1684
+ id: string;
1636
1685
  capture: "at_action" | "historical_lookup" | "fixture";
1637
1686
  locator?: string | undefined;
1638
1687
  }[];
@@ -1640,14 +1689,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1640
1689
  decisionIds: string[];
1641
1690
  agentIds: string[];
1642
1691
  } | {
1692
+ kind: "test_result";
1643
1693
  summary: string;
1644
1694
  status: "error" | "failed" | "passed";
1645
- kind: "test_result";
1646
1695
  command: string;
1647
1696
  evidence: {
1648
- id: string;
1697
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1649
1698
  label: string;
1650
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1699
+ id: string;
1651
1700
  capture: "at_action" | "historical_lookup" | "fixture";
1652
1701
  locator?: string | undefined;
1653
1702
  }[];
@@ -1660,9 +1709,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1660
1709
  statement: string;
1661
1710
  rationale: string;
1662
1711
  evidence: {
1663
- id: string;
1712
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1664
1713
  label: string;
1665
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1714
+ id: string;
1666
1715
  capture: "at_action" | "historical_lookup" | "fixture";
1667
1716
  locator?: string | undefined;
1668
1717
  }[];
@@ -1674,25 +1723,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1674
1723
  } | {
1675
1724
  kind: "correction_approved";
1676
1725
  evidence: {
1677
- id: string;
1726
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1678
1727
  label: string;
1679
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1728
+ id: string;
1680
1729
  capture: "at_action" | "historical_lookup" | "fixture";
1681
1730
  locator?: string | undefined;
1682
1731
  }[];
1683
1732
  correctionId: string;
1684
1733
  approvedBy: {
1685
- id: string;
1686
- label: string;
1687
1734
  kind: "agent" | "human";
1735
+ label: string;
1736
+ id: string;
1688
1737
  };
1689
1738
  note?: string | undefined;
1690
1739
  } | {
1691
1740
  kind: "decision_superseded";
1692
1741
  evidence: {
1693
- id: string;
1742
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1694
1743
  label: string;
1695
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1744
+ id: string;
1696
1745
  capture: "at_action" | "historical_lookup" | "fixture";
1697
1746
  locator?: string | undefined;
1698
1747
  }[];
@@ -1705,9 +1754,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1705
1754
  agentId: string;
1706
1755
  sessionId: string;
1707
1756
  evidence: {
1708
- id: string;
1757
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1709
1758
  label: string;
1710
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1759
+ id: string;
1711
1760
  capture: "at_action" | "historical_lookup" | "fixture";
1712
1761
  locator?: string | undefined;
1713
1762
  }[];
@@ -1719,9 +1768,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1719
1768
  agentId: string;
1720
1769
  sessionId: string;
1721
1770
  evidence: {
1722
- id: string;
1771
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1723
1772
  label: string;
1724
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1773
+ id: string;
1725
1774
  capture: "at_action" | "historical_lookup" | "fixture";
1726
1775
  locator?: string | undefined;
1727
1776
  }[];
@@ -1730,13 +1779,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1730
1779
  recallReceiptId: string;
1731
1780
  staleDecisionAbsent: boolean;
1732
1781
  } | {
1733
- summary: string;
1734
1782
  kind: "mission_completed";
1783
+ summary: string;
1735
1784
  outcome: "failed" | "recovered" | "inconclusive";
1736
1785
  evidence: {
1737
- id: string;
1786
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1738
1787
  label: string;
1739
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1788
+ id: string;
1740
1789
  capture: "at_action" | "historical_lookup" | "fixture";
1741
1790
  locator?: string | undefined;
1742
1791
  }[];
@@ -1746,37 +1795,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1746
1795
  objective: string;
1747
1796
  runMode: "replay" | "fixture" | "live";
1748
1797
  evidence?: {
1749
- id: string;
1798
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1750
1799
  label: string;
1751
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1800
+ id: string;
1752
1801
  capture: "at_action" | "historical_lookup" | "fixture";
1753
1802
  locator?: string | undefined;
1754
1803
  }[] | undefined;
1755
1804
  } | {
1756
- label: string;
1757
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1758
1805
  kind: "agent_status";
1806
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1807
+ label: string;
1759
1808
  role: string;
1760
1809
  agentId: string;
1761
1810
  sessionId: string;
1762
1811
  detail?: string | undefined;
1763
1812
  evidence?: {
1764
- id: string;
1813
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1765
1814
  label: string;
1766
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1815
+ id: string;
1767
1816
  capture: "at_action" | "historical_lookup" | "fixture";
1768
1817
  locator?: string | undefined;
1769
1818
  }[] | undefined;
1770
1819
  } | {
1771
- summary: string;
1772
1820
  kind: "agent_output";
1821
+ summary: string;
1773
1822
  agentId: string;
1774
1823
  sessionId: string;
1775
1824
  outputId: string;
1776
1825
  evidence?: {
1777
- id: string;
1826
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1778
1827
  label: string;
1779
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1828
+ id: string;
1780
1829
  capture: "at_action" | "historical_lookup" | "fixture";
1781
1830
  locator?: string | undefined;
1782
1831
  }[] | undefined;
@@ -1789,37 +1838,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1789
1838
  decisionId: string;
1790
1839
  confidence?: number | undefined;
1791
1840
  evidence?: {
1792
- id: string;
1841
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1793
1842
  label: string;
1794
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1843
+ id: string;
1795
1844
  capture: "at_action" | "historical_lookup" | "fixture";
1796
1845
  locator?: string | undefined;
1797
1846
  }[] | undefined;
1798
1847
  } | {
1799
- summary: string;
1800
1848
  kind: "conflict_detected";
1849
+ summary: string;
1801
1850
  conflictId: string;
1802
1851
  decisionIds: string[];
1803
1852
  agentIds: string[];
1804
1853
  evidence?: {
1805
- id: string;
1854
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1806
1855
  label: string;
1807
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
+ id: string;
1808
1857
  capture: "at_action" | "historical_lookup" | "fixture";
1809
1858
  locator?: string | undefined;
1810
1859
  }[] | undefined;
1811
1860
  } | {
1861
+ kind: "test_result";
1812
1862
  summary: string;
1813
1863
  status: "error" | "failed" | "passed";
1814
- kind: "test_result";
1815
1864
  command: string;
1816
1865
  decisionId: string;
1817
1866
  testId: string;
1818
1867
  durationMs?: number | undefined;
1819
1868
  evidence?: {
1820
- id: string;
1869
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
1870
  label: string;
1822
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1871
+ id: string;
1823
1872
  capture: "at_action" | "historical_lookup" | "fixture";
1824
1873
  locator?: string | undefined;
1825
1874
  }[] | undefined;
@@ -1834,9 +1883,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1834
1883
  supersedesDecisionIds: string[];
1835
1884
  proposedBy: string;
1836
1885
  evidence?: {
1837
- id: string;
1886
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1838
1887
  label: string;
1839
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1888
+ id: string;
1840
1889
  capture: "at_action" | "historical_lookup" | "fixture";
1841
1890
  locator?: string | undefined;
1842
1891
  }[] | undefined;
@@ -1844,15 +1893,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1844
1893
  kind: "correction_approved";
1845
1894
  correctionId: string;
1846
1895
  approvedBy: {
1847
- id: string;
1848
- label: string;
1849
1896
  kind: "agent" | "human";
1897
+ label: string;
1898
+ id: string;
1850
1899
  };
1851
1900
  note?: string | undefined;
1852
1901
  evidence?: {
1853
- id: string;
1902
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1854
1903
  label: string;
1855
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1904
+ id: string;
1856
1905
  capture: "at_action" | "historical_lookup" | "fixture";
1857
1906
  locator?: string | undefined;
1858
1907
  }[] | undefined;
@@ -1862,9 +1911,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1862
1911
  correctionId: string;
1863
1912
  replacementDecisionId: string;
1864
1913
  evidence?: {
1865
- id: string;
1914
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1866
1915
  label: string;
1867
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1916
+ id: string;
1868
1917
  capture: "at_action" | "historical_lookup" | "fixture";
1869
1918
  locator?: string | undefined;
1870
1919
  }[] | undefined;
@@ -1877,9 +1926,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1877
1926
  recallReceiptId: string;
1878
1927
  capturedAtAction: boolean;
1879
1928
  evidence?: {
1880
- id: string;
1929
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1881
1930
  label: string;
1882
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
+ id: string;
1883
1932
  capture: "at_action" | "historical_lookup" | "fixture";
1884
1933
  locator?: string | undefined;
1885
1934
  }[] | undefined;
@@ -1892,20 +1941,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1892
1941
  recallReceiptId: string;
1893
1942
  staleDecisionAbsent: boolean;
1894
1943
  evidence?: {
1895
- id: string;
1944
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1896
1945
  label: string;
1897
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1946
+ id: string;
1898
1947
  capture: "at_action" | "historical_lookup" | "fixture";
1899
1948
  locator?: string | undefined;
1900
1949
  }[] | undefined;
1901
1950
  } | {
1902
- summary: string;
1903
1951
  kind: "mission_completed";
1952
+ summary: string;
1904
1953
  outcome: "failed" | "recovered" | "inconclusive";
1905
1954
  evidence?: {
1906
- id: string;
1955
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
1956
  label: string;
1908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1957
+ id: string;
1909
1958
  capture: "at_action" | "historical_lookup" | "fixture";
1910
1959
  locator?: string | undefined;
1911
1960
  }[] | undefined;
@@ -1926,15 +1975,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1926
1975
  locator: z.ZodOptional<z.ZodString>;
1927
1976
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1928
1977
  }, "strict", z.ZodTypeAny, {
1929
- id: string;
1978
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1930
1979
  label: string;
1931
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1980
+ id: string;
1932
1981
  capture: "at_action" | "historical_lookup" | "fixture";
1933
1982
  locator?: string | undefined;
1934
1983
  }, {
1935
- id: string;
1984
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1936
1985
  label: string;
1937
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1986
+ id: string;
1938
1987
  capture: "at_action" | "historical_lookup" | "fixture";
1939
1988
  locator?: string | undefined;
1940
1989
  }>, "many">>;
@@ -1942,9 +1991,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1942
1991
  kind: "mission_started";
1943
1992
  title: string;
1944
1993
  evidence: {
1945
- id: string;
1994
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1946
1995
  label: string;
1947
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1996
+ id: string;
1948
1997
  capture: "at_action" | "historical_lookup" | "fixture";
1949
1998
  locator?: string | undefined;
1950
1999
  }[];
@@ -1956,9 +2005,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1956
2005
  objective: string;
1957
2006
  runMode: "replay" | "fixture" | "live";
1958
2007
  evidence?: {
1959
- id: string;
2008
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1960
2009
  label: string;
1961
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
+ id: string;
1962
2011
  capture: "at_action" | "historical_lookup" | "fixture";
1963
2012
  locator?: string | undefined;
1964
2013
  }[] | undefined;
@@ -1974,15 +2023,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1974
2023
  locator: z.ZodOptional<z.ZodString>;
1975
2024
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1976
2025
  }, "strict", z.ZodTypeAny, {
1977
- id: string;
2026
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1978
2027
  label: string;
1979
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2028
+ id: string;
1980
2029
  capture: "at_action" | "historical_lookup" | "fixture";
1981
2030
  locator?: string | undefined;
1982
2031
  }, {
1983
- id: string;
2032
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1984
2033
  label: string;
1985
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2034
+ id: string;
1986
2035
  capture: "at_action" | "historical_lookup" | "fixture";
1987
2036
  locator?: string | undefined;
1988
2037
  }>, "many">>;
@@ -1990,32 +2039,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1990
2039
  sessionId: z.ZodString;
1991
2040
  kind: z.ZodLiteral<"agent_status">;
1992
2041
  }, "strict", z.ZodTypeAny, {
1993
- label: string;
1994
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1995
2042
  kind: "agent_status";
2043
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2044
+ label: string;
1996
2045
  role: string;
1997
2046
  agentId: string;
1998
2047
  sessionId: string;
1999
2048
  evidence: {
2000
- id: string;
2049
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2001
2050
  label: string;
2002
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2051
+ id: string;
2003
2052
  capture: "at_action" | "historical_lookup" | "fixture";
2004
2053
  locator?: string | undefined;
2005
2054
  }[];
2006
2055
  detail?: string | undefined;
2007
2056
  }, {
2008
- label: string;
2009
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2010
2057
  kind: "agent_status";
2058
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2059
+ label: string;
2011
2060
  role: string;
2012
2061
  agentId: string;
2013
2062
  sessionId: string;
2014
2063
  detail?: string | undefined;
2015
2064
  evidence?: {
2016
- id: string;
2065
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2017
2066
  label: string;
2018
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2067
+ id: string;
2019
2068
  capture: "at_action" | "historical_lookup" | "fixture";
2020
2069
  locator?: string | undefined;
2021
2070
  }[] | undefined;
@@ -2029,15 +2078,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2029
2078
  locator: z.ZodOptional<z.ZodString>;
2030
2079
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2031
2080
  }, "strict", z.ZodTypeAny, {
2032
- id: string;
2081
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2033
2082
  label: string;
2034
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2083
+ id: string;
2035
2084
  capture: "at_action" | "historical_lookup" | "fixture";
2036
2085
  locator?: string | undefined;
2037
2086
  }, {
2038
- id: string;
2087
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2039
2088
  label: string;
2040
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2089
+ id: string;
2041
2090
  capture: "at_action" | "historical_lookup" | "fixture";
2042
2091
  locator?: string | undefined;
2043
2092
  }>, "many">>;
@@ -2045,28 +2094,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2045
2094
  sessionId: z.ZodString;
2046
2095
  kind: z.ZodLiteral<"agent_output">;
2047
2096
  }, "strict", z.ZodTypeAny, {
2048
- summary: string;
2049
2097
  kind: "agent_output";
2098
+ summary: string;
2050
2099
  agentId: string;
2051
2100
  sessionId: string;
2052
2101
  evidence: {
2053
- id: string;
2102
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2054
2103
  label: string;
2055
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2104
+ id: string;
2056
2105
  capture: "at_action" | "historical_lookup" | "fixture";
2057
2106
  locator?: string | undefined;
2058
2107
  }[];
2059
2108
  outputId: string;
2060
2109
  }, {
2061
- summary: string;
2062
2110
  kind: "agent_output";
2111
+ summary: string;
2063
2112
  agentId: string;
2064
2113
  sessionId: string;
2065
2114
  outputId: string;
2066
2115
  evidence?: {
2067
- id: string;
2116
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2068
2117
  label: string;
2069
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2118
+ id: string;
2070
2119
  capture: "at_action" | "historical_lookup" | "fixture";
2071
2120
  locator?: string | undefined;
2072
2121
  }[] | undefined;
@@ -2082,15 +2131,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2082
2131
  locator: z.ZodOptional<z.ZodString>;
2083
2132
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2084
2133
  }, "strict", z.ZodTypeAny, {
2085
- id: string;
2134
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
2135
  label: string;
2087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2136
+ id: string;
2088
2137
  capture: "at_action" | "historical_lookup" | "fixture";
2089
2138
  locator?: string | undefined;
2090
2139
  }, {
2091
- id: string;
2140
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2092
2141
  label: string;
2093
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2142
+ id: string;
2094
2143
  capture: "at_action" | "historical_lookup" | "fixture";
2095
2144
  locator?: string | undefined;
2096
2145
  }>, "many">>;
@@ -2103,9 +2152,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2103
2152
  statement: string;
2104
2153
  sessionId: string;
2105
2154
  evidence: {
2106
- id: string;
2155
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2107
2156
  label: string;
2108
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2157
+ id: string;
2109
2158
  capture: "at_action" | "historical_lookup" | "fixture";
2110
2159
  locator?: string | undefined;
2111
2160
  }[];
@@ -2121,9 +2170,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2121
2170
  decisionId: string;
2122
2171
  confidence?: number | undefined;
2123
2172
  evidence?: {
2124
- id: string;
2173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2125
2174
  label: string;
2126
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2175
+ id: string;
2127
2176
  capture: "at_action" | "historical_lookup" | "fixture";
2128
2177
  locator?: string | undefined;
2129
2178
  }[] | undefined;
@@ -2140,25 +2189,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2140
2189
  locator: z.ZodOptional<z.ZodString>;
2141
2190
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2142
2191
  }, "strict", z.ZodTypeAny, {
2143
- id: string;
2192
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2144
2193
  label: string;
2145
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2194
+ id: string;
2146
2195
  capture: "at_action" | "historical_lookup" | "fixture";
2147
2196
  locator?: string | undefined;
2148
2197
  }, {
2149
- id: string;
2198
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2150
2199
  label: string;
2151
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2200
+ id: string;
2152
2201
  capture: "at_action" | "historical_lookup" | "fixture";
2153
2202
  locator?: string | undefined;
2154
2203
  }>, "many">>;
2155
2204
  }, "strict", z.ZodTypeAny, {
2156
- summary: string;
2157
2205
  kind: "conflict_detected";
2206
+ summary: string;
2158
2207
  evidence: {
2159
- id: string;
2208
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2160
2209
  label: string;
2161
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2210
+ id: string;
2162
2211
  capture: "at_action" | "historical_lookup" | "fixture";
2163
2212
  locator?: string | undefined;
2164
2213
  }[];
@@ -2166,15 +2215,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2166
2215
  decisionIds: string[];
2167
2216
  agentIds: string[];
2168
2217
  }, {
2169
- summary: string;
2170
2218
  kind: "conflict_detected";
2219
+ summary: string;
2171
2220
  conflictId: string;
2172
2221
  decisionIds: string[];
2173
2222
  agentIds: string[];
2174
2223
  evidence?: {
2175
- id: string;
2224
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2176
2225
  label: string;
2177
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2226
+ id: string;
2178
2227
  capture: "at_action" | "historical_lookup" | "fixture";
2179
2228
  locator?: string | undefined;
2180
2229
  }[] | undefined;
@@ -2194,27 +2243,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2194
2243
  locator: z.ZodOptional<z.ZodString>;
2195
2244
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2196
2245
  }, "strict", z.ZodTypeAny, {
2197
- id: string;
2246
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2198
2247
  label: string;
2199
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2248
+ id: string;
2200
2249
  capture: "at_action" | "historical_lookup" | "fixture";
2201
2250
  locator?: string | undefined;
2202
2251
  }, {
2203
- id: string;
2252
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2204
2253
  label: string;
2205
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2254
+ id: string;
2206
2255
  capture: "at_action" | "historical_lookup" | "fixture";
2207
2256
  locator?: string | undefined;
2208
2257
  }>, "many">>;
2209
2258
  }, "strict", z.ZodTypeAny, {
2259
+ kind: "test_result";
2210
2260
  summary: string;
2211
2261
  status: "error" | "failed" | "passed";
2212
- kind: "test_result";
2213
2262
  command: string;
2214
2263
  evidence: {
2215
- id: string;
2264
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2216
2265
  label: string;
2217
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2266
+ id: string;
2218
2267
  capture: "at_action" | "historical_lookup" | "fixture";
2219
2268
  locator?: string | undefined;
2220
2269
  }[];
@@ -2223,17 +2272,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2223
2272
  durationMs?: number | undefined;
2224
2273
  correctionId?: string | undefined;
2225
2274
  }, {
2275
+ kind: "test_result";
2226
2276
  summary: string;
2227
2277
  status: "error" | "failed" | "passed";
2228
- kind: "test_result";
2229
2278
  command: string;
2230
2279
  decisionId: string;
2231
2280
  testId: string;
2232
2281
  durationMs?: number | undefined;
2233
2282
  evidence?: {
2234
- id: string;
2283
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2235
2284
  label: string;
2236
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2285
+ id: string;
2237
2286
  capture: "at_action" | "historical_lookup" | "fixture";
2238
2287
  locator?: string | undefined;
2239
2288
  }[] | undefined;
@@ -2254,15 +2303,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2254
2303
  locator: z.ZodOptional<z.ZodString>;
2255
2304
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2256
2305
  }, "strict", z.ZodTypeAny, {
2257
- id: string;
2306
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2258
2307
  label: string;
2259
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2308
+ id: string;
2260
2309
  capture: "at_action" | "historical_lookup" | "fixture";
2261
2310
  locator?: string | undefined;
2262
2311
  }, {
2263
- id: string;
2312
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2264
2313
  label: string;
2265
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2314
+ id: string;
2266
2315
  capture: "at_action" | "historical_lookup" | "fixture";
2267
2316
  locator?: string | undefined;
2268
2317
  }>, "many">>;
@@ -2271,9 +2320,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2271
2320
  statement: string;
2272
2321
  rationale: string;
2273
2322
  evidence: {
2274
- id: string;
2323
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2275
2324
  label: string;
2276
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2325
+ id: string;
2277
2326
  capture: "at_action" | "historical_lookup" | "fixture";
2278
2327
  locator?: string | undefined;
2279
2328
  }[];
@@ -2292,9 +2341,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2292
2341
  supersedesDecisionIds: string[];
2293
2342
  proposedBy: string;
2294
2343
  evidence?: {
2295
- id: string;
2344
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2296
2345
  label: string;
2297
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2346
+ id: string;
2298
2347
  capture: "at_action" | "historical_lookup" | "fixture";
2299
2348
  locator?: string | undefined;
2300
2349
  }[] | undefined;
@@ -2306,13 +2355,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2306
2355
  id: z.ZodString;
2307
2356
  label: z.ZodString;
2308
2357
  }, "strict", z.ZodTypeAny, {
2309
- id: string;
2310
- label: string;
2311
2358
  kind: "agent" | "human";
2312
- }, {
2313
- id: string;
2314
2359
  label: string;
2360
+ id: string;
2361
+ }, {
2315
2362
  kind: "agent" | "human";
2363
+ label: string;
2364
+ id: string;
2316
2365
  }>;
2317
2366
  note: z.ZodOptional<z.ZodString>;
2318
2367
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2322,47 +2371,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2322
2371
  locator: z.ZodOptional<z.ZodString>;
2323
2372
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2324
2373
  }, "strict", z.ZodTypeAny, {
2325
- id: string;
2374
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2326
2375
  label: string;
2327
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2376
+ id: string;
2328
2377
  capture: "at_action" | "historical_lookup" | "fixture";
2329
2378
  locator?: string | undefined;
2330
2379
  }, {
2331
- id: string;
2380
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2332
2381
  label: string;
2333
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2382
+ id: string;
2334
2383
  capture: "at_action" | "historical_lookup" | "fixture";
2335
2384
  locator?: string | undefined;
2336
2385
  }>, "many">>;
2337
2386
  }, "strict", z.ZodTypeAny, {
2338
2387
  kind: "correction_approved";
2339
2388
  evidence: {
2340
- id: string;
2389
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2341
2390
  label: string;
2342
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2391
+ id: string;
2343
2392
  capture: "at_action" | "historical_lookup" | "fixture";
2344
2393
  locator?: string | undefined;
2345
2394
  }[];
2346
2395
  correctionId: string;
2347
2396
  approvedBy: {
2348
- id: string;
2349
- label: string;
2350
2397
  kind: "agent" | "human";
2398
+ label: string;
2399
+ id: string;
2351
2400
  };
2352
2401
  note?: string | undefined;
2353
2402
  }, {
2354
2403
  kind: "correction_approved";
2355
2404
  correctionId: string;
2356
2405
  approvedBy: {
2357
- id: string;
2358
- label: string;
2359
2406
  kind: "agent" | "human";
2407
+ label: string;
2408
+ id: string;
2360
2409
  };
2361
2410
  note?: string | undefined;
2362
2411
  evidence?: {
2363
- id: string;
2412
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2364
2413
  label: string;
2365
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2414
+ id: string;
2366
2415
  capture: "at_action" | "historical_lookup" | "fixture";
2367
2416
  locator?: string | undefined;
2368
2417
  }[] | undefined;
@@ -2378,24 +2427,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2378
2427
  locator: z.ZodOptional<z.ZodString>;
2379
2428
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2380
2429
  }, "strict", z.ZodTypeAny, {
2381
- id: string;
2430
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2382
2431
  label: string;
2383
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2432
+ id: string;
2384
2433
  capture: "at_action" | "historical_lookup" | "fixture";
2385
2434
  locator?: string | undefined;
2386
2435
  }, {
2387
- id: string;
2436
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2388
2437
  label: string;
2389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2438
+ id: string;
2390
2439
  capture: "at_action" | "historical_lookup" | "fixture";
2391
2440
  locator?: string | undefined;
2392
2441
  }>, "many">>;
2393
2442
  }, "strict", z.ZodTypeAny, {
2394
2443
  kind: "decision_superseded";
2395
2444
  evidence: {
2396
- id: string;
2445
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2397
2446
  label: string;
2398
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2447
+ id: string;
2399
2448
  capture: "at_action" | "historical_lookup" | "fixture";
2400
2449
  locator?: string | undefined;
2401
2450
  }[];
@@ -2408,9 +2457,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2408
2457
  correctionId: string;
2409
2458
  replacementDecisionId: string;
2410
2459
  evidence?: {
2411
- id: string;
2460
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2412
2461
  label: string;
2413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2462
+ id: string;
2414
2463
  capture: "at_action" | "historical_lookup" | "fixture";
2415
2464
  locator?: string | undefined;
2416
2465
  }[] | undefined;
@@ -2426,15 +2475,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2426
2475
  locator: z.ZodOptional<z.ZodString>;
2427
2476
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2428
2477
  }, "strict", z.ZodTypeAny, {
2429
- id: string;
2478
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2430
2479
  label: string;
2431
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2480
+ id: string;
2432
2481
  capture: "at_action" | "historical_lookup" | "fixture";
2433
2482
  locator?: string | undefined;
2434
2483
  }, {
2435
- id: string;
2484
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2436
2485
  label: string;
2437
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2486
+ id: string;
2438
2487
  capture: "at_action" | "historical_lookup" | "fixture";
2439
2488
  locator?: string | undefined;
2440
2489
  }>, "many">>;
@@ -2447,9 +2496,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2447
2496
  agentId: string;
2448
2497
  sessionId: string;
2449
2498
  evidence: {
2450
- id: string;
2499
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2451
2500
  label: string;
2452
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2501
+ id: string;
2453
2502
  capture: "at_action" | "historical_lookup" | "fixture";
2454
2503
  locator?: string | undefined;
2455
2504
  }[];
@@ -2465,9 +2514,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2465
2514
  recallReceiptId: string;
2466
2515
  capturedAtAction: boolean;
2467
2516
  evidence?: {
2468
- id: string;
2517
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2469
2518
  label: string;
2470
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2519
+ id: string;
2471
2520
  capture: "at_action" | "historical_lookup" | "fixture";
2472
2521
  locator?: string | undefined;
2473
2522
  }[] | undefined;
@@ -2483,15 +2532,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2483
2532
  locator: z.ZodOptional<z.ZodString>;
2484
2533
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2485
2534
  }, "strict", z.ZodTypeAny, {
2486
- id: string;
2535
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2487
2536
  label: string;
2488
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2537
+ id: string;
2489
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2490
2539
  locator?: string | undefined;
2491
2540
  }, {
2492
- id: string;
2541
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2493
2542
  label: string;
2494
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2543
+ id: string;
2495
2544
  capture: "at_action" | "historical_lookup" | "fixture";
2496
2545
  locator?: string | undefined;
2497
2546
  }>, "many">>;
@@ -2503,9 +2552,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2503
2552
  agentId: string;
2504
2553
  sessionId: string;
2505
2554
  evidence: {
2506
- id: string;
2555
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2507
2556
  label: string;
2508
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2557
+ id: string;
2509
2558
  capture: "at_action" | "historical_lookup" | "fixture";
2510
2559
  locator?: string | undefined;
2511
2560
  }[];
@@ -2522,9 +2571,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2522
2571
  recallReceiptId: string;
2523
2572
  staleDecisionAbsent: boolean;
2524
2573
  evidence?: {
2525
- id: string;
2574
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2526
2575
  label: string;
2527
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2576
+ id: string;
2528
2577
  capture: "at_action" | "historical_lookup" | "fixture";
2529
2578
  locator?: string | undefined;
2530
2579
  }[] | undefined;
@@ -2539,37 +2588,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2539
2588
  locator: z.ZodOptional<z.ZodString>;
2540
2589
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2541
2590
  }, "strict", z.ZodTypeAny, {
2542
- id: string;
2591
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2543
2592
  label: string;
2544
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2593
+ id: string;
2545
2594
  capture: "at_action" | "historical_lookup" | "fixture";
2546
2595
  locator?: string | undefined;
2547
2596
  }, {
2548
- id: string;
2597
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2549
2598
  label: string;
2550
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2599
+ id: string;
2551
2600
  capture: "at_action" | "historical_lookup" | "fixture";
2552
2601
  locator?: string | undefined;
2553
2602
  }>, "many">>;
2554
2603
  }, "strict", z.ZodTypeAny, {
2555
- summary: string;
2556
2604
  kind: "mission_completed";
2605
+ summary: string;
2557
2606
  outcome: "failed" | "recovered" | "inconclusive";
2558
2607
  evidence: {
2559
- id: string;
2608
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2560
2609
  label: string;
2561
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2610
+ id: string;
2562
2611
  capture: "at_action" | "historical_lookup" | "fixture";
2563
2612
  locator?: string | undefined;
2564
2613
  }[];
2565
2614
  }, {
2566
- summary: string;
2567
2615
  kind: "mission_completed";
2616
+ summary: string;
2568
2617
  outcome: "failed" | "recovered" | "inconclusive";
2569
2618
  evidence?: {
2570
- id: string;
2619
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2571
2620
  label: string;
2572
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2621
+ id: string;
2573
2622
  capture: "at_action" | "historical_lookup" | "fixture";
2574
2623
  locator?: string | undefined;
2575
2624
  }[] | undefined;
@@ -2577,38 +2626,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2577
2626
  kind: "mission_started";
2578
2627
  title: string;
2579
2628
  evidence: {
2580
- id: string;
2629
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2581
2630
  label: string;
2582
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2631
+ id: string;
2583
2632
  capture: "at_action" | "historical_lookup" | "fixture";
2584
2633
  locator?: string | undefined;
2585
2634
  }[];
2586
2635
  objective: string;
2587
2636
  runMode: "replay" | "fixture" | "live";
2588
2637
  } | {
2589
- label: string;
2590
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2591
2638
  kind: "agent_status";
2639
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2640
+ label: string;
2592
2641
  role: string;
2593
2642
  agentId: string;
2594
2643
  sessionId: string;
2595
2644
  evidence: {
2596
- id: string;
2645
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2597
2646
  label: string;
2598
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2647
+ id: string;
2599
2648
  capture: "at_action" | "historical_lookup" | "fixture";
2600
2649
  locator?: string | undefined;
2601
2650
  }[];
2602
2651
  detail?: string | undefined;
2603
2652
  } | {
2604
- summary: string;
2605
2653
  kind: "agent_output";
2654
+ summary: string;
2606
2655
  agentId: string;
2607
2656
  sessionId: string;
2608
2657
  evidence: {
2609
- id: string;
2658
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2610
2659
  label: string;
2611
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2660
+ id: string;
2612
2661
  capture: "at_action" | "historical_lookup" | "fixture";
2613
2662
  locator?: string | undefined;
2614
2663
  }[];
@@ -2619,9 +2668,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2619
2668
  statement: string;
2620
2669
  sessionId: string;
2621
2670
  evidence: {
2622
- id: string;
2671
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2623
2672
  label: string;
2624
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2673
+ id: string;
2625
2674
  capture: "at_action" | "historical_lookup" | "fixture";
2626
2675
  locator?: string | undefined;
2627
2676
  }[];
@@ -2629,12 +2678,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2629
2678
  decisionId: string;
2630
2679
  confidence?: number | undefined;
2631
2680
  } | {
2632
- summary: string;
2633
2681
  kind: "conflict_detected";
2682
+ summary: string;
2634
2683
  evidence: {
2635
- id: string;
2684
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2636
2685
  label: string;
2637
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2686
+ id: string;
2638
2687
  capture: "at_action" | "historical_lookup" | "fixture";
2639
2688
  locator?: string | undefined;
2640
2689
  }[];
@@ -2642,14 +2691,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2642
2691
  decisionIds: string[];
2643
2692
  agentIds: string[];
2644
2693
  } | {
2694
+ kind: "test_result";
2645
2695
  summary: string;
2646
2696
  status: "error" | "failed" | "passed";
2647
- kind: "test_result";
2648
2697
  command: string;
2649
2698
  evidence: {
2650
- id: string;
2699
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2651
2700
  label: string;
2652
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2701
+ id: string;
2653
2702
  capture: "at_action" | "historical_lookup" | "fixture";
2654
2703
  locator?: string | undefined;
2655
2704
  }[];
@@ -2662,9 +2711,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2662
2711
  statement: string;
2663
2712
  rationale: string;
2664
2713
  evidence: {
2665
- id: string;
2714
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2666
2715
  label: string;
2667
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2716
+ id: string;
2668
2717
  capture: "at_action" | "historical_lookup" | "fixture";
2669
2718
  locator?: string | undefined;
2670
2719
  }[];
@@ -2676,25 +2725,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2676
2725
  } | {
2677
2726
  kind: "correction_approved";
2678
2727
  evidence: {
2679
- id: string;
2728
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2680
2729
  label: string;
2681
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2730
+ id: string;
2682
2731
  capture: "at_action" | "historical_lookup" | "fixture";
2683
2732
  locator?: string | undefined;
2684
2733
  }[];
2685
2734
  correctionId: string;
2686
2735
  approvedBy: {
2687
- id: string;
2688
- label: string;
2689
2736
  kind: "agent" | "human";
2737
+ label: string;
2738
+ id: string;
2690
2739
  };
2691
2740
  note?: string | undefined;
2692
2741
  } | {
2693
2742
  kind: "decision_superseded";
2694
2743
  evidence: {
2695
- id: string;
2744
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2696
2745
  label: string;
2697
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2746
+ id: string;
2698
2747
  capture: "at_action" | "historical_lookup" | "fixture";
2699
2748
  locator?: string | undefined;
2700
2749
  }[];
@@ -2707,9 +2756,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2707
2756
  agentId: string;
2708
2757
  sessionId: string;
2709
2758
  evidence: {
2710
- id: string;
2759
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2711
2760
  label: string;
2712
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2761
+ id: string;
2713
2762
  capture: "at_action" | "historical_lookup" | "fixture";
2714
2763
  locator?: string | undefined;
2715
2764
  }[];
@@ -2721,9 +2770,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2721
2770
  agentId: string;
2722
2771
  sessionId: string;
2723
2772
  evidence: {
2724
- id: string;
2773
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2725
2774
  label: string;
2726
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2775
+ id: string;
2727
2776
  capture: "at_action" | "historical_lookup" | "fixture";
2728
2777
  locator?: string | undefined;
2729
2778
  }[];
@@ -2732,13 +2781,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2732
2781
  recallReceiptId: string;
2733
2782
  staleDecisionAbsent: boolean;
2734
2783
  } | {
2735
- summary: string;
2736
2784
  kind: "mission_completed";
2785
+ summary: string;
2737
2786
  outcome: "failed" | "recovered" | "inconclusive";
2738
2787
  evidence: {
2739
- id: string;
2788
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2740
2789
  label: string;
2741
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2790
+ id: string;
2742
2791
  capture: "at_action" | "historical_lookup" | "fixture";
2743
2792
  locator?: string | undefined;
2744
2793
  }[];
@@ -2748,37 +2797,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2748
2797
  objective: string;
2749
2798
  runMode: "replay" | "fixture" | "live";
2750
2799
  evidence?: {
2751
- id: string;
2800
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2752
2801
  label: string;
2753
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2802
+ id: string;
2754
2803
  capture: "at_action" | "historical_lookup" | "fixture";
2755
2804
  locator?: string | undefined;
2756
2805
  }[] | undefined;
2757
2806
  } | {
2758
- label: string;
2759
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2760
2807
  kind: "agent_status";
2808
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2809
+ label: string;
2761
2810
  role: string;
2762
2811
  agentId: string;
2763
2812
  sessionId: string;
2764
2813
  detail?: string | undefined;
2765
2814
  evidence?: {
2766
- id: string;
2815
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2767
2816
  label: string;
2768
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2817
+ id: string;
2769
2818
  capture: "at_action" | "historical_lookup" | "fixture";
2770
2819
  locator?: string | undefined;
2771
2820
  }[] | undefined;
2772
2821
  } | {
2773
- summary: string;
2774
2822
  kind: "agent_output";
2823
+ summary: string;
2775
2824
  agentId: string;
2776
2825
  sessionId: string;
2777
2826
  outputId: string;
2778
2827
  evidence?: {
2779
- id: string;
2828
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2780
2829
  label: string;
2781
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2830
+ id: string;
2782
2831
  capture: "at_action" | "historical_lookup" | "fixture";
2783
2832
  locator?: string | undefined;
2784
2833
  }[] | undefined;
@@ -2791,37 +2840,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2791
2840
  decisionId: string;
2792
2841
  confidence?: number | undefined;
2793
2842
  evidence?: {
2794
- id: string;
2843
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2795
2844
  label: string;
2796
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2845
+ id: string;
2797
2846
  capture: "at_action" | "historical_lookup" | "fixture";
2798
2847
  locator?: string | undefined;
2799
2848
  }[] | undefined;
2800
2849
  } | {
2801
- summary: string;
2802
2850
  kind: "conflict_detected";
2851
+ summary: string;
2803
2852
  conflictId: string;
2804
2853
  decisionIds: string[];
2805
2854
  agentIds: string[];
2806
2855
  evidence?: {
2807
- id: string;
2856
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2808
2857
  label: string;
2809
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
+ id: string;
2810
2859
  capture: "at_action" | "historical_lookup" | "fixture";
2811
2860
  locator?: string | undefined;
2812
2861
  }[] | undefined;
2813
2862
  } | {
2863
+ kind: "test_result";
2814
2864
  summary: string;
2815
2865
  status: "error" | "failed" | "passed";
2816
- kind: "test_result";
2817
2866
  command: string;
2818
2867
  decisionId: string;
2819
2868
  testId: string;
2820
2869
  durationMs?: number | undefined;
2821
2870
  evidence?: {
2822
- id: string;
2871
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
2872
  label: string;
2824
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2873
+ id: string;
2825
2874
  capture: "at_action" | "historical_lookup" | "fixture";
2826
2875
  locator?: string | undefined;
2827
2876
  }[] | undefined;
@@ -2836,9 +2885,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2836
2885
  supersedesDecisionIds: string[];
2837
2886
  proposedBy: string;
2838
2887
  evidence?: {
2839
- id: string;
2888
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2840
2889
  label: string;
2841
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2890
+ id: string;
2842
2891
  capture: "at_action" | "historical_lookup" | "fixture";
2843
2892
  locator?: string | undefined;
2844
2893
  }[] | undefined;
@@ -2846,15 +2895,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2846
2895
  kind: "correction_approved";
2847
2896
  correctionId: string;
2848
2897
  approvedBy: {
2849
- id: string;
2850
- label: string;
2851
2898
  kind: "agent" | "human";
2899
+ label: string;
2900
+ id: string;
2852
2901
  };
2853
2902
  note?: string | undefined;
2854
2903
  evidence?: {
2855
- id: string;
2904
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2856
2905
  label: string;
2857
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2906
+ id: string;
2858
2907
  capture: "at_action" | "historical_lookup" | "fixture";
2859
2908
  locator?: string | undefined;
2860
2909
  }[] | undefined;
@@ -2864,9 +2913,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2864
2913
  correctionId: string;
2865
2914
  replacementDecisionId: string;
2866
2915
  evidence?: {
2867
- id: string;
2916
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2868
2917
  label: string;
2869
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2918
+ id: string;
2870
2919
  capture: "at_action" | "historical_lookup" | "fixture";
2871
2920
  locator?: string | undefined;
2872
2921
  }[] | undefined;
@@ -2879,9 +2928,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2879
2928
  recallReceiptId: string;
2880
2929
  capturedAtAction: boolean;
2881
2930
  evidence?: {
2882
- id: string;
2931
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2883
2932
  label: string;
2884
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2933
+ id: string;
2885
2934
  capture: "at_action" | "historical_lookup" | "fixture";
2886
2935
  locator?: string | undefined;
2887
2936
  }[] | undefined;
@@ -2894,20 +2943,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2894
2943
  recallReceiptId: string;
2895
2944
  staleDecisionAbsent: boolean;
2896
2945
  evidence?: {
2897
- id: string;
2946
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2898
2947
  label: string;
2899
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2948
+ id: string;
2900
2949
  capture: "at_action" | "historical_lookup" | "fixture";
2901
2950
  locator?: string | undefined;
2902
2951
  }[] | undefined;
2903
2952
  } | {
2904
- summary: string;
2905
2953
  kind: "mission_completed";
2954
+ summary: string;
2906
2955
  outcome: "failed" | "recovered" | "inconclusive";
2907
2956
  evidence?: {
2908
- id: string;
2957
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
2958
  label: string;
2910
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2959
+ id: string;
2911
2960
  capture: "at_action" | "historical_lookup" | "fixture";
2912
2961
  locator?: string | undefined;
2913
2962
  }[] | undefined;
@@ -2917,38 +2966,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2917
2966
  kind: "mission_started";
2918
2967
  title: string;
2919
2968
  evidence: {
2920
- id: string;
2969
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2921
2970
  label: string;
2922
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2971
+ id: string;
2923
2972
  capture: "at_action" | "historical_lookup" | "fixture";
2924
2973
  locator?: string | undefined;
2925
2974
  }[];
2926
2975
  objective: string;
2927
2976
  runMode: "replay" | "fixture" | "live";
2928
2977
  } | {
2929
- label: string;
2930
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2931
2978
  kind: "agent_status";
2979
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2980
+ label: string;
2932
2981
  role: string;
2933
2982
  agentId: string;
2934
2983
  sessionId: string;
2935
2984
  evidence: {
2936
- id: string;
2985
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2937
2986
  label: string;
2938
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2987
+ id: string;
2939
2988
  capture: "at_action" | "historical_lookup" | "fixture";
2940
2989
  locator?: string | undefined;
2941
2990
  }[];
2942
2991
  detail?: string | undefined;
2943
2992
  } | {
2944
- summary: string;
2945
2993
  kind: "agent_output";
2994
+ summary: string;
2946
2995
  agentId: string;
2947
2996
  sessionId: string;
2948
2997
  evidence: {
2949
- id: string;
2998
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2950
2999
  label: string;
2951
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3000
+ id: string;
2952
3001
  capture: "at_action" | "historical_lookup" | "fixture";
2953
3002
  locator?: string | undefined;
2954
3003
  }[];
@@ -2959,9 +3008,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2959
3008
  statement: string;
2960
3009
  sessionId: string;
2961
3010
  evidence: {
2962
- id: string;
3011
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2963
3012
  label: string;
2964
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3013
+ id: string;
2965
3014
  capture: "at_action" | "historical_lookup" | "fixture";
2966
3015
  locator?: string | undefined;
2967
3016
  }[];
@@ -2969,12 +3018,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2969
3018
  decisionId: string;
2970
3019
  confidence?: number | undefined;
2971
3020
  } | {
2972
- summary: string;
2973
3021
  kind: "conflict_detected";
3022
+ summary: string;
2974
3023
  evidence: {
2975
- id: string;
3024
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2976
3025
  label: string;
2977
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3026
+ id: string;
2978
3027
  capture: "at_action" | "historical_lookup" | "fixture";
2979
3028
  locator?: string | undefined;
2980
3029
  }[];
@@ -2982,14 +3031,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2982
3031
  decisionIds: string[];
2983
3032
  agentIds: string[];
2984
3033
  } | {
3034
+ kind: "test_result";
2985
3035
  summary: string;
2986
3036
  status: "error" | "failed" | "passed";
2987
- kind: "test_result";
2988
3037
  command: string;
2989
3038
  evidence: {
2990
- id: string;
3039
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2991
3040
  label: string;
2992
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3041
+ id: string;
2993
3042
  capture: "at_action" | "historical_lookup" | "fixture";
2994
3043
  locator?: string | undefined;
2995
3044
  }[];
@@ -3002,9 +3051,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3002
3051
  statement: string;
3003
3052
  rationale: string;
3004
3053
  evidence: {
3005
- id: string;
3054
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3006
3055
  label: string;
3007
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3056
+ id: string;
3008
3057
  capture: "at_action" | "historical_lookup" | "fixture";
3009
3058
  locator?: string | undefined;
3010
3059
  }[];
@@ -3016,25 +3065,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3016
3065
  } | {
3017
3066
  kind: "correction_approved";
3018
3067
  evidence: {
3019
- id: string;
3068
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3020
3069
  label: string;
3021
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3070
+ id: string;
3022
3071
  capture: "at_action" | "historical_lookup" | "fixture";
3023
3072
  locator?: string | undefined;
3024
3073
  }[];
3025
3074
  correctionId: string;
3026
3075
  approvedBy: {
3027
- id: string;
3028
- label: string;
3029
3076
  kind: "agent" | "human";
3077
+ label: string;
3078
+ id: string;
3030
3079
  };
3031
3080
  note?: string | undefined;
3032
3081
  } | {
3033
3082
  kind: "decision_superseded";
3034
3083
  evidence: {
3035
- id: string;
3084
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3036
3085
  label: string;
3037
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3086
+ id: string;
3038
3087
  capture: "at_action" | "historical_lookup" | "fixture";
3039
3088
  locator?: string | undefined;
3040
3089
  }[];
@@ -3047,9 +3096,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3047
3096
  agentId: string;
3048
3097
  sessionId: string;
3049
3098
  evidence: {
3050
- id: string;
3099
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3051
3100
  label: string;
3052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3101
+ id: string;
3053
3102
  capture: "at_action" | "historical_lookup" | "fixture";
3054
3103
  locator?: string | undefined;
3055
3104
  }[];
@@ -3061,9 +3110,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3061
3110
  agentId: string;
3062
3111
  sessionId: string;
3063
3112
  evidence: {
3064
- id: string;
3113
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3065
3114
  label: string;
3066
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3115
+ id: string;
3067
3116
  capture: "at_action" | "historical_lookup" | "fixture";
3068
3117
  locator?: string | undefined;
3069
3118
  }[];
@@ -3072,13 +3121,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3072
3121
  recallReceiptId: string;
3073
3122
  staleDecisionAbsent: boolean;
3074
3123
  } | {
3075
- summary: string;
3076
3124
  kind: "mission_completed";
3125
+ summary: string;
3077
3126
  outcome: "failed" | "recovered" | "inconclusive";
3078
3127
  evidence: {
3079
- id: string;
3128
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3080
3129
  label: string;
3081
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3130
+ id: string;
3082
3131
  capture: "at_action" | "historical_lookup" | "fixture";
3083
3132
  locator?: string | undefined;
3084
3133
  }[];
@@ -3092,37 +3141,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3092
3141
  objective: string;
3093
3142
  runMode: "replay" | "fixture" | "live";
3094
3143
  evidence?: {
3095
- id: string;
3144
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3096
3145
  label: string;
3097
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3146
+ id: string;
3098
3147
  capture: "at_action" | "historical_lookup" | "fixture";
3099
3148
  locator?: string | undefined;
3100
3149
  }[] | undefined;
3101
3150
  } | {
3102
- label: string;
3103
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3104
3151
  kind: "agent_status";
3152
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3153
+ label: string;
3105
3154
  role: string;
3106
3155
  agentId: string;
3107
3156
  sessionId: string;
3108
3157
  detail?: string | undefined;
3109
3158
  evidence?: {
3110
- id: string;
3159
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3111
3160
  label: string;
3112
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3161
+ id: string;
3113
3162
  capture: "at_action" | "historical_lookup" | "fixture";
3114
3163
  locator?: string | undefined;
3115
3164
  }[] | undefined;
3116
3165
  } | {
3117
- summary: string;
3118
3166
  kind: "agent_output";
3167
+ summary: string;
3119
3168
  agentId: string;
3120
3169
  sessionId: string;
3121
3170
  outputId: string;
3122
3171
  evidence?: {
3123
- id: string;
3172
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3124
3173
  label: string;
3125
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3174
+ id: string;
3126
3175
  capture: "at_action" | "historical_lookup" | "fixture";
3127
3176
  locator?: string | undefined;
3128
3177
  }[] | undefined;
@@ -3135,37 +3184,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3135
3184
  decisionId: string;
3136
3185
  confidence?: number | undefined;
3137
3186
  evidence?: {
3138
- id: string;
3187
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3139
3188
  label: string;
3140
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3189
+ id: string;
3141
3190
  capture: "at_action" | "historical_lookup" | "fixture";
3142
3191
  locator?: string | undefined;
3143
3192
  }[] | undefined;
3144
3193
  } | {
3145
- summary: string;
3146
3194
  kind: "conflict_detected";
3195
+ summary: string;
3147
3196
  conflictId: string;
3148
3197
  decisionIds: string[];
3149
3198
  agentIds: string[];
3150
3199
  evidence?: {
3151
- id: string;
3200
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3152
3201
  label: string;
3153
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3202
+ id: string;
3154
3203
  capture: "at_action" | "historical_lookup" | "fixture";
3155
3204
  locator?: string | undefined;
3156
3205
  }[] | undefined;
3157
3206
  } | {
3207
+ kind: "test_result";
3158
3208
  summary: string;
3159
3209
  status: "error" | "failed" | "passed";
3160
- kind: "test_result";
3161
3210
  command: string;
3162
3211
  decisionId: string;
3163
3212
  testId: string;
3164
3213
  durationMs?: number | undefined;
3165
3214
  evidence?: {
3166
- id: string;
3215
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3167
3216
  label: string;
3168
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3217
+ id: string;
3169
3218
  capture: "at_action" | "historical_lookup" | "fixture";
3170
3219
  locator?: string | undefined;
3171
3220
  }[] | undefined;
@@ -3180,9 +3229,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3180
3229
  supersedesDecisionIds: string[];
3181
3230
  proposedBy: string;
3182
3231
  evidence?: {
3183
- id: string;
3232
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3184
3233
  label: string;
3185
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3234
+ id: string;
3186
3235
  capture: "at_action" | "historical_lookup" | "fixture";
3187
3236
  locator?: string | undefined;
3188
3237
  }[] | undefined;
@@ -3190,15 +3239,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3190
3239
  kind: "correction_approved";
3191
3240
  correctionId: string;
3192
3241
  approvedBy: {
3193
- id: string;
3194
- label: string;
3195
3242
  kind: "agent" | "human";
3243
+ label: string;
3244
+ id: string;
3196
3245
  };
3197
3246
  note?: string | undefined;
3198
3247
  evidence?: {
3199
- id: string;
3248
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3200
3249
  label: string;
3201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3250
+ id: string;
3202
3251
  capture: "at_action" | "historical_lookup" | "fixture";
3203
3252
  locator?: string | undefined;
3204
3253
  }[] | undefined;
@@ -3208,9 +3257,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3208
3257
  correctionId: string;
3209
3258
  replacementDecisionId: string;
3210
3259
  evidence?: {
3211
- id: string;
3260
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3212
3261
  label: string;
3213
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3262
+ id: string;
3214
3263
  capture: "at_action" | "historical_lookup" | "fixture";
3215
3264
  locator?: string | undefined;
3216
3265
  }[] | undefined;
@@ -3223,9 +3272,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3223
3272
  recallReceiptId: string;
3224
3273
  capturedAtAction: boolean;
3225
3274
  evidence?: {
3226
- id: string;
3275
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3227
3276
  label: string;
3228
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3277
+ id: string;
3229
3278
  capture: "at_action" | "historical_lookup" | "fixture";
3230
3279
  locator?: string | undefined;
3231
3280
  }[] | undefined;
@@ -3238,20 +3287,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3238
3287
  recallReceiptId: string;
3239
3288
  staleDecisionAbsent: boolean;
3240
3289
  evidence?: {
3241
- id: string;
3290
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3242
3291
  label: string;
3243
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3292
+ id: string;
3244
3293
  capture: "at_action" | "historical_lookup" | "fixture";
3245
3294
  locator?: string | undefined;
3246
3295
  }[] | undefined;
3247
3296
  } | {
3248
- summary: string;
3249
3297
  kind: "mission_completed";
3298
+ summary: string;
3250
3299
  outcome: "failed" | "recovered" | "inconclusive";
3251
3300
  evidence?: {
3252
- id: string;
3301
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3253
3302
  label: string;
3254
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3303
+ id: string;
3255
3304
  capture: "at_action" | "historical_lookup" | "fixture";
3256
3305
  locator?: string | undefined;
3257
3306
  }[] | undefined;
@@ -3281,15 +3330,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3281
3330
  locator: z.ZodOptional<z.ZodString>;
3282
3331
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3283
3332
  }, "strict", z.ZodTypeAny, {
3284
- id: string;
3333
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3285
3334
  label: string;
3286
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3335
+ id: string;
3287
3336
  capture: "at_action" | "historical_lookup" | "fixture";
3288
3337
  locator?: string | undefined;
3289
3338
  }, {
3290
- id: string;
3339
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3291
3340
  label: string;
3292
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3341
+ id: string;
3293
3342
  capture: "at_action" | "historical_lookup" | "fixture";
3294
3343
  locator?: string | undefined;
3295
3344
  }>, "many">>;
@@ -3297,9 +3346,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3297
3346
  kind: "mission_started";
3298
3347
  title: string;
3299
3348
  evidence: {
3300
- id: string;
3349
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3301
3350
  label: string;
3302
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3351
+ id: string;
3303
3352
  capture: "at_action" | "historical_lookup" | "fixture";
3304
3353
  locator?: string | undefined;
3305
3354
  }[];
@@ -3311,9 +3360,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3311
3360
  objective: string;
3312
3361
  runMode: "replay" | "fixture" | "live";
3313
3362
  evidence?: {
3314
- id: string;
3363
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3315
3364
  label: string;
3316
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3365
+ id: string;
3317
3366
  capture: "at_action" | "historical_lookup" | "fixture";
3318
3367
  locator?: string | undefined;
3319
3368
  }[] | undefined;
@@ -3329,15 +3378,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3329
3378
  locator: z.ZodOptional<z.ZodString>;
3330
3379
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3331
3380
  }, "strict", z.ZodTypeAny, {
3332
- id: string;
3381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3333
3382
  label: string;
3334
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3383
+ id: string;
3335
3384
  capture: "at_action" | "historical_lookup" | "fixture";
3336
3385
  locator?: string | undefined;
3337
3386
  }, {
3338
- id: string;
3387
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3339
3388
  label: string;
3340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3389
+ id: string;
3341
3390
  capture: "at_action" | "historical_lookup" | "fixture";
3342
3391
  locator?: string | undefined;
3343
3392
  }>, "many">>;
@@ -3345,32 +3394,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3345
3394
  sessionId: z.ZodString;
3346
3395
  kind: z.ZodLiteral<"agent_status">;
3347
3396
  }, "strict", z.ZodTypeAny, {
3348
- label: string;
3349
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3350
3397
  kind: "agent_status";
3398
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3399
+ label: string;
3351
3400
  role: string;
3352
3401
  agentId: string;
3353
3402
  sessionId: string;
3354
3403
  evidence: {
3355
- id: string;
3404
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3356
3405
  label: string;
3357
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3406
+ id: string;
3358
3407
  capture: "at_action" | "historical_lookup" | "fixture";
3359
3408
  locator?: string | undefined;
3360
3409
  }[];
3361
3410
  detail?: string | undefined;
3362
3411
  }, {
3363
- label: string;
3364
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3365
3412
  kind: "agent_status";
3413
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3414
+ label: string;
3366
3415
  role: string;
3367
3416
  agentId: string;
3368
3417
  sessionId: string;
3369
3418
  detail?: string | undefined;
3370
3419
  evidence?: {
3371
- id: string;
3420
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3372
3421
  label: string;
3373
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3422
+ id: string;
3374
3423
  capture: "at_action" | "historical_lookup" | "fixture";
3375
3424
  locator?: string | undefined;
3376
3425
  }[] | undefined;
@@ -3384,15 +3433,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3384
3433
  locator: z.ZodOptional<z.ZodString>;
3385
3434
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3386
3435
  }, "strict", z.ZodTypeAny, {
3387
- id: string;
3436
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3388
3437
  label: string;
3389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3438
+ id: string;
3390
3439
  capture: "at_action" | "historical_lookup" | "fixture";
3391
3440
  locator?: string | undefined;
3392
3441
  }, {
3393
- id: string;
3442
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3394
3443
  label: string;
3395
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3444
+ id: string;
3396
3445
  capture: "at_action" | "historical_lookup" | "fixture";
3397
3446
  locator?: string | undefined;
3398
3447
  }>, "many">>;
@@ -3400,28 +3449,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3400
3449
  sessionId: z.ZodString;
3401
3450
  kind: z.ZodLiteral<"agent_output">;
3402
3451
  }, "strict", z.ZodTypeAny, {
3403
- summary: string;
3404
3452
  kind: "agent_output";
3453
+ summary: string;
3405
3454
  agentId: string;
3406
3455
  sessionId: string;
3407
3456
  evidence: {
3408
- id: string;
3457
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3409
3458
  label: string;
3410
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3459
+ id: string;
3411
3460
  capture: "at_action" | "historical_lookup" | "fixture";
3412
3461
  locator?: string | undefined;
3413
3462
  }[];
3414
3463
  outputId: string;
3415
3464
  }, {
3416
- summary: string;
3417
3465
  kind: "agent_output";
3466
+ summary: string;
3418
3467
  agentId: string;
3419
3468
  sessionId: string;
3420
3469
  outputId: string;
3421
3470
  evidence?: {
3422
- id: string;
3471
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3423
3472
  label: string;
3424
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3473
+ id: string;
3425
3474
  capture: "at_action" | "historical_lookup" | "fixture";
3426
3475
  locator?: string | undefined;
3427
3476
  }[] | undefined;
@@ -3437,15 +3486,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3437
3486
  locator: z.ZodOptional<z.ZodString>;
3438
3487
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3439
3488
  }, "strict", z.ZodTypeAny, {
3440
- id: string;
3489
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3441
3490
  label: string;
3442
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3491
+ id: string;
3443
3492
  capture: "at_action" | "historical_lookup" | "fixture";
3444
3493
  locator?: string | undefined;
3445
3494
  }, {
3446
- id: string;
3495
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3447
3496
  label: string;
3448
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3497
+ id: string;
3449
3498
  capture: "at_action" | "historical_lookup" | "fixture";
3450
3499
  locator?: string | undefined;
3451
3500
  }>, "many">>;
@@ -3458,9 +3507,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3458
3507
  statement: string;
3459
3508
  sessionId: string;
3460
3509
  evidence: {
3461
- id: string;
3510
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3462
3511
  label: string;
3463
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3512
+ id: string;
3464
3513
  capture: "at_action" | "historical_lookup" | "fixture";
3465
3514
  locator?: string | undefined;
3466
3515
  }[];
@@ -3476,9 +3525,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3476
3525
  decisionId: string;
3477
3526
  confidence?: number | undefined;
3478
3527
  evidence?: {
3479
- id: string;
3528
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3480
3529
  label: string;
3481
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3530
+ id: string;
3482
3531
  capture: "at_action" | "historical_lookup" | "fixture";
3483
3532
  locator?: string | undefined;
3484
3533
  }[] | undefined;
@@ -3495,25 +3544,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3495
3544
  locator: z.ZodOptional<z.ZodString>;
3496
3545
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3497
3546
  }, "strict", z.ZodTypeAny, {
3498
- id: string;
3547
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3499
3548
  label: string;
3500
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3549
+ id: string;
3501
3550
  capture: "at_action" | "historical_lookup" | "fixture";
3502
3551
  locator?: string | undefined;
3503
3552
  }, {
3504
- id: string;
3553
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3505
3554
  label: string;
3506
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3555
+ id: string;
3507
3556
  capture: "at_action" | "historical_lookup" | "fixture";
3508
3557
  locator?: string | undefined;
3509
3558
  }>, "many">>;
3510
3559
  }, "strict", z.ZodTypeAny, {
3511
- summary: string;
3512
3560
  kind: "conflict_detected";
3561
+ summary: string;
3513
3562
  evidence: {
3514
- id: string;
3563
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3515
3564
  label: string;
3516
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3565
+ id: string;
3517
3566
  capture: "at_action" | "historical_lookup" | "fixture";
3518
3567
  locator?: string | undefined;
3519
3568
  }[];
@@ -3521,15 +3570,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3521
3570
  decisionIds: string[];
3522
3571
  agentIds: string[];
3523
3572
  }, {
3524
- summary: string;
3525
3573
  kind: "conflict_detected";
3574
+ summary: string;
3526
3575
  conflictId: string;
3527
3576
  decisionIds: string[];
3528
3577
  agentIds: string[];
3529
3578
  evidence?: {
3530
- id: string;
3579
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3531
3580
  label: string;
3532
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3581
+ id: string;
3533
3582
  capture: "at_action" | "historical_lookup" | "fixture";
3534
3583
  locator?: string | undefined;
3535
3584
  }[] | undefined;
@@ -3549,27 +3598,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3549
3598
  locator: z.ZodOptional<z.ZodString>;
3550
3599
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3551
3600
  }, "strict", z.ZodTypeAny, {
3552
- id: string;
3601
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3553
3602
  label: string;
3554
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3603
+ id: string;
3555
3604
  capture: "at_action" | "historical_lookup" | "fixture";
3556
3605
  locator?: string | undefined;
3557
3606
  }, {
3558
- id: string;
3607
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
3608
  label: string;
3560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3609
+ id: string;
3561
3610
  capture: "at_action" | "historical_lookup" | "fixture";
3562
3611
  locator?: string | undefined;
3563
3612
  }>, "many">>;
3564
3613
  }, "strict", z.ZodTypeAny, {
3614
+ kind: "test_result";
3565
3615
  summary: string;
3566
3616
  status: "error" | "failed" | "passed";
3567
- kind: "test_result";
3568
3617
  command: string;
3569
3618
  evidence: {
3570
- id: string;
3619
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3571
3620
  label: string;
3572
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3621
+ id: string;
3573
3622
  capture: "at_action" | "historical_lookup" | "fixture";
3574
3623
  locator?: string | undefined;
3575
3624
  }[];
@@ -3578,17 +3627,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3578
3627
  durationMs?: number | undefined;
3579
3628
  correctionId?: string | undefined;
3580
3629
  }, {
3630
+ kind: "test_result";
3581
3631
  summary: string;
3582
3632
  status: "error" | "failed" | "passed";
3583
- kind: "test_result";
3584
3633
  command: string;
3585
3634
  decisionId: string;
3586
3635
  testId: string;
3587
3636
  durationMs?: number | undefined;
3588
3637
  evidence?: {
3589
- id: string;
3638
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3590
3639
  label: string;
3591
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3640
+ id: string;
3592
3641
  capture: "at_action" | "historical_lookup" | "fixture";
3593
3642
  locator?: string | undefined;
3594
3643
  }[] | undefined;
@@ -3609,15 +3658,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3609
3658
  locator: z.ZodOptional<z.ZodString>;
3610
3659
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3611
3660
  }, "strict", z.ZodTypeAny, {
3612
- id: string;
3661
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3613
3662
  label: string;
3614
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3663
+ id: string;
3615
3664
  capture: "at_action" | "historical_lookup" | "fixture";
3616
3665
  locator?: string | undefined;
3617
3666
  }, {
3618
- id: string;
3667
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3619
3668
  label: string;
3620
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3669
+ id: string;
3621
3670
  capture: "at_action" | "historical_lookup" | "fixture";
3622
3671
  locator?: string | undefined;
3623
3672
  }>, "many">>;
@@ -3626,9 +3675,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3626
3675
  statement: string;
3627
3676
  rationale: string;
3628
3677
  evidence: {
3629
- id: string;
3678
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3630
3679
  label: string;
3631
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3680
+ id: string;
3632
3681
  capture: "at_action" | "historical_lookup" | "fixture";
3633
3682
  locator?: string | undefined;
3634
3683
  }[];
@@ -3647,9 +3696,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3647
3696
  supersedesDecisionIds: string[];
3648
3697
  proposedBy: string;
3649
3698
  evidence?: {
3650
- id: string;
3699
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
3700
  label: string;
3652
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3701
+ id: string;
3653
3702
  capture: "at_action" | "historical_lookup" | "fixture";
3654
3703
  locator?: string | undefined;
3655
3704
  }[] | undefined;
@@ -3661,13 +3710,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3661
3710
  id: z.ZodString;
3662
3711
  label: z.ZodString;
3663
3712
  }, "strict", z.ZodTypeAny, {
3664
- id: string;
3665
- label: string;
3666
3713
  kind: "agent" | "human";
3667
- }, {
3668
- id: string;
3669
3714
  label: string;
3715
+ id: string;
3716
+ }, {
3670
3717
  kind: "agent" | "human";
3718
+ label: string;
3719
+ id: string;
3671
3720
  }>;
3672
3721
  note: z.ZodOptional<z.ZodString>;
3673
3722
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3677,47 +3726,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3677
3726
  locator: z.ZodOptional<z.ZodString>;
3678
3727
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3679
3728
  }, "strict", z.ZodTypeAny, {
3680
- id: string;
3729
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3681
3730
  label: string;
3682
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3731
+ id: string;
3683
3732
  capture: "at_action" | "historical_lookup" | "fixture";
3684
3733
  locator?: string | undefined;
3685
3734
  }, {
3686
- id: string;
3735
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3687
3736
  label: string;
3688
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3737
+ id: string;
3689
3738
  capture: "at_action" | "historical_lookup" | "fixture";
3690
3739
  locator?: string | undefined;
3691
3740
  }>, "many">>;
3692
3741
  }, "strict", z.ZodTypeAny, {
3693
3742
  kind: "correction_approved";
3694
3743
  evidence: {
3695
- id: string;
3744
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3696
3745
  label: string;
3697
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3746
+ id: string;
3698
3747
  capture: "at_action" | "historical_lookup" | "fixture";
3699
3748
  locator?: string | undefined;
3700
3749
  }[];
3701
3750
  correctionId: string;
3702
3751
  approvedBy: {
3703
- id: string;
3704
- label: string;
3705
3752
  kind: "agent" | "human";
3753
+ label: string;
3754
+ id: string;
3706
3755
  };
3707
3756
  note?: string | undefined;
3708
3757
  }, {
3709
3758
  kind: "correction_approved";
3710
3759
  correctionId: string;
3711
3760
  approvedBy: {
3712
- id: string;
3713
- label: string;
3714
3761
  kind: "agent" | "human";
3762
+ label: string;
3763
+ id: string;
3715
3764
  };
3716
3765
  note?: string | undefined;
3717
3766
  evidence?: {
3718
- id: string;
3767
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3719
3768
  label: string;
3720
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3769
+ id: string;
3721
3770
  capture: "at_action" | "historical_lookup" | "fixture";
3722
3771
  locator?: string | undefined;
3723
3772
  }[] | undefined;
@@ -3733,24 +3782,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3733
3782
  locator: z.ZodOptional<z.ZodString>;
3734
3783
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3735
3784
  }, "strict", z.ZodTypeAny, {
3736
- id: string;
3785
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3737
3786
  label: string;
3738
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3787
+ id: string;
3739
3788
  capture: "at_action" | "historical_lookup" | "fixture";
3740
3789
  locator?: string | undefined;
3741
3790
  }, {
3742
- id: string;
3791
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3743
3792
  label: string;
3744
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3793
+ id: string;
3745
3794
  capture: "at_action" | "historical_lookup" | "fixture";
3746
3795
  locator?: string | undefined;
3747
3796
  }>, "many">>;
3748
3797
  }, "strict", z.ZodTypeAny, {
3749
3798
  kind: "decision_superseded";
3750
3799
  evidence: {
3751
- id: string;
3800
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3752
3801
  label: string;
3753
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3802
+ id: string;
3754
3803
  capture: "at_action" | "historical_lookup" | "fixture";
3755
3804
  locator?: string | undefined;
3756
3805
  }[];
@@ -3763,9 +3812,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3763
3812
  correctionId: string;
3764
3813
  replacementDecisionId: string;
3765
3814
  evidence?: {
3766
- id: string;
3815
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3767
3816
  label: string;
3768
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3817
+ id: string;
3769
3818
  capture: "at_action" | "historical_lookup" | "fixture";
3770
3819
  locator?: string | undefined;
3771
3820
  }[] | undefined;
@@ -3781,15 +3830,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3781
3830
  locator: z.ZodOptional<z.ZodString>;
3782
3831
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3783
3832
  }, "strict", z.ZodTypeAny, {
3784
- id: string;
3833
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3785
3834
  label: string;
3786
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3835
+ id: string;
3787
3836
  capture: "at_action" | "historical_lookup" | "fixture";
3788
3837
  locator?: string | undefined;
3789
3838
  }, {
3790
- id: string;
3839
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3791
3840
  label: string;
3792
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3841
+ id: string;
3793
3842
  capture: "at_action" | "historical_lookup" | "fixture";
3794
3843
  locator?: string | undefined;
3795
3844
  }>, "many">>;
@@ -3802,9 +3851,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3802
3851
  agentId: string;
3803
3852
  sessionId: string;
3804
3853
  evidence: {
3805
- id: string;
3854
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3806
3855
  label: string;
3807
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3856
+ id: string;
3808
3857
  capture: "at_action" | "historical_lookup" | "fixture";
3809
3858
  locator?: string | undefined;
3810
3859
  }[];
@@ -3820,9 +3869,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3820
3869
  recallReceiptId: string;
3821
3870
  capturedAtAction: boolean;
3822
3871
  evidence?: {
3823
- id: string;
3872
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3824
3873
  label: string;
3825
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3874
+ id: string;
3826
3875
  capture: "at_action" | "historical_lookup" | "fixture";
3827
3876
  locator?: string | undefined;
3828
3877
  }[] | undefined;
@@ -3838,15 +3887,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3838
3887
  locator: z.ZodOptional<z.ZodString>;
3839
3888
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3840
3889
  }, "strict", z.ZodTypeAny, {
3841
- id: string;
3890
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3842
3891
  label: string;
3843
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3892
+ id: string;
3844
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3845
3894
  locator?: string | undefined;
3846
3895
  }, {
3847
- id: string;
3896
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3848
3897
  label: string;
3849
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3898
+ id: string;
3850
3899
  capture: "at_action" | "historical_lookup" | "fixture";
3851
3900
  locator?: string | undefined;
3852
3901
  }>, "many">>;
@@ -3858,9 +3907,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3858
3907
  agentId: string;
3859
3908
  sessionId: string;
3860
3909
  evidence: {
3861
- id: string;
3910
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3862
3911
  label: string;
3863
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3912
+ id: string;
3864
3913
  capture: "at_action" | "historical_lookup" | "fixture";
3865
3914
  locator?: string | undefined;
3866
3915
  }[];
@@ -3877,9 +3926,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3877
3926
  recallReceiptId: string;
3878
3927
  staleDecisionAbsent: boolean;
3879
3928
  evidence?: {
3880
- id: string;
3929
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3881
3930
  label: string;
3882
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3931
+ id: string;
3883
3932
  capture: "at_action" | "historical_lookup" | "fixture";
3884
3933
  locator?: string | undefined;
3885
3934
  }[] | undefined;
@@ -3894,37 +3943,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3894
3943
  locator: z.ZodOptional<z.ZodString>;
3895
3944
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3896
3945
  }, "strict", z.ZodTypeAny, {
3897
- id: string;
3946
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3898
3947
  label: string;
3899
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3948
+ id: string;
3900
3949
  capture: "at_action" | "historical_lookup" | "fixture";
3901
3950
  locator?: string | undefined;
3902
3951
  }, {
3903
- id: string;
3952
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3904
3953
  label: string;
3905
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3954
+ id: string;
3906
3955
  capture: "at_action" | "historical_lookup" | "fixture";
3907
3956
  locator?: string | undefined;
3908
3957
  }>, "many">>;
3909
3958
  }, "strict", z.ZodTypeAny, {
3910
- summary: string;
3911
3959
  kind: "mission_completed";
3960
+ summary: string;
3912
3961
  outcome: "failed" | "recovered" | "inconclusive";
3913
3962
  evidence: {
3914
- id: string;
3963
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3915
3964
  label: string;
3916
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3965
+ id: string;
3917
3966
  capture: "at_action" | "historical_lookup" | "fixture";
3918
3967
  locator?: string | undefined;
3919
3968
  }[];
3920
3969
  }, {
3921
- summary: string;
3922
3970
  kind: "mission_completed";
3971
+ summary: string;
3923
3972
  outcome: "failed" | "recovered" | "inconclusive";
3924
3973
  evidence?: {
3925
- id: string;
3974
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3926
3975
  label: string;
3927
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3976
+ id: string;
3928
3977
  capture: "at_action" | "historical_lookup" | "fixture";
3929
3978
  locator?: string | undefined;
3930
3979
  }[] | undefined;
@@ -3932,38 +3981,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3932
3981
  kind: "mission_started";
3933
3982
  title: string;
3934
3983
  evidence: {
3935
- id: string;
3984
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3936
3985
  label: string;
3937
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3986
+ id: string;
3938
3987
  capture: "at_action" | "historical_lookup" | "fixture";
3939
3988
  locator?: string | undefined;
3940
3989
  }[];
3941
3990
  objective: string;
3942
3991
  runMode: "replay" | "fixture" | "live";
3943
3992
  } | {
3944
- label: string;
3945
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3946
3993
  kind: "agent_status";
3994
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3995
+ label: string;
3947
3996
  role: string;
3948
3997
  agentId: string;
3949
3998
  sessionId: string;
3950
3999
  evidence: {
3951
- id: string;
4000
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3952
4001
  label: string;
3953
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4002
+ id: string;
3954
4003
  capture: "at_action" | "historical_lookup" | "fixture";
3955
4004
  locator?: string | undefined;
3956
4005
  }[];
3957
4006
  detail?: string | undefined;
3958
4007
  } | {
3959
- summary: string;
3960
4008
  kind: "agent_output";
4009
+ summary: string;
3961
4010
  agentId: string;
3962
4011
  sessionId: string;
3963
4012
  evidence: {
3964
- id: string;
4013
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3965
4014
  label: string;
3966
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4015
+ id: string;
3967
4016
  capture: "at_action" | "historical_lookup" | "fixture";
3968
4017
  locator?: string | undefined;
3969
4018
  }[];
@@ -3974,9 +4023,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3974
4023
  statement: string;
3975
4024
  sessionId: string;
3976
4025
  evidence: {
3977
- id: string;
4026
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3978
4027
  label: string;
3979
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4028
+ id: string;
3980
4029
  capture: "at_action" | "historical_lookup" | "fixture";
3981
4030
  locator?: string | undefined;
3982
4031
  }[];
@@ -3984,12 +4033,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3984
4033
  decisionId: string;
3985
4034
  confidence?: number | undefined;
3986
4035
  } | {
3987
- summary: string;
3988
4036
  kind: "conflict_detected";
4037
+ summary: string;
3989
4038
  evidence: {
3990
- id: string;
4039
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3991
4040
  label: string;
3992
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4041
+ id: string;
3993
4042
  capture: "at_action" | "historical_lookup" | "fixture";
3994
4043
  locator?: string | undefined;
3995
4044
  }[];
@@ -3997,14 +4046,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3997
4046
  decisionIds: string[];
3998
4047
  agentIds: string[];
3999
4048
  } | {
4049
+ kind: "test_result";
4000
4050
  summary: string;
4001
4051
  status: "error" | "failed" | "passed";
4002
- kind: "test_result";
4003
4052
  command: string;
4004
4053
  evidence: {
4005
- id: string;
4054
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4006
4055
  label: string;
4007
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4056
+ id: string;
4008
4057
  capture: "at_action" | "historical_lookup" | "fixture";
4009
4058
  locator?: string | undefined;
4010
4059
  }[];
@@ -4017,9 +4066,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4017
4066
  statement: string;
4018
4067
  rationale: string;
4019
4068
  evidence: {
4020
- id: string;
4069
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4021
4070
  label: string;
4022
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4071
+ id: string;
4023
4072
  capture: "at_action" | "historical_lookup" | "fixture";
4024
4073
  locator?: string | undefined;
4025
4074
  }[];
@@ -4031,25 +4080,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4031
4080
  } | {
4032
4081
  kind: "correction_approved";
4033
4082
  evidence: {
4034
- id: string;
4083
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4035
4084
  label: string;
4036
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4085
+ id: string;
4037
4086
  capture: "at_action" | "historical_lookup" | "fixture";
4038
4087
  locator?: string | undefined;
4039
4088
  }[];
4040
4089
  correctionId: string;
4041
4090
  approvedBy: {
4042
- id: string;
4043
- label: string;
4044
4091
  kind: "agent" | "human";
4092
+ label: string;
4093
+ id: string;
4045
4094
  };
4046
4095
  note?: string | undefined;
4047
4096
  } | {
4048
4097
  kind: "decision_superseded";
4049
4098
  evidence: {
4050
- id: string;
4099
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4051
4100
  label: string;
4052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4101
+ id: string;
4053
4102
  capture: "at_action" | "historical_lookup" | "fixture";
4054
4103
  locator?: string | undefined;
4055
4104
  }[];
@@ -4062,9 +4111,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4062
4111
  agentId: string;
4063
4112
  sessionId: string;
4064
4113
  evidence: {
4065
- id: string;
4114
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4066
4115
  label: string;
4067
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4116
+ id: string;
4068
4117
  capture: "at_action" | "historical_lookup" | "fixture";
4069
4118
  locator?: string | undefined;
4070
4119
  }[];
@@ -4076,9 +4125,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4076
4125
  agentId: string;
4077
4126
  sessionId: string;
4078
4127
  evidence: {
4079
- id: string;
4128
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4080
4129
  label: string;
4081
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4130
+ id: string;
4082
4131
  capture: "at_action" | "historical_lookup" | "fixture";
4083
4132
  locator?: string | undefined;
4084
4133
  }[];
@@ -4087,13 +4136,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4087
4136
  recallReceiptId: string;
4088
4137
  staleDecisionAbsent: boolean;
4089
4138
  } | {
4090
- summary: string;
4091
4139
  kind: "mission_completed";
4140
+ summary: string;
4092
4141
  outcome: "failed" | "recovered" | "inconclusive";
4093
4142
  evidence: {
4094
- id: string;
4143
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4095
4144
  label: string;
4096
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4145
+ id: string;
4097
4146
  capture: "at_action" | "historical_lookup" | "fixture";
4098
4147
  locator?: string | undefined;
4099
4148
  }[];
@@ -4103,37 +4152,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4103
4152
  objective: string;
4104
4153
  runMode: "replay" | "fixture" | "live";
4105
4154
  evidence?: {
4106
- id: string;
4155
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4107
4156
  label: string;
4108
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4157
+ id: string;
4109
4158
  capture: "at_action" | "historical_lookup" | "fixture";
4110
4159
  locator?: string | undefined;
4111
4160
  }[] | undefined;
4112
4161
  } | {
4113
- label: string;
4114
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4115
4162
  kind: "agent_status";
4163
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4164
+ label: string;
4116
4165
  role: string;
4117
4166
  agentId: string;
4118
4167
  sessionId: string;
4119
4168
  detail?: string | undefined;
4120
4169
  evidence?: {
4121
- id: string;
4170
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4122
4171
  label: string;
4123
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4172
+ id: string;
4124
4173
  capture: "at_action" | "historical_lookup" | "fixture";
4125
4174
  locator?: string | undefined;
4126
4175
  }[] | undefined;
4127
4176
  } | {
4128
- summary: string;
4129
4177
  kind: "agent_output";
4178
+ summary: string;
4130
4179
  agentId: string;
4131
4180
  sessionId: string;
4132
4181
  outputId: string;
4133
4182
  evidence?: {
4134
- id: string;
4183
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4135
4184
  label: string;
4136
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4185
+ id: string;
4137
4186
  capture: "at_action" | "historical_lookup" | "fixture";
4138
4187
  locator?: string | undefined;
4139
4188
  }[] | undefined;
@@ -4146,37 +4195,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4146
4195
  decisionId: string;
4147
4196
  confidence?: number | undefined;
4148
4197
  evidence?: {
4149
- id: string;
4198
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4150
4199
  label: string;
4151
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4200
+ id: string;
4152
4201
  capture: "at_action" | "historical_lookup" | "fixture";
4153
4202
  locator?: string | undefined;
4154
4203
  }[] | undefined;
4155
4204
  } | {
4156
- summary: string;
4157
4205
  kind: "conflict_detected";
4206
+ summary: string;
4158
4207
  conflictId: string;
4159
4208
  decisionIds: string[];
4160
4209
  agentIds: string[];
4161
4210
  evidence?: {
4162
- id: string;
4211
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4163
4212
  label: string;
4164
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
+ id: string;
4165
4214
  capture: "at_action" | "historical_lookup" | "fixture";
4166
4215
  locator?: string | undefined;
4167
4216
  }[] | undefined;
4168
4217
  } | {
4218
+ kind: "test_result";
4169
4219
  summary: string;
4170
4220
  status: "error" | "failed" | "passed";
4171
- kind: "test_result";
4172
4221
  command: string;
4173
4222
  decisionId: string;
4174
4223
  testId: string;
4175
4224
  durationMs?: number | undefined;
4176
4225
  evidence?: {
4177
- id: string;
4226
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
4227
  label: string;
4179
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4228
+ id: string;
4180
4229
  capture: "at_action" | "historical_lookup" | "fixture";
4181
4230
  locator?: string | undefined;
4182
4231
  }[] | undefined;
@@ -4191,9 +4240,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4191
4240
  supersedesDecisionIds: string[];
4192
4241
  proposedBy: string;
4193
4242
  evidence?: {
4194
- id: string;
4243
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4195
4244
  label: string;
4196
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4245
+ id: string;
4197
4246
  capture: "at_action" | "historical_lookup" | "fixture";
4198
4247
  locator?: string | undefined;
4199
4248
  }[] | undefined;
@@ -4201,15 +4250,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4201
4250
  kind: "correction_approved";
4202
4251
  correctionId: string;
4203
4252
  approvedBy: {
4204
- id: string;
4205
- label: string;
4206
4253
  kind: "agent" | "human";
4254
+ label: string;
4255
+ id: string;
4207
4256
  };
4208
4257
  note?: string | undefined;
4209
4258
  evidence?: {
4210
- id: string;
4259
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4211
4260
  label: string;
4212
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4261
+ id: string;
4213
4262
  capture: "at_action" | "historical_lookup" | "fixture";
4214
4263
  locator?: string | undefined;
4215
4264
  }[] | undefined;
@@ -4219,9 +4268,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4219
4268
  correctionId: string;
4220
4269
  replacementDecisionId: string;
4221
4270
  evidence?: {
4222
- id: string;
4271
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4223
4272
  label: string;
4224
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4273
+ id: string;
4225
4274
  capture: "at_action" | "historical_lookup" | "fixture";
4226
4275
  locator?: string | undefined;
4227
4276
  }[] | undefined;
@@ -4234,9 +4283,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4234
4283
  recallReceiptId: string;
4235
4284
  capturedAtAction: boolean;
4236
4285
  evidence?: {
4237
- id: string;
4286
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4238
4287
  label: string;
4239
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
+ id: string;
4240
4289
  capture: "at_action" | "historical_lookup" | "fixture";
4241
4290
  locator?: string | undefined;
4242
4291
  }[] | undefined;
@@ -4249,64 +4298,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4249
4298
  recallReceiptId: string;
4250
4299
  staleDecisionAbsent: boolean;
4251
4300
  evidence?: {
4252
- id: string;
4301
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
4302
  label: string;
4254
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4303
+ id: string;
4255
4304
  capture: "at_action" | "historical_lookup" | "fixture";
4256
4305
  locator?: string | undefined;
4257
4306
  }[] | undefined;
4258
4307
  } | {
4259
- summary: string;
4260
4308
  kind: "mission_completed";
4309
+ summary: string;
4261
4310
  outcome: "failed" | "recovered" | "inconclusive";
4262
4311
  evidence?: {
4263
- id: string;
4312
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
4313
  label: string;
4265
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4314
+ id: string;
4266
4315
  capture: "at_action" | "historical_lookup" | "fixture";
4267
4316
  locator?: string | undefined;
4268
4317
  }[] | undefined;
4269
4318
  }>;
4270
4319
  }, "strict", z.ZodTypeAny, {
4271
- namespace: string;
4272
- recordedAt: string;
4273
4320
  schemaVersion: "1";
4321
+ recordedAt: string;
4274
4322
  payload: {
4275
4323
  kind: "mission_started";
4276
4324
  title: string;
4277
4325
  evidence: {
4278
- id: string;
4326
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4279
4327
  label: string;
4280
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4328
+ id: string;
4281
4329
  capture: "at_action" | "historical_lookup" | "fixture";
4282
4330
  locator?: string | undefined;
4283
4331
  }[];
4284
4332
  objective: string;
4285
4333
  runMode: "replay" | "fixture" | "live";
4286
4334
  } | {
4287
- label: string;
4288
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4289
4335
  kind: "agent_status";
4336
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4337
+ label: string;
4290
4338
  role: string;
4291
4339
  agentId: string;
4292
4340
  sessionId: string;
4293
4341
  evidence: {
4294
- id: string;
4342
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4295
4343
  label: string;
4296
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4344
+ id: string;
4297
4345
  capture: "at_action" | "historical_lookup" | "fixture";
4298
4346
  locator?: string | undefined;
4299
4347
  }[];
4300
4348
  detail?: string | undefined;
4301
4349
  } | {
4302
- summary: string;
4303
4350
  kind: "agent_output";
4351
+ summary: string;
4304
4352
  agentId: string;
4305
4353
  sessionId: string;
4306
4354
  evidence: {
4307
- id: string;
4355
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4308
4356
  label: string;
4309
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4357
+ id: string;
4310
4358
  capture: "at_action" | "historical_lookup" | "fixture";
4311
4359
  locator?: string | undefined;
4312
4360
  }[];
@@ -4317,9 +4365,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4317
4365
  statement: string;
4318
4366
  sessionId: string;
4319
4367
  evidence: {
4320
- id: string;
4368
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4321
4369
  label: string;
4322
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4370
+ id: string;
4323
4371
  capture: "at_action" | "historical_lookup" | "fixture";
4324
4372
  locator?: string | undefined;
4325
4373
  }[];
@@ -4327,12 +4375,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4327
4375
  decisionId: string;
4328
4376
  confidence?: number | undefined;
4329
4377
  } | {
4330
- summary: string;
4331
4378
  kind: "conflict_detected";
4379
+ summary: string;
4332
4380
  evidence: {
4333
- id: string;
4381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4334
4382
  label: string;
4335
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
+ id: string;
4336
4384
  capture: "at_action" | "historical_lookup" | "fixture";
4337
4385
  locator?: string | undefined;
4338
4386
  }[];
@@ -4340,14 +4388,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4340
4388
  decisionIds: string[];
4341
4389
  agentIds: string[];
4342
4390
  } | {
4391
+ kind: "test_result";
4343
4392
  summary: string;
4344
4393
  status: "error" | "failed" | "passed";
4345
- kind: "test_result";
4346
4394
  command: string;
4347
4395
  evidence: {
4348
- id: string;
4396
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4349
4397
  label: string;
4350
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4398
+ id: string;
4351
4399
  capture: "at_action" | "historical_lookup" | "fixture";
4352
4400
  locator?: string | undefined;
4353
4401
  }[];
@@ -4360,9 +4408,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4360
4408
  statement: string;
4361
4409
  rationale: string;
4362
4410
  evidence: {
4363
- id: string;
4411
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4364
4412
  label: string;
4365
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4413
+ id: string;
4366
4414
  capture: "at_action" | "historical_lookup" | "fixture";
4367
4415
  locator?: string | undefined;
4368
4416
  }[];
@@ -4374,25 +4422,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4374
4422
  } | {
4375
4423
  kind: "correction_approved";
4376
4424
  evidence: {
4377
- id: string;
4425
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4378
4426
  label: string;
4379
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
+ id: string;
4380
4428
  capture: "at_action" | "historical_lookup" | "fixture";
4381
4429
  locator?: string | undefined;
4382
4430
  }[];
4383
4431
  correctionId: string;
4384
4432
  approvedBy: {
4385
- id: string;
4386
- label: string;
4387
4433
  kind: "agent" | "human";
4434
+ label: string;
4435
+ id: string;
4388
4436
  };
4389
4437
  note?: string | undefined;
4390
4438
  } | {
4391
4439
  kind: "decision_superseded";
4392
4440
  evidence: {
4393
- id: string;
4441
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4394
4442
  label: string;
4395
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4443
+ id: string;
4396
4444
  capture: "at_action" | "historical_lookup" | "fixture";
4397
4445
  locator?: string | undefined;
4398
4446
  }[];
@@ -4405,9 +4453,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4405
4453
  agentId: string;
4406
4454
  sessionId: string;
4407
4455
  evidence: {
4408
- id: string;
4456
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4409
4457
  label: string;
4410
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4458
+ id: string;
4411
4459
  capture: "at_action" | "historical_lookup" | "fixture";
4412
4460
  locator?: string | undefined;
4413
4461
  }[];
@@ -4419,9 +4467,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4419
4467
  agentId: string;
4420
4468
  sessionId: string;
4421
4469
  evidence: {
4422
- id: string;
4470
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4423
4471
  label: string;
4424
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4472
+ id: string;
4425
4473
  capture: "at_action" | "historical_lookup" | "fixture";
4426
4474
  locator?: string | undefined;
4427
4475
  }[];
@@ -4430,63 +4478,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4430
4478
  recallReceiptId: string;
4431
4479
  staleDecisionAbsent: boolean;
4432
4480
  } | {
4433
- summary: string;
4434
4481
  kind: "mission_completed";
4482
+ summary: string;
4435
4483
  outcome: "failed" | "recovered" | "inconclusive";
4436
4484
  evidence: {
4437
- id: string;
4485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4438
4486
  label: string;
4439
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4487
+ id: string;
4440
4488
  capture: "at_action" | "historical_lookup" | "fixture";
4441
4489
  locator?: string | undefined;
4442
4490
  }[];
4443
4491
  };
4492
+ namespace: string;
4444
4493
  eventId: string;
4445
4494
  occurredAt: string;
4446
4495
  missionId: string;
4447
4496
  authenticatedPrincipal?: string | undefined;
4448
4497
  idempotencyKey?: string | undefined;
4449
4498
  }, {
4450
- namespace: string;
4451
- recordedAt: string;
4452
4499
  schemaVersion: "1";
4500
+ recordedAt: string;
4453
4501
  payload: {
4454
4502
  kind: "mission_started";
4455
4503
  title: string;
4456
4504
  objective: string;
4457
4505
  runMode: "replay" | "fixture" | "live";
4458
4506
  evidence?: {
4459
- id: string;
4507
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4460
4508
  label: string;
4461
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4509
+ id: string;
4462
4510
  capture: "at_action" | "historical_lookup" | "fixture";
4463
4511
  locator?: string | undefined;
4464
4512
  }[] | undefined;
4465
4513
  } | {
4466
- label: string;
4467
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4468
4514
  kind: "agent_status";
4515
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4516
+ label: string;
4469
4517
  role: string;
4470
4518
  agentId: string;
4471
4519
  sessionId: string;
4472
4520
  detail?: string | undefined;
4473
4521
  evidence?: {
4474
- id: string;
4522
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
4523
  label: string;
4476
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4524
+ id: string;
4477
4525
  capture: "at_action" | "historical_lookup" | "fixture";
4478
4526
  locator?: string | undefined;
4479
4527
  }[] | undefined;
4480
4528
  } | {
4481
- summary: string;
4482
4529
  kind: "agent_output";
4530
+ summary: string;
4483
4531
  agentId: string;
4484
4532
  sessionId: string;
4485
4533
  outputId: string;
4486
4534
  evidence?: {
4487
- id: string;
4535
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
4536
  label: string;
4489
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4537
+ id: string;
4490
4538
  capture: "at_action" | "historical_lookup" | "fixture";
4491
4539
  locator?: string | undefined;
4492
4540
  }[] | undefined;
@@ -4499,37 +4547,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4499
4547
  decisionId: string;
4500
4548
  confidence?: number | undefined;
4501
4549
  evidence?: {
4502
- id: string;
4550
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4503
4551
  label: string;
4504
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4552
+ id: string;
4505
4553
  capture: "at_action" | "historical_lookup" | "fixture";
4506
4554
  locator?: string | undefined;
4507
4555
  }[] | undefined;
4508
4556
  } | {
4509
- summary: string;
4510
4557
  kind: "conflict_detected";
4558
+ summary: string;
4511
4559
  conflictId: string;
4512
4560
  decisionIds: string[];
4513
4561
  agentIds: string[];
4514
4562
  evidence?: {
4515
- id: string;
4563
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4516
4564
  label: string;
4517
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4565
+ id: string;
4518
4566
  capture: "at_action" | "historical_lookup" | "fixture";
4519
4567
  locator?: string | undefined;
4520
4568
  }[] | undefined;
4521
4569
  } | {
4570
+ kind: "test_result";
4522
4571
  summary: string;
4523
4572
  status: "error" | "failed" | "passed";
4524
- kind: "test_result";
4525
4573
  command: string;
4526
4574
  decisionId: string;
4527
4575
  testId: string;
4528
4576
  durationMs?: number | undefined;
4529
4577
  evidence?: {
4530
- id: string;
4578
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4531
4579
  label: string;
4532
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4580
+ id: string;
4533
4581
  capture: "at_action" | "historical_lookup" | "fixture";
4534
4582
  locator?: string | undefined;
4535
4583
  }[] | undefined;
@@ -4544,9 +4592,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4544
4592
  supersedesDecisionIds: string[];
4545
4593
  proposedBy: string;
4546
4594
  evidence?: {
4547
- id: string;
4595
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4548
4596
  label: string;
4549
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4597
+ id: string;
4550
4598
  capture: "at_action" | "historical_lookup" | "fixture";
4551
4599
  locator?: string | undefined;
4552
4600
  }[] | undefined;
@@ -4554,15 +4602,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4554
4602
  kind: "correction_approved";
4555
4603
  correctionId: string;
4556
4604
  approvedBy: {
4557
- id: string;
4558
- label: string;
4559
4605
  kind: "agent" | "human";
4606
+ label: string;
4607
+ id: string;
4560
4608
  };
4561
4609
  note?: string | undefined;
4562
4610
  evidence?: {
4563
- id: string;
4611
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4564
4612
  label: string;
4565
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4613
+ id: string;
4566
4614
  capture: "at_action" | "historical_lookup" | "fixture";
4567
4615
  locator?: string | undefined;
4568
4616
  }[] | undefined;
@@ -4572,9 +4620,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4572
4620
  correctionId: string;
4573
4621
  replacementDecisionId: string;
4574
4622
  evidence?: {
4575
- id: string;
4623
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4576
4624
  label: string;
4577
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4625
+ id: string;
4578
4626
  capture: "at_action" | "historical_lookup" | "fixture";
4579
4627
  locator?: string | undefined;
4580
4628
  }[] | undefined;
@@ -4587,9 +4635,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4587
4635
  recallReceiptId: string;
4588
4636
  capturedAtAction: boolean;
4589
4637
  evidence?: {
4590
- id: string;
4638
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
4639
  label: string;
4592
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4640
+ id: string;
4593
4641
  capture: "at_action" | "historical_lookup" | "fixture";
4594
4642
  locator?: string | undefined;
4595
4643
  }[] | undefined;
@@ -4602,24 +4650,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4602
4650
  recallReceiptId: string;
4603
4651
  staleDecisionAbsent: boolean;
4604
4652
  evidence?: {
4605
- id: string;
4653
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4606
4654
  label: string;
4607
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4655
+ id: string;
4608
4656
  capture: "at_action" | "historical_lookup" | "fixture";
4609
4657
  locator?: string | undefined;
4610
4658
  }[] | undefined;
4611
4659
  } | {
4612
- summary: string;
4613
4660
  kind: "mission_completed";
4661
+ summary: string;
4614
4662
  outcome: "failed" | "recovered" | "inconclusive";
4615
4663
  evidence?: {
4616
- id: string;
4664
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4617
4665
  label: string;
4618
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4666
+ id: string;
4619
4667
  capture: "at_action" | "historical_lookup" | "fixture";
4620
4668
  locator?: string | undefined;
4621
4669
  }[] | undefined;
4622
4670
  };
4671
+ namespace: string;
4623
4672
  eventId: string;
4624
4673
  occurredAt: string;
4625
4674
  missionId: string;
@@ -7934,4 +7983,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
7934
7983
  */
7935
7984
  declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
7936
7985
 
7937
- 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_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, 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, type IngestionPlan, 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, 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, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, 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 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, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SessionSummaryDraft, type SessionSummaryExcerpt, 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, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildPhraseMatcher, buildProcedureMarkdownBody, buildProcedureRecallSection, builtInConnectorPackageSpecifier, 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, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, 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, isReviewPrompt, 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, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, 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 };
7986
+ 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, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, 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 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, 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, type PipelineResult, PluginConfig, 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 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, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SessionSummaryDraft, type SessionSummaryExcerpt, 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, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildPhraseMatcher, buildProcedureMarkdownBody, 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, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, 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, 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, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, 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 };