@remnic/core 9.49.0 → 9.49.1

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 (606) hide show
  1. package/dist/abstraction-nodes.d.ts +12 -1
  2. package/dist/abstraction-nodes.js +9 -2
  3. package/dist/access-admin-ops-surface.d.ts +10 -10
  4. package/dist/access-admin-ops-surface.js +48 -48
  5. package/dist/access-authorization-probe.d.ts +10 -10
  6. package/dist/access-authorization-probe.js +49 -49
  7. package/dist/access-boundary.d.ts +10 -10
  8. package/dist/access-boundary.js +48 -48
  9. package/dist/access-cli.js +132 -127
  10. package/dist/access-cli.js.map +1 -1
  11. package/dist/access-coding-context-resolution.d.ts +1 -1
  12. package/dist/access-extraction-force-flush.d.ts +10 -10
  13. package/dist/access-extraction-force-flush.js +48 -48
  14. package/dist/access-health-types.d.ts +1 -1
  15. package/dist/access-http-lcm-compaction.d.ts +10 -10
  16. package/dist/access-http-lifecycle-flush.d.ts +10 -10
  17. package/dist/access-http-offline-stream.d.ts +10 -10
  18. package/dist/access-http-query.js +48 -48
  19. package/dist/access-http.d.ts +10 -10
  20. package/dist/access-http.js +60 -60
  21. package/dist/access-identity-continuity-surface.d.ts +8 -8
  22. package/dist/access-identity-continuity-surface.js +48 -48
  23. package/dist/access-lcm-surface.d.ts +10 -10
  24. package/dist/access-lcm-surface.js +48 -48
  25. package/dist/access-mcp.d.ts +10 -10
  26. package/dist/access-mcp.js +55 -55
  27. package/dist/access-memory-search-fanout.d.ts +2 -2
  28. package/dist/{access-namespace-preflight--H6HwN85.d.ts → access-namespace-preflight-DuDU301-.d.ts} +1 -1
  29. package/dist/access-namespace-preflight.d.ts +3 -3
  30. package/dist/access-namespace-preflight.js +48 -48
  31. package/dist/access-observe-write-surface.d.ts +10 -10
  32. package/dist/access-observe-write-surface.js +48 -48
  33. package/dist/access-offline-manifest.d.ts +8 -8
  34. package/dist/access-offline-manifest.js +3 -3
  35. package/dist/access-operations-batch.js +51 -51
  36. package/dist/access-operations.d.ts +13 -13
  37. package/dist/access-operations.js +54 -54
  38. package/dist/access-recall-concurrency.d.ts +10 -10
  39. package/dist/access-recall-concurrency.js +48 -48
  40. package/dist/access-recall-response.d.ts +10 -10
  41. package/dist/access-recall-response.js +48 -48
  42. package/dist/access-recall-surface.d.ts +10 -10
  43. package/dist/access-recall-surface.js +48 -48
  44. package/dist/access-schema.d.ts +105 -105
  45. package/dist/access-schema.js +4 -4
  46. package/dist/{access-service-DvXOzCrM.d.ts → access-service--_3T_v23.d.ts} +7 -7
  47. package/dist/access-service-helpers.d.ts +10 -10
  48. package/dist/access-service.d.ts +10 -10
  49. package/dist/access-service.js +48 -48
  50. package/dist/access-surface-catalog.d.ts +10 -10
  51. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  52. package/dist/action-confidence.d.ts +1 -1
  53. package/dist/active-memory-bridge.d.ts +1 -1
  54. package/dist/active-recall.d.ts +1 -1
  55. package/dist/active-recall.js +3 -2
  56. package/dist/active-recall.js.map +1 -1
  57. package/dist/adapters/index.js +4 -4
  58. package/dist/adapters/registry.js +2 -2
  59. package/dist/ambient-provenance.d.ts +1 -1
  60. package/dist/artifact-search.d.ts +1 -1
  61. package/dist/{auto-sync-7O6RP2RT.js → auto-sync-QFQGOEO2.js} +4 -4
  62. package/dist/behavior-learner.d.ts +1 -1
  63. package/dist/behavior-signals.d.ts +1 -1
  64. package/dist/bootstrap.d.ts +8 -8
  65. package/dist/briefing.d.ts +2 -2
  66. package/dist/briefing.js +12 -12
  67. package/dist/buffer-surprise-report.d.ts +1 -1
  68. package/dist/buffer-turn-helpers.d.ts +1 -1
  69. package/dist/buffer.d.ts +2 -2
  70. package/dist/buffer.js +4 -4
  71. package/dist/bulk-import/index.d.ts +3 -3
  72. package/dist/calibration.d.ts +1 -1
  73. package/dist/calibration.js +1 -1
  74. package/dist/capabilities.d.ts +1 -1
  75. package/dist/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-7FJQINUR.js} +2 -2
  76. package/dist/{capsule-merge-6GFHWECG.js → capsule-merge-KXTRZ23Z.js} +4 -4
  77. package/dist/{catalog-Iwbk9h5E.d.ts → catalog-DjUmUIal.d.ts} +1 -1
  78. package/dist/causal-behavior.d.ts +1 -1
  79. package/dist/causal-behavior.js +3 -3
  80. package/dist/causal-chain.js +3 -3
  81. package/dist/causal-consolidation.d.ts +1 -1
  82. package/dist/causal-consolidation.js +16 -16
  83. package/dist/causal-retrieval.js +3 -3
  84. package/dist/causal-trajectory-graph.d.ts +1 -1
  85. package/dist/causal-trajectory.d.ts +51 -2
  86. package/dist/causal-trajectory.js +8 -2
  87. package/dist/{chunk-EY64JLOM.js → chunk-24BKGKGO.js} +30 -19
  88. package/dist/chunk-24BKGKGO.js.map +1 -0
  89. package/dist/{chunk-ICP53SKG.js → chunk-2HIJHXB3.js} +2 -2
  90. package/dist/{chunk-BXLOS5AJ.js → chunk-2NLLXCJG.js} +2 -2
  91. package/dist/{chunk-LZGCJSQR.js → chunk-3LD4N2TF.js} +151 -37
  92. package/dist/chunk-3LD4N2TF.js.map +1 -0
  93. package/dist/{chunk-5JRC6BYS.js → chunk-47J4EDGR.js} +11 -11
  94. package/dist/{chunk-2VHLLPTX.js → chunk-4EABKPZS.js} +4 -4
  95. package/dist/{chunk-RJV6Q2FT.js → chunk-4JWJMRPJ.js} +2 -2
  96. package/dist/{chunk-MXPB6PJQ.js → chunk-4S3ECH3U.js} +2 -2
  97. package/dist/{chunk-CGASUJVP.js → chunk-5V6IXHPI.js} +4 -4
  98. package/dist/{chunk-R5IGA2NH.js → chunk-5XCN4XBU.js} +4 -4
  99. package/dist/{chunk-2RPJ4NEE.js → chunk-64BHFFKZ.js} +2 -2
  100. package/dist/{chunk-FQC3DHH2.js → chunk-66SE3BNH.js} +2 -2
  101. package/dist/{chunk-TERNBNJB.js → chunk-6FC3IZ26.js} +2 -2
  102. package/dist/{chunk-K7VKAHFE.js → chunk-6XGEBQ3R.js} +4 -4
  103. package/dist/{chunk-JFLOOTXU.js → chunk-7BLWBSRL.js} +3 -3
  104. package/dist/{chunk-ABR2HEJO.js → chunk-7NDM2PNK.js} +3 -3
  105. package/dist/{chunk-JXZ7NLYH.js → chunk-7VWZ4LRW.js} +2 -2
  106. package/dist/{chunk-RN53QBM4.js → chunk-A4QMKFFO.js} +5 -1
  107. package/dist/chunk-A4QMKFFO.js.map +1 -0
  108. package/dist/chunk-ACPCA4NO.js +321 -0
  109. package/dist/chunk-ACPCA4NO.js.map +1 -0
  110. package/dist/chunk-AMTEYNYK.js +72 -0
  111. package/dist/chunk-AMTEYNYK.js.map +1 -0
  112. package/dist/{chunk-R6YJI3HE.js → chunk-AW4QUFQF.js} +1 -1
  113. package/dist/{chunk-P65YJEEL.js → chunk-AXFWMRKI.js} +2 -2
  114. package/dist/{chunk-WG5HSQ4P.js → chunk-BAKXNQ3C.js} +2 -2
  115. package/dist/{chunk-NM2WP3B7.js → chunk-BJYET5TX.js} +2 -2
  116. package/dist/{chunk-HLKPRWF4.js → chunk-DATDLJAO.js} +6 -6
  117. package/dist/chunk-DJUKBGAD.js +260 -0
  118. package/dist/chunk-DJUKBGAD.js.map +1 -0
  119. package/dist/{chunk-DX3XRGLH.js → chunk-DQTCGVFK.js} +2 -2
  120. package/dist/{chunk-IPBNC77A.js → chunk-E633OXMH.js} +11 -11
  121. package/dist/{chunk-J7T4MX7P.js → chunk-EEAMSNSG.js} +12 -1
  122. package/dist/chunk-EEAMSNSG.js.map +1 -0
  123. package/dist/{chunk-Z5UC3OKB.js → chunk-ELQCS47S.js} +7 -7
  124. package/dist/{chunk-FMXJ555A.js → chunk-EURCX6PS.js} +2 -2
  125. package/dist/{chunk-MZZR3J6M.js → chunk-FV7YQTN3.js} +2 -2
  126. package/dist/chunk-G73MCJKL.js +20 -0
  127. package/dist/chunk-G73MCJKL.js.map +1 -0
  128. package/dist/{chunk-3R6D33UF.js → chunk-GGBSF2X7.js} +2 -2
  129. package/dist/{chunk-SYUBB3WM.js → chunk-GKEYXXKX.js} +2 -2
  130. package/dist/{chunk-5AGR7SAI.js → chunk-GSEPRIZC.js} +3 -3
  131. package/dist/{chunk-UTVZKHJK.js → chunk-GUKBW4HL.js} +2 -2
  132. package/dist/chunk-GXSOUIA4.js +293 -0
  133. package/dist/chunk-GXSOUIA4.js.map +1 -0
  134. package/dist/{chunk-2F6NP3NT.js → chunk-HDQUQBPW.js} +2 -2
  135. package/dist/{chunk-6HMYUWXR.js → chunk-HTP6XRUI.js} +2 -2
  136. package/dist/{chunk-UYUYZ4WY.js → chunk-IARXXZU4.js} +2 -2
  137. package/dist/{chunk-MNB5RMAY.js → chunk-IIFFC3RL.js} +2 -2
  138. package/dist/{chunk-VDX2J7OX.js → chunk-IPLYGWQF.js} +6 -6
  139. package/dist/{chunk-NZBZ7IS2.js → chunk-JDCQK3C5.js} +2 -2
  140. package/dist/{chunk-C3KVFJH5.js → chunk-JI62YGPI.js} +2 -2
  141. package/dist/{chunk-LULR4IUW.js → chunk-KATEWTQJ.js} +2 -2
  142. package/dist/{chunk-BMCHFWGX.js → chunk-KMWYZTIE.js} +2 -2
  143. package/dist/{chunk-JGSKJHF7.js → chunk-KQS72GCR.js} +2 -2
  144. package/dist/{chunk-3S63QIFQ.js → chunk-LAQ33B5D.js} +1 -1
  145. package/dist/chunk-LAQ33B5D.js.map +1 -0
  146. package/dist/chunk-LNTUXKBT.js +224 -0
  147. package/dist/chunk-LNTUXKBT.js.map +1 -0
  148. package/dist/{chunk-2RIWJUSQ.js → chunk-LQKXVQZR.js} +12 -12
  149. package/dist/{chunk-LQL7ARIC.js → chunk-LTOAJXZB.js} +4 -4
  150. package/dist/{chunk-QKD65RGL.js → chunk-LYMNZZIM.js} +2 -2
  151. package/dist/{chunk-W4FBGYGK.js → chunk-M4MP34AQ.js} +189 -5
  152. package/dist/chunk-M4MP34AQ.js.map +1 -0
  153. package/dist/{chunk-3PY7VHV7.js → chunk-MCA2X4WH.js} +2 -2
  154. package/dist/{chunk-S5NZBKKQ.js → chunk-N3CXAYPJ.js} +3 -3
  155. package/dist/{chunk-WQIHRA5F.js → chunk-N3LL5NEU.js} +2 -2
  156. package/dist/{chunk-Z4U6U3M3.js → chunk-NKL25FCF.js} +2 -2
  157. package/dist/{chunk-LMDRGRJ2.js → chunk-NOB2T2FC.js} +2 -2
  158. package/dist/{chunk-P2OTGMTR.js → chunk-NSGU76YO.js} +2 -2
  159. package/dist/{chunk-L6DCVUCA.js → chunk-O76MWTVS.js} +2 -2
  160. package/dist/{chunk-WZFAPHIK.js → chunk-OIOZ6MOP.js} +3 -3
  161. package/dist/{chunk-DNHVPZOD.js → chunk-P26YHAQH.js} +201 -1
  162. package/dist/chunk-P26YHAQH.js.map +1 -0
  163. package/dist/{chunk-UMOO7IY7.js → chunk-P2KBDJJ6.js} +2 -2
  164. package/dist/{chunk-KVJRXN2E.js → chunk-P4QOYG52.js} +125 -13
  165. package/dist/chunk-P4QOYG52.js.map +1 -0
  166. package/dist/chunk-P77QX3ID.js +332 -0
  167. package/dist/chunk-P77QX3ID.js.map +1 -0
  168. package/dist/{chunk-SXWHN7GC.js → chunk-PDEKQWDV.js} +2 -2
  169. package/dist/{chunk-ENEA47UC.js → chunk-PLCHU56K.js} +3 -3
  170. package/dist/{chunk-IXPKESVP.js → chunk-PWIMF7LP.js} +37 -37
  171. package/dist/{chunk-RHTO4HTL.js → chunk-PWLB4TRK.js} +2 -2
  172. package/dist/{chunk-RVYVMQK4.js → chunk-QSYL5CXK.js} +3 -3
  173. package/dist/{chunk-B6KGGRUL.js → chunk-QWLW3VQH.js} +2 -2
  174. package/dist/{chunk-YQIVWS7Y.js → chunk-RBPH3GZV.js} +405 -101
  175. package/dist/chunk-RBPH3GZV.js.map +1 -0
  176. package/dist/{chunk-JBPKEARU.js → chunk-RKNJBZ55.js} +4 -4
  177. package/dist/{chunk-QCECHYZL.js → chunk-RVO6TCTU.js} +6 -6
  178. package/dist/{chunk-SHDZNSK4.js → chunk-S2SJEOTM.js} +2 -2
  179. package/dist/{chunk-ULWHRQEQ.js → chunk-S75UQ3T3.js} +3 -3
  180. package/dist/{chunk-LXOM6IQU.js → chunk-SEF4IOFE.js} +2 -2
  181. package/dist/{chunk-I3YHVVT4.js → chunk-SHYIMIX5.js} +2 -2
  182. package/dist/{chunk-IZANPXMV.js → chunk-T35UJI5R.js} +86 -82
  183. package/dist/chunk-T35UJI5R.js.map +1 -0
  184. package/dist/{chunk-G5OB4XZX.js → chunk-VANZKHTN.js} +4 -4
  185. package/dist/{chunk-I4TQST3L.js → chunk-VFS3MK5F.js} +2 -2
  186. package/dist/chunk-VUDMT5CP.js +86 -0
  187. package/dist/chunk-VUDMT5CP.js.map +1 -0
  188. package/dist/{chunk-CMQZNEIF.js → chunk-WFLBP5GC.js} +8 -1
  189. package/dist/chunk-WFLBP5GC.js.map +1 -0
  190. package/dist/{chunk-SMPVHGHG.js → chunk-WPZX7MEA.js} +3 -3
  191. package/dist/{chunk-ZRWB5D4H.js → chunk-WT6UL3UA.js} +2 -2
  192. package/dist/{chunk-DQEMWVMT.js → chunk-X7Y7WX73.js} +1 -1
  193. package/dist/{chunk-JHMAYABJ.js → chunk-XL3TATMJ.js} +4 -4
  194. package/dist/{chunk-MC6XO7T4.js → chunk-YLBE6PLR.js} +2 -2
  195. package/dist/{chunk-OLX2HJFW.js → chunk-YLHM5BQQ.js} +4 -4
  196. package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
  197. package/dist/{chunk-GF22HWS2.js → chunk-Z54EM5YZ.js} +4 -4
  198. package/dist/{chunk-GVX3NAUU.js → chunk-ZDAYWJV6.js} +2 -2
  199. package/dist/{chunk-EYAIZBLM.js → chunk-ZJIFYUJI.js} +5 -5
  200. package/dist/{chunk-CNQQMB67.js → chunk-ZN4EYMKJ.js} +2 -2
  201. package/dist/{cli-PyAUaozE.d.ts → cli-BLNmNEMT.d.ts} +16 -14
  202. package/dist/cli.d.ts +13 -13
  203. package/dist/cli.js +96 -94
  204. package/dist/coding/pre-action-gate.d.ts +66 -0
  205. package/dist/coding/pre-action-gate.js +22 -0
  206. package/dist/commitment-ledger.js +2 -2
  207. package/dist/compounding/engine.d.ts +2 -2
  208. package/dist/compounding/engine.js +13 -13
  209. package/dist/compounding/preference-consolidator.d.ts +1 -1
  210. package/dist/compression-optimizer.d.ts +1 -1
  211. package/dist/config.d.ts +1 -1
  212. package/dist/config.js +3 -2
  213. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  214. package/dist/connectors/codex-materialize-runner.js +12 -12
  215. package/dist/connectors/codex-materialize.d.ts +1 -1
  216. package/dist/connectors/index.d.ts +1 -1
  217. package/dist/connectors/index.js +12 -12
  218. package/dist/consolidation-provenance-check.d.ts +2 -2
  219. package/dist/consolidation-provenance-check.js +4 -4
  220. package/dist/consolidation-undo.d.ts +2 -2
  221. package/dist/consolidation-undo.js +3 -3
  222. package/dist/contradiction/index.d.ts +2 -2
  223. package/dist/contradiction/index.js +3 -3
  224. package/dist/converge-config.d.ts +1 -1
  225. package/dist/convergence-refresh.d.ts +2 -2
  226. package/dist/convergence-refresh.js +15 -15
  227. package/dist/conversation-index/backend.d.ts +1 -1
  228. package/dist/conversation-index/chunker.d.ts +1 -1
  229. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  230. package/dist/conversation-index/indexer.d.ts +1 -1
  231. package/dist/conversation-index/search.d.ts +1 -1
  232. package/dist/corpus-watermark.d.ts +1 -1
  233. package/dist/corpus-watermark.js +23 -23
  234. package/dist/cue-anchors.d.ts +19 -1
  235. package/dist/cue-anchors.js +10 -2
  236. package/dist/dashboard-runtime.js +2 -2
  237. package/dist/day-summary.d.ts +1 -1
  238. package/dist/delinearize.d.ts +1 -1
  239. package/dist/dependency-propagation-config.d.ts +10 -0
  240. package/dist/dependency-propagation-config.js +10 -0
  241. package/dist/dependency-propagation-config.js.map +1 -0
  242. package/dist/deterministic-order.d.ts +4 -0
  243. package/dist/deterministic-order.js +10 -0
  244. package/dist/deterministic-order.js.map +1 -0
  245. package/dist/direct-answer-wiring.d.ts +1 -1
  246. package/dist/direct-answer.d.ts +1 -1
  247. package/dist/embedding-fallback.d.ts +1 -1
  248. package/dist/enrichment/index.d.ts +1 -1
  249. package/dist/entity-retrieval.d.ts +2 -2
  250. package/dist/entity-retrieval.js +12 -12
  251. package/dist/entity-schema.d.ts +1 -1
  252. package/dist/evals.js +2 -2
  253. package/dist/explicit-capture.d.ts +8 -8
  254. package/dist/explicit-capture.js +6 -6
  255. package/dist/external-wiki-access.d.ts +10 -10
  256. package/dist/external-wiki-access.js +49 -49
  257. package/dist/external-wiki-collection-registration.d.ts +1 -1
  258. package/dist/external-wiki-collection.d.ts +1 -1
  259. package/dist/external-wiki-mcp-tools.d.ts +10 -10
  260. package/dist/extraction-error-classification.d.ts +1 -1
  261. package/dist/extraction-faithfulness.d.ts +1 -1
  262. package/dist/extraction-judge-telemetry.d.ts +1 -1
  263. package/dist/extraction-judge-training.d.ts +1 -1
  264. package/dist/extraction-judge.d.ts +1 -1
  265. package/dist/extraction-liveness.d.ts +1 -1
  266. package/dist/extraction-normalization.d.ts +14 -0
  267. package/dist/extraction-normalization.js +22 -0
  268. package/dist/extraction-normalization.js.map +1 -0
  269. package/dist/extraction-prompt.d.ts +4 -3
  270. package/dist/extraction-prompt.js +3 -1
  271. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  272. package/dist/extraction-source-grounding.d.ts +1 -1
  273. package/dist/extraction.d.ts +18 -1
  274. package/dist/extraction.js +21 -19
  275. package/dist/fallback-llm.d.ts +1 -1
  276. package/dist/{first-start-migration-ZSHEFEI3.js → first-start-migration-626C5554.js} +5 -5
  277. package/dist/{forget-DNAJ66ZD.js → forget-GJ42LCBW.js} +2 -2
  278. package/dist/graph-dashboard-diff.d.ts +1 -1
  279. package/dist/graph-dashboard-key.d.ts +1 -1
  280. package/dist/graph-dashboard-parser.d.ts +1 -1
  281. package/dist/graph-edge-reinforcement.d.ts +1 -1
  282. package/dist/graph-snapshot.d.ts +1 -1
  283. package/dist/graph.d.ts +1 -1
  284. package/dist/harmonic-construction.d.ts +43 -0
  285. package/dist/harmonic-construction.js +26 -0
  286. package/dist/harmonic-construction.js.map +1 -0
  287. package/dist/harmonic-retrieval.d.ts +1 -0
  288. package/dist/harmonic-retrieval.js +10 -4
  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 +698 -696
  293. package/dist/index.js +207 -161
  294. package/dist/intent.d.ts +1 -1
  295. package/dist/json-store.d.ts +15 -1
  296. package/dist/json-store.js +11 -3
  297. package/dist/lcm/engine.d.ts +1 -1
  298. package/dist/lcm/engine.js +2 -2
  299. package/dist/lcm/index.d.ts +1 -1
  300. package/dist/lcm/index.js +4 -4
  301. package/dist/lcm/tools.d.ts +1 -1
  302. package/dist/lifecycle.d.ts +1 -1
  303. package/dist/live-connectors-runner.d.ts +1 -1
  304. package/dist/local-llm.d.ts +1 -1
  305. package/dist/local-model-endpoint.d.ts +1 -1
  306. package/dist/maintenance/archive-observations.js +2 -2
  307. package/dist/maintenance/atomic-file.d.ts +5 -0
  308. package/dist/maintenance/atomic-file.js +12 -0
  309. package/dist/maintenance/atomic-file.js.map +1 -0
  310. package/dist/maintenance/memory-governance.d.ts +1 -1
  311. package/dist/maintenance/memory-governance.js +12 -12
  312. package/dist/maintenance/migrate-observations.js +3 -3
  313. package/dist/maintenance/observation-ledger-utils.d.ts +1 -1
  314. package/dist/maintenance/observation-ledger-utils.js +2 -2
  315. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  316. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +13 -13
  317. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  318. package/dist/maintenance/rebuild-memory-projection.js +14 -14
  319. package/dist/maintenance/rebuild-observations.js +3 -3
  320. package/dist/{maintenance-j7sfNQdK.d.ts → maintenance-DKbKZi3u.d.ts} +3 -3
  321. package/dist/mcp-memory-inspector-app.d.ts +10 -10
  322. package/dist/memory-action-policy.d.ts +1 -1
  323. package/dist/memory-cache.d.ts +1 -1
  324. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  325. package/dist/memory-projection-store.d.ts +1 -1
  326. package/dist/memory-provenance.d.ts +1 -1
  327. package/dist/memory-snapshot.d.ts +1 -1
  328. package/dist/memory-worth-outcomes.d.ts +2 -2
  329. package/dist/models-json.d.ts +1 -1
  330. package/dist/namespaces/migrate.d.ts +3 -3
  331. package/dist/namespaces/migrate.js +22 -22
  332. package/dist/namespaces/principal.d.ts +1 -1
  333. package/dist/namespaces/search.d.ts +1 -1
  334. package/dist/namespaces/search.js +9 -9
  335. package/dist/namespaces/storage.d.ts +3 -3
  336. package/dist/namespaces/storage.js +12 -12
  337. package/dist/native-knowledge.d.ts +1 -1
  338. package/dist/objective-state-writers.js +3 -3
  339. package/dist/objective-state.js +2 -2
  340. package/dist/offline-sync-impression-drain.d.ts +1 -1
  341. package/dist/offline-sync-impression-drain.js +2 -2
  342. package/dist/operator-doctor-corpus.d.ts +1 -1
  343. package/dist/operator-doctor-corpus.js +24 -24
  344. package/dist/operator-doctor-replica.d.ts +1 -1
  345. package/dist/operator-toolkit.d.ts +3 -3
  346. package/dist/operator-toolkit.js +33 -32
  347. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  348. package/dist/orchestration/maintenance.d.ts +4 -4
  349. package/dist/orchestration/maintenance.js +18 -18
  350. package/dist/{orchestrator-Haa9xVPV.d.ts → orchestrator-BRwD7ceU.d.ts} +7 -7
  351. package/dist/orchestrator.d.ts +8 -8
  352. package/dist/orchestrator.js +132 -127
  353. package/dist/page-versioning.js +3 -3
  354. package/dist/patterns-cli.d.ts +1 -1
  355. package/dist/{pipeline-1h2GpiHP.d.ts → pipeline-DC-1C9T8.d.ts} +1 -1
  356. package/dist/policy-runtime.d.ts +1 -1
  357. package/dist/proactive-contention.d.ts +1 -1
  358. package/dist/provenance.d.ts +1 -1
  359. package/dist/{qmd-UdwoF71D.d.ts → qmd-DdeCEZdb.d.ts} +1 -1
  360. package/dist/qmd-preflight.d.ts +2 -2
  361. package/dist/qmd-recall-cache.d.ts +1 -1
  362. package/dist/qmd.d.ts +2 -2
  363. package/dist/qmd.js +4 -4
  364. package/dist/recall-concurrency-config.d.ts +1 -1
  365. package/dist/recall-disclosure-escalation.d.ts +1 -1
  366. package/dist/recall-explain-renderer.d.ts +1 -1
  367. package/dist/recall-explain-renderer.js +3 -3
  368. package/dist/recall-memory-map.d.ts +1 -1
  369. package/dist/recall-planner-llm.d.ts +1 -1
  370. package/dist/recall-state.d.ts +1 -1
  371. package/dist/recall-state.js +2 -2
  372. package/dist/recall-tag-filter.d.ts +1 -1
  373. package/dist/recall-timings.d.ts +1 -1
  374. package/dist/recall-xray-cli.d.ts +1 -1
  375. package/dist/recall-xray-cli.js +4 -4
  376. package/dist/recall-xray-renderer.d.ts +1 -1
  377. package/dist/recall-xray-renderer.js +3 -3
  378. package/dist/recall-xray.d.ts +1 -1
  379. package/dist/recall-xray.js +2 -2
  380. package/dist/reconcile/cursor.d.ts +1 -1
  381. package/dist/reconcile/manifest.d.ts +1 -1
  382. package/dist/reconcile/plan.d.ts +1 -1
  383. package/dist/relevance.js +2 -2
  384. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  385. package/dist/replay/normalizers/claude.d.ts +1 -1
  386. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  387. package/dist/replay/normalizers/shared.d.ts +1 -1
  388. package/dist/replay/runner.d.ts +1 -1
  389. package/dist/replay/types.d.ts +1 -1
  390. package/dist/replica-divergence.d.ts +1 -1
  391. package/dist/replica-peers-config.d.ts +1 -1
  392. package/dist/{resolution-3K27T4VO.js → resolution-MDPNOEG6.js} +4 -4
  393. package/dist/resolution-MDPNOEG6.js.map +1 -0
  394. package/dist/resolve-auth-token.d.ts +1 -1
  395. package/dist/resume-bundles.js +8 -7
  396. package/dist/retrieval-agents.d.ts +2 -2
  397. package/dist/retrieval-tiers.d.ts +1 -1
  398. package/dist/routing/engine.d.ts +1 -1
  399. package/dist/routing/store.d.ts +1 -1
  400. package/dist/salvage-envelope.d.ts +1 -1
  401. package/dist/salvage-envelope.js +3 -3
  402. package/dist/schemas.d.ts +213 -116
  403. package/dist/schemas.js +1 -1
  404. package/dist/{scope-profiles-APjhSe-w.d.ts → scope-profiles-BXVq4Jv0.d.ts} +1 -1
  405. package/dist/search/embed-helper.d.ts +1 -1
  406. package/dist/search/factory.d.ts +1 -1
  407. package/dist/search/factory.js +8 -8
  408. package/dist/search/index.d.ts +1 -1
  409. package/dist/search/index.js +13 -13
  410. package/dist/search/lancedb-backend.d.ts +1 -1
  411. package/dist/search/lancedb-backend.js +2 -2
  412. package/dist/search/meilisearch-backend.d.ts +1 -1
  413. package/dist/search/meilisearch-backend.js +2 -2
  414. package/dist/search/noop-backend.d.ts +1 -1
  415. package/dist/search/orama-backend.d.ts +1 -1
  416. package/dist/search/orama-backend.js +2 -2
  417. package/dist/search/port.d.ts +1 -1
  418. package/dist/search/remote-backend.d.ts +1 -1
  419. package/dist/{semantic-consolidation-CrySDbk3.d.ts → semantic-consolidation-CGYxfa8F.d.ts} +1 -1
  420. package/dist/semantic-consolidation.d.ts +2 -2
  421. package/dist/semantic-consolidation.js +13 -13
  422. package/dist/semantic-rule-promotion.js +12 -12
  423. package/dist/semantic-rule-verifier.d.ts +1 -1
  424. package/dist/semantic-rule-verifier.js +12 -12
  425. package/dist/{service-Da_BI4S8.d.ts → service-CBDBQFCN.d.ts} +2 -2
  426. package/dist/session-observer-bands.d.ts +1 -1
  427. package/dist/session-observer-state.d.ts +1 -1
  428. package/dist/shared-context/manager.d.ts +11 -11
  429. package/dist/signal.d.ts +1 -1
  430. package/dist/source-agent-qualifier.d.ts +1 -1
  431. package/dist/source-agent-qualifier.js +16 -16
  432. package/dist/{storage-D1apCiCS.d.ts → storage-V--MQi7w.d.ts} +1 -1
  433. package/dist/storage.d.ts +2 -2
  434. package/dist/storage.js +11 -11
  435. package/dist/summarizer.d.ts +1 -1
  436. package/dist/summary-snapshot.d.ts +1 -1
  437. package/dist/temporal-supersession.d.ts +13 -2
  438. package/dist/temporal-supersession.js +1 -1
  439. package/dist/temporal-timeline-recall.d.ts +1 -1
  440. package/dist/temporal-validity.d.ts +1 -1
  441. package/dist/threading.d.ts +1 -1
  442. package/dist/tier-migration.d.ts +2 -2
  443. package/dist/tier-routing.d.ts +1 -1
  444. package/dist/{tier-stats-OPTSBNRH.js → tier-stats-2JCZYEF7.js} +5 -5
  445. package/dist/topics.d.ts +1 -1
  446. package/dist/transcript.d.ts +1 -1
  447. package/dist/transfer/autodetect.js +1 -1
  448. package/dist/transfer/backup.js +2 -2
  449. package/dist/transfer/capsule-export.js +3 -3
  450. package/dist/transfer/capsule-import.js +5 -5
  451. package/dist/transfer/types.d.ts +66 -66
  452. package/dist/trust-score-stage.d.ts +1 -1
  453. package/dist/trust-score.d.ts +1 -1
  454. package/dist/trust-zones.js +2 -2
  455. package/dist/{types-D_Au9qJO.d.ts → types-D_a6Sqjz.d.ts} +25 -8
  456. package/dist/types.d.ts +1 -1
  457. package/dist/types.js +1 -1
  458. package/dist/utility-learner.js +3 -3
  459. package/dist/utility-runtime.d.ts +1 -1
  460. package/dist/utility-runtime.js +4 -4
  461. package/dist/utility-telemetry.js +2 -2
  462. package/dist/verified-recall.js +12 -12
  463. package/dist/work-product-ledger.js +2 -2
  464. package/dist/write-envelope.d.ts +1 -1
  465. package/dist/write-envelope.js +2 -2
  466. package/package.json +32 -2
  467. package/src/abstraction-nodes.ts +182 -4
  468. package/src/causal-trajectory.ts +258 -3
  469. package/src/cli/harmonic-search.ts +23 -0
  470. package/src/cli/research-status-commands.ts +2 -1
  471. package/src/cli.ts +1 -24
  472. package/src/coding/pre-action-gate.test.ts +516 -0
  473. package/src/coding/pre-action-gate.ts +320 -0
  474. package/src/config.test.ts +85 -0
  475. package/src/config.ts +2 -0
  476. package/src/cue-anchors.test.ts +90 -0
  477. package/src/cue-anchors.ts +264 -11
  478. package/src/dependency-frontmatter.test.ts +83 -0
  479. package/src/dependency-propagation-config.ts +94 -0
  480. package/src/deterministic-order.ts +14 -0
  481. package/src/extraction-normalization.ts +71 -0
  482. package/src/extraction-prompt.ts +45 -11
  483. package/src/extraction.ts +48 -32
  484. package/src/faithfulness-graph-guard.test.ts +27 -0
  485. package/src/harmonic-construction.test.ts +1799 -0
  486. package/src/harmonic-construction.ts +367 -0
  487. package/src/harmonic-retrieval.ts +166 -25
  488. package/src/index.ts +4 -5
  489. package/src/json-store.ts +354 -12
  490. package/src/orchestration/consolidation-run.ts +192 -0
  491. package/src/orchestration/contradiction-linking-coordinator.ts +35 -1
  492. package/src/orchestration/dependency-propagation-triggers.test.ts +286 -0
  493. package/src/orchestration/dependency-propagation.test.ts +487 -0
  494. package/src/orchestration/dependency-propagation.ts +263 -0
  495. package/src/orchestration/dependency-revalidation.ts +173 -0
  496. package/src/orchestration/extraction-persist-deps.ts +93 -0
  497. package/src/orchestration/extraction-persist.ts +101 -94
  498. package/src/orchestration/harmonic-construction-persist.ts +86 -0
  499. package/src/orchestration/recall-internal.ts +1 -0
  500. package/src/orchestrator.ts +2 -1
  501. package/src/schemas.ts +15 -0
  502. package/src/storage.ts +14 -0
  503. package/src/temporal-supersession.ts +29 -1
  504. package/src/testing/orchestrator-lite.ts +27 -8
  505. package/src/testing/subjects/extraction-lifecycle.test.ts +91 -50
  506. package/src/types.ts +22 -7
  507. package/dist/chunk-3S63QIFQ.js.map +0 -1
  508. package/dist/chunk-CMQZNEIF.js.map +0 -1
  509. package/dist/chunk-DNHVPZOD.js.map +0 -1
  510. package/dist/chunk-EY64JLOM.js.map +0 -1
  511. package/dist/chunk-FZZ2QTJI.js +0 -111
  512. package/dist/chunk-FZZ2QTJI.js.map +0 -1
  513. package/dist/chunk-IZANPXMV.js.map +0 -1
  514. package/dist/chunk-J7T4MX7P.js.map +0 -1
  515. package/dist/chunk-KVJRXN2E.js.map +0 -1
  516. package/dist/chunk-LPSF4OQH.js +0 -47
  517. package/dist/chunk-LPSF4OQH.js.map +0 -1
  518. package/dist/chunk-LZGCJSQR.js.map +0 -1
  519. package/dist/chunk-OADWQ5CR.js +0 -115
  520. package/dist/chunk-OADWQ5CR.js.map +0 -1
  521. package/dist/chunk-RN53QBM4.js.map +0 -1
  522. package/dist/chunk-W4FBGYGK.js.map +0 -1
  523. package/dist/chunk-YQIVWS7Y.js.map +0 -1
  524. /package/dist/{auto-sync-7O6RP2RT.js.map → auto-sync-QFQGOEO2.js.map} +0 -0
  525. /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
  526. /package/dist/{capsule-merge-6GFHWECG.js.map → capsule-merge-KXTRZ23Z.js.map} +0 -0
  527. /package/dist/{chunk-ICP53SKG.js.map → chunk-2HIJHXB3.js.map} +0 -0
  528. /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
  529. /package/dist/{chunk-5JRC6BYS.js.map → chunk-47J4EDGR.js.map} +0 -0
  530. /package/dist/{chunk-2VHLLPTX.js.map → chunk-4EABKPZS.js.map} +0 -0
  531. /package/dist/{chunk-RJV6Q2FT.js.map → chunk-4JWJMRPJ.js.map} +0 -0
  532. /package/dist/{chunk-MXPB6PJQ.js.map → chunk-4S3ECH3U.js.map} +0 -0
  533. /package/dist/{chunk-CGASUJVP.js.map → chunk-5V6IXHPI.js.map} +0 -0
  534. /package/dist/{chunk-R5IGA2NH.js.map → chunk-5XCN4XBU.js.map} +0 -0
  535. /package/dist/{chunk-2RPJ4NEE.js.map → chunk-64BHFFKZ.js.map} +0 -0
  536. /package/dist/{chunk-FQC3DHH2.js.map → chunk-66SE3BNH.js.map} +0 -0
  537. /package/dist/{chunk-TERNBNJB.js.map → chunk-6FC3IZ26.js.map} +0 -0
  538. /package/dist/{chunk-K7VKAHFE.js.map → chunk-6XGEBQ3R.js.map} +0 -0
  539. /package/dist/{chunk-JFLOOTXU.js.map → chunk-7BLWBSRL.js.map} +0 -0
  540. /package/dist/{chunk-ABR2HEJO.js.map → chunk-7NDM2PNK.js.map} +0 -0
  541. /package/dist/{chunk-JXZ7NLYH.js.map → chunk-7VWZ4LRW.js.map} +0 -0
  542. /package/dist/{chunk-R6YJI3HE.js.map → chunk-AW4QUFQF.js.map} +0 -0
  543. /package/dist/{chunk-P65YJEEL.js.map → chunk-AXFWMRKI.js.map} +0 -0
  544. /package/dist/{chunk-WG5HSQ4P.js.map → chunk-BAKXNQ3C.js.map} +0 -0
  545. /package/dist/{chunk-NM2WP3B7.js.map → chunk-BJYET5TX.js.map} +0 -0
  546. /package/dist/{chunk-HLKPRWF4.js.map → chunk-DATDLJAO.js.map} +0 -0
  547. /package/dist/{chunk-DX3XRGLH.js.map → chunk-DQTCGVFK.js.map} +0 -0
  548. /package/dist/{chunk-IPBNC77A.js.map → chunk-E633OXMH.js.map} +0 -0
  549. /package/dist/{chunk-Z5UC3OKB.js.map → chunk-ELQCS47S.js.map} +0 -0
  550. /package/dist/{chunk-FMXJ555A.js.map → chunk-EURCX6PS.js.map} +0 -0
  551. /package/dist/{chunk-MZZR3J6M.js.map → chunk-FV7YQTN3.js.map} +0 -0
  552. /package/dist/{chunk-3R6D33UF.js.map → chunk-GGBSF2X7.js.map} +0 -0
  553. /package/dist/{chunk-SYUBB3WM.js.map → chunk-GKEYXXKX.js.map} +0 -0
  554. /package/dist/{chunk-5AGR7SAI.js.map → chunk-GSEPRIZC.js.map} +0 -0
  555. /package/dist/{chunk-UTVZKHJK.js.map → chunk-GUKBW4HL.js.map} +0 -0
  556. /package/dist/{chunk-2F6NP3NT.js.map → chunk-HDQUQBPW.js.map} +0 -0
  557. /package/dist/{chunk-6HMYUWXR.js.map → chunk-HTP6XRUI.js.map} +0 -0
  558. /package/dist/{chunk-UYUYZ4WY.js.map → chunk-IARXXZU4.js.map} +0 -0
  559. /package/dist/{chunk-MNB5RMAY.js.map → chunk-IIFFC3RL.js.map} +0 -0
  560. /package/dist/{chunk-VDX2J7OX.js.map → chunk-IPLYGWQF.js.map} +0 -0
  561. /package/dist/{chunk-NZBZ7IS2.js.map → chunk-JDCQK3C5.js.map} +0 -0
  562. /package/dist/{chunk-C3KVFJH5.js.map → chunk-JI62YGPI.js.map} +0 -0
  563. /package/dist/{chunk-LULR4IUW.js.map → chunk-KATEWTQJ.js.map} +0 -0
  564. /package/dist/{chunk-BMCHFWGX.js.map → chunk-KMWYZTIE.js.map} +0 -0
  565. /package/dist/{chunk-JGSKJHF7.js.map → chunk-KQS72GCR.js.map} +0 -0
  566. /package/dist/{chunk-2RIWJUSQ.js.map → chunk-LQKXVQZR.js.map} +0 -0
  567. /package/dist/{chunk-LQL7ARIC.js.map → chunk-LTOAJXZB.js.map} +0 -0
  568. /package/dist/{chunk-QKD65RGL.js.map → chunk-LYMNZZIM.js.map} +0 -0
  569. /package/dist/{chunk-3PY7VHV7.js.map → chunk-MCA2X4WH.js.map} +0 -0
  570. /package/dist/{chunk-S5NZBKKQ.js.map → chunk-N3CXAYPJ.js.map} +0 -0
  571. /package/dist/{chunk-WQIHRA5F.js.map → chunk-N3LL5NEU.js.map} +0 -0
  572. /package/dist/{chunk-Z4U6U3M3.js.map → chunk-NKL25FCF.js.map} +0 -0
  573. /package/dist/{chunk-LMDRGRJ2.js.map → chunk-NOB2T2FC.js.map} +0 -0
  574. /package/dist/{chunk-P2OTGMTR.js.map → chunk-NSGU76YO.js.map} +0 -0
  575. /package/dist/{chunk-L6DCVUCA.js.map → chunk-O76MWTVS.js.map} +0 -0
  576. /package/dist/{chunk-WZFAPHIK.js.map → chunk-OIOZ6MOP.js.map} +0 -0
  577. /package/dist/{chunk-UMOO7IY7.js.map → chunk-P2KBDJJ6.js.map} +0 -0
  578. /package/dist/{chunk-SXWHN7GC.js.map → chunk-PDEKQWDV.js.map} +0 -0
  579. /package/dist/{chunk-ENEA47UC.js.map → chunk-PLCHU56K.js.map} +0 -0
  580. /package/dist/{chunk-IXPKESVP.js.map → chunk-PWIMF7LP.js.map} +0 -0
  581. /package/dist/{chunk-RHTO4HTL.js.map → chunk-PWLB4TRK.js.map} +0 -0
  582. /package/dist/{chunk-RVYVMQK4.js.map → chunk-QSYL5CXK.js.map} +0 -0
  583. /package/dist/{chunk-B6KGGRUL.js.map → chunk-QWLW3VQH.js.map} +0 -0
  584. /package/dist/{chunk-JBPKEARU.js.map → chunk-RKNJBZ55.js.map} +0 -0
  585. /package/dist/{chunk-QCECHYZL.js.map → chunk-RVO6TCTU.js.map} +0 -0
  586. /package/dist/{chunk-SHDZNSK4.js.map → chunk-S2SJEOTM.js.map} +0 -0
  587. /package/dist/{chunk-ULWHRQEQ.js.map → chunk-S75UQ3T3.js.map} +0 -0
  588. /package/dist/{chunk-LXOM6IQU.js.map → chunk-SEF4IOFE.js.map} +0 -0
  589. /package/dist/{chunk-I3YHVVT4.js.map → chunk-SHYIMIX5.js.map} +0 -0
  590. /package/dist/{chunk-G5OB4XZX.js.map → chunk-VANZKHTN.js.map} +0 -0
  591. /package/dist/{chunk-I4TQST3L.js.map → chunk-VFS3MK5F.js.map} +0 -0
  592. /package/dist/{chunk-SMPVHGHG.js.map → chunk-WPZX7MEA.js.map} +0 -0
  593. /package/dist/{chunk-ZRWB5D4H.js.map → chunk-WT6UL3UA.js.map} +0 -0
  594. /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
  595. /package/dist/{chunk-JHMAYABJ.js.map → chunk-XL3TATMJ.js.map} +0 -0
  596. /package/dist/{chunk-MC6XO7T4.js.map → chunk-YLBE6PLR.js.map} +0 -0
  597. /package/dist/{chunk-OLX2HJFW.js.map → chunk-YLHM5BQQ.js.map} +0 -0
  598. /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
  599. /package/dist/{chunk-GF22HWS2.js.map → chunk-Z54EM5YZ.js.map} +0 -0
  600. /package/dist/{chunk-GVX3NAUU.js.map → chunk-ZDAYWJV6.js.map} +0 -0
  601. /package/dist/{chunk-EYAIZBLM.js.map → chunk-ZJIFYUJI.js.map} +0 -0
  602. /package/dist/{chunk-CNQQMB67.js.map → chunk-ZN4EYMKJ.js.map} +0 -0
  603. /package/dist/{resolution-3K27T4VO.js.map → coding/pre-action-gate.js.map} +0 -0
  604. /package/dist/{first-start-migration-ZSHEFEI3.js.map → first-start-migration-626C5554.js.map} +0 -0
  605. /package/dist/{forget-DNAJ66ZD.js.map → forget-GJ42LCBW.js.map} +0 -0
  606. /package/dist/{tier-stats-OPTSBNRH.js.map → tier-stats-2JCZYEF7.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-Haa9xVPV.js';
7
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-BRwD7ceU.js';
8
8
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
9
9
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
10
10
  export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
@@ -14,8 +14,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
14
14
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
15
15
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
16
16
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
17
- import { S as StorageManager, a as MeetingRecordStore } from './storage-D1apCiCS.js';
18
- 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-D1apCiCS.js';
17
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-V--MQi7w.js';
18
+ 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-V--MQi7w.js';
19
19
  import { SealedMemoryEnvelope } from './write-envelope.js';
20
20
  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';
21
21
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -24,13 +24,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
24
24
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
25
25
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
26
26
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
27
- import { C as CodingContext, bg as CodingModeConfig, b8 as FusionConversationInput, bh as FusedSpeaker, bi as FusedSegment, bj as FusedDisagreement, bk as FusionOptions, aX as WearableConversation, bl as FusionDayResult, P as PluginConfig, bm as CodingKnowledgeConfig, w as MemoryCategory, bn as WearableCleanupSettings, bo as WearableFusionConfig, aY as WearableSourceSettings, b0 as WearablesConfig, a$ as WearableSourceConnector, b4 as WearableCorrectionRule, bp as WearableDayTranscriptMeta, b3 as WearableDayTranscript, aF as ActivitySnapshot, bq as ActivityDayMeta, br as ActivityDayDigest, aI as ActivitySourceClient, bs as ActivitySourceCheck, bt as ActivitySnapshotPage, aG as ActivityConfig, K as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bu as MeetingsDetectionConfig, b7 as MeetingsDetectionInput, ba as DetectedMeeting, b6 as MeetingsConfig, aM as MeetingRecord, bv as MeetingAudioWindow, bw as MeetingAppSpan } from './types-D_Au9qJO.js';
28
- export { bx as ActivityExtractionMode, aH as ActivitySourceConfig, u as AgentAccessAuthToken, g as BriefingActiveThread, by as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bz as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bA as BriefingWindow, a9 as BufferSurpriseEvent, bB as BulkImportError, ab as BulkImportOptions, ad as BulkImportResult, ac as BulkImportSource, bC as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bD as CodexCompatConfig, bf as ConsolidationObservation, bE as DEFAULT_RECALL_DISCLOSURE, bF as DisagreementKind, E as EntityFile, ao as EntityStructuredSection, bG as ExtractedFact, bH as FusedContribution, bI as FusedConversationProvenance, aL as FusedDayFile, aK as FusedDayMeta, aO as FusedMeeting, bJ as FusedSegmentProvenance, aJ as FusedWearableConversation, bK as FusionSegmentInput, G as GatewayConfig, bL as ImportSourceRole, aa as ImportTurn, bM as ImportTurnValidationIssue, b9 as MeetingActivitySnapshot, b5 as MeetingBuildInput, aN as MeetingDetectionSource, bN as MeetingScreenContextEvent, bO as MeetingSummaryMode, as as MemoryActionEligibilityContext, bP as MemoryActionEligibilitySource, ah as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bQ as MemoryObservation, bR as MemoryScope, bS as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, t as SecretRef, bT as SegmentPickReason, bU as WearableAuthCheck, bV as WearableFetchOptions, bW as WearableFetchPage, a_ as WearableMemoryMode, aZ as WearableNativeMemory, bX as WearableNativeMemoryPage, b2 as WearableSourceStatus, b1 as WearableSyncSummary, bY as WearableTranscriptSegment, bZ as isImportRole, b_ as isRecallDisclosure, b$ as parseIsoTimestamp, c0 as validateImportTurn } from './types-D_Au9qJO.js';
27
+ import { C as CodingContext, bi as CodingModeConfig, ba as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aZ as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, w as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, a_ as WearableSourceSettings, b2 as WearablesConfig, b1 as WearableSourceConnector, b6 as WearableCorrectionRule, br as WearableDayTranscriptMeta, b5 as WearableDayTranscript, aH as ActivitySnapshot, bs as ActivityDayMeta, bt as ActivityDayDigest, aK as ActivitySourceClient, bu as ActivitySourceCheck, bv as ActivitySnapshotPage, aI as ActivityConfig, K as ExtractionResult, y as MemoryStatus, as as ImportanceScore, bw as MeetingsDetectionConfig, b9 as MeetingsDetectionInput, bc as DetectedMeeting, b8 as MeetingsConfig, aO as MeetingRecord, bx as MeetingAudioWindow, by as MeetingAppSpan } from './types-D_a6Sqjz.js';
28
+ export { bz as ActivityExtractionMode, aJ as ActivitySourceConfig, u as AgentAccessAuthToken, g as BriefingActiveThread, bA as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bB as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bC as BriefingWindow, a9 as BufferSurpriseEvent, bD as BulkImportError, ab as BulkImportOptions, ad as BulkImportResult, ac as BulkImportSource, bE as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bF as CodexCompatConfig, bh as ConsolidationObservation, bG as DEFAULT_RECALL_DISCLOSURE, bH as DisagreementKind, E as EntityFile, ap as EntityStructuredSection, aq as ExtractedFact, bI as FusedContribution, bJ as FusedConversationProvenance, aN as FusedDayFile, aM as FusedDayMeta, aQ as FusedMeeting, bK as FusedSegmentProvenance, aL as FusedWearableConversation, bL as FusionSegmentInput, G as GatewayConfig, bM as ImportSourceRole, aa as ImportTurn, bN as ImportTurnValidationIssue, bb as MeetingActivitySnapshot, b7 as MeetingBuildInput, aP as MeetingDetectionSource, bO as MeetingScreenContextEvent, bP as MeetingSummaryMode, au as MemoryActionEligibilityContext, bQ as MemoryActionEligibilitySource, ah as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bR as MemoryObservation, bS as MemoryScope, bT as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, t as SecretRef, bU as SegmentPickReason, bV as WearableAuthCheck, bW as WearableFetchOptions, bX as WearableFetchPage, b0 as WearableMemoryMode, a$ as WearableNativeMemory, bY as WearableNativeMemoryPage, b4 as WearableSourceStatus, b3 as WearableSyncSummary, bZ as WearableTranscriptSegment, b_ as isImportRole, b$ as isRecallDisclosure, c0 as parseIsoTimestamp, c1 as validateImportTurn } from './types-D_a6Sqjz.js';
29
29
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
30
30
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
31
31
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
32
- import { f as EngramAccessService } from './access-service-DvXOzCrM.js';
33
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service-DvXOzCrM.js';
32
+ import { f as EngramAccessService } from './access-service--_3T_v23.js';
33
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, N as computeProcedureStats, O as formatProcedureStatsText } from './access-service--_3T_v23.js';
34
34
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
35
35
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
36
36
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -38,13 +38,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
38
38
  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';
