@remnic/core 9.63.1 → 9.63.3

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 (284) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +33 -32
  3. package/dist/access-audit.js +2 -2
  4. package/dist/access-authorization-probe.d.ts +1 -1
  5. package/dist/access-authorization-probe.js +34 -33
  6. package/dist/access-boundary.d.ts +1 -1
  7. package/dist/access-boundary.js +33 -32
  8. package/dist/access-cli.js +97 -95
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +1 -1
  11. package/dist/access-extraction-force-flush.js +33 -32
  12. package/dist/access-http-lcm-compaction.d.ts +1 -1
  13. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  14. package/dist/access-http-offline-stream.d.ts +1 -1
  15. package/dist/access-http-query.js +33 -32
  16. package/dist/access-http.d.ts +2 -2
  17. package/dist/access-http.js +46 -45
  18. package/dist/access-identity-continuity-surface.js +33 -32
  19. package/dist/access-lcm-surface.d.ts +1 -1
  20. package/dist/access-lcm-surface.js +33 -32
  21. package/dist/access-mcp.d.ts +1 -1
  22. package/dist/access-mcp.js +39 -38
  23. package/dist/access-namespace-preflight.js +33 -32
  24. package/dist/access-observe-write-surface.d.ts +1 -1
  25. package/dist/access-observe-write-surface.js +33 -32
  26. package/dist/access-operations-batch.js +34 -33
  27. package/dist/access-operations.d.ts +4 -4
  28. package/dist/access-operations.js +38 -37
  29. package/dist/access-recall-concurrency.d.ts +1 -1
  30. package/dist/access-recall-concurrency.js +33 -32
  31. package/dist/access-recall-response.d.ts +1 -1
  32. package/dist/access-recall-response.js +33 -32
  33. package/dist/access-recall-surface.d.ts +1 -1
  34. package/dist/access-recall-surface.js +33 -32
  35. package/dist/access-schema.d.ts +88 -88
  36. package/dist/access-schema.js +3 -3
  37. package/dist/access-service-helpers.d.ts +1 -1
  38. package/dist/access-service.d.ts +1 -1
  39. package/dist/access-service.js +33 -32
  40. package/dist/access-surface-catalog.d.ts +1 -1
  41. package/dist/access-surface-catalog.js +35 -34
  42. package/dist/access-surface-catalog.js.map +1 -1
  43. package/dist/adapters/index.js +7 -7
  44. package/dist/adapters/registry.js +3 -3
  45. package/dist/{auto-sync-Z52VWMNC.js → auto-sync-BKRJDMKX.js} +3 -3
  46. package/dist/behavior-learner.js +2 -2
  47. package/dist/briefing.js +14 -14
  48. package/dist/buffer.js +4 -3
  49. package/dist/causal-behavior.js +3 -3
  50. package/dist/causal-chain.js +3 -3
  51. package/dist/causal-consolidation.js +17 -17
  52. package/dist/causal-retrieval.js +3 -3
  53. package/dist/causal-trajectory.js +2 -2
  54. package/dist/{chunk-5F6HMNMZ.js → chunk-2LA3H54D.js} +2 -2
  55. package/dist/{chunk-IRLH4NM2.js → chunk-2PSX5BJU.js} +3 -3
  56. package/dist/{chunk-JBPKEARU.js → chunk-2QSZNTDO.js} +7 -7
  57. package/dist/{chunk-F2FZEVDE.js → chunk-3LJ2L3T3.js} +2 -2
  58. package/dist/{chunk-RBBYKXXK.js → chunk-44KHFMCM.js} +64 -62
  59. package/dist/{chunk-RBBYKXXK.js.map → chunk-44KHFMCM.js.map} +1 -1
  60. package/dist/{chunk-AUIAHNO7.js → chunk-4NMVX5U7.js} +2 -2
  61. package/dist/{chunk-ANMIOQPU.js → chunk-4XN35YQD.js} +478 -164
  62. package/dist/chunk-4XN35YQD.js.map +1 -0
  63. package/dist/{chunk-LJOIZPJH.js → chunk-5QZR2RA3.js} +2 -2
  64. package/dist/{chunk-RBJKE5LV.js → chunk-5UFQCU6M.js} +32 -32
  65. package/dist/{chunk-S52C2DEM.js → chunk-5W5N7XJZ.js} +2 -2
  66. package/dist/{chunk-GL4RHVHX.js → chunk-5W62VEFH.js} +4 -4
  67. package/dist/{chunk-DEOYTFA6.js → chunk-645WOU5I.js} +4 -52
  68. package/dist/chunk-645WOU5I.js.map +1 -0
  69. package/dist/{chunk-4WW5FMUD.js → chunk-6D7PZKCJ.js} +9 -9
  70. package/dist/{chunk-NVSTZ2PN.js → chunk-6F2UMP4H.js} +7 -7
  71. package/dist/{chunk-IIPJKCZB.js → chunk-6NAPOLRO.js} +3 -3
  72. package/dist/{chunk-U4CCRHN6.js → chunk-6UZR7KEK.js} +2 -2
  73. package/dist/{chunk-2TYIAKU5.js → chunk-6YMEU6OQ.js} +2 -2
  74. package/dist/{chunk-LAX6S5WS.js → chunk-A73QHOZP.js} +2 -2
  75. package/dist/{chunk-ZSH6GJ2V.js → chunk-AJSZ2EK6.js} +3 -3
  76. package/dist/{chunk-GUBT77YC.js → chunk-B2OOJCUX.js} +2 -2
  77. package/dist/chunk-BUYVPUEM.js +66 -0
  78. package/dist/chunk-BUYVPUEM.js.map +1 -0
  79. package/dist/{chunk-YTHQHH5U.js → chunk-C6WMSXCJ.js} +2 -2
  80. package/dist/{chunk-JKW663ZN.js → chunk-CIAI24TQ.js} +2 -2
  81. package/dist/{chunk-PD6O7AXF.js → chunk-CSAKJVXW.js} +14 -17
  82. package/dist/chunk-CSAKJVXW.js.map +1 -0
  83. package/dist/{chunk-ALKRPLWB.js → chunk-DNRTKO2U.js} +2 -2
  84. package/dist/{chunk-J5AFG5JN.js → chunk-EJLTNPRY.js} +3 -3
  85. package/dist/{chunk-ORB56L3Y.js → chunk-EJQXDKYK.js} +4 -4
  86. package/dist/{chunk-UM7A4CPT.js → chunk-FKJVEW6O.js} +2 -2
  87. package/dist/{chunk-ZXMNT75M.js → chunk-GFNS3BHV.js} +3 -3
  88. package/dist/{chunk-ALNZEWGN.js → chunk-GPFZFCRN.js} +2 -2
  89. package/dist/{chunk-MQFFR6QB.js → chunk-GTRGH4ZT.js} +2 -2
  90. package/dist/{chunk-USKANB65.js → chunk-I6OQCT3Y.js} +2 -2
  91. package/dist/{chunk-2AZBPQLK.js → chunk-IKXUG6KC.js} +7 -7
  92. package/dist/{chunk-5LVSFKQB.js → chunk-IM56VPKO.js} +3 -3
  93. package/dist/{chunk-KQAFEZQX.js → chunk-IPLYGWQF.js} +5 -5
  94. package/dist/{chunk-R7R4FSV2.js → chunk-ITYAXU4S.js} +3 -3
  95. package/dist/{chunk-7CJO52ET.js → chunk-JJ7JW62R.js} +23 -23
  96. package/dist/{chunk-5S7Y7AC6.js → chunk-JJX5XEIG.js} +2 -2
  97. package/dist/{chunk-OF6KQJ35.js → chunk-JWPG65LH.js} +14 -14
  98. package/dist/chunk-K2XUWZBM.js +417 -0
  99. package/dist/chunk-K2XUWZBM.js.map +1 -0
  100. package/dist/{chunk-G2FCSILA.js → chunk-KWIGDKM2.js} +2 -2
  101. package/dist/{chunk-UKBIB3FP.js → chunk-KWN6NOHQ.js} +2 -2
  102. package/dist/{chunk-227UFSEQ.js → chunk-LEPOP46W.js} +4 -4
  103. package/dist/{chunk-SHSJP4D6.js → chunk-LZCSOUJ7.js} +2 -2
  104. package/dist/{chunk-256FBCVX.js → chunk-M4AHBM72.js} +7 -7
  105. package/dist/{chunk-5PFGMO33.js → chunk-MEW53VQJ.js} +2 -2
  106. package/dist/{chunk-DCUMFQYM.js → chunk-ML3U4KPR.js} +2 -2
  107. package/dist/{chunk-UDL4DNBM.js → chunk-MR5HWQHS.js} +2 -2
  108. package/dist/{chunk-H7PRHUBD.js → chunk-NRLELHAY.js} +2 -2
  109. package/dist/{chunk-ZS4JADYY.js → chunk-OW7NVMGQ.js} +2 -2
  110. package/dist/{chunk-U5LYM2NS.js → chunk-PADG72LJ.js} +3 -3
  111. package/dist/{chunk-6GGTATZF.js → chunk-PYIR4SSB.js} +4 -4
  112. package/dist/chunk-PYIR4SSB.js.map +1 -0
  113. package/dist/{chunk-UW74LP76.js → chunk-Q35XGIEM.js} +2 -2
  114. package/dist/{chunk-XPRJSHNI.js → chunk-QJ622LTI.js} +6 -3
  115. package/dist/chunk-QJ622LTI.js.map +1 -0
  116. package/dist/{chunk-FNYIMSKI.js → chunk-QSIQVC32.js} +2 -2
  117. package/dist/{chunk-EJYAE2U7.js → chunk-R74NCKEY.js} +4 -4
  118. package/dist/{chunk-KP36WQBJ.js → chunk-RYGJGXL6.js} +2 -2
  119. package/dist/{chunk-4OW2T32G.js → chunk-SQ3EGGII.js} +2 -2
  120. package/dist/{chunk-FU7OICXE.js → chunk-TRPX6F2G.js} +10 -10
  121. package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
  122. package/dist/{chunk-6VX2ZZH2.js → chunk-VAMQU4W7.js} +2 -2
  123. package/dist/{chunk-WLITCQAC.js → chunk-VN7IIQGS.js} +2 -2
  124. package/dist/{chunk-MMM7SDOJ.js → chunk-WDUG2CH3.js} +2 -2
  125. package/dist/{chunk-P2BT5ALE.js → chunk-X4MGNVOO.js} +2 -2
  126. package/dist/{chunk-BE5SVRFC.js → chunk-XFCQIQQU.js} +3 -3
  127. package/dist/{chunk-S4MF77NV.js → chunk-XZPSBGHA.js} +2 -2
  128. package/dist/{chunk-PMRUMGK6.js → chunk-Y7COCXY2.js} +2 -2
  129. package/dist/{chunk-DJ7HMNSL.js → chunk-YCVB7X56.js} +4 -2
  130. package/dist/chunk-YCVB7X56.js.map +1 -0
  131. package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
  132. package/dist/{chunk-A5BYPCDI.js → chunk-Z334TJRB.js} +2 -2
  133. package/dist/{cli-DJwNNDL1.d.ts → cli-Bw9z-KqX.d.ts} +1 -1
  134. package/dist/cli.d.ts +2 -2
  135. package/dist/cli.js +67 -66
  136. package/dist/coding/pre-action-gate.js +3 -3
  137. package/dist/compounding/engine.js +14 -14
  138. package/dist/connectors/codex-materialize-runner.js +14 -14
  139. package/dist/connectors/index.d.ts +45 -1
  140. package/dist/connectors/index.js +23 -15
  141. package/dist/convergence-refresh.js +16 -16
  142. package/dist/conversation-index/backend.js +2 -2
  143. package/dist/corpus-watermark.js +16 -16
  144. package/dist/dashboard-runtime.js +2 -2
  145. package/dist/direct-answer-wiring.js +3 -3
  146. package/dist/direct-answer.js +2 -2
  147. package/dist/entity-retrieval.js +14 -14
  148. package/dist/event-order-query.d.ts +3 -0
  149. package/dist/event-order-query.js +9 -0
  150. package/dist/event-order-query.js.map +1 -0
  151. package/dist/event-order-recall.d.ts +2 -2
  152. package/dist/event-order-recall.js +5 -2
  153. package/dist/external-wiki-access.d.ts +1 -1
  154. package/dist/external-wiki-access.js +34 -33
  155. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  156. package/dist/extraction-normalization.js +2 -2
  157. package/dist/extraction.js +23 -22
  158. package/dist/harmonic-construction.js +2 -2
  159. package/dist/harmonic-retrieval.js +2 -2
  160. package/dist/index.d.ts +682 -681
  161. package/dist/index.js +106 -103
  162. package/dist/intent.js +2 -1
  163. package/dist/lcm/engine.js +3 -3
  164. package/dist/lcm/index.js +6 -6
  165. package/dist/maintenance/memory-governance.js +14 -14
  166. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +14 -14
  167. package/dist/maintenance/rebuild-memory-projection.js +15 -15
  168. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  169. package/dist/namespaces/migrate.js +15 -15
  170. package/dist/namespaces/search.js +9 -9
  171. package/dist/namespaces/storage.js +14 -14
  172. package/dist/operator-doctor-corpus.js +17 -17
  173. package/dist/operator-toolkit.js +21 -21
  174. package/dist/orchestration/maintenance.js +19 -19
  175. package/dist/orchestrator.js +99 -97
  176. package/dist/policy-runtime.js +3 -3
  177. package/dist/{public-http-43z1YT-k.d.ts → public-http-DK-QwaBu.d.ts} +1 -1
  178. package/dist/recall-planner-i18n.d.ts +31 -0
  179. package/dist/recall-planner-i18n.js +30 -0
  180. package/dist/recall-planner-i18n.js.map +1 -0
  181. package/dist/recall-planner-llm.js +2 -1
  182. package/dist/recall-planner-llm.js.map +1 -1
  183. package/dist/recall-query-policy.js +2 -2
  184. package/dist/recall-tokenization.js +1 -1
  185. package/dist/resume-bundles.js +3 -3
  186. package/dist/retrieval-agents.js +2 -1
  187. package/dist/schemas.d.ts +108 -108
  188. package/dist/search/factory.js +8 -8
  189. package/dist/search/index.js +14 -14
  190. package/dist/search/orama-backend.js +2 -2
  191. package/dist/semantic-consolidation.js +15 -15
  192. package/dist/semantic-rule-promotion.js +14 -14
  193. package/dist/semantic-rule-verifier.js +14 -14
  194. package/dist/shared-context/manager.d.ts +8 -8
  195. package/dist/source-agent-qualifier.js +20 -19
  196. package/dist/storage.js +13 -13
  197. package/dist/support-passport/index.d.ts +4 -4
  198. package/dist/support-passport/index.js +36 -35
  199. package/dist/transfer/autodetect.js +1 -1
  200. package/dist/transfer/backup.js +1 -1
  201. package/dist/transfer/capsule-export.js +2 -2
  202. package/dist/transfer/types.d.ts +66 -66
  203. package/dist/trust-zones.js +2 -2
  204. package/dist/verified-recall.js +14 -14
  205. package/dist/work-product-ledger.js +2 -2
  206. package/package.json +2 -2
  207. package/src/connectors/droid-mcp.ts +434 -0
  208. package/src/connectors/index.ts +70 -0
  209. package/src/direct-answer.ts +6 -3
  210. package/src/event-order-query.ts +78 -0
  211. package/src/event-order-recall.ts +4 -90
  212. package/src/intent.ts +19 -19
  213. package/src/recall-planner-i18n.ts +193 -0
  214. package/src/recall-tokenization.ts +3 -1
  215. package/src/retrieval-agents.ts +6 -10
  216. package/dist/chunk-6GGTATZF.js.map +0 -1
  217. package/dist/chunk-ANMIOQPU.js.map +0 -1
  218. package/dist/chunk-DEOYTFA6.js.map +0 -1
  219. package/dist/chunk-DJ7HMNSL.js.map +0 -1
  220. package/dist/chunk-PD6O7AXF.js.map +0 -1
  221. package/dist/chunk-XPRJSHNI.js.map +0 -1
  222. package/dist/{access-service-DBpEnlzA.d.ts → access-service-M4LgO141.d.ts} +64 -64
  223. /package/dist/{auto-sync-Z52VWMNC.js.map → auto-sync-BKRJDMKX.js.map} +0 -0
  224. /package/dist/{chunk-5F6HMNMZ.js.map → chunk-2LA3H54D.js.map} +0 -0
  225. /package/dist/{chunk-IRLH4NM2.js.map → chunk-2PSX5BJU.js.map} +0 -0
  226. /package/dist/{chunk-JBPKEARU.js.map → chunk-2QSZNTDO.js.map} +0 -0
  227. /package/dist/{chunk-F2FZEVDE.js.map → chunk-3LJ2L3T3.js.map} +0 -0
  228. /package/dist/{chunk-AUIAHNO7.js.map → chunk-4NMVX5U7.js.map} +0 -0
  229. /package/dist/{chunk-LJOIZPJH.js.map → chunk-5QZR2RA3.js.map} +0 -0
  230. /package/dist/{chunk-RBJKE5LV.js.map → chunk-5UFQCU6M.js.map} +0 -0
  231. /package/dist/{chunk-S52C2DEM.js.map → chunk-5W5N7XJZ.js.map} +0 -0
  232. /package/dist/{chunk-GL4RHVHX.js.map → chunk-5W62VEFH.js.map} +0 -0
  233. /package/dist/{chunk-4WW5FMUD.js.map → chunk-6D7PZKCJ.js.map} +0 -0
  234. /package/dist/{chunk-NVSTZ2PN.js.map → chunk-6F2UMP4H.js.map} +0 -0
  235. /package/dist/{chunk-IIPJKCZB.js.map → chunk-6NAPOLRO.js.map} +0 -0
  236. /package/dist/{chunk-U4CCRHN6.js.map → chunk-6UZR7KEK.js.map} +0 -0
  237. /package/dist/{chunk-2TYIAKU5.js.map → chunk-6YMEU6OQ.js.map} +0 -0
  238. /package/dist/{chunk-LAX6S5WS.js.map → chunk-A73QHOZP.js.map} +0 -0
  239. /package/dist/{chunk-ZSH6GJ2V.js.map → chunk-AJSZ2EK6.js.map} +0 -0
  240. /package/dist/{chunk-GUBT77YC.js.map → chunk-B2OOJCUX.js.map} +0 -0
  241. /package/dist/{chunk-YTHQHH5U.js.map → chunk-C6WMSXCJ.js.map} +0 -0
  242. /package/dist/{chunk-JKW663ZN.js.map → chunk-CIAI24TQ.js.map} +0 -0
  243. /package/dist/{chunk-ALKRPLWB.js.map → chunk-DNRTKO2U.js.map} +0 -0
  244. /package/dist/{chunk-J5AFG5JN.js.map → chunk-EJLTNPRY.js.map} +0 -0
  245. /package/dist/{chunk-ORB56L3Y.js.map → chunk-EJQXDKYK.js.map} +0 -0
  246. /package/dist/{chunk-UM7A4CPT.js.map → chunk-FKJVEW6O.js.map} +0 -0
  247. /package/dist/{chunk-ZXMNT75M.js.map → chunk-GFNS3BHV.js.map} +0 -0
  248. /package/dist/{chunk-ALNZEWGN.js.map → chunk-GPFZFCRN.js.map} +0 -0
  249. /package/dist/{chunk-MQFFR6QB.js.map → chunk-GTRGH4ZT.js.map} +0 -0
  250. /package/dist/{chunk-USKANB65.js.map → chunk-I6OQCT3Y.js.map} +0 -0
  251. /package/dist/{chunk-2AZBPQLK.js.map → chunk-IKXUG6KC.js.map} +0 -0
  252. /package/dist/{chunk-5LVSFKQB.js.map → chunk-IM56VPKO.js.map} +0 -0
  253. /package/dist/{chunk-KQAFEZQX.js.map → chunk-IPLYGWQF.js.map} +0 -0
  254. /package/dist/{chunk-R7R4FSV2.js.map → chunk-ITYAXU4S.js.map} +0 -0
  255. /package/dist/{chunk-7CJO52ET.js.map → chunk-JJ7JW62R.js.map} +0 -0
  256. /package/dist/{chunk-5S7Y7AC6.js.map → chunk-JJX5XEIG.js.map} +0 -0
  257. /package/dist/{chunk-OF6KQJ35.js.map → chunk-JWPG65LH.js.map} +0 -0
  258. /package/dist/{chunk-G2FCSILA.js.map → chunk-KWIGDKM2.js.map} +0 -0
  259. /package/dist/{chunk-UKBIB3FP.js.map → chunk-KWN6NOHQ.js.map} +0 -0
  260. /package/dist/{chunk-227UFSEQ.js.map → chunk-LEPOP46W.js.map} +0 -0
  261. /package/dist/{chunk-SHSJP4D6.js.map → chunk-LZCSOUJ7.js.map} +0 -0
  262. /package/dist/{chunk-256FBCVX.js.map → chunk-M4AHBM72.js.map} +0 -0
  263. /package/dist/{chunk-5PFGMO33.js.map → chunk-MEW53VQJ.js.map} +0 -0
  264. /package/dist/{chunk-DCUMFQYM.js.map → chunk-ML3U4KPR.js.map} +0 -0
  265. /package/dist/{chunk-UDL4DNBM.js.map → chunk-MR5HWQHS.js.map} +0 -0
  266. /package/dist/{chunk-H7PRHUBD.js.map → chunk-NRLELHAY.js.map} +0 -0
  267. /package/dist/{chunk-ZS4JADYY.js.map → chunk-OW7NVMGQ.js.map} +0 -0
  268. /package/dist/{chunk-U5LYM2NS.js.map → chunk-PADG72LJ.js.map} +0 -0
  269. /package/dist/{chunk-UW74LP76.js.map → chunk-Q35XGIEM.js.map} +0 -0
  270. /package/dist/{chunk-FNYIMSKI.js.map → chunk-QSIQVC32.js.map} +0 -0
  271. /package/dist/{chunk-EJYAE2U7.js.map → chunk-R74NCKEY.js.map} +0 -0
  272. /package/dist/{chunk-KP36WQBJ.js.map → chunk-RYGJGXL6.js.map} +0 -0
  273. /package/dist/{chunk-4OW2T32G.js.map → chunk-SQ3EGGII.js.map} +0 -0
  274. /package/dist/{chunk-FU7OICXE.js.map → chunk-TRPX6F2G.js.map} +0 -0
  275. /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
  276. /package/dist/{chunk-6VX2ZZH2.js.map → chunk-VAMQU4W7.js.map} +0 -0
  277. /package/dist/{chunk-WLITCQAC.js.map → chunk-VN7IIQGS.js.map} +0 -0
  278. /package/dist/{chunk-MMM7SDOJ.js.map → chunk-WDUG2CH3.js.map} +0 -0
  279. /package/dist/{chunk-P2BT5ALE.js.map → chunk-X4MGNVOO.js.map} +0 -0
  280. /package/dist/{chunk-BE5SVRFC.js.map → chunk-XFCQIQQU.js.map} +0 -0
  281. /package/dist/{chunk-S4MF77NV.js.map → chunk-XZPSBGHA.js.map} +0 -0
  282. /package/dist/{chunk-PMRUMGK6.js.map → chunk-Y7COCXY2.js.map} +0 -0
  283. /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
  284. /package/dist/{chunk-A5BYPCDI.js.map → chunk-Z334TJRB.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ export { ExplicitCueRecallEngine, ExplicitCueRecallOptions, ExplicitTurnReferenc
15
15
  export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecallTargetedFactEvidence } from './targeted-fact-recall.js';
16
16
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
17
17
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
18
- export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
18
+ export { EventOrderRecallOptions, buildEventOrderRecallSection } from './event-order-recall.js';
19
19
  import { S as StorageManager, a as MeetingRecordStore } from './storage-BVAVitkO.js';
20
20
  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-BVAVitkO.js';
21
21
  import { SealedMemoryEnvelope } from './write-envelope.js';
@@ -31,8 +31,8 @@ export { bA as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAcc
31
31
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
32
32
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
33
33
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
34
- import { f as EngramAccessService } from './access-service-DBpEnlzA.js';
35
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-DBpEnlzA.js';
34
+ import { f as EngramAccessService } from './access-service-M4LgO141.js';
35
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-M4LgO141.js';
36
36
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
37
37
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
38
38
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -50,13 +50,13 @@ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatal
50
50
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
51
51
  export { storagePathHash } from './storage-paths.js';
52
52
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
53
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-DJwNNDL1.js';
53
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Bw9z-KqX.js';
54
54
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
55
55
  export { EngramMcpServer } from './access-mcp.js';
56
56
  import { BoundOperation } from './access-boundary.js';
57
57
  export { OPERATION_NAMES, OperationName } from './access-boundary.js';
58
58
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
59
- export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-43z1YT-k.js';
59
+ export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-DK-QwaBu.js';
60
60
  import { z } from 'zod';
61
61
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
62
62
  export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, RECALL_CONTEXT_SEPARATOR, RecallAuthorityRenderOptions, RecallContextComposition, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderAuthorityBoundContent, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
@@ -126,6 +126,7 @@ export { ExternalWikiRoot } from './external-wiki-config.js';
126
126
  export { OfflineSyncExcludeFile, OfflineSyncFileTarget } from './offline-sync-file-io.js';
127
127
  export { expandTildePath } from './utils/path.js';
128
128
  export { normalizeAttributePairs } from './structured-attributes.js';
129
+ export { shouldRecallEventOrderEvidence } from './event-order-query.js';
129
130
  import './bounded-jsonl-state.js';
130
131
  import './operator-doctor-types.js';
131
132
  import './contradiction-config.js';
@@ -950,15 +951,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
950
951
  locator: z.ZodOptional<z.ZodString>;
951
952
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
952
953
  }, "strict", z.ZodTypeAny, {
953
- id: string;
954
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
954
955
  label: string;
955
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
956
+ id: string;
956
957
  capture: "at_action" | "historical_lookup" | "fixture";
957
958
  locator?: string | undefined;
958
959
  }, {
959
- id: string;
960
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
960
961
  label: string;
961
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
962
+ id: string;
962
963
  capture: "at_action" | "historical_lookup" | "fixture";
963
964
  locator?: string | undefined;
964
965
  }>;
@@ -975,15 +976,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
975
976
  locator: z.ZodOptional<z.ZodString>;
976
977
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
977
978
  }, "strict", z.ZodTypeAny, {
978
- id: string;
979
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
979
980
  label: string;
980
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
981
+ id: string;
981
982
  capture: "at_action" | "historical_lookup" | "fixture";
982
983
  locator?: string | undefined;
983
984
  }, {
984
- id: string;
985
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
985
986
  label: string;
986
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
987
+ id: string;
987
988
  capture: "at_action" | "historical_lookup" | "fixture";
988
989
  locator?: string | undefined;
989
990
  }>, "many">>;
