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