39
39
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
40
40
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
41
- export { Q as QmdClient } from './qmd-UdwoF71D.js';
41
+ export { Q as QmdClient } from './qmd-DdeCEZdb.js';
42
42
  export { LanceDbBackend } from './search/lancedb-backend.js';
43
43
  export { OramaBackend } from './search/orama-backend.js';
44
44
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
45
45
  export { buildEntityRecallSection } from './entity-retrieval.js';
46
46
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
47
- 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-Iwbk9h5E.js';
47
+ 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-DjUmUIal.js';
48
48
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
49
49
  export { storagePathHash } from './storage-paths.js';
50
50
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
@@ -59,6 +59,8 @@ export { ParsedXrayCliOptions, parseXrayBudgetFlag, parseXrayCliOptions } from '
59
59
  export { RECALL_XRAY_FORMATS, RecallXrayFormat, parseXrayFormat, renderXray, renderXrayJson, renderXrayMarkdown, renderXrayText } from './recall-xray-renderer.js';
60
60
  export { RecallFilterTrace, RecallXrayResult, RecallXrayScoreDecomposition, RecallXrayServedBy, RecallXraySnapshot } from './recall-xray.js';
61
61
  export { REMNIC_CHATGPT_MEMORY_INSPECTOR_CANONICAL_TOOL, REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE, REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL, REMNIC_CHATGPT_MEMORY_INSPECTOR_WIDGET_HTML, REMNIC_CHATGPT_MEMORY_INSPECTOR_WIDGET_URI, RemnicChatGptMemoryCard, RemnicChatGptMemoryInspectorInput, RemnicChatGptMemoryInspectorResult, buildChatGptMemoryInspectorActionRequest, buildChatGptMemoryInspectorResult } from './mcp-memory-inspector-app.js';