@@ -991,9 +992,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
991
992
  kind: "mission_started";
992
993
  title: string;
993
994
  evidence: {
994
- id: string;
995
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
995
996
  label: string;
996
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
997
+ id: string;
997
998
  capture: "at_action" | "historical_lookup" | "fixture";
998
999
  locator?: string | undefined;
999
1000
  }[];
@@ -1005,9 +1006,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1005
1006
  objective: string;
1006
1007
  runMode: "replay" | "fixture" | "live";
1007
1008
  evidence?: {
1008
- id: string;
1009
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1009
1010
  label: string;
1010
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1011
+ id: string;
1011
1012
  capture: "at_action" | "historical_lookup" | "fixture";
1012
1013
  locator?: string | undefined;
1013
1014
  }[] | undefined;
@@ -1023,15 +1024,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1023
1024
  locator: z.ZodOptional<z.ZodString>;
1024
1025
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1025
1026
  }, "strict", z.ZodTypeAny, {
1026
- id: string;
1027
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1027
1028
  label: string;
1028
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1029
+ id: string;
1029
1030
  capture: "at_action" | "historical_lookup" | "fixture";
1030
1031
  locator?: string | undefined;
1031
1032
  }, {
1032
- id: string;
1033
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1033
1034
  label: string;
1034
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1035
+ id: string;
1035
1036
  capture: "at_action" | "historical_lookup" | "fixture";
1036
1037
  locator?: string | undefined;
1037
1038
  }>, "many">>;
@@ -1039,32 +1040,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1039
1040
  sessionId: z.ZodString;
1040
1041
  kind: z.ZodLiteral<"agent_status">;
1041
1042
  }, "strict", z.ZodTypeAny, {
1042
- label: string;
1043
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1044
1043
  kind: "agent_status";
1044
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1045
+ label: string;
1045
1046
  role: string;
1046
1047
  agentId: string;
1047
1048
  sessionId: string;
1048
1049
  evidence: {
1049
- id: string;
1050
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1050
1051
  label: string;
1051
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1052
+ id: string;
1052
1053
  capture: "at_action" | "historical_lookup" | "fixture";
1053
1054
  locator?: string | undefined;
1054
1055
  }[];
1055
1056
  detail?: string | undefined;
1056
1057
  }, {
1057
- label: string;
1058
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1059
1058
  kind: "agent_status";
1059
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1060
+ label: string;
1060
1061
  role: string;
1061
1062
  agentId: string;
1062
1063
  sessionId: string;
1063
1064
  detail?: string | undefined;
1064
1065
  evidence?: {
1065
- id: string;
1066
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1066
1067
  label: string;
1067
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1068
+ id: string;
1068
1069
  capture: "at_action" | "historical_lookup" | "fixture";
1069
1070
  locator?: string | undefined;
1070
1071
  }[] | undefined;
@@ -1078,15 +1079,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1078
1079
  locator: z.ZodOptional<z.ZodString>;
1079
1080
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1080
1081
  }, "strict", z.ZodTypeAny, {
1081
- id: string;
1082
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1082
1083
  label: string;
1083
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1084
+ id: string;
1084
1085
  capture: "at_action" | "historical_lookup" | "fixture";
1085
1086
  locator?: string | undefined;
1086
1087
  }, {
1087
- id: string;
1088
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1088
1089
  label: string;
1089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1090
+ id: string;
1090
1091
  capture: "at_action" | "historical_lookup" | "fixture";
1091
1092
  locator?: string | undefined;
1092
1093
  }>, "many">>;
@@ -1094,28 +1095,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1094
1095
  sessionId: z.ZodString;
1095
1096
  kind: z.ZodLiteral<"agent_output">;
1096
1097
  }, "strict", z.ZodTypeAny, {
1097
- summary: string;
1098
1098
  kind: "agent_output";
1099
+ summary: string;
1099
1100
  agentId: string;
1100
1101
  sessionId: string;
1101
1102
  evidence: {
1102
- id: string;
1103
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1103
1104
  label: string;
1104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1105
+ id: string;
1105
1106
  capture: "at_action" | "historical_lookup" | "fixture";
1106
1107
  locator?: string | undefined;
1107
1108
  }[];
1108
1109
  outputId: string;
1109
1110
  }, {
1110
- summary: string;
1111
1111
  kind: "agent_output";
1112
+ summary: string;
1112
1113
  agentId: string;
1113
1114
  sessionId: string;
1114
1115
  outputId: string;
1115
1116
  evidence?: {
1116
- id: string;
1117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1117
1118
  label: string;
1118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1119
+ id: string;
1119
1120
  capture: "at_action" | "historical_lookup" | "fixture";
1120
1121
  locator?: string | undefined;
1121
1122
  }[] | undefined;
@@ -1131,15 +1132,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1131
1132
  locator: z.ZodOptional<z.ZodString>;
1132
1133
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1133
1134
  }, "strict", z.ZodTypeAny, {
1134
- id: string;
1135
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1135
1136
  label: string;
1136
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1137
+ id: string;
1137
1138
  capture: "at_action" | "historical_lookup" | "fixture";
1138
1139
  locator?: string | undefined;
1139
1140
  }, {
1140
- id: string;
1141
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1141
1142
  label: string;
1142
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1143
+ id: string;
1143
1144
  capture: "at_action" | "historical_lookup" | "fixture";
1144
1145
  locator?: string | undefined;
1145
1146
  }>, "many">>;
@@ -1152,9 +1153,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1152
1153
  statement: string;
1153
1154
  sessionId: string;
1154
1155
  evidence: {
1155
- id: string;
1156
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1156
1157
  label: string;
1157
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1158
+ id: string;
1158
1159
  capture: "at_action" | "historical_lookup" | "fixture";
1159
1160
  locator?: string | undefined;
1160
1161
  }[];
@@ -1170,9 +1171,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1170
1171
  decisionId: string;
1171
1172
  confidence?: number | undefined;
1172
1173
  evidence?: {
1173
- id: string;
1174
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1174
1175
  label: string;
1175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1176
+ id: string;
1176
1177
  capture: "at_action" | "historical_lookup" | "fixture";
1177
1178
  locator?: string | undefined;
1178
1179
  }[] | undefined;
@@ -1189,25 +1190,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1189
1190
  locator: z.ZodOptional<z.ZodString>;
1190
1191
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1191
1192
  }, "strict", z.ZodTypeAny, {
1192
- id: string;
1193
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1193
1194
  label: string;
1194
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1195
+ id: string;
1195
1196
  capture: "at_action" | "historical_lookup" | "fixture";
1196
1197
  locator?: string | undefined;
1197
1198
  }, {
1198
- id: string;
1199
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1199
1200
  label: string;
1200
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1201
+ id: string;
1201
1202
  capture: "at_action" | "historical_lookup" | "fixture";
1202
1203
  locator?: string | undefined;
1203
1204
  }>, "many">>;
1204
1205
  }, "strict", z.ZodTypeAny, {
1205
- summary: string;
1206
1206
  kind: "conflict_detected";
1207
+ summary: string;
1207
1208
  evidence: {
1208
- id: string;
1209
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1209
1210
  label: string;
1210
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1211
+ id: string;
1211
1212
  capture: "at_action" | "historical_lookup" | "fixture";
1212
1213
  locator?: string | undefined;
1213
1214
  }[];
@@ -1215,15 +1216,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1215
1216
  decisionIds: string[];
1216
1217
  agentIds: string[];
1217
1218
  }, {
1218
- summary: string;
1219
1219
  kind: "conflict_detected";
1220
+ summary: string;
1220
1221
  conflictId: string;
1221
1222
  decisionIds: string[];
1222
1223
  agentIds: string[];
1223
1224
  evidence?: {
1224
- id: string;
1225
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1225
1226
  label: string;
1226
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1227
+ id: string;
1227
1228
  capture: "at_action" | "historical_lookup" | "fixture";
1228
1229
  locator?: string | undefined;
1229
1230
  }[] | undefined;
@@ -1243,27 +1244,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1243
1244
  locator: z.ZodOptional<z.ZodString>;
1244
1245
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1245
1246
  }, "strict", z.ZodTypeAny, {
1246
- id: string;
1247
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
1248
  label: string;
1248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1249
+ id: string;
1249
1250
  capture: "at_action" | "historical_lookup" | "fixture";
1250
1251
  locator?: string | undefined;
1251
1252
  }, {
1252
- id: string;
1253
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1253
1254
  label: string;
1254
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1255
+ id: string;
1255
1256
  capture: "at_action" | "historical_lookup" | "fixture";
1256
1257
  locator?: string | undefined;
1257
1258
  }>, "many">>;
1258
1259
  }, "strict", z.ZodTypeAny, {
1260
+ kind: "test_result";
1259
1261
  summary: string;
1260
1262
  status: "error" | "failed" | "passed";
1261
- kind: "test_result";
1262
1263
  command: string;
1263
1264
  evidence: {
1264
- id: string;
1265
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1265
1266
  label: string;
1266
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1267
+ id: string;
1267
1268
  capture: "at_action" | "historical_lookup" | "fixture";
1268
1269
  locator?: string | undefined;
1269
1270
  }[];
@@ -1272,17 +1273,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1272
1273
  durationMs?: number | undefined;
1273
1274
  correctionId?: string | undefined;
1274
1275
  }, {
1276
+ kind: "test_result";
1275
1277
  summary: string;
1276
1278
  status: "error" | "failed" | "passed";
1277
- kind: "test_result";
1278
1279
  command: string;
1279
1280
  decisionId: string;
1280
1281
  testId: string;
1281
1282
  durationMs?: number | undefined;
1282
1283
  evidence?: {
1283
- id: string;
1284
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1284
1285
  label: string;
1285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1286
+ id: string;
1286
1287
  capture: "at_action" | "historical_lookup" | "fixture";
1287
1288
  locator?: string | undefined;
1288
1289
  }[] | undefined;
@@ -1303,15 +1304,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1303
1304
  locator: z.ZodOptional<z.ZodString>;
1304
1305
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1305
1306
  }, "strict", z.ZodTypeAny, {
1306
- id: string;
1307
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1307
1308
  label: string;
1308
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1309
+ id: string;
1309
1310
  capture: "at_action" | "historical_lookup" | "fixture";
1310
1311
  locator?: string | undefined;
1311
1312
  }, {
1312
- id: string;
1313
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1313
1314
  label: string;
1314
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1315
+ id: string;
1315
1316
  capture: "at_action" | "historical_lookup" | "fixture";
1316
1317
  locator?: string | undefined;
1317
1318
  }>, "many">>;
