@remnic/core 9.63.0 → 9.63.2

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 (302) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +34 -33
  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 +35 -34
  6. package/dist/access-boundary.d.ts +1 -1
  7. package/dist/access-boundary.js +34 -33
  8. package/dist/access-cli.js +99 -97
  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 +34 -33
  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 +34 -33
  16. package/dist/access-http.d.ts +2 -2
  17. package/dist/access-http.js +47 -46
  18. package/dist/access-identity-continuity-surface.js +34 -33
  19. package/dist/access-lcm-surface.d.ts +1 -1
  20. package/dist/access-lcm-surface.js +34 -33
  21. package/dist/access-mcp.d.ts +1 -1
  22. package/dist/access-mcp.js +40 -39
  23. package/dist/access-namespace-preflight.js +34 -33
  24. package/dist/access-observe-write-surface.d.ts +1 -1
  25. package/dist/access-observe-write-surface.js +34 -33
  26. package/dist/access-operations-batch.js +35 -34
  27. package/dist/access-operations.d.ts +4 -4
  28. package/dist/access-operations.js +39 -38
  29. package/dist/access-recall-concurrency.d.ts +1 -1
  30. package/dist/access-recall-concurrency.js +34 -33
  31. package/dist/access-recall-response.d.ts +1 -1
  32. package/dist/access-recall-response.js +34 -33
  33. package/dist/access-recall-surface.d.ts +1 -1
  34. package/dist/access-recall-surface.js +34 -33
  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 +34 -33
  40. package/dist/access-surface-catalog.d.ts +1 -1
  41. package/dist/access-surface-catalog.js +36 -35
  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 +15 -15
  48. package/dist/buffer.js +5 -4
  49. package/dist/causal-behavior.js +3 -3
  50. package/dist/causal-chain.js +3 -3
  51. package/dist/causal-consolidation.js +18 -18
  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-IZRNVNPV.js → chunk-3LJ2L3T3.js} +2 -2
  58. package/dist/{chunk-CLJ5QS6J.js → chunk-44KHFMCM.js} +72 -64
  59. package/dist/{chunk-CLJ5QS6J.js.map → chunk-44KHFMCM.js.map} +1 -1
  60. package/dist/{chunk-JDI7G6EA.js → chunk-4NMVX5U7.js} +2 -2
  61. package/dist/{chunk-WFLBP5GC.js → chunk-4NZHHGVL.js} +25 -6
  62. package/dist/chunk-4NZHHGVL.js.map +1 -0
  63. package/dist/{chunk-ANMIOQPU.js → chunk-4XN35YQD.js} +478 -164
  64. package/dist/chunk-4XN35YQD.js.map +1 -0
  65. package/dist/{chunk-LJOIZPJH.js → chunk-5QZR2RA3.js} +2 -2
  66. package/dist/{chunk-FF6E6HOT.js → chunk-5UFQCU6M.js} +32 -32
  67. package/dist/{chunk-4HO3542O.js → chunk-5W5N7XJZ.js} +2 -2
  68. package/dist/{chunk-4Y2RHVCV.js → chunk-5W62VEFH.js} +4 -4
  69. package/dist/{chunk-DEOYTFA6.js → chunk-645WOU5I.js} +4 -52
  70. package/dist/chunk-645WOU5I.js.map +1 -0
  71. package/dist/{chunk-LTJTP5YQ.js → chunk-6D7PZKCJ.js} +10 -10
  72. package/dist/{chunk-BBHFAVMP.js → chunk-6F2UMP4H.js} +7 -7
  73. package/dist/{chunk-IIPJKCZB.js → chunk-6NAPOLRO.js} +3 -3
  74. package/dist/{chunk-CK3NQUSQ.js → chunk-6UZR7KEK.js} +2 -2
  75. package/dist/{chunk-2TYIAKU5.js → chunk-6YMEU6OQ.js} +2 -2
  76. package/dist/{chunk-H23GIXJC.js → chunk-A73QHOZP.js} +2 -2
  77. package/dist/{chunk-LLGDVG52.js → chunk-AJSZ2EK6.js} +3 -3
  78. package/dist/{chunk-HVKMJAEF.js → chunk-B2OOJCUX.js} +2 -2
  79. package/dist/chunk-BUYVPUEM.js +66 -0
  80. package/dist/chunk-BUYVPUEM.js.map +1 -0
  81. package/dist/{chunk-YTHQHH5U.js → chunk-C6WMSXCJ.js} +2 -2
  82. package/dist/{chunk-JKW663ZN.js → chunk-CIAI24TQ.js} +2 -2
  83. package/dist/{chunk-PD6O7AXF.js → chunk-CSAKJVXW.js} +14 -17
  84. package/dist/chunk-CSAKJVXW.js.map +1 -0
  85. package/dist/{chunk-EFWHCTYJ.js → chunk-DNRTKO2U.js} +2 -2
  86. package/dist/{chunk-QCECHYZL.js → chunk-E2GYBTSP.js} +24 -4
  87. package/dist/chunk-E2GYBTSP.js.map +1 -0
  88. package/dist/{chunk-4IZ2IT7D.js → chunk-EJLTNPRY.js} +3 -3
  89. package/dist/{chunk-JCJGYNIS.js → chunk-EJQXDKYK.js} +4 -4
  90. package/dist/{chunk-347ZR6D4.js → chunk-FKJVEW6O.js} +2 -2
  91. package/dist/{chunk-DROAPP6N.js → chunk-GFNS3BHV.js} +3 -3
  92. package/dist/{chunk-ALNZEWGN.js → chunk-GPFZFCRN.js} +2 -2
  93. package/dist/{chunk-KPML4Q3M.js → chunk-GTRGH4ZT.js} +3 -3
  94. package/dist/{chunk-TIRJV2LW.js → chunk-I6OQCT3Y.js} +2 -2
  95. package/dist/{chunk-CH627RRV.js → chunk-IKXUG6KC.js} +8 -8
  96. package/dist/{chunk-HSBQJRV2.js → chunk-IM56VPKO.js} +3 -3
  97. package/dist/{chunk-KQAFEZQX.js → chunk-IPLYGWQF.js} +5 -5
  98. package/dist/{chunk-BP6WMYLP.js → chunk-ITYAXU4S.js} +3 -3
  99. package/dist/{chunk-4FFROSFG.js → chunk-JJ7JW62R.js} +23 -23
  100. package/dist/{chunk-RFH7U5LT.js → chunk-JJX5XEIG.js} +2 -2
  101. package/dist/{chunk-CALURYWR.js → chunk-JWPG65LH.js} +14 -14
  102. package/dist/chunk-K2XUWZBM.js +417 -0
  103. package/dist/chunk-K2XUWZBM.js.map +1 -0
  104. package/dist/{chunk-G2FCSILA.js → chunk-KWIGDKM2.js} +2 -2
  105. package/dist/{chunk-WR2YKUIW.js → chunk-KWN6NOHQ.js} +2 -2
  106. package/dist/{chunk-227UFSEQ.js → chunk-LEPOP46W.js} +4 -4
  107. package/dist/{chunk-WMOJIOIG.js → chunk-LZCSOUJ7.js} +2 -2
  108. package/dist/{chunk-256FBCVX.js → chunk-M4AHBM72.js} +7 -7
  109. package/dist/{chunk-5PFGMO33.js → chunk-MEW53VQJ.js} +2 -2
  110. package/dist/{chunk-DCUMFQYM.js → chunk-ML3U4KPR.js} +2 -2
  111. package/dist/{chunk-X6E7TT3A.js → chunk-MR5HWQHS.js} +2 -2
  112. package/dist/{chunk-H7PRHUBD.js → chunk-NRLELHAY.js} +2 -2
  113. package/dist/{chunk-ZS4JADYY.js → chunk-OW7NVMGQ.js} +2 -2
  114. package/dist/{chunk-TGSMU3F2.js → chunk-PADG72LJ.js} +3 -3
  115. package/dist/{chunk-6GGTATZF.js → chunk-PYIR4SSB.js} +4 -4
  116. package/dist/chunk-PYIR4SSB.js.map +1 -0
  117. package/dist/{chunk-UDTME32W.js → chunk-Q35XGIEM.js} +2 -2
  118. package/dist/{chunk-XPRJSHNI.js → chunk-QJ622LTI.js} +6 -3
  119. package/dist/chunk-QJ622LTI.js.map +1 -0
  120. package/dist/{chunk-AYIHDC5S.js → chunk-QSIQVC32.js} +2 -2
  121. package/dist/{chunk-3MA7JVXN.js → chunk-R74NCKEY.js} +4 -4
  122. package/dist/{chunk-QCI73Z7C.js → chunk-RYGJGXL6.js} +2 -2
  123. package/dist/{chunk-4OW2T32G.js → chunk-SQ3EGGII.js} +2 -2
  124. package/dist/{chunk-ZPGHA7EO.js → chunk-TRPX6F2G.js} +10 -10
  125. package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
  126. package/dist/{chunk-7BJYTX6Q.js → chunk-VAMQU4W7.js} +2 -2
  127. package/dist/{chunk-YSR3DXGC.js → chunk-VN7IIQGS.js} +2 -2
  128. package/dist/{chunk-DTLF2SLZ.js → chunk-WDUG2CH3.js} +2 -2
  129. package/dist/{chunk-YIIC5IDU.js → chunk-X4MGNVOO.js} +2 -2
  130. package/dist/{chunk-BHO6RHE5.js → chunk-XFCQIQQU.js} +3 -3
  131. package/dist/{chunk-PSNN25DW.js → chunk-XZPSBGHA.js} +2 -2
  132. package/dist/{chunk-PMRUMGK6.js → chunk-Y7COCXY2.js} +2 -2
  133. package/dist/{chunk-DJ7HMNSL.js → chunk-YCVB7X56.js} +4 -2
  134. package/dist/chunk-YCVB7X56.js.map +1 -0
  135. package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
  136. package/dist/{chunk-JFLKSD5V.js → chunk-Z334TJRB.js} +2 -2
  137. package/dist/{cli-Bw9z-KqX.d.ts → cli-DJwNNDL1.d.ts} +1 -1
  138. package/dist/cli.d.ts +2 -2
  139. package/dist/cli.js +68 -67
  140. package/dist/coding/pre-action-gate.js +3 -3
  141. package/dist/compounding/engine.js +15 -15
  142. package/dist/connectors/codex-materialize-runner.js +15 -15
  143. package/dist/connectors/index.d.ts +45 -1
  144. package/dist/connectors/index.js +24 -16
  145. package/dist/convergence-refresh.js +17 -17
  146. package/dist/conversation-index/backend.js +2 -2
  147. package/dist/corpus-watermark.js +17 -17
  148. package/dist/dashboard-runtime.js +2 -2
  149. package/dist/direct-answer-wiring.js +3 -3
  150. package/dist/direct-answer.js +2 -2
  151. package/dist/entity-retrieval.js +15 -15
  152. package/dist/event-order-query.d.ts +3 -0
  153. package/dist/event-order-query.js +9 -0
  154. package/dist/event-order-query.js.map +1 -0
  155. package/dist/event-order-recall.d.ts +2 -2
  156. package/dist/event-order-recall.js +5 -2
  157. package/dist/external-wiki-access.d.ts +1 -1
  158. package/dist/external-wiki-access.js +35 -34
  159. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  160. package/dist/extraction-normalization.js +2 -2
  161. package/dist/extraction.js +25 -24
  162. package/dist/harmonic-construction.js +2 -2
  163. package/dist/harmonic-retrieval.js +2 -2
  164. package/dist/index.d.ts +683 -682
  165. package/dist/index.js +108 -105
  166. package/dist/intent.js +2 -1
  167. package/dist/lcm/engine.js +3 -3
  168. package/dist/lcm/index.js +6 -6
  169. package/dist/maintenance/memory-governance.js +15 -15
  170. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +15 -15
  171. package/dist/maintenance/rebuild-memory-projection.js +16 -16
  172. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  173. package/dist/namespaces/migrate.js +16 -16
  174. package/dist/namespaces/search.js +10 -10
  175. package/dist/namespaces/storage.js +15 -15
  176. package/dist/operator-doctor-corpus.js +18 -18
  177. package/dist/operator-toolkit.js +22 -22
  178. package/dist/orchestration/maintenance.js +20 -20
  179. package/dist/orchestrator.js +101 -99
  180. package/dist/policy-runtime.js +3 -3
  181. package/dist/{public-http-DK-QwaBu.d.ts → public-http-43z1YT-k.d.ts} +1 -1
  182. package/dist/{qmd-D_62bYNl.d.ts → qmd-CBSxevyb.d.ts} +12 -1
  183. package/dist/qmd-preflight.d.ts +1 -1
  184. package/dist/qmd.d.ts +1 -1
  185. package/dist/qmd.js +3 -1
  186. package/dist/recall-planner-i18n.d.ts +31 -0
  187. package/dist/recall-planner-i18n.js +30 -0
  188. package/dist/recall-planner-i18n.js.map +1 -0
  189. package/dist/recall-planner-llm.js +2 -1
  190. package/dist/recall-planner-llm.js.map +1 -1
  191. package/dist/recall-query-policy.js +2 -2
  192. package/dist/recall-tokenization.js +1 -1
  193. package/dist/resume-bundles.js +3 -3
  194. package/dist/retrieval-agents.d.ts +1 -1
  195. package/dist/retrieval-agents.js +2 -1
  196. package/dist/schemas.d.ts +117 -434
  197. package/dist/schemas.js +1 -1
  198. package/dist/search/factory.js +9 -9
  199. package/dist/search/index.js +15 -15
  200. package/dist/search/orama-backend.js +2 -2
  201. package/dist/semantic-consolidation.js +16 -16
  202. package/dist/semantic-rule-promotion.js +15 -15
  203. package/dist/semantic-rule-verifier.js +15 -15
  204. package/dist/shared-context/manager.d.ts +8 -8
  205. package/dist/source-agent-qualifier.js +21 -20
  206. package/dist/storage.js +14 -14
  207. package/dist/support-passport/index.d.ts +4 -4
  208. package/dist/support-passport/index.js +37 -36
  209. package/dist/transfer/autodetect.js +1 -1
  210. package/dist/transfer/backup.js +1 -1
  211. package/dist/transfer/capsule-export.js +2 -2
  212. package/dist/transfer/types.d.ts +66 -66
  213. package/dist/trust-zones.js +2 -2
  214. package/dist/verified-recall.js +15 -15
  215. package/dist/work-product-ledger.js +2 -2
  216. package/package.json +2 -2
  217. package/src/connectors/droid-mcp.ts +434 -0
  218. package/src/connectors/index.ts +70 -0
  219. package/src/direct-answer.ts +6 -3
  220. package/src/event-order-query.ts +78 -0
  221. package/src/event-order-recall.ts +4 -90
  222. package/src/intent.ts +19 -19
  223. package/src/orchestration/turn-ingestion.ts +24 -1
  224. package/src/orchestrator-flush.test.ts +142 -1
  225. package/src/qmd-process-group.test.ts +125 -0
  226. package/src/qmd.ts +30 -2
  227. package/src/recall-planner-i18n.ts +193 -0
  228. package/src/recall-tokenization.ts +3 -1
  229. package/src/retrieval-agents.ts +6 -10
  230. package/src/schemas.test.ts +158 -0
  231. package/src/schemas.ts +45 -22
  232. package/dist/chunk-6GGTATZF.js.map +0 -1
  233. package/dist/chunk-ANMIOQPU.js.map +0 -1
  234. package/dist/chunk-DEOYTFA6.js.map +0 -1
  235. package/dist/chunk-DJ7HMNSL.js.map +0 -1
  236. package/dist/chunk-PD6O7AXF.js.map +0 -1
  237. package/dist/chunk-QCECHYZL.js.map +0 -1
  238. package/dist/chunk-WFLBP5GC.js.map +0 -1
  239. package/dist/chunk-XPRJSHNI.js.map +0 -1
  240. package/dist/{access-service-M4LgO141.d.ts → access-service-DBpEnlzA.d.ts} +64 -64
  241. /package/dist/{auto-sync-Z52VWMNC.js.map → auto-sync-BKRJDMKX.js.map} +0 -0
  242. /package/dist/{chunk-5F6HMNMZ.js.map → chunk-2LA3H54D.js.map} +0 -0
  243. /package/dist/{chunk-IRLH4NM2.js.map → chunk-2PSX5BJU.js.map} +0 -0
  244. /package/dist/{chunk-JBPKEARU.js.map → chunk-2QSZNTDO.js.map} +0 -0
  245. /package/dist/{chunk-IZRNVNPV.js.map → chunk-3LJ2L3T3.js.map} +0 -0
  246. /package/dist/{chunk-JDI7G6EA.js.map → chunk-4NMVX5U7.js.map} +0 -0
  247. /package/dist/{chunk-LJOIZPJH.js.map → chunk-5QZR2RA3.js.map} +0 -0
  248. /package/dist/{chunk-FF6E6HOT.js.map → chunk-5UFQCU6M.js.map} +0 -0
  249. /package/dist/{chunk-4HO3542O.js.map → chunk-5W5N7XJZ.js.map} +0 -0
  250. /package/dist/{chunk-4Y2RHVCV.js.map → chunk-5W62VEFH.js.map} +0 -0
  251. /package/dist/{chunk-LTJTP5YQ.js.map → chunk-6D7PZKCJ.js.map} +0 -0
  252. /package/dist/{chunk-BBHFAVMP.js.map → chunk-6F2UMP4H.js.map} +0 -0
  253. /package/dist/{chunk-IIPJKCZB.js.map → chunk-6NAPOLRO.js.map} +0 -0
  254. /package/dist/{chunk-CK3NQUSQ.js.map → chunk-6UZR7KEK.js.map} +0 -0
  255. /package/dist/{chunk-2TYIAKU5.js.map → chunk-6YMEU6OQ.js.map} +0 -0
  256. /package/dist/{chunk-H23GIXJC.js.map → chunk-A73QHOZP.js.map} +0 -0
  257. /package/dist/{chunk-LLGDVG52.js.map → chunk-AJSZ2EK6.js.map} +0 -0
  258. /package/dist/{chunk-HVKMJAEF.js.map → chunk-B2OOJCUX.js.map} +0 -0
  259. /package/dist/{chunk-YTHQHH5U.js.map → chunk-C6WMSXCJ.js.map} +0 -0
  260. /package/dist/{chunk-JKW663ZN.js.map → chunk-CIAI24TQ.js.map} +0 -0
  261. /package/dist/{chunk-EFWHCTYJ.js.map → chunk-DNRTKO2U.js.map} +0 -0
  262. /package/dist/{chunk-4IZ2IT7D.js.map → chunk-EJLTNPRY.js.map} +0 -0
  263. /package/dist/{chunk-JCJGYNIS.js.map → chunk-EJQXDKYK.js.map} +0 -0
  264. /package/dist/{chunk-347ZR6D4.js.map → chunk-FKJVEW6O.js.map} +0 -0
  265. /package/dist/{chunk-DROAPP6N.js.map → chunk-GFNS3BHV.js.map} +0 -0
  266. /package/dist/{chunk-ALNZEWGN.js.map → chunk-GPFZFCRN.js.map} +0 -0
  267. /package/dist/{chunk-KPML4Q3M.js.map → chunk-GTRGH4ZT.js.map} +0 -0
  268. /package/dist/{chunk-TIRJV2LW.js.map → chunk-I6OQCT3Y.js.map} +0 -0
  269. /package/dist/{chunk-CH627RRV.js.map → chunk-IKXUG6KC.js.map} +0 -0
  270. /package/dist/{chunk-HSBQJRV2.js.map → chunk-IM56VPKO.js.map} +0 -0
  271. /package/dist/{chunk-KQAFEZQX.js.map → chunk-IPLYGWQF.js.map} +0 -0
  272. /package/dist/{chunk-BP6WMYLP.js.map → chunk-ITYAXU4S.js.map} +0 -0
  273. /package/dist/{chunk-4FFROSFG.js.map → chunk-JJ7JW62R.js.map} +0 -0
  274. /package/dist/{chunk-RFH7U5LT.js.map → chunk-JJX5XEIG.js.map} +0 -0
  275. /package/dist/{chunk-CALURYWR.js.map → chunk-JWPG65LH.js.map} +0 -0
  276. /package/dist/{chunk-G2FCSILA.js.map → chunk-KWIGDKM2.js.map} +0 -0
  277. /package/dist/{chunk-WR2YKUIW.js.map → chunk-KWN6NOHQ.js.map} +0 -0
  278. /package/dist/{chunk-227UFSEQ.js.map → chunk-LEPOP46W.js.map} +0 -0
  279. /package/dist/{chunk-WMOJIOIG.js.map → chunk-LZCSOUJ7.js.map} +0 -0
  280. /package/dist/{chunk-256FBCVX.js.map → chunk-M4AHBM72.js.map} +0 -0
  281. /package/dist/{chunk-5PFGMO33.js.map → chunk-MEW53VQJ.js.map} +0 -0
  282. /package/dist/{chunk-DCUMFQYM.js.map → chunk-ML3U4KPR.js.map} +0 -0
  283. /package/dist/{chunk-X6E7TT3A.js.map → chunk-MR5HWQHS.js.map} +0 -0
  284. /package/dist/{chunk-H7PRHUBD.js.map → chunk-NRLELHAY.js.map} +0 -0
  285. /package/dist/{chunk-ZS4JADYY.js.map → chunk-OW7NVMGQ.js.map} +0 -0
  286. /package/dist/{chunk-TGSMU3F2.js.map → chunk-PADG72LJ.js.map} +0 -0
  287. /package/dist/{chunk-UDTME32W.js.map → chunk-Q35XGIEM.js.map} +0 -0
  288. /package/dist/{chunk-AYIHDC5S.js.map → chunk-QSIQVC32.js.map} +0 -0
  289. /package/dist/{chunk-3MA7JVXN.js.map → chunk-R74NCKEY.js.map} +0 -0
  290. /package/dist/{chunk-QCI73Z7C.js.map → chunk-RYGJGXL6.js.map} +0 -0
  291. /package/dist/{chunk-4OW2T32G.js.map → chunk-SQ3EGGII.js.map} +0 -0
  292. /package/dist/{chunk-ZPGHA7EO.js.map → chunk-TRPX6F2G.js.map} +0 -0
  293. /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
  294. /package/dist/{chunk-7BJYTX6Q.js.map → chunk-VAMQU4W7.js.map} +0 -0
  295. /package/dist/{chunk-YSR3DXGC.js.map → chunk-VN7IIQGS.js.map} +0 -0
  296. /package/dist/{chunk-DTLF2SLZ.js.map → chunk-WDUG2CH3.js.map} +0 -0
  297. /package/dist/{chunk-YIIC5IDU.js.map → chunk-X4MGNVOO.js.map} +0 -0
  298. /package/dist/{chunk-BHO6RHE5.js.map → chunk-XFCQIQQU.js.map} +0 -0
  299. /package/dist/{chunk-PSNN25DW.js.map → chunk-XZPSBGHA.js.map} +0 -0
  300. /package/dist/{chunk-PMRUMGK6.js.map → chunk-Y7COCXY2.js.map} +0 -0
  301. /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
  302. /package/dist/{chunk-JFLKSD5V.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-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';
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';
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';
@@ -40,7 +40,7 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
40
40
  export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
41
41
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
42
42
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
43
- export { Q as QmdClient } from './qmd-D_62bYNl.js';
43
+ export { Q as QmdClient } from './qmd-CBSxevyb.js';
44
44
  export { LanceDbBackend } from './search/lancedb-backend.js';
45
45
  export { OramaBackend } from './search/orama-backend.js';
46
46
  export { MeilisearchBackend } from './search/meilisearch-backend.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-Bw9z-KqX.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';
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-DK-QwaBu.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';
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
954
- label: string;
955
954
  id: string;
955
+ label: string;
956
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
956
957
  capture: "at_action" | "historical_lookup" | "fixture";
957
958
  locator?: string | undefined;
958
959
  }, {
959
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
960
- label: string;
961
960
  id: string;
961
+ label: string;
962
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
979
- label: string;
980
979
  id: string;
980
+ label: string;
981
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
981
982
  capture: "at_action" | "historical_lookup" | "fixture";
982
983
  locator?: string | undefined;
983
984
  }, {
984
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
985
- label: string;
986
985
  id: string;
986
+ label: string;
987
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
995
- label: string;
996
995
  id: string;
996
+ label: string;
997
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1009
- label: string;
1010
1009
  id: string;
1010
+ label: string;
1011
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1027
- label: string;
1028
1027
  id: string;
1028
+ label: string;
1029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1029
1030
  capture: "at_action" | "historical_lookup" | "fixture";
1030
1031
  locator?: string | undefined;
1031
1032
  }, {
1032
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1033
- label: string;
1034
1033
  id: string;
1034
+ label: string;
1035
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
1043
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1044
1043
  label: string;
1044
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1045
+ kind: "agent_status";
1045
1046
  role: string;
1046
1047
  agentId: string;
1047
1048
  sessionId: string;
1048
1049
  evidence: {
1049
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1050
- label: string;
1051
1050
  id: string;
1051
+ label: string;
1052
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1052
1053
  capture: "at_action" | "historical_lookup" | "fixture";
1053
1054
  locator?: string | undefined;
1054
1055
  }[];
1055
1056
  detail?: string | undefined;
1056
1057
  }, {
1057
- kind: "agent_status";
1058
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1059
1058
  label: string;
1059
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1060
+ kind: "agent_status";
1060
1061
  role: string;
1061
1062
  agentId: string;
1062
1063
  sessionId: string;
1063
1064
  detail?: string | undefined;
1064
1065
  evidence?: {
1065
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1066
- label: string;
1067
1066
  id: string;
1067
+ label: string;
1068
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1082
- label: string;
1083
1082
  id: string;
1083
+ label: string;
1084
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1084
1085
  capture: "at_action" | "historical_lookup" | "fixture";
1085
1086
  locator?: string | undefined;
1086
1087
  }, {
1087
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1088
- label: string;
1089
1088
  id: string;
1089
+ label: string;
1090
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_output";
1098
1098
  summary: string;
1099
+ kind: "agent_output";
1099
1100
  agentId: string;
1100
1101
  sessionId: string;
1101
1102
  evidence: {
1102
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1103
- label: string;
1104
1103
  id: string;
1104
+ label: string;
1105
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1105
1106
  capture: "at_action" | "historical_lookup" | "fixture";
1106
1107
  locator?: string | undefined;
1107
1108
  }[];
1108
1109
  outputId: string;
1109
1110
  }, {
1110
- kind: "agent_output";
1111
1111
  summary: string;
1112
+ kind: "agent_output";
1112
1113
  agentId: string;
1113
1114
  sessionId: string;
1114
1115
  outputId: string;
1115
1116
  evidence?: {
1116
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1117
- label: string;
1118
1117
  id: string;
1118
+ label: string;
1119
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1135
- label: string;
1136
1135
  id: string;
1136
+ label: string;
1137
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1137
1138
  capture: "at_action" | "historical_lookup" | "fixture";
1138
1139
  locator?: string | undefined;
1139
1140
  }, {
1140
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1141
- label: string;
1142
1141
  id: string;
1142
+ label: string;
1143
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1156
- label: string;
1157
1156
  id: string;
1157
+ label: string;
1158
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1174
- label: string;
1175
1174
  id: string;
1175
+ label: string;
1176
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1193
- label: string;
1194
1193
  id: string;
1194
+ label: string;
1195
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1195
1196
  capture: "at_action" | "historical_lookup" | "fixture";
1196
1197
  locator?: string | undefined;
1197
1198
  }, {
1198
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1199
- label: string;
1200
1199
  id: string;
1200
+ label: string;
1201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1201
1202
  capture: "at_action" | "historical_lookup" | "fixture";
1202
1203
  locator?: string | undefined;
1203
1204
  }>, "many">>;
1204
1205
  }, "strict", z.ZodTypeAny, {
1205
- kind: "conflict_detected";
1206
1206
  summary: string;
1207
+ kind: "conflict_detected";
1207
1208
  evidence: {
1208
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1209
- label: string;
1210
1209
  id: string;
1210
+ label: string;
1211
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
1219
1219
  summary: string;
1220
+ kind: "conflict_detected";
1220
1221
  conflictId: string;
1221
1222
  decisionIds: string[];
1222
1223
  agentIds: string[];
1223
1224
  evidence?: {
1224
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1225
- label: string;
1226
1225
  id: string;
1226
+ label: string;
1227
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
- label: string;
1248
1247
  id: string;
1248
+ label: string;
1249
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1249
1250
  capture: "at_action" | "historical_lookup" | "fixture";
1250
1251
  locator?: string | undefined;
1251
1252
  }, {
1252
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1253
- label: string;
1254
1253
  id: string;
1254
+ label: string;
1255
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1255
1256
  capture: "at_action" | "historical_lookup" | "fixture";
1256
1257
  locator?: string | undefined;
1257
1258
  }>, "many">>;
1258
1259
  }, "strict", z.ZodTypeAny, {
1259
- kind: "test_result";
1260
1260
  summary: string;
1261
1261
  status: "error" | "failed" | "passed";
1262
+ kind: "test_result";
1262
1263
  command: string;
1263
1264
  evidence: {
1264
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1265
- label: string;
1266
1265
  id: string;
1266
+ label: string;
1267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  }, {
1275
- kind: "test_result";
1276
1276
  summary: string;
1277
1277
  status: "error" | "failed" | "passed";
1278
+ kind: "test_result";
1278
1279
  command: string;
1279
1280
  decisionId: string;
1280
1281
  testId: string;
1281
1282
  durationMs?: number | undefined;
1282
1283
  evidence?: {
1283
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1284
- label: string;
1285
1284
  id: string;
1285
+ label: string;
1286
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1307
- label: string;
1308
1307
  id: string;
1308
+ label: string;
1309
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1309
1310
  capture: "at_action" | "historical_lookup" | "fixture";
1310
1311
  locator?: string | undefined;
1311
1312
  }, {
1312
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1313
- label: string;
1314
1313
  id: string;
1314
+ label: string;
1315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1324
- label: string;
1325
1324
  id: string;
1325
+ label: string;
1326
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1345
- label: string;
1346
1345
  id: string;
1346
+ label: string;
1347
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
1359
- label: string;
1360
1359
  id: string;
1361
- }, {
1362
- kind: "agent" | "human";
1363
1360
  label: string;
1361
+ kind: "agent" | "human";
1362
+ }, {
1364
1363
  id: string;
1364
+ label: string;
1365
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1375
- label: string;
1376
1375
  id: string;
1376
+ label: string;
1377
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1377
1378
  capture: "at_action" | "historical_lookup" | "fixture";
1378
1379
  locator?: string | undefined;
1379
1380
  }, {
1380
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
- label: string;
1382
1381
  id: string;
1382
+ label: string;
1383
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1390
- label: string;
1391
1390
  id: string;
1391
+ label: string;
1392
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1392
1393
  capture: "at_action" | "historical_lookup" | "fixture";
1393
1394
  locator?: string | undefined;
1394
1395
  }[];
1395
1396
  correctionId: string;
1396
1397
  approvedBy: {
1397
- kind: "agent" | "human";
1398
- label: string;
1399
1398
  id: string;
1399
+ label: string;
1400
+ kind: "agent" | "human";
1400
1401
  };
1401
1402
  note?: string | undefined;
1402
1403
  }, {
1403
1404
  kind: "correction_approved";
1404
1405
  correctionId: string;
1405
1406
  approvedBy: {
1406
- kind: "agent" | "human";
1407
- label: string;
1408
1407
  id: string;
1408
+ label: string;
1409
+ kind: "agent" | "human";
1409
1410
  };
1410
1411
  note?: string | undefined;
1411
1412
  evidence?: {
1412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1413
- label: string;
1414
1413
  id: string;
1414
+ label: string;
1415
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1431
- label: string;
1432
1431
  id: string;
1432
+ label: string;
1433
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1433
1434
  capture: "at_action" | "historical_lookup" | "fixture";
1434
1435
  locator?: string | undefined;
1435
1436
  }, {
1436
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1437
- label: string;
1438
1437
  id: string;
1438
+ label: string;
1439
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1446
- label: string;
1447
1446
  id: string;
1447
+ label: string;
1448
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1461
- label: string;
1462
1461
  id: string;
1462
+ label: string;
1463
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
- label: string;
1480
1479
  id: string;
1480
+ label: string;
1481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1481
1482
  capture: "at_action" | "historical_lookup" | "fixture";
1482
1483
  locator?: string | undefined;
1483
1484
  }, {
1484
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1485
- label: string;
1486
1485
  id: string;
1486
+ label: string;
1487
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1500
- label: string;
1501
1500
  id: string;
1501
+ label: string;
1502
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1518
- label: string;
1519
1518
  id: string;
1519
+ label: string;
1520
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
- label: string;
1537
1536
  id: string;
1537
+ label: string;
1538
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1538
1539
  capture: "at_action" | "historical_lookup" | "fixture";
1539
1540
  locator?: string | undefined;
1540
1541
  }, {
1541
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1542
- label: string;
1543
1542
  id: string;
1543
+ label: string;
1544
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1556
- label: string;
1557
1556
  id: string;
1557
+ label: string;
1558
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1575
- label: string;
1576
1575
  id: string;
1576
+ label: string;
1577
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1592
- label: string;
1593
1592
  id: string;
1593
+ label: string;
1594
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
1595
  capture: "at_action" | "historical_lookup" | "fixture";
1595
1596
  locator?: string | undefined;
1596
1597
  }, {
1597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
- label: string;
1599
1598
  id: string;
1599
+ label: string;
1600
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
1601
  capture: "at_action" | "historical_lookup" | "fixture";
1601
1602
  locator?: string | undefined;
1602
1603
  }>, "many">>;
1603
1604
  }, "strict", z.ZodTypeAny, {
1604
- kind: "mission_completed";
1605
1605
  summary: string;
1606
+ kind: "mission_completed";
1606
1607
  outcome: "failed" | "recovered" | "inconclusive";
1607
1608
  evidence: {
1608
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
- label: string;
1610
1609
  id: string;
1610
+ label: string;
1611
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
1612
  capture: "at_action" | "historical_lookup" | "fixture";
1612
1613
  locator?: string | undefined;
1613
1614
  }[];
1614
1615
  }, {
1615
- kind: "mission_completed";
1616
1616
  summary: string;
1617
+ kind: "mission_completed";
1617
1618
  outcome: "failed" | "recovered" | "inconclusive";
1618
1619
  evidence?: {
1619
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1620
- label: string;
1621
1620
  id: string;
1621
+ label: string;
1622
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1630
- label: string;
1631
1630
  id: string;
1631
+ label: string;
1632
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
1639
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1640
1639
  label: string;
1640
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1641
+ kind: "agent_status";
1641
1642
  role: string;
1642
1643
  agentId: string;
1643
1644
  sessionId: string;
1644
1645
  evidence: {
1645
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1646
- label: string;
1647
1646
  id: string;
1647
+ label: string;
1648
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1648
1649
  capture: "at_action" | "historical_lookup" | "fixture";
1649
1650
  locator?: string | undefined;
1650
1651
  }[];
1651
1652
  detail?: string | undefined;
1652
1653
  } | {
1653
- kind: "agent_output";
1654
1654
  summary: string;
1655
+ kind: "agent_output";
1655
1656
  agentId: string;
1656
1657
  sessionId: string;
1657
1658
  evidence: {
1658
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1659
- label: string;
1660
1659
  id: string;
1660
+ label: string;
1661
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1672
- label: string;
1673
1672
  id: string;
1673
+ label: string;
1674
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
1682
1682
  summary: string;
1683
+ kind: "conflict_detected";
1683
1684
  evidence: {
1684
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1685
- label: string;
1686
1685
  id: string;
1686
+ label: string;
1687
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
1694
- kind: "test_result";
1695
1695
  summary: string;
1696
1696
  status: "error" | "failed" | "passed";
1697
+ kind: "test_result";
1697
1698
  command: string;
1698
1699
  evidence: {
1699
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
- label: string;
1701
1700
  id: string;
1701
+ label: string;
1702
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1715
- label: string;
1716
1715
  id: string;
1716
+ label: string;
1717
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1729
- label: string;
1730
1729
  id: string;
1730
+ label: string;
1731
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
1732
  capture: "at_action" | "historical_lookup" | "fixture";
1732
1733
  locator?: string | undefined;
1733
1734
  }[];
1734
1735
  correctionId: string;
1735
1736
  approvedBy: {
1736
- kind: "agent" | "human";
1737
- label: string;
1738
1737
  id: string;
1738
+ label: string;
1739
+ kind: "agent" | "human";
1739
1740
  };
1740
1741
  note?: string | undefined;
1741
1742
  } | {
1742
1743
  kind: "decision_superseded";
1743
1744
  evidence: {
1744
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1745
- label: string;
1746
1745
  id: string;
1746
+ label: string;
1747
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
- label: string;
1761
1760
  id: string;
1761
+ label: string;
1762
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1774
- label: string;
1775
1774
  id: string;
1775
+ label: string;
1776
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
1785
1785
  summary: string;
1786
+ kind: "mission_completed";
1786
1787
  outcome: "failed" | "recovered" | "inconclusive";
1787
1788
  evidence: {
1788
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1789
- label: string;
1790
1789
  id: string;
1790
+ label: string;
1791
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1801
- label: string;
1802
1801
  id: string;
1802
+ label: string;
1803
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1803
1804
  capture: "at_action" | "historical_lookup" | "fixture";
1804
1805
  locator?: string | undefined;
1805
1806
  }[] | undefined;
1806
1807
  } | {
1807
- kind: "agent_status";
1808
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1809
1808
  label: string;
1809
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1810
+ kind: "agent_status";
1810
1811
  role: string;
1811
1812
  agentId: string;
1812
1813
  sessionId: string;
1813
1814
  detail?: string | undefined;
1814
1815
  evidence?: {
1815
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1816
- label: string;
1817
1816
  id: string;
1817
+ label: string;
1818
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1818
1819
  capture: "at_action" | "historical_lookup" | "fixture";
1819
1820
  locator?: string | undefined;
1820
1821
  }[] | undefined;
1821
1822
  } | {
1822
- kind: "agent_output";
1823
1823
  summary: string;
1824
+ kind: "agent_output";
1824
1825
  agentId: string;
1825
1826
  sessionId: string;
1826
1827
  outputId: string;
1827
1828
  evidence?: {
1828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1829
- label: string;
1830
1829
  id: string;
1830
+ label: string;
1831
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1844
- label: string;
1845
1844
  id: string;
1845
+ label: string;
1846
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1846
1847
  capture: "at_action" | "historical_lookup" | "fixture";
1847
1848
  locator?: string | undefined;
1848
1849
  }[] | undefined;
1849
1850
  } | {
1850
- kind: "conflict_detected";
1851
1851
  summary: string;
1852
+ kind: "conflict_detected";
1852
1853
  conflictId: string;
1853
1854
  decisionIds: string[];
1854
1855
  agentIds: string[];
1855
1856
  evidence?: {
1856
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1857
- label: string;
1858
1857
  id: string;
1858
+ label: string;
1859
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1859
1860
  capture: "at_action" | "historical_lookup" | "fixture";
1860
1861
  locator?: string | undefined;
1861
1862
  }[] | undefined;
1862
1863
  } | {
1863
- kind: "test_result";
1864
1864
  summary: string;
1865
1865
  status: "error" | "failed" | "passed";
1866
+ kind: "test_result";
1866
1867
  command: string;
1867
1868
  decisionId: string;
1868
1869
  testId: string;
1869
1870
  durationMs?: number | undefined;
1870
1871
  evidence?: {
1871
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1872
- label: string;
1873
1872
  id: string;
1873
+ label: string;
1874
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1889
- label: string;
1890
1889
  id: string;
1890
+ label: string;
1891
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
1899
- label: string;
1900
1899
  id: string;
1900
+ label: string;
1901
+ kind: "agent" | "human";
1901
1902
  };
1902
1903
  note?: string | undefined;
1903
1904
  evidence?: {
1904
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
- label: string;
1906
1905
  id: string;
1906
+ label: string;
1907
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1917
- label: string;
1918
1917
  id: string;
1918
+ label: string;
1919
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1932
- label: string;
1933
1932
  id: string;
1933
+ label: string;
1934
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1947
- label: string;
1948
1947
  id: string;
1948
+ label: string;
1949
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1949
1950
  capture: "at_action" | "historical_lookup" | "fixture";
1950
1951
  locator?: string | undefined;
1951
1952
  }[] | undefined;
1952
1953
  } | {
1953
- kind: "mission_completed";
1954
1954
  summary: string;
1955
+ kind: "mission_completed";
1955
1956
  outcome: "failed" | "recovered" | "inconclusive";
1956
1957
  evidence?: {
1957
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1958
- label: string;
1959
1958
  id: string;
1959
+ label: string;
1960
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
- label: string;
1982
1981
  id: string;
1982
+ label: string;
1983
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1983
1984
  capture: "at_action" | "historical_lookup" | "fixture";
1984
1985
  locator?: string | undefined;
1985
1986
  }, {
1986
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1987
- label: string;
1988
1987
  id: string;
1988
+ label: string;
1989
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1997
- label: string;
1998
1997
  id: string;
1998
+ label: string;
1999
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2011
- label: string;
2012
2011
  id: string;
2012
+ label: string;
2013
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2029
- label: string;
2030
2029
  id: string;
2030
+ label: string;
2031
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2031
2032
  capture: "at_action" | "historical_lookup" | "fixture";
2032
2033
  locator?: string | undefined;
2033
2034
  }, {
2034
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2035
- label: string;
2036
2035
  id: string;
2036
+ label: string;
2037
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
2045
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2046
2045
  label: string;
2046
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2047
+ kind: "agent_status";
2047
2048
  role: string;
2048
2049
  agentId: string;
2049
2050
  sessionId: string;
2050
2051
  evidence: {
2051
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2052
- label: string;
2053
2052
  id: string;
2053
+ label: string;
2054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2054
2055
  capture: "at_action" | "historical_lookup" | "fixture";
2055
2056
  locator?: string | undefined;
2056
2057
  }[];
2057
2058
  detail?: string | undefined;
2058
2059
  }, {
2059
- kind: "agent_status";
2060
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2061
2060
  label: string;
2061
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2062
+ kind: "agent_status";
2062
2063
  role: string;
2063
2064
  agentId: string;
2064
2065
  sessionId: string;
2065
2066
  detail?: string | undefined;
2066
2067
  evidence?: {
2067
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2068
- label: string;
2069
2068
  id: string;
2069
+ label: string;
2070
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
- label: string;
2085
2084
  id: string;
2085
+ label: string;
2086
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
2087
  capture: "at_action" | "historical_lookup" | "fixture";
2087
2088
  locator?: string | undefined;
2088
2089
  }, {
2089
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2090
- label: string;
2091
2090
  id: string;
2091
+ label: string;
2092
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_output";
2100
2100
  summary: string;
2101
+ kind: "agent_output";
2101
2102
  agentId: string;
2102
2103
  sessionId: string;
2103
2104
  evidence: {
2104
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
- label: string;
2106
2105
  id: string;
2106
+ label: string;
2107
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2107
2108
  capture: "at_action" | "historical_lookup" | "fixture";
2108
2109
  locator?: string | undefined;
2109
2110
  }[];
2110
2111
  outputId: string;
2111
2112
  }, {
2112
- kind: "agent_output";
2113
2113
  summary: string;
2114
+ kind: "agent_output";
2114
2115
  agentId: string;
2115
2116
  sessionId: string;
2116
2117
  outputId: string;
2117
2118
  evidence?: {
2118
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2119
- label: string;
2120
2119
  id: string;
2120
+ label: string;
2121
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2137
- label: string;
2138
2137
  id: string;
2138
+ label: string;
2139
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2139
2140
  capture: "at_action" | "historical_lookup" | "fixture";
2140
2141
  locator?: string | undefined;
2141
2142
  }, {
2142
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2143
- label: string;
2144
2143
  id: string;
2144
+ label: string;
2145
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2158
- label: string;
2159
2158
  id: string;
2159
+ label: string;
2160
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2176
- label: string;
2177
2176
  id: string;
2177
+ label: string;
2178
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2195
- label: string;
2196
2195
  id: string;
2196
+ label: string;
2197
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2197
2198
  capture: "at_action" | "historical_lookup" | "fixture";
2198
2199
  locator?: string | undefined;
2199
2200
  }, {
2200
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2201
- label: string;
2202
2201
  id: string;
2202
+ label: string;
2203
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2203
2204
  capture: "at_action" | "historical_lookup" | "fixture";
2204
2205
  locator?: string | undefined;
2205
2206
  }>, "many">>;
2206
2207
  }, "strict", z.ZodTypeAny, {
2207
- kind: "conflict_detected";
2208
2208
  summary: string;
2209
+ kind: "conflict_detected";
2209
2210
  evidence: {
2210
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2211
- label: string;
2212
2211
  id: string;
2212
+ label: string;
2213
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
2221
2221
  summary: string;
2222
+ kind: "conflict_detected";
2222
2223
  conflictId: string;
2223
2224
  decisionIds: string[];
2224
2225
  agentIds: string[];
2225
2226
  evidence?: {
2226
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2227
- label: string;
2228
2227
  id: string;
2228
+ label: string;
2229
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2249
- label: string;
2250
2249
  id: string;
2250
+ label: string;
2251
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2251
2252
  capture: "at_action" | "historical_lookup" | "fixture";
2252
2253
  locator?: string | undefined;
2253
2254
  }, {
2254
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2255
- label: string;
2256
2255
  id: string;
2256
+ label: string;
2257
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2257
2258
  capture: "at_action" | "historical_lookup" | "fixture";
2258
2259
  locator?: string | undefined;
2259
2260
  }>, "many">>;
2260
2261
  }, "strict", z.ZodTypeAny, {
2261
- kind: "test_result";
2262
2262
  summary: string;
2263
2263
  status: "error" | "failed" | "passed";
2264
+ kind: "test_result";
2264
2265
  command: string;
2265
2266
  evidence: {
2266
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2267
- label: string;
2268
2267
  id: string;
2268
+ label: string;
2269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  }, {
2277
- kind: "test_result";
2278
2278
  summary: string;
2279
2279
  status: "error" | "failed" | "passed";
2280
+ kind: "test_result";
2280
2281
  command: string;
2281
2282
  decisionId: string;
2282
2283
  testId: string;
2283
2284
  durationMs?: number | undefined;
2284
2285
  evidence?: {
2285
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2286
- label: string;
2287
2286
  id: string;
2287
+ label: string;
2288
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2309
- label: string;
2310
2309
  id: string;
2310
+ label: string;
2311
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2311
2312
  capture: "at_action" | "historical_lookup" | "fixture";
2312
2313
  locator?: string | undefined;
2313
2314
  }, {
2314
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2315
- label: string;
2316
2315
  id: string;
2316
+ label: string;
2317
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2326
- label: string;
2327
2326
  id: string;
2327
+ label: string;
2328
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2347
- label: string;
2348
2347
  id: string;
2348
+ label: string;
2349
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
2361
- label: string;
2362
2361
  id: string;
2363
- }, {
2364
- kind: "agent" | "human";
2365
2362
  label: string;
2363
+ kind: "agent" | "human";
2364
+ }, {
2366
2365
  id: string;
2366
+ label: string;
2367
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2377
- label: string;
2378
2377
  id: string;
2378
+ label: string;
2379
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2379
2380
  capture: "at_action" | "historical_lookup" | "fixture";
2380
2381
  locator?: string | undefined;
2381
2382
  }, {
2382
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
- label: string;
2384
2383
  id: string;
2384
+ label: string;
2385
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2392
- label: string;
2393
2392
  id: string;
2393
+ label: string;
2394
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2394
2395
  capture: "at_action" | "historical_lookup" | "fixture";
2395
2396
  locator?: string | undefined;
2396
2397
  }[];
2397
2398
  correctionId: string;
2398
2399
  approvedBy: {
2399
- kind: "agent" | "human";
2400
- label: string;
2401
2400
  id: string;
2401
+ label: string;
2402
+ kind: "agent" | "human";
2402
2403
  };
2403
2404
  note?: string | undefined;
2404
2405
  }, {
2405
2406
  kind: "correction_approved";
2406
2407
  correctionId: string;
2407
2408
  approvedBy: {
2408
- kind: "agent" | "human";
2409
- label: string;
2410
2409
  id: string;
2410
+ label: string;
2411
+ kind: "agent" | "human";
2411
2412
  };
2412
2413
  note?: string | undefined;
2413
2414
  evidence?: {
2414
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2415
- label: string;
2416
2415
  id: string;
2416
+ label: string;
2417
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2433
- label: string;
2434
2433
  id: string;
2434
+ label: string;
2435
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2435
2436
  capture: "at_action" | "historical_lookup" | "fixture";
2436
2437
  locator?: string | undefined;
2437
2438
  }, {
2438
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2439
- label: string;
2440
2439
  id: string;
2440
+ label: string;
2441
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2448
- label: string;
2449
2448
  id: string;
2449
+ label: string;
2450
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2463
- label: string;
2464
2463
  id: string;
2464
+ label: string;
2465
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
- label: string;
2482
2481
  id: string;
2482
+ label: string;
2483
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2483
2484
  capture: "at_action" | "historical_lookup" | "fixture";
2484
2485
  locator?: string | undefined;
2485
2486
  }, {
2486
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2487
- label: string;
2488
2487
  id: string;
2488
+ label: string;
2489
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2502
- label: string;
2503
2502
  id: string;
2503
+ label: string;
2504
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2520
- label: string;
2521
2520
  id: string;
2521
+ label: string;
2522
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
- label: string;
2539
2538
  id: string;
2539
+ label: string;
2540
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2540
2541
  capture: "at_action" | "historical_lookup" | "fixture";
2541
2542
  locator?: string | undefined;
2542
2543
  }, {
2543
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2544
- label: string;
2545
2544
  id: string;
2545
+ label: string;
2546
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2558
- label: string;
2559
2558
  id: string;
2559
+ label: string;
2560
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2577
- label: string;
2578
2577
  id: string;
2578
+ label: string;
2579
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2594
- label: string;
2595
2594
  id: string;
2595
+ label: string;
2596
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
2597
  capture: "at_action" | "historical_lookup" | "fixture";
2597
2598
  locator?: string | undefined;
2598
2599
  }, {
2599
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
- label: string;
2601
2600
  id: string;
2601
+ label: string;
2602
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
2603
  capture: "at_action" | "historical_lookup" | "fixture";
2603
2604
  locator?: string | undefined;
2604
2605
  }>, "many">>;
2605
2606
  }, "strict", z.ZodTypeAny, {
2606
- kind: "mission_completed";
2607
2607
  summary: string;
2608
+ kind: "mission_completed";
2608
2609
  outcome: "failed" | "recovered" | "inconclusive";
2609
2610
  evidence: {
2610
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
- label: string;
2612
2611
  id: string;
2612
+ label: string;
2613
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
2614
  capture: "at_action" | "historical_lookup" | "fixture";
2614
2615
  locator?: string | undefined;
2615
2616
  }[];
2616
2617
  }, {
2617
- kind: "mission_completed";
2618
2618
  summary: string;
2619
+ kind: "mission_completed";
2619
2620
  outcome: "failed" | "recovered" | "inconclusive";
2620
2621
  evidence?: {
2621
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2622
- label: string;
2623
2622
  id: string;
2623
+ label: string;
2624
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2632
- label: string;
2633
2632
  id: string;
2633
+ label: string;
2634
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
2641
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2642
2641
  label: string;
2642
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2643
+ kind: "agent_status";
2643
2644
  role: string;
2644
2645
  agentId: string;
2645
2646
  sessionId: string;
2646
2647
  evidence: {
2647
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2648
- label: string;
2649
2648
  id: string;
2649
+ label: string;
2650
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2650
2651
  capture: "at_action" | "historical_lookup" | "fixture";
2651
2652
  locator?: string | undefined;
2652
2653
  }[];
2653
2654
  detail?: string | undefined;
2654
2655
  } | {
2655
- kind: "agent_output";
2656
2656
  summary: string;
2657
+ kind: "agent_output";
2657
2658
  agentId: string;
2658
2659
  sessionId: string;
2659
2660
  evidence: {
2660
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2661
- label: string;
2662
2661
  id: string;
2662
+ label: string;
2663
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2674
- label: string;
2675
2674
  id: string;
2675
+ label: string;
2676
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
2684
2684
  summary: string;
2685
+ kind: "conflict_detected";
2685
2686
  evidence: {
2686
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2687
- label: string;
2688
2687
  id: string;
2688
+ label: string;
2689
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
2696
- kind: "test_result";
2697
2697
  summary: string;
2698
2698
  status: "error" | "failed" | "passed";
2699
+ kind: "test_result";
2699
2700
  command: string;
2700
2701
  evidence: {
2701
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
- label: string;
2703
2702
  id: string;
2703
+ label: string;
2704
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2717
- label: string;
2718
2717
  id: string;
2718
+ label: string;
2719
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2731
- label: string;
2732
2731
  id: string;
2732
+ label: string;
2733
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
2734
  capture: "at_action" | "historical_lookup" | "fixture";
2734
2735
  locator?: string | undefined;
2735
2736
  }[];
2736
2737
  correctionId: string;
2737
2738
  approvedBy: {
2738
- kind: "agent" | "human";
2739
- label: string;
2740
2739
  id: string;
2740
+ label: string;
2741
+ kind: "agent" | "human";
2741
2742
  };
2742
2743
  note?: string | undefined;
2743
2744
  } | {
2744
2745
  kind: "decision_superseded";
2745
2746
  evidence: {
2746
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2747
- label: string;
2748
2747
  id: string;
2748
+ label: string;
2749
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
- label: string;
2763
2762
  id: string;
2763
+ label: string;
2764
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2776
- label: string;
2777
2776
  id: string;
2777
+ label: string;
2778
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
2787
2787
  summary: string;
2788
+ kind: "mission_completed";
2788
2789
  outcome: "failed" | "recovered" | "inconclusive";
2789
2790
  evidence: {
2790
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2791
- label: string;
2792
2791
  id: string;
2792
+ label: string;
2793
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2803
- label: string;
2804
2803
  id: string;
2804
+ label: string;
2805
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2805
2806
  capture: "at_action" | "historical_lookup" | "fixture";
2806
2807
  locator?: string | undefined;
2807
2808
  }[] | undefined;
2808
2809
  } | {
2809
- kind: "agent_status";
2810
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2811
2810
  label: string;
2811
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2812
+ kind: "agent_status";
2812
2813
  role: string;
2813
2814
  agentId: string;
2814
2815
  sessionId: string;
2815
2816
  detail?: string | undefined;
2816
2817
  evidence?: {
2817
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2818
- label: string;
2819
2818
  id: string;
2819
+ label: string;
2820
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2820
2821
  capture: "at_action" | "historical_lookup" | "fixture";
2821
2822
  locator?: string | undefined;
2822
2823
  }[] | undefined;
2823
2824
  } | {
2824
- kind: "agent_output";
2825
2825
  summary: string;
2826
+ kind: "agent_output";
2826
2827
  agentId: string;
2827
2828
  sessionId: string;
2828
2829
  outputId: string;
2829
2830
  evidence?: {
2830
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2831
- label: string;
2832
2831
  id: string;
2832
+ label: string;
2833
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2846
- label: string;
2847
2846
  id: string;
2847
+ label: string;
2848
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2848
2849
  capture: "at_action" | "historical_lookup" | "fixture";
2849
2850
  locator?: string | undefined;
2850
2851
  }[] | undefined;
2851
2852
  } | {
2852
- kind: "conflict_detected";
2853
2853
  summary: string;
2854
+ kind: "conflict_detected";
2854
2855
  conflictId: string;
2855
2856
  decisionIds: string[];
2856
2857
  agentIds: string[];
2857
2858
  evidence?: {
2858
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2859
- label: string;
2860
2859
  id: string;
2860
+ label: string;
2861
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2861
2862
  capture: "at_action" | "historical_lookup" | "fixture";
2862
2863
  locator?: string | undefined;
2863
2864
  }[] | undefined;
2864
2865
  } | {
2865
- kind: "test_result";
2866
2866
  summary: string;
2867
2867
  status: "error" | "failed" | "passed";
2868
+ kind: "test_result";
2868
2869
  command: string;
2869
2870
  decisionId: string;
2870
2871
  testId: string;
2871
2872
  durationMs?: number | undefined;
2872
2873
  evidence?: {
2873
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2874
- label: string;
2875
2874
  id: string;
2875
+ label: string;
2876
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2891
- label: string;
2892
2891
  id: string;
2892
+ label: string;
2893
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
2901
- label: string;
2902
2901
  id: string;
2902
+ label: string;
2903
+ kind: "agent" | "human";
2903
2904
  };
2904
2905
  note?: string | undefined;
2905
2906
  evidence?: {
2906
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2907
- label: string;
2908
2907
  id: string;
2908
+ label: string;
2909
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2919
- label: string;
2920
2919
  id: string;
2920
+ label: string;
2921
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2934
- label: string;
2935
2934
  id: string;
2935
+ label: string;
2936
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2949
- label: string;
2950
2949
  id: string;
2950
+ label: string;
2951
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2951
2952
  capture: "at_action" | "historical_lookup" | "fixture";
2952
2953
  locator?: string | undefined;
2953
2954
  }[] | undefined;
2954
2955
  } | {
2955
- kind: "mission_completed";
2956
2956
  summary: string;
2957
+ kind: "mission_completed";
2957
2958
  outcome: "failed" | "recovered" | "inconclusive";
2958
2959
  evidence?: {
2959
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2960
- label: string;
2961
2960
  id: string;
2961
+ label: string;
2962
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2972
- label: string;
2973
2972
  id: string;
2973
+ label: string;
2974
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
2981
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2982
2981
  label: string;
2982
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2983
+ kind: "agent_status";
2983
2984
  role: string;
2984
2985
  agentId: string;
2985
2986
  sessionId: string;
2986
2987
  evidence: {
2987
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2988
- label: string;
2989
2988
  id: string;
2989
+ label: string;
2990
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2990
2991
  capture: "at_action" | "historical_lookup" | "fixture";
2991
2992
  locator?: string | undefined;
2992
2993
  }[];
2993
2994
  detail?: string | undefined;
2994
2995
  } | {
2995
- kind: "agent_output";
2996
2996
  summary: string;
2997
+ kind: "agent_output";
2997
2998
  agentId: string;
2998
2999
  sessionId: string;
2999
3000
  evidence: {
3000
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3001
- label: string;
3002
3001
  id: string;
3002
+ label: string;
3003
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3014
- label: string;
3015
3014
  id: string;
3015
+ label: string;
3016
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
3024
3024
  summary: string;
3025
+ kind: "conflict_detected";
3025
3026
  evidence: {
3026
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3027
- label: string;
3028
3027
  id: string;
3028
+ label: string;
3029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
3036
- kind: "test_result";
3037
3037
  summary: string;
3038
3038
  status: "error" | "failed" | "passed";
3039
+ kind: "test_result";
3039
3040
  command: string;
3040
3041
  evidence: {
3041
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3042
- label: string;
3043
3042
  id: string;
3043
+ label: string;
3044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
- label: string;
3058
3057
  id: string;
3058
+ label: string;
3059
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3071
- label: string;
3072
3071
  id: string;
3072
+ label: string;
3073
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3073
3074
  capture: "at_action" | "historical_lookup" | "fixture";
3074
3075
  locator?: string | undefined;
3075
3076
  }[];
3076
3077
  correctionId: string;
3077
3078
  approvedBy: {
3078
- kind: "agent" | "human";
3079
- label: string;
3080
3079
  id: string;
3080
+ label: string;
3081
+ kind: "agent" | "human";
3081
3082
  };
3082
3083
  note?: string | undefined;
3083
3084
  } | {
3084
3085
  kind: "decision_superseded";
3085
3086
  evidence: {
3086
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3087
- label: string;
3088
3087
  id: string;
3088
+ label: string;
3089
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3102
- label: string;
3103
3102
  id: string;
3103
+ label: string;
3104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
- label: string;
3117
3116
  id: string;
3117
+ label: string;
3118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
3127
3127
  summary: string;
3128
+ kind: "mission_completed";
3128
3129
  outcome: "failed" | "recovered" | "inconclusive";
3129
3130
  evidence: {
3130
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
- label: string;
3132
3131
  id: string;
3132
+ label: string;
3133
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3147
- label: string;
3148
3147
  id: string;
3148
+ label: string;
3149
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3149
3150
  capture: "at_action" | "historical_lookup" | "fixture";
3150
3151
  locator?: string | undefined;
3151
3152
  }[] | undefined;
3152
3153
  } | {
3153
- kind: "agent_status";
3154
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3155
3154
  label: string;
3155
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3156
+ kind: "agent_status";
3156
3157
  role: string;
3157
3158
  agentId: string;
3158
3159
  sessionId: string;
3159
3160
  detail?: string | undefined;
3160
3161
  evidence?: {
3161
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3162
- label: string;
3163
3162
  id: string;
3163
+ label: string;
3164
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3164
3165
  capture: "at_action" | "historical_lookup" | "fixture";
3165
3166
  locator?: string | undefined;
3166
3167
  }[] | undefined;
3167
3168
  } | {
3168
- kind: "agent_output";
3169
3169
  summary: string;
3170
+ kind: "agent_output";
3170
3171
  agentId: string;
3171
3172
  sessionId: string;
3172
3173
  outputId: string;
3173
3174
  evidence?: {
3174
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3175
- label: string;
3176
3175
  id: string;
3176
+ label: string;
3177
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3190
- label: string;
3191
3190
  id: string;
3191
+ label: string;
3192
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3192
3193
  capture: "at_action" | "historical_lookup" | "fixture";
3193
3194
  locator?: string | undefined;
3194
3195
  }[] | undefined;
3195
3196
  } | {
3196
- kind: "conflict_detected";
3197
3197
  summary: string;
3198
+ kind: "conflict_detected";
3198
3199
  conflictId: string;
3199
3200
  decisionIds: string[];
3200
3201
  agentIds: string[];
3201
3202
  evidence?: {
3202
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3203
- label: string;
3204
3203
  id: string;
3204
+ label: string;
3205
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3205
3206
  capture: "at_action" | "historical_lookup" | "fixture";
3206
3207
  locator?: string | undefined;
3207
3208
  }[] | undefined;
3208
3209
  } | {
3209
- kind: "test_result";
3210
3210
  summary: string;
3211
3211
  status: "error" | "failed" | "passed";
3212
+ kind: "test_result";
3212
3213
  command: string;
3213
3214
  decisionId: string;
3214
3215
  testId: string;
3215
3216
  durationMs?: number | undefined;
3216
3217
  evidence?: {
3217
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3218
- label: string;
3219
3218
  id: string;
3219
+ label: string;
3220
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3235
- label: string;
3236
3235
  id: string;
3236
+ label: string;
3237
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
3245
- label: string;
3246
3245
  id: string;
3246
+ label: string;
3247
+ kind: "agent" | "human";
3247
3248
  };
3248
3249
  note?: string | undefined;
3249
3250
  evidence?: {
3250
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3251
- label: string;
3252
3251
  id: string;
3252
+ label: string;
3253
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3263
- label: string;
3264
3263
  id: string;
3264
+ label: string;
3265
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3278
- label: string;
3279
3278
  id: string;
3279
+ label: string;
3280
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3293
- label: string;
3294
3293
  id: string;
3294
+ label: string;
3295
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
3296
  capture: "at_action" | "historical_lookup" | "fixture";
3296
3297
  locator?: string | undefined;
3297
3298
  }[] | undefined;
3298
3299
  } | {
3299
- kind: "mission_completed";
3300
3300
  summary: string;
3301
+ kind: "mission_completed";
3301
3302
  outcome: "failed" | "recovered" | "inconclusive";
3302
3303
  evidence?: {
3303
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3304
- label: string;
3305
3304
  id: string;
3305
+ label: string;
3306
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3336
- label: string;
3337
3336
  id: string;
3337
+ label: string;
3338
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
3339
  capture: "at_action" | "historical_lookup" | "fixture";
3339
3340
  locator?: string | undefined;
3340
3341
  }, {
3341
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3342
- label: string;
3343
3342
  id: string;
3343
+ label: string;
3344
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
- label: string;
3353
3352
  id: string;
3353
+ label: string;
3354
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3366
- label: string;
3367
3366
  id: string;
3367
+ label: string;
3368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3384
- label: string;
3385
3384
  id: string;
3385
+ label: string;
3386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3386
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3387
3388
  locator?: string | undefined;
3388
3389
  }, {
3389
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3390
- label: string;
3391
3390
  id: string;
3391
+ label: string;
3392
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
3400
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3401
3400
  label: string;
3401
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3402
+ kind: "agent_status";
3402
3403
  role: string;
3403
3404
  agentId: string;
3404
3405
  sessionId: string;
3405
3406
  evidence: {
3406
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3407
- label: string;
3408
3407
  id: string;
3408
+ label: string;
3409
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3409
3410
  capture: "at_action" | "historical_lookup" | "fixture";
3410
3411
  locator?: string | undefined;
3411
3412
  }[];
3412
3413
  detail?: string | undefined;
3413
3414
  }, {
3414
- kind: "agent_status";
3415
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3416
3415
  label: string;
3416
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3417
+ kind: "agent_status";
3417
3418
  role: string;
3418
3419
  agentId: string;
3419
3420
  sessionId: string;
3420
3421
  detail?: string | undefined;
3421
3422
  evidence?: {
3422
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3423
- label: string;
3424
3423
  id: string;
3424
+ label: string;
3425
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3439
- label: string;
3440
3439
  id: string;
3440
+ label: string;
3441
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3441
3442
  capture: "at_action" | "historical_lookup" | "fixture";
3442
3443
  locator?: string | undefined;
3443
3444
  }, {
3444
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3445
- label: string;
3446
3445
  id: string;
3446
+ label: string;
3447
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_output";
3455
3455
  summary: string;
3456
+ kind: "agent_output";
3456
3457
  agentId: string;
3457
3458
  sessionId: string;
3458
3459
  evidence: {
3459
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
- label: string;
3461
3460
  id: string;
3461
+ label: string;
3462
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3462
3463
  capture: "at_action" | "historical_lookup" | "fixture";
3463
3464
  locator?: string | undefined;
3464
3465
  }[];
3465
3466
  outputId: string;
3466
3467
  }, {
3467
- kind: "agent_output";
3468
3468
  summary: string;
3469
+ kind: "agent_output";
3469
3470
  agentId: string;
3470
3471
  sessionId: string;
3471
3472
  outputId: string;
3472
3473
  evidence?: {
3473
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3474
- label: string;
3475
3474
  id: string;
3475
+ label: string;
3476
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3492
- label: string;
3493
3492
  id: string;
3493
+ label: string;
3494
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3494
3495
  capture: "at_action" | "historical_lookup" | "fixture";
3495
3496
  locator?: string | undefined;
3496
3497
  }, {
3497
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3498
- label: string;
3499
3498
  id: string;
3499
+ label: string;
3500
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3513
- label: string;
3514
3513
  id: string;
3514
+ label: string;
3515
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3531
- label: string;
3532
3531
  id: string;
3532
+ label: string;
3533
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3550
- label: string;
3551
3550
  id: string;
3551
+ label: string;
3552
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3552
3553
  capture: "at_action" | "historical_lookup" | "fixture";
3553
3554
  locator?: string | undefined;
3554
3555
  }, {
3555
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3556
- label: string;
3557
3556
  id: string;
3557
+ label: string;
3558
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3558
3559
  capture: "at_action" | "historical_lookup" | "fixture";
3559
3560
  locator?: string | undefined;
3560
3561
  }>, "many">>;
3561
3562
  }, "strict", z.ZodTypeAny, {
3562
- kind: "conflict_detected";
3563
3563
  summary: string;
3564
+ kind: "conflict_detected";
3564
3565
  evidence: {
3565
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3566
- label: string;
3567
3566
  id: string;
3567
+ label: string;
3568
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
3576
3576
  summary: string;
3577
+ kind: "conflict_detected";
3577
3578
  conflictId: string;
3578
3579
  decisionIds: string[];
3579
3580
  agentIds: string[];
3580
3581
  evidence?: {
3581
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3582
- label: string;
3583
3582
  id: string;
3583
+ label: string;
3584
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
- label: string;
3605
3604
  id: string;
3605
+ label: string;
3606
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3606
3607
  capture: "at_action" | "historical_lookup" | "fixture";
3607
3608
  locator?: string | undefined;
3608
3609
  }, {
3609
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3610
- label: string;
3611
3610
  id: string;
3611
+ label: string;
3612
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3612
3613
  capture: "at_action" | "historical_lookup" | "fixture";
3613
3614
  locator?: string | undefined;
3614
3615
  }>, "many">>;
3615
3616
  }, "strict", z.ZodTypeAny, {
3616
- kind: "test_result";
3617
3617
  summary: string;
3618
3618
  status: "error" | "failed" | "passed";
3619
+ kind: "test_result";
3619
3620
  command: string;
3620
3621
  evidence: {
3621
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3622
- label: string;
3623
3622
  id: string;
3623
+ label: string;
3624
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  }, {
3632
- kind: "test_result";
3633
3633
  summary: string;
3634
3634
  status: "error" | "failed" | "passed";
3635
+ kind: "test_result";
3635
3636
  command: string;
3636
3637
  decisionId: string;
3637
3638
  testId: string;
3638
3639
  durationMs?: number | undefined;
3639
3640
  evidence?: {
3640
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3641
- label: string;
3642
3641
  id: string;
3642
+ label: string;
3643
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
- label: string;
3665
3664
  id: string;
3665
+ label: string;
3666
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3666
3667
  capture: "at_action" | "historical_lookup" | "fixture";
3667
3668
  locator?: string | undefined;
3668
3669
  }, {
3669
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3670
- label: string;
3671
3670
  id: string;
3671
+ label: string;
3672
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3681
- label: string;
3682
3681
  id: string;
3682
+ label: string;
3683
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3702
- label: string;
3703
3702
  id: string;
3703
+ label: string;
3704
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
3716
- label: string;
3717
3716
  id: string;
3718
- }, {
3719
- kind: "agent" | "human";
3720
3717
  label: string;
3718
+ kind: "agent" | "human";
3719
+ }, {
3721
3720
  id: string;
3721
+ label: string;
3722
+ kind: "agent" | "human";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3732
- label: string;
3733
3732
  id: string;
3733
+ label: string;
3734
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3734
3735
  capture: "at_action" | "historical_lookup" | "fixture";
3735
3736
  locator?: string | undefined;
3736
3737
  }, {
3737
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
- label: string;
3739
3738
  id: string;
3739
+ label: string;
3740
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3747
- label: string;
3748
3747
  id: string;
3748
+ label: string;
3749
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3749
3750
  capture: "at_action" | "historical_lookup" | "fixture";
3750
3751
  locator?: string | undefined;
3751
3752
  }[];
3752
3753
  correctionId: string;
3753
3754
  approvedBy: {
3754
- kind: "agent" | "human";
3755
- label: string;
3756
3755
  id: string;
3756
+ label: string;
3757
+ kind: "agent" | "human";
3757
3758
  };
3758
3759
  note?: string | undefined;
3759
3760
  }, {
3760
3761
  kind: "correction_approved";
3761
3762
  correctionId: string;
3762
3763
  approvedBy: {
3763
- kind: "agent" | "human";
3764
- label: string;
3765
3764
  id: string;
3765
+ label: string;
3766
+ kind: "agent" | "human";
3766
3767
  };
3767
3768
  note?: string | undefined;
3768
3769
  evidence?: {
3769
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3770
- label: string;
3771
3770
  id: string;
3771
+ label: string;
3772
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3788
- label: string;
3789
3788
  id: string;
3789
+ label: string;
3790
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3790
3791
  capture: "at_action" | "historical_lookup" | "fixture";
3791
3792
  locator?: string | undefined;
3792
3793
  }, {
3793
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3794
- label: string;
3795
3794
  id: string;
3795
+ label: string;
3796
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3803
- label: string;
3804
3803
  id: string;
3804
+ label: string;
3805
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3818
- label: string;
3819
3818
  id: string;
3819
+ label: string;
3820
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
- label: string;
3837
3836
  id: string;
3837
+ label: string;
3838
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3838
3839
  capture: "at_action" | "historical_lookup" | "fixture";
3839
3840
  locator?: string | undefined;
3840
3841
  }, {
3841
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3842
- label: string;
3843
3842
  id: string;
3843
+ label: string;
3844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3857
- label: string;
3858
3857
  id: string;
3858
+ label: string;
3859
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3875
- label: string;
3876
3875
  id: string;
3876
+ label: string;
3877
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
- label: string;
3894
3893
  id: string;
3894
+ label: string;
3895
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3895
3896
  capture: "at_action" | "historical_lookup" | "fixture";
3896
3897
  locator?: string | undefined;
3897
3898
  }, {
3898
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3899
- label: string;
3900
3899
  id: string;
3900
+ label: string;
3901
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3913
- label: string;
3914
3913
  id: string;
3914
+ label: string;
3915
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3932
- label: string;
3933
3932
  id: string;
3933
+ label: string;
3934
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3949
- label: string;
3950
3949
  id: string;
3950
+ label: string;
3951
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
3952
  capture: "at_action" | "historical_lookup" | "fixture";
3952
3953
  locator?: string | undefined;
3953
3954
  }, {
3954
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
- label: string;
3956
3955
  id: string;
3956
+ label: string;
3957
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
3958
  capture: "at_action" | "historical_lookup" | "fixture";
3958
3959
  locator?: string | undefined;
3959
3960
  }>, "many">>;
3960
3961
  }, "strict", z.ZodTypeAny, {
3961
- kind: "mission_completed";
3962
3962
  summary: string;
3963
+ kind: "mission_completed";
3963
3964
  outcome: "failed" | "recovered" | "inconclusive";
3964
3965
  evidence: {
3965
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
- label: string;
3967
3966
  id: string;
3967
+ label: string;
3968
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
3969
  capture: "at_action" | "historical_lookup" | "fixture";
3969
3970
  locator?: string | undefined;
3970
3971
  }[];
3971
3972
  }, {
3972
- kind: "mission_completed";
3973
3973
  summary: string;
3974
+ kind: "mission_completed";
3974
3975
  outcome: "failed" | "recovered" | "inconclusive";
3975
3976
  evidence?: {
3976
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3977
- label: string;
3978
3977
  id: string;
3978
+ label: string;
3979
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3987
- label: string;
3988
3987
  id: string;
3988
+ label: string;
3989
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent_status";
3996
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3997
3996
  label: string;
3997
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3998
+ kind: "agent_status";
3998
3999
  role: string;
3999
4000
  agentId: string;
4000
4001
  sessionId: string;
4001
4002
  evidence: {
4002
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4003
- label: string;
4004
4003
  id: string;
4004
+ label: string;
4005
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4005
4006
  capture: "at_action" | "historical_lookup" | "fixture";
4006
4007
  locator?: string | undefined;
4007
4008
  }[];
4008
4009
  detail?: string | undefined;
4009
4010
  } | {
4010
- kind: "agent_output";
4011
4011
  summary: string;
4012
+ kind: "agent_output";
4012
4013
  agentId: string;
4013
4014
  sessionId: string;
4014
4015
  evidence: {
4015
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4016
- label: string;
4017
4016
  id: string;
4017
+ label: string;
4018
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4029
- label: string;
4030
4029
  id: string;
4030
+ label: string;
4031
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "conflict_detected";
4039
4039
  summary: string;
4040
+ kind: "conflict_detected";
4040
4041
  evidence: {
4041
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4042
- label: string;
4043
4042
  id: string;
4043
+ label: string;
4044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
  } | {
4051
- kind: "test_result";
4052
4052
  summary: string;
4053
4053
  status: "error" | "failed" | "passed";
4054
+ kind: "test_result";
4054
4055
  command: string;
4055
4056
  evidence: {
4056
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
- label: string;
4058
4057
  id: string;
4058
+ label: string;
4059
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4072
- label: string;
4073
4072
  id: string;
4073
+ label: string;
4074
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4086
- label: string;
4087
4086
  id: string;
4087
+ label: string;
4088
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
4089
  capture: "at_action" | "historical_lookup" | "fixture";
4089
4090
  locator?: string | undefined;
4090
4091
  }[];
4091
4092
  correctionId: string;
4092
4093
  approvedBy: {
4093
- kind: "agent" | "human";
4094
- label: string;
4095
4094
  id: string;
4095
+ label: string;
4096
+ kind: "agent" | "human";
4096
4097
  };
4097
4098
  note?: string | undefined;
4098
4099
  } | {
4099
4100
  kind: "decision_superseded";
4100
4101
  evidence: {
4101
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4102
- label: string;
4103
4102
  id: string;
4103
+ label: string;
4104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
- label: string;
4118
4117
  id: string;
4118
+ label: string;
4119
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4131
- label: string;
4132
4131
  id: string;
4132
+ label: string;
4133
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "mission_completed";
4142
4142
  summary: string;
4143
+ kind: "mission_completed";
4143
4144
  outcome: "failed" | "recovered" | "inconclusive";
4144
4145
  evidence: {
4145
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4146
- label: string;
4147
4146
  id: string;
4147
+ label: string;
4148
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4158
- label: string;
4159
4158
  id: string;
4159
+ label: string;
4160
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4160
4161
  capture: "at_action" | "historical_lookup" | "fixture";
4161
4162
  locator?: string | undefined;
4162
4163
  }[] | undefined;
4163
4164
  } | {
4164
- kind: "agent_status";
4165
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4166
4165
  label: string;
4166
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4167
+ kind: "agent_status";
4167
4168
  role: string;
4168
4169
  agentId: string;
4169
4170
  sessionId: string;
4170
4171
  detail?: string | undefined;
4171
4172
  evidence?: {
4172
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4173
- label: string;
4174
4173
  id: string;
4174
+ label: string;
4175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4175
4176
  capture: "at_action" | "historical_lookup" | "fixture";
4176
4177
  locator?: string | undefined;
4177
4178
  }[] | undefined;
4178
4179
  } | {
4179
- kind: "agent_output";
4180
4180
  summary: string;
4181
+ kind: "agent_output";
4181
4182
  agentId: string;
4182
4183
  sessionId: string;
4183
4184
  outputId: string;
4184
4185
  evidence?: {
4185
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4186
- label: string;
4187
4186
  id: string;
4187
+ label: string;
4188
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4201
- label: string;
4202
4201
  id: string;
4202
+ label: string;
4203
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4203
4204
  capture: "at_action" | "historical_lookup" | "fixture";
4204
4205
  locator?: string | undefined;
4205
4206
  }[] | undefined;
4206
4207
  } | {
4207
- kind: "conflict_detected";
4208
4208
  summary: string;
4209
+ kind: "conflict_detected";
4209
4210
  conflictId: string;
4210
4211
  decisionIds: string[];
4211
4212
  agentIds: string[];
4212
4213
  evidence?: {
4213
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4214
- label: string;
4215
4214
  id: string;
4215
+ label: string;
4216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4216
4217
  capture: "at_action" | "historical_lookup" | "fixture";
4217
4218
  locator?: string | undefined;
4218
4219
  }[] | undefined;
4219
4220
  } | {
4220
- kind: "test_result";
4221
4221
  summary: string;
4222
4222
  status: "error" | "failed" | "passed";
4223
+ kind: "test_result";
4223
4224
  command: string;
4224
4225
  decisionId: string;
4225
4226
  testId: string;
4226
4227
  durationMs?: number | undefined;
4227
4228
  evidence?: {
4228
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4229
- label: string;
4230
4229
  id: string;
4230
+ label: string;
4231
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4246
- label: string;
4247
4246
  id: string;
4247
+ label: string;
4248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "agent" | "human";
4256
- label: string;
4257
4256
  id: string;
4257
+ label: string;
4258
+ kind: "agent" | "human";
4258
4259
  };
4259
4260
  note?: string | undefined;
4260
4261
  evidence?: {
4261
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
- label: string;
4263
4262
  id: string;
4263
+ label: string;
4264
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4274
- label: string;
4275
4274
  id: string;
4275
+ label: string;
4276
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
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
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4289
- label: string;
4290
4289
  id: string;
4290
+ label: string;
4291
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4291
4292
  capture: "at_action" | "historical_lookup" | "fixture";
4292
4293
  locator?: string | undefined;
4293
4294
  }[] | undefined;
@@ -4300,63 +4301,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4300
4301
  recallReceiptId: string;
4301
4302
  staleDecisionAbsent: boolean;
4302
4303
  evidence?: {
4303
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4304
- label: string;
4305
4304
  id: string;
4305
+ label: string;
4306
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4306
4307
  capture: "at_action" | "historical_lookup" | "fixture";
4307
4308
  locator?: string | undefined;
4308
4309
  }[] | undefined;
4309
4310
  } | {
4310
- kind: "mission_completed";
4311
4311
  summary: string;
4312
+ kind: "mission_completed";
4312
4313
  outcome: "failed" | "recovered" | "inconclusive";
4313
4314
  evidence?: {
4314
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4315
- label: string;
4316
4315
  id: string;
4316
+ label: string;
4317
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4317
4318
  capture: "at_action" | "historical_lookup" | "fixture";
4318
4319
  locator?: string | undefined;
4319
4320
  }[] | undefined;
4320
4321
  }>;
4321
4322
  }, "strict", z.ZodTypeAny, {
4322
- schemaVersion: "1";
4323
+ namespace: string;
4323
4324
  recordedAt: string;
4325
+ schemaVersion: "1";
4324
4326
  payload: {
4325
4327
  kind: "mission_started";
4326
4328
  title: string;
4327
4329
  evidence: {
4328
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4329
- label: string;
4330
4330
  id: string;
4331
+ label: string;
4332
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4331
4333
  capture: "at_action" | "historical_lookup" | "fixture";
4332
4334
  locator?: string | undefined;
4333
4335
  }[];
4334
4336
  objective: string;
4335
4337
  runMode: "replay" | "fixture" | "live";
4336
4338
  } | {
4337
- kind: "agent_status";
4338
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4339
4339
  label: string;
4340
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4341
+ kind: "agent_status";
4340
4342
  role: string;
4341
4343
  agentId: string;
4342
4344
  sessionId: string;
4343
4345
  evidence: {
4344
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4345
- label: string;
4346
4346
  id: string;
4347
+ label: string;
4348
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4347
4349
  capture: "at_action" | "historical_lookup" | "fixture";
4348
4350
  locator?: string | undefined;
4349
4351
  }[];
4350
4352
  detail?: string | undefined;
4351
4353
  } | {
4352
- kind: "agent_output";
4353
4354
  summary: string;
4355
+ kind: "agent_output";
4354
4356
  agentId: string;
4355
4357
  sessionId: string;
4356
4358
  evidence: {
4357
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4358
- label: string;
4359
4359
  id: string;
4360
+ label: string;
4361
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4360
4362
  capture: "at_action" | "historical_lookup" | "fixture";
4361
4363
  locator?: string | undefined;
4362
4364
  }[];
@@ -4367,9 +4369,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4367
4369
  statement: string;
4368
4370
  sessionId: string;
4369
4371
  evidence: {
4370
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
- label: string;
4372
4372
  id: string;
4373
+ label: string;
4374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
4375
  capture: "at_action" | "historical_lookup" | "fixture";
4374
4376
  locator?: string | undefined;
4375
4377
  }[];
@@ -4377,12 +4379,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4377
4379
  decisionId: string;
4378
4380
  confidence?: number | undefined;
4379
4381
  } | {
4380
- kind: "conflict_detected";
4381
4382
  summary: string;
4383
+ kind: "conflict_detected";
4382
4384
  evidence: {
4383
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4384
- label: string;
4385
4385
  id: string;
4386
+ label: string;
4387
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4386
4388
  capture: "at_action" | "historical_lookup" | "fixture";
4387
4389
  locator?: string | undefined;
4388
4390
  }[];
@@ -4390,14 +4392,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4390
4392
  decisionIds: string[];
4391
4393
  agentIds: string[];
4392
4394
  } | {
4393
- kind: "test_result";
4394
4395
  summary: string;
4395
4396
  status: "error" | "failed" | "passed";
4397
+ kind: "test_result";
4396
4398
  command: string;
4397
4399
  evidence: {
4398
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4399
- label: string;
4400
4400
  id: string;
4401
+ label: string;
4402
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4401
4403
  capture: "at_action" | "historical_lookup" | "fixture";
4402
4404
  locator?: string | undefined;
4403
4405
  }[];
@@ -4410,9 +4412,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4410
4412
  statement: string;
4411
4413
  rationale: string;
4412
4414
  evidence: {
4413
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
- label: string;
4415
4415
  id: string;
4416
+ label: string;
4417
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4416
4418
  capture: "at_action" | "historical_lookup" | "fixture";
4417
4419
  locator?: string | undefined;
4418
4420
  }[];
@@ -4424,25 +4426,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4424
4426
  } | {
4425
4427
  kind: "correction_approved";
4426
4428
  evidence: {
4427
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4428
- label: string;
4429
4429
  id: string;
4430
+ label: string;
4431
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4430
4432
  capture: "at_action" | "historical_lookup" | "fixture";
4431
4433
  locator?: string | undefined;
4432
4434
  }[];
4433
4435
  correctionId: string;
4434
4436
  approvedBy: {
4435
- kind: "agent" | "human";
4436
- label: string;
4437
4437
  id: string;
4438
+ label: string;
4439
+ kind: "agent" | "human";
4438
4440
  };
4439
4441
  note?: string | undefined;
4440
4442
  } | {
4441
4443
  kind: "decision_superseded";
4442
4444
  evidence: {
4443
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4444
- label: string;
4445
4445
  id: string;
4446
+ label: string;
4447
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4446
4448
  capture: "at_action" | "historical_lookup" | "fixture";
4447
4449
  locator?: string | undefined;
4448
4450
  }[];
@@ -4455,9 +4457,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4455
4457
  agentId: string;
4456
4458
  sessionId: string;
4457
4459
  evidence: {
4458
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4459
- label: string;
4460
4460
  id: string;
4461
+ label: string;
4462
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4461
4463
  capture: "at_action" | "historical_lookup" | "fixture";
4462
4464
  locator?: string | undefined;
4463
4465
  }[];
@@ -4469,9 +4471,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4469
4471
  agentId: string;
4470
4472
  sessionId: string;
4471
4473
  evidence: {
4472
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4473
- label: string;
4474
4474
  id: string;
4475
+ label: string;
4476
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4475
4477
  capture: "at_action" | "historical_lookup" | "fixture";
4476
4478
  locator?: string | undefined;
4477
4479
  }[];
@@ -4480,63 +4482,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4480
4482
  recallReceiptId: string;
4481
4483
  staleDecisionAbsent: boolean;
4482
4484
  } | {
4483
- kind: "mission_completed";
4484
4485
  summary: string;
4486
+ kind: "mission_completed";
4485
4487
  outcome: "failed" | "recovered" | "inconclusive";
4486
4488
  evidence: {
4487
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4488
- label: string;
4489
4489
  id: string;
4490
+ label: string;
4491
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
4492
  capture: "at_action" | "historical_lookup" | "fixture";
4491
4493
  locator?: string | undefined;
4492
4494
  }[];
4493
4495
  };
4494
- 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
- schemaVersion: "1";
4502
+ namespace: string;
4502
4503
  recordedAt: string;
4504
+ schemaVersion: "1";
4503
4505
  payload: {
4504
4506
  kind: "mission_started";
4505
4507
  title: string;
4506
4508
  objective: string;
4507
4509
  runMode: "replay" | "fixture" | "live";
4508
4510
  evidence?: {
4509
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4510
- label: string;
4511
4511
  id: string;
4512
+ label: string;
4513
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4512
4514
  capture: "at_action" | "historical_lookup" | "fixture";
4513
4515
  locator?: string | undefined;
4514
4516
  }[] | undefined;
4515
4517
  } | {
4516
- kind: "agent_status";
4517
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4518
4518
  label: string;
4519
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4520
+ kind: "agent_status";
4519
4521
  role: string;
4520
4522
  agentId: string;
4521
4523
  sessionId: string;
4522
4524
  detail?: string | undefined;
4523
4525
  evidence?: {
4524
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4525
- label: string;
4526
4526
  id: string;
4527
+ label: string;
4528
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4527
4529
  capture: "at_action" | "historical_lookup" | "fixture";
4528
4530
  locator?: string | undefined;
4529
4531
  }[] | undefined;
4530
4532
  } | {
4531
- kind: "agent_output";
4532
4533
  summary: string;
4534
+ kind: "agent_output";
4533
4535
  agentId: string;
4534
4536
  sessionId: string;
4535
4537
  outputId: string;
4536
4538
  evidence?: {
4537
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
- label: string;
4539
4539
  id: string;
4540
+ label: string;
4541
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4540
4542
  capture: "at_action" | "historical_lookup" | "fixture";
4541
4543
  locator?: string | undefined;
4542
4544
  }[] | undefined;
@@ -4549,37 +4551,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4549
4551
  decisionId: string;
4550
4552
  confidence?: number | undefined;
4551
4553
  evidence?: {
4552
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4553
- label: string;
4554
4554
  id: string;
4555
+ label: string;
4556
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
4557
  capture: "at_action" | "historical_lookup" | "fixture";
4556
4558
  locator?: string | undefined;
4557
4559
  }[] | undefined;
4558
4560
  } | {
4559
- kind: "conflict_detected";
4560
4561
  summary: string;
4562
+ kind: "conflict_detected";
4561
4563
  conflictId: string;
4562
4564
  decisionIds: string[];
4563
4565
  agentIds: string[];
4564
4566
  evidence?: {
4565
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4566
- label: string;
4567
4567
  id: string;
4568
+ label: string;
4569
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4568
4570
  capture: "at_action" | "historical_lookup" | "fixture";
4569
4571
  locator?: string | undefined;
4570
4572
  }[] | undefined;
4571
4573
  } | {
4572
- kind: "test_result";
4573
4574
  summary: string;
4574
4575
  status: "error" | "failed" | "passed";
4576
+ kind: "test_result";
4575
4577
  command: string;
4576
4578
  decisionId: string;
4577
4579
  testId: string;
4578
4580
  durationMs?: number | undefined;
4579
4581
  evidence?: {
4580
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4581
- label: string;
4582
4582
  id: string;
4583
+ label: string;
4584
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4583
4585
  capture: "at_action" | "historical_lookup" | "fixture";
4584
4586
  locator?: string | undefined;
4585
4587
  }[] | undefined;
@@ -4594,9 +4596,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4594
4596
  supersedesDecisionIds: string[];
4595
4597
  proposedBy: string;
4596
4598
  evidence?: {
4597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4598
- label: string;
4599
4599
  id: string;
4600
+ label: string;
4601
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4600
4602
  capture: "at_action" | "historical_lookup" | "fixture";
4601
4603
  locator?: string | undefined;
4602
4604
  }[] | undefined;
@@ -4604,15 +4606,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4604
4606
  kind: "correction_approved";
4605
4607
  correctionId: string;
4606
4608
  approvedBy: {
4607
- kind: "agent" | "human";
4608
- label: string;
4609
4609
  id: string;
4610
+ label: string;
4611
+ kind: "agent" | "human";
4610
4612
  };
4611
4613
  note?: string | undefined;
4612
4614
  evidence?: {
4613
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4614
- label: string;
4615
4615
  id: string;
4616
+ label: string;
4617
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4616
4618
  capture: "at_action" | "historical_lookup" | "fixture";
4617
4619
  locator?: string | undefined;
4618
4620
  }[] | undefined;
@@ -4622,9 +4624,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4622
4624
  correctionId: string;
4623
4625
  replacementDecisionId: string;
4624
4626
  evidence?: {
4625
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4626
- label: string;
4627
4627
  id: string;
4628
+ label: string;
4629
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4628
4630
  capture: "at_action" | "historical_lookup" | "fixture";
4629
4631
  locator?: string | undefined;
4630
4632
  }[] | undefined;
@@ -4637,9 +4639,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4637
4639
  recallReceiptId: string;
4638
4640
  capturedAtAction: boolean;
4639
4641
  evidence?: {
4640
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4641
- label: string;
4642
4642
  id: string;
4643
+ label: string;
4644
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4643
4645
  capture: "at_action" | "historical_lookup" | "fixture";
4644
4646
  locator?: string | undefined;
4645
4647
  }[] | undefined;
@@ -4652,25 +4654,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4652
4654
  recallReceiptId: string;
4653
4655
  staleDecisionAbsent: boolean;
4654
4656
  evidence?: {
4655
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4656
- label: string;
4657
4657
  id: string;
4658
+ label: string;
4659
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4658
4660
  capture: "at_action" | "historical_lookup" | "fixture";
4659
4661
  locator?: string | undefined;
4660
4662
  }[] | undefined;
4661
4663
  } | {
4662
- kind: "mission_completed";
4663
4664
  summary: string;
4665
+ kind: "mission_completed";
4664
4666
  outcome: "failed" | "recovered" | "inconclusive";
4665
4667
  evidence?: {
4666
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4667
- label: string;
4668
4668
  id: string;
4669
+ label: string;
4670
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4669
4671
  capture: "at_action" | "historical_lookup" | "fixture";
4670
4672
  locator?: string | undefined;
4671
4673
  }[] | undefined;
4672
4674
  };
4673
- namespace: string;
4674
4675
  eventId: string;
4675
4676
  occurredAt: string;
4676
4677
  missionId: string;