62
+ export { NormalizedActionIntent, PRE_ACTION_FINGERPRINT_VERSION, PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, PRE_ACTION_WARNING_VERSION, PreActionFailureGate, PreActionGateDependencies, PreActionGateRequest, PreActionGateResult, PreActionGateStatus, normalizeActionIntent, sanitizePayloadString } from './coding/pre-action-gate.js';
63
+ export { ActionIdentity, ActionIntent, ActionStrategyId, CausalTrajectoryCodingContext, CausalTrajectoryRecord, CausalTrajectorySearchResult, CausalTrajectoryStoreStatus, CausalTrajectoryStrictReadResult, CommandIntent, EditIntent, EditKind, advanceCausalTrajectoryRevisionToken, filterTrajectoriesByLookbackDays, getCausalTrajectoryStoreStatus, readCausalTrajectoryRecords, readCausalTrajectoryRecordsStrict, readCausalTrajectoryRevisionToken, recordCausalTrajectory, resolveCausalTrajectoryStoreDir, searchCausalTrajectories, validateCausalTrajectoryRecord } from './causal-trajectory.js';
62
64
  export { MemoryStoreRequest, ObserveRequest, RecallRequest, SchemaName, SchemaValidationError, SuggestionSubmitRequest, formatZodError, memoryStoreRequestSchema, observeRequestSchema, recallRequestSchema, suggestionSubmitRequestSchema, validateRequest } from './access-schema.js';
63
65
  export { buildExtensionsFooterForSummary, loadDaySummaryPrompt } from './day-summary.js';
64
66
  export { applyLcmSchema, ensureLcmStateDir, openLcmDatabase } from './lcm/schema.js';
@@ -73,8 +75,8 @@ export { initLogger, log } from './logger.js';
73
75
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
74
76
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
75
77
  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, OfflineSyncFileTarget, 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';
76
- import { D as DiscoveredExtension } from './semantic-consolidation-CrySDbk3.js';
77
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-CrySDbk3.js';
78
+ import { D as DiscoveredExtension } from './semantic-consolidation-CGYxfa8F.js';
79
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-CGYxfa8F.js';
78
80
  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';
79
81
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
80
82
  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';
@@ -89,12 +91,12 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
89
91
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
90
92
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
91
93
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
92
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-1h2GpiHP.js';
93
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-PyAUaozE.js';
94
- 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-Da_BI4S8.js';
95
- 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-Da_BI4S8.js';
96
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-j7sfNQdK.js';
97
- 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-j7sfNQdK.js';
94
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-DC-1C9T8.js';
95
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BLNmNEMT.js';
96
+ 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-CBDBQFCN.js';
97
+ 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-CBDBQFCN.js';
98
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DKbKZi3u.js';
99
+ 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-DKbKZi3u.js';
98
100
  import { SearchExecutionOptions } from './search/port.js';
99
101
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
100
102
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -112,7 +114,8 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
112
114
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
113
115
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
114
116
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
115
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-APjhSe-w.js';
117
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-BXVq4Jv0.js';
118
+ export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
116
119
  export { ContinuityImprovementLoop } from './types-continuity.js';
117
120
  export { EngramAccessInputError } from './access-errors.js';
118
121
  export { ExternalWikiRoot } from './external-wiki-config.js';
@@ -144,7 +147,6 @@ import './lifecycle.js';
144
147
  import './orchestration/compression-guideline-coordinator.js';
145
148
  import './embedding-fallback.js';
146
149
  import './objective-state.js';
147
- import './causal-trajectory.js';
148
150
  import './harmonic-retrieval.js';
149
151
  import './abstraction-nodes.js';
150
152
  import './cue-anchors.js';
@@ -176,7 +178,7 @@ import './policy-runtime.js';
176
178
  import './profiling.js';
177
179
  import './schemas.js';
178
180
  import './extraction-error-classification.js';
179
- import './access-namespace-preflight--H6HwN85.js';
181
+ import './access-namespace-preflight-DuDU301-.js';
180
182
  import './recall-explain-renderer.js';
181
183
  import './access-citation.js';
182
184
  import './access-health-types.js';
@@ -888,15 +890,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
888
890
  locator: z.ZodOptional<z.ZodString>;
889
891
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
890
892
  }, "strict", z.ZodTypeAny, {
891
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
892
- label: string;
893
893
  id: string;
894
+ label: string;
895
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
894
896
  capture: "at_action" | "historical_lookup" | "fixture";
895
897
  locator?: string | undefined;
896
898
  }, {
897
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
898
- label: string;
899
899
  id: string;
900
+ label: string;
901
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
900
902
  capture: "at_action" | "historical_lookup" | "fixture";
901
903
  locator?: string | undefined;
902
904
  }>;
@@ -913,15 +915,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
913
915
  locator: z.ZodOptional<z.ZodString>;
914
916
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
915
917
  }, "strict", z.ZodTypeAny, {
916
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
917
- label: string;
918
918
  id: string;
919
+ label: string;
920
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
919
921
  capture: "at_action" | "historical_lookup" | "fixture";
920
922
  locator?: string | undefined;
921
923
  }, {
922
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
923
- label: string;
924
924
  id: string;
925
+ label: string;
926
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
925
927
  capture: "at_action" | "historical_lookup" | "fixture";
926
928
  locator?: string | undefined;
927
929
  }>, "many">>;
@@ -929,9 +931,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
929
931
  kind: "mission_started";
930
932
  title: string;
931
933
  evidence: {
932
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
933
- label: string;
934
934
  id: string;
935
+ label: string;
936
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
935
937
  capture: "at_action" | "historical_lookup" | "fixture";
936
938
  locator?: string | undefined;
937
939
  }[];
@@ -943,9 +945,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
943
945
  objective: string;
944
946
  runMode: "replay" | "fixture" | "live";
945
947
  evidence?: {
946
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
947
- label: string;
948
948
  id: string;
949
+ label: string;
950
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
949
951
  capture: "at_action" | "historical_lookup" | "fixture";
950
952
  locator?: string | undefined;
951
953
  }[] | undefined;
@@ -961,15 +963,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
961
963
  locator: z.ZodOptional<z.ZodString>;
962
964
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
963
965
  }, "strict", z.ZodTypeAny, {
964
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
965
- label: string;
966
966
  id: string;
967
+ label: string;
968
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
967
969
  capture: "at_action" | "historical_lookup" | "fixture";
968
970
  locator?: string | undefined;
969
971
  }, {
970
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
971
- label: string;
972
972
  id: string;
973
+ label: string;
974
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
973
975
  capture: "at_action" | "historical_lookup" | "fixture";
974
976
  locator?: string | undefined;
975
977
  }>, "many">>;
@@ -977,32 +979,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
977
979
  sessionId: z.ZodString;
978
980
  kind: z.ZodLiteral<"agent_status">;
979
981
  }, "strict", z.ZodTypeAny, {
980
- kind: "agent_status";
981
- status: "failed" | "complete" | "blocked" | "working" | "idle";
982
982
  label: string;
983
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
984
+ kind: "agent_status";
983
985
  role: string;
984
986
  agentId: string;
985
987
  sessionId: string;
986
988
  evidence: {
987
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
988
- label: string;
989
989
  id: string;
990
+ label: string;
991
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
990
992
  capture: "at_action" | "historical_lookup" | "fixture";
991
993
  locator?: string | undefined;
992
994
  }[];
993
995
  detail?: string | undefined;
994
996
  }, {
995
- kind: "agent_status";
996
- status: "failed" | "complete" | "blocked" | "working" | "idle";
997
997
  label: string;
998
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
999
+ kind: "agent_status";
998
1000
  role: string;
999
1001
  agentId: string;
1000
1002
  sessionId: string;
1001
1003
  detail?: string | undefined;
1002
1004
  evidence?: {
1003
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1004
- label: string;
1005
1005
  id: string;
1006
+ label: string;
1007
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1006
1008
  capture: "at_action" | "historical_lookup" | "fixture";
1007
1009
  locator?: string | undefined;
1008
1010
  }[] | undefined;
@@ -1016,15 +1018,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1016
1018
  locator: z.ZodOptional<z.ZodString>;
1017
1019
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1018
1020
  }, "strict", z.ZodTypeAny, {
1019
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1020
- label: string;
1021
1021
  id: string;
1022
+ label: string;
1023
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1022
1024
  capture: "at_action" | "historical_lookup" | "fixture";
1023
1025
  locator?: string | undefined;
1024
1026
  }, {
1025
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1026
- label: string;
1027
1027
  id: string;
1028
+ label: string;
1029
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1028
1030
  capture: "at_action" | "historical_lookup" | "fixture";
1029
1031
  locator?: string | undefined;
1030
1032
  }>, "many">>;
@@ -1032,28 +1034,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1032
1034
  sessionId: z.ZodString;
1033
1035
  kind: z.ZodLiteral<"agent_output">;
1034
1036
  }, "strict", z.ZodTypeAny, {
1035
- kind: "agent_output";
1036
1037
  summary: string;
1038
+ kind: "agent_output";
1037
1039
  agentId: string;
1038
1040
  sessionId: string;
1039
1041
  evidence: {
1040
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1041
- label: string;
1042
1042
  id: string;
1043
+ label: string;
1044
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1043
1045
  capture: "at_action" | "historical_lookup" | "fixture";
1044
1046
  locator?: string | undefined;
1045
1047
  }[];
1046
1048
  outputId: string;
1047
1049
  }, {
1048
- kind: "agent_output";
1049
1050
  summary: string;
1051
+ kind: "agent_output";
1050
1052
  agentId: string;
1051
1053
  sessionId: string;
1052
1054
  outputId: string;
1053
1055
  evidence?: {
1054
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1055
- label: string;
1056
1056
  id: string;
1057
+ label: string;
1058
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1057
1059
  capture: "at_action" | "historical_lookup" | "fixture";
1058
1060
  locator?: string | undefined;
1059
1061
  }[] | undefined;
@@ -1069,15 +1071,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1069
1071
  locator: z.ZodOptional<z.ZodString>;
1070
1072
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1071
1073
  }, "strict", z.ZodTypeAny, {
1072
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1073
- label: string;
1074
1074
  id: string;
1075
+ label: string;
1076
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1075
1077
  capture: "at_action" | "historical_lookup" | "fixture";
1076
1078
  locator?: string | undefined;
1077
1079
  }, {
1078
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1079
- label: string;
1080
1080
  id: string;
1081
+ label: string;
1082
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1081
1083
  capture: "at_action" | "historical_lookup" | "fixture";
1082
1084
  locator?: string | undefined;
1083
1085
  }>, "many">>;
@@ -1090,9 +1092,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1090
1092
  statement: string;
1091
1093
  sessionId: string;
1092
1094
  evidence: {
1093
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1094
- label: string;
1095
1095
  id: string;
1096
+ label: string;
1097
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1096
1098
  capture: "at_action" | "historical_lookup" | "fixture";
1097
1099
  locator?: string | undefined;
1098
1100
  }[];
@@ -1108,9 +1110,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1108
1110
  decisionId: string;
1109
1111
  confidence?: number | undefined;
1110
1112
  evidence?: {
1111
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1112
- label: string;
1113
1113
  id: string;
1114
+ label: string;
1115
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1114
1116
  capture: "at_action" | "historical_lookup" | "fixture";
1115
1117
  locator?: string | undefined;
1116
1118
  }[] | undefined;
@@ -1127,25 +1129,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1127
1129
  locator: z.ZodOptional<z.ZodString>;
1128
1130
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1129
1131
  }, "strict", z.ZodTypeAny, {
1130
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1131
- label: string;
1132
1132
  id: string;
1133
+ label: string;
1134
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1133
1135
  capture: "at_action" | "historical_lookup" | "fixture";
1134
1136
  locator?: string | undefined;
1135
1137
  }, {
1136
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1137
- label: string;
1138
1138
  id: string;
1139
+ label: string;
1140
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1139
1141
  capture: "at_action" | "historical_lookup" | "fixture";
1140
1142
  locator?: string | undefined;
1141
1143
  }>, "many">>;
1142
1144
  }, "strict", z.ZodTypeAny, {
1143
- kind: "conflict_detected";
1144
1145
  summary: string;
1146
+ kind: "conflict_detected";
1145
1147
  evidence: {
1146
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1147
- label: string;
1148
1148
  id: string;
1149
+ label: string;
1150
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1149
1151
  capture: "at_action" | "historical_lookup" | "fixture";
1150
1152
  locator?: string | undefined;
1151
1153
  }[];
@@ -1153,15 +1155,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1153
1155
  decisionIds: string[];
1154
1156
  agentIds: string[];
1155
1157
  }, {
1156
- kind: "conflict_detected";
1157
1158
  summary: string;
1159
+ kind: "conflict_detected";
1158
1160
  conflictId: string;
1159
1161
  decisionIds: string[];
1160
1162
  agentIds: string[];
1161
1163
  evidence?: {
1162
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1163
- label: string;
1164
1164
  id: string;
1165
+ label: string;
1166
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1165
1167
  capture: "at_action" | "historical_lookup" | "fixture";
1166
1168
  locator?: string | undefined;
1167
1169
  }[] | undefined;
@@ -1181,27 +1183,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1181
1183
  locator: z.ZodOptional<z.ZodString>;
1182
1184
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1183
1185
  }, "strict", z.ZodTypeAny, {
1184
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1185
- label: string;
1186
1186
  id: string;
1187
+ label: string;
1188
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1187
1189
  capture: "at_action" | "historical_lookup" | "fixture";
1188
1190
  locator?: string | undefined;
1189
1191
  }, {
1190
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1191
- label: string;
1192
1192
  id: string;
1193
+ label: string;
1194
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1193
1195
  capture: "at_action" | "historical_lookup" | "fixture";
1194
1196
  locator?: string | undefined;
1195
1197
  }>, "many">>;