@@ -1320,9 +1321,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1320
1321
  statement: string;
1321
1322
  rationale: string;
1322
1323
  evidence: {
1323
- id: string;
1324
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1324
1325
  label: string;
1325
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1326
+ id: string;
1326
1327
  capture: "at_action" | "historical_lookup" | "fixture";
1327
1328
  locator?: string | undefined;
1328
1329
  }[];
@@ -1341,9 +1342,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1341
1342
  supersedesDecisionIds: string[];
1342
1343
  proposedBy: string;
1343
1344
  evidence?: {
1344
- id: string;
1345
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1345
1346
  label: string;
1346
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1347
+ id: string;
1347
1348
  capture: "at_action" | "historical_lookup" | "fixture";
1348
1349
  locator?: string | undefined;
1349
1350
  }[] | undefined;
@@ -1355,13 +1356,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1355
1356
  id: z.ZodString;
1356
1357
  label: z.ZodString;
1357
1358
  }, "strict", z.ZodTypeAny, {
1358
- id: string;
1359
- label: string;
1360
1359
  kind: "agent" | "human";
1361
- }, {
1362
- id: string;
1363
1360
  label: string;
1361
+ id: string;
1362
+ }, {
1364
1363
  kind: "agent" | "human";
1364
+ label: string;
1365
+ id: string;
1365
1366
  }>;
1366
1367
  note: z.ZodOptional<z.ZodString>;
1367
1368
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1371,47 +1372,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1371
1372
  locator: z.ZodOptional<z.ZodString>;
1372
1373
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1373
1374
  }, "strict", z.ZodTypeAny, {
1374
- id: string;
1375
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
1376
  label: string;
1376
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1377
+ id: string;
1377
1378
  capture: "at_action" | "historical_lookup" | "fixture";
1378
1379
  locator?: string | undefined;
1379
1380
  }, {
1380
- id: string;
1381
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
1382
  label: string;
1382
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1383
+ id: string;
1383
1384
  capture: "at_action" | "historical_lookup" | "fixture";
1384
1385
  locator?: string | undefined;
1385
1386
  }>, "many">>;
1386
1387
  }, "strict", z.ZodTypeAny, {
1387
1388
  kind: "correction_approved";
1388
1389
  evidence: {
1389
- id: string;
1390
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1390
1391
  label: string;
1391
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1392
+ id: string;
1392
1393
  capture: "at_action" | "historical_lookup" | "fixture";
1393
1394
  locator?: string | undefined;
1394
1395
  }[];
1395
1396
  correctionId: string;
1396
1397
  approvedBy: {
1397
- id: string;
1398
- label: string;
1399
1398
  kind: "agent" | "human";
1399
+ label: string;
1400
+ id: string;
1400
1401
  };
1401
1402
  note?: string | undefined;
1402
1403
  }, {
1403
1404
  kind: "correction_approved";
1404
1405
  correctionId: string;
1405
1406
  approvedBy: {
1406
- id: string;
1407
- label: string;
1408
1407
  kind: "agent" | "human";
1408
+ label: string;
1409
+ id: string;
1409
1410
  };
1410
1411
  note?: string | undefined;
1411
1412
  evidence?: {
1412
- id: string;
1413
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1413
1414
  label: string;
1414
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1415
+ id: string;
1415
1416
  capture: "at_action" | "historical_lookup" | "fixture";
1416
1417
  locator?: string | undefined;
1417
1418
  }[] | undefined;
@@ -1427,24 +1428,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1427
1428
  locator: z.ZodOptional<z.ZodString>;
1428
1429
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1429
1430
  }, "strict", z.ZodTypeAny, {
1430
- id: string;
1431
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1431
1432
  label: string;
1432
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1433
+ id: string;
1433
1434
  capture: "at_action" | "historical_lookup" | "fixture";
1434
1435
  locator?: string | undefined;
1435
1436
  }, {
1436
- id: string;
1437
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
1438
  label: string;
1438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1439
+ id: string;
1439
1440
  capture: "at_action" | "historical_lookup" | "fixture";
1440
1441
  locator?: string | undefined;
1441
1442
  }>, "many">>;
1442
1443
  }, "strict", z.ZodTypeAny, {
1443
1444
  kind: "decision_superseded";
1444
1445
  evidence: {
1445
- id: string;
1446
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1446
1447
  label: string;
1447
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1448
+ id: string;
1448
1449
  capture: "at_action" | "historical_lookup" | "fixture";
1449
1450
  locator?: string | undefined;
1450
1451
  }[];
@@ -1457,9 +1458,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1457
1458
  correctionId: string;
1458
1459
  replacementDecisionId: string;
1459
1460
  evidence?: {
1460
- id: string;
1461
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1461
1462
  label: string;
1462
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1463
+ id: string;
1463
1464
  capture: "at_action" | "historical_lookup" | "fixture";
1464
1465
  locator?: string | undefined;
1465
1466
  }[] | undefined;
@@ -1475,15 +1476,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1475
1476
  locator: z.ZodOptional<z.ZodString>;
1476
1477
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1477
1478
  }, "strict", z.ZodTypeAny, {
1478
- id: string;
1479
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
1480
  label: string;
1480
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1481
+ id: string;
1481
1482
  capture: "at_action" | "historical_lookup" | "fixture";
1482
1483
  locator?: string | undefined;
1483
1484
  }, {
1484
- id: string;
1485
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1485
1486
  label: string;
1486
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1487
+ id: string;
1487
1488
  capture: "at_action" | "historical_lookup" | "fixture";
1488
1489
  locator?: string | undefined;
1489
1490
  }>, "many">>;
@@ -1496,9 +1497,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1496
1497
  agentId: string;
1497
1498
  sessionId: string;
1498
1499
  evidence: {
1499
- id: string;
1500
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1500
1501
  label: string;
1501
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1502
+ id: string;
1502
1503
  capture: "at_action" | "historical_lookup" | "fixture";
1503
1504
  locator?: string | undefined;
1504
1505
  }[];
@@ -1514,9 +1515,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1514
1515
  recallReceiptId: string;
1515
1516
  capturedAtAction: boolean;
1516
1517
  evidence?: {
1517
- id: string;
1518
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1518
1519
  label: string;
1519
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1520
+ id: string;
1520
1521
  capture: "at_action" | "historical_lookup" | "fixture";
1521
1522
  locator?: string | undefined;
1522
1523
  }[] | undefined;
@@ -1532,15 +1533,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1532
1533
  locator: z.ZodOptional<z.ZodString>;
1533
1534
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1534
1535
  }, "strict", z.ZodTypeAny, {
1535
- id: string;
1536
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
1537
  label: string;
1537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1538
+ id: string;
1538
1539
  capture: "at_action" | "historical_lookup" | "fixture";
1539
1540
  locator?: string | undefined;
1540
1541
  }, {
1541
- id: string;
1542
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1542
1543
  label: string;
1543
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1544
+ id: string;
1544
1545
  capture: "at_action" | "historical_lookup" | "fixture";
1545
1546
  locator?: string | undefined;
1546
1547
  }>, "many">>;
@@ -1552,9 +1553,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1552
1553
  agentId: string;
1553
1554
  sessionId: string;
1554
1555
  evidence: {
1555
- id: string;
1556
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1556
1557
  label: string;
1557
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1558
+ id: string;
1558
1559
  capture: "at_action" | "historical_lookup" | "fixture";
1559
1560
  locator?: string | undefined;
1560
1561
  }[];
@@ -1571,9 +1572,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1571
1572
  recallReceiptId: string;
1572
1573
  staleDecisionAbsent: boolean;
1573
1574
  evidence?: {
1574
- id: string;
1575
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1575
1576
  label: string;
1576
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1577
+ id: string;
1577
1578
  capture: "at_action" | "historical_lookup" | "fixture";
1578
1579
  locator?: string | undefined;
1579
1580
  }[] | undefined;
@@ -1588,37 +1589,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1588
1589
  locator: z.ZodOptional<z.ZodString>;
1589
1590
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1590
1591
  }, "strict", z.ZodTypeAny, {
1591
- id: string;
1592
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
1593
  label: string;
1593
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
+ id: string;
1594
1595
  capture: "at_action" | "historical_lookup" | "fixture";
1595
1596
  locator?: string | undefined;
1596
1597
  }, {
1597
- id: string;
1598
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
1599
  label: string;
1599
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
+ id: string;
1600
1601
  capture: "at_action" | "historical_lookup" | "fixture";
1601
1602
  locator?: string | undefined;
1602
1603
  }>, "many">>;
1603
1604
  }, "strict", z.ZodTypeAny, {
1604
- summary: string;
1605
1605
  kind: "mission_completed";
1606
+ summary: string;
1606
1607
  outcome: "failed" | "recovered" | "inconclusive";
1607
1608
  evidence: {
1608
- id: string;
1609
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
1610
  label: string;
1610
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
+ id: string;
1611
1612
  capture: "at_action" | "historical_lookup" | "fixture";
1612
1613
  locator?: string | undefined;
1613
1614
  }[];
1614
1615
  }, {
1615
- summary: string;
1616
1616
  kind: "mission_completed";
1617
+ summary: string;
1617
1618
  outcome: "failed" | "recovered" | "inconclusive";
1618
1619
  evidence?: {
1619
- id: string;
1620
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1620
1621
  label: string;
1621
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1622
+ id: string;
1622
1623
  capture: "at_action" | "historical_lookup" | "fixture";
1623
1624
  locator?: string | undefined;
1624
1625
  }[] | undefined;
@@ -1626,38 +1627,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1626
1627
  kind: "mission_started";
1627
1628
  title: string;
1628
1629
  evidence: {
1629
- id: string;
1630
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1630
1631
  label: string;
1631
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1632
+ id: string;
1632
1633
  capture: "at_action" | "historical_lookup" | "fixture";
1633
1634
  locator?: string | undefined;
1634
1635
  }[];
1635
1636
  objective: string;
1636
1637
  runMode: "replay" | "fixture" | "live";
1637
1638
  } | {
1638
- label: string;
1639
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1640
1639
  kind: "agent_status";
1640
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1641
+ label: string;
1641
1642
  role: string;
1642
1643
  agentId: string;
1643
1644
  sessionId: string;
1644
1645
  evidence: {
1645
- id: string;
1646
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1646
1647
  label: string;
1647
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1648
+ id: string;
1648
1649
  capture: "at_action" | "historical_lookup" | "fixture";
1649
1650
  locator?: string | undefined;
1650
1651
  }[];
1651
1652
  detail?: string | undefined;
1652
1653
  } | {
1653
- summary: string;
1654
1654
  kind: "agent_output";
1655
+ summary: string;
1655
1656
  agentId: string;
1656
1657
  sessionId: string;
1657
1658
  evidence: {
1658
- id: string;
1659
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1659
1660
  label: string;
1660
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1661
+ id: string;
1661
1662
  capture: "at_action" | "historical_lookup" | "fixture";
1662
1663
  locator?: string | undefined;
1663
1664
  }[];
@@ -1668,9 +1669,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1668
1669
  statement: string;
1669
1670
  sessionId: string;
1670
1671
  evidence: {
1671
- id: string;
1672
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1672
1673
  label: string;
1673
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1674
+ id: string;
1674
1675
  capture: "at_action" | "historical_lookup" | "fixture";
1675
1676
  locator?: string | undefined;
1676
1677
  }[];
@@ -1678,12 +1679,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1678
1679
  decisionId: string;
1679
1680
  confidence?: number | undefined;
1680
1681
  } | {
1681
- summary: string;
1682
1682
  kind: "conflict_detected";
1683
+ summary: string;
1683
1684
  evidence: {
1684
- id: string;
1685
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1685
1686
  label: string;
1686
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1687
+ id: string;
1687
1688
  capture: "at_action" | "historical_lookup" | "fixture";
1688
1689
  locator?: string | undefined;
1689
1690
  }[];
@@ -1691,14 +1692,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1691
1692
  decisionIds: string[];
1692
1693
  agentIds: string[];
1693
1694
  } | {
1695
+ kind: "test_result";
1694
1696
  summary: string;
1695
1697
  status: "error" | "failed" | "passed";
1696
- kind: "test_result";
1697
1698
  command: string;
1698
1699
  evidence: {
1699
- id: string;
1700
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
1701
  label: string;
1701
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1702
+ id: string;
1702
1703
  capture: "at_action" | "historical_lookup" | "fixture";
1703
1704
  locator?: string | undefined;
1704
1705
  }[];
@@ -1711,9 +1712,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1711
1712
  statement: string;
1712
1713
  rationale: string;
1713
1714
  evidence: {
1714
- id: string;
1715
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1715
1716
  label: string;
1716
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1717
+ id: string;
1717
1718
  capture: "at_action" | "historical_lookup" | "fixture";
1718
1719
  locator?: string | undefined;
1719
1720
  }[];
@@ -1725,25 +1726,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1725
1726
  } | {
1726
1727
  kind: "correction_approved";
1727
1728
  evidence: {
1728
- id: string;
1729
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1729
1730
  label: string;
1730
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
+ id: string;
1731
1732
  capture: "at_action" | "historical_lookup" | "fixture";
1732
1733
  locator?: string | undefined;
1733
1734
  }[];
1734
1735
  correctionId: string;
1735
1736
  approvedBy: {
1736
- id: string;
1737
- label: string;
1738
1737
  kind: "agent" | "human";
1738
+ label: string;
1739
+ id: string;
1739
1740
  };
1740
1741
  note?: string | undefined;
1741
1742
  } | {
1742
1743
  kind: "decision_superseded";
1743
1744
  evidence: {
1744
- id: string;
1745
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1745
1746
  label: string;
1746
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1747
+ id: string;
1747
1748
  capture: "at_action" | "historical_lookup" | "fixture";
1748
1749
  locator?: string | undefined;
1749
1750
  }[];
@@ -1756,9 +1757,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1756
1757
  agentId: string;
1757
1758
  sessionId: string;
1758
1759
  evidence: {
1759
- id: string;
1760
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
1761
  label: string;
1761
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1762
+ id: string;
1762
1763
  capture: "at_action" | "historical_lookup" | "fixture";
1763
1764
  locator?: string | undefined;
1764
1765
  }[];
@@ -1770,9 +1771,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1770
1771
  agentId: string;
1771
1772
  sessionId: string;
1772
1773
  evidence: {
1773
- id: string;
1774
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1774
1775
  label: string;
1775
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1776
+ id: string;
1776
1777
  capture: "at_action" | "historical_lookup" | "fixture";
1777
1778
  locator?: string | undefined;
1778
1779
  }[];
@@ -1781,13 +1782,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1781
1782
  recallReceiptId: string;
1782
1783
  staleDecisionAbsent: boolean;
1783
1784
  } | {
1784
- summary: string;
1785
1785
  kind: "mission_completed";
1786
+ summary: string;
1786
1787
  outcome: "failed" | "recovered" | "inconclusive";
1787
1788
  evidence: {
1788
- id: string;
1789
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1789
1790
  label: string;
1790
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1791
+ id: string;
1791
1792
  capture: "at_action" | "historical_lookup" | "fixture";
1792
1793
  locator?: string | undefined;
1793
1794
  }[];
@@ -1797,37 +1798,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1797
1798
  objective: string;
1798
1799
  runMode: "replay" | "fixture" | "live";
1799
1800
  evidence?: {
1800
- id: string;
1801
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1801
1802
  label: string;
1802
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1803
+ id: string;
1803
1804
  capture: "at_action" | "historical_lookup" | "fixture";
1804
1805
  locator?: string | undefined;
1805
1806
  }[] | undefined;
1806
1807
  } | {
1807
- label: string;
1808
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1809
1808
  kind: "agent_status";
1809
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1810
+ label: string;
1810
1811
  role: string;
1811
1812
  agentId: string;
1812
1813
  sessionId: string;
1813
1814
  detail?: string | undefined;
1814
1815
  evidence?: {
1815
- id: string;
1816
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1816
1817
  label: string;
1817
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1818
+ id: string;
1818
1819
  capture: "at_action" | "historical_lookup" | "fixture";
1819
1820
  locator?: string | undefined;
1820
1821
  }[] | undefined;
1821
1822
  } | {
1822
- summary: string;
1823
1823
  kind: "agent_output";
1824
+ summary: string;
1824
1825
  agentId: string;
1825
1826
  sessionId: string;
1826
1827
  outputId: string;
1827
1828
  evidence?: {
1828
- id: string;
1829
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1829
1830
  label: string;
1830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1831
+ id: string;
1831
1832
  capture: "at_action" | "historical_lookup" | "fixture";
1832
1833
  locator?: string | undefined;
1833
1834
  }[] | undefined;
@@ -1840,37 +1841,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1840
1841
  decisionId: string;
1841
1842
  confidence?: number | undefined;
1842
1843
  evidence?: {
1843
- id: string;
1844
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1844
1845
  label: string;
1845
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1846
+ id: string;
1846
1847
  capture: "at_action" | "historical_lookup" | "fixture";
1847
1848
  locator?: string | undefined;
1848
1849
  }[] | undefined;
1849
1850
  } | {
1850
- summary: string;
1851
1851
  kind: "conflict_detected";
1852
+ summary: string;
1852
1853
  conflictId: string;
1853
1854
  decisionIds: string[];
1854
1855
  agentIds: string[];
1855
1856
  evidence?: {
1856
- id: string;
1857
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1857
1858
  label: string;
1858
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1859
+ id: string;
1859
1860
  capture: "at_action" | "historical_lookup" | "fixture";
1860
1861
  locator?: string | undefined;
1861
1862
  }[] | undefined;
1862
1863
  } | {
1864
+ kind: "test_result";
1863
1865
  summary: string;
1864
1866
  status: "error" | "failed" | "passed";
1865
- kind: "test_result";
1866
1867
  command: string;
1867
1868
  decisionId: string;
1868
1869
  testId: string;
1869
1870
  durationMs?: number | undefined;
1870
1871
  evidence?: {
1871
- id: string;
1872
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1872
1873
  label: string;
1873
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1874
+ id: string;
1874
1875
  capture: "at_action" | "historical_lookup" | "fixture";
1875
1876
  locator?: string | undefined;
1876
1877
  }[] | undefined;
@@ -1885,9 +1886,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1885
1886
  supersedesDecisionIds: string[];
1886
1887
  proposedBy: string;
1887
1888
  evidence?: {
1888
- id: string;
1889
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1889
1890
  label: string;
1890
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1891
+ id: string;
1891
1892
  capture: "at_action" | "historical_lookup" | "fixture";
1892
1893
  locator?: string | undefined;
1893
1894
  }[] | undefined;
@@ -1895,15 +1896,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1895
1896
  kind: "correction_approved";
1896
1897
  correctionId: string;
1897
1898
  approvedBy: {
1898
- id: string;
1899
- label: string;
1900
1899
  kind: "agent" | "human";
1900
+ label: string;
1901
+ id: string;
1901
1902
  };
1902
1903
  note?: string | undefined;
1903
1904
  evidence?: {
1904
- id: string;
1905
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
1906
  label: string;
1906
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
+ id: string;
1907
1908
  capture: "at_action" | "historical_lookup" | "fixture";
1908
1909
  locator?: string | undefined;
1909
1910
  }[] | undefined;
@@ -1913,9 +1914,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1913
1914
  correctionId: string;
1914
1915
  replacementDecisionId: string;
1915
1916
  evidence?: {
1916
- id: string;
1917
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1917
1918
  label: string;
1918
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1919
+ id: string;
1919
1920
  capture: "at_action" | "historical_lookup" | "fixture";
1920
1921
  locator?: string | undefined;
1921
1922
  }[] | undefined;
@@ -1928,9 +1929,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1928
1929
  recallReceiptId: string;
1929
1930
  capturedAtAction: boolean;
1930
1931
  evidence?: {
1931
- id: string;
1932
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1932
1933
  label: string;
1933
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1934
+ id: string;
1934
1935
  capture: "at_action" | "historical_lookup" | "fixture";
1935
1936
  locator?: string | undefined;
1936
1937
  }[] | undefined;
@@ -1943,20 +1944,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1943
1944
  recallReceiptId: string;
1944
1945
  staleDecisionAbsent: boolean;
1945
1946
  evidence?: {
1946
- id: string;
1947
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
1948
  label: string;
1948
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1949
+ id: string;
1949
1950
  capture: "at_action" | "historical_lookup" | "fixture";
1950
1951
  locator?: string | undefined;
1951
1952
  }[] | undefined;
1952
1953
  } | {
1953
- summary: string;
1954
1954
  kind: "mission_completed";
1955
+ summary: string;
1955
1956
  outcome: "failed" | "recovered" | "inconclusive";
1956
1957
  evidence?: {
1957
- id: string;
1958
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1958
1959
  label: string;
1959
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1960
+ id: string;
1960
1961
  capture: "at_action" | "historical_lookup" | "fixture";
1961
1962
  locator?: string | undefined;
1962
1963
  }[] | undefined;
@@ -1977,15 +1978,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1977
1978
  locator: z.ZodOptional<z.ZodString>;
1978
1979
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1979
1980
  }, "strict", z.ZodTypeAny, {
1980
- id: string;
1981
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
1982
  label: string;
1982
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1983
+ id: string;
1983
1984
  capture: "at_action" | "historical_lookup" | "fixture";
1984
1985
  locator?: string | undefined;
1985
1986
  }, {
1986
- id: string;
1987
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1987
1988
  label: string;
1988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1989
+ id: string;
1989
1990
  capture: "at_action" | "historical_lookup" | "fixture";
1990
1991
  locator?: string | undefined;
1991
1992
  }>, "many">>;