1196
1198
  }, "strict", z.ZodTypeAny, {
1197
- kind: "test_result";
1198
1199
  summary: string;
1199
1200
  status: "error" | "failed" | "passed";
1201
+ kind: "test_result";
1200
1202
  command: string;
1201
1203
  evidence: {
1202
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1203
- label: string;
1204
1204
  id: string;
1205
+ label: string;
1206
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1205
1207
  capture: "at_action" | "historical_lookup" | "fixture";
1206
1208
  locator?: string | undefined;
1207
1209
  }[];
@@ -1210,17 +1212,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1210
1212
  durationMs?: number | undefined;
1211
1213
  correctionId?: string | undefined;
1212
1214
  }, {
1213
- kind: "test_result";
1214
1215
  summary: string;
1215
1216
  status: "error" | "failed" | "passed";
1217
+ kind: "test_result";
1216
1218
  command: string;
1217
1219
  decisionId: string;
1218
1220
  testId: string;
1219
1221
  durationMs?: number | undefined;
1220
1222
  evidence?: {
1221
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1222
- label: string;
1223
1223
  id: string;
1224
+ label: string;
1225
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1224
1226
  capture: "at_action" | "historical_lookup" | "fixture";
1225
1227
  locator?: string | undefined;
1226
1228
  }[] | undefined;
@@ -1241,15 +1243,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1241
1243
  locator: z.ZodOptional<z.ZodString>;
1242
1244
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1243
1245
  }, "strict", z.ZodTypeAny, {
1244
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1245
- label: string;
1246
1246
  id: string;
1247
+ label: string;
1248
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1247
1249
  capture: "at_action" | "historical_lookup" | "fixture";
1248
1250
  locator?: string | undefined;
1249
1251
  }, {
1250
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1251
- label: string;
1252
1252
  id: string;
1253
+ label: string;
1254
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1253
1255
  capture: "at_action" | "historical_lookup" | "fixture";
1254
1256
  locator?: string | undefined;
1255
1257
  }>, "many">>;
@@ -1258,9 +1260,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1258
1260
  rationale: string;
1259
1261
  statement: string;
1260
1262
  evidence: {
1261
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1262
- label: string;
1263
1263
  id: string;
1264
+ label: string;
1265
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1264
1266
  capture: "at_action" | "historical_lookup" | "fixture";
1265
1267
  locator?: string | undefined;
1266
1268
  }[];
@@ -1279,9 +1281,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1279
1281
  supersedesDecisionIds: string[];
1280
1282
  proposedBy: string;
1281
1283
  evidence?: {
1282
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1283
- label: string;
1284
1284
  id: string;
1285
+ label: string;
1286
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1285
1287
  capture: "at_action" | "historical_lookup" | "fixture";
1286
1288
  locator?: string | undefined;
1287
1289
  }[] | undefined;
@@ -1293,13 +1295,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1293
1295
  id: z.ZodString;
1294
1296
  label: z.ZodString;
1295
1297
  }, "strict", z.ZodTypeAny, {
1296
- kind: "agent" | "human";
1297
- label: string;
1298
1298
  id: string;
1299
- }, {
1300
- kind: "agent" | "human";
1301
1299
  label: string;
1300
+ kind: "agent" | "human";
1301
+ }, {
1302
1302
  id: string;
1303
+ label: string;
1304
+ kind: "agent" | "human";
1303
1305
  }>;
1304
1306
  note: z.ZodOptional<z.ZodString>;
1305
1307
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1309,47 +1311,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1309
1311
  locator: z.ZodOptional<z.ZodString>;
1310
1312
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1311
1313
  }, "strict", z.ZodTypeAny, {
1312
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1313
- label: string;
1314
1314
  id: string;
1315
+ label: string;
1316
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1315
1317
  capture: "at_action" | "historical_lookup" | "fixture";
1316
1318
  locator?: string | undefined;
1317
1319
  }, {
1318
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1319
- label: string;
1320
1320
  id: string;
1321
+ label: string;
1322
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1321
1323
  capture: "at_action" | "historical_lookup" | "fixture";
1322
1324
  locator?: string | undefined;
1323
1325
  }>, "many">>;
1324
1326
  }, "strict", z.ZodTypeAny, {
1325
1327
  kind: "correction_approved";
1326
1328
  evidence: {
1327
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1328
- label: string;
1329
1329
  id: string;
1330
+ label: string;
1331
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1330
1332
  capture: "at_action" | "historical_lookup" | "fixture";
1331
1333
  locator?: string | undefined;
1332
1334
  }[];
1333
1335
  correctionId: string;
1334
1336
  approvedBy: {
1335
- kind: "agent" | "human";
1336
- label: string;
1337
1337
  id: string;
1338
+ label: string;
1339
+ kind: "agent" | "human";
1338
1340
  };
1339
1341
  note?: string | undefined;
1340
1342
  }, {
1341
1343
  kind: "correction_approved";
1342
1344
  correctionId: string;
1343
1345
  approvedBy: {
1344
- kind: "agent" | "human";
1345
- label: string;
1346
1346
  id: string;
1347
+ label: string;
1348
+ kind: "agent" | "human";
1347
1349
  };
1348
1350
  note?: string | undefined;
1349
1351
  evidence?: {
1350
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1351
- label: string;
1352
1352
  id: string;
1353
+ label: string;
1354
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1353
1355
  capture: "at_action" | "historical_lookup" | "fixture";
1354
1356
  locator?: string | undefined;
1355
1357
  }[] | undefined;
@@ -1365,24 +1367,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1365
1367
  locator: z.ZodOptional<z.ZodString>;
1366
1368
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1367
1369
  }, "strict", z.ZodTypeAny, {
1368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
- label: string;
1370
1370
  id: string;
1371
+ label: string;
1372
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1371
1373
  capture: "at_action" | "historical_lookup" | "fixture";
1372
1374
  locator?: string | undefined;
1373
1375
  }, {
1374
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
- label: string;
1376
1376
  id: string;
1377
+ label: string;
1378
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1377
1379
  capture: "at_action" | "historical_lookup" | "fixture";
1378
1380
  locator?: string | undefined;
1379
1381
  }>, "many">>;
1380
1382
  }, "strict", z.ZodTypeAny, {
1381
1383
  kind: "decision_superseded";
1382
1384
  evidence: {
1383
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
- label: string;
1385
1385
  id: string;
1386
+ label: string;
1387
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1386
1388
  capture: "at_action" | "historical_lookup" | "fixture";
1387
1389
  locator?: string | undefined;
1388
1390
  }[];
@@ -1395,9 +1397,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1395
1397
  correctionId: string;
1396
1398
  replacementDecisionId: string;
1397
1399
  evidence?: {
1398
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1399
- label: string;
1400
1400
  id: string;
1401
+ label: string;
1402
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1401
1403
  capture: "at_action" | "historical_lookup" | "fixture";
1402
1404
  locator?: string | undefined;
1403
1405
  }[] | undefined;
@@ -1413,15 +1415,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1413
1415
  locator: z.ZodOptional<z.ZodString>;
1414
1416
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1415
1417
  }, "strict", z.ZodTypeAny, {
1416
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1417
- label: string;
1418
1418
  id: string;
1419
+ label: string;
1420
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1419
1421
  capture: "at_action" | "historical_lookup" | "fixture";
1420
1422
  locator?: string | undefined;
1421
1423
  }, {
1422
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1423
- label: string;
1424
1424
  id: string;
1425
+ label: string;
1426
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1425
1427
  capture: "at_action" | "historical_lookup" | "fixture";
1426
1428
  locator?: string | undefined;
1427
1429
  }>, "many">>;
@@ -1434,9 +1436,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1434
1436
  agentId: string;
1435
1437
  sessionId: string;
1436
1438
  evidence: {
1437
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1438
- label: string;
1439
1439
  id: string;
1440
+ label: string;
1441
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1440
1442
  capture: "at_action" | "historical_lookup" | "fixture";
1441
1443
  locator?: string | undefined;
1442
1444
  }[];
@@ -1452,9 +1454,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1452
1454
  recallReceiptId: string;
1453
1455
  capturedAtAction: boolean;
1454
1456
  evidence?: {
1455
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1456
- label: string;
1457
1457
  id: string;
1458
+ label: string;
1459
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1458
1460
  capture: "at_action" | "historical_lookup" | "fixture";
1459
1461
  locator?: string | undefined;
1460
1462
  }[] | undefined;
@@ -1470,15 +1472,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1470
1472
  locator: z.ZodOptional<z.ZodString>;
1471
1473
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1472
1474
  }, "strict", z.ZodTypeAny, {
1473
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1474
- label: string;
1475
1475
  id: string;
1476
+ label: string;
1477
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1476
1478
  capture: "at_action" | "historical_lookup" | "fixture";
1477
1479
  locator?: string | undefined;
1478
1480
  }, {
1479
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
- label: string;
1481
1481
  id: string;
1482
+ label: string;
1483
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1482
1484
  capture: "at_action" | "historical_lookup" | "fixture";
1483
1485
  locator?: string | undefined;
1484
1486
  }>, "many">>;
@@ -1490,9 +1492,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1490
1492
  agentId: string;
1491
1493
  sessionId: string;
1492
1494
  evidence: {
1493
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1494
- label: string;
1495
1495
  id: string;
1496
+ label: string;
1497
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1496
1498
  capture: "at_action" | "historical_lookup" | "fixture";
1497
1499
  locator?: string | undefined;
1498
1500
  }[];
@@ -1509,9 +1511,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1509
1511
  recallReceiptId: string;
1510
1512
  staleDecisionAbsent: boolean;
1511
1513
  evidence?: {
1512
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1513
- label: string;
1514
1514
  id: string;
1515
+ label: string;
1516
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1515
1517
  capture: "at_action" | "historical_lookup" | "fixture";
1516
1518
  locator?: string | undefined;
1517
1519
  }[] | undefined;
@@ -1526,37 +1528,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1526
1528
  locator: z.ZodOptional<z.ZodString>;
1527
1529
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1528
1530
  }, "strict", z.ZodTypeAny, {
1529
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1530
- label: string;
1531
1531
  id: string;
1532
+ label: string;
1533
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1532
1534
  capture: "at_action" | "historical_lookup" | "fixture";
1533
1535
  locator?: string | undefined;
1534
1536
  }, {
1535
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
- label: string;
1537
1537
  id: string;
1538
+ label: string;
1539
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1538
1540
  capture: "at_action" | "historical_lookup" | "fixture";
1539
1541
  locator?: string | undefined;
1540
1542
  }>, "many">>;
1541
1543
  }, "strict", z.ZodTypeAny, {
1542
- kind: "mission_completed";
1543
1544
  summary: string;
1545
+ kind: "mission_completed";
1544
1546
  outcome: "failed" | "recovered" | "inconclusive";
1545
1547
  evidence: {
1546
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1547
- label: string;
1548
1548
  id: string;
1549
+ label: string;
1550
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1549
1551
  capture: "at_action" | "historical_lookup" | "fixture";
1550
1552
  locator?: string | undefined;
1551
1553
  }[];
1552
1554
  }, {
1553
- kind: "mission_completed";
1554
1555
  summary: string;
1556
+ kind: "mission_completed";
1555
1557
  outcome: "failed" | "recovered" | "inconclusive";
1556
1558
  evidence?: {
1557
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1558
- label: string;
1559
1559
  id: string;
1560
+ label: string;
1561
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1560
1562
  capture: "at_action" | "historical_lookup" | "fixture";
1561
1563
  locator?: string | undefined;
1562
1564
  }[] | undefined;
@@ -1564,38 +1566,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1564
1566
  kind: "mission_started";
1565
1567
  title: string;
1566
1568
  evidence: {
1567
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1568
- label: string;
1569
1569
  id: string;
1570
+ label: string;
1571
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1570
1572
  capture: "at_action" | "historical_lookup" | "fixture";
1571
1573
  locator?: string | undefined;
1572
1574
  }[];
1573
1575
  objective: string;
1574
1576
  runMode: "replay" | "fixture" | "live";
1575
1577
  } | {
1576
- kind: "agent_status";
1577
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1578
1578
  label: string;
1579
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1580
+ kind: "agent_status";
1579
1581
  role: string;
1580
1582
  agentId: string;
1581
1583
  sessionId: string;
1582
1584
  evidence: {
1583
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1584
- label: string;
1585
1585
  id: string;
1586
+ label: string;
1587
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1586
1588
  capture: "at_action" | "historical_lookup" | "fixture";
1587
1589
  locator?: string | undefined;
1588
1590
  }[];
1589
1591
  detail?: string | undefined;
1590
1592
  } | {
1591
- kind: "agent_output";
1592
1593
  summary: string;
1594
+ kind: "agent_output";
1593
1595
  agentId: string;
1594
1596
  sessionId: string;
1595
1597
  evidence: {
1596
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1597
- label: string;
1598
1598
  id: string;
1599
+ label: string;
1600
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1599
1601
  capture: "at_action" | "historical_lookup" | "fixture";
1600
1602
  locator?: string | undefined;
1601
1603
  }[];
@@ -1606,9 +1608,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1606
1608
  statement: string;
1607
1609
  sessionId: string;
1608
1610
  evidence: {
1609
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1610
- label: string;
1611
1611
  id: string;
1612
+ label: string;
1613
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1612
1614
  capture: "at_action" | "historical_lookup" | "fixture";
1613
1615
  locator?: string | undefined;
1614
1616
  }[];
@@ -1616,12 +1618,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1616
1618
  decisionId: string;
1617
1619
  confidence?: number | undefined;
1618
1620
  } | {
1619
- kind: "conflict_detected";
1620
1621
  summary: string;
1622
+ kind: "conflict_detected";
1621
1623
  evidence: {
1622
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1623
- label: string;
1624
1624
  id: string;
1625
+ label: string;
1626
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1625
1627
  capture: "at_action" | "historical_lookup" | "fixture";
1626
1628
  locator?: string | undefined;
1627
1629
  }[];
@@ -1629,14 +1631,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1629
1631
  decisionIds: string[];
1630
1632
  agentIds: string[];
1631
1633
  } | {
1632
- kind: "test_result";
1633
1634
  summary: string;
1634
1635
  status: "error" | "failed" | "passed";
1636
+ kind: "test_result";
1635
1637
  command: string;
1636
1638
  evidence: {
1637
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1638
- label: string;
1639
1639
  id: string;
1640
+ label: string;
1641
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1640
1642
  capture: "at_action" | "historical_lookup" | "fixture";
1641
1643
  locator?: string | undefined;
1642
1644
  }[];
@@ -1649,9 +1651,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1649
1651
  rationale: string;
1650
1652
  statement: string;
1651
1653
  evidence: {
1652
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1653
- label: string;
1654
1654
  id: string;
1655
+ label: string;
1656
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1655
1657
  capture: "at_action" | "historical_lookup" | "fixture";
1656
1658
  locator?: string | undefined;
1657
1659
  }[];
@@ -1663,25 +1665,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1663
1665
  } | {
1664
1666
  kind: "correction_approved";
1665
1667
  evidence: {
1666
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1667
- label: string;
1668
1668
  id: string;
1669
+ label: string;
1670
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1669
1671
  capture: "at_action" | "historical_lookup" | "fixture";
1670
1672
  locator?: string | undefined;
1671
1673
  }[];
1672
1674
  correctionId: string;
1673
1675
  approvedBy: {
1674
- kind: "agent" | "human";
1675
- label: string;
1676
1676
  id: string;
1677
+ label: string;
1678
+ kind: "agent" | "human";
1677
1679
  };
1678
1680
  note?: string | undefined;
1679
1681
  } | {
1680
1682
  kind: "decision_superseded";
1681
1683
  evidence: {
1682
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1683
- label: string;
1684
1684
  id: string;
1685
+ label: string;
1686
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1685
1687
  capture: "at_action" | "historical_lookup" | "fixture";
1686
1688
  locator?: string | undefined;
1687
1689
  }[];
@@ -1694,9 +1696,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1694
1696
  agentId: string;
1695
1697
  sessionId: string;
1696
1698
  evidence: {
1697
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
- label: string;
1699
1699
  id: string;
1700
+ label: string;
1701
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1700
1702
  capture: "at_action" | "historical_lookup" | "fixture";
1701
1703
  locator?: string | undefined;
1702
1704
  }[];
@@ -1708,9 +1710,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1708
1710
  agentId: string;
1709
1711
  sessionId: string;
1710
1712
  evidence: {
1711
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1712
- label: string;
1713
1713
  id: string;
1714
+ label: string;
1715
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1714
1716
  capture: "at_action" | "historical_lookup" | "fixture";
1715
1717
  locator?: string | undefined;
1716
1718
  }[];
@@ -1719,13 +1721,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1719
1721
  recallReceiptId: string;
1720
1722
  staleDecisionAbsent: boolean;
1721
1723
  } | {
1722
- kind: "mission_completed";
1723
1724
  summary: string;
1725
+ kind: "mission_completed";
1724
1726
  outcome: "failed" | "recovered" | "inconclusive";
1725
1727
  evidence: {
1726
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
- label: string;
1728
1728
  id: string;
1729
+ label: string;
1730
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1729
1731
  capture: "at_action" | "historical_lookup" | "fixture";
1730
1732
  locator?: string | undefined;
1731
1733
  }[];
@@ -1735,37 +1737,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1735
1737
  objective: string;
1736
1738
  runMode: "replay" | "fixture" | "live";
1737
1739
  evidence?: {
1738
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1739
- label: string;
1740
1740
  id: string;
1741
+ label: string;
1742
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1741
1743
  capture: "at_action" | "historical_lookup" | "fixture";
1742
1744
  locator?: string | undefined;
1743
1745
  }[] | undefined;
1744
1746
  } | {
1745
- kind: "agent_status";
1746
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1747
1747
  label: string;
1748
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1749
+ kind: "agent_status";
1748
1750
  role: string;
1749
1751
  agentId: string;
1750
1752
  sessionId: string;
1751
1753
  detail?: string | undefined;
1752
1754
  evidence?: {
1753
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1754
- label: string;
1755
1755
  id: string;
1756
+ label: string;
1757
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1756
1758
  capture: "at_action" | "historical_lookup" | "fixture";
1757
1759
  locator?: string | undefined;
1758
1760
  }[] | undefined;
1759
1761
  } | {
1760
- kind: "agent_output";
1761
1762
  summary: string;
1763
+ kind: "agent_output";
1762
1764
  agentId: string;
1763
1765
  sessionId: string;
1764
1766
  outputId: string;
1765
1767
  evidence?: {
1766
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1767
- label: string;
1768
1768
  id: string;
1769
+ label: string;
1770
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1769
1771
  capture: "at_action" | "historical_lookup" | "fixture";
1770
1772
  locator?: string | undefined;
1771
1773
  }[] | undefined;
@@ -1778,37 +1780,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1778
1780
  decisionId: string;
1779
1781
  confidence?: number | undefined;
1780
1782
  evidence?: {
1781
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1782
- label: string;
1783
1783
  id: string;
1784
+ label: string;
1785
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1784
1786
  capture: "at_action" | "historical_lookup" | "fixture";
1785
1787
  locator?: string | undefined;
1786
1788
  }[] | undefined;
1787
1789
  } | {
1788
- kind: "conflict_detected";
1789
1790
  summary: string;
1791
+ kind: "conflict_detected";
1790
1792
  conflictId: string;
1791
1793
  decisionIds: string[];
1792
1794
  agentIds: string[];
1793
1795
  evidence?: {
1794
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1795
- label: string;
1796
1796
  id: string;
1797
+ label: string;
1798
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1797
1799
  capture: "at_action" | "historical_lookup" | "fixture";
1798
1800
  locator?: string | undefined;
1799
1801
  }[] | undefined;
1800
1802
  } | {
1801
- kind: "test_result";
1802
1803
  summary: string;
1803
1804
  status: "error" | "failed" | "passed";
1805
+ kind: "test_result";
1804
1806
  command: string;
1805
1807
  decisionId: string;
1806
1808
  testId: string;
1807
1809
  durationMs?: number | undefined;
1808
1810
  evidence?: {
1809
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1810
- label: string;
1811
1811
  id: string;
1812
+ label: string;
1813
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1812
1814
  capture: "at_action" | "historical_lookup" | "fixture";
1813
1815
  locator?: string | undefined;
1814
1816
  }[] | undefined;
@@ -1823,9 +1825,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1823
1825
  supersedesDecisionIds: string[];
1824
1826
  proposedBy: string;
1825
1827
  evidence?: {
1826
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1827
- label: string;
1828
1828
  id: string;
1829
+ label: string;
1830
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1829
1831
  capture: "at_action" | "historical_lookup" | "fixture";
1830
1832
  locator?: string | undefined;
1831
1833
  }[] | undefined;
@@ -1833,15 +1835,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1833
1835
  kind: "correction_approved";
1834
1836
  correctionId: string;
1835
1837
  approvedBy: {
1836
- kind: "agent" | "human";
1837
- label: string;
1838
1838
  id: string;
1839
+ label: string;
1840
+ kind: "agent" | "human";
1839
1841
  };
1840
1842
  note?: string | undefined;
1841
1843
  evidence?: {
1842
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1843
- label: string;
1844
1844
  id: string;
1845
+ label: string;
1846
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1845
1847
  capture: "at_action" | "historical_lookup" | "fixture";
1846
1848
  locator?: string | undefined;
1847
1849
  }[] | undefined;
@@ -1851,9 +1853,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1851
1853
  correctionId: string;
1852
1854
  replacementDecisionId: string;
1853
1855
  evidence?: {
1854
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1855
- label: string;
1856
1856
  id: string;
1857
+ label: string;
1858
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1857
1859
  capture: "at_action" | "historical_lookup" | "fixture";
1858
1860
  locator?: string | undefined;
1859
1861
  }[] | undefined;
@@ -1866,9 +1868,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1866
1868
  recallReceiptId: string;
1867
1869
  capturedAtAction: boolean;
1868
1870
  evidence?: {
1869
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1870
- label: string;
1871
1871
  id: string;
1872
+ label: string;
1873
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1872
1874
  capture: "at_action" | "historical_lookup" | "fixture";
1873
1875
  locator?: string | undefined;
1874
1876
  }[] | undefined;
@@ -1881,20 +1883,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1881
1883
  recallReceiptId: string;
1882
1884
  staleDecisionAbsent: boolean;
1883
1885
  evidence?: {
1884
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
- label: string;
1886
1886
  id: string;
1887
+ label: string;
1888
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1887
1889
  capture: "at_action" | "historical_lookup" | "fixture";
1888
1890
  locator?: string | undefined;
1889
1891
  }[] | undefined;
1890
1892
  } | {
1891
- kind: "mission_completed";
1892
1893
  summary: string;
1894
+ kind: "mission_completed";
1893
1895
  outcome: "failed" | "recovered" | "inconclusive";
1894
1896
  evidence?: {
1895
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1896
- label: string;
1897
1897
  id: string;
1898
+ label: string;
1899
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1898
1900
  capture: "at_action" | "historical_lookup" | "fixture";
1899
1901
  locator?: string | undefined;
1900
1902
  }[] | undefined;
@@ -1915,15 +1917,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1915
1917
  locator: z.ZodOptional<z.ZodString>;
1916
1918
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1917
1919
  }, "strict", z.ZodTypeAny, {
1918
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1919
- label: string;
1920
1920
  id: string;
1921
+ label: string;
1922
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1921
1923
  capture: "at_action" | "historical_lookup" | "fixture";
1922
1924
  locator?: string | undefined;
1923
1925
  }, {
1924
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1925
- label: string;
1926
1926
  id: string;
1927
+ label: string;
1928
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1927
1929
  capture: "at_action" | "historical_lookup" | "fixture";
1928
1930
  locator?: string | undefined;
1929
1931
  }>, "many">>;
@@ -1931,9 +1933,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1931
1933
  kind: "mission_started";
1932
1934
  title: string;
1933
1935
  evidence: {
1934
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1935
- label: string;
1936
1936
  id: string;
1937
+ label: string;
1938
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1937
1939
  capture: "at_action" | "historical_lookup" | "fixture";
1938
1940
  locator?: string | undefined;
1939
1941
  }[];
@@ -1945,9 +1947,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1945
1947
  objective: string;
1946
1948
  runMode: "replay" | "fixture" | "live";
1947
1949
  evidence?: {
1948
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1949
- label: string;
1950
1950
  id: string;
1951
+ label: string;
1952
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1951
1953
  capture: "at_action" | "historical_lookup" | "fixture";
1952
1954
  locator?: string | undefined;
1953
1955
  }[] | undefined;
@@ -1963,15 +1965,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1963
1965
  locator: z.ZodOptional<z.ZodString>;
1964
1966
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1965
1967
  }, "strict", z.ZodTypeAny, {
1966
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1967
- label: string;
1968
1968
  id: string;
1969
+ label: string;
1970
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1969
1971
  capture: "at_action" | "historical_lookup" | "fixture";
1970
1972
  locator?: string | undefined;
1971
1973
  }, {
1972
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1973
- label: string;
1974
1974
  id: string;
1975
+ label: string;
1976
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1975
1977
  capture: "at_action" | "historical_lookup" | "fixture";
1976
1978
  locator?: string | undefined;
1977
1979
  }>, "many">>;
@@ -1979,32 +1981,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1979
1981
  sessionId: z.ZodString;
1980
1982
  kind: z.ZodLiteral<"agent_status">;
1981
1983
  }, "strict", z.ZodTypeAny, {
1982
- kind: "agent_status";
1983
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1984
1984
  label: string;
1985
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1986
+ kind: "agent_status";
1985
1987
  role: string;
1986
1988
  agentId: string;
1987
1989
  sessionId: string;
1988
1990
  evidence: {
1989
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1990
- label: string;
1991
1991
  id: string;
1992
+ label: string;
1993
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1992
1994
  capture: "at_action" | "historical_lookup" | "fixture";
1993
1995
  locator?: string | undefined;
1994
1996
  }[];
1995
1997
  detail?: string | undefined;
1996
1998
  }, {
1997
- kind: "agent_status";
1998
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1999
1999
  label: string;
2000
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2001
+ kind: "agent_status";
2000
2002
  role: string;
2001
2003
  agentId: string;
2002
2004
  sessionId: string;
2003
2005
  detail?: string | undefined;
2004
2006
  evidence?: {
2005
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2006
- label: string;
2007
2007
  id: string;
2008
+ label: string;
2009
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2008
2010
  capture: "at_action" | "historical_lookup" | "fixture";
2009
2011
  locator?: string | undefined;
2010
2012
  }[] | undefined;
@@ -2018,15 +2020,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2018
2020
  locator: z.ZodOptional<z.ZodString>;
2019
2021
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2020
2022
  }, "strict", z.ZodTypeAny, {
2021
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2022
- label: string;
2023
2023
  id: string;
2024
+ label: string;
2025
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2024
2026
  capture: "at_action" | "historical_lookup" | "fixture";
2025
2027
  locator?: string | undefined;
2026
2028
  }, {
2027
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2028
- label: string;
2029
2029
  id: string;
2030
+ label: string;
2031
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2030
2032
  capture: "at_action" | "historical_lookup" | "fixture";
2031
2033
  locator?: string | undefined;
2032
2034
  }>, "many">>;
@@ -2034,28 +2036,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2034
2036
  sessionId: z.ZodString;
2035
2037
  kind: z.ZodLiteral<"agent_output">;
2036
2038
  }, "strict", z.ZodTypeAny, {
2037
- kind: "agent_output";
2038
2039
  summary: string;
2040
+ kind: "agent_output";
2039
2041
  agentId: string;
2040
2042
  sessionId: string;
2041
2043
  evidence: {
2042
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2043
- label: string;
2044
2044
  id: string;
2045
+ label: string;
2046
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2045
2047
  capture: "at_action" | "historical_lookup" | "fixture";
2046
2048
  locator?: string | undefined;
2047
2049
  }[];
2048
2050
  outputId: string;
2049
2051
  }, {
2050
- kind: "agent_output";
2051
2052
  summary: string;
2053
+ kind: "agent_output";
2052
2054
  agentId: string;
2053
2055
  sessionId: string;
2054
2056
  outputId: string;
2055
2057
  evidence?: {
2056
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2057
- label: string;
2058
2058
  id: string;
2059
+ label: string;
2060
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2059
2061
  capture: "at_action" | "historical_lookup" | "fixture";
2060
2062
  locator?: string | undefined;
2061
2063
  }[] | undefined;
@@ -2071,15 +2073,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2071
2073
  locator: z.ZodOptional<z.ZodString>;
2072
2074
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2073
2075
  }, "strict", z.ZodTypeAny, {
2074
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2075
- label: string;
2076
2076
  id: string;
2077
+ label: string;
2078
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2077
2079
  capture: "at_action" | "historical_lookup" | "fixture";
2078
2080
  locator?: string | undefined;
2079
2081
  }, {
2080
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2081
- label: string;
2082
2082
  id: string;
2083
+ label: string;
2084
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2083
2085
  capture: "at_action" | "historical_lookup" | "fixture";
2084
2086
  locator?: string | undefined;
2085
2087
  }>, "many">>;
@@ -2092,9 +2094,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2092
2094
  statement: string;
2093
2095
  sessionId: string;
2094
2096
  evidence: {
2095
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2096
- label: string;
2097
2097
  id: string;
2098
+ label: string;
2099
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2098
2100
  capture: "at_action" | "historical_lookup" | "fixture";
2099
2101
  locator?: string | undefined;
2100
2102
  }[];
@@ -2110,9 +2112,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2110
2112
  decisionId: string;
2111
2113
  confidence?: number | undefined;
2112
2114
  evidence?: {
2113
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2114
- label: string;
2115
2115
  id: string;
2116
+ label: string;
2117
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2116
2118
  capture: "at_action" | "historical_lookup" | "fixture";
2117
2119
  locator?: string | undefined;
2118
2120
  }[] | undefined;
@@ -2129,25 +2131,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2129
2131
  locator: z.ZodOptional<z.ZodString>;
2130
2132
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2131
2133
  }, "strict", z.ZodTypeAny, {
2132
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2133
- label: string;
2134
2134
  id: string;
2135
+ label: string;
2136
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2135
2137
  capture: "at_action" | "historical_lookup" | "fixture";
2136
2138
  locator?: string | undefined;
2137
2139
  }, {
2138
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2139
- label: string;
2140
2140
  id: string;
2141
+ label: string;
2142
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2141
2143
  capture: "at_action" | "historical_lookup" | "fixture";
2142
2144
  locator?: string | undefined;
2143
2145
  }>, "many">>;
2144
2146
  }, "strict", z.ZodTypeAny, {
2145
- kind: "conflict_detected";
2146
2147
  summary: string;
2148
+ kind: "conflict_detected";
2147
2149
  evidence: {
2148
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2149
- label: string;
2150
2150
  id: string;
2151
+ label: string;
2152
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2151
2153
  capture: "at_action" | "historical_lookup" | "fixture";
2152
2154
  locator?: string | undefined;
2153
2155
  }[];
@@ -2155,15 +2157,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2155
2157
  decisionIds: string[];
2156
2158
  agentIds: string[];
2157
2159
  }, {
2158
- kind: "conflict_detected";
2159
2160
  summary: string;
2161
+ kind: "conflict_detected";
2160
2162
  conflictId: string;
2161
2163
  decisionIds: string[];
2162
2164
  agentIds: string[];
2163
2165
  evidence?: {
2164
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2165
- label: string;
2166
2166
  id: string;
2167
+ label: string;
2168
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2167
2169
  capture: "at_action" | "historical_lookup" | "fixture";
2168
2170
  locator?: string | undefined;
2169
2171
  }[] | undefined;
@@ -2183,27 +2185,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2183
2185
  locator: z.ZodOptional<z.ZodString>;
2184
2186
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2185
2187
  }, "strict", z.ZodTypeAny, {
2186
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2187
- label: string;
2188
2188
  id: string;
2189
+ label: string;
2190
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2189
2191
  capture: "at_action" | "historical_lookup" | "fixture";
2190
2192
  locator?: string | undefined;
2191
2193
  }, {
2192
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2193
- label: string;
2194
2194
  id: string;
2195
+ label: string;
2196
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2195
2197
  capture: "at_action" | "historical_lookup" | "fixture";
2196
2198
  locator?: string | undefined;
2197
2199
  }>, "many">>;
2198
2200
  }, "strict", z.ZodTypeAny, {
2199
- kind: "test_result";
2200
2201
  summary: string;
2201
2202
  status: "error" | "failed" | "passed";
2203
+ kind: "test_result";
2202
2204
  command: string;
2203
2205
  evidence: {
2204
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2205
- label: string;
2206
2206
  id: string;
2207
+ label: string;
2208
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2207
2209
  capture: "at_action" | "historical_lookup" | "fixture";
2208
2210
  locator?: string | undefined;
2209
2211
  }[];
@@ -2212,17 +2214,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2212
2214
  durationMs?: number | undefined;
2213
2215
  correctionId?: string | undefined;
2214
2216
  }, {
2215
- kind: "test_result";
2216
2217
  summary: string;
2217
2218
  status: "error" | "failed" | "passed";
2219
+ kind: "test_result";
2218
2220
  command: string;
2219
2221
  decisionId: string;
2220
2222
  testId: string;
2221
2223
  durationMs?: number | undefined;
2222
2224
  evidence?: {
2223
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2224
- label: string;
2225
2225
  id: string;
2226
+ label: string;
2227
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2226
2228
  capture: "at_action" | "historical_lookup" | "fixture";
2227
2229
  locator?: string | undefined;
2228
2230
  }[] | undefined;
@@ -2243,15 +2245,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2243
2245
  locator: z.ZodOptional<z.ZodString>;
2244
2246
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2245
2247
  }, "strict", z.ZodTypeAny, {
2246
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2247
- label: string;
2248
2248
  id: string;
2249
+ label: string;
2250
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2249
2251
  capture: "at_action" | "historical_lookup" | "fixture";
2250
2252
  locator?: string | undefined;
2251
2253
  }, {
2252
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2253
- label: string;
2254
2254
  id: string;
2255
+ label: string;
2256
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2255
2257
  capture: "at_action" | "historical_lookup" | "fixture";
2256
2258
  locator?: string | undefined;
2257
2259
  }>, "many">>;
@@ -2260,9 +2262,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2260
2262
  rationale: string;
2261
2263
  statement: string;
2262
2264
  evidence: {
2263
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2264
- label: string;
2265
2265
  id: string;
2266
+ label: string;
2267
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2266
2268
  capture: "at_action" | "historical_lookup" | "fixture";
2267
2269
  locator?: string | undefined;
2268
2270
  }[];
@@ -2281,9 +2283,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2281
2283
  supersedesDecisionIds: string[];
2282
2284
  proposedBy: string;
2283
2285
  evidence?: {
2284
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2285
- label: string;
2286
2286
  id: string;
2287
+ label: string;
2288
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2287
2289
  capture: "at_action" | "historical_lookup" | "fixture";
2288
2290
  locator?: string | undefined;
2289
2291
  }[] | undefined;
@@ -2295,13 +2297,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2295
2297
  id: z.ZodString;
2296
2298
  label: z.ZodString;
2297
2299
  }, "strict", z.ZodTypeAny, {
2298
- kind: "agent" | "human";
2299
- label: string;
2300
2300
  id: string;
2301
- }, {
2302
- kind: "agent" | "human";
2303
2301
  label: string;
2302
+ kind: "agent" | "human";
2303
+ }, {
2304
2304
  id: string;
2305
+ label: string;
2306
+ kind: "agent" | "human";
2305
2307
  }>;
2306
2308
  note: z.ZodOptional<z.ZodString>;
2307
2309
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2311,47 +2313,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2311
2313
  locator: z.ZodOptional<z.ZodString>;
2312
2314
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2313
2315
  }, "strict", z.ZodTypeAny, {
2314
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2315
- label: string;
2316
2316
  id: string;
2317
+ label: string;
2318
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2317
2319
  capture: "at_action" | "historical_lookup" | "fixture";
2318
2320
  locator?: string | undefined;
2319
2321
  }, {
2320
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2321
- label: string;
2322
2322
  id: string;
2323
+ label: string;
2324
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2323
2325
  capture: "at_action" | "historical_lookup" | "fixture";
2324
2326
  locator?: string | undefined;
2325
2327
  }>, "many">>;
2326
2328
  }, "strict", z.ZodTypeAny, {
2327
2329
  kind: "correction_approved";
2328
2330
  evidence: {
2329
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2330
- label: string;
2331
2331
  id: string;
2332
+ label: string;
2333
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2332
2334
  capture: "at_action" | "historical_lookup" | "fixture";
2333
2335
  locator?: string | undefined;
2334
2336
  }[];
2335
2337
  correctionId: string;
2336
2338
  approvedBy: {
2337
- kind: "agent" | "human";
2338
- label: string;
2339
2339
  id: string;
2340
+ label: string;
2341
+ kind: "agent" | "human";
2340
2342
  };
2341
2343
  note?: string | undefined;
2342
2344
  }, {
2343
2345
  kind: "correction_approved";
2344
2346
  correctionId: string;
2345
2347
  approvedBy: {
2346
- kind: "agent" | "human";
2347
- label: string;
2348
2348
  id: string;
2349
+ label: string;
2350
+ kind: "agent" | "human";
2349
2351
  };
2350
2352
  note?: string | undefined;
2351
2353
  evidence?: {
2352
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2353
- label: string;
2354
2354
  id: string;
2355
+ label: string;
2356
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2355
2357
  capture: "at_action" | "historical_lookup" | "fixture";
2356
2358
  locator?: string | undefined;
2357
2359
  }[] | undefined;
@@ -2367,24 +2369,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2367
2369
  locator: z.ZodOptional<z.ZodString>;
2368
2370
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2369
2371
  }, "strict", z.ZodTypeAny, {
2370
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
- label: string;
2372
2372
  id: string;
2373
+ label: string;
2374
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2373
2375
  capture: "at_action" | "historical_lookup" | "fixture";
2374
2376
  locator?: string | undefined;
2375
2377
  }, {
2376
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
- label: string;
2378
2378
  id: string;
2379
+ label: string;
2380
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2379
2381
  capture: "at_action" | "historical_lookup" | "fixture";
2380
2382
  locator?: string | undefined;
2381
2383
  }>, "many">>;
2382
2384
  }, "strict", z.ZodTypeAny, {
2383
2385
  kind: "decision_superseded";
2384
2386
  evidence: {
2385
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
- label: string;
2387
2387
  id: string;
2388
+ label: string;
2389
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2388
2390
  capture: "at_action" | "historical_lookup" | "fixture";
2389
2391
  locator?: string | undefined;
2390
2392
  }[];
@@ -2397,9 +2399,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2397
2399
  correctionId: string;
2398
2400
  replacementDecisionId: string;
2399
2401
  evidence?: {
2400
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2401
- label: string;
2402
2402
  id: string;
2403
+ label: string;
2404
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2403
2405
  capture: "at_action" | "historical_lookup" | "fixture";
2404
2406
  locator?: string | undefined;
2405
2407
  }[] | undefined;
@@ -2415,15 +2417,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2415
2417
  locator: z.ZodOptional<z.ZodString>;
2416
2418
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2417
2419
  }, "strict", z.ZodTypeAny, {
2418
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2419
- label: string;
2420
2420
  id: string;
2421
+ label: string;
2422
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2421
2423
  capture: "at_action" | "historical_lookup" | "fixture";
2422
2424
  locator?: string | undefined;
2423
2425
  }, {
2424
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2425
- label: string;
2426
2426
  id: string;
2427
+ label: string;
2428
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2427
2429
  capture: "at_action" | "historical_lookup" | "fixture";
2428
2430
  locator?: string | undefined;
2429
2431
  }>, "many">>;
@@ -2436,9 +2438,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2436
2438
  agentId: string;
2437
2439
  sessionId: string;
2438
2440
  evidence: {
2439
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2440
- label: string;
2441
2441
  id: string;
2442
+ label: string;
2443
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2442
2444
  capture: "at_action" | "historical_lookup" | "fixture";
2443
2445
  locator?: string | undefined;
2444
2446
  }[];
@@ -2454,9 +2456,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2454
2456
  recallReceiptId: string;
2455
2457
  capturedAtAction: boolean;
2456
2458
  evidence?: {
2457
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2458
- label: string;
2459
2459
  id: string;
2460
+ label: string;
2461
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2460
2462
  capture: "at_action" | "historical_lookup" | "fixture";
2461
2463
  locator?: string | undefined;
2462
2464
  }[] | undefined;
@@ -2472,15 +2474,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2472
2474
  locator: z.ZodOptional<z.ZodString>;
2473
2475
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2474
2476
  }, "strict", z.ZodTypeAny, {
2475
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2476
- label: string;
2477
2477
  id: string;
2478
+ label: string;
2479
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2478
2480
  capture: "at_action" | "historical_lookup" | "fixture";
2479
2481
  locator?: string | undefined;
2480
2482
  }, {
2481
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
- label: string;
2483
2483
  id: string;
2484
+ label: string;
2485
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2484
2486
  capture: "at_action" | "historical_lookup" | "fixture";
2485
2487
  locator?: string | undefined;
2486
2488
  }>, "many">>;
@@ -2492,9 +2494,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2492
2494
  agentId: string;
2493
2495
  sessionId: string;
2494
2496
  evidence: {
2495
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2496
- label: string;
2497
2497
  id: string;
2498
+ label: string;
2499
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2498
2500
  capture: "at_action" | "historical_lookup" | "fixture";
2499
2501
  locator?: string | undefined;
2500
2502
  }[];
@@ -2511,9 +2513,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2511
2513
  recallReceiptId: string;
2512
2514
  staleDecisionAbsent: boolean;
2513
2515
  evidence?: {
2514
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2515
- label: string;
2516
2516
  id: string;
2517
+ label: string;
2518
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2517
2519
  capture: "at_action" | "historical_lookup" | "fixture";
2518
2520
  locator?: string | undefined;
2519
2521
  }[] | undefined;
@@ -2528,37 +2530,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2528
2530
  locator: z.ZodOptional<z.ZodString>;
2529
2531
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2530
2532
  }, "strict", z.ZodTypeAny, {
2531
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2532
- label: string;
2533
2533
  id: string;
2534
+ label: string;
2535
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2534
2536
  capture: "at_action" | "historical_lookup" | "fixture";
2535
2537
  locator?: string | undefined;
2536
2538
  }, {
2537
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
- label: string;
2539
2539
  id: string;
2540
+ label: string;
2541
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2540
2542
  capture: "at_action" | "historical_lookup" | "fixture";
2541
2543
  locator?: string | undefined;
2542
2544
  }>, "many">>;