@@ -1993,9 +1994,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1993
1994
  kind: "mission_started";
1994
1995
  title: string;
1995
1996
  evidence: {
1996
- id: string;
1997
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1997
1998
  label: string;
1998
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1999
+ id: string;
1999
2000
  capture: "at_action" | "historical_lookup" | "fixture";
2000
2001
  locator?: string | undefined;
2001
2002
  }[];
@@ -2007,9 +2008,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2007
2008
  objective: string;
2008
2009
  runMode: "replay" | "fixture" | "live";
2009
2010
  evidence?: {
2010
- id: string;
2011
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2011
2012
  label: string;
2012
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2013
+ id: string;
2013
2014
  capture: "at_action" | "historical_lookup" | "fixture";
2014
2015
  locator?: string | undefined;
2015
2016
  }[] | undefined;
@@ -2025,15 +2026,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2025
2026
  locator: z.ZodOptional<z.ZodString>;
2026
2027
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2027
2028
  }, "strict", z.ZodTypeAny, {
2028
- id: string;
2029
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2029
2030
  label: string;
2030
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2031
+ id: string;
2031
2032
  capture: "at_action" | "historical_lookup" | "fixture";
2032
2033
  locator?: string | undefined;
2033
2034
  }, {
2034
- id: string;
2035
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2035
2036
  label: string;
2036
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2037
+ id: string;
2037
2038
  capture: "at_action" | "historical_lookup" | "fixture";
2038
2039
  locator?: string | undefined;
2039
2040
  }>, "many">>;
@@ -2041,32 +2042,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2041
2042
  sessionId: z.ZodString;
2042
2043
  kind: z.ZodLiteral<"agent_status">;
2043
2044
  }, "strict", z.ZodTypeAny, {
2044
- label: string;
2045
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2046
2045
  kind: "agent_status";
2046
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2047
+ label: string;
2047
2048
  role: string;
2048
2049
  agentId: string;
2049
2050
  sessionId: string;
2050
2051
  evidence: {
2051
- id: string;
2052
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2052
2053
  label: string;
2053
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2054
+ id: string;
2054
2055
  capture: "at_action" | "historical_lookup" | "fixture";
2055
2056
  locator?: string | undefined;
2056
2057
  }[];
2057
2058
  detail?: string | undefined;
2058
2059
  }, {
2059
- label: string;
2060
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2061
2060
  kind: "agent_status";
2061
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2062
+ label: string;
2062
2063
  role: string;
2063
2064
  agentId: string;
2064
2065
  sessionId: string;
2065
2066
  detail?: string | undefined;
2066
2067
  evidence?: {
2067
- id: string;
2068
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2068
2069
  label: string;
2069
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
+ id: string;
2070
2071
  capture: "at_action" | "historical_lookup" | "fixture";
2071
2072
  locator?: string | undefined;
2072
2073
  }[] | undefined;
@@ -2080,15 +2081,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2080
2081
  locator: z.ZodOptional<z.ZodString>;
2081
2082
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2082
2083
  }, "strict", z.ZodTypeAny, {
2083
- id: string;
2084
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
2085
  label: string;
2085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
+ id: string;
2086
2087
  capture: "at_action" | "historical_lookup" | "fixture";
2087
2088
  locator?: string | undefined;
2088
2089
  }, {
2089
- id: string;
2090
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2090
2091
  label: string;
2091
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2092
+ id: string;
2092
2093
  capture: "at_action" | "historical_lookup" | "fixture";
2093
2094
  locator?: string | undefined;
2094
2095
  }>, "many">>;
@@ -2096,28 +2097,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2096
2097
  sessionId: z.ZodString;
2097
2098
  kind: z.ZodLiteral<"agent_output">;
2098
2099
  }, "strict", z.ZodTypeAny, {
2099
- summary: string;
2100
2100
  kind: "agent_output";
2101
+ summary: string;
2101
2102
  agentId: string;
2102
2103
  sessionId: string;
2103
2104
  evidence: {
2104
- id: string;
2105
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
2106
  label: string;
2106
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2107
+ id: string;
2107
2108
  capture: "at_action" | "historical_lookup" | "fixture";
2108
2109
  locator?: string | undefined;
2109
2110
  }[];
2110
2111
  outputId: string;
2111
2112
  }, {
2112
- summary: string;
2113
2113
  kind: "agent_output";
2114
+ summary: string;
2114
2115
  agentId: string;
2115
2116
  sessionId: string;
2116
2117
  outputId: string;
2117
2118
  evidence?: {
2118
- id: string;
2119
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2119
2120
  label: string;
2120
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2121
+ id: string;
2121
2122
  capture: "at_action" | "historical_lookup" | "fixture";
2122
2123
  locator?: string | undefined;
2123
2124
  }[] | undefined;
@@ -2133,15 +2134,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2133
2134
  locator: z.ZodOptional<z.ZodString>;
2134
2135
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2135
2136
  }, "strict", z.ZodTypeAny, {
2136
- id: string;
2137
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2137
2138
  label: string;
2138
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2139
+ id: string;
2139
2140
  capture: "at_action" | "historical_lookup" | "fixture";
2140
2141
  locator?: string | undefined;
2141
2142
  }, {
2142
- id: string;
2143
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2143
2144
  label: string;
2144
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2145
+ id: string;
2145
2146
  capture: "at_action" | "historical_lookup" | "fixture";
2146
2147
  locator?: string | undefined;
2147
2148
  }>, "many">>;
@@ -2154,9 +2155,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2154
2155
  statement: string;
2155
2156
  sessionId: string;
2156
2157
  evidence: {
2157
- id: string;
2158
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2158
2159
  label: string;
2159
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2160
+ id: string;
2160
2161
  capture: "at_action" | "historical_lookup" | "fixture";
2161
2162
  locator?: string | undefined;
2162
2163
  }[];
@@ -2172,9 +2173,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2172
2173
  decisionId: string;
2173
2174
  confidence?: number | undefined;
2174
2175
  evidence?: {
2175
- id: string;
2176
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2176
2177
  label: string;
2177
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2178
+ id: string;
2178
2179
  capture: "at_action" | "historical_lookup" | "fixture";
2179
2180
  locator?: string | undefined;
2180
2181
  }[] | undefined;
@@ -2191,25 +2192,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2191
2192
  locator: z.ZodOptional<z.ZodString>;
2192
2193
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2193
2194
  }, "strict", z.ZodTypeAny, {
2194
- id: string;
2195
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2195
2196
  label: string;
2196
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2197
+ id: string;
2197
2198
  capture: "at_action" | "historical_lookup" | "fixture";
2198
2199
  locator?: string | undefined;
2199
2200
  }, {
2200
- id: string;
2201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2201
2202
  label: string;
2202
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2203
+ id: string;
2203
2204
  capture: "at_action" | "historical_lookup" | "fixture";
2204
2205
  locator?: string | undefined;
2205
2206
  }>, "many">>;
2206
2207
  }, "strict", z.ZodTypeAny, {
2207
- summary: string;
2208
2208
  kind: "conflict_detected";
2209
+ summary: string;
2209
2210
  evidence: {
2210
- id: string;
2211
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2211
2212
  label: string;
2212
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
+ id: string;
2213
2214
  capture: "at_action" | "historical_lookup" | "fixture";
2214
2215
  locator?: string | undefined;
2215
2216
  }[];
@@ -2217,15 +2218,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2217
2218
  decisionIds: string[];
2218
2219
  agentIds: string[];
2219
2220
  }, {
2220
- summary: string;
2221
2221
  kind: "conflict_detected";
2222
+ summary: string;
2222
2223
  conflictId: string;
2223
2224
  decisionIds: string[];
2224
2225
  agentIds: string[];
2225
2226
  evidence?: {
2226
- id: string;
2227
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2227
2228
  label: string;
2228
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2229
+ id: string;
2229
2230
  capture: "at_action" | "historical_lookup" | "fixture";
2230
2231
  locator?: string | undefined;
2231
2232
  }[] | undefined;
@@ -2245,27 +2246,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2245
2246
  locator: z.ZodOptional<z.ZodString>;
2246
2247
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2247
2248
  }, "strict", z.ZodTypeAny, {
2248
- id: string;
2249
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2249
2250
  label: string;
2250
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2251
+ id: string;
2251
2252
  capture: "at_action" | "historical_lookup" | "fixture";
2252
2253
  locator?: string | undefined;
2253
2254
  }, {
2254
- id: string;
2255
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2255
2256
  label: string;
2256
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2257
+ id: string;
2257
2258
  capture: "at_action" | "historical_lookup" | "fixture";
2258
2259
  locator?: string | undefined;
2259
2260
  }>, "many">>;
2260
2261
  }, "strict", z.ZodTypeAny, {
2262
+ kind: "test_result";
2261
2263
  summary: string;
2262
2264
  status: "error" | "failed" | "passed";
2263
- kind: "test_result";
2264
2265
  command: string;
2265
2266
  evidence: {
2266
- id: string;
2267
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2267
2268
  label: string;
2268
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2269
+ id: string;
2269
2270
  capture: "at_action" | "historical_lookup" | "fixture";
2270
2271
  locator?: string | undefined;
2271
2272
  }[];
@@ -2274,17 +2275,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2274
2275
  durationMs?: number | undefined;
2275
2276
  correctionId?: string | undefined;
2276
2277
  }, {
2278
+ kind: "test_result";
2277
2279
  summary: string;
2278
2280
  status: "error" | "failed" | "passed";
2279
- kind: "test_result";
2280
2281
  command: string;
2281
2282
  decisionId: string;
2282
2283
  testId: string;
2283
2284
  durationMs?: number | undefined;
2284
2285
  evidence?: {
2285
- id: string;
2286
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2286
2287
  label: string;
2287
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2288
+ id: string;
2288
2289
  capture: "at_action" | "historical_lookup" | "fixture";
2289
2290
  locator?: string | undefined;
2290
2291
  }[] | undefined;
@@ -2305,15 +2306,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2305
2306
  locator: z.ZodOptional<z.ZodString>;
2306
2307
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2307
2308
  }, "strict", z.ZodTypeAny, {
2308
- id: string;
2309
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2309
2310
  label: string;
2310
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2311
+ id: string;
2311
2312
  capture: "at_action" | "historical_lookup" | "fixture";
2312
2313
  locator?: string | undefined;
2313
2314
  }, {
2314
- id: string;
2315
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2315
2316
  label: string;
2316
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2317
+ id: string;
2317
2318
  capture: "at_action" | "historical_lookup" | "fixture";
2318
2319
  locator?: string | undefined;
2319
2320
  }>, "many">>;
@@ -2322,9 +2323,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2322
2323
  statement: string;
2323
2324
  rationale: string;
2324
2325
  evidence: {
2325
- id: string;
2326
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2326
2327
  label: string;
2327
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2328
+ id: string;
2328
2329
  capture: "at_action" | "historical_lookup" | "fixture";
2329
2330
  locator?: string | undefined;
2330
2331
  }[];
@@ -2343,9 +2344,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2343
2344
  supersedesDecisionIds: string[];
2344
2345
  proposedBy: string;
2345
2346
  evidence?: {
2346
- id: string;
2347
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2347
2348
  label: string;
2348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
+ id: string;
2349
2350
  capture: "at_action" | "historical_lookup" | "fixture";
2350
2351
  locator?: string | undefined;
2351
2352
  }[] | undefined;
@@ -2357,13 +2358,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2357
2358
  id: z.ZodString;
2358
2359
  label: z.ZodString;
2359
2360
  }, "strict", z.ZodTypeAny, {
2360
- id: string;
2361
- label: string;
2362
2361
  kind: "agent" | "human";
2363
- }, {
2364
- id: string;
2365
2362
  label: string;
2363
+ id: string;
2364
+ }, {
2366
2365
  kind: "agent" | "human";
2366
+ label: string;
2367
+ id: string;
2367
2368
  }>;
2368
2369
  note: z.ZodOptional<z.ZodString>;
2369
2370
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2373,47 +2374,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2373
2374
  locator: z.ZodOptional<z.ZodString>;
2374
2375
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2375
2376
  }, "strict", z.ZodTypeAny, {
2376
- id: string;
2377
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
2378
  label: string;
2378
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2379
+ id: string;
2379
2380
  capture: "at_action" | "historical_lookup" | "fixture";
2380
2381
  locator?: string | undefined;
2381
2382
  }, {
2382
- id: string;
2383
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
2384
  label: string;
2384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2385
+ id: string;
2385
2386
  capture: "at_action" | "historical_lookup" | "fixture";
2386
2387
  locator?: string | undefined;
2387
2388
  }>, "many">>;
2388
2389
  }, "strict", z.ZodTypeAny, {
2389
2390
  kind: "correction_approved";
2390
2391
  evidence: {
2391
- id: string;
2392
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2392
2393
  label: string;
2393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2394
+ id: string;
2394
2395
  capture: "at_action" | "historical_lookup" | "fixture";
2395
2396
  locator?: string | undefined;
2396
2397
  }[];
2397
2398
  correctionId: string;
2398
2399
  approvedBy: {
2399
- id: string;
2400
- label: string;
2401
2400
  kind: "agent" | "human";
2401
+ label: string;
2402
+ id: string;
2402
2403
  };
2403
2404
  note?: string | undefined;
2404
2405
  }, {
2405
2406
  kind: "correction_approved";
2406
2407
  correctionId: string;
2407
2408
  approvedBy: {
2408
- id: string;
2409
- label: string;
2410
2409
  kind: "agent" | "human";
2410
+ label: string;
2411
+ id: string;
2411
2412
  };
2412
2413
  note?: string | undefined;
2413
2414
  evidence?: {
2414
- id: string;
2415
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2415
2416
  label: string;
2416
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2417
+ id: string;
2417
2418
  capture: "at_action" | "historical_lookup" | "fixture";
2418
2419
  locator?: string | undefined;
2419
2420
  }[] | undefined;
@@ -2429,24 +2430,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2429
2430
  locator: z.ZodOptional<z.ZodString>;
2430
2431
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2431
2432
  }, "strict", z.ZodTypeAny, {
2432
- id: string;
2433
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2433
2434
  label: string;
2434
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2435
+ id: string;
2435
2436
  capture: "at_action" | "historical_lookup" | "fixture";
2436
2437
  locator?: string | undefined;
2437
2438
  }, {
2438
- id: string;
2439
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
2440
  label: string;
2440
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2441
+ id: string;
2441
2442
  capture: "at_action" | "historical_lookup" | "fixture";
2442
2443
  locator?: string | undefined;
2443
2444
  }>, "many">>;