2543
2545
  }, "strict", z.ZodTypeAny, {
2544
- kind: "mission_completed";
2545
2546
  summary: string;
2547
+ kind: "mission_completed";
2546
2548
  outcome: "failed" | "recovered" | "inconclusive";
2547
2549
  evidence: {
2548
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2549
- label: string;
2550
2550
  id: string;
2551
+ label: string;
2552
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2551
2553
  capture: "at_action" | "historical_lookup" | "fixture";
2552
2554
  locator?: string | undefined;
2553
2555
  }[];
2554
2556
  }, {
2555
- kind: "mission_completed";
2556
2557
  summary: string;
2558
+ kind: "mission_completed";
2557
2559
  outcome: "failed" | "recovered" | "inconclusive";
2558
2560
  evidence?: {
2559
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2560
- label: string;
2561
2561
  id: string;
2562
+ label: string;
2563
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2562
2564
  capture: "at_action" | "historical_lookup" | "fixture";
2563
2565
  locator?: string | undefined;
2564
2566
  }[] | undefined;
@@ -2566,38 +2568,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2566
2568
  kind: "mission_started";
2567
2569
  title: string;
2568
2570
  evidence: {
2569
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2570
- label: string;
2571
2571
  id: string;
2572
+ label: string;
2573
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2572
2574
  capture: "at_action" | "historical_lookup" | "fixture";
2573
2575
  locator?: string | undefined;
2574
2576
  }[];
2575
2577
  objective: string;
2576
2578
  runMode: "replay" | "fixture" | "live";
2577
2579
  } | {
2578
- kind: "agent_status";
2579
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2580
2580
  label: string;
2581
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2582
+ kind: "agent_status";
2581
2583
  role: string;
2582
2584
  agentId: string;
2583
2585
  sessionId: string;
2584
2586
  evidence: {
2585
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2586
- label: string;
2587
2587
  id: string;
2588
+ label: string;
2589
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2588
2590
  capture: "at_action" | "historical_lookup" | "fixture";
2589
2591
  locator?: string | undefined;
2590
2592
  }[];
2591
2593
  detail?: string | undefined;
2592
2594
  } | {
2593
- kind: "agent_output";
2594
2595
  summary: string;
2596
+ kind: "agent_output";
2595
2597
  agentId: string;
2596
2598
  sessionId: string;
2597
2599
  evidence: {
2598
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2599
- label: string;
2600
2600
  id: string;
2601
+ label: string;
2602
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2601
2603
  capture: "at_action" | "historical_lookup" | "fixture";
2602
2604
  locator?: string | undefined;
2603
2605
  }[];
@@ -2608,9 +2610,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2608
2610
  statement: string;
2609
2611
  sessionId: string;
2610
2612
  evidence: {
2611
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2612
- label: string;
2613
2613
  id: string;
2614
+ label: string;
2615
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2614
2616
  capture: "at_action" | "historical_lookup" | "fixture";
2615
2617
  locator?: string | undefined;
2616
2618
  }[];
@@ -2618,12 +2620,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2618
2620
  decisionId: string;
2619
2621
  confidence?: number | undefined;
2620
2622
  } | {
2621
- kind: "conflict_detected";
2622
2623
  summary: string;
2624
+ kind: "conflict_detected";
2623
2625
  evidence: {
2624
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2625
- label: string;
2626
2626
  id: string;
2627
+ label: string;
2628
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2627
2629
  capture: "at_action" | "historical_lookup" | "fixture";
2628
2630
  locator?: string | undefined;
2629
2631
  }[];
@@ -2631,14 +2633,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2631
2633
  decisionIds: string[];
2632
2634
  agentIds: string[];
2633
2635
  } | {
2634
- kind: "test_result";
2635
2636
  summary: string;
2636
2637
  status: "error" | "failed" | "passed";
2638
+ kind: "test_result";
2637
2639
  command: string;
2638
2640
  evidence: {
2639
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2640
- label: string;
2641
2641
  id: string;
2642
+ label: string;
2643
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2642
2644
  capture: "at_action" | "historical_lookup" | "fixture";
2643
2645
  locator?: string | undefined;
2644
2646
  }[];
@@ -2651,9 +2653,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2651
2653
  rationale: string;
2652
2654
  statement: string;
2653
2655
  evidence: {
2654
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2655
- label: string;
2656
2656
  id: string;
2657
+ label: string;
2658
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2657
2659
  capture: "at_action" | "historical_lookup" | "fixture";
2658
2660
  locator?: string | undefined;
2659
2661
  }[];
@@ -2665,25 +2667,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2665
2667
  } | {
2666
2668
  kind: "correction_approved";
2667
2669
  evidence: {
2668
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2669
- label: string;
2670
2670
  id: string;
2671
+ label: string;
2672
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2671
2673
  capture: "at_action" | "historical_lookup" | "fixture";
2672
2674
  locator?: string | undefined;
2673
2675
  }[];
2674
2676
  correctionId: string;
2675
2677
  approvedBy: {
2676
- kind: "agent" | "human";
2677
- label: string;
2678
2678
  id: string;
2679
+ label: string;
2680
+ kind: "agent" | "human";
2679
2681
  };
2680
2682
  note?: string | undefined;
2681
2683
  } | {
2682
2684
  kind: "decision_superseded";
2683
2685
  evidence: {
2684
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2685
- label: string;
2686
2686
  id: string;
2687
+ label: string;
2688
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2687
2689
  capture: "at_action" | "historical_lookup" | "fixture";
2688
2690
  locator?: string | undefined;
2689
2691
  }[];
@@ -2696,9 +2698,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2696
2698
  agentId: string;
2697
2699
  sessionId: string;
2698
2700
  evidence: {
2699
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
- label: string;
2701
2701
  id: string;
2702
+ label: string;
2703
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2702
2704
  capture: "at_action" | "historical_lookup" | "fixture";
2703
2705
  locator?: string | undefined;
2704
2706
  }[];
@@ -2710,9 +2712,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2710
2712
  agentId: string;
2711
2713
  sessionId: string;
2712
2714
  evidence: {
2713
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2714
- label: string;
2715
2715
  id: string;
2716
+ label: string;
2717
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2716
2718
  capture: "at_action" | "historical_lookup" | "fixture";
2717
2719
  locator?: string | undefined;
2718
2720
  }[];
@@ -2721,13 +2723,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2721
2723
  recallReceiptId: string;
2722
2724
  staleDecisionAbsent: boolean;
2723
2725
  } | {
2724
- kind: "mission_completed";
2725
2726
  summary: string;
2727
+ kind: "mission_completed";
2726
2728
  outcome: "failed" | "recovered" | "inconclusive";
2727
2729
  evidence: {
2728
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
- label: string;
2730
2730
  id: string;
2731
+ label: string;
2732
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2731
2733
  capture: "at_action" | "historical_lookup" | "fixture";
2732
2734
  locator?: string | undefined;
2733
2735
  }[];
@@ -2737,37 +2739,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2737
2739
  objective: string;
2738
2740
  runMode: "replay" | "fixture" | "live";
2739
2741
  evidence?: {
2740
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2741
- label: string;
2742
2742
  id: string;
2743
+ label: string;
2744
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2743
2745
  capture: "at_action" | "historical_lookup" | "fixture";
2744
2746
  locator?: string | undefined;
2745
2747
  }[] | undefined;
2746
2748
  } | {
2747
- kind: "agent_status";
2748
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2749
2749
  label: string;
2750
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2751
+ kind: "agent_status";
2750
2752
  role: string;
2751
2753
  agentId: string;
2752
2754
  sessionId: string;
2753
2755
  detail?: string | undefined;
2754
2756
  evidence?: {
2755
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2756
- label: string;
2757
2757
  id: string;
2758
+ label: string;
2759
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2758
2760
  capture: "at_action" | "historical_lookup" | "fixture";
2759
2761
  locator?: string | undefined;
2760
2762
  }[] | undefined;
2761
2763
  } | {
2762
- kind: "agent_output";
2763
2764
  summary: string;
2765
+ kind: "agent_output";
2764
2766
  agentId: string;
2765
2767
  sessionId: string;
2766
2768
  outputId: string;
2767
2769
  evidence?: {
2768
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2769
- label: string;
2770
2770
  id: string;
2771
+ label: string;
2772
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2771
2773
  capture: "at_action" | "historical_lookup" | "fixture";
2772
2774
  locator?: string | undefined;
2773
2775
  }[] | undefined;
@@ -2780,37 +2782,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2780
2782
  decisionId: string;
2781
2783
  confidence?: number | undefined;
2782
2784
  evidence?: {
2783
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2784
- label: string;
2785
2785
  id: string;
2786
+ label: string;
2787
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2786
2788
  capture: "at_action" | "historical_lookup" | "fixture";
2787
2789
  locator?: string | undefined;
2788
2790
  }[] | undefined;
2789
2791
  } | {
2790
- kind: "conflict_detected";
2791
2792
  summary: string;
2793
+ kind: "conflict_detected";
2792
2794
  conflictId: string;
2793
2795
  decisionIds: string[];
2794
2796
  agentIds: string[];
2795
2797
  evidence?: {
2796
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2797
- label: string;
2798
2798
  id: string;
2799
+ label: string;
2800
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2799
2801
  capture: "at_action" | "historical_lookup" | "fixture";
2800
2802
  locator?: string | undefined;
2801
2803
  }[] | undefined;
2802
2804
  } | {
2803
- kind: "test_result";
2804
2805
  summary: string;
2805
2806
  status: "error" | "failed" | "passed";
2807
+ kind: "test_result";
2806
2808
  command: string;
2807
2809
  decisionId: string;
2808
2810
  testId: string;
2809
2811
  durationMs?: number | undefined;
2810
2812
  evidence?: {
2811
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2812
- label: string;
2813
2813
  id: string;
2814
+ label: string;
2815
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2814
2816
  capture: "at_action" | "historical_lookup" | "fixture";
2815
2817
  locator?: string | undefined;
2816
2818
  }[] | undefined;
@@ -2825,9 +2827,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2825
2827
  supersedesDecisionIds: string[];
2826
2828
  proposedBy: string;
2827
2829
  evidence?: {
2828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2829
- label: string;
2830
2830
  id: string;
2831
+ label: string;
2832
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2831
2833
  capture: "at_action" | "historical_lookup" | "fixture";
2832
2834
  locator?: string | undefined;
2833
2835
  }[] | undefined;
@@ -2835,15 +2837,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2835
2837
  kind: "correction_approved";
2836
2838
  correctionId: string;
2837
2839
  approvedBy: {
2838
- kind: "agent" | "human";
2839
- label: string;
2840
2840
  id: string;
2841
+ label: string;
2842
+ kind: "agent" | "human";
2841
2843
  };
2842
2844
  note?: string | undefined;
2843
2845
  evidence?: {
2844
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2845
- label: string;
2846
2846
  id: string;
2847
+ label: string;
2848
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2847
2849
  capture: "at_action" | "historical_lookup" | "fixture";
2848
2850
  locator?: string | undefined;
2849
2851
  }[] | undefined;
@@ -2853,9 +2855,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2853
2855
  correctionId: string;
2854
2856
  replacementDecisionId: string;
2855
2857
  evidence?: {
2856
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2857
- label: string;
2858
2858
  id: string;
2859
+ label: string;
2860
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2859
2861
  capture: "at_action" | "historical_lookup" | "fixture";
2860
2862
  locator?: string | undefined;
2861
2863
  }[] | undefined;
@@ -2868,9 +2870,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2868
2870
  recallReceiptId: string;
2869
2871
  capturedAtAction: boolean;
2870
2872
  evidence?: {
2871
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2872
- label: string;
2873
2873
  id: string;
2874
+ label: string;
2875
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2874
2876
  capture: "at_action" | "historical_lookup" | "fixture";
2875
2877
  locator?: string | undefined;
2876
2878
  }[] | undefined;
@@ -2883,20 +2885,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2883
2885
  recallReceiptId: string;
2884
2886
  staleDecisionAbsent: boolean;
2885
2887
  evidence?: {
2886
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2887
- label: string;
2888
2888
  id: string;
2889
+ label: string;
2890
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2889
2891
  capture: "at_action" | "historical_lookup" | "fixture";
2890
2892
  locator?: string | undefined;
2891
2893
  }[] | undefined;
2892
2894
  } | {
2893
- kind: "mission_completed";
2894
2895
  summary: string;
2896
+ kind: "mission_completed";
2895
2897
  outcome: "failed" | "recovered" | "inconclusive";
2896
2898
  evidence?: {
2897
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2898
- label: string;
2899
2899
  id: string;
2900
+ label: string;
2901
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2900
2902
  capture: "at_action" | "historical_lookup" | "fixture";
2901
2903
  locator?: string | undefined;
2902
2904
  }[] | undefined;
@@ -2906,38 +2908,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2906
2908
  kind: "mission_started";
2907
2909
  title: string;
2908
2910
  evidence: {
2909
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2910
- label: string;
2911
2911
  id: string;
2912
+ label: string;
2913
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2912
2914
  capture: "at_action" | "historical_lookup" | "fixture";
2913
2915
  locator?: string | undefined;
2914
2916
  }[];
2915
2917
  objective: string;
2916
2918
  runMode: "replay" | "fixture" | "live";
2917
2919
  } | {
2918
- kind: "agent_status";
2919
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2920
2920
  label: string;
2921
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2922
+ kind: "agent_status";
2921
2923
  role: string;
2922
2924
  agentId: string;
2923
2925
  sessionId: string;
2924
2926
  evidence: {
2925
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2926
- label: string;
2927
2927
  id: string;
2928
+ label: string;
2929
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2928
2930
  capture: "at_action" | "historical_lookup" | "fixture";
2929
2931
  locator?: string | undefined;
2930
2932
  }[];
2931
2933
  detail?: string | undefined;
2932
2934
  } | {
2933
- kind: "agent_output";
2934
2935
  summary: string;
2936
+ kind: "agent_output";
2935
2937
  agentId: string;
2936
2938
  sessionId: string;
2937
2939
  evidence: {
2938
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2939
- label: string;
2940
2940
  id: string;
2941
+ label: string;
2942
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2941
2943
  capture: "at_action" | "historical_lookup" | "fixture";
2942
2944
  locator?: string | undefined;
2943
2945
  }[];
@@ -2948,9 +2950,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2948
2950
  statement: string;
2949
2951
  sessionId: string;
2950
2952
  evidence: {
2951
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2952
- label: string;
2953
2953
  id: string;
2954
+ label: string;
2955
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2954
2956
  capture: "at_action" | "historical_lookup" | "fixture";
2955
2957
  locator?: string | undefined;
2956
2958
  }[];
@@ -2958,12 +2960,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2958
2960
  decisionId: string;
2959
2961
  confidence?: number | undefined;
2960
2962
  } | {
2961
- kind: "conflict_detected";
2962
2963
  summary: string;
2964
+ kind: "conflict_detected";
2963
2965
  evidence: {
2964
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2965
- label: string;
2966
2966
  id: string;
2967
+ label: string;
2968
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2967
2969
  capture: "at_action" | "historical_lookup" | "fixture";
2968
2970
  locator?: string | undefined;
2969
2971
  }[];
@@ -2971,14 +2973,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2971
2973
  decisionIds: string[];
2972
2974
  agentIds: string[];
2973
2975
  } | {
2974
- kind: "test_result";
2975
2976
  summary: string;
2976
2977
  status: "error" | "failed" | "passed";
2978
+ kind: "test_result";
2977
2979
  command: string;
2978
2980
  evidence: {
2979
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2980
- label: string;
2981
2981
  id: string;
2982
+ label: string;
2983
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2982
2984
  capture: "at_action" | "historical_lookup" | "fixture";
2983
2985
  locator?: string | undefined;
2984
2986
  }[];
@@ -2991,9 +2993,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2991
2993
  rationale: string;
2992
2994
  statement: string;
2993
2995
  evidence: {
2994
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2995
- label: string;
2996
2996
  id: string;
2997
+ label: string;
2998
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2997
2999
  capture: "at_action" | "historical_lookup" | "fixture";
2998
3000
  locator?: string | undefined;
2999
3001
  }[];
@@ -3005,25 +3007,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3005
3007
  } | {
3006
3008
  kind: "correction_approved";
3007
3009
  evidence: {
3008
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3009
- label: string;
3010
3010
  id: string;
3011
+ label: string;
3012
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3011
3013
  capture: "at_action" | "historical_lookup" | "fixture";
3012
3014
  locator?: string | undefined;
3013
3015
  }[];
3014
3016
  correctionId: string;
3015
3017
  approvedBy: {
3016
- kind: "agent" | "human";
3017
- label: string;
3018
3018
  id: string;
3019
+ label: string;
3020
+ kind: "agent" | "human";
3019
3021
  };
3020
3022
  note?: string | undefined;
3021
3023
  } | {
3022
3024
  kind: "decision_superseded";
3023
3025
  evidence: {
3024
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3025
- label: string;
3026
3026
  id: string;
3027
+ label: string;
3028
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3027
3029
  capture: "at_action" | "historical_lookup" | "fixture";
3028
3030
  locator?: string | undefined;
3029
3031
  }[];
@@ -3036,9 +3038,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3036
3038
  agentId: string;
3037
3039
  sessionId: string;
3038
3040
  evidence: {
3039
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3040
- label: string;
3041
3041
  id: string;
3042
+ label: string;
3043
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3042
3044
  capture: "at_action" | "historical_lookup" | "fixture";
3043
3045
  locator?: string | undefined;
3044
3046
  }[];
@@ -3050,9 +3052,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3050
3052
  agentId: string;
3051
3053
  sessionId: string;
3052
3054
  evidence: {
3053
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3054
- label: string;
3055
3055
  id: string;
3056
+ label: string;
3057
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3056
3058
  capture: "at_action" | "historical_lookup" | "fixture";
3057
3059
  locator?: string | undefined;
3058
3060
  }[];
@@ -3061,13 +3063,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3061
3063
  recallReceiptId: string;
3062
3064
  staleDecisionAbsent: boolean;
3063
3065
  } | {
3064
- kind: "mission_completed";
3065
3066
  summary: string;
3067
+ kind: "mission_completed";
3066
3068
  outcome: "failed" | "recovered" | "inconclusive";
3067
3069
  evidence: {
3068
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3069
- label: string;
3070
3070
  id: string;
3071
+ label: string;
3072
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3071
3073
  capture: "at_action" | "historical_lookup" | "fixture";
3072
3074
  locator?: string | undefined;
3073
3075
  }[];
@@ -3081,37 +3083,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3081
3083
  objective: string;
3082
3084
  runMode: "replay" | "fixture" | "live";
3083
3085
  evidence?: {
3084
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3085
- label: string;
3086
3086
  id: string;
3087
+ label: string;
3088
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3087
3089
  capture: "at_action" | "historical_lookup" | "fixture";
3088
3090
  locator?: string | undefined;
3089
3091
  }[] | undefined;
3090
3092
  } | {
3091
- kind: "agent_status";
3092
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3093
3093
  label: string;
3094
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3095
+ kind: "agent_status";
3094
3096
  role: string;
3095
3097
  agentId: string;
3096
3098
  sessionId: string;
3097
3099
  detail?: string | undefined;
3098
3100
  evidence?: {
3099
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3100
- label: string;
3101
3101
  id: string;
3102
+ label: string;
3103
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3102
3104
  capture: "at_action" | "historical_lookup" | "fixture";
3103
3105
  locator?: string | undefined;
3104
3106
  }[] | undefined;
3105
3107
  } | {
3106
- kind: "agent_output";
3107
3108
  summary: string;
3109
+ kind: "agent_output";
3108
3110
  agentId: string;
3109
3111
  sessionId: string;
3110
3112
  outputId: string;
3111
3113
  evidence?: {
3112
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3113
- label: string;
3114
3114
  id: string;
3115
+ label: string;
3116
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3115
3117
  capture: "at_action" | "historical_lookup" | "fixture";
3116
3118
  locator?: string | undefined;
3117
3119
  }[] | undefined;
@@ -3124,37 +3126,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3124
3126
  decisionId: string;
3125
3127
  confidence?: number | undefined;
3126
3128
  evidence?: {
3127
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3128
- label: string;
3129
3129
  id: string;
3130
+ label: string;
3131
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3130
3132
  capture: "at_action" | "historical_lookup" | "fixture";
3131
3133
  locator?: string | undefined;
3132
3134
  }[] | undefined;
3133
3135
  } | {
3134
- kind: "conflict_detected";
3135
3136
  summary: string;
3137
+ kind: "conflict_detected";
3136
3138
  conflictId: string;
3137
3139
  decisionIds: string[];
3138
3140
  agentIds: string[];
3139
3141
  evidence?: {
3140
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3141
- label: string;
3142
3142
  id: string;
3143
+ label: string;
3144
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3143
3145
  capture: "at_action" | "historical_lookup" | "fixture";
3144
3146
  locator?: string | undefined;
3145
3147
  }[] | undefined;
3146
3148
  } | {
3147
- kind: "test_result";
3148
3149
  summary: string;
3149
3150
  status: "error" | "failed" | "passed";
3151
+ kind: "test_result";
3150
3152
  command: string;
3151
3153
  decisionId: string;
3152
3154
  testId: string;
3153
3155
  durationMs?: number | undefined;
3154
3156
  evidence?: {
3155
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3156
- label: string;
3157
3157
  id: string;
3158
+ label: string;
3159
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3158
3160
  capture: "at_action" | "historical_lookup" | "fixture";
3159
3161
  locator?: string | undefined;
3160
3162
  }[] | undefined;
@@ -3169,9 +3171,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3169
3171
  supersedesDecisionIds: string[];
3170
3172
  proposedBy: string;
3171
3173
  evidence?: {
3172
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3173
- label: string;
3174
3174
  id: string;
3175
+ label: string;
3176
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3175
3177
  capture: "at_action" | "historical_lookup" | "fixture";
3176
3178
  locator?: string | undefined;
3177
3179
  }[] | undefined;
@@ -3179,15 +3181,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3179
3181
  kind: "correction_approved";
3180
3182
  correctionId: string;
3181
3183
  approvedBy: {
3182
- kind: "agent" | "human";
3183
- label: string;
3184
3184
  id: string;
3185
+ label: string;
3186
+ kind: "agent" | "human";
3185
3187
  };
3186
3188
  note?: string | undefined;
3187
3189
  evidence?: {
3188
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3189
- label: string;
3190
3190
  id: string;
3191
+ label: string;
3192
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3191
3193
  capture: "at_action" | "historical_lookup" | "fixture";
3192
3194
  locator?: string | undefined;
3193
3195
  }[] | undefined;
@@ -3197,9 +3199,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3197
3199
  correctionId: string;
3198
3200
  replacementDecisionId: string;
3199
3201
  evidence?: {
3200
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3201
- label: string;
3202
3202
  id: string;
3203
+ label: string;
3204
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3203
3205
  capture: "at_action" | "historical_lookup" | "fixture";
3204
3206
  locator?: string | undefined;
3205
3207
  }[] | undefined;
@@ -3212,9 +3214,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3212
3214
  recallReceiptId: string;
3213
3215
  capturedAtAction: boolean;
3214
3216
  evidence?: {
3215
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3216
- label: string;
3217
3217
  id: string;
3218
+ label: string;
3219
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3218
3220
  capture: "at_action" | "historical_lookup" | "fixture";
3219
3221
  locator?: string | undefined;
3220
3222
  }[] | undefined;
@@ -3227,20 +3229,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3227
3229
  recallReceiptId: string;
3228
3230
  staleDecisionAbsent: boolean;
3229
3231
  evidence?: {
3230
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3231
- label: string;
3232
3232
  id: string;
3233
+ label: string;
3234
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3233
3235
  capture: "at_action" | "historical_lookup" | "fixture";
3234
3236
  locator?: string | undefined;
3235
3237
  }[] | undefined;
3236
3238
  } | {
3237
- kind: "mission_completed";
3238
3239
  summary: string;
3240
+ kind: "mission_completed";
3239
3241
  outcome: "failed" | "recovered" | "inconclusive";
3240
3242
  evidence?: {
3241
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3242
- label: string;
3243
3243
  id: string;
3244
+ label: string;
3245
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3244
3246
  capture: "at_action" | "historical_lookup" | "fixture";
3245
3247
  locator?: string | undefined;
3246
3248
  }[] | undefined;
@@ -3270,15 +3272,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3270
3272
  locator: z.ZodOptional<z.ZodString>;
3271
3273
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3272
3274
  }, "strict", z.ZodTypeAny, {
3273
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3274
- label: string;
3275
3275
  id: string;
3276
+ label: string;
3277
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3276
3278
  capture: "at_action" | "historical_lookup" | "fixture";
3277
3279
  locator?: string | undefined;
3278
3280
  }, {
3279
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3280
- label: string;
3281
3281
  id: string;
3282
+ label: string;
3283
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3282
3284
  capture: "at_action" | "historical_lookup" | "fixture";
3283
3285
  locator?: string | undefined;
3284
3286
  }>, "many">>;
@@ -3286,9 +3288,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3286
3288
  kind: "mission_started";
3287
3289
  title: string;
3288
3290
  evidence: {
3289
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3290
- label: string;
3291
3291
  id: string;
3292
+ label: string;
3293
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3292
3294
  capture: "at_action" | "historical_lookup" | "fixture";
3293
3295
  locator?: string | undefined;
3294
3296
  }[];
@@ -3300,9 +3302,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3300
3302
  objective: string;
3301
3303
  runMode: "replay" | "fixture" | "live";
3302
3304
  evidence?: {
3303
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3304
- label: string;
3305
3305
  id: string;
3306
+ label: string;
3307
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3306
3308
  capture: "at_action" | "historical_lookup" | "fixture";
3307
3309
  locator?: string | undefined;
3308
3310
  }[] | undefined;
@@ -3318,15 +3320,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3318
3320
  locator: z.ZodOptional<z.ZodString>;
3319
3321
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3320
3322
  }, "strict", z.ZodTypeAny, {
3321
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3322
- label: string;
3323
3323
  id: string;
3324
+ label: string;
3325
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3324
3326
  capture: "at_action" | "historical_lookup" | "fixture";
3325
3327
  locator?: string | undefined;
3326
3328
  }, {
3327
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3328
- label: string;
3329
3329
  id: string;
3330
+ label: string;
3331
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3330
3332
  capture: "at_action" | "historical_lookup" | "fixture";
3331
3333
  locator?: string | undefined;
3332
3334
  }>, "many">>;
@@ -3334,32 +3336,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3334
3336
  sessionId: z.ZodString;
3335
3337
  kind: z.ZodLiteral<"agent_status">;
3336
3338
  }, "strict", z.ZodTypeAny, {
3337
- kind: "agent_status";
3338
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3339
3339
  label: string;
3340
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3341
+ kind: "agent_status";
3340
3342
  role: string;
3341
3343
  agentId: string;
3342
3344
  sessionId: string;
3343
3345
  evidence: {
3344
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3345
- label: string;
3346
3346
  id: string;
3347
+ label: string;
3348
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3347
3349
  capture: "at_action" | "historical_lookup" | "fixture";
3348
3350
  locator?: string | undefined;
3349
3351
  }[];
3350
3352
  detail?: string | undefined;
3351
3353
  }, {
3352
- kind: "agent_status";
3353
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3354
3354
  label: string;
3355
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3356
+ kind: "agent_status";
3355
3357
  role: string;
3356
3358
  agentId: string;
3357
3359
  sessionId: string;
3358
3360
  detail?: string | undefined;
3359
3361
  evidence?: {
3360
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3361
- label: string;
3362
3362
  id: string;
3363
+ label: string;
3364
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3363
3365
  capture: "at_action" | "historical_lookup" | "fixture";
3364
3366
  locator?: string | undefined;
3365
3367
  }[] | undefined;
@@ -3373,15 +3375,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3373
3375
  locator: z.ZodOptional<z.ZodString>;
3374
3376
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3375
3377
  }, "strict", z.ZodTypeAny, {
3376
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3377
- label: string;
3378
3378
  id: string;
3379
+ label: string;
3380
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3379
3381
  capture: "at_action" | "historical_lookup" | "fixture";
3380
3382
  locator?: string | undefined;
3381
3383
  }, {
3382
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3383
- label: string;
3384
3384
  id: string;
3385
+ label: string;
3386
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3385
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3386
3388
  locator?: string | undefined;
3387
3389
  }>, "many">>;
@@ -3389,28 +3391,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3389
3391
  sessionId: z.ZodString;
3390
3392
  kind: z.ZodLiteral<"agent_output">;
3391
3393
  }, "strict", z.ZodTypeAny, {
3392
- kind: "agent_output";
3393
3394
  summary: string;
3395
+ kind: "agent_output";
3394
3396
  agentId: string;
3395
3397
  sessionId: string;
3396
3398
  evidence: {
3397
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3398
- label: string;
3399
3399
  id: string;
3400
+ label: string;
3401
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3400
3402
  capture: "at_action" | "historical_lookup" | "fixture";
3401
3403
  locator?: string | undefined;
3402
3404
  }[];
3403
3405
  outputId: string;
3404
3406
  }, {
3405
- kind: "agent_output";
3406
3407
  summary: string;
3408
+ kind: "agent_output";
3407
3409
  agentId: string;
3408
3410
  sessionId: string;
3409
3411
  outputId: string;
3410
3412
  evidence?: {
3411
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3412
- label: string;
3413
3413
  id: string;
3414
+ label: string;
3415
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3414
3416
  capture: "at_action" | "historical_lookup" | "fixture";
3415
3417
  locator?: string | undefined;
3416
3418
  }[] | undefined;
@@ -3426,15 +3428,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3426
3428
  locator: z.ZodOptional<z.ZodString>;
3427
3429
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3428
3430
  }, "strict", z.ZodTypeAny, {
3429
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3430
- label: string;
3431
3431
  id: string;
3432
+ label: string;
3433
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3432
3434
  capture: "at_action" | "historical_lookup" | "fixture";
3433
3435
  locator?: string | undefined;
3434
3436
  }, {
3435
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3436
- label: string;
3437
3437
  id: string;
3438
+ label: string;
3439
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3438
3440
  capture: "at_action" | "historical_lookup" | "fixture";
3439
3441
  locator?: string | undefined;
3440
3442
  }>, "many">>;
@@ -3447,9 +3449,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3447
3449
  statement: string;
3448
3450
  sessionId: string;
3449
3451
  evidence: {
3450
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3451
- label: string;
3452
3452
  id: string;
3453
+ label: string;
3454
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3453
3455
  capture: "at_action" | "historical_lookup" | "fixture";
3454
3456
  locator?: string | undefined;
3455
3457
  }[];
@@ -3465,9 +3467,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3465
3467
  decisionId: string;
3466
3468
  confidence?: number | undefined;
3467
3469
  evidence?: {
3468
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3469
- label: string;
3470
3470
  id: string;
3471
+ label: string;
3472
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3471
3473
  capture: "at_action" | "historical_lookup" | "fixture";
3472
3474
  locator?: string | undefined;
3473
3475
  }[] | undefined;
@@ -3484,25 +3486,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3484
3486
  locator: z.ZodOptional<z.ZodString>;
3485
3487
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3486
3488
  }, "strict", z.ZodTypeAny, {
3487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3488
- label: string;
3489
3489
  id: string;
3490
+ label: string;
3491
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3490
3492
  capture: "at_action" | "historical_lookup" | "fixture";
3491
3493
  locator?: string | undefined;
3492
3494
  }, {
3493
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3494
- label: string;
3495
3495
  id: string;
3496
+ label: string;
3497
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3496
3498
  capture: "at_action" | "historical_lookup" | "fixture";
3497
3499
  locator?: string | undefined;
3498
3500
  }>, "many">>;
3499
3501
  }, "strict", z.ZodTypeAny, {
3500
- kind: "conflict_detected";
3501
3502
  summary: string;
3503
+ kind: "conflict_detected";
3502
3504
  evidence: {
3503
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3504
- label: string;
3505
3505
  id: string;
3506
+ label: string;
3507
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3506
3508
  capture: "at_action" | "historical_lookup" | "fixture";
3507
3509
  locator?: string | undefined;
3508
3510
  }[];
@@ -3510,15 +3512,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3510
3512
  decisionIds: string[];
3511
3513
  agentIds: string[];
3512
3514
  }, {
3513
- kind: "conflict_detected";
3514
3515
  summary: string;
3516
+ kind: "conflict_detected";
3515
3517
  conflictId: string;
3516
3518
  decisionIds: string[];
3517
3519
  agentIds: string[];
3518
3520
  evidence?: {
3519
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3520
- label: string;
3521
3521
  id: string;
3522
+ label: string;
3523
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3522
3524
  capture: "at_action" | "historical_lookup" | "fixture";
3523
3525
  locator?: string | undefined;
3524
3526
  }[] | undefined;
@@ -3538,27 +3540,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3538
3540
  locator: z.ZodOptional<z.ZodString>;
3539
3541
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3540
3542
  }, "strict", z.ZodTypeAny, {
3541
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3542
- label: string;
3543
3543
  id: string;
3544
+ label: string;
3545
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3544
3546
  capture: "at_action" | "historical_lookup" | "fixture";
3545
3547
  locator?: string | undefined;
3546
3548
  }, {
3547
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
- label: string;
3549
3549
  id: string;
3550
+ label: string;
3551
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3550
3552
  capture: "at_action" | "historical_lookup" | "fixture";
3551
3553
  locator?: string | undefined;
3552
3554
  }>, "many">>;
3553
3555
  }, "strict", z.ZodTypeAny, {
3554
- kind: "test_result";
3555
3556
  summary: string;
3556
3557
  status: "error" | "failed" | "passed";
3558
+ kind: "test_result";
3557
3559
  command: string;
3558
3560
  evidence: {
3559
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3560
- label: string;
3561
3561
  id: string;
3562
+ label: string;
3563
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3562
3564
  capture: "at_action" | "historical_lookup" | "fixture";
3563
3565
  locator?: string | undefined;
3564
3566
  }[];
@@ -3567,17 +3569,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3567
3569
  durationMs?: number | undefined;
3568
3570
  correctionId?: string | undefined;
3569
3571
  }, {
3570
- kind: "test_result";
3571
3572
  summary: string;
3572
3573
  status: "error" | "failed" | "passed";
3574
+ kind: "test_result";
3573
3575
  command: string;
3574
3576
  decisionId: string;
3575
3577
  testId: string;
3576
3578
  durationMs?: number | undefined;
3577
3579
  evidence?: {
3578
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3579
- label: string;
3580
3580
  id: string;
3581
+ label: string;
3582
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3581
3583
  capture: "at_action" | "historical_lookup" | "fixture";
3582
3584
  locator?: string | undefined;
3583
3585
  }[] | undefined;
@@ -3598,15 +3600,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3598
3600
  locator: z.ZodOptional<z.ZodString>;
3599
3601
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3600
3602
  }, "strict", z.ZodTypeAny, {
3601
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3602
- label: string;
3603
3603
  id: string;
3604
+ label: string;
3605
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3604
3606
  capture: "at_action" | "historical_lookup" | "fixture";
3605
3607
  locator?: string | undefined;
3606
3608
  }, {
3607
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3608
- label: string;
3609
3609
  id: string;
3610
+ label: string;
3611
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3610
3612
  capture: "at_action" | "historical_lookup" | "fixture";
3611
3613
  locator?: string | undefined;
3612
3614
  }>, "many">>;
@@ -3615,9 +3617,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3615
3617
  rationale: string;
3616
3618
  statement: string;
3617
3619
  evidence: {
3618
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3619
- label: string;
3620
3620
  id: string;
3621
+ label: string;
3622
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3621
3623
  capture: "at_action" | "historical_lookup" | "fixture";
3622
3624
  locator?: string | undefined;
3623
3625
  }[];
@@ -3636,9 +3638,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3636
3638
  supersedesDecisionIds: string[];
3637
3639
  proposedBy: string;
3638
3640
  evidence?: {
3639
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3640
- label: string;
3641
3641
  id: string;
3642
+ label: string;
3643
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3642
3644
  capture: "at_action" | "historical_lookup" | "fixture";
3643
3645
  locator?: string | undefined;
3644
3646
  }[] | undefined;
@@ -3650,13 +3652,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3650
3652
  id: z.ZodString;
3651
3653
  label: z.ZodString;
3652
3654
  }, "strict", z.ZodTypeAny, {
3653
- kind: "agent" | "human";
3654
- label: string;
3655
3655
  id: string;
3656
- }, {
3657
- kind: "agent" | "human";
3658
3656
  label: string;
3657
+ kind: "agent" | "human";
3658
+ }, {
3659
3659
  id: string;
3660
+ label: string;
3661
+ kind: "agent" | "human";
3660
3662
  }>;
3661
3663
  note: z.ZodOptional<z.ZodString>;
3662
3664
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3666,47 +3668,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3666
3668
  locator: z.ZodOptional<z.ZodString>;
3667
3669
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3668
3670
  }, "strict", z.ZodTypeAny, {
3669
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3670
- label: string;
3671
3671
  id: string;
3672
+ label: string;
3673
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3672
3674
  capture: "at_action" | "historical_lookup" | "fixture";
3673
3675
  locator?: string | undefined;
3674
3676
  }, {
3675
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3676
- label: string;
3677
3677
  id: string;
3678
+ label: string;
3679
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3678
3680
  capture: "at_action" | "historical_lookup" | "fixture";
3679
3681
  locator?: string | undefined;
3680
3682
  }>, "many">>;
3681
3683
  }, "strict", z.ZodTypeAny, {
3682
3684
  kind: "correction_approved";
3683
3685
  evidence: {
3684
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3685
- label: string;
3686
3686
  id: string;
3687
+ label: string;
3688
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3687
3689
  capture: "at_action" | "historical_lookup" | "fixture";
3688
3690
  locator?: string | undefined;
3689
3691
  }[];
3690
3692
  correctionId: string;
3691
3693
  approvedBy: {
3692
- kind: "agent" | "human";
3693
- label: string;
3694
3694
  id: string;
3695
+ label: string;
3696
+ kind: "agent" | "human";
3695
3697
  };
3696
3698
  note?: string | undefined;
3697
3699
  }, {
3698
3700
  kind: "correction_approved";
3699
3701
  correctionId: string;
3700
3702
  approvedBy: {
3701
- kind: "agent" | "human";
3702
- label: string;
3703
3703
  id: string;
3704
+ label: string;
3705
+ kind: "agent" | "human";
3704
3706
  };
3705
3707
  note?: string | undefined;
3706
3708
  evidence?: {
3707
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3708
- label: string;
3709
3709
  id: string;
3710
+ label: string;
3711
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3710
3712
  capture: "at_action" | "historical_lookup" | "fixture";
3711
3713
  locator?: string | undefined;
3712
3714
  }[] | undefined;
@@ -3722,24 +3724,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3722
3724
  locator: z.ZodOptional<z.ZodString>;
3723
3725
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3724
3726
  }, "strict", z.ZodTypeAny, {
3725
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
- label: string;
3727
3727
  id: string;
3728
+ label: string;
3729
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3728
3730
  capture: "at_action" | "historical_lookup" | "fixture";
3729
3731
  locator?: string | undefined;
3730
3732
  }, {
3731
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
- label: string;
3733
3733
  id: string;
3734
+ label: string;
3735
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3734
3736
  capture: "at_action" | "historical_lookup" | "fixture";
3735
3737
  locator?: string | undefined;
3736
3738
  }>, "many">>;
3737
3739
  }, "strict", z.ZodTypeAny, {
3738
3740
  kind: "decision_superseded";
3739
3741
  evidence: {
3740
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
- label: string;
3742
3742
  id: string;
3743
+ label: string;
3744
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3743
3745
  capture: "at_action" | "historical_lookup" | "fixture";
3744
3746
  locator?: string | undefined;
3745
3747
  }[];
@@ -3752,9 +3754,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3752
3754
  correctionId: string;
3753
3755
  replacementDecisionId: string;
3754
3756
  evidence?: {
3755
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3756
- label: string;
3757
3757
  id: string;
3758
+ label: string;
3759
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3758
3760
  capture: "at_action" | "historical_lookup" | "fixture";
3759
3761
  locator?: string | undefined;
3760
3762
  }[] | undefined;
@@ -3770,15 +3772,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3770
3772
  locator: z.ZodOptional<z.ZodString>;
3771
3773
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3772
3774
  }, "strict", z.ZodTypeAny, {
3773
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3774
- label: string;
3775
3775
  id: string;
3776
+ label: string;
3777
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3776
3778
  capture: "at_action" | "historical_lookup" | "fixture";
3777
3779
  locator?: string | undefined;
3778
3780
  }, {
3779
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3780
- label: string;
3781
3781
  id: string;
3782
+ label: string;
3783
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3782
3784
  capture: "at_action" | "historical_lookup" | "fixture";
3783
3785
  locator?: string | undefined;
3784
3786
  }>, "many">>;
@@ -3791,9 +3793,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3791
3793
  agentId: string;
3792
3794
  sessionId: string;
3793
3795
  evidence: {
3794
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3795
- label: string;
3796
3796
  id: string;
3797
+ label: string;
3798
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3797
3799
  capture: "at_action" | "historical_lookup" | "fixture";
3798
3800
  locator?: string | undefined;
3799
3801
  }[];
@@ -3809,9 +3811,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3809
3811
  recallReceiptId: string;
3810
3812
  capturedAtAction: boolean;
3811
3813
  evidence?: {
3812
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3813
- label: string;
3814
3814
  id: string;
3815
+ label: string;
3816
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3815
3817
  capture: "at_action" | "historical_lookup" | "fixture";
3816
3818
  locator?: string | undefined;
3817
3819
  }[] | undefined;
@@ -3827,15 +3829,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3827
3829
  locator: z.ZodOptional<z.ZodString>;
3828
3830
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3829
3831
  }, "strict", z.ZodTypeAny, {
3830
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3831
- label: string;
3832
3832
  id: string;
3833
+ label: string;
3834
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3833
3835
  capture: "at_action" | "historical_lookup" | "fixture";
3834
3836
  locator?: string | undefined;
3835
3837
  }, {
3836
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
- label: string;
3838
3838
  id: string;
3839
+ label: string;
3840
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3839
3841
  capture: "at_action" | "historical_lookup" | "fixture";
3840
3842
  locator?: string | undefined;
3841
3843
  }>, "many">>;
@@ -3847,9 +3849,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3847
3849
  agentId: string;
3848
3850
  sessionId: string;
3849
3851
  evidence: {
3850
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3851
- label: string;
3852
3852
  id: string;
3853
+ label: string;
3854
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3853
3855
  capture: "at_action" | "historical_lookup" | "fixture";
3854
3856
  locator?: string | undefined;
3855
3857
  }[];
@@ -3866,9 +3868,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3866
3868
  recallReceiptId: string;
3867
3869
  staleDecisionAbsent: boolean;
3868
3870
  evidence?: {
3869
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3870
- label: string;
3871
3871
  id: string;
3872
+ label: string;
3873
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3872
3874
  capture: "at_action" | "historical_lookup" | "fixture";
3873
3875
  locator?: string | undefined;
3874
3876
  }[] | undefined;
@@ -3883,37 +3885,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3883
3885
  locator: z.ZodOptional<z.ZodString>;
3884
3886
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3885
3887
  }, "strict", z.ZodTypeAny, {
3886
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3887
- label: string;
3888
3888
  id: string;
3889
+ label: string;
3890
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3889
3891
  capture: "at_action" | "historical_lookup" | "fixture";
3890
3892
  locator?: string | undefined;
3891
3893
  }, {
3892
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
- label: string;
3894
3894
  id: string;
3895
+ label: string;
3896
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3895
3897
  capture: "at_action" | "historical_lookup" | "fixture";
3896
3898
  locator?: string | undefined;
3897
3899
  }>, "many">>;