2444
2445
  }, "strict", z.ZodTypeAny, {
2445
2446
  kind: "decision_superseded";
2446
2447
  evidence: {
2447
- id: string;
2448
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2448
2449
  label: string;
2449
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2450
+ id: string;
2450
2451
  capture: "at_action" | "historical_lookup" | "fixture";
2451
2452
  locator?: string | undefined;
2452
2453
  }[];
@@ -2459,9 +2460,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2459
2460
  correctionId: string;
2460
2461
  replacementDecisionId: string;
2461
2462
  evidence?: {
2462
- id: string;
2463
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2463
2464
  label: string;
2464
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2465
+ id: string;
2465
2466
  capture: "at_action" | "historical_lookup" | "fixture";
2466
2467
  locator?: string | undefined;
2467
2468
  }[] | undefined;
@@ -2477,15 +2478,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2477
2478
  locator: z.ZodOptional<z.ZodString>;
2478
2479
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2479
2480
  }, "strict", z.ZodTypeAny, {
2480
- id: string;
2481
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
2482
  label: string;
2482
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2483
+ id: string;
2483
2484
  capture: "at_action" | "historical_lookup" | "fixture";
2484
2485
  locator?: string | undefined;
2485
2486
  }, {
2486
- id: string;
2487
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2487
2488
  label: string;
2488
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2489
+ id: string;
2489
2490
  capture: "at_action" | "historical_lookup" | "fixture";
2490
2491
  locator?: string | undefined;
2491
2492
  }>, "many">>;
@@ -2498,9 +2499,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2498
2499
  agentId: string;
2499
2500
  sessionId: string;
2500
2501
  evidence: {
2501
- id: string;
2502
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2502
2503
  label: string;
2503
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2504
+ id: string;
2504
2505
  capture: "at_action" | "historical_lookup" | "fixture";
2505
2506
  locator?: string | undefined;
2506
2507
  }[];
@@ -2516,9 +2517,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2516
2517
  recallReceiptId: string;
2517
2518
  capturedAtAction: boolean;
2518
2519
  evidence?: {
2519
- id: string;
2520
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2520
2521
  label: string;
2521
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2522
+ id: string;
2522
2523
  capture: "at_action" | "historical_lookup" | "fixture";
2523
2524
  locator?: string | undefined;
2524
2525
  }[] | undefined;
@@ -2534,15 +2535,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2534
2535
  locator: z.ZodOptional<z.ZodString>;
2535
2536
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2536
2537
  }, "strict", z.ZodTypeAny, {
2537
- id: string;
2538
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
2539
  label: string;
2539
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2540
+ id: string;
2540
2541
  capture: "at_action" | "historical_lookup" | "fixture";
2541
2542
  locator?: string | undefined;
2542
2543
  }, {
2543
- id: string;
2544
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2544
2545
  label: string;
2545
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2546
+ id: string;
2546
2547
  capture: "at_action" | "historical_lookup" | "fixture";
2547
2548
  locator?: string | undefined;
2548
2549
  }>, "many">>;
@@ -2554,9 +2555,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2554
2555
  agentId: string;
2555
2556
  sessionId: string;
2556
2557
  evidence: {
2557
- id: string;
2558
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2558
2559
  label: string;
2559
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2560
+ id: string;
2560
2561
  capture: "at_action" | "historical_lookup" | "fixture";
2561
2562
  locator?: string | undefined;
2562
2563
  }[];
@@ -2573,9 +2574,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2573
2574
  recallReceiptId: string;
2574
2575
  staleDecisionAbsent: boolean;
2575
2576
  evidence?: {
2576
- id: string;
2577
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2577
2578
  label: string;
2578
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2579
+ id: string;
2579
2580
  capture: "at_action" | "historical_lookup" | "fixture";
2580
2581
  locator?: string | undefined;
2581
2582
  }[] | undefined;
@@ -2590,37 +2591,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2590
2591
  locator: z.ZodOptional<z.ZodString>;
2591
2592
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2592
2593
  }, "strict", z.ZodTypeAny, {
2593
- id: string;
2594
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
2595
  label: string;
2595
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
+ id: string;
2596
2597
  capture: "at_action" | "historical_lookup" | "fixture";
2597
2598
  locator?: string | undefined;
2598
2599
  }, {
2599
- id: string;
2600
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
2601
  label: string;
2601
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
+ id: string;
2602
2603
  capture: "at_action" | "historical_lookup" | "fixture";
2603
2604
  locator?: string | undefined;
2604
2605
  }>, "many">>;
2605
2606
  }, "strict", z.ZodTypeAny, {
2606
- summary: string;
2607
2607
  kind: "mission_completed";
2608
+ summary: string;
2608
2609
  outcome: "failed" | "recovered" | "inconclusive";
2609
2610
  evidence: {
2610
- id: string;
2611
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
2612
  label: string;
2612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
+ id: string;
2613
2614
  capture: "at_action" | "historical_lookup" | "fixture";
2614
2615
  locator?: string | undefined;
2615
2616
  }[];
2616
2617
  }, {
2617
- summary: string;
2618
2618
  kind: "mission_completed";
2619
+ summary: string;
2619
2620
  outcome: "failed" | "recovered" | "inconclusive";
2620
2621
  evidence?: {
2621
- id: string;
2622
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2622
2623
  label: string;
2623
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2624
+ id: string;
2624
2625
  capture: "at_action" | "historical_lookup" | "fixture";
2625
2626
  locator?: string | undefined;
2626
2627
  }[] | undefined;
@@ -2628,38 +2629,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2628
2629
  kind: "mission_started";
2629
2630
  title: string;
2630
2631
  evidence: {
2631
- id: string;
2632
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2632
2633
  label: string;
2633
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2634
+ id: string;
2634
2635
  capture: "at_action" | "historical_lookup" | "fixture";
2635
2636
  locator?: string | undefined;
2636
2637
  }[];
2637
2638
  objective: string;
2638
2639
  runMode: "replay" | "fixture" | "live";
2639
2640
  } | {
2640
- label: string;
2641
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2642
2641
  kind: "agent_status";
2642
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2643
+ label: string;
2643
2644
  role: string;
2644
2645
  agentId: string;
2645
2646
  sessionId: string;
2646
2647
  evidence: {
2647
- id: string;
2648
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2648
2649
  label: string;
2649
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2650
+ id: string;
2650
2651
  capture: "at_action" | "historical_lookup" | "fixture";
2651
2652
  locator?: string | undefined;
2652
2653
  }[];
2653
2654
  detail?: string | undefined;
2654
2655
  } | {
2655
- summary: string;
2656
2656
  kind: "agent_output";
2657
+ summary: string;
2657
2658
  agentId: string;
2658
2659
  sessionId: string;
2659
2660
  evidence: {
2660
- id: string;
2661
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2661
2662
  label: string;
2662
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2663
+ id: string;
2663
2664
  capture: "at_action" | "historical_lookup" | "fixture";
2664
2665
  locator?: string | undefined;
2665
2666
  }[];
@@ -2670,9 +2671,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2670
2671
  statement: string;
2671
2672
  sessionId: string;
2672
2673
  evidence: {
2673
- id: string;
2674
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2674
2675
  label: string;
2675
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2676
+ id: string;
2676
2677
  capture: "at_action" | "historical_lookup" | "fixture";
2677
2678
  locator?: string | undefined;
2678
2679
  }[];
@@ -2680,12 +2681,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2680
2681
  decisionId: string;
2681
2682
  confidence?: number | undefined;
2682
2683
  } | {
2683
- summary: string;
2684
2684
  kind: "conflict_detected";
2685
+ summary: string;
2685
2686
  evidence: {
2686
- id: string;
2687
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2687
2688
  label: string;
2688
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2689
+ id: string;
2689
2690
  capture: "at_action" | "historical_lookup" | "fixture";
2690
2691
  locator?: string | undefined;
2691
2692
  }[];
@@ -2693,14 +2694,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2693
2694
  decisionIds: string[];
2694
2695
  agentIds: string[];
2695
2696
  } | {
2697
+ kind: "test_result";
2696
2698
  summary: string;
2697
2699
  status: "error" | "failed" | "passed";
2698
- kind: "test_result";
2699
2700
  command: string;
2700
2701
  evidence: {
2701
- id: string;
2702
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
2703
  label: string;
2703
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2704
+ id: string;
2704
2705
  capture: "at_action" | "historical_lookup" | "fixture";
2705
2706
  locator?: string | undefined;
2706
2707
  }[];
@@ -2713,9 +2714,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2713
2714
  statement: string;
2714
2715
  rationale: string;
2715
2716
  evidence: {
2716
- id: string;
2717
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2717
2718
  label: string;
2718
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2719
+ id: string;
2719
2720
  capture: "at_action" | "historical_lookup" | "fixture";
2720
2721
  locator?: string | undefined;
2721
2722
  }[];
@@ -2727,25 +2728,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2727
2728
  } | {
2728
2729
  kind: "correction_approved";
2729
2730
  evidence: {
2730
- id: string;
2731
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2731
2732
  label: string;
2732
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
+ id: string;
2733
2734
  capture: "at_action" | "historical_lookup" | "fixture";
2734
2735
  locator?: string | undefined;
2735
2736
  }[];
2736
2737
  correctionId: string;
2737
2738
  approvedBy: {
2738
- id: string;
2739
- label: string;
2740
2739
  kind: "agent" | "human";
2740
+ label: string;
2741
+ id: string;
2741
2742
  };
2742
2743
  note?: string | undefined;
2743
2744
  } | {
2744
2745
  kind: "decision_superseded";
2745
2746
  evidence: {
2746
- id: string;
2747
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2747
2748
  label: string;
2748
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2749
+ id: string;
2749
2750
  capture: "at_action" | "historical_lookup" | "fixture";
2750
2751
  locator?: string | undefined;
2751
2752
  }[];
@@ -2758,9 +2759,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2758
2759
  agentId: string;
2759
2760
  sessionId: string;
2760
2761
  evidence: {
2761
- id: string;
2762
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
2763
  label: string;
2763
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2764
+ id: string;
2764
2765
  capture: "at_action" | "historical_lookup" | "fixture";
2765
2766
  locator?: string | undefined;
2766
2767
  }[];
@@ -2772,9 +2773,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2772
2773
  agentId: string;
2773
2774
  sessionId: string;
2774
2775
  evidence: {
2775
- id: string;
2776
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2776
2777
  label: string;
2777
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2778
+ id: string;
2778
2779
  capture: "at_action" | "historical_lookup" | "fixture";
2779
2780
  locator?: string | undefined;
2780
2781
  }[];
@@ -2783,13 +2784,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2783
2784
  recallReceiptId: string;
2784
2785
  staleDecisionAbsent: boolean;
2785
2786
  } | {
2786
- summary: string;
2787
2787
  kind: "mission_completed";
2788
+ summary: string;
2788
2789
  outcome: "failed" | "recovered" | "inconclusive";
2789
2790
  evidence: {
2790
- id: string;
2791
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2791
2792
  label: string;
2792
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2793
+ id: string;
2793
2794
  capture: "at_action" | "historical_lookup" | "fixture";
2794
2795
  locator?: string | undefined;
2795
2796
  }[];
@@ -2799,37 +2800,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2799
2800
  objective: string;
2800
2801
  runMode: "replay" | "fixture" | "live";
2801
2802
  evidence?: {
2802
- id: string;
2803
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2803
2804
  label: string;
2804
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2805
+ id: string;
2805
2806
  capture: "at_action" | "historical_lookup" | "fixture";
2806
2807
  locator?: string | undefined;
2807
2808
  }[] | undefined;
2808
2809
  } | {
2809
- label: string;
2810
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2811
2810
  kind: "agent_status";
2811
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2812
+ label: string;
2812
2813
  role: string;
2813
2814
  agentId: string;
2814
2815
  sessionId: string;
2815
2816
  detail?: string | undefined;
2816
2817
  evidence?: {
2817
- id: string;
2818
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2818
2819
  label: string;
2819
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2820
+ id: string;
2820
2821
  capture: "at_action" | "historical_lookup" | "fixture";
2821
2822
  locator?: string | undefined;
2822
2823
  }[] | undefined;
2823
2824
  } | {
2824
- summary: string;
2825
2825
  kind: "agent_output";
2826
+ summary: string;
2826
2827
  agentId: string;
2827
2828
  sessionId: string;
2828
2829
  outputId: string;
2829
2830
  evidence?: {
2830
- id: string;
2831
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2831
2832
  label: string;
2832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2833
+ id: string;
2833
2834
  capture: "at_action" | "historical_lookup" | "fixture";
2834
2835
  locator?: string | undefined;
2835
2836
  }[] | undefined;
@@ -2842,37 +2843,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2842
2843
  decisionId: string;
2843
2844
  confidence?: number | undefined;
2844
2845
  evidence?: {
2845
- id: string;
2846
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2846
2847
  label: string;
2847
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2848
+ id: string;
2848
2849
  capture: "at_action" | "historical_lookup" | "fixture";
2849
2850
  locator?: string | undefined;
2850
2851
  }[] | undefined;
2851
2852
  } | {
2852
- summary: string;
2853
2853
  kind: "conflict_detected";
2854
+ summary: string;
2854
2855
  conflictId: string;
2855
2856
  decisionIds: string[];
2856
2857
  agentIds: string[];
2857
2858
  evidence?: {
2858
- id: string;
2859
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2859
2860
  label: string;
2860
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2861
+ id: string;
2861
2862
  capture: "at_action" | "historical_lookup" | "fixture";
2862
2863
  locator?: string | undefined;
2863
2864
  }[] | undefined;
2864
2865
  } | {
2866
+ kind: "test_result";
2865
2867
  summary: string;
2866
2868
  status: "error" | "failed" | "passed";
2867
- kind: "test_result";
2868
2869
  command: string;
2869
2870
  decisionId: string;
2870
2871
  testId: string;
2871
2872
  durationMs?: number | undefined;
2872
2873
  evidence?: {
2873
- id: string;
2874
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2874
2875
  label: string;
2875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
+ id: string;
2876
2877
  capture: "at_action" | "historical_lookup" | "fixture";
2877
2878
  locator?: string | undefined;
2878
2879
  }[] | undefined;
@@ -2887,9 +2888,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2887
2888
  supersedesDecisionIds: string[];
2888
2889
  proposedBy: string;
2889
2890
  evidence?: {
2890
- id: string;
2891
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2891
2892
  label: string;
2892
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2893
+ id: string;
2893
2894
  capture: "at_action" | "historical_lookup" | "fixture";
2894
2895
  locator?: string | undefined;
2895
2896
  }[] | undefined;
@@ -2897,15 +2898,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2897
2898
  kind: "correction_approved";
2898
2899
  correctionId: string;
2899
2900
  approvedBy: {
2900
- id: string;
2901
- label: string;
2902
2901
  kind: "agent" | "human";
2902
+ label: string;
2903
+ id: string;
2903
2904
  };
2904
2905
  note?: string | undefined;
2905
2906
  evidence?: {
2906
- id: string;
2907
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
2908
  label: string;
2908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
+ id: string;
2909
2910
  capture: "at_action" | "historical_lookup" | "fixture";
2910
2911
  locator?: string | undefined;
2911
2912
  }[] | undefined;
@@ -2915,9 +2916,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2915
2916
  correctionId: string;
2916
2917
  replacementDecisionId: string;
2917
2918
  evidence?: {
2918
- id: string;
2919
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2919
2920
  label: string;
2920
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2921
+ id: string;
2921
2922
  capture: "at_action" | "historical_lookup" | "fixture";
2922
2923
  locator?: string | undefined;
2923
2924
  }[] | undefined;
@@ -2930,9 +2931,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2930
2931
  recallReceiptId: string;
2931
2932
  capturedAtAction: boolean;
2932
2933
  evidence?: {
2933
- id: string;
2934
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2934
2935
  label: string;
2935
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2936
+ id: string;
2936
2937
  capture: "at_action" | "historical_lookup" | "fixture";
2937
2938
  locator?: string | undefined;
2938
2939
  }[] | undefined;
@@ -2945,20 +2946,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2945
2946
  recallReceiptId: string;
2946
2947
  staleDecisionAbsent: boolean;
2947
2948
  evidence?: {
2948
- id: string;
2949
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
2950
  label: string;
2950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2951
+ id: string;
2951
2952
  capture: "at_action" | "historical_lookup" | "fixture";
2952
2953
  locator?: string | undefined;
2953
2954
  }[] | undefined;
2954
2955
  } | {
2955
- summary: string;
2956
2956
  kind: "mission_completed";
2957
+ summary: string;
2957
2958
  outcome: "failed" | "recovered" | "inconclusive";
2958
2959
  evidence?: {
2959
- id: string;
2960
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2960
2961
  label: string;
2961
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2962
+ id: string;
2962
2963
  capture: "at_action" | "historical_lookup" | "fixture";
2963
2964
  locator?: string | undefined;
2964
2965
  }[] | undefined;
@@ -2968,38 +2969,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2968
2969
  kind: "mission_started";
2969
2970
  title: string;
2970
2971
  evidence: {
2971
- id: string;
2972
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2972
2973
  label: string;
2973
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2974
+ id: string;
2974
2975
  capture: "at_action" | "historical_lookup" | "fixture";
2975
2976
  locator?: string | undefined;
2976
2977
  }[];
2977
2978
  objective: string;
2978
2979
  runMode: "replay" | "fixture" | "live";
2979
2980
  } | {
2980
- label: string;
2981
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2982
2981
  kind: "agent_status";
2982
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2983
+ label: string;
2983
2984
  role: string;
2984
2985
  agentId: string;
2985
2986
  sessionId: string;
2986
2987
  evidence: {
2987
- id: string;
2988
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2988
2989
  label: string;
2989
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2990
+ id: string;
2990
2991
  capture: "at_action" | "historical_lookup" | "fixture";
2991
2992
  locator?: string | undefined;
2992
2993
  }[];
2993
2994
  detail?: string | undefined;
2994
2995
  } | {
2995
- summary: string;
2996
2996
  kind: "agent_output";
2997
+ summary: string;
2997
2998
  agentId: string;
2998
2999
  sessionId: string;
2999
3000
  evidence: {
3000
- id: string;
3001
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3001
3002
  label: string;
3002
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3003
+ id: string;
3003
3004
  capture: "at_action" | "historical_lookup" | "fixture";
3004
3005
  locator?: string | undefined;
3005
3006
  }[];
@@ -3010,9 +3011,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3010
3011
  statement: string;
3011
3012
  sessionId: string;
3012
3013
  evidence: {
3013
- id: string;
3014
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3014
3015
  label: string;
3015
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3016
+ id: string;
3016
3017
  capture: "at_action" | "historical_lookup" | "fixture";
3017
3018
  locator?: string | undefined;
3018
3019
  }[];
@@ -3020,12 +3021,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3020
3021
  decisionId: string;
3021
3022
  confidence?: number | undefined;
3022
3023
  } | {
3023
- summary: string;
3024
3024
  kind: "conflict_detected";
3025
+ summary: string;
3025
3026
  evidence: {
3026
- id: string;
3027
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3027
3028
  label: string;
3028
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3029
+ id: string;
3029
3030
  capture: "at_action" | "historical_lookup" | "fixture";
3030
3031
  locator?: string | undefined;
3031
3032
  }[];
@@ -3033,14 +3034,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3033
3034
  decisionIds: string[];
3034
3035
  agentIds: string[];
3035
3036
  } | {
3037
+ kind: "test_result";
3036
3038
  summary: string;
3037
3039
  status: "error" | "failed" | "passed";
3038
- kind: "test_result";
3039
3040
  command: string;
3040
3041
  evidence: {
3041
- id: string;
3042
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3042
3043
  label: string;
3043
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3044
+ id: string;
3044
3045
  capture: "at_action" | "historical_lookup" | "fixture";
3045
3046
  locator?: string | undefined;
3046
3047
  }[];
@@ -3053,9 +3054,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3053
3054
  statement: string;
3054
3055
  rationale: string;
3055
3056
  evidence: {
3056
- id: string;
3057
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
3058
  label: string;
3058
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3059
+ id: string;
3059
3060
  capture: "at_action" | "historical_lookup" | "fixture";
3060
3061
  locator?: string | undefined;
3061
3062
  }[];
@@ -3067,25 +3068,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3067
3068
  } | {
3068
3069
  kind: "correction_approved";
3069
3070
  evidence: {
3070
- id: string;
3071
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3071
3072
  label: string;
3072
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3073
+ id: string;
3073
3074
  capture: "at_action" | "historical_lookup" | "fixture";
3074
3075
  locator?: string | undefined;
3075
3076
  }[];
3076
3077
  correctionId: string;
3077
3078
  approvedBy: {
3078
- id: string;
3079
- label: string;
3080
3079
  kind: "agent" | "human";
3080
+ label: string;
3081
+ id: string;
3081
3082
  };
3082
3083
  note?: string | undefined;
3083
3084
  } | {
3084
3085
  kind: "decision_superseded";
3085
3086
  evidence: {
3086
- id: string;
3087
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3087
3088
  label: string;
3088
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3089
+ id: string;
3089
3090
  capture: "at_action" | "historical_lookup" | "fixture";
3090
3091
  locator?: string | undefined;
3091
3092
  }[];
@@ -3098,9 +3099,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3098
3099
  agentId: string;
3099
3100
  sessionId: string;
3100
3101
  evidence: {
3101
- id: string;
3102
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3102
3103
  label: string;
3103
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3104
+ id: string;
3104
3105
  capture: "at_action" | "historical_lookup" | "fixture";
3105
3106
  locator?: string | undefined;
3106
3107
  }[];
@@ -3112,9 +3113,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3112
3113
  agentId: string;
3113
3114
  sessionId: string;
3114
3115
  evidence: {
3115
- id: string;
3116
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
3117
  label: string;
3117
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3118
+ id: string;
3118
3119
  capture: "at_action" | "historical_lookup" | "fixture";
3119
3120
  locator?: string | undefined;
3120
3121
  }[];
@@ -3123,13 +3124,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3123
3124
  recallReceiptId: string;
3124
3125
  staleDecisionAbsent: boolean;
3125
3126
  } | {
3126
- summary: string;
3127
3127
  kind: "mission_completed";
3128
+ summary: string;
3128
3129
  outcome: "failed" | "recovered" | "inconclusive";
3129
3130
  evidence: {
3130
- id: string;
3131
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
3132
  label: string;
3132
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3133
+ id: string;
3133
3134
  capture: "at_action" | "historical_lookup" | "fixture";
3134
3135
  locator?: string | undefined;
3135
3136
  }[];
@@ -3143,37 +3144,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3143
3144
  objective: string;
3144
3145
  runMode: "replay" | "fixture" | "live";
3145
3146
  evidence?: {
3146
- id: string;
3147
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3147
3148
  label: string;
3148
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3149
+ id: string;
3149
3150
  capture: "at_action" | "historical_lookup" | "fixture";
3150
3151
  locator?: string | undefined;
3151
3152
  }[] | undefined;
3152
3153
  } | {
3153
- label: string;
3154
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3155
3154
  kind: "agent_status";
3155
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3156
+ label: string;
3156
3157
  role: string;
3157
3158
  agentId: string;
3158
3159
  sessionId: string;
3159
3160
  detail?: string | undefined;
3160
3161
  evidence?: {
3161
- id: string;
3162
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
3163
  label: string;
3163
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3164
+ id: string;
3164
3165
  capture: "at_action" | "historical_lookup" | "fixture";
3165
3166
  locator?: string | undefined;
3166
3167
  }[] | undefined;
3167
3168
  } | {
3168
- summary: string;
3169
3169
  kind: "agent_output";
3170
+ summary: string;
3170
3171
  agentId: string;
3171
3172
  sessionId: string;
3172
3173
  outputId: string;
3173
3174
  evidence?: {
3174
- id: string;
3175
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3175
3176
  label: string;
3176
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3177
+ id: string;
3177
3178
  capture: "at_action" | "historical_lookup" | "fixture";
3178
3179
  locator?: string | undefined;
3179
3180
  }[] | undefined;
@@ -3186,37 +3187,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3186
3187
  decisionId: string;
3187
3188
  confidence?: number | undefined;
3188
3189
  evidence?: {
3189
- id: string;
3190
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3190
3191
  label: string;
3191
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3192
+ id: string;
3192
3193
  capture: "at_action" | "historical_lookup" | "fixture";
3193
3194
  locator?: string | undefined;
3194
3195
  }[] | undefined;
3195
3196
  } | {
3196
- summary: string;
3197
3197
  kind: "conflict_detected";
3198
+ summary: string;
3198
3199
  conflictId: string;
3199
3200
  decisionIds: string[];
3200
3201
  agentIds: string[];
3201
3202
  evidence?: {
3202
- id: string;
3203
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3203
3204
  label: string;
3204
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3205
+ id: string;
3205
3206
  capture: "at_action" | "historical_lookup" | "fixture";
3206
3207
  locator?: string | undefined;
3207
3208
  }[] | undefined;
3208
3209
  } | {
3210
+ kind: "test_result";
3209
3211
  summary: string;
3210
3212
  status: "error" | "failed" | "passed";
3211
- kind: "test_result";
3212
3213
  command: string;
3213
3214
  decisionId: string;
3214
3215
  testId: string;
3215
3216
  durationMs?: number | undefined;
3216
3217
  evidence?: {
3217
- id: string;
3218
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3218
3219
  label: string;
3219
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3220
+ id: string;
3220
3221
  capture: "at_action" | "historical_lookup" | "fixture";
3221
3222
  locator?: string | undefined;
3222
3223
  }[] | undefined;
@@ -3231,9 +3232,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3231
3232
  supersedesDecisionIds: string[];
3232
3233
  proposedBy: string;
3233
3234
  evidence?: {
3234
- id: string;
3235
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3235
3236
  label: string;
3236
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3237
+ id: string;
3237
3238
  capture: "at_action" | "historical_lookup" | "fixture";
3238
3239
  locator?: string | undefined;
3239
3240
  }[] | undefined;
@@ -3241,15 +3242,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3241
3242
  kind: "correction_approved";
3242
3243
  correctionId: string;
3243
3244
  approvedBy: {
3244
- id: string;
3245
- label: string;
3246
3245
  kind: "agent" | "human";
3246
+ label: string;
3247
+ id: string;
3247
3248
  };
3248
3249
  note?: string | undefined;
3249
3250
  evidence?: {
3250
- id: string;
3251
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3251
3252
  label: string;
3252
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3253
+ id: string;
3253
3254
  capture: "at_action" | "historical_lookup" | "fixture";
3254
3255
  locator?: string | undefined;
3255
3256
  }[] | undefined;
@@ -3259,9 +3260,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3259
3260
  correctionId: string;
3260
3261
  replacementDecisionId: string;
3261
3262
  evidence?: {
3262
- id: string;
3263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3263
3264
  label: string;
3264
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3265
+ id: string;
3265
3266
  capture: "at_action" | "historical_lookup" | "fixture";
3266
3267
  locator?: string | undefined;
3267
3268
  }[] | undefined;
@@ -3274,9 +3275,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3274
3275
  recallReceiptId: string;
3275
3276
  capturedAtAction: boolean;
3276
3277
  evidence?: {
3277
- id: string;
3278
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3278
3279
  label: string;
3279
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3280
+ id: string;
3280
3281
  capture: "at_action" | "historical_lookup" | "fixture";
3281
3282
  locator?: string | undefined;
3282
3283
  }[] | undefined;
@@ -3289,20 +3290,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3289
3290
  recallReceiptId: string;
3290
3291
  staleDecisionAbsent: boolean;
3291
3292
  evidence?: {
3292
- id: string;
3293
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3293
3294
  label: string;
3294
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
+ id: string;
3295
3296
  capture: "at_action" | "historical_lookup" | "fixture";
3296
3297
  locator?: string | undefined;
3297
3298
  }[] | undefined;
3298
3299
  } | {
3299
- summary: string;
3300
3300
  kind: "mission_completed";
3301
+ summary: string;
3301
3302
  outcome: "failed" | "recovered" | "inconclusive";
3302
3303
  evidence?: {
3303
- id: string;
3304
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3304
3305
  label: string;
3305
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3306
+ id: string;
3306
3307
  capture: "at_action" | "historical_lookup" | "fixture";
3307
3308
  locator?: string | undefined;
3308
3309
  }[] | undefined;
@@ -3332,15 +3333,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3332
3333
  locator: z.ZodOptional<z.ZodString>;
3333
3334
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3334
3335
  }, "strict", z.ZodTypeAny, {
3335
- id: string;
3336
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3336
3337
  label: string;
3337
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
+ id: string;
3338
3339
  capture: "at_action" | "historical_lookup" | "fixture";
3339
3340
  locator?: string | undefined;
3340
3341
  }, {
3341
- id: string;
3342
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3342
3343
  label: string;
3343
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
+ id: string;
3344
3345
  capture: "at_action" | "historical_lookup" | "fixture";
3345
3346
  locator?: string | undefined;
3346
3347
  }>, "many">>;