3898
3900
  }, "strict", z.ZodTypeAny, {
3899
- kind: "mission_completed";
3900
3901
  summary: string;
3902
+ kind: "mission_completed";
3901
3903
  outcome: "failed" | "recovered" | "inconclusive";
3902
3904
  evidence: {
3903
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3904
- label: string;
3905
3905
  id: string;
3906
+ label: string;
3907
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3906
3908
  capture: "at_action" | "historical_lookup" | "fixture";
3907
3909
  locator?: string | undefined;
3908
3910
  }[];
3909
3911
  }, {
3910
- kind: "mission_completed";
3911
3912
  summary: string;
3913
+ kind: "mission_completed";
3912
3914
  outcome: "failed" | "recovered" | "inconclusive";
3913
3915
  evidence?: {
3914
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3915
- label: string;
3916
3916
  id: string;
3917
+ label: string;
3918
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3917
3919
  capture: "at_action" | "historical_lookup" | "fixture";
3918
3920
  locator?: string | undefined;
3919
3921
  }[] | undefined;
@@ -3921,38 +3923,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3921
3923
  kind: "mission_started";
3922
3924
  title: string;
3923
3925
  evidence: {
3924
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3925
- label: string;
3926
3926
  id: string;
3927
+ label: string;
3928
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3927
3929
  capture: "at_action" | "historical_lookup" | "fixture";
3928
3930
  locator?: string | undefined;
3929
3931
  }[];
3930
3932
  objective: string;
3931
3933
  runMode: "replay" | "fixture" | "live";
3932
3934
  } | {
3933
- kind: "agent_status";
3934
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3935
3935
  label: string;
3936
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3937
+ kind: "agent_status";
3936
3938
  role: string;
3937
3939
  agentId: string;
3938
3940
  sessionId: string;
3939
3941
  evidence: {
3940
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3941
- label: string;
3942
3942
  id: string;
3943
+ label: string;
3944
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3943
3945
  capture: "at_action" | "historical_lookup" | "fixture";
3944
3946
  locator?: string | undefined;
3945
3947
  }[];
3946
3948
  detail?: string | undefined;
3947
3949
  } | {
3948
- kind: "agent_output";
3949
3950
  summary: string;
3951
+ kind: "agent_output";
3950
3952
  agentId: string;
3951
3953
  sessionId: string;
3952
3954
  evidence: {
3953
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3954
- label: string;
3955
3955
  id: string;
3956
+ label: string;
3957
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3956
3958
  capture: "at_action" | "historical_lookup" | "fixture";
3957
3959
  locator?: string | undefined;
3958
3960
  }[];
@@ -3963,9 +3965,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3963
3965
  statement: string;
3964
3966
  sessionId: string;
3965
3967
  evidence: {
3966
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3967
- label: string;
3968
3968
  id: string;
3969
+ label: string;
3970
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3969
3971
  capture: "at_action" | "historical_lookup" | "fixture";
3970
3972
  locator?: string | undefined;
3971
3973
  }[];
@@ -3973,12 +3975,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3973
3975
  decisionId: string;
3974
3976
  confidence?: number | undefined;
3975
3977
  } | {
3976
- kind: "conflict_detected";
3977
3978
  summary: string;
3979
+ kind: "conflict_detected";
3978
3980
  evidence: {
3979
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3980
- label: string;
3981
3981
  id: string;
3982
+ label: string;
3983
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3982
3984
  capture: "at_action" | "historical_lookup" | "fixture";
3983
3985
  locator?: string | undefined;
3984
3986
  }[];
@@ -3986,14 +3988,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3986
3988
  decisionIds: string[];
3987
3989
  agentIds: string[];
3988
3990
  } | {
3989
- kind: "test_result";
3990
3991
  summary: string;
3991
3992
  status: "error" | "failed" | "passed";
3993
+ kind: "test_result";
3992
3994
  command: string;
3993
3995
  evidence: {
3994
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3995
- label: string;
3996
3996
  id: string;
3997
+ label: string;
3998
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3997
3999
  capture: "at_action" | "historical_lookup" | "fixture";
3998
4000
  locator?: string | undefined;
3999
4001
  }[];
@@ -4006,9 +4008,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4006
4008
  rationale: string;
4007
4009
  statement: string;
4008
4010
  evidence: {
4009
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4010
- label: string;
4011
4011
  id: string;
4012
+ label: string;
4013
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4012
4014
  capture: "at_action" | "historical_lookup" | "fixture";
4013
4015
  locator?: string | undefined;
4014
4016
  }[];
@@ -4020,25 +4022,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4020
4022
  } | {
4021
4023
  kind: "correction_approved";
4022
4024
  evidence: {
4023
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4024
- label: string;
4025
4025
  id: string;
4026
+ label: string;
4027
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4026
4028
  capture: "at_action" | "historical_lookup" | "fixture";
4027
4029
  locator?: string | undefined;
4028
4030
  }[];
4029
4031
  correctionId: string;
4030
4032
  approvedBy: {
4031
- kind: "agent" | "human";
4032
- label: string;
4033
4033
  id: string;
4034
+ label: string;
4035
+ kind: "agent" | "human";
4034
4036
  };
4035
4037
  note?: string | undefined;
4036
4038
  } | {
4037
4039
  kind: "decision_superseded";
4038
4040
  evidence: {
4039
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4040
- label: string;
4041
4041
  id: string;
4042
+ label: string;
4043
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4042
4044
  capture: "at_action" | "historical_lookup" | "fixture";
4043
4045
  locator?: string | undefined;
4044
4046
  }[];
@@ -4051,9 +4053,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4051
4053
  agentId: string;
4052
4054
  sessionId: string;
4053
4055
  evidence: {
4054
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
- label: string;
4056
4056
  id: string;
4057
+ label: string;
4058
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4057
4059
  capture: "at_action" | "historical_lookup" | "fixture";
4058
4060
  locator?: string | undefined;
4059
4061
  }[];
@@ -4065,9 +4067,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4065
4067
  agentId: string;
4066
4068
  sessionId: string;
4067
4069
  evidence: {
4068
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4069
- label: string;
4070
4070
  id: string;
4071
+ label: string;
4072
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4071
4073
  capture: "at_action" | "historical_lookup" | "fixture";
4072
4074
  locator?: string | undefined;
4073
4075
  }[];
@@ -4076,13 +4078,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4076
4078
  recallReceiptId: string;
4077
4079
  staleDecisionAbsent: boolean;
4078
4080
  } | {
4079
- kind: "mission_completed";
4080
4081
  summary: string;
4082
+ kind: "mission_completed";
4081
4083
  outcome: "failed" | "recovered" | "inconclusive";
4082
4084
  evidence: {
4083
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
- label: string;
4085
4085
  id: string;
4086
+ label: string;
4087
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4086
4088
  capture: "at_action" | "historical_lookup" | "fixture";
4087
4089
  locator?: string | undefined;
4088
4090
  }[];
@@ -4092,37 +4094,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4092
4094
  objective: string;
4093
4095
  runMode: "replay" | "fixture" | "live";
4094
4096
  evidence?: {
4095
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4096
- label: string;
4097
4097
  id: string;
4098
+ label: string;
4099
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4098
4100
  capture: "at_action" | "historical_lookup" | "fixture";
4099
4101
  locator?: string | undefined;
4100
4102
  }[] | undefined;
4101
4103
  } | {
4102
- kind: "agent_status";
4103
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4104
4104
  label: string;
4105
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4106
+ kind: "agent_status";
4105
4107
  role: string;
4106
4108
  agentId: string;
4107
4109
  sessionId: string;
4108
4110
  detail?: string | undefined;
4109
4111
  evidence?: {
4110
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4111
- label: string;
4112
4112
  id: string;
4113
+ label: string;
4114
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4113
4115
  capture: "at_action" | "historical_lookup" | "fixture";
4114
4116
  locator?: string | undefined;
4115
4117
  }[] | undefined;
4116
4118
  } | {
4117
- kind: "agent_output";
4118
4119
  summary: string;
4120
+ kind: "agent_output";
4119
4121
  agentId: string;
4120
4122
  sessionId: string;
4121
4123
  outputId: string;
4122
4124
  evidence?: {
4123
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4124
- label: string;
4125
4125
  id: string;
4126
+ label: string;
4127
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4126
4128
  capture: "at_action" | "historical_lookup" | "fixture";
4127
4129
  locator?: string | undefined;
4128
4130
  }[] | undefined;
@@ -4135,37 +4137,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4135
4137
  decisionId: string;
4136
4138
  confidence?: number | undefined;
4137
4139
  evidence?: {
4138
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4139
- label: string;
4140
4140
  id: string;
4141
+ label: string;
4142
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4141
4143
  capture: "at_action" | "historical_lookup" | "fixture";
4142
4144
  locator?: string | undefined;
4143
4145
  }[] | undefined;
4144
4146
  } | {
4145
- kind: "conflict_detected";
4146
4147
  summary: string;
4148
+ kind: "conflict_detected";
4147
4149
  conflictId: string;
4148
4150
  decisionIds: string[];
4149
4151
  agentIds: string[];
4150
4152
  evidence?: {
4151
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4152
- label: string;
4153
4153
  id: string;
4154
+ label: string;
4155
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4154
4156
  capture: "at_action" | "historical_lookup" | "fixture";
4155
4157
  locator?: string | undefined;
4156
4158
  }[] | undefined;
4157
4159
  } | {
4158
- kind: "test_result";
4159
4160
  summary: string;
4160
4161
  status: "error" | "failed" | "passed";
4162
+ kind: "test_result";
4161
4163
  command: string;
4162
4164
  decisionId: string;
4163
4165
  testId: string;
4164
4166
  durationMs?: number | undefined;
4165
4167
  evidence?: {
4166
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4167
- label: string;
4168
4168
  id: string;
4169
+ label: string;
4170
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4169
4171
  capture: "at_action" | "historical_lookup" | "fixture";
4170
4172
  locator?: string | undefined;
4171
4173
  }[] | undefined;
@@ -4180,9 +4182,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4180
4182
  supersedesDecisionIds: string[];
4181
4183
  proposedBy: string;
4182
4184
  evidence?: {
4183
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4184
- label: string;
4185
4185
  id: string;
4186
+ label: string;
4187
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4186
4188
  capture: "at_action" | "historical_lookup" | "fixture";
4187
4189
  locator?: string | undefined;
4188
4190
  }[] | undefined;
@@ -4190,15 +4192,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4190
4192
  kind: "correction_approved";
4191
4193
  correctionId: string;
4192
4194
  approvedBy: {
4193
- kind: "agent" | "human";
4194
- label: string;
4195
4195
  id: string;
4196
+ label: string;
4197
+ kind: "agent" | "human";
4196
4198
  };
4197
4199
  note?: string | undefined;
4198
4200
  evidence?: {
4199
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4200
- label: string;
4201
4201
  id: string;
4202
+ label: string;
4203
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4202
4204
  capture: "at_action" | "historical_lookup" | "fixture";
4203
4205
  locator?: string | undefined;
4204
4206
  }[] | undefined;
@@ -4208,9 +4210,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4208
4210
  correctionId: string;
4209
4211
  replacementDecisionId: string;
4210
4212
  evidence?: {
4211
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4212
- label: string;
4213
4213
  id: string;
4214
+ label: string;
4215
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4214
4216
  capture: "at_action" | "historical_lookup" | "fixture";
4215
4217
  locator?: string | undefined;
4216
4218
  }[] | undefined;
@@ -4223,9 +4225,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4223
4225
  recallReceiptId: string;
4224
4226
  capturedAtAction: boolean;
4225
4227
  evidence?: {
4226
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4227
- label: string;
4228
4228
  id: string;
4229
+ label: string;
4230
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4229
4231
  capture: "at_action" | "historical_lookup" | "fixture";
4230
4232
  locator?: string | undefined;
4231
4233
  }[] | undefined;
@@ -4238,63 +4240,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4238
4240
  recallReceiptId: string;
4239
4241
  staleDecisionAbsent: boolean;
4240
4242
  evidence?: {
4241
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4242
- label: string;
4243
4243
  id: string;
4244
+ label: string;
4245
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4244
4246
  capture: "at_action" | "historical_lookup" | "fixture";
4245
4247
  locator?: string | undefined;
4246
4248
  }[] | undefined;
4247
4249
  } | {
4248
- kind: "mission_completed";
4249
4250
  summary: string;
4251
+ kind: "mission_completed";
4250
4252
  outcome: "failed" | "recovered" | "inconclusive";
4251
4253
  evidence?: {
4252
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
- label: string;
4254
4254
  id: string;
4255
+ label: string;
4256
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4255
4257
  capture: "at_action" | "historical_lookup" | "fixture";
4256
4258
  locator?: string | undefined;
4257
4259
  }[] | undefined;
4258
4260
  }>;
4259
4261
  }, "strict", z.ZodTypeAny, {
4260
- schemaVersion: "1";
4262
+ namespace: string;
4261
4263
  recordedAt: string;
4264
+ schemaVersion: "1";
4262
4265
  payload: {
4263
4266
  kind: "mission_started";
4264
4267
  title: string;
4265
4268
  evidence: {
4266
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4267
- label: string;
4268
4269
  id: string;
4270
+ label: string;
4271
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4269
4272
  capture: "at_action" | "historical_lookup" | "fixture";
4270
4273
  locator?: string | undefined;
4271
4274
  }[];
4272
4275
  objective: string;
4273
4276
  runMode: "replay" | "fixture" | "live";
4274
4277
  } | {
4275
- kind: "agent_status";
4276
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4277
4278
  label: string;
4279
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4280
+ kind: "agent_status";
4278
4281
  role: string;
4279
4282
  agentId: string;
4280
4283
  sessionId: string;
4281
4284
  evidence: {
4282
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4283
- label: string;
4284
4285
  id: string;
4286
+ label: string;
4287
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4285
4288
  capture: "at_action" | "historical_lookup" | "fixture";
4286
4289
  locator?: string | undefined;
4287
4290
  }[];
4288
4291
  detail?: string | undefined;
4289
4292
  } | {
4290
- kind: "agent_output";
4291
4293
  summary: string;
4294
+ kind: "agent_output";
4292
4295
  agentId: string;
4293
4296
  sessionId: string;
4294
4297
  evidence: {
4295
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4296
- label: string;
4297
4298
  id: string;
4299
+ label: string;
4300
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4298
4301
  capture: "at_action" | "historical_lookup" | "fixture";
4299
4302
  locator?: string | undefined;
4300
4303
  }[];
@@ -4305,9 +4308,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4305
4308
  statement: string;
4306
4309
  sessionId: string;
4307
4310
  evidence: {
4308
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4309
- label: string;
4310
4311
  id: string;
4312
+ label: string;
4313
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4311
4314
  capture: "at_action" | "historical_lookup" | "fixture";
4312
4315
  locator?: string | undefined;
4313
4316
  }[];
@@ -4315,12 +4318,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4315
4318
  decisionId: string;
4316
4319
  confidence?: number | undefined;
4317
4320
  } | {
4318
- kind: "conflict_detected";
4319
4321
  summary: string;
4322
+ kind: "conflict_detected";
4320
4323
  evidence: {
4321
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4322
- label: string;
4323
4324
  id: string;
4325
+ label: string;
4326
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4324
4327
  capture: "at_action" | "historical_lookup" | "fixture";
4325
4328
  locator?: string | undefined;
4326
4329
  }[];
@@ -4328,14 +4331,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4328
4331
  decisionIds: string[];
4329
4332
  agentIds: string[];
4330
4333
  } | {
4331
- kind: "test_result";
4332
4334
  summary: string;
4333
4335
  status: "error" | "failed" | "passed";
4336
+ kind: "test_result";
4334
4337
  command: string;
4335
4338
  evidence: {
4336
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4337
- label: string;
4338
4339
  id: string;
4340
+ label: string;
4341
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4339
4342
  capture: "at_action" | "historical_lookup" | "fixture";
4340
4343
  locator?: string | undefined;
4341
4344
  }[];
@@ -4348,9 +4351,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4348
4351
  rationale: string;
4349
4352
  statement: string;
4350
4353
  evidence: {
4351
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4352
- label: string;
4353
4354
  id: string;
4355
+ label: string;
4356
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4354
4357
  capture: "at_action" | "historical_lookup" | "fixture";
4355
4358
  locator?: string | undefined;
4356
4359
  }[];
@@ -4362,25 +4365,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4362
4365
  } | {
4363
4366
  kind: "correction_approved";
4364
4367
  evidence: {
4365
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4366
- label: string;
4367
4368
  id: string;
4369
+ label: string;
4370
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4368
4371
  capture: "at_action" | "historical_lookup" | "fixture";
4369
4372
  locator?: string | undefined;
4370
4373
  }[];
4371
4374
  correctionId: string;
4372
4375
  approvedBy: {
4373
- kind: "agent" | "human";
4374
- label: string;
4375
4376
  id: string;
4377
+ label: string;
4378
+ kind: "agent" | "human";
4376
4379
  };
4377
4380
  note?: string | undefined;
4378
4381
  } | {
4379
4382
  kind: "decision_superseded";
4380
4383
  evidence: {
4381
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4382
- label: string;
4383
4384
  id: string;
4385
+ label: string;
4386
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4384
4387
  capture: "at_action" | "historical_lookup" | "fixture";
4385
4388
  locator?: string | undefined;
4386
4389
  }[];
@@ -4393,9 +4396,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4393
4396
  agentId: string;
4394
4397
  sessionId: string;
4395
4398
  evidence: {
4396
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4397
- label: string;
4398
4399
  id: string;
4400
+ label: string;
4401
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4399
4402
  capture: "at_action" | "historical_lookup" | "fixture";
4400
4403
  locator?: string | undefined;
4401
4404
  }[];
@@ -4407,9 +4410,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4407
4410
  agentId: string;
4408
4411
  sessionId: string;
4409
4412
  evidence: {
4410
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4411
- label: string;
4412
4413
  id: string;
4414
+ label: string;
4415
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4413
4416
  capture: "at_action" | "historical_lookup" | "fixture";
4414
4417
  locator?: string | undefined;
4415
4418
  }[];
@@ -4418,63 +4421,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4418
4421
  recallReceiptId: string;
4419
4422
  staleDecisionAbsent: boolean;
4420
4423
  } | {
4421
- kind: "mission_completed";
4422
4424
  summary: string;
4425
+ kind: "mission_completed";
4423
4426
  outcome: "failed" | "recovered" | "inconclusive";
4424
4427
  evidence: {
4425
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4426
- label: string;
4427
4428
  id: string;
4429
+ label: string;
4430
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4428
4431
  capture: "at_action" | "historical_lookup" | "fixture";
4429
4432
  locator?: string | undefined;
4430
4433
  }[];
4431
4434
  };
4432
- namespace: string;
4433
4435
  eventId: string;
4434
4436
  occurredAt: string;
4435
4437
  missionId: string;
4436
4438
  authenticatedPrincipal?: string | undefined;
4437
4439
  idempotencyKey?: string | undefined;
4438
4440
  }, {
4439
- schemaVersion: "1";
4441
+ namespace: string;
4440
4442
  recordedAt: string;
4443
+ schemaVersion: "1";
4441
4444
  payload: {
4442
4445
  kind: "mission_started";
4443
4446
  title: string;
4444
4447
  objective: string;
4445
4448
  runMode: "replay" | "fixture" | "live";
4446
4449
  evidence?: {
4447
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4448
- label: string;
4449
4450
  id: string;
4451
+ label: string;
4452
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4450
4453
  capture: "at_action" | "historical_lookup" | "fixture";
4451
4454
  locator?: string | undefined;
4452
4455
  }[] | undefined;
4453
4456
  } | {
4454
- kind: "agent_status";
4455
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4456
4457
  label: string;
4458
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4459
+ kind: "agent_status";
4457
4460
  role: string;
4458
4461
  agentId: string;
4459
4462
  sessionId: string;
4460
4463
  detail?: string | undefined;
4461
4464
  evidence?: {
4462
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4463
- label: string;
4464
4465
  id: string;
4466
+ label: string;
4467
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4465
4468
  capture: "at_action" | "historical_lookup" | "fixture";
4466
4469
  locator?: string | undefined;
4467
4470
  }[] | undefined;
4468
4471
  } | {
4469
- kind: "agent_output";
4470
4472
  summary: string;
4473
+ kind: "agent_output";
4471
4474
  agentId: string;
4472
4475
  sessionId: string;
4473
4476
  outputId: string;
4474
4477
  evidence?: {
4475
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4476
- label: string;
4477
4478
  id: string;
4479
+ label: string;
4480
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4478
4481
  capture: "at_action" | "historical_lookup" | "fixture";
4479
4482
  locator?: string | undefined;
4480
4483
  }[] | undefined;
@@ -4487,37 +4490,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4487
4490
  decisionId: string;
4488
4491
  confidence?: number | undefined;
4489
4492
  evidence?: {
4490
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4491
- label: string;
4492
4493
  id: string;
4494
+ label: string;
4495
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4493
4496
  capture: "at_action" | "historical_lookup" | "fixture";
4494
4497
  locator?: string | undefined;
4495
4498
  }[] | undefined;
4496
4499
  } | {
4497
- kind: "conflict_detected";
4498
4500
  summary: string;
4501
+ kind: "conflict_detected";
4499
4502
  conflictId: string;
4500
4503
  decisionIds: string[];
4501
4504
  agentIds: string[];
4502
4505
  evidence?: {
4503
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4504
- label: string;
4505
4506
  id: string;
4507
+ label: string;
4508
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4506
4509
  capture: "at_action" | "historical_lookup" | "fixture";
4507
4510
  locator?: string | undefined;
4508
4511
  }[] | undefined;
4509
4512
  } | {
4510
- kind: "test_result";
4511
4513
  summary: string;
4512
4514
  status: "error" | "failed" | "passed";
4515
+ kind: "test_result";
4513
4516
  command: string;
4514
4517
  decisionId: string;
4515
4518
  testId: string;
4516
4519
  durationMs?: number | undefined;
4517
4520
  evidence?: {
4518
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4519
- label: string;
4520
4521
  id: string;
4522
+ label: string;
4523
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4521
4524
  capture: "at_action" | "historical_lookup" | "fixture";
4522
4525
  locator?: string | undefined;
4523
4526
  }[] | undefined;
@@ -4532,9 +4535,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4532
4535
  supersedesDecisionIds: string[];
4533
4536
  proposedBy: string;
4534
4537
  evidence?: {
4535
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4536
- label: string;
4537
4538
  id: string;
4539
+ label: string;
4540
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4538
4541
  capture: "at_action" | "historical_lookup" | "fixture";
4539
4542
  locator?: string | undefined;
4540
4543
  }[] | undefined;
@@ -4542,15 +4545,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4542
4545
  kind: "correction_approved";
4543
4546
  correctionId: string;
4544
4547
  approvedBy: {
4545
- kind: "agent" | "human";
4546
- label: string;
4547
4548
  id: string;
4549
+ label: string;
4550
+ kind: "agent" | "human";
4548
4551
  };
4549
4552
  note?: string | undefined;
4550
4553
  evidence?: {
4551
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4552
- label: string;
4553
4554
  id: string;
4555
+ label: string;
4556
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4554
4557
  capture: "at_action" | "historical_lookup" | "fixture";
4555
4558
  locator?: string | undefined;
4556
4559
  }[] | undefined;
@@ -4560,9 +4563,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4560
4563
  correctionId: string;
4561
4564
  replacementDecisionId: string;
4562
4565
  evidence?: {
4563
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4564
- label: string;
4565
4566
  id: string;
4567
+ label: string;
4568
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4566
4569
  capture: "at_action" | "historical_lookup" | "fixture";
4567
4570
  locator?: string | undefined;
4568
4571
  }[] | undefined;
@@ -4575,9 +4578,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4575
4578
  recallReceiptId: string;
4576
4579
  capturedAtAction: boolean;
4577
4580
  evidence?: {
4578
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4579
- label: string;
4580
4581
  id: string;
4582
+ label: string;
4583
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4581
4584
  capture: "at_action" | "historical_lookup" | "fixture";
4582
4585
  locator?: string | undefined;
4583
4586
  }[] | undefined;
@@ -4590,25 +4593,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4590
4593
  recallReceiptId: string;
4591
4594
  staleDecisionAbsent: boolean;
4592
4595
  evidence?: {
4593
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4594
- label: string;
4595
4596
  id: string;
4597
+ label: string;
4598
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4596
4599
  capture: "at_action" | "historical_lookup" | "fixture";
4597
4600
  locator?: string | undefined;
4598
4601
  }[] | undefined;
4599
4602
  } | {
4600
- kind: "mission_completed";
4601
4603
  summary: string;
4604
+ kind: "mission_completed";
4602
4605
  outcome: "failed" | "recovered" | "inconclusive";
4603
4606
  evidence?: {
4604
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4605
- label: string;
4606
4607
  id: string;
4608
+ label: string;
4609
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4607
4610
  capture: "at_action" | "historical_lookup" | "fixture";
4608
4611
  locator?: string | undefined;
4609
4612
  }[] | undefined;
4610
4613
  };
4611
- namespace: string;
4612
4614
  eventId: string;
4613
4615
  occurredAt: string;
4614
4616
  missionId: string;