@@ -3348,9 +3349,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3348
3349
  kind: "mission_started";
3349
3350
  title: string;
3350
3351
  evidence: {
3351
- id: string;
3352
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
3353
  label: string;
3353
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3354
+ id: string;
3354
3355
  capture: "at_action" | "historical_lookup" | "fixture";
3355
3356
  locator?: string | undefined;
3356
3357
  }[];
@@ -3362,9 +3363,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3362
3363
  objective: string;
3363
3364
  runMode: "replay" | "fixture" | "live";
3364
3365
  evidence?: {
3365
- id: string;
3366
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3366
3367
  label: string;
3367
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3368
+ id: string;
3368
3369
  capture: "at_action" | "historical_lookup" | "fixture";
3369
3370
  locator?: string | undefined;
3370
3371
  }[] | undefined;
@@ -3380,15 +3381,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3380
3381
  locator: z.ZodOptional<z.ZodString>;
3381
3382
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3382
3383
  }, "strict", z.ZodTypeAny, {
3383
- id: string;
3384
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3384
3385
  label: string;
3385
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3386
+ id: string;
3386
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3387
3388
  locator?: string | undefined;
3388
3389
  }, {
3389
- id: string;
3390
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3390
3391
  label: string;
3391
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3392
+ id: string;
3392
3393
  capture: "at_action" | "historical_lookup" | "fixture";
3393
3394
  locator?: string | undefined;
3394
3395
  }>, "many">>;
@@ -3396,32 +3397,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3396
3397
  sessionId: z.ZodString;
3397
3398
  kind: z.ZodLiteral<"agent_status">;
3398
3399
  }, "strict", z.ZodTypeAny, {
3399
- label: string;
3400
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3401
3400
  kind: "agent_status";
3401
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3402
+ label: string;
3402
3403
  role: string;
3403
3404
  agentId: string;
3404
3405
  sessionId: string;
3405
3406
  evidence: {
3406
- id: string;
3407
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3407
3408
  label: string;
3408
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3409
+ id: string;
3409
3410
  capture: "at_action" | "historical_lookup" | "fixture";
3410
3411
  locator?: string | undefined;
3411
3412
  }[];
3412
3413
  detail?: string | undefined;
3413
3414
  }, {
3414
- label: string;
3415
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3416
3415
  kind: "agent_status";
3416
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3417
+ label: string;
3417
3418
  role: string;
3418
3419
  agentId: string;
3419
3420
  sessionId: string;
3420
3421
  detail?: string | undefined;
3421
3422
  evidence?: {
3422
- id: string;
3423
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3423
3424
  label: string;
3424
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3425
+ id: string;
3425
3426
  capture: "at_action" | "historical_lookup" | "fixture";
3426
3427
  locator?: string | undefined;
3427
3428
  }[] | undefined;
@@ -3435,15 +3436,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3435
3436
  locator: z.ZodOptional<z.ZodString>;
3436
3437
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3437
3438
  }, "strict", z.ZodTypeAny, {
3438
- id: string;
3439
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3439
3440
  label: string;
3440
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3441
+ id: string;
3441
3442
  capture: "at_action" | "historical_lookup" | "fixture";
3442
3443
  locator?: string | undefined;
3443
3444
  }, {
3444
- id: string;
3445
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3445
3446
  label: string;
3446
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3447
+ id: string;
3447
3448
  capture: "at_action" | "historical_lookup" | "fixture";
3448
3449
  locator?: string | undefined;
3449
3450
  }>, "many">>;
@@ -3451,28 +3452,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3451
3452
  sessionId: z.ZodString;
3452
3453
  kind: z.ZodLiteral<"agent_output">;
3453
3454
  }, "strict", z.ZodTypeAny, {
3454
- summary: string;
3455
3455
  kind: "agent_output";
3456
+ summary: string;
3456
3457
  agentId: string;
3457
3458
  sessionId: string;
3458
3459
  evidence: {
3459
- id: string;
3460
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
3461
  label: string;
3461
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3462
+ id: string;
3462
3463
  capture: "at_action" | "historical_lookup" | "fixture";
3463
3464
  locator?: string | undefined;
3464
3465
  }[];
3465
3466
  outputId: string;
3466
3467
  }, {
3467
- summary: string;
3468
3468
  kind: "agent_output";
3469
+ summary: string;
3469
3470
  agentId: string;
3470
3471
  sessionId: string;
3471
3472
  outputId: string;
3472
3473
  evidence?: {
3473
- id: string;
3474
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3474
3475
  label: string;
3475
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3476
+ id: string;
3476
3477
  capture: "at_action" | "historical_lookup" | "fixture";
3477
3478
  locator?: string | undefined;
3478
3479
  }[] | undefined;
@@ -3488,15 +3489,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3488
3489
  locator: z.ZodOptional<z.ZodString>;
3489
3490
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3490
3491
  }, "strict", z.ZodTypeAny, {
3491
- id: string;
3492
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3492
3493
  label: string;
3493
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3494
+ id: string;
3494
3495
  capture: "at_action" | "historical_lookup" | "fixture";
3495
3496
  locator?: string | undefined;
3496
3497
  }, {
3497
- id: string;
3498
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3498
3499
  label: string;
3499
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3500
+ id: string;
3500
3501
  capture: "at_action" | "historical_lookup" | "fixture";
3501
3502
  locator?: string | undefined;
3502
3503
  }>, "many">>;
@@ -3509,9 +3510,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3509
3510
  statement: string;
3510
3511
  sessionId: string;
3511
3512
  evidence: {
3512
- id: string;
3513
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3513
3514
  label: string;
3514
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3515
+ id: string;
3515
3516
  capture: "at_action" | "historical_lookup" | "fixture";
3516
3517
  locator?: string | undefined;
3517
3518
  }[];
@@ -3527,9 +3528,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3527
3528
  decisionId: string;
3528
3529
  confidence?: number | undefined;
3529
3530
  evidence?: {
3530
- id: string;
3531
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3531
3532
  label: string;
3532
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3533
+ id: string;
3533
3534
  capture: "at_action" | "historical_lookup" | "fixture";
3534
3535
  locator?: string | undefined;
3535
3536
  }[] | undefined;
@@ -3546,25 +3547,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3546
3547
  locator: z.ZodOptional<z.ZodString>;
3547
3548
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3548
3549
  }, "strict", z.ZodTypeAny, {
3549
- id: string;
3550
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
3551
  label: string;
3551
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3552
+ id: string;
3552
3553
  capture: "at_action" | "historical_lookup" | "fixture";
3553
3554
  locator?: string | undefined;
3554
3555
  }, {
3555
- id: string;
3556
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3556
3557
  label: string;
3557
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3558
+ id: string;
3558
3559
  capture: "at_action" | "historical_lookup" | "fixture";
3559
3560
  locator?: string | undefined;
3560
3561
  }>, "many">>;
3561
3562
  }, "strict", z.ZodTypeAny, {
3562
- summary: string;
3563
3563
  kind: "conflict_detected";
3564
+ summary: string;
3564
3565
  evidence: {
3565
- id: string;
3566
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3566
3567
  label: string;
3567
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3568
+ id: string;
3568
3569
  capture: "at_action" | "historical_lookup" | "fixture";
3569
3570
  locator?: string | undefined;
3570
3571
  }[];
@@ -3572,15 +3573,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3572
3573
  decisionIds: string[];
3573
3574
  agentIds: string[];
3574
3575
  }, {
3575
- summary: string;
3576
3576
  kind: "conflict_detected";
3577
+ summary: string;
3577
3578
  conflictId: string;
3578
3579
  decisionIds: string[];
3579
3580
  agentIds: string[];
3580
3581
  evidence?: {
3581
- id: string;
3582
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3582
3583
  label: string;
3583
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3584
+ id: string;
3584
3585
  capture: "at_action" | "historical_lookup" | "fixture";
3585
3586
  locator?: string | undefined;
3586
3587
  }[] | undefined;
@@ -3600,27 +3601,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3600
3601
  locator: z.ZodOptional<z.ZodString>;
3601
3602
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3602
3603
  }, "strict", z.ZodTypeAny, {
3603
- id: string;
3604
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
3605
  label: string;
3605
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3606
+ id: string;
3606
3607
  capture: "at_action" | "historical_lookup" | "fixture";
3607
3608
  locator?: string | undefined;
3608
3609
  }, {
3609
- id: string;
3610
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3610
3611
  label: string;
3611
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3612
+ id: string;
3612
3613
  capture: "at_action" | "historical_lookup" | "fixture";
3613
3614
  locator?: string | undefined;
3614
3615
  }>, "many">>;
3615
3616
  }, "strict", z.ZodTypeAny, {
3617
+ kind: "test_result";
3616
3618
  summary: string;
3617
3619
  status: "error" | "failed" | "passed";
3618
- kind: "test_result";
3619
3620
  command: string;
3620
3621
  evidence: {
3621
- id: string;
3622
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3622
3623
  label: string;
3623
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3624
+ id: string;
3624
3625
  capture: "at_action" | "historical_lookup" | "fixture";
3625
3626
  locator?: string | undefined;
3626
3627
  }[];
@@ -3629,17 +3630,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3629
3630
  durationMs?: number | undefined;
3630
3631
  correctionId?: string | undefined;
3631
3632
  }, {
3633
+ kind: "test_result";
3632
3634
  summary: string;
3633
3635
  status: "error" | "failed" | "passed";
3634
- kind: "test_result";
3635
3636
  command: string;
3636
3637
  decisionId: string;
3637
3638
  testId: string;
3638
3639
  durationMs?: number | undefined;
3639
3640
  evidence?: {
3640
- id: string;
3641
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3641
3642
  label: string;
3642
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3643
+ id: string;
3643
3644
  capture: "at_action" | "historical_lookup" | "fixture";
3644
3645
  locator?: string | undefined;
3645
3646
  }[] | undefined;
@@ -3660,15 +3661,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3660
3661
  locator: z.ZodOptional<z.ZodString>;
3661
3662
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3662
3663
  }, "strict", z.ZodTypeAny, {
3663
- id: string;
3664
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
3665
  label: string;
3665
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3666
+ id: string;
3666
3667
  capture: "at_action" | "historical_lookup" | "fixture";
3667
3668
  locator?: string | undefined;
3668
3669
  }, {
3669
- id: string;
3670
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3670
3671
  label: string;
3671
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3672
+ id: string;
3672
3673
  capture: "at_action" | "historical_lookup" | "fixture";
3673
3674
  locator?: string | undefined;
3674
3675
  }>, "many">>;
@@ -3677,9 +3678,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3677
3678
  statement: string;
3678
3679
  rationale: string;
3679
3680
  evidence: {
3680
- id: string;
3681
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3681
3682
  label: string;
3682
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3683
+ id: string;
3683
3684
  capture: "at_action" | "historical_lookup" | "fixture";
3684
3685
  locator?: string | undefined;
3685
3686
  }[];
@@ -3698,9 +3699,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3698
3699
  supersedesDecisionIds: string[];
3699
3700
  proposedBy: string;
3700
3701
  evidence?: {
3701
- id: string;
3702
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3702
3703
  label: string;
3703
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3704
+ id: string;
3704
3705
  capture: "at_action" | "historical_lookup" | "fixture";
3705
3706
  locator?: string | undefined;
3706
3707
  }[] | undefined;
@@ -3712,13 +3713,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3712
3713
  id: z.ZodString;
3713
3714
  label: z.ZodString;
3714
3715
  }, "strict", z.ZodTypeAny, {
3715
- id: string;
3716
- label: string;
3717
3716
  kind: "agent" | "human";
3718
- }, {
3719
- id: string;
3720
3717
  label: string;
3718
+ id: string;
3719
+ }, {
3721
3720
  kind: "agent" | "human";
3721
+ label: string;
3722
+ id: string;
3722
3723
  }>;
3723
3724
  note: z.ZodOptional<z.ZodString>;
3724
3725
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3728,47 +3729,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3728
3729
  locator: z.ZodOptional<z.ZodString>;
3729
3730
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3730
3731
  }, "strict", z.ZodTypeAny, {
3731
- id: string;
3732
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
3733
  label: string;
3733
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3734
+ id: string;
3734
3735
  capture: "at_action" | "historical_lookup" | "fixture";
3735
3736
  locator?: string | undefined;
3736
3737
  }, {
3737
- id: string;
3738
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
3739
  label: string;
3739
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3740
+ id: string;
3740
3741
  capture: "at_action" | "historical_lookup" | "fixture";
3741
3742
  locator?: string | undefined;
3742
3743
  }>, "many">>;
3743
3744
  }, "strict", z.ZodTypeAny, {
3744
3745
  kind: "correction_approved";
3745
3746
  evidence: {
3746
- id: string;
3747
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3747
3748
  label: string;
3748
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3749
+ id: string;
3749
3750
  capture: "at_action" | "historical_lookup" | "fixture";
3750
3751
  locator?: string | undefined;
3751
3752
  }[];
3752
3753
  correctionId: string;
3753
3754
  approvedBy: {
3754
- id: string;
3755
- label: string;
3756
3755
  kind: "agent" | "human";
3756
+ label: string;
3757
+ id: string;
3757
3758
  };
3758
3759
  note?: string | undefined;
3759
3760
  }, {
3760
3761
  kind: "correction_approved";
3761
3762
  correctionId: string;
3762
3763
  approvedBy: {
3763
- id: string;
3764
- label: string;
3765
3764
  kind: "agent" | "human";
3765
+ label: string;
3766
+ id: string;
3766
3767
  };
3767
3768
  note?: string | undefined;
3768
3769
  evidence?: {
3769
- id: string;
3770
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3770
3771
  label: string;
3771
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3772
+ id: string;
3772
3773
  capture: "at_action" | "historical_lookup" | "fixture";
3773
3774
  locator?: string | undefined;
3774
3775
  }[] | undefined;
@@ -3784,24 +3785,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3784
3785
  locator: z.ZodOptional<z.ZodString>;
3785
3786
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3786
3787
  }, "strict", z.ZodTypeAny, {
3787
- id: string;
3788
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3788
3789
  label: string;
3789
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3790
+ id: string;
3790
3791
  capture: "at_action" | "historical_lookup" | "fixture";
3791
3792
  locator?: string | undefined;
3792
3793
  }, {
3793
- id: string;
3794
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
3795
  label: string;
3795
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3796
+ id: string;
3796
3797
  capture: "at_action" | "historical_lookup" | "fixture";
3797
3798
  locator?: string | undefined;
3798
3799
  }>, "many">>;
3799
3800
  }, "strict", z.ZodTypeAny, {
3800
3801
  kind: "decision_superseded";
3801
3802
  evidence: {
3802
- id: string;
3803
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3803
3804
  label: string;
3804
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3805
+ id: string;
3805
3806
  capture: "at_action" | "historical_lookup" | "fixture";
3806
3807
  locator?: string | undefined;
3807
3808
  }[];
@@ -3814,9 +3815,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3814
3815
  correctionId: string;
3815
3816
  replacementDecisionId: string;
3816
3817
  evidence?: {
3817
- id: string;
3818
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3818
3819
  label: string;
3819
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3820
+ id: string;
3820
3821
  capture: "at_action" | "historical_lookup" | "fixture";
3821
3822
  locator?: string | undefined;
3822
3823
  }[] | undefined;
@@ -3832,15 +3833,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3832
3833
  locator: z.ZodOptional<z.ZodString>;
3833
3834
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3834
3835
  }, "strict", z.ZodTypeAny, {
3835
- id: string;
3836
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
3837
  label: string;
3837
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3838
+ id: string;
3838
3839
  capture: "at_action" | "historical_lookup" | "fixture";
3839
3840
  locator?: string | undefined;
3840
3841
  }, {
3841
- id: string;
3842
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3842
3843
  label: string;
3843
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3844
+ id: string;
3844
3845
  capture: "at_action" | "historical_lookup" | "fixture";
3845
3846
  locator?: string | undefined;
3846
3847
  }>, "many">>;
@@ -3853,9 +3854,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3853
3854
  agentId: string;
3854
3855
  sessionId: string;
3855
3856
  evidence: {
3856
- id: string;
3857
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3857
3858
  label: string;
3858
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3859
+ id: string;
3859
3860
  capture: "at_action" | "historical_lookup" | "fixture";
3860
3861
  locator?: string | undefined;
3861
3862
  }[];
@@ -3871,9 +3872,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3871
3872
  recallReceiptId: string;
3872
3873
  capturedAtAction: boolean;
3873
3874
  evidence?: {
3874
- id: string;
3875
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3875
3876
  label: string;
3876
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3877
+ id: string;
3877
3878
  capture: "at_action" | "historical_lookup" | "fixture";
3878
3879
  locator?: string | undefined;
3879
3880
  }[] | undefined;
@@ -3889,15 +3890,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3889
3890
  locator: z.ZodOptional<z.ZodString>;
3890
3891
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3891
3892
  }, "strict", z.ZodTypeAny, {
3892
- id: string;
3893
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
3894
  label: string;
3894
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3895
+ id: string;
3895
3896
  capture: "at_action" | "historical_lookup" | "fixture";
3896
3897
  locator?: string | undefined;
3897
3898
  }, {
3898
- id: string;
3899
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3899
3900
  label: string;
3900
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3901
+ id: string;
3901
3902
  capture: "at_action" | "historical_lookup" | "fixture";
3902
3903
  locator?: string | undefined;
3903
3904
  }>, "many">>;
@@ -3909,9 +3910,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3909
3910
  agentId: string;
3910
3911
  sessionId: string;
3911
3912
  evidence: {
3912
- id: string;
3913
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3913
3914
  label: string;
3914
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3915
+ id: string;
3915
3916
  capture: "at_action" | "historical_lookup" | "fixture";
3916
3917
  locator?: string | undefined;
3917
3918
  }[];
@@ -3928,9 +3929,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3928
3929
  recallReceiptId: string;
3929
3930
  staleDecisionAbsent: boolean;
3930
3931
  evidence?: {
3931
- id: string;
3932
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3932
3933
  label: string;
3933
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3934
+ id: string;
3934
3935
  capture: "at_action" | "historical_lookup" | "fixture";
3935
3936
  locator?: string | undefined;
3936
3937
  }[] | undefined;
@@ -3945,37 +3946,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3945
3946
  locator: z.ZodOptional<z.ZodString>;
3946
3947
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3947
3948
  }, "strict", z.ZodTypeAny, {
3948
- id: string;
3949
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
3950
  label: string;
3950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
+ id: string;
3951
3952
  capture: "at_action" | "historical_lookup" | "fixture";
3952
3953
  locator?: string | undefined;
3953
3954
  }, {
3954
- id: string;
3955
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
3956
  label: string;
3956
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
+ id: string;
3957
3958
  capture: "at_action" | "historical_lookup" | "fixture";
3958
3959
  locator?: string | undefined;
3959
3960
  }>, "many">>;
3960
3961
  }, "strict", z.ZodTypeAny, {
3961
- summary: string;
3962
3962
  kind: "mission_completed";
3963
+ summary: string;
3963
3964
  outcome: "failed" | "recovered" | "inconclusive";
3964
3965
  evidence: {
3965
- id: string;
3966
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
3967
  label: string;
3967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
+ id: string;
3968
3969
  capture: "at_action" | "historical_lookup" | "fixture";
3969
3970
  locator?: string | undefined;
3970
3971
  }[];
3971
3972
  }, {
3972
- summary: string;
3973
3973
  kind: "mission_completed";
3974
+ summary: string;
3974
3975
  outcome: "failed" | "recovered" | "inconclusive";
3975
3976
  evidence?: {
3976
- id: string;
3977
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3977
3978
  label: string;
3978
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3979
+ id: string;
3979
3980
  capture: "at_action" | "historical_lookup" | "fixture";
3980
3981
  locator?: string | undefined;
3981
3982
  }[] | undefined;
@@ -3983,38 +3984,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3983
3984
  kind: "mission_started";
3984
3985
  title: string;
3985
3986
  evidence: {
3986
- id: string;
3987
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3987
3988
  label: string;
3988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3989
+ id: string;
3989
3990
  capture: "at_action" | "historical_lookup" | "fixture";
3990
3991
  locator?: string | undefined;
3991
3992
  }[];
3992
3993
  objective: string;
3993
3994
  runMode: "replay" | "fixture" | "live";
3994
3995
  } | {
3995
- label: string;
3996
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3997
3996
  kind: "agent_status";
3997
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3998
+ label: string;
3998
3999
  role: string;
3999
4000
  agentId: string;
4000
4001
  sessionId: string;
4001
4002
  evidence: {
4002
- id: string;
4003
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4003
4004
  label: string;
4004
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4005
+ id: string;
4005
4006
  capture: "at_action" | "historical_lookup" | "fixture";
4006
4007
  locator?: string | undefined;
4007
4008
  }[];
4008
4009
  detail?: string | undefined;
4009
4010
  } | {
4010
- summary: string;
4011
4011
  kind: "agent_output";
4012
+ summary: string;
4012
4013
  agentId: string;
4013
4014
  sessionId: string;
4014
4015
  evidence: {
4015
- id: string;
4016
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4016
4017
  label: string;
4017
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4018
+ id: string;
4018
4019
  capture: "at_action" | "historical_lookup" | "fixture";
4019
4020
  locator?: string | undefined;
4020
4021
  }[];
@@ -4025,9 +4026,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4025
4026
  statement: string;
4026
4027
  sessionId: string;
4027
4028
  evidence: {
4028
- id: string;
4029
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4029
4030
  label: string;
4030
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4031
+ id: string;
4031
4032
  capture: "at_action" | "historical_lookup" | "fixture";
4032
4033
  locator?: string | undefined;
4033
4034
  }[];
@@ -4035,12 +4036,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4035
4036
  decisionId: string;
4036
4037
  confidence?: number | undefined;
4037
4038
  } | {
4038
- summary: string;
4039
4039
  kind: "conflict_detected";
4040
+ summary: string;
4040
4041
  evidence: {
4041
- id: string;
4042
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4042
4043
  label: string;
4043
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4044
+ id: string;
4044
4045
  capture: "at_action" | "historical_lookup" | "fixture";
4045
4046
  locator?: string | undefined;
4046
4047
  }[];
@@ -4048,14 +4049,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4048
4049
  decisionIds: string[];
4049
4050
  agentIds: string[];
4050
4051
  } | {
4052
+ kind: "test_result";
4051
4053
  summary: string;
4052
4054
  status: "error" | "failed" | "passed";
4053
- kind: "test_result";
4054
4055
  command: string;
4055
4056
  evidence: {
4056
- id: string;
4057
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
4058
  label: string;
4058
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4059
+ id: string;
4059
4060
  capture: "at_action" | "historical_lookup" | "fixture";
4060
4061
  locator?: string | undefined;
4061
4062
  }[];
@@ -4068,9 +4069,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4068
4069
  statement: string;
4069
4070
  rationale: string;
4070
4071
  evidence: {
4071
- id: string;
4072
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4072
4073
  label: string;
4073
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4074
+ id: string;
4074
4075
  capture: "at_action" | "historical_lookup" | "fixture";
4075
4076
  locator?: string | undefined;
4076
4077
  }[];
@@ -4082,25 +4083,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4082
4083
  } | {
4083
4084
  kind: "correction_approved";
4084
4085
  evidence: {
4085
- id: string;
4086
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4086
4087
  label: string;
4087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
+ id: string;
4088
4089
  capture: "at_action" | "historical_lookup" | "fixture";
4089
4090
  locator?: string | undefined;
4090
4091
  }[];
4091
4092
  correctionId: string;
4092
4093
  approvedBy: {
4093
- id: string;
4094
- label: string;
4095
4094
  kind: "agent" | "human";
4095
+ label: string;
4096
+ id: string;
4096
4097
  };
4097
4098
  note?: string | undefined;
4098
4099
  } | {
4099
4100
  kind: "decision_superseded";
4100
4101
  evidence: {
4101
- id: string;
4102
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4102
4103
  label: string;
4103
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4104
+ id: string;
4104
4105
  capture: "at_action" | "historical_lookup" | "fixture";
4105
4106
  locator?: string | undefined;
4106
4107
  }[];
@@ -4113,9 +4114,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4113
4114
  agentId: string;
4114
4115
  sessionId: string;
4115
4116
  evidence: {
4116
- id: string;
4117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
4118
  label: string;
4118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4119
+ id: string;
4119
4120
  capture: "at_action" | "historical_lookup" | "fixture";
4120
4121
  locator?: string | undefined;
4121
4122
  }[];
@@ -4127,9 +4128,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4127
4128
  agentId: string;
4128
4129
  sessionId: string;
4129
4130
  evidence: {
4130
- id: string;
4131
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4131
4132
  label: string;
4132
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4133
+ id: string;
4133
4134
  capture: "at_action" | "historical_lookup" | "fixture";
4134
4135
  locator?: string | undefined;
4135
4136
  }[];
@@ -4138,13 +4139,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4138
4139
  recallReceiptId: string;
4139
4140
  staleDecisionAbsent: boolean;
4140
4141
  } | {
4141
- summary: string;
4142
4142
  kind: "mission_completed";
4143
+ summary: string;
4143
4144
  outcome: "failed" | "recovered" | "inconclusive";
4144
4145
  evidence: {
4145
- id: string;
4146
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4146
4147
  label: string;
4147
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4148
+ id: string;
4148
4149
  capture: "at_action" | "historical_lookup" | "fixture";
4149
4150
  locator?: string | undefined;
4150
4151
  }[];
@@ -4154,37 +4155,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4154
4155
  objective: string;
4155
4156
  runMode: "replay" | "fixture" | "live";
4156
4157
  evidence?: {
4157
- id: string;
4158
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4158
4159
  label: string;
4159
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4160
+ id: string;
4160
4161
  capture: "at_action" | "historical_lookup" | "fixture";
4161
4162
  locator?: string | undefined;
4162
4163
  }[] | undefined;
4163
4164
  } | {
4164
- label: string;
4165
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4166
4165
  kind: "agent_status";
4166
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4167
+ label: string;
4167
4168
  role: string;
4168
4169
  agentId: string;
4169
4170
  sessionId: string;
4170
4171
  detail?: string | undefined;
4171
4172
  evidence?: {
4172
- id: string;
4173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4173
4174
  label: string;
4174
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4175
+ id: string;
4175
4176
  capture: "at_action" | "historical_lookup" | "fixture";
4176
4177
  locator?: string | undefined;
4177
4178
  }[] | undefined;
4178
4179
  } | {
4179
- summary: string;
4180
4180
  kind: "agent_output";
4181
+ summary: string;
4181
4182
  agentId: string;
4182
4183
  sessionId: string;
4183
4184
  outputId: string;
4184
4185
  evidence?: {
4185
- id: string;
4186
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4186
4187
  label: string;
4187
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4188
+ id: string;
4188
4189
  capture: "at_action" | "historical_lookup" | "fixture";
4189
4190
  locator?: string | undefined;
4190
4191
  }[] | undefined;
@@ -4197,37 +4198,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4197
4198
  decisionId: string;
4198
4199
  confidence?: number | undefined;
4199
4200
  evidence?: {
4200
- id: string;
4201
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4201
4202
  label: string;
4202
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4203
+ id: string;
4203
4204
  capture: "at_action" | "historical_lookup" | "fixture";
4204
4205
  locator?: string | undefined;
4205
4206
  }[] | undefined;
4206
4207
  } | {
4207
- summary: string;
4208
4208
  kind: "conflict_detected";
4209
+ summary: string;
4209
4210
  conflictId: string;
4210
4211
  decisionIds: string[];
4211
4212
  agentIds: string[];
4212
4213
  evidence?: {
4213
- id: string;
4214
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4214
4215
  label: string;
4215
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4216
+ id: string;
4216
4217
  capture: "at_action" | "historical_lookup" | "fixture";
4217
4218
  locator?: string | undefined;
4218
4219
  }[] | undefined;
4219
4220
  } | {
4221
+ kind: "test_result";
4220
4222
  summary: string;
4221
4223
  status: "error" | "failed" | "passed";
4222
- kind: "test_result";
4223
4224
  command: string;
4224
4225
  decisionId: string;
4225
4226
  testId: string;
4226
4227
  durationMs?: number | undefined;
4227
4228
  evidence?: {
4228
- id: string;
4229
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4229
4230
  label: string;
4230
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4231
+ id: string;
4231
4232
  capture: "at_action" | "historical_lookup" | "fixture";
4232
4233
  locator?: string | undefined;
4233
4234
  }[] | undefined;
@@ -4242,9 +4243,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4242
4243
  supersedesDecisionIds: string[];
4243
4244
  proposedBy: string;
4244
4245
  evidence?: {
4245
- id: string;
4246
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4246
4247
  label: string;
4247
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4248
+ id: string;
4248
4249
  capture: "at_action" | "historical_lookup" | "fixture";
4249
4250
  locator?: string | undefined;
4250
4251
  }[] | undefined;
@@ -4252,15 +4253,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4252
4253
  kind: "correction_approved";
4253
4254
  correctionId: string;
4254
4255
  approvedBy: {
4255
- id: string;
4256
- label: string;
4257
4256
  kind: "agent" | "human";
4257
+ label: string;
4258
+ id: string;
4258
4259
  };
4259
4260
  note?: string | undefined;
4260
4261
  evidence?: {
4261
- id: string;
4262
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
4263
  label: string;
4263
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
+ id: string;
4264
4265
  capture: "at_action" | "historical_lookup" | "fixture";
4265
4266
  locator?: string | undefined;
4266
4267
  }[] | undefined;
@@ -4270,9 +4271,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4270
4271
  correctionId: string;
4271
4272
  replacementDecisionId: string;
4272
4273
  evidence?: {
4273
- id: string;
4274
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4274
4275
  label: string;
4275
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4276
+ id: string;
4276
4277
  capture: "at_action" | "historical_lookup" | "fixture";
4277
4278
  locator?: string | undefined;
4278
4279
  }[] | undefined;
@@ -4285,9 +4286,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4285
4286
  recallReceiptId: string;
4286
4287
  capturedAtAction: boolean;
4287
4288
  evidence?: {
4288
- id: string;
4289
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4289
4290
  label: string;
4290
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4291
+ id: string;
4291
4292
  capture: "at_action" | "historical_lookup" | "fixture";
4292
4293
  locator?: string | undefined;
4293
4294
  }[] | undefined;
@@ -4300,64 +4301,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4300
4301
  recallReceiptId: string;
4301
4302
  staleDecisionAbsent: boolean;
4302
4303
  evidence?: {
4303
- id: string;
4304
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
4305
  label: string;
4305
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4306
+ id: string;
4306
4307
  capture: "at_action" | "historical_lookup" | "fixture";
4307
4308
  locator?: string | undefined;
4308
4309
  }[] | undefined;
4309
4310
  } | {
4310
- summary: string;
4311
4311
  kind: "mission_completed";
4312
+ summary: string;
4312
4313
  outcome: "failed" | "recovered" | "inconclusive";
4313
4314
  evidence?: {
4314
- id: string;
4315
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4315
4316
  label: string;
4316
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4317
+ id: string;
4317
4318
  capture: "at_action" | "historical_lookup" | "fixture";
4318
4319
  locator?: string | undefined;
4319
4320
  }[] | undefined;
4320
4321
  }>;
4321
4322
  }, "strict", z.ZodTypeAny, {
4322
- namespace: string;
4323
- recordedAt: string;
4324
4323
  schemaVersion: "1";
4324
+ recordedAt: string;
4325
4325
  payload: {
4326
4326
  kind: "mission_started";
4327
4327
  title: string;
4328
4328
  evidence: {
4329
- id: string;
4329
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4330
4330
  label: string;
4331
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4331
+ id: string;
4332
4332
  capture: "at_action" | "historical_lookup" | "fixture";
4333
4333
  locator?: string | undefined;
4334
4334
  }[];
4335
4335
  objective: string;
4336
4336
  runMode: "replay" | "fixture" | "live";
4337
4337
  } | {
4338
- label: string;
4339
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4340
4338
  kind: "agent_status";
4339
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4340
+ label: string;
4341
4341
  role: string;
4342
4342
  agentId: string;
4343
4343
  sessionId: string;
4344
4344
  evidence: {
4345
- id: string;
4345
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4346
4346
  label: string;
4347
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4347
+ id: string;
4348
4348
  capture: "at_action" | "historical_lookup" | "fixture";
4349
4349
  locator?: string | undefined;
4350
4350
  }[];
4351
4351
  detail?: string | undefined;
4352
4352
  } | {
4353
- summary: string;
4354
4353
  kind: "agent_output";
4354
+ summary: string;
4355
4355
  agentId: string;
4356
4356
  sessionId: string;
4357
4357
  evidence: {
4358
- id: string;
4358
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4359
4359
  label: string;
4360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4360
+ id: string;
4361
4361
  capture: "at_action" | "historical_lookup" | "fixture";
4362
4362
  locator?: string | undefined;
4363
4363
  }[];
@@ -4368,9 +4368,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4368
4368
  statement: string;
4369
4369
  sessionId: string;
4370
4370
  evidence: {
4371
- id: string;
4371
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4372
4372
  label: string;
4373
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
+ id: string;
4374
4374
  capture: "at_action" | "historical_lookup" | "fixture";
4375
4375
  locator?: string | undefined;
4376
4376
  }[];
@@ -4378,12 +4378,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4378
4378
  decisionId: string;
4379
4379
  confidence?: number | undefined;
4380
4380
  } | {
4381
- summary: string;
4382
4381
  kind: "conflict_detected";
4382
+ summary: string;
4383
4383
  evidence: {
4384
- id: string;
4384
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4385
4385
  label: string;
4386
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4386
+ id: string;
4387
4387
  capture: "at_action" | "historical_lookup" | "fixture";
4388
4388
  locator?: string | undefined;
4389
4389
  }[];
@@ -4391,14 +4391,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4391
4391
  decisionIds: string[];
4392
4392
  agentIds: string[];
4393
4393
  } | {
4394
+ kind: "test_result";
4394
4395
  summary: string;
4395
4396
  status: "error" | "failed" | "passed";
4396
- kind: "test_result";
4397
4397
  command: string;
4398
4398
  evidence: {
4399
- id: string;
4399
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4400
4400
  label: string;
4401
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4401
+ id: string;
4402
4402
  capture: "at_action" | "historical_lookup" | "fixture";
4403
4403
  locator?: string | undefined;
4404
4404
  }[];
@@ -4411,9 +4411,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4411
4411
  statement: string;
4412
4412
  rationale: string;
4413
4413
  evidence: {
4414
- id: string;
4414
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4415
4415
  label: string;
4416
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4416
+ id: string;
4417
4417
  capture: "at_action" | "historical_lookup" | "fixture";
4418
4418
  locator?: string | undefined;
4419
4419
  }[];
@@ -4425,25 +4425,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4425
4425
  } | {
4426
4426
  kind: "correction_approved";
4427
4427
  evidence: {
4428
- id: string;
4428
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4429
4429
  label: string;
4430
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4430
+ id: string;
4431
4431
  capture: "at_action" | "historical_lookup" | "fixture";
4432
4432
  locator?: string | undefined;
4433
4433
  }[];
4434
4434
  correctionId: string;
4435
4435
  approvedBy: {
4436
- id: string;
4437
- label: string;
4438
4436
  kind: "agent" | "human";
4437
+ label: string;
4438
+ id: string;
4439
4439
  };
4440
4440
  note?: string | undefined;
4441
4441
  } | {
4442
4442
  kind: "decision_superseded";
4443
4443
  evidence: {
4444
- id: string;
4444
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4445
4445
  label: string;
4446
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4446
+ id: string;
4447
4447
  capture: "at_action" | "historical_lookup" | "fixture";
4448
4448
  locator?: string | undefined;
4449
4449
  }[];
@@ -4456,9 +4456,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4456
4456
  agentId: string;
4457
4457
  sessionId: string;
4458
4458
  evidence: {
4459
- id: string;
4459
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4460
4460
  label: string;
4461
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4461
+ id: string;
4462
4462
  capture: "at_action" | "historical_lookup" | "fixture";
4463
4463
  locator?: string | undefined;
4464
4464
  }[];
@@ -4470,9 +4470,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4470
4470
  agentId: string;
4471
4471
  sessionId: string;
4472
4472
  evidence: {
4473
- id: string;
4473
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4474
4474
  label: string;
4475
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
+ id: string;
4476
4476
  capture: "at_action" | "historical_lookup" | "fixture";
4477
4477
  locator?: string | undefined;
4478
4478
  }[];
@@ -4481,63 +4481,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4481
4481
  recallReceiptId: string;
4482
4482
  staleDecisionAbsent: boolean;
4483
4483
  } | {
4484
- summary: string;
4485
4484
  kind: "mission_completed";
4485
+ summary: string;
4486
4486
  outcome: "failed" | "recovered" | "inconclusive";
4487
4487
  evidence: {
4488
- id: string;
4488
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4489
4489
  label: string;
4490
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
+ id: string;
4491
4491
  capture: "at_action" | "historical_lookup" | "fixture";
4492
4492
  locator?: string | undefined;
4493
4493
  }[];
4494
4494
  };
4495
+ namespace: string;
4495
4496
  eventId: string;
4496
4497
  occurredAt: string;
4497
4498
  missionId: string;
4498
4499
  authenticatedPrincipal?: string | undefined;
4499
4500
  idempotencyKey?: string | undefined;
4500
4501
  }, {
4501
- namespace: string;
4502
- recordedAt: string;
4503
4502
  schemaVersion: "1";
4503
+ recordedAt: string;
4504
4504
  payload: {
4505
4505
  kind: "mission_started";
4506
4506
  title: string;
4507
4507
  objective: string;
4508
4508
  runMode: "replay" | "fixture" | "live";
4509
4509
  evidence?: {
4510
- id: string;
4510
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4511
4511
  label: string;
4512
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4512
+ id: string;
4513
4513
  capture: "at_action" | "historical_lookup" | "fixture";
4514
4514
  locator?: string | undefined;
4515
4515
  }[] | undefined;
4516
4516
  } | {
4517
- label: string;
4518
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4519
4517
  kind: "agent_status";
4518
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4519
+ label: string;
4520
4520
  role: string;
4521
4521
  agentId: string;
4522
4522
  sessionId: string;
4523
4523
  detail?: string | undefined;
4524
4524
  evidence?: {
4525
- id: string;
4525
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4526
4526
  label: string;
4527
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4527
+ id: string;
4528
4528
  capture: "at_action" | "historical_lookup" | "fixture";
4529
4529
  locator?: string | undefined;
4530
4530
  }[] | undefined;
4531
4531
  } | {
4532
- summary: string;
4533
4532
  kind: "agent_output";
4533
+ summary: string;
4534
4534
  agentId: string;
4535
4535
  sessionId: string;
4536
4536
  outputId: string;
4537
4537
  evidence?: {
4538
- id: string;
4538
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4539
4539
  label: string;
4540
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4540
+ id: string;
4541
4541
  capture: "at_action" | "historical_lookup" | "fixture";
4542
4542
  locator?: string | undefined;
4543
4543
  }[] | undefined;
@@ -4550,37 +4550,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4550
4550
  decisionId: string;
4551
4551
  confidence?: number | undefined;
4552
4552
  evidence?: {
4553
- id: string;
4553
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4554
4554
  label: string;
4555
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
+ id: string;
4556
4556
  capture: "at_action" | "historical_lookup" | "fixture";
4557
4557
  locator?: string | undefined;
4558
4558
  }[] | undefined;
4559
4559
  } | {
4560
- summary: string;
4561
4560
  kind: "conflict_detected";
4561
+ summary: string;
4562
4562
  conflictId: string;
4563
4563
  decisionIds: string[];
4564
4564
  agentIds: string[];
4565
4565
  evidence?: {
4566
- id: string;
4566
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4567
4567
  label: string;
4568
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4568
+ id: string;
4569
4569
  capture: "at_action" | "historical_lookup" | "fixture";
4570
4570
  locator?: string | undefined;
4571
4571
  }[] | undefined;
4572
4572
  } | {
4573
+ kind: "test_result";
4573
4574
  summary: string;
4574
4575
  status: "error" | "failed" | "passed";
4575
- kind: "test_result";
4576
4576
  command: string;
4577
4577
  decisionId: string;
4578
4578
  testId: string;
4579
4579
  durationMs?: number | undefined;
4580
4580
  evidence?: {
4581
- id: string;
4581
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4582
4582
  label: string;
4583
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4583
+ id: string;
4584
4584
  capture: "at_action" | "historical_lookup" | "fixture";
4585
4585
  locator?: string | undefined;
4586
4586
  }[] | undefined;
@@ -4595,9 +4595,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4595
4595
  supersedesDecisionIds: string[];
4596
4596
  proposedBy: string;
4597
4597
  evidence?: {
4598
- id: string;
4598
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4599
4599
  label: string;
4600
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
+ id: string;
4601
4601
  capture: "at_action" | "historical_lookup" | "fixture";
4602
4602
  locator?: string | undefined;
4603
4603
  }[] | undefined;
@@ -4605,15 +4605,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4605
4605
  kind: "correction_approved";
4606
4606
  correctionId: string;
4607
4607
  approvedBy: {
4608
- id: string;
4609
- label: string;
4610
4608
  kind: "agent" | "human";
4609
+ label: string;
4610
+ id: string;
4611
4611
  };
4612
4612
  note?: string | undefined;
4613
4613
  evidence?: {
4614
- id: string;
4614
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4615
4615
  label: string;
4616
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4616
+ id: string;
4617
4617
  capture: "at_action" | "historical_lookup" | "fixture";
4618
4618
  locator?: string | undefined;
4619
4619
  }[] | undefined;
@@ -4623,9 +4623,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4623
4623
  correctionId: string;
4624
4624
  replacementDecisionId: string;
4625
4625
  evidence?: {
4626
- id: string;
4626
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4627
4627
  label: string;
4628
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4628
+ id: string;
4629
4629
  capture: "at_action" | "historical_lookup" | "fixture";
4630
4630
  locator?: string | undefined;
4631
4631
  }[] | undefined;
@@ -4638,9 +4638,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4638
4638
  recallReceiptId: string;
4639
4639
  capturedAtAction: boolean;
4640
4640
  evidence?: {
4641
- id: string;
4641
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4642
4642
  label: string;
4643
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4643
+ id: string;
4644
4644
  capture: "at_action" | "historical_lookup" | "fixture";
4645
4645
  locator?: string | undefined;
4646
4646
  }[] | undefined;
@@ -4653,24 +4653,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4653
4653
  recallReceiptId: string;
4654
4654
  staleDecisionAbsent: boolean;
4655
4655
  evidence?: {
4656
- id: string;
4656
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4657
4657
  label: string;
4658
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4658
+ id: string;
4659
4659
  capture: "at_action" | "historical_lookup" | "fixture";
4660
4660
  locator?: string | undefined;
4661
4661
  }[] | undefined;
4662
4662
  } | {
4663
- summary: string;
4664
4663
  kind: "mission_completed";
4664
+ summary: string;
4665
4665
  outcome: "failed" | "recovered" | "inconclusive";
4666
4666
  evidence?: {
4667
- id: string;
4667
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4668
4668
  label: string;
4669
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4669
+ id: string;
4670
4670
  capture: "at_action" | "historical_lookup" | "fixture";
4671
4671
  locator?: string | undefined;
4672
4672
  }[] | undefined;
4673
4673
  };
4674
+ namespace: string;
4674
4675
  eventId: string;
4675
4676
  occurredAt: string;
4676
4677
  missionId: string;