@remnic/core 9.65.6 → 9.65.8

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 (623) hide show
  1. package/dist/access-admin-ops-surface.d.ts +15 -13
  2. package/dist/access-admin-ops-surface.js +54 -54
  3. package/dist/access-audit.js +2 -2
  4. package/dist/access-authorization-probe.d.ts +15 -13
  5. package/dist/access-authorization-probe.js +55 -55
  6. package/dist/access-boundary.d.ts +15 -13
  7. package/dist/access-boundary.js +54 -54
  8. package/dist/access-cli.js +156 -148
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-coding-context-resolution.d.ts +2 -1
  11. package/dist/access-extraction-force-flush.d.ts +15 -13
  12. package/dist/access-extraction-force-flush.js +54 -54
  13. package/dist/access-health-types.d.ts +2 -1
  14. package/dist/access-http-lcm-compaction.d.ts +15 -13
  15. package/dist/access-http-lifecycle-flush.d.ts +15 -13
  16. package/dist/access-http-offline-stream.d.ts +15 -13
  17. package/dist/access-http-query.d.ts +3 -2
  18. package/dist/access-http-query.js +56 -56
  19. package/dist/access-http.d.ts +17 -20
  20. package/dist/access-http.js +75 -73
  21. package/dist/access-identity-continuity-surface.d.ts +13 -11
  22. package/dist/access-identity-continuity-surface.js +54 -54
  23. package/dist/access-lcm-surface.d.ts +15 -13
  24. package/dist/access-lcm-surface.js +54 -54
  25. package/dist/access-mcp-output-schemas.js +1 -1
  26. package/dist/access-mcp.d.ts +15 -13
  27. package/dist/access-mcp.js +66 -64
  28. package/dist/access-memory-search-fanout.d.ts +3 -2
  29. package/dist/{access-namespace-preflight-D_6mo8ms.d.ts → access-namespace-preflight-CpAOrS-9.d.ts} +1 -1
  30. package/dist/access-namespace-preflight.d.ts +4 -3
  31. package/dist/access-namespace-preflight.js +54 -54
  32. package/dist/access-observe-write-surface.d.ts +15 -13
  33. package/dist/access-observe-write-surface.js +54 -54
  34. package/dist/access-offline-manifest.d.ts +13 -11
  35. package/dist/access-offline-manifest.js +6 -6
  36. package/dist/access-operations-batch.js +58 -58
  37. package/dist/access-operations.d.ts +21 -19
  38. package/dist/access-operations.js +63 -61
  39. package/dist/access-recall-concurrency.d.ts +15 -13
  40. package/dist/access-recall-concurrency.js +54 -54
  41. package/dist/access-recall-response.d.ts +15 -13
  42. package/dist/access-recall-response.js +54 -54
  43. package/dist/access-recall-surface.d.ts +15 -13
  44. package/dist/access-recall-surface.js +54 -54
  45. package/dist/access-schema.d.ts +83 -83
  46. package/dist/access-schema.js +3 -3
  47. package/dist/{access-service-sbiNS5UB.d.ts → access-service-Diu61Cfv.d.ts} +72 -72
  48. package/dist/access-service-helpers.d.ts +15 -13
  49. package/dist/access-service.d.ts +15 -13
  50. package/dist/access-service.js +54 -54
  51. package/dist/access-surface-catalog.d.ts +15 -13
  52. package/dist/access-surface-catalog.js +66 -56
  53. package/dist/access-surface-catalog.js.map +1 -1
  54. package/dist/access-wearables-meetings-surface.d.ts +6 -3
  55. package/dist/action-confidence.d.ts +2 -1
  56. package/dist/active-context-config.d.ts +27 -0
  57. package/dist/active-context-config.js +14 -0
  58. package/dist/active-context-transform.d.ts +267 -0
  59. package/dist/active-context-transform.js +31 -0
  60. package/dist/active-memory-bridge.d.ts +2 -1
  61. package/dist/active-recall.d.ts +2 -1
  62. package/dist/active-recall.js +13 -12
  63. package/dist/active-recall.js.map +1 -1
  64. package/dist/adapters/index.js +4 -4
  65. package/dist/adapters/registry.js +2 -2
  66. package/dist/ambient-provenance.d.ts +2 -1
  67. package/dist/artifact-search.d.ts +2 -1
  68. package/dist/{auto-sync-XVMLL2RH.js → auto-sync-2YPITIWN.js} +6 -6
  69. package/dist/behavior-learner.d.ts +2 -1
  70. package/dist/behavior-signals.d.ts +2 -1
  71. package/dist/bootstrap.d.ts +13 -11
  72. package/dist/briefing-window.d.ts +5 -2
  73. package/dist/briefing.d.ts +5 -2
  74. package/dist/briefing.js +25 -25
  75. package/dist/buffer-surprise-report.d.ts +2 -1
  76. package/dist/buffer-turn-helpers.d.ts +2 -1
  77. package/dist/buffer.d.ts +5 -2
  78. package/dist/buffer.js +6 -6
  79. package/dist/bulk-import/index.d.ts +4 -3
  80. package/dist/calibration.d.ts +2 -1
  81. package/dist/capabilities.d.ts +2 -1
  82. package/dist/{capsule-crypto-GWVG7LGC.js → capsule-crypto-7FJQINUR.js} +2 -2
  83. package/dist/{catalog-DO_7zfkv.d.ts → catalog-9f-vEQLS.d.ts} +1 -1
  84. package/dist/causal-behavior.d.ts +4 -3
  85. package/dist/causal-behavior.js +2 -2
  86. package/dist/causal-chain.js +2 -2
  87. package/dist/causal-consolidation.d.ts +2 -1
  88. package/dist/causal-consolidation.js +28 -28
  89. package/dist/causal-retrieval.js +2 -2
  90. package/dist/causal-trajectory-graph.d.ts +2 -1
  91. package/dist/causal-trajectory-graph.js +2 -2
  92. package/dist/causal-trajectory.js +1 -1
  93. package/dist/{chunk-OWHERGF2.js → chunk-2NLLXCJG.js} +2 -2
  94. package/dist/{chunk-NZPFCP5A.js → chunk-2PSX5BJU.js} +2 -2
  95. package/dist/{chunk-RKNJBZ55.js → chunk-2QSZNTDO.js} +4 -4
  96. package/dist/{chunk-X2DWBWOX.js → chunk-3A2NJP2U.js} +2 -2
  97. package/dist/chunk-3BCULS4U.js +1093 -0
  98. package/dist/chunk-3BCULS4U.js.map +1 -0
  99. package/dist/{chunk-JGG5HVI2.js → chunk-3PKAS6VL.js} +2 -2
  100. package/dist/{chunk-LSYD7GHZ.js → chunk-3SZD4CYO.js} +3 -3
  101. package/dist/chunk-43HUVDTD.js +114 -0
  102. package/dist/chunk-43HUVDTD.js.map +1 -0
  103. package/dist/{chunk-5TG4MU2U.js → chunk-4F4AQFWL.js} +8 -8
  104. package/dist/{chunk-D35XLYQ7.js → chunk-4QEYREAV.js} +12 -12
  105. package/dist/{chunk-46WM6JX2.js → chunk-4ZWCQJNM.js} +5 -5
  106. package/dist/{chunk-DVYRD4HY.js → chunk-5ACCD4L7.js} +30 -1
  107. package/dist/chunk-5ACCD4L7.js.map +1 -0
  108. package/dist/{chunk-W6J4POB6.js → chunk-5DHKCO52.js} +2 -2
  109. package/dist/{chunk-IRXMJLTW.js → chunk-5HK3CJAR.js} +2 -2
  110. package/dist/{chunk-NLUCDKLT.js → chunk-5RWZH6PH.js} +2 -2
  111. package/dist/{chunk-H7BZBSP6.js → chunk-645WOU5I.js} +4 -4
  112. package/dist/{chunk-AYAZWXJI.js → chunk-76DIF5KT.js} +2 -2
  113. package/dist/{chunk-OPPBTPUU.js → chunk-7KQB4EBS.js} +4 -4
  114. package/dist/{chunk-I2HTKOOP.js → chunk-7VZFRUQU.js} +3 -3
  115. package/dist/{chunk-DPNXADEI.js → chunk-7WOWGRAU.js} +11 -7
  116. package/dist/chunk-7WOWGRAU.js.map +1 -0
  117. package/dist/{chunk-JCWY73FK.js → chunk-AHPIFKNG.js} +2 -2
  118. package/dist/{chunk-FC7TIRFS.js → chunk-AX7UXCHJ.js} +6 -1
  119. package/dist/chunk-AX7UXCHJ.js.map +1 -0
  120. package/dist/{chunk-3I22VWB3.js → chunk-AZMLH5UT.js} +2 -2
  121. package/dist/chunk-B32WYRXX.js +77 -0
  122. package/dist/chunk-B32WYRXX.js.map +1 -0
  123. package/dist/{chunk-JOEJG4SD.js → chunk-BEC4YBNA.js} +4 -4
  124. package/dist/chunk-BWGCOLEL.js +61 -0
  125. package/dist/chunk-BWGCOLEL.js.map +1 -0
  126. package/dist/{chunk-BXXOPKT5.js → chunk-CAMNRAJF.js} +2 -2
  127. package/dist/{chunk-C24UZSFW.js → chunk-CEH2AFXG.js} +6 -6
  128. package/dist/{chunk-YOXVZJFM.js → chunk-CFVTRUR3.js} +2 -2
  129. package/dist/{chunk-SVSRPG6M.js → chunk-CPA5NBHN.js} +2 -2
  130. package/dist/{chunk-7BEPVIH3.js → chunk-CRML27CO.js} +3 -3
  131. package/dist/{chunk-AXGFOFNY.js → chunk-DA7ITC5Z.js} +2 -2
  132. package/dist/{chunk-5W7MKXMU.js → chunk-DEACDKE3.js} +144 -78
  133. package/dist/chunk-DEACDKE3.js.map +1 -0
  134. package/dist/{chunk-FEO2CDXR.js → chunk-DPCXDG7G.js} +2 -2
  135. package/dist/{chunk-HZNYJN77.js → chunk-F3NVYTTA.js} +2 -2
  136. package/dist/{chunk-7SSRXEZJ.js → chunk-F7XUD3PL.js} +2 -2
  137. package/dist/{chunk-LDBFXD4F.js → chunk-FP7YTTVO.js} +3 -1
  138. package/dist/chunk-FP7YTTVO.js.map +1 -0
  139. package/dist/{chunk-XZBXINXZ.js → chunk-GIC6BASP.js} +4 -4
  140. package/dist/{chunk-PP7R754B.js → chunk-GPFZFCRN.js} +1 -1
  141. package/dist/{chunk-53MZQEBD.js → chunk-GTO56JY5.js} +2 -2
  142. package/dist/{chunk-RAIUTAZZ.js → chunk-H2YSH3DG.js} +2 -2
  143. package/dist/{chunk-HWVNYNIV.js → chunk-HMZKGHMD.js} +2 -2
  144. package/dist/{chunk-ZXUZ54Z5.js → chunk-HRHO3ZNG.js} +2 -2
  145. package/dist/{chunk-SDEPLF7V.js → chunk-IBJ6U753.js} +2 -2
  146. package/dist/chunk-JCCWJHOP.js +240 -0
  147. package/dist/chunk-JCCWJHOP.js.map +1 -0
  148. package/dist/{chunk-T3JQTCCO.js → chunk-JI7U6AS3.js} +4 -4
  149. package/dist/{chunk-TR7DGXGI.js → chunk-JOZUBF4A.js} +5 -5
  150. package/dist/{chunk-YWBOOBDP.js → chunk-JYSN42VN.js} +71 -71
  151. package/dist/{chunk-ZPUIRTIZ.js → chunk-KOLJJN5G.js} +12 -75
  152. package/dist/chunk-KOLJJN5G.js.map +1 -0
  153. package/dist/{chunk-5W7CTZ2E.js → chunk-KQAFEZQX.js} +4 -4
  154. package/dist/{chunk-D2YNNDML.js → chunk-KWIGDKM2.js} +2 -2
  155. package/dist/{chunk-YUTTMSC7.js → chunk-KZIF6XHX.js} +93 -30
  156. package/dist/chunk-KZIF6XHX.js.map +1 -0
  157. package/dist/chunk-LB7WCZHY.js +553 -0
  158. package/dist/chunk-LB7WCZHY.js.map +1 -0
  159. package/dist/{chunk-RIAM7DND.js → chunk-LDKPDODJ.js} +2 -2
  160. package/dist/{chunk-227UFSEQ.js → chunk-LEPOP46W.js} +4 -4
  161. package/dist/{chunk-2JHRCWHT.js → chunk-LKYIOCWL.js} +107 -107
  162. package/dist/{chunk-XAWIL7TC.js → chunk-LOXHYCVS.js} +2 -2
  163. package/dist/{chunk-OMZLBT4B.js → chunk-LPNCR4QK.js} +48 -27
  164. package/dist/chunk-LPNCR4QK.js.map +1 -0
  165. package/dist/{chunk-OLBZ2WGG.js → chunk-LTBKKSCX.js} +2 -2
  166. package/dist/{chunk-O4BAGJDN.js → chunk-MDD2RINF.js} +2 -2
  167. package/dist/{chunk-H63EDPFJ.js → chunk-MI2OTWV5.js} +15 -2
  168. package/dist/{chunk-H63EDPFJ.js.map → chunk-MI2OTWV5.js.map} +1 -1
  169. package/dist/{chunk-LBFFNDFM.js → chunk-MINHJ55X.js} +1 -1
  170. package/dist/chunk-MINHJ55X.js.map +1 -0
  171. package/dist/{chunk-ROEAEANL.js → chunk-MY2BC6UE.js} +15 -15
  172. package/dist/{chunk-RACZB5HT.js → chunk-N37X5RU7.js} +4 -4
  173. package/dist/{chunk-AG46P24C.js → chunk-NNBZS3DY.js} +4 -4
  174. package/dist/{chunk-PGW64IFQ.js → chunk-NPFUNWNX.js} +2 -2
  175. package/dist/{chunk-MFOSZUIT.js → chunk-NPIBN2VL.js} +2 -2
  176. package/dist/{chunk-IF4EY26E.js → chunk-OA2O2GJ4.js} +3 -3
  177. package/dist/{chunk-6FUMA6AA.js → chunk-ODU2CNNX.js} +2 -2
  178. package/dist/{chunk-PNAGNVGK.js → chunk-OXRRJXPR.js} +42 -37
  179. package/dist/chunk-OXRRJXPR.js.map +1 -0
  180. package/dist/{chunk-TWBQQ3FT.js → chunk-P36Z4JRA.js} +2 -2
  181. package/dist/{chunk-OUKBMQ2O.js → chunk-PD66CVSD.js} +2 -2
  182. package/dist/{chunk-MVIYRRVJ.js → chunk-PMVPCZJZ.js} +5 -5
  183. package/dist/{chunk-US4IRASK.js → chunk-PU56CXZA.js} +6 -6
  184. package/dist/{chunk-IDQ6DKXC.js → chunk-S5XOSTYM.js} +3 -3
  185. package/dist/{chunk-DYO24BNB.js → chunk-SEEJOGQX.js} +5 -5
  186. package/dist/{chunk-7OZSHBWK.js → chunk-SNOIKAHM.js} +2 -2
  187. package/dist/{chunk-SR7JIRAR.js → chunk-T6ILXUAH.js} +2 -2
  188. package/dist/{chunk-2RXUZVPU.js → chunk-T7XP6IZE.js} +2 -2
  189. package/dist/{chunk-KBOG7FJV.js → chunk-TFR3HG4K.js} +3 -3
  190. package/dist/{chunk-XUZ5CIEE.js → chunk-TUHBYJXL.js} +1 -1
  191. package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
  192. package/dist/{chunk-ZK4BFABK.js → chunk-U7EW2W4W.js} +13 -13
  193. package/dist/{chunk-4K7IW3F7.js → chunk-UD7UNYRD.js} +34 -3
  194. package/dist/chunk-UD7UNYRD.js.map +1 -0
  195. package/dist/{chunk-VFYRYFLL.js → chunk-UEBDCMOO.js} +2 -2
  196. package/dist/{chunk-JFWZRUKP.js → chunk-UENKPWCS.js} +4 -4
  197. package/dist/{chunk-AAXJNINV.js → chunk-UL4MKZHI.js} +2 -2
  198. package/dist/chunk-ULM7JCDH.js +154 -0
  199. package/dist/chunk-ULM7JCDH.js.map +1 -0
  200. package/dist/{chunk-R2MZCYA6.js → chunk-UNUMFURP.js} +3 -3
  201. package/dist/{chunk-5GIZM4RX.js → chunk-UPFNQJC7.js} +2 -2
  202. package/dist/{chunk-W4BMEGQA.js → chunk-UTQUEHC7.js} +2 -2
  203. package/dist/{chunk-I32NKXE2.js → chunk-V4IDF3EZ.js} +2 -2
  204. package/dist/{chunk-6LS5OX3U.js → chunk-W2BAGGEW.js} +50 -18
  205. package/dist/chunk-W2BAGGEW.js.map +1 -0
  206. package/dist/chunk-W2UOAATB.js +521 -0
  207. package/dist/chunk-W2UOAATB.js.map +1 -0
  208. package/dist/{chunk-QMZY3GG6.js → chunk-WNXYT4MK.js} +3 -3
  209. package/dist/{chunk-UVYI6VIX.js → chunk-X7Y7WX73.js} +1 -1
  210. package/dist/{chunk-T42L3S6A.js → chunk-XBGHAAKR.js} +2 -2
  211. package/dist/{chunk-RQ2EQRRR.js → chunk-XNWXSGHS.js} +80 -7
  212. package/dist/chunk-XNWXSGHS.js.map +1 -0
  213. package/dist/{chunk-THG4GYIE.js → chunk-YEUXERJ6.js} +5 -5
  214. package/dist/{chunk-BIJAWZYW.js → chunk-YMOPYG3K.js} +6 -6
  215. package/dist/{chunk-M4AHBM72.js → chunk-Z3YEGSR4.js} +2 -2
  216. package/dist/{cli-Bfgo0n1L.d.ts → cli-O3F-ht3i.d.ts} +5 -5
  217. package/dist/cli.d.ts +17 -15
  218. package/dist/cli.js +106 -104
  219. package/dist/coding/pre-action-gate.d.ts +2 -1
  220. package/dist/coding/pre-action-gate.js +2 -2
  221. package/dist/compounding/engine.d.ts +5 -2
  222. package/dist/compounding/engine.js +26 -26
  223. package/dist/compounding/preference-consolidator.d.ts +4 -3
  224. package/dist/compression-optimizer.d.ts +2 -1
  225. package/dist/config-security.js +2 -2
  226. package/dist/config.d.ts +2 -1
  227. package/dist/config.js +13 -12
  228. package/dist/connectors/codex-materialize-runner.d.ts +2 -1
  229. package/dist/connectors/codex-materialize-runner.js +25 -25
  230. package/dist/connectors/codex-materialize.d.ts +2 -1
  231. package/dist/connectors/index.d.ts +2 -1
  232. package/dist/connectors/index.js +25 -25
  233. package/dist/consolidation-provenance-check.d.ts +5 -2
  234. package/dist/consolidation-provenance-check.js +2 -2
  235. package/dist/consolidation-undo.d.ts +5 -2
  236. package/dist/context-summary.d.ts +43 -0
  237. package/dist/context-summary.js +14 -0
  238. package/dist/context-summary.js.map +1 -0
  239. package/dist/contradiction/index.d.ts +6 -3
  240. package/dist/contradiction/index.js +5 -5
  241. package/dist/converge-config.d.ts +2 -1
  242. package/dist/convergence-refresh.d.ts +5 -2
  243. package/dist/convergence-refresh.js +28 -28
  244. package/dist/conversation-index/backend.d.ts +2 -1
  245. package/dist/conversation-index/backend.js +2 -2
  246. package/dist/conversation-index/chunker.d.ts +2 -1
  247. package/dist/conversation-index/faiss-adapter.d.ts +2 -1
  248. package/dist/conversation-index/indexer.d.ts +2 -1
  249. package/dist/conversation-index/search.d.ts +2 -1
  250. package/dist/corpus-watermark.d.ts +2 -1
  251. package/dist/corpus-watermark.js +27 -27
  252. package/dist/cross-lingual-recall.d.ts +2 -1
  253. package/dist/day-summary.d.ts +2 -1
  254. package/dist/delinearize.d.ts +2 -1
  255. package/dist/dependency-propagation-config.d.ts +2 -1
  256. package/dist/{dependency-propagation-delivery-D23_x-s5.d.ts → dependency-propagation-delivery-CL6RWXTA.d.ts} +1 -1
  257. package/dist/direct-answer-wiring.d.ts +2 -1
  258. package/dist/direct-answer.d.ts +2 -1
  259. package/dist/embedding-fallback.d.ts +2 -1
  260. package/dist/enrichment/index.d.ts +2 -1
  261. package/dist/entity-origin-fields.d.ts +2 -1
  262. package/dist/entity-retrieval.d.ts +5 -2
  263. package/dist/entity-retrieval.js +26 -26
  264. package/dist/entity-schema.d.ts +2 -1
  265. package/dist/episodic-context.d.ts +2 -1
  266. package/dist/eval-trajectory-contracts.d.ts +257 -0
  267. package/dist/eval-trajectory-contracts.js +56 -0
  268. package/dist/eval-trajectory-contracts.js.map +1 -0
  269. package/dist/eval-trajectory-store.d.ts +40 -0
  270. package/dist/eval-trajectory-store.js +19 -0
  271. package/dist/eval-trajectory-store.js.map +1 -0
  272. package/dist/eval-trajectory.d.ts +68 -0
  273. package/dist/eval-trajectory.js +46 -0
  274. package/dist/eval-trajectory.js.map +1 -0
  275. package/dist/event-order-recall.js +2 -2
  276. package/dist/explicit-capture.d.ts +13 -11
  277. package/dist/explicit-capture.js +6 -6
  278. package/dist/external-wiki-access.d.ts +15 -13
  279. package/dist/external-wiki-access.js +55 -55
  280. package/dist/external-wiki-collection-registration.d.ts +2 -1
  281. package/dist/external-wiki-collection.d.ts +2 -1
  282. package/dist/external-wiki-mcp-tools.d.ts +15 -13
  283. package/dist/extraction-error-classification.d.ts +2 -1
  284. package/dist/extraction-faithfulness.d.ts +2 -1
  285. package/dist/extraction-judge-telemetry.d.ts +2 -1
  286. package/dist/extraction-judge-training.d.ts +2 -1
  287. package/dist/extraction-judge.d.ts +2 -1
  288. package/dist/extraction-liveness.d.ts +2 -1
  289. package/dist/extraction-normalization.d.ts +2 -1
  290. package/dist/extraction-prompt.d.ts +2 -1
  291. package/dist/extraction-source-grounding-rules.d.ts +2 -1
  292. package/dist/extraction-source-grounding.d.ts +2 -1
  293. package/dist/extraction.d.ts +2 -1
  294. package/dist/extraction.js +33 -33
  295. package/dist/fallback-llm.d.ts +2 -1
  296. package/dist/{forget-SZ2BXDGF.js → forget-2AE4MDK3.js} +3 -3
  297. package/dist/graph-dashboard-diff.d.ts +2 -1
  298. package/dist/graph-dashboard-key.d.ts +2 -1
  299. package/dist/graph-dashboard-parser.d.ts +2 -1
  300. package/dist/{graph-edge-decay-FXGELBFA.js → graph-edge-decay-A4SDFMMS.js} +4 -4
  301. package/dist/graph-edge-decay-A4SDFMMS.js.map +1 -0
  302. package/dist/graph-edge-reinforcement.d.ts +2 -1
  303. package/dist/graph-path-reconstruction.d.ts +2 -1
  304. package/dist/graph-path-scoring.d.ts +2 -1
  305. package/dist/graph-snapshot.d.ts +2 -1
  306. package/dist/graph-snapshot.js +3 -3
  307. package/dist/graph.d.ts +2 -1
  308. package/dist/graph.js +3 -3
  309. package/dist/harmonic-retrieval.js +1 -1
  310. package/dist/importance.d.ts +2 -1
  311. package/dist/importers/index.d.ts +2 -1
  312. package/dist/in-flight-reads.d.ts +2 -1
  313. package/dist/{index--QhGIXF2.d.ts → index-C7Xep6S9.d.ts} +2 -2
  314. package/dist/index.d.ts +706 -701
  315. package/dist/index.js +271 -200
  316. package/dist/intent.d.ts +2 -1
  317. package/dist/lcm/engine.d.ts +3 -2
  318. package/dist/lcm/engine.js +3 -2
  319. package/dist/lcm/index.d.ts +4 -2
  320. package/dist/lcm/index.js +6 -5
  321. package/dist/lcm/summarizer.d.ts +4 -6
  322. package/dist/lcm/summarizer.js +2 -1
  323. package/dist/lcm/tools.d.ts +4 -3
  324. package/dist/lifecycle.d.ts +2 -1
  325. package/dist/live-connectors-runner.d.ts +2 -1
  326. package/dist/local-llm.d.ts +2 -1
  327. package/dist/local-model-endpoint.d.ts +2 -1
  328. package/dist/location/index.d.ts +128 -1
  329. package/dist/location/index.js +60 -750
  330. package/dist/location/index.js.map +1 -1
  331. package/dist/maintenance/memory-governance.d.ts +2 -1
  332. package/dist/maintenance/memory-governance.js +26 -26
  333. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +5 -2
  334. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +25 -25
  335. package/dist/maintenance/rebuild-memory-projection.d.ts +5 -2
  336. package/dist/maintenance/rebuild-memory-projection.js +27 -27
  337. package/dist/{maintenance-PFvY1Pw_.d.ts → maintenance-CJ-xqFp0.d.ts} +4 -3
  338. package/dist/mcp-memory-inspector-app.d.ts +15 -13
  339. package/dist/mcp-read-only-tools.js +1 -1
  340. package/dist/memory-action-policy.d.ts +18 -2
  341. package/dist/memory-action-policy.js +3 -1
  342. package/dist/memory-cache.d.ts +2 -1
  343. package/dist/memory-controller.d.ts +2 -1
  344. package/dist/memory-controller.js +2 -2
  345. package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
  346. package/dist/memory-projection-store.d.ts +2 -1
  347. package/dist/memory-provenance.d.ts +2 -1
  348. package/dist/memory-snapshot.d.ts +2 -1
  349. package/dist/memory-subject-cli.d.ts +15 -13
  350. package/dist/memory-subject.d.ts +15 -13
  351. package/dist/memory-subject.js +3 -3
  352. package/dist/memory-worth-outcomes.d.ts +50 -3
  353. package/dist/memory-worth-outcomes.js +5 -3
  354. package/dist/models-json.d.ts +2 -1
  355. package/dist/namespaces/migrate.d.ts +6 -3
  356. package/dist/namespaces/migrate.js +26 -26
  357. package/dist/namespaces/principal.d.ts +2 -1
  358. package/dist/namespaces/search.d.ts +2 -1
  359. package/dist/namespaces/search.js +11 -11
  360. package/dist/namespaces/storage.d.ts +6 -3
  361. package/dist/namespaces/storage.js +25 -25
  362. package/dist/native-knowledge.d.ts +2 -1
  363. package/dist/offline-sync-impression-drain.d.ts +2 -1
  364. package/dist/offline-sync-impression-drain.js +2 -2
  365. package/dist/operator-doctor-corpus.d.ts +2 -1
  366. package/dist/operator-doctor-corpus.js +28 -28
  367. package/dist/operator-doctor-replica.d.ts +2 -1
  368. package/dist/operator-toolkit.d.ts +6 -3
  369. package/dist/operator-toolkit.js +45 -44
  370. package/dist/orchestration/compression-guideline-coordinator.d.ts +5 -2
  371. package/dist/orchestration/maintenance.d.ts +7 -4
  372. package/dist/orchestration/maintenance.js +34 -32
  373. package/dist/{orchestrator-4wzJrPVm.d.ts → orchestrator-BsntWxLy.d.ts} +8 -8
  374. package/dist/orchestrator.d.ts +13 -11
  375. package/dist/orchestrator.js +156 -148
  376. package/dist/patterns-cli.d.ts +2 -1
  377. package/dist/{pipeline-CgXgdIrF.d.ts → pipeline-CVoysPm2.d.ts} +1 -1
  378. package/dist/policy-runtime.d.ts +2 -1
  379. package/dist/proactive-contention.d.ts +2 -1
  380. package/dist/provenance.d.ts +2 -1
  381. package/dist/{public-http-BP3VQDl5.d.ts → public-http-CuOxlTC2.d.ts} +1 -1
  382. package/dist/{qmd-BppGGxsi.d.ts → qmd-DWMAGA5l.d.ts} +1 -1
  383. package/dist/qmd-preflight.d.ts +3 -2
  384. package/dist/qmd-recall-cache.d.ts +2 -1
  385. package/dist/qmd.d.ts +3 -2
  386. package/dist/qmd.js +4 -4
  387. package/dist/recall-concurrency-config.d.ts +2 -1
  388. package/dist/recall-disclosure-escalation.d.ts +2 -1
  389. package/dist/recall-explain-renderer.d.ts +2 -1
  390. package/dist/recall-explain-renderer.js +3 -3
  391. package/dist/recall-memory-map.d.ts +2 -1
  392. package/dist/recall-planner-llm.d.ts +2 -1
  393. package/dist/recall-state.d.ts +2 -1
  394. package/dist/recall-tag-filter.d.ts +2 -1
  395. package/dist/recall-timings.d.ts +2 -1
  396. package/dist/recall-xray-cli.d.ts +2 -1
  397. package/dist/recall-xray-cli.js +4 -4
  398. package/dist/recall-xray-renderer.d.ts +2 -1
  399. package/dist/recall-xray-renderer.js +3 -3
  400. package/dist/recall-xray.d.ts +2 -1
  401. package/dist/recall-xray.js +2 -2
  402. package/dist/reconcile/cursor.d.ts +2 -1
  403. package/dist/reconcile/manifest.d.ts +2 -1
  404. package/dist/reconcile/manifest.js +3 -3
  405. package/dist/reconcile/plan.d.ts +2 -1
  406. package/dist/replay/normalizers/chatgpt.d.ts +2 -1
  407. package/dist/replay/normalizers/claude.d.ts +2 -1
  408. package/dist/replay/normalizers/openclaw.d.ts +2 -1
  409. package/dist/replay/normalizers/shared.d.ts +2 -1
  410. package/dist/replay/runner.d.ts +2 -1
  411. package/dist/replay/types.d.ts +2 -1
  412. package/dist/replica-divergence.d.ts +2 -1
  413. package/dist/replica-peers-config.d.ts +2 -1
  414. package/dist/{resolution-4552BNRV.js → resolution-XWBPKYFB.js} +6 -6
  415. package/dist/resolution-XWBPKYFB.js.map +1 -0
  416. package/dist/resolve-auth-token.d.ts +2 -1
  417. package/dist/resume-bundles.js +14 -13
  418. package/dist/retrieval-agents.d.ts +3 -2
  419. package/dist/retrieval-tiers.d.ts +2 -1
  420. package/dist/routing/engine.d.ts +2 -1
  421. package/dist/routing/store.d.ts +2 -1
  422. package/dist/salvage-envelope.d.ts +2 -1
  423. package/dist/salvage-envelope.js +5 -5
  424. package/dist/schemas.d.ts +124 -124
  425. package/dist/{scope-profiles-ChZUtxDU.d.ts → scope-profiles-CPWkW_dI.d.ts} +1 -1
  426. package/dist/search/embed-helper.d.ts +2 -1
  427. package/dist/search/factory.d.ts +2 -1
  428. package/dist/search/factory.js +10 -10
  429. package/dist/search/index.d.ts +2 -1
  430. package/dist/search/index.js +15 -15
  431. package/dist/search/lancedb-backend.d.ts +2 -1
  432. package/dist/search/lancedb-backend.js +2 -2
  433. package/dist/search/meilisearch-backend.d.ts +2 -1
  434. package/dist/search/meilisearch-backend.js +2 -2
  435. package/dist/search/noop-backend.d.ts +2 -1
  436. package/dist/search/orama-backend.d.ts +2 -1
  437. package/dist/search/orama-backend.js +2 -2
  438. package/dist/search/port.d.ts +2 -1
  439. package/dist/search/remote-backend.d.ts +2 -1
  440. package/dist/{semantic-consolidation-mSPwQSmF.d.ts → semantic-consolidation-CNFVBXFc.d.ts} +1 -1
  441. package/dist/semantic-consolidation.d.ts +3 -2
  442. package/dist/semantic-consolidation.js +31 -31
  443. package/dist/semantic-rule-promotion.js +25 -25
  444. package/dist/semantic-rule-verifier.d.ts +2 -1
  445. package/dist/semantic-rule-verifier.js +25 -25
  446. package/dist/{service-BICWLwSP.d.ts → service-Bb-JIdQ0.d.ts} +2 -2
  447. package/dist/session-observer-bands.d.ts +2 -1
  448. package/dist/session-observer-state.d.ts +2 -1
  449. package/dist/shared-context/manager.d.ts +8 -7
  450. package/dist/signal.d.ts +2 -1
  451. package/dist/source-agent-qualifier.d.ts +2 -1
  452. package/dist/source-agent-qualifier.js +29 -29
  453. package/dist/{storage-B7urx1K3.d.ts → storage-CukrlNKk.d.ts} +4 -1
  454. package/dist/storage.d.ts +5 -2
  455. package/dist/storage.js +24 -24
  456. package/dist/subject-config.d.ts +2 -1
  457. package/dist/subject-config.js +4 -4
  458. package/dist/summarizer.d.ts +2 -1
  459. package/dist/summary-snapshot.d.ts +2 -1
  460. package/dist/support-passport/index.d.ts +18 -16
  461. package/dist/support-passport/index.js +57 -57
  462. package/dist/temporal-supersession.d.ts +3 -2
  463. package/dist/temporal-timeline-recall.d.ts +2 -1
  464. package/dist/temporal-validity.d.ts +2 -1
  465. package/dist/threading.d.ts +2 -1
  466. package/dist/tier-migration.d.ts +5 -2
  467. package/dist/tier-routing.d.ts +2 -1
  468. package/dist/topics.d.ts +2 -1
  469. package/dist/transcript.d.ts +2 -1
  470. package/dist/transfer/backup.js +2 -2
  471. package/dist/transfer/capsule-export.js +2 -2
  472. package/dist/transfer/capsule-import.js +2 -2
  473. package/dist/transfer/types.d.ts +78 -78
  474. package/dist/trust-score-stage.d.ts +2 -1
  475. package/dist/trust-score.d.ts +2 -1
  476. package/dist/{types-ETU5N6nB.d.ts → types-djxQlxJ7.d.ts} +3 -2
  477. package/dist/types.d.ts +2 -1
  478. package/dist/types.js +1 -1
  479. package/dist/utility-runtime.d.ts +2 -1
  480. package/dist/verified-recall.js +25 -25
  481. package/dist/who-knows-cli.d.ts +15 -13
  482. package/dist/who-knows-cli.js +26 -26
  483. package/dist/who-knows.d.ts +15 -13
  484. package/dist/who-knows.js +25 -25
  485. package/dist/write-envelope.d.ts +2 -1
  486. package/dist/write-envelope.js +4 -4
  487. package/package.json +22 -2
  488. package/src/access-boundary.ts +5 -0
  489. package/src/access-http.ts +15 -16
  490. package/src/access-mcp-output-schemas.ts +5 -0
  491. package/src/access-mcp.ts +6 -6
  492. package/src/access-operations.ts +2 -0
  493. package/src/access-surface-catalog.ts +10 -0
  494. package/src/active-context-config.ts +98 -0
  495. package/src/active-context-transform.test.ts +533 -0
  496. package/src/active-context-transform.ts +981 -0
  497. package/src/config.ts +3 -5
  498. package/src/context-summary.ts +182 -0
  499. package/src/eval-trajectory-contracts.ts +411 -0
  500. package/src/eval-trajectory-store.ts +306 -0
  501. package/src/eval-trajectory.test.ts +534 -0
  502. package/src/eval-trajectory.ts +773 -0
  503. package/src/index.ts +6 -11
  504. package/src/lcm/summarizer.ts +14 -93
  505. package/src/location/access-operations.ts +84 -0
  506. package/src/location/http-glue.test.ts +100 -0
  507. package/src/location/http-glue.ts +85 -0
  508. package/src/location/index.ts +3 -0
  509. package/src/location/mcp-tools.ts +82 -0
  510. package/src/location/provider-setup.test.ts +106 -0
  511. package/src/location/provider-setup.ts +103 -0
  512. package/src/location/scheduler.test.ts +113 -0
  513. package/src/location/scheduler.ts +98 -0
  514. package/src/location/surfaces.test.ts +241 -0
  515. package/src/location/surfaces.ts +329 -0
  516. package/src/maintenance/day-summary-cron.ts +45 -0
  517. package/src/mcp-read-only-tools.ts +2 -0
  518. package/src/memory-action-policy.ts +28 -0
  519. package/src/memory-worth-outcomes.test.ts +53 -18
  520. package/src/memory-worth-outcomes.ts +91 -9
  521. package/src/orchestration/maintenance.ts +22 -30
  522. package/src/storage/context-transform-ledger.ts +39 -0
  523. package/src/storage/secure-line-reader.ts +50 -1
  524. package/src/storage.ts +4 -1
  525. package/src/types.ts +2 -3
  526. package/src/wearables/http-glue.ts +28 -0
  527. package/dist/chunk-4K7IW3F7.js.map +0 -1
  528. package/dist/chunk-5W7MKXMU.js.map +0 -1
  529. package/dist/chunk-6LS5OX3U.js.map +0 -1
  530. package/dist/chunk-DPNXADEI.js.map +0 -1
  531. package/dist/chunk-DVYRD4HY.js.map +0 -1
  532. package/dist/chunk-FC7TIRFS.js.map +0 -1
  533. package/dist/chunk-LBFFNDFM.js.map +0 -1
  534. package/dist/chunk-LDBFXD4F.js.map +0 -1
  535. package/dist/chunk-OMZLBT4B.js.map +0 -1
  536. package/dist/chunk-PNAGNVGK.js.map +0 -1
  537. package/dist/chunk-RQ2EQRRR.js.map +0 -1
  538. package/dist/chunk-YUTTMSC7.js.map +0 -1
  539. package/dist/chunk-ZPUIRTIZ.js.map +0 -1
  540. /package/dist/{capsule-crypto-GWVG7LGC.js.map → active-context-config.js.map} +0 -0
  541. /package/dist/{graph-edge-decay-FXGELBFA.js.map → active-context-transform.js.map} +0 -0
  542. /package/dist/{auto-sync-XVMLL2RH.js.map → auto-sync-2YPITIWN.js.map} +0 -0
  543. /package/dist/{resolution-4552BNRV.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
  544. /package/dist/{chunk-OWHERGF2.js.map → chunk-2NLLXCJG.js.map} +0 -0
  545. /package/dist/{chunk-NZPFCP5A.js.map → chunk-2PSX5BJU.js.map} +0 -0
  546. /package/dist/{chunk-RKNJBZ55.js.map → chunk-2QSZNTDO.js.map} +0 -0
  547. /package/dist/{chunk-X2DWBWOX.js.map → chunk-3A2NJP2U.js.map} +0 -0
  548. /package/dist/{chunk-JGG5HVI2.js.map → chunk-3PKAS6VL.js.map} +0 -0
  549. /package/dist/{chunk-LSYD7GHZ.js.map → chunk-3SZD4CYO.js.map} +0 -0
  550. /package/dist/{chunk-5TG4MU2U.js.map → chunk-4F4AQFWL.js.map} +0 -0
  551. /package/dist/{chunk-D35XLYQ7.js.map → chunk-4QEYREAV.js.map} +0 -0
  552. /package/dist/{chunk-46WM6JX2.js.map → chunk-4ZWCQJNM.js.map} +0 -0
  553. /package/dist/{chunk-W6J4POB6.js.map → chunk-5DHKCO52.js.map} +0 -0
  554. /package/dist/{chunk-IRXMJLTW.js.map → chunk-5HK3CJAR.js.map} +0 -0
  555. /package/dist/{chunk-NLUCDKLT.js.map → chunk-5RWZH6PH.js.map} +0 -0
  556. /package/dist/{chunk-H7BZBSP6.js.map → chunk-645WOU5I.js.map} +0 -0
  557. /package/dist/{chunk-AYAZWXJI.js.map → chunk-76DIF5KT.js.map} +0 -0
  558. /package/dist/{chunk-OPPBTPUU.js.map → chunk-7KQB4EBS.js.map} +0 -0
  559. /package/dist/{chunk-I2HTKOOP.js.map → chunk-7VZFRUQU.js.map} +0 -0
  560. /package/dist/{chunk-JCWY73FK.js.map → chunk-AHPIFKNG.js.map} +0 -0
  561. /package/dist/{chunk-3I22VWB3.js.map → chunk-AZMLH5UT.js.map} +0 -0
  562. /package/dist/{chunk-JOEJG4SD.js.map → chunk-BEC4YBNA.js.map} +0 -0
  563. /package/dist/{chunk-BXXOPKT5.js.map → chunk-CAMNRAJF.js.map} +0 -0
  564. /package/dist/{chunk-C24UZSFW.js.map → chunk-CEH2AFXG.js.map} +0 -0
  565. /package/dist/{chunk-YOXVZJFM.js.map → chunk-CFVTRUR3.js.map} +0 -0
  566. /package/dist/{chunk-SVSRPG6M.js.map → chunk-CPA5NBHN.js.map} +0 -0
  567. /package/dist/{chunk-7BEPVIH3.js.map → chunk-CRML27CO.js.map} +0 -0
  568. /package/dist/{chunk-AXGFOFNY.js.map → chunk-DA7ITC5Z.js.map} +0 -0
  569. /package/dist/{chunk-FEO2CDXR.js.map → chunk-DPCXDG7G.js.map} +0 -0
  570. /package/dist/{chunk-HZNYJN77.js.map → chunk-F3NVYTTA.js.map} +0 -0
  571. /package/dist/{chunk-7SSRXEZJ.js.map → chunk-F7XUD3PL.js.map} +0 -0
  572. /package/dist/{chunk-XZBXINXZ.js.map → chunk-GIC6BASP.js.map} +0 -0
  573. /package/dist/{chunk-PP7R754B.js.map → chunk-GPFZFCRN.js.map} +0 -0
  574. /package/dist/{chunk-53MZQEBD.js.map → chunk-GTO56JY5.js.map} +0 -0
  575. /package/dist/{chunk-RAIUTAZZ.js.map → chunk-H2YSH3DG.js.map} +0 -0
  576. /package/dist/{chunk-HWVNYNIV.js.map → chunk-HMZKGHMD.js.map} +0 -0
  577. /package/dist/{chunk-ZXUZ54Z5.js.map → chunk-HRHO3ZNG.js.map} +0 -0
  578. /package/dist/{chunk-SDEPLF7V.js.map → chunk-IBJ6U753.js.map} +0 -0
  579. /package/dist/{chunk-T3JQTCCO.js.map → chunk-JI7U6AS3.js.map} +0 -0
  580. /package/dist/{chunk-TR7DGXGI.js.map → chunk-JOZUBF4A.js.map} +0 -0
  581. /package/dist/{chunk-YWBOOBDP.js.map → chunk-JYSN42VN.js.map} +0 -0
  582. /package/dist/{chunk-5W7CTZ2E.js.map → chunk-KQAFEZQX.js.map} +0 -0
  583. /package/dist/{chunk-D2YNNDML.js.map → chunk-KWIGDKM2.js.map} +0 -0
  584. /package/dist/{chunk-RIAM7DND.js.map → chunk-LDKPDODJ.js.map} +0 -0
  585. /package/dist/{chunk-227UFSEQ.js.map → chunk-LEPOP46W.js.map} +0 -0
  586. /package/dist/{chunk-2JHRCWHT.js.map → chunk-LKYIOCWL.js.map} +0 -0
  587. /package/dist/{chunk-XAWIL7TC.js.map → chunk-LOXHYCVS.js.map} +0 -0
  588. /package/dist/{chunk-OLBZ2WGG.js.map → chunk-LTBKKSCX.js.map} +0 -0
  589. /package/dist/{chunk-O4BAGJDN.js.map → chunk-MDD2RINF.js.map} +0 -0
  590. /package/dist/{chunk-ROEAEANL.js.map → chunk-MY2BC6UE.js.map} +0 -0
  591. /package/dist/{chunk-RACZB5HT.js.map → chunk-N37X5RU7.js.map} +0 -0
  592. /package/dist/{chunk-AG46P24C.js.map → chunk-NNBZS3DY.js.map} +0 -0
  593. /package/dist/{chunk-PGW64IFQ.js.map → chunk-NPFUNWNX.js.map} +0 -0
  594. /package/dist/{chunk-MFOSZUIT.js.map → chunk-NPIBN2VL.js.map} +0 -0
  595. /package/dist/{chunk-IF4EY26E.js.map → chunk-OA2O2GJ4.js.map} +0 -0
  596. /package/dist/{chunk-6FUMA6AA.js.map → chunk-ODU2CNNX.js.map} +0 -0
  597. /package/dist/{chunk-TWBQQ3FT.js.map → chunk-P36Z4JRA.js.map} +0 -0
  598. /package/dist/{chunk-OUKBMQ2O.js.map → chunk-PD66CVSD.js.map} +0 -0
  599. /package/dist/{chunk-MVIYRRVJ.js.map → chunk-PMVPCZJZ.js.map} +0 -0
  600. /package/dist/{chunk-US4IRASK.js.map → chunk-PU56CXZA.js.map} +0 -0
  601. /package/dist/{chunk-IDQ6DKXC.js.map → chunk-S5XOSTYM.js.map} +0 -0
  602. /package/dist/{chunk-DYO24BNB.js.map → chunk-SEEJOGQX.js.map} +0 -0
  603. /package/dist/{chunk-7OZSHBWK.js.map → chunk-SNOIKAHM.js.map} +0 -0
  604. /package/dist/{chunk-SR7JIRAR.js.map → chunk-T6ILXUAH.js.map} +0 -0
  605. /package/dist/{chunk-2RXUZVPU.js.map → chunk-T7XP6IZE.js.map} +0 -0
  606. /package/dist/{chunk-KBOG7FJV.js.map → chunk-TFR3HG4K.js.map} +0 -0
  607. /package/dist/{chunk-XUZ5CIEE.js.map → chunk-TUHBYJXL.js.map} +0 -0
  608. /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
  609. /package/dist/{chunk-ZK4BFABK.js.map → chunk-U7EW2W4W.js.map} +0 -0
  610. /package/dist/{chunk-VFYRYFLL.js.map → chunk-UEBDCMOO.js.map} +0 -0
  611. /package/dist/{chunk-JFWZRUKP.js.map → chunk-UENKPWCS.js.map} +0 -0
  612. /package/dist/{chunk-AAXJNINV.js.map → chunk-UL4MKZHI.js.map} +0 -0
  613. /package/dist/{chunk-R2MZCYA6.js.map → chunk-UNUMFURP.js.map} +0 -0
  614. /package/dist/{chunk-5GIZM4RX.js.map → chunk-UPFNQJC7.js.map} +0 -0
  615. /package/dist/{chunk-W4BMEGQA.js.map → chunk-UTQUEHC7.js.map} +0 -0
  616. /package/dist/{chunk-I32NKXE2.js.map → chunk-V4IDF3EZ.js.map} +0 -0
  617. /package/dist/{chunk-QMZY3GG6.js.map → chunk-WNXYT4MK.js.map} +0 -0
  618. /package/dist/{chunk-UVYI6VIX.js.map → chunk-X7Y7WX73.js.map} +0 -0
  619. /package/dist/{chunk-T42L3S6A.js.map → chunk-XBGHAAKR.js.map} +0 -0
  620. /package/dist/{chunk-THG4GYIE.js.map → chunk-YEUXERJ6.js.map} +0 -0
  621. /package/dist/{chunk-BIJAWZYW.js.map → chunk-YMOPYG3K.js.map} +0 -0
  622. /package/dist/{chunk-M4AHBM72.js.map → chunk-Z3YEGSR4.js.map} +0 -0
  623. /package/dist/{forget-SZ2BXDGF.js.map → forget-2AE4MDK3.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,24 +1,26 @@
1
1
  export { collapseWhitespace, displayWidth, graphemeUnits, padEndDisplay, truncateCodePointSafe, truncateGraphemeSafe } from './whitespace.js';
2
+ export { ContextSummaryMethod, ContextSummaryUnavailableError, PureContextSummaryResult, SummarizeContextPureOptions, SummarizeFn, deterministicTruncate, summarizeContextPure } from './context-summary.js';
3
+ export { ACTIVE_CONTEXT_ALGORITHM_VERSION, ACTIVE_CONTEXT_PLAN_SCHEMA_VERSION, ACTIVE_CONTEXT_RECEIPT_SCHEMA_VERSION, ACTIVE_CONTEXT_RECORD_SCHEMA_VERSION, ACTIVE_CONTEXT_SNAPSHOT_SCHEMA_VERSION, ActiveContextApplyReceipt, ActiveContextErrorCode, ActiveContextHostCapability, ActiveContextMessageRole, ActiveContextOperation, ActiveContextPhase, ActiveContextPlanReplacement, ActiveContextPreparedReplacement, ActiveContextPreparedTransform, ActiveContextResolvedScope, ActiveContextScoreMessageFn, ActiveContextScoreRow, ActiveContextSnapshot, ActiveContextSpanSelector, ActiveContextTransformDeps, ActiveContextTransformPlan, ActiveContextTransformRequest, ContextTransformTelemetryRecord, buildContextTransformPlanEvent, planActiveContextTransform, prepareActiveContextTransform, recordActiveContextApplyReceipt } from './active-context-transform.js';
2
4
  export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-resolver.js';
3
5
  export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
4
6
  export { resolveRemnicConfigRecord } from './config-record.js';
5
7
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
6
8
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
7
9
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
8
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-4wzJrPVm.js';
10
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-BsntWxLy.js';
9
11
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
10
12
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
11
13
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
12
- import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index--QhGIXF2.js';
13
- export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index--QhGIXF2.js';
14
+ import { S as ScanStorageResolution, C as ContradictionPair$1 } from './index-C7Xep6S9.js';
15
+ export { A as ACTIVE_STATUSES, a as ContradictionFilter, b as ContradictionJudgeBatchResult, c as ContradictionJudgeInput, d as ContradictionJudgeResult, e as ContradictionListResult, f as ContradictionVerdict, R as ResolutionResult, g as ResolutionVerb, h as ScanDependencies, i as ScanResult, j as computePairId, k as executeResolution, l as isCoolingDown, m as isValidResolutionVerb, n as judgeContradictionPairs, o as listPairs, r as readPair, p as resolvePair, q as runContradictionScan, w as writePair, s as writePairs } from './index-C7Xep6S9.js';
14
16
  export { EvidencePackItem, EvidencePackOptions, EvidencePackSelectedItem, EvidencePackSelectionReceipt, buildEvidencePack } from './evidence-pack.js';
15
17
  export { ExplicitCueRecallEngine, ExplicitCueRecallOptions, ExplicitTurnReference, TrajectoryAnalysisLineReceipt, TrajectoryAnalysisRecallOptions, buildExplicitCueRecallSection, buildTrajectoryAnalysisRecallSection, collectBenchmarkAnchorCues, collectContentLexicalCues, collectExplicitTurnReferences, collectLexicalCues, collectQuestionSlotCues, collectStructuredPlanCues, collectTemporalLexicalCues, normalizeTurnExpansionEnd } from './explicit-cue-recall.js';
16
18
  export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecallTargetedFactEvidence } from './targeted-fact-recall.js';
17
19
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
18
20
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
19
21
  export { EventOrderRecallOptions, buildEventOrderRecallSection } from './event-order-recall.js';
20
- import { S as StorageManager, a as MeetingRecordStore } from './storage-B7urx1K3.js';
21
- 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-B7urx1K3.js';
22
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-CukrlNKk.js';
23
+ 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-CukrlNKk.js';
22
24
  import { SealedMemoryEnvelope } from './write-envelope.js';
23
25
  export { AccessWriteFingerprintParts, ComposeEnvelopeOptions, FINGERPRINT_EXEMPT_FIELDS, FINGERPRINT_SCOPE_FIELDS, FingerprintScope, MemoryWriteInput, ObserveFingerprintParts, STRUCTURED_ATTRIBUTE_LIMITS, TAG_LIMITS, WRITE_FINGERPRINT_FIELDS, WriteContext, buildAccessWriteRequestFingerprint, buildObserveRequestFingerprint, buildWriteIdempotencyPayload, composeMemoryEnvelope, isSealedMemoryEnvelope, sealedWriteToLegacyArgs } from './write-envelope.js';
24
26
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -27,13 +29,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
27
29
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
28
30
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
29
31
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
30
- import { C as CodingContext, bl as CodingModeConfig, aU as FusionConversationInput, bm as FusedSpeaker, bn as FusedSegment, bo as FusedDisagreement, bp as FusionOptions, aW as WearableConversation, bq as FusionDayResult, P as PluginConfig, br as ParsedSkillBundle, Z as SkillBundle, bs as MemoryDriftState, bt as DriftDetectionConfig, bu as CodingKnowledgeConfig, av as SubjectGuardMode, y as MemoryCategory, bv as WearableCleanupSettings, bw as WearableFusionConfig, aX as WearableSourceSettings, a$ as WearablesConfig, a_ as WearableSourceConnector, bx as OffTheRecordMarkerSettings, b4 as WearableCorrectionRule, by as WearableDayTranscriptMeta, b2 as WearableDayTranscript, aL as ActivitySnapshot, bz as ActivityDayMeta, bA as ActivityDayDigest, aO as ActivitySourceClient, bB as ActivitySourceCheck, bC as ActivitySnapshotPage, aM as ActivityConfig, a8 as ExtractionResult, w as MemoryStatus, at as ImportanceScore, bD as MeetingsDetectionConfig, aT as MeetingsDetectionInput, aV as DetectedMeeting, aQ as MeetingsConfig, aS as MeetingRecord, bE as MeetingAudioWindow, bF as MeetingAppSpan } from './types-ETU5N6nB.js';
31
- export { bG as ACTION_GATE_DEFAULTS, bH as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bI as ActionGateAdvisory, bJ as ActionGateAuditRecord, bK as ActionGateAuditSink, bL as ActionGateCandidate, bM as ActionGateCandidateQuery, bN as ActionGateCandidateSource, bO as ActionGateConfig, bP as ActionGateDecision, bQ as ActionGateRequest, bR as ActionGateService, bS as ActionGateServiceDependencies, bT as ActionGateSourceResult, bU as ActionGateStatus, bV as ActivityExtractionMode, aN as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bW as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bX as BriefingWindow, aa as BufferSurpriseEvent, bY as BulkImportError, ac as BulkImportOptions, ae as BulkImportResult, ad as BulkImportSource, bZ as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, b_ as CodexCompatConfig, bj as ConsolidationObservation, b$ as DEFAULT_RECALL_DISCLOSURE, c0 as DRIFT_DETECTION_DEFAULTS, c1 as DisagreementKind, c2 as DriftDetectionSettings, E as EntityFile, ao as EntityStructuredSection, ar as ExtractedFact, c3 as FailureMemorySourceDependencies, c4 as FusedContribution, c5 as FusedConversationProvenance, b6 as FusedDayFile, b5 as FusedDayMeta, aR as FusedMeeting, c6 as FusedSegmentProvenance, b3 as FusedWearableConversation, c7 as FusionSegmentInput, G as GatewayConfig, c8 as ImportSourceRole, ab as ImportTurn, c9 as ImportTurnValidationIssue, aP as MeetingBuildInput, b7 as MeetingDetectionSource, ca as MeetingScreenContextEvent, cb as MeetingSummaryMode, aw as MemoryActionEligibilityContext, cc as MemoryActionEligibilitySource, ai as MemoryActionType, cd as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, ce as MemoryObservation, cf as MemoryScope, cg as NormalizedActionIntent, ch as PRE_ACTION_FINGERPRINT_VERSION, ci as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cj as PRE_ACTION_WARNING_VERSION, ck as PreActionFailureGate, cl as PreActionGateDependencies, cm as PreActionGateRequest, cn as PreActionGateResult, co as PreActionGateStatus, cp as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cq as RecallDriftAnnotation, cr as SKILL_FILE_NAME, u as SecretRef, cs as SegmentPickReason, ct as SkillProjectionConfig, cu as WearableAuthCheck, cv as WearableFetchOptions, cw as WearableFetchPage, aZ as WearableMemoryMode, aY as WearableNativeMemory, cx as WearableNativeMemoryPage, b1 as WearableSourceStatus, b0 as WearableSyncSummary, cy as WearableTranscriptSegment, cz as actionTermsFor, cA as buildProcedureMarkdownBody, cB as createFailureMemoryCandidateSource, cC as createTrajectoryCandidateSource, cD as isFailureClassMemory, cE as isImportRole, cF as isRecallDisclosure, cG as normalizeActionIntent, cH as parseActionGateConfig, cI as parseDriftDetectionConfig, cJ as parseDriftProvenance, cK as parseIsoTimestamp, cL as parseProcedureStepsFromBody, cM as parseSkillBundle, cN as parseSkillProjectionConfig, cO as projectProceduresToSkills, cP as renderSkillBundle, cQ as sanitizePayloadString, cR as sanitizeSkillSlug, cS as serializeDriftProvenance, cT as validateImportTurn } from './types-ETU5N6nB.js';
32
+ import { C as CodingContext, bn as CodingModeConfig, aW as FusionConversationInput, bo as FusedSpeaker, bp as FusedSegment, bq as FusedDisagreement, br as FusionOptions, aY as WearableConversation, bs as FusionDayResult, P as PluginConfig, bt as ParsedSkillBundle, Z as SkillBundle, bu as MemoryDriftState, bv as DriftDetectionConfig, bw as CodingKnowledgeConfig, ax as SubjectGuardMode, y as MemoryCategory, bx as WearableCleanupSettings, by as WearableFusionConfig, aZ as WearableSourceSettings, b1 as WearablesConfig, b0 as WearableSourceConnector, bz as OffTheRecordMarkerSettings, b6 as WearableCorrectionRule, bA as WearableDayTranscriptMeta, b4 as WearableDayTranscript, aN as ActivitySnapshot, bB as ActivityDayMeta, bC as ActivityDayDigest, aQ as ActivitySourceClient, bD as ActivitySourceCheck, bE as ActivitySnapshotPage, aO as ActivityConfig, a8 as ExtractionResult, w as MemoryStatus, av as ImportanceScore, bF as MeetingsDetectionConfig, aV as MeetingsDetectionInput, aX as DetectedMeeting, aS as MeetingsConfig, aU as MeetingRecord, bG as MeetingAudioWindow, bH as MeetingAppSpan } from './types-djxQlxJ7.js';
33
+ export { bI as ACTION_GATE_DEFAULTS, bJ as ACTION_GATE_DEFAULT_MAX_ADVISORIES_PER_TURN, bK as ActionGateAdvisory, bL as ActionGateAuditRecord, bM as ActionGateAuditSink, bN as ActionGateCandidate, bO as ActionGateCandidateQuery, bP as ActionGateCandidateSource, bQ as ActionGateConfig, bR as ActionGateDecision, bS as ActionGateRequest, bT as ActionGateService, bU as ActionGateServiceDependencies, bV as ActionGateSourceResult, bW as ActionGateStatus, bX as ActivityExtractionMode, aP as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bY as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bZ as BriefingWindow, aa as BufferSurpriseEvent, b_ as BulkImportError, ac as BulkImportOptions, ae as BulkImportResult, ad as BulkImportSource, b$ as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, c0 as CodexCompatConfig, bl as ConsolidationObservation, c1 as DEFAULT_RECALL_DISCLOSURE, c2 as DRIFT_DETECTION_DEFAULTS, c3 as DisagreementKind, c4 as DriftDetectionSettings, E as EntityFile, ao as EntityStructuredSection, at as ExtractedFact, c5 as FailureMemorySourceDependencies, c6 as FusedContribution, c7 as FusedConversationProvenance, b8 as FusedDayFile, b7 as FusedDayMeta, aT as FusedMeeting, c8 as FusedSegmentProvenance, b5 as FusedWearableConversation, c9 as FusionSegmentInput, G as GatewayConfig, ca as ImportSourceRole, ab as ImportTurn, cb as ImportTurnValidationIssue, aR as MeetingBuildInput, b9 as MeetingDetectionSource, cc as MeetingScreenContextEvent, cd as MeetingSummaryMode, ay as MemoryActionEligibilityContext, ce as MemoryActionEligibilitySource, ai as MemoryActionType, cf as MemoryDriftProvenance, M as MemoryFile, m as MemoryFrontmatter, cg as MemoryObservation, ch as MemoryScope, ci as NormalizedActionIntent, cj as PRE_ACTION_FINGERPRINT_VERSION, ck as PRE_ACTION_GATE_DEFAULT_TIMEOUT_MS, cl as PRE_ACTION_WARNING_VERSION, cm as PreActionFailureGate, cn as PreActionGateDependencies, co as PreActionGateRequest, cp as PreActionGateResult, cq as PreActionGateStatus, cr as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, cs as RecallDriftAnnotation, ct as SKILL_FILE_NAME, u as SecretRef, cu as SegmentPickReason, cv as SkillProjectionConfig, cw as WearableAuthCheck, cx as WearableFetchOptions, cy as WearableFetchPage, a$ as WearableMemoryMode, a_ as WearableNativeMemory, cz as WearableNativeMemoryPage, b3 as WearableSourceStatus, b2 as WearableSyncSummary, cA as WearableTranscriptSegment, cB as actionTermsFor, cC as buildProcedureMarkdownBody, cD as createFailureMemoryCandidateSource, cE as createTrajectoryCandidateSource, cF as isFailureClassMemory, cG as isImportRole, cH as isRecallDisclosure, cI as normalizeActionIntent, cJ as parseActionGateConfig, cK as parseDriftDetectionConfig, cL as parseDriftProvenance, cM as parseIsoTimestamp, cN as parseProcedureStepsFromBody, cO as parseSkillBundle, cP as parseSkillProjectionConfig, cQ as projectProceduresToSkills, cR as renderSkillBundle, cS as sanitizePayloadString, cT as sanitizeSkillSlug, cU as serializeDriftProvenance, cV as validateImportTurn } from './types-djxQlxJ7.js';
32
34
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
33
35
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
34
36
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
35
- import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-sbiNS5UB.js';
36
- export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-sbiNS5UB.js';
37
+ import { f as EngramAccessService, B as BoundOperation, R as ReviewDeckSourceRow, L as ReviewDeckSnapshot } from './access-service-Diu61Cfv.js';
38
+ export { N as EngramMcpServer, Q as OPERATION_NAMES, O as OperationName, T as PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS, U as PROMOTION_CANDIDATES_MCP_TOOLS, V as ProcedureLibraryMaintenanceReport, X as ProcedureMaintenanceAction, Y as ProcedureMaintenanceActionKind, Z as ProcedureMaintenanceEvidence, _ as ProcedureMaintenanceMarker, $ as ProcedureMaintenanceReasonCode, a0 as ProcedureStatsConfigSnapshot, a1 as ProcedureStatsRecent, a2 as ProcedureStatsReport, a3 as ProcedureStatusCounts, a4 as PromotionCandidate, P as PromotionCandidatesResult, a5 as PromotionReuseSignal, a6 as ReviewDeckActionReceipt, a7 as ReviewDeckActionRequest, a8 as ReviewDeckChoice, a9 as ReviewDeckCursorError, aa as ReviewDeckCursorScope, ab as ReviewDeckEvidence, ac as ReviewDeckItem, ad as ReviewDeckPage, ae as ReviewDeckRisk, af as ReviewDeckUndoRequest, ag as SUBJECT_GUARD_MODES, ah as SUBJECT_GUARD_OVERRIDE_FLAG, ai as SUBJECT_VALUES, aj as SUPPORT_PASSPORT_CARD_CATEGORIES, ak as SUPPORT_PASSPORT_CARD_STATUSES, al as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, am as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, an as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, ao as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, S as SubjectBackfillReport, ap as SubjectBackfillStorage, aq as SubjectGuardDecision, ar as SupportPassportAccessSurface, as as SupportPassportAccessSurfaceDependencies, at as SupportPassportAnswerModelInput, au as SupportPassportAnswerModelInputSchema, av as SupportPassportAnswerOutput, aw as SupportPassportAnswerOutputSchema, ax as SupportPassportAnswerResult, ay as SupportPassportCard, az as SupportPassportCardCategory, aA as SupportPassportCardCategorySchema, aB as SupportPassportCardListSchema, aC as SupportPassportCardMutationInput, aD as SupportPassportCardMutationInputSchema, aE as SupportPassportCardSchema, aF as SupportPassportCardServiceDependencies, aG as SupportPassportCardStatus, aH as SupportPassportCardStatusSchema, aI as SupportPassportCardTitleSchema, aJ as SupportPassportCreateGrantInput, aK as SupportPassportCreateGrantInputSchema, aL as SupportPassportCreateGrantRequest, aM as SupportPassportCreateGrantRequestSchema, aN as SupportPassportCreateGrantResult, aO as SupportPassportCreatedGrant, aP as SupportPassportCreatedGrantSchema, aQ as SupportPassportDraftCard, aR as SupportPassportDraftCardSchema, aS as SupportPassportDraftModelInput, aT as SupportPassportDraftModelInputSchema, aU as SupportPassportDraftOutputSchema, aV as SupportPassportDraftResult, aW as SupportPassportError, aX as SupportPassportErrorCode, aY as SupportPassportGrantCardRef, aZ as SupportPassportGrantCardRefSchema, a_ as SupportPassportGrantState, a$ as SupportPassportGrantStateSchema, b0 as SupportPassportListCardsInputSchema, b1 as SupportPassportListGrantsInputSchema, b2 as SupportPassportManualDraftInput, b3 as SupportPassportManualDraftInputSchema, b4 as SupportPassportMemoryIdSchema, b5 as SupportPassportMemoryPreview, b6 as SupportPassportModelAdapter, b7 as SupportPassportModelAdapterOptions, b8 as SupportPassportModelAuditRecord, b9 as SupportPassportModelAuditRecordSchema, ba as SupportPassportModelAuditSink, bb as SupportPassportModelAuditStore, bc as SupportPassportModelCallError, bd as SupportPassportModelClients, be as SupportPassportModelFailureMetadata, bf as SupportPassportModelMessage, bg as SupportPassportModelResultMetadata, bh as SupportPassportModelRoute, bi as SupportPassportModelRouteKind, bj as SupportPassportModelRouteResult, bk as SupportPassportModelUsage, bl as SupportPassportNamespaceSchema, bm as SupportPassportOwnerCreateGrantRequest, bn as SupportPassportOwnerCreateGrantRequestSchema, bo as SupportPassportOwnerGrant, bp as SupportPassportOwnerGrantSchema, bq as SupportPassportOwnerScope, br as SupportPassportPublicCardSchema, bs as SupportPassportPublicGuide, bt as SupportPassportPublicGuideSchema, bu as SupportPassportReplaceCardInput, bv as SupportPassportReplaceCardInputSchema, bw as SupportPassportRevokeGrantInput, bx as SupportPassportRevokeGrantInputSchema, by as SupportPassportRevokeGrantResult, bz as SupportPassportSourceMemoryIdSchema, bA as WHO_KNOWS_AUTHORSHIP_BONUS, bB as WHO_KNOWS_DEFAULT_LIMIT, bC as WHO_KNOWS_MAX_EVIDENCE, bD as WHO_KNOWS_MAX_LIMIT, bE as WHO_KNOWS_MCP_TOOLS, bF as WhoKnowsEntity, bG as WhoKnowsEvidence, bH as WhoKnowsHit, bI as WhoKnowsHttpOutcome, W as WhoKnowsResult, bJ as WhoKnowsStorage, bK as acceptsSupportPassportModelResponse, bL as backfillMemorySubjects, bM as buildReviewDeckPage, bN as buildSupportPassportDirectGatewayConfig, bO as compareReviewDeckRows, bP as computeProcedureStats, bQ as computePromotionCandidates, bR as computeReviewItemRevision, bS as computeSupportPassportCardRevision, bT as computeWhoKnows, bU as createSupportPassportModelAdapter, bV as decodeReviewDeckCursor, bW as encodeReviewDeckCursor, bX as evaluateSubjectGuard, bY as formatProcedureStatsText, bZ as handleWhoKnowsHttpQuery, b_ as hashSupportPassportAuditValues, b$ as isMemorySubject, c0 as isSharedPromotionTarget, c1 as isSubjectGuardMode, c2 as loadWhoKnowsEntities, c3 as projectReviewDeckItem, c4 as promotionCandidateKey, c5 as resolveSupportPassportModelRoutePlan, c6 as resolveWriteSubject, c7 as runProcedureLibraryMaintenance, c8 as subjectDefaultForCategory, c9 as tokenizeTopic, ca as validateWhoKnowsInput } from './access-service-Diu61Cfv.js';
37
39
  import { LocalLlmClient } from './local-llm.js';
38
40
  import { FallbackLlmClient } from './fallback-llm.js';
39
41
  export { FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -46,20 +48,20 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
46
48
  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';
47
49
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
48
50
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
49
- export { Q as QmdClient } from './qmd-BppGGxsi.js';
51
+ export { Q as QmdClient } from './qmd-DWMAGA5l.js';
50
52
  export { LanceDbBackend } from './search/lancedb-backend.js';
51
53
  export { OramaBackend } from './search/orama-backend.js';
52
54
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
53
55
  export { buildEntityRecallSection } from './entity-retrieval.js';
54
56
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
55
- export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-DO_7zfkv.js';
57
+ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-9f-vEQLS.js';
56
58
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
57
59
  export { storagePathHash } from './storage-paths.js';
58
60
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
59
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-Bfgo0n1L.js';
61
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-O3F-ht3i.js';
60
62
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
61
63
  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';
62
- 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-BP3VQDl5.js';
64
+ 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-CuOxlTC2.js';
63
65
  import { z } from 'zod';
64
66
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
65
67
  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';
@@ -84,8 +86,8 @@ export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance,
84
86
  export { initLogger, log } from './logger.js';
85
87
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
86
88
  export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_MAX_MTIME_MS, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncDeletionRevision, OfflineSyncFileContentChunk, OfflineSyncFileDeleteTarget, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileWriteTarget, OfflineSyncRecordDeletionRevision, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, filterOfflineSyncDeletionRevisions, globToRegExp, isInternalRemnicStatePath, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
87
- import { D as DiscoveredExtension } from './semantic-consolidation-mSPwQSmF.js';
88
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-mSPwQSmF.js';
89
+ import { D as DiscoveredExtension } from './semantic-consolidation-CNFVBXFc.js';
90
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-CNFVBXFc.js';
89
91
  export { ConnectorCapability, ConnectorInstance, ConnectorManifest, ConnectorRegistry, DoctorCheck, DoctorResult, InstallOptions, InstallResult, MARKETPLACE_MANIFEST_FILENAME, MARKETPLACE_SCHEMA_VERSION, MarketplaceConfig, MarketplaceEntry, MarketplaceInstallResult, MarketplaceInstallType, MarketplaceLogger, MarketplaceManifest, MarketplaceValidation, RemoveResult, checkMarketplaceManifest, coerceInstallExtension, doctorConnector, generateMarketplaceManifest, getConnectorToken, installConnector, installFromMarketplace, listConnectors, loadRegistry, removeConnector, saveRegistry, validateMarketplaceManifest, writeMarketplaceManifest } from './connectors/index.js';
90
92
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
91
93
  export { c as CONNECTOR_ID_PATTERN, C as ConnectorConfig, b as ConnectorCursor, a as ConnectorDocument, d as ConnectorDocumentSource, e as SyncIncrementalArgs, i as isValidConnectorId, p as persistableConnectorConfig, r as redactConnectorConfigSecrets } from './framework-CNDn2164.js';
@@ -100,11 +102,11 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
100
102
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
101
103
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
102
104
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
103
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CgXgdIrF.js';
104
- import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-BICWLwSP.js';
105
- export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-BICWLwSP.js';
106
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-PFvY1Pw_.js';
107
- export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-PFvY1Pw_.js';
105
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CVoysPm2.js';
106
+ import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-Bb-JIdQ0.js';
107
+ export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-Bb-JIdQ0.js';
108
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-CJ-xqFp0.js';
109
+ export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-CJ-xqFp0.js';
108
110
  import { SearchExecutionOptions } from './search/port.js';
109
111
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
110
112
  export { ComputeMemoryWorthInput, MemoryWorthResult, computeMemoryWorth } from './memory-worth.js';
@@ -121,16 +123,20 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
121
123
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
122
124
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
123
125
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
124
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-ChZUtxDU.js';
126
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-CPWkW_dI.js';
125
127
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
128
+ export { BuildEvalTrajectoryReportOptions, EvalTrajectoryReader, EvalTrajectoryReaderResult, buildEvalTrajectoryReport, createSyntheticEvalTrajectoryReader } from './eval-trajectory.js';
126
129
  export { ActiveContextAdapter, ActiveContextMessage, ActiveContextPlan, MemoryControllerActionFamily, MemoryControllerChoice, MemoryControllerConfig, MemoryControllerCoordinator, MemoryControllerDeps, MemoryControllerEvent, MemoryControllerEvidence, MemoryControllerEvidenceReport, MemoryControllerExecutors, MemoryControllerMode, MemoryControllerPairedSeedEvidence, MemoryControllerReceipt, MemoryControllerRecorder, MemoryControllerReportReader, MemoryControllerRunResult, MemoryControllerState, chooseAction, computeEvidenceReportHash, controllerConfigHash, evaluateActiveGates, hashControllerState, verifyEvidenceReport } from './memory-controller.js';
127
130
  export { ContinuityImprovementLoop } from './types-continuity.js';
131
+ export { DEFAULT_EVAL_TRAJECTORY_MAX_FUTURE_SKEW_MS, DEFAULT_EVAL_TRAJECTORY_MAX_ROWS, DEFAULT_EVAL_TRAJECTORY_OUTCOME_WINDOW_MS, DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS, DEFAULT_EVAL_TRAJECTORY_WEIGHTS, EVAL_TRAJECTORY_PROMOTION_THRESHOLDS, EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION, EvalActionInput, EvalActionProjection, EvalOutcomeInput, EvalOutcomeProjection, EvalStaleUseEvidence, EvalStaleUseEvidenceInput, EvalStaleUseLifecycleState, EvalStaleUseOutcome, EvalTrajectoryAggregates, EvalTrajectoryJoinKind, EvalTrajectoryMetricName, EvalTrajectoryOutcomeSource, EvalTrajectoryRejectionReason, EvalTrajectoryReport, EvalTrajectoryRowStatus, EvalTrajectoryRunConfig, EvalTrajectoryTaskResult, EvalTrajectoryWeights, MAX_EVAL_TRAJECTORY_ROWS_LIMIT, UnifiedMemoryPromotionReport, UnifiedMemoryPromotionState, resolveEvalTrajectoryRunConfig, serializeEvalTrajectoryReport } from './eval-trajectory-contracts.js';
128
132
  export { EngramAccessInputError } from './access-errors.js';
129
133
  export { ExternalWikiRoot } from './external-wiki-config.js';
130
134
  export { OfflineSyncExcludeFile, OfflineSyncFileTarget } from './offline-sync-file-io.js';
135
+ export { assertEvalTrajectoryReportRedacted, deriveUnifiedMemoryPromotionReport, readEvalTrajectoryReport, validateEvalTrajectoryReport, writeEvalTrajectoryReport } from './eval-trajectory-store.js';
131
136
  export { expandTildePath } from './utils/path.js';
132
137
  export { normalizeAttributePairs } from './structured-attributes.js';
133
138
  export { shouldRecallEventOrderEvidence } from './event-order-query.js';
139
+ import './active-context-config.js';
134
140
  import './bounded-jsonl-state.js';
135
141
  import './types-CM86alG1.js';
136
142
  import './operator-doctor-types.js';
@@ -173,7 +179,7 @@ import './conversation-index/chunker.js';
173
179
  import './conversation-index/backend.js';
174
180
  import './faiss-adapter-BHecI1fF.js';
175
181
  import './runtime/child-process.js';
176
- import './dependency-propagation-delivery-D23_x-s5.js';
182
+ import './dependency-propagation-delivery-CL6RWXTA.js';
177
183
  import './namespaces/storage.js';
178
184
  import './threading.js';
179
185
  import './graph-444E-DrF.js';
@@ -184,9 +190,8 @@ import './replay/types.js';
184
190
  import './lcm/engine.js';
185
191
  import './lcm/archive.js';
186
192
  import './token-estimate.js';
187
- import './lcm/summarizer.js';
188
- import './lcm/dag.js';
189
193
  import './lcm/recall.js';
194
+ import './lcm/dag.js';
190
195
  import './lcm/queue.js';
191
196
  import './namespaces/search.js';
192
197
  import './policy-runtime.js';
@@ -194,7 +199,7 @@ import './profiling.js';
194
199
  import './schemas.js';
195
200
  import './extraction-error-classification.js';
196
201
  import 'node:stream';
197
- import './access-namespace-preflight-D_6mo8ms.js';
202
+ import './access-namespace-preflight-CpAOrS-9.js';
198
203
  import './recall-explain-renderer.js';
199
204
  import './access-citation.js';
200
205
  import './access-health-types.js';
@@ -1226,15 +1231,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
1226
1231
  locator: z.ZodOptional<z.ZodString>;
1227
1232
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1228
1233
  }, "strict", z.ZodTypeAny, {
1229
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1230
- label: string;
1231
1234
  id: string;
1235
+ label: string;
1236
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1232
1237
  capture: "at_action" | "historical_lookup" | "fixture";
1233
1238
  locator?: string | undefined;
1234
1239
  }, {
1235
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1236
- label: string;
1237
1240
  id: string;
1241
+ label: string;
1242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1238
1243
  capture: "at_action" | "historical_lookup" | "fixture";
1239
1244
  locator?: string | undefined;
1240
1245
  }>;
@@ -1251,15 +1256,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1251
1256
  locator: z.ZodOptional<z.ZodString>;
1252
1257
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1253
1258
  }, "strict", z.ZodTypeAny, {
1254
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1255
- label: string;
1256
1259
  id: string;
1260
+ label: string;
1261
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1257
1262
  capture: "at_action" | "historical_lookup" | "fixture";
1258
1263
  locator?: string | undefined;
1259
1264
  }, {
1260
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1261
- label: string;
1262
1265
  id: string;
1266
+ label: string;
1267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1263
1268
  capture: "at_action" | "historical_lookup" | "fixture";
1264
1269
  locator?: string | undefined;
1265
1270
  }>, "many">>;
@@ -1267,9 +1272,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1267
1272
  kind: "mission_started";
1268
1273
  title: string;
1269
1274
  evidence: {
1270
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1271
- label: string;
1272
1275
  id: string;
1276
+ label: string;
1277
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1273
1278
  capture: "at_action" | "historical_lookup" | "fixture";
1274
1279
  locator?: string | undefined;
1275
1280
  }[];
@@ -1281,9 +1286,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1281
1286
  objective: string;
1282
1287
  runMode: "replay" | "fixture" | "live";
1283
1288
  evidence?: {
1284
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1285
- label: string;
1286
1289
  id: string;
1290
+ label: string;
1291
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1287
1292
  capture: "at_action" | "historical_lookup" | "fixture";
1288
1293
  locator?: string | undefined;
1289
1294
  }[] | undefined;
@@ -1299,15 +1304,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1299
1304
  locator: z.ZodOptional<z.ZodString>;
1300
1305
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1301
1306
  }, "strict", z.ZodTypeAny, {
1302
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1303
- label: string;
1304
1307
  id: string;
1308
+ label: string;
1309
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1305
1310
  capture: "at_action" | "historical_lookup" | "fixture";
1306
1311
  locator?: string | undefined;
1307
1312
  }, {
1308
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1309
- label: string;
1310
1313
  id: string;
1314
+ label: string;
1315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1311
1316
  capture: "at_action" | "historical_lookup" | "fixture";
1312
1317
  locator?: string | undefined;
1313
1318
  }>, "many">>;
@@ -1315,32 +1320,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1315
1320
  sessionId: z.ZodString;
1316
1321
  kind: z.ZodLiteral<"agent_status">;
1317
1322
  }, "strict", z.ZodTypeAny, {
1318
- kind: "agent_status";
1319
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1320
1323
  label: string;
1324
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1325
+ kind: "agent_status";
1321
1326
  role: string;
1322
1327
  agentId: string;
1323
1328
  sessionId: string;
1324
1329
  evidence: {
1325
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1326
- label: string;
1327
1330
  id: string;
1331
+ label: string;
1332
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1328
1333
  capture: "at_action" | "historical_lookup" | "fixture";
1329
1334
  locator?: string | undefined;
1330
1335
  }[];
1331
1336
  detail?: string | undefined;
1332
1337
  }, {
1333
- kind: "agent_status";
1334
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1335
1338
  label: string;
1339
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1340
+ kind: "agent_status";
1336
1341
  role: string;
1337
1342
  agentId: string;
1338
1343
  sessionId: string;
1339
1344
  detail?: string | undefined;
1340
1345
  evidence?: {
1341
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1342
- label: string;
1343
1346
  id: string;
1347
+ label: string;
1348
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1344
1349
  capture: "at_action" | "historical_lookup" | "fixture";
1345
1350
  locator?: string | undefined;
1346
1351
  }[] | undefined;
@@ -1354,15 +1359,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1354
1359
  locator: z.ZodOptional<z.ZodString>;
1355
1360
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1356
1361
  }, "strict", z.ZodTypeAny, {
1357
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1358
- label: string;
1359
1362
  id: string;
1363
+ label: string;
1364
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1360
1365
  capture: "at_action" | "historical_lookup" | "fixture";
1361
1366
  locator?: string | undefined;
1362
1367
  }, {
1363
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1364
- label: string;
1365
1368
  id: string;
1369
+ label: string;
1370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1366
1371
  capture: "at_action" | "historical_lookup" | "fixture";
1367
1372
  locator?: string | undefined;
1368
1373
  }>, "many">>;
@@ -1370,28 +1375,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1370
1375
  sessionId: z.ZodString;
1371
1376
  kind: z.ZodLiteral<"agent_output">;
1372
1377
  }, "strict", z.ZodTypeAny, {
1373
- kind: "agent_output";
1374
1378
  summary: string;
1379
+ kind: "agent_output";
1375
1380
  agentId: string;
1376
1381
  sessionId: string;
1377
1382
  evidence: {
1378
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1379
- label: string;
1380
1383
  id: string;
1384
+ label: string;
1385
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
1386
  capture: "at_action" | "historical_lookup" | "fixture";
1382
1387
  locator?: string | undefined;
1383
1388
  }[];
1384
1389
  outputId: string;
1385
1390
  }, {
1386
- kind: "agent_output";
1387
1391
  summary: string;
1392
+ kind: "agent_output";
1388
1393
  agentId: string;
1389
1394
  sessionId: string;
1390
1395
  outputId: string;
1391
1396
  evidence?: {
1392
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1393
- label: string;
1394
1397
  id: string;
1398
+ label: string;
1399
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1395
1400
  capture: "at_action" | "historical_lookup" | "fixture";
1396
1401
  locator?: string | undefined;
1397
1402
  }[] | undefined;
@@ -1407,15 +1412,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1407
1412
  locator: z.ZodOptional<z.ZodString>;
1408
1413
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1409
1414
  }, "strict", z.ZodTypeAny, {
1410
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
- label: string;
1412
1415
  id: string;
1416
+ label: string;
1417
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1413
1418
  capture: "at_action" | "historical_lookup" | "fixture";
1414
1419
  locator?: string | undefined;
1415
1420
  }, {
1416
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1417
- label: string;
1418
1421
  id: string;
1422
+ label: string;
1423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1419
1424
  capture: "at_action" | "historical_lookup" | "fixture";
1420
1425
  locator?: string | undefined;
1421
1426
  }>, "many">>;
@@ -1428,9 +1433,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1428
1433
  statement: string;
1429
1434
  sessionId: string;
1430
1435
  evidence: {
1431
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1432
- label: string;
1433
1436
  id: string;
1437
+ label: string;
1438
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1434
1439
  capture: "at_action" | "historical_lookup" | "fixture";
1435
1440
  locator?: string | undefined;
1436
1441
  }[];
@@ -1446,9 +1451,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1446
1451
  decisionId: string;
1447
1452
  confidence?: number | undefined;
1448
1453
  evidence?: {
1449
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1450
- label: string;
1451
1454
  id: string;
1455
+ label: string;
1456
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1452
1457
  capture: "at_action" | "historical_lookup" | "fixture";
1453
1458
  locator?: string | undefined;
1454
1459
  }[] | undefined;
@@ -1465,25 +1470,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1465
1470
  locator: z.ZodOptional<z.ZodString>;
1466
1471
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1467
1472
  }, "strict", z.ZodTypeAny, {
1468
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1469
- label: string;
1470
1473
  id: string;
1474
+ label: string;
1475
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1471
1476
  capture: "at_action" | "historical_lookup" | "fixture";
1472
1477
  locator?: string | undefined;
1473
1478
  }, {
1474
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1475
- label: string;
1476
1479
  id: string;
1480
+ label: string;
1481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1477
1482
  capture: "at_action" | "historical_lookup" | "fixture";
1478
1483
  locator?: string | undefined;
1479
1484
  }>, "many">>;
1480
1485
  }, "strict", z.ZodTypeAny, {
1481
- kind: "conflict_detected";
1482
1486
  summary: string;
1487
+ kind: "conflict_detected";
1483
1488
  evidence: {
1484
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1485
- label: string;
1486
1489
  id: string;
1490
+ label: string;
1491
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1487
1492
  capture: "at_action" | "historical_lookup" | "fixture";
1488
1493
  locator?: string | undefined;
1489
1494
  }[];
@@ -1491,15 +1496,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1491
1496
  decisionIds: string[];
1492
1497
  agentIds: string[];
1493
1498
  }, {
1494
- kind: "conflict_detected";
1495
1499
  summary: string;
1500
+ kind: "conflict_detected";
1496
1501
  conflictId: string;
1497
1502
  decisionIds: string[];
1498
1503
  agentIds: string[];
1499
1504
  evidence?: {
1500
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1501
- label: string;
1502
1505
  id: string;
1506
+ label: string;
1507
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1503
1508
  capture: "at_action" | "historical_lookup" | "fixture";
1504
1509
  locator?: string | undefined;
1505
1510
  }[] | undefined;
@@ -1519,27 +1524,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1519
1524
  locator: z.ZodOptional<z.ZodString>;
1520
1525
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1521
1526
  }, "strict", z.ZodTypeAny, {
1522
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1523
- label: string;
1524
1527
  id: string;
1528
+ label: string;
1529
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1525
1530
  capture: "at_action" | "historical_lookup" | "fixture";
1526
1531
  locator?: string | undefined;
1527
1532
  }, {
1528
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1529
- label: string;
1530
1533
  id: string;
1534
+ label: string;
1535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1531
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1532
1537
  locator?: string | undefined;
1533
1538
  }>, "many">>;
1534
1539
  }, "strict", z.ZodTypeAny, {
1535
- kind: "test_result";
1536
1540
  summary: string;
1537
1541
  status: "error" | "failed" | "passed";
1542
+ kind: "test_result";
1538
1543
  command: string;
1539
1544
  evidence: {
1540
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1541
- label: string;
1542
1545
  id: string;
1546
+ label: string;
1547
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1543
1548
  capture: "at_action" | "historical_lookup" | "fixture";
1544
1549
  locator?: string | undefined;
1545
1550
  }[];
@@ -1548,17 +1553,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1548
1553
  durationMs?: number | undefined;
1549
1554
  correctionId?: string | undefined;
1550
1555
  }, {
1551
- kind: "test_result";
1552
1556
  summary: string;
1553
1557
  status: "error" | "failed" | "passed";
1558
+ kind: "test_result";
1554
1559
  command: string;
1555
1560
  decisionId: string;
1556
1561
  testId: string;
1557
1562
  durationMs?: number | undefined;
1558
1563
  evidence?: {
1559
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1560
- label: string;
1561
1564
  id: string;
1565
+ label: string;
1566
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1562
1567
  capture: "at_action" | "historical_lookup" | "fixture";
1563
1568
  locator?: string | undefined;
1564
1569
  }[] | undefined;
@@ -1579,15 +1584,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1579
1584
  locator: z.ZodOptional<z.ZodString>;
1580
1585
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1581
1586
  }, "strict", z.ZodTypeAny, {
1582
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1583
- label: string;
1584
1587
  id: string;
1588
+ label: string;
1589
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1585
1590
  capture: "at_action" | "historical_lookup" | "fixture";
1586
1591
  locator?: string | undefined;
1587
1592
  }, {
1588
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1589
- label: string;
1590
1593
  id: string;
1594
+ label: string;
1595
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1591
1596
  capture: "at_action" | "historical_lookup" | "fixture";
1592
1597
  locator?: string | undefined;
1593
1598
  }>, "many">>;
@@ -1596,9 +1601,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1596
1601
  statement: string;
1597
1602
  rationale: string;
1598
1603
  evidence: {
1599
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
- label: string;
1601
1604
  id: string;
1605
+ label: string;
1606
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1602
1607
  capture: "at_action" | "historical_lookup" | "fixture";
1603
1608
  locator?: string | undefined;
1604
1609
  }[];
@@ -1617,9 +1622,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1617
1622
  supersedesDecisionIds: string[];
1618
1623
  proposedBy: string;
1619
1624
  evidence?: {
1620
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1621
- label: string;
1622
1625
  id: string;
1626
+ label: string;
1627
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1623
1628
  capture: "at_action" | "historical_lookup" | "fixture";
1624
1629
  locator?: string | undefined;
1625
1630
  }[] | undefined;
@@ -1631,13 +1636,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1631
1636
  id: z.ZodString;
1632
1637
  label: z.ZodString;
1633
1638
  }, "strict", z.ZodTypeAny, {
1634
- kind: "agent" | "human";
1635
- label: string;
1636
1639
  id: string;
1637
- }, {
1638
- kind: "agent" | "human";
1639
1640
  label: string;
1641
+ kind: "agent" | "human";
1642
+ }, {
1640
1643
  id: string;
1644
+ label: string;
1645
+ kind: "agent" | "human";
1641
1646
  }>;
1642
1647
  note: z.ZodOptional<z.ZodString>;
1643
1648
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1647,47 +1652,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1647
1652
  locator: z.ZodOptional<z.ZodString>;
1648
1653
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1649
1654
  }, "strict", z.ZodTypeAny, {
1650
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1651
- label: string;
1652
1655
  id: string;
1656
+ label: string;
1657
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1653
1658
  capture: "at_action" | "historical_lookup" | "fixture";
1654
1659
  locator?: string | undefined;
1655
1660
  }, {
1656
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1657
- label: string;
1658
1661
  id: string;
1662
+ label: string;
1663
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1659
1664
  capture: "at_action" | "historical_lookup" | "fixture";
1660
1665
  locator?: string | undefined;
1661
1666
  }>, "many">>;
1662
1667
  }, "strict", z.ZodTypeAny, {
1663
1668
  kind: "correction_approved";
1664
1669
  evidence: {
1665
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1666
- label: string;
1667
1670
  id: string;
1671
+ label: string;
1672
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1668
1673
  capture: "at_action" | "historical_lookup" | "fixture";
1669
1674
  locator?: string | undefined;
1670
1675
  }[];
1671
1676
  correctionId: string;
1672
1677
  approvedBy: {
1673
- kind: "agent" | "human";
1674
- label: string;
1675
1678
  id: string;
1679
+ label: string;
1680
+ kind: "agent" | "human";
1676
1681
  };
1677
1682
  note?: string | undefined;
1678
1683
  }, {
1679
1684
  kind: "correction_approved";
1680
1685
  correctionId: string;
1681
1686
  approvedBy: {
1682
- kind: "agent" | "human";
1683
- label: string;
1684
1687
  id: string;
1688
+ label: string;
1689
+ kind: "agent" | "human";
1685
1690
  };
1686
1691
  note?: string | undefined;
1687
1692
  evidence?: {
1688
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1689
- label: string;
1690
1693
  id: string;
1694
+ label: string;
1695
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1691
1696
  capture: "at_action" | "historical_lookup" | "fixture";
1692
1697
  locator?: string | undefined;
1693
1698
  }[] | undefined;
@@ -1703,24 +1708,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1703
1708
  locator: z.ZodOptional<z.ZodString>;
1704
1709
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1705
1710
  }, "strict", z.ZodTypeAny, {
1706
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1707
- label: string;
1708
1711
  id: string;
1712
+ label: string;
1713
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1709
1714
  capture: "at_action" | "historical_lookup" | "fixture";
1710
1715
  locator?: string | undefined;
1711
1716
  }, {
1712
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
- label: string;
1714
1717
  id: string;
1718
+ label: string;
1719
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1715
1720
  capture: "at_action" | "historical_lookup" | "fixture";
1716
1721
  locator?: string | undefined;
1717
1722
  }>, "many">>;
1718
1723
  }, "strict", z.ZodTypeAny, {
1719
1724
  kind: "decision_superseded";
1720
1725
  evidence: {
1721
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1722
- label: string;
1723
1726
  id: string;
1727
+ label: string;
1728
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1724
1729
  capture: "at_action" | "historical_lookup" | "fixture";
1725
1730
  locator?: string | undefined;
1726
1731
  }[];
@@ -1733,9 +1738,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1733
1738
  correctionId: string;
1734
1739
  replacementDecisionId: string;
1735
1740
  evidence?: {
1736
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1737
- label: string;
1738
1741
  id: string;
1742
+ label: string;
1743
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1739
1744
  capture: "at_action" | "historical_lookup" | "fixture";
1740
1745
  locator?: string | undefined;
1741
1746
  }[] | undefined;
@@ -1751,15 +1756,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1751
1756
  locator: z.ZodOptional<z.ZodString>;
1752
1757
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1753
1758
  }, "strict", z.ZodTypeAny, {
1754
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1755
- label: string;
1756
1759
  id: string;
1760
+ label: string;
1761
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1757
1762
  capture: "at_action" | "historical_lookup" | "fixture";
1758
1763
  locator?: string | undefined;
1759
1764
  }, {
1760
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1761
- label: string;
1762
1765
  id: string;
1766
+ label: string;
1767
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1763
1768
  capture: "at_action" | "historical_lookup" | "fixture";
1764
1769
  locator?: string | undefined;
1765
1770
  }>, "many">>;
@@ -1772,9 +1777,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1772
1777
  agentId: string;
1773
1778
  sessionId: string;
1774
1779
  evidence: {
1775
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1776
- label: string;
1777
1780
  id: string;
1781
+ label: string;
1782
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1778
1783
  capture: "at_action" | "historical_lookup" | "fixture";
1779
1784
  locator?: string | undefined;
1780
1785
  }[];
@@ -1790,9 +1795,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1790
1795
  recallReceiptId: string;
1791
1796
  capturedAtAction: boolean;
1792
1797
  evidence?: {
1793
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1794
- label: string;
1795
1798
  id: string;
1799
+ label: string;
1800
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1796
1801
  capture: "at_action" | "historical_lookup" | "fixture";
1797
1802
  locator?: string | undefined;
1798
1803
  }[] | undefined;
@@ -1808,15 +1813,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1808
1813
  locator: z.ZodOptional<z.ZodString>;
1809
1814
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1810
1815
  }, "strict", z.ZodTypeAny, {
1811
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1812
- label: string;
1813
1816
  id: string;
1817
+ label: string;
1818
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1814
1819
  capture: "at_action" | "historical_lookup" | "fixture";
1815
1820
  locator?: string | undefined;
1816
1821
  }, {
1817
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1818
- label: string;
1819
1822
  id: string;
1823
+ label: string;
1824
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1820
1825
  capture: "at_action" | "historical_lookup" | "fixture";
1821
1826
  locator?: string | undefined;
1822
1827
  }>, "many">>;
@@ -1828,9 +1833,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1828
1833
  agentId: string;
1829
1834
  sessionId: string;
1830
1835
  evidence: {
1831
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1832
- label: string;
1833
1836
  id: string;
1837
+ label: string;
1838
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1834
1839
  capture: "at_action" | "historical_lookup" | "fixture";
1835
1840
  locator?: string | undefined;
1836
1841
  }[];
@@ -1847,9 +1852,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1847
1852
  recallReceiptId: string;
1848
1853
  staleDecisionAbsent: boolean;
1849
1854
  evidence?: {
1850
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1851
- label: string;
1852
1855
  id: string;
1856
+ label: string;
1857
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1853
1858
  capture: "at_action" | "historical_lookup" | "fixture";
1854
1859
  locator?: string | undefined;
1855
1860
  }[] | undefined;
@@ -1864,37 +1869,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1864
1869
  locator: z.ZodOptional<z.ZodString>;
1865
1870
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1866
1871
  }, "strict", z.ZodTypeAny, {
1867
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1868
- label: string;
1869
1872
  id: string;
1873
+ label: string;
1874
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1870
1875
  capture: "at_action" | "historical_lookup" | "fixture";
1871
1876
  locator?: string | undefined;
1872
1877
  }, {
1873
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1874
- label: string;
1875
1878
  id: string;
1879
+ label: string;
1880
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1876
1881
  capture: "at_action" | "historical_lookup" | "fixture";
1877
1882
  locator?: string | undefined;
1878
1883
  }>, "many">>;
1879
1884
  }, "strict", z.ZodTypeAny, {
1880
- kind: "mission_completed";
1881
1885
  summary: string;
1886
+ kind: "mission_completed";
1882
1887
  outcome: "failed" | "recovered" | "inconclusive";
1883
1888
  evidence: {
1884
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
- label: string;
1886
1889
  id: string;
1890
+ label: string;
1891
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1887
1892
  capture: "at_action" | "historical_lookup" | "fixture";
1888
1893
  locator?: string | undefined;
1889
1894
  }[];
1890
1895
  }, {
1891
- kind: "mission_completed";
1892
1896
  summary: string;
1897
+ kind: "mission_completed";
1893
1898
  outcome: "failed" | "recovered" | "inconclusive";
1894
1899
  evidence?: {
1895
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1896
- label: string;
1897
1900
  id: string;
1901
+ label: string;
1902
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1898
1903
  capture: "at_action" | "historical_lookup" | "fixture";
1899
1904
  locator?: string | undefined;
1900
1905
  }[] | undefined;
@@ -1902,38 +1907,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1902
1907
  kind: "mission_started";
1903
1908
  title: string;
1904
1909
  evidence: {
1905
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1906
- label: string;
1907
1910
  id: string;
1911
+ label: string;
1912
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1908
1913
  capture: "at_action" | "historical_lookup" | "fixture";
1909
1914
  locator?: string | undefined;
1910
1915
  }[];
1911
1916
  objective: string;
1912
1917
  runMode: "replay" | "fixture" | "live";
1913
1918
  } | {
1914
- kind: "agent_status";
1915
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1916
1919
  label: string;
1920
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1921
+ kind: "agent_status";
1917
1922
  role: string;
1918
1923
  agentId: string;
1919
1924
  sessionId: string;
1920
1925
  evidence: {
1921
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1922
- label: string;
1923
1926
  id: string;
1927
+ label: string;
1928
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1924
1929
  capture: "at_action" | "historical_lookup" | "fixture";
1925
1930
  locator?: string | undefined;
1926
1931
  }[];
1927
1932
  detail?: string | undefined;
1928
1933
  } | {
1929
- kind: "agent_output";
1930
1934
  summary: string;
1935
+ kind: "agent_output";
1931
1936
  agentId: string;
1932
1937
  sessionId: string;
1933
1938
  evidence: {
1934
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1935
- label: string;
1936
1939
  id: string;
1940
+ label: string;
1941
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1937
1942
  capture: "at_action" | "historical_lookup" | "fixture";
1938
1943
  locator?: string | undefined;
1939
1944
  }[];
@@ -1944,9 +1949,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1944
1949
  statement: string;
1945
1950
  sessionId: string;
1946
1951
  evidence: {
1947
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1948
- label: string;
1949
1952
  id: string;
1953
+ label: string;
1954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1950
1955
  capture: "at_action" | "historical_lookup" | "fixture";
1951
1956
  locator?: string | undefined;
1952
1957
  }[];
@@ -1954,12 +1959,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1954
1959
  decisionId: string;
1955
1960
  confidence?: number | undefined;
1956
1961
  } | {
1957
- kind: "conflict_detected";
1958
1962
  summary: string;
1963
+ kind: "conflict_detected";
1959
1964
  evidence: {
1960
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1961
- label: string;
1962
1965
  id: string;
1966
+ label: string;
1967
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1963
1968
  capture: "at_action" | "historical_lookup" | "fixture";
1964
1969
  locator?: string | undefined;
1965
1970
  }[];
@@ -1967,14 +1972,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1967
1972
  decisionIds: string[];
1968
1973
  agentIds: string[];
1969
1974
  } | {
1970
- kind: "test_result";
1971
1975
  summary: string;
1972
1976
  status: "error" | "failed" | "passed";
1977
+ kind: "test_result";
1973
1978
  command: string;
1974
1979
  evidence: {
1975
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1976
- label: string;
1977
1980
  id: string;
1981
+ label: string;
1982
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1978
1983
  capture: "at_action" | "historical_lookup" | "fixture";
1979
1984
  locator?: string | undefined;
1980
1985
  }[];
@@ -1987,9 +1992,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1987
1992
  statement: string;
1988
1993
  rationale: string;
1989
1994
  evidence: {
1990
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1991
- label: string;
1992
1995
  id: string;
1996
+ label: string;
1997
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1993
1998
  capture: "at_action" | "historical_lookup" | "fixture";
1994
1999
  locator?: string | undefined;
1995
2000
  }[];
@@ -2001,25 +2006,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2001
2006
  } | {
2002
2007
  kind: "correction_approved";
2003
2008
  evidence: {
2004
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2005
- label: string;
2006
2009
  id: string;
2010
+ label: string;
2011
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2007
2012
  capture: "at_action" | "historical_lookup" | "fixture";
2008
2013
  locator?: string | undefined;
2009
2014
  }[];
2010
2015
  correctionId: string;
2011
2016
  approvedBy: {
2012
- kind: "agent" | "human";
2013
- label: string;
2014
2017
  id: string;
2018
+ label: string;
2019
+ kind: "agent" | "human";
2015
2020
  };
2016
2021
  note?: string | undefined;
2017
2022
  } | {
2018
2023
  kind: "decision_superseded";
2019
2024
  evidence: {
2020
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2021
- label: string;
2022
2025
  id: string;
2026
+ label: string;
2027
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2023
2028
  capture: "at_action" | "historical_lookup" | "fixture";
2024
2029
  locator?: string | undefined;
2025
2030
  }[];
@@ -2032,9 +2037,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2032
2037
  agentId: string;
2033
2038
  sessionId: string;
2034
2039
  evidence: {
2035
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2036
- label: string;
2037
2040
  id: string;
2041
+ label: string;
2042
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2038
2043
  capture: "at_action" | "historical_lookup" | "fixture";
2039
2044
  locator?: string | undefined;
2040
2045
  }[];
@@ -2046,9 +2051,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2046
2051
  agentId: string;
2047
2052
  sessionId: string;
2048
2053
  evidence: {
2049
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2050
- label: string;
2051
2054
  id: string;
2055
+ label: string;
2056
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2052
2057
  capture: "at_action" | "historical_lookup" | "fixture";
2053
2058
  locator?: string | undefined;
2054
2059
  }[];
@@ -2057,13 +2062,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2057
2062
  recallReceiptId: string;
2058
2063
  staleDecisionAbsent: boolean;
2059
2064
  } | {
2060
- kind: "mission_completed";
2061
2065
  summary: string;
2066
+ kind: "mission_completed";
2062
2067
  outcome: "failed" | "recovered" | "inconclusive";
2063
2068
  evidence: {
2064
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2065
- label: string;
2066
2069
  id: string;
2070
+ label: string;
2071
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2067
2072
  capture: "at_action" | "historical_lookup" | "fixture";
2068
2073
  locator?: string | undefined;
2069
2074
  }[];
@@ -2073,37 +2078,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2073
2078
  objective: string;
2074
2079
  runMode: "replay" | "fixture" | "live";
2075
2080
  evidence?: {
2076
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2077
- label: string;
2078
2081
  id: string;
2082
+ label: string;
2083
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2079
2084
  capture: "at_action" | "historical_lookup" | "fixture";
2080
2085
  locator?: string | undefined;
2081
2086
  }[] | undefined;
2082
2087
  } | {
2083
- kind: "agent_status";
2084
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2085
2088
  label: string;
2089
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2090
+ kind: "agent_status";
2086
2091
  role: string;
2087
2092
  agentId: string;
2088
2093
  sessionId: string;
2089
2094
  detail?: string | undefined;
2090
2095
  evidence?: {
2091
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2092
- label: string;
2093
2096
  id: string;
2097
+ label: string;
2098
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2094
2099
  capture: "at_action" | "historical_lookup" | "fixture";
2095
2100
  locator?: string | undefined;
2096
2101
  }[] | undefined;
2097
2102
  } | {
2098
- kind: "agent_output";
2099
2103
  summary: string;
2104
+ kind: "agent_output";
2100
2105
  agentId: string;
2101
2106
  sessionId: string;
2102
2107
  outputId: string;
2103
2108
  evidence?: {
2104
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
- label: string;
2106
2109
  id: string;
2110
+ label: string;
2111
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2107
2112
  capture: "at_action" | "historical_lookup" | "fixture";
2108
2113
  locator?: string | undefined;
2109
2114
  }[] | undefined;
@@ -2116,37 +2121,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2116
2121
  decisionId: string;
2117
2122
  confidence?: number | undefined;
2118
2123
  evidence?: {
2119
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2120
- label: string;
2121
2124
  id: string;
2125
+ label: string;
2126
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2122
2127
  capture: "at_action" | "historical_lookup" | "fixture";
2123
2128
  locator?: string | undefined;
2124
2129
  }[] | undefined;
2125
2130
  } | {
2126
- kind: "conflict_detected";
2127
2131
  summary: string;
2132
+ kind: "conflict_detected";
2128
2133
  conflictId: string;
2129
2134
  decisionIds: string[];
2130
2135
  agentIds: string[];
2131
2136
  evidence?: {
2132
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2133
- label: string;
2134
2137
  id: string;
2138
+ label: string;
2139
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2135
2140
  capture: "at_action" | "historical_lookup" | "fixture";
2136
2141
  locator?: string | undefined;
2137
2142
  }[] | undefined;
2138
2143
  } | {
2139
- kind: "test_result";
2140
2144
  summary: string;
2141
2145
  status: "error" | "failed" | "passed";
2146
+ kind: "test_result";
2142
2147
  command: string;
2143
2148
  decisionId: string;
2144
2149
  testId: string;
2145
2150
  durationMs?: number | undefined;
2146
2151
  evidence?: {
2147
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2148
- label: string;
2149
2152
  id: string;
2153
+ label: string;
2154
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2150
2155
  capture: "at_action" | "historical_lookup" | "fixture";
2151
2156
  locator?: string | undefined;
2152
2157
  }[] | undefined;
@@ -2161,9 +2166,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2161
2166
  supersedesDecisionIds: string[];
2162
2167
  proposedBy: string;
2163
2168
  evidence?: {
2164
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2165
- label: string;
2166
2169
  id: string;
2170
+ label: string;
2171
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2167
2172
  capture: "at_action" | "historical_lookup" | "fixture";
2168
2173
  locator?: string | undefined;
2169
2174
  }[] | undefined;
@@ -2171,15 +2176,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2171
2176
  kind: "correction_approved";
2172
2177
  correctionId: string;
2173
2178
  approvedBy: {
2174
- kind: "agent" | "human";
2175
- label: string;
2176
2179
  id: string;
2180
+ label: string;
2181
+ kind: "agent" | "human";
2177
2182
  };
2178
2183
  note?: string | undefined;
2179
2184
  evidence?: {
2180
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2181
- label: string;
2182
2185
  id: string;
2186
+ label: string;
2187
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2183
2188
  capture: "at_action" | "historical_lookup" | "fixture";
2184
2189
  locator?: string | undefined;
2185
2190
  }[] | undefined;
@@ -2189,9 +2194,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2189
2194
  correctionId: string;
2190
2195
  replacementDecisionId: string;
2191
2196
  evidence?: {
2192
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2193
- label: string;
2194
2197
  id: string;
2198
+ label: string;
2199
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2195
2200
  capture: "at_action" | "historical_lookup" | "fixture";
2196
2201
  locator?: string | undefined;
2197
2202
  }[] | undefined;
@@ -2204,9 +2209,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2204
2209
  recallReceiptId: string;
2205
2210
  capturedAtAction: boolean;
2206
2211
  evidence?: {
2207
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2208
- label: string;
2209
2212
  id: string;
2213
+ label: string;
2214
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2210
2215
  capture: "at_action" | "historical_lookup" | "fixture";
2211
2216
  locator?: string | undefined;
2212
2217
  }[] | undefined;
@@ -2219,20 +2224,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
2219
2224
  recallReceiptId: string;
2220
2225
  staleDecisionAbsent: boolean;
2221
2226
  evidence?: {
2222
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2223
- label: string;
2224
2227
  id: string;
2228
+ label: string;
2229
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2225
2230
  capture: "at_action" | "historical_lookup" | "fixture";
2226
2231
  locator?: string | undefined;
2227
2232
  }[] | undefined;
2228
2233
  } | {
2229
- kind: "mission_completed";
2230
2234
  summary: string;
2235
+ kind: "mission_completed";
2231
2236
  outcome: "failed" | "recovered" | "inconclusive";
2232
2237
  evidence?: {
2233
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2234
- label: string;
2235
2238
  id: string;
2239
+ label: string;
2240
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2236
2241
  capture: "at_action" | "historical_lookup" | "fixture";
2237
2242
  locator?: string | undefined;
2238
2243
  }[] | undefined;
@@ -2253,15 +2258,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2253
2258
  locator: z.ZodOptional<z.ZodString>;
2254
2259
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2255
2260
  }, "strict", z.ZodTypeAny, {
2256
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2257
- label: string;
2258
2261
  id: string;
2262
+ label: string;
2263
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2259
2264
  capture: "at_action" | "historical_lookup" | "fixture";
2260
2265
  locator?: string | undefined;
2261
2266
  }, {
2262
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2263
- label: string;
2264
2267
  id: string;
2268
+ label: string;
2269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2265
2270
  capture: "at_action" | "historical_lookup" | "fixture";
2266
2271
  locator?: string | undefined;
2267
2272
  }>, "many">>;
@@ -2269,9 +2274,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2269
2274
  kind: "mission_started";
2270
2275
  title: string;
2271
2276
  evidence: {
2272
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2273
- label: string;
2274
2277
  id: string;
2278
+ label: string;
2279
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2275
2280
  capture: "at_action" | "historical_lookup" | "fixture";
2276
2281
  locator?: string | undefined;
2277
2282
  }[];
@@ -2283,9 +2288,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2283
2288
  objective: string;
2284
2289
  runMode: "replay" | "fixture" | "live";
2285
2290
  evidence?: {
2286
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2287
- label: string;
2288
2291
  id: string;
2292
+ label: string;
2293
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2289
2294
  capture: "at_action" | "historical_lookup" | "fixture";
2290
2295
  locator?: string | undefined;
2291
2296
  }[] | undefined;
@@ -2301,15 +2306,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2301
2306
  locator: z.ZodOptional<z.ZodString>;
2302
2307
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2303
2308
  }, "strict", z.ZodTypeAny, {
2304
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2305
- label: string;
2306
2309
  id: string;
2310
+ label: string;
2311
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2307
2312
  capture: "at_action" | "historical_lookup" | "fixture";
2308
2313
  locator?: string | undefined;
2309
2314
  }, {
2310
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2311
- label: string;
2312
2315
  id: string;
2316
+ label: string;
2317
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2313
2318
  capture: "at_action" | "historical_lookup" | "fixture";
2314
2319
  locator?: string | undefined;
2315
2320
  }>, "many">>;
@@ -2317,32 +2322,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2317
2322
  sessionId: z.ZodString;
2318
2323
  kind: z.ZodLiteral<"agent_status">;
2319
2324
  }, "strict", z.ZodTypeAny, {
2320
- kind: "agent_status";
2321
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2322
2325
  label: string;
2326
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2327
+ kind: "agent_status";
2323
2328
  role: string;
2324
2329
  agentId: string;
2325
2330
  sessionId: string;
2326
2331
  evidence: {
2327
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2328
- label: string;
2329
2332
  id: string;
2333
+ label: string;
2334
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2330
2335
  capture: "at_action" | "historical_lookup" | "fixture";
2331
2336
  locator?: string | undefined;
2332
2337
  }[];
2333
2338
  detail?: string | undefined;
2334
2339
  }, {
2335
- kind: "agent_status";
2336
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2337
2340
  label: string;
2341
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2342
+ kind: "agent_status";
2338
2343
  role: string;
2339
2344
  agentId: string;
2340
2345
  sessionId: string;
2341
2346
  detail?: string | undefined;
2342
2347
  evidence?: {
2343
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2344
- label: string;
2345
2348
  id: string;
2349
+ label: string;
2350
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2346
2351
  capture: "at_action" | "historical_lookup" | "fixture";
2347
2352
  locator?: string | undefined;
2348
2353
  }[] | undefined;
@@ -2356,15 +2361,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2356
2361
  locator: z.ZodOptional<z.ZodString>;
2357
2362
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2358
2363
  }, "strict", z.ZodTypeAny, {
2359
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2360
- label: string;
2361
2364
  id: string;
2365
+ label: string;
2366
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2362
2367
  capture: "at_action" | "historical_lookup" | "fixture";
2363
2368
  locator?: string | undefined;
2364
2369
  }, {
2365
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2366
- label: string;
2367
2370
  id: string;
2371
+ label: string;
2372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2368
2373
  capture: "at_action" | "historical_lookup" | "fixture";
2369
2374
  locator?: string | undefined;
2370
2375
  }>, "many">>;
@@ -2372,28 +2377,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2372
2377
  sessionId: z.ZodString;
2373
2378
  kind: z.ZodLiteral<"agent_output">;
2374
2379
  }, "strict", z.ZodTypeAny, {
2375
- kind: "agent_output";
2376
2380
  summary: string;
2381
+ kind: "agent_output";
2377
2382
  agentId: string;
2378
2383
  sessionId: string;
2379
2384
  evidence: {
2380
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2381
- label: string;
2382
2385
  id: string;
2386
+ label: string;
2387
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
2388
  capture: "at_action" | "historical_lookup" | "fixture";
2384
2389
  locator?: string | undefined;
2385
2390
  }[];
2386
2391
  outputId: string;
2387
2392
  }, {
2388
- kind: "agent_output";
2389
2393
  summary: string;
2394
+ kind: "agent_output";
2390
2395
  agentId: string;
2391
2396
  sessionId: string;
2392
2397
  outputId: string;
2393
2398
  evidence?: {
2394
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2395
- label: string;
2396
2399
  id: string;
2400
+ label: string;
2401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2397
2402
  capture: "at_action" | "historical_lookup" | "fixture";
2398
2403
  locator?: string | undefined;
2399
2404
  }[] | undefined;
@@ -2409,15 +2414,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2409
2414
  locator: z.ZodOptional<z.ZodString>;
2410
2415
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2411
2416
  }, "strict", z.ZodTypeAny, {
2412
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
- label: string;
2414
2417
  id: string;
2418
+ label: string;
2419
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2415
2420
  capture: "at_action" | "historical_lookup" | "fixture";
2416
2421
  locator?: string | undefined;
2417
2422
  }, {
2418
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2419
- label: string;
2420
2423
  id: string;
2424
+ label: string;
2425
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2421
2426
  capture: "at_action" | "historical_lookup" | "fixture";
2422
2427
  locator?: string | undefined;
2423
2428
  }>, "many">>;
@@ -2430,9 +2435,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2430
2435
  statement: string;
2431
2436
  sessionId: string;
2432
2437
  evidence: {
2433
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2434
- label: string;
2435
2438
  id: string;
2439
+ label: string;
2440
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2436
2441
  capture: "at_action" | "historical_lookup" | "fixture";
2437
2442
  locator?: string | undefined;
2438
2443
  }[];
@@ -2448,9 +2453,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2448
2453
  decisionId: string;
2449
2454
  confidence?: number | undefined;
2450
2455
  evidence?: {
2451
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2452
- label: string;
2453
2456
  id: string;
2457
+ label: string;
2458
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2454
2459
  capture: "at_action" | "historical_lookup" | "fixture";
2455
2460
  locator?: string | undefined;
2456
2461
  }[] | undefined;
@@ -2467,25 +2472,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2467
2472
  locator: z.ZodOptional<z.ZodString>;
2468
2473
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2469
2474
  }, "strict", z.ZodTypeAny, {
2470
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2471
- label: string;
2472
2475
  id: string;
2476
+ label: string;
2477
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2473
2478
  capture: "at_action" | "historical_lookup" | "fixture";
2474
2479
  locator?: string | undefined;
2475
2480
  }, {
2476
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2477
- label: string;
2478
2481
  id: string;
2482
+ label: string;
2483
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2479
2484
  capture: "at_action" | "historical_lookup" | "fixture";
2480
2485
  locator?: string | undefined;
2481
2486
  }>, "many">>;
2482
2487
  }, "strict", z.ZodTypeAny, {
2483
- kind: "conflict_detected";
2484
2488
  summary: string;
2489
+ kind: "conflict_detected";
2485
2490
  evidence: {
2486
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2487
- label: string;
2488
2491
  id: string;
2492
+ label: string;
2493
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2489
2494
  capture: "at_action" | "historical_lookup" | "fixture";
2490
2495
  locator?: string | undefined;
2491
2496
  }[];
@@ -2493,15 +2498,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2493
2498
  decisionIds: string[];
2494
2499
  agentIds: string[];
2495
2500
  }, {
2496
- kind: "conflict_detected";
2497
2501
  summary: string;
2502
+ kind: "conflict_detected";
2498
2503
  conflictId: string;
2499
2504
  decisionIds: string[];
2500
2505
  agentIds: string[];
2501
2506
  evidence?: {
2502
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2503
- label: string;
2504
2507
  id: string;
2508
+ label: string;
2509
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2505
2510
  capture: "at_action" | "historical_lookup" | "fixture";
2506
2511
  locator?: string | undefined;
2507
2512
  }[] | undefined;
@@ -2521,27 +2526,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2521
2526
  locator: z.ZodOptional<z.ZodString>;
2522
2527
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2523
2528
  }, "strict", z.ZodTypeAny, {
2524
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2525
- label: string;
2526
2529
  id: string;
2530
+ label: string;
2531
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2527
2532
  capture: "at_action" | "historical_lookup" | "fixture";
2528
2533
  locator?: string | undefined;
2529
2534
  }, {
2530
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2531
- label: string;
2532
2535
  id: string;
2536
+ label: string;
2537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2533
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2534
2539
  locator?: string | undefined;
2535
2540
  }>, "many">>;
2536
2541
  }, "strict", z.ZodTypeAny, {
2537
- kind: "test_result";
2538
2542
  summary: string;
2539
2543
  status: "error" | "failed" | "passed";
2544
+ kind: "test_result";
2540
2545
  command: string;
2541
2546
  evidence: {
2542
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2543
- label: string;
2544
2547
  id: string;
2548
+ label: string;
2549
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2545
2550
  capture: "at_action" | "historical_lookup" | "fixture";
2546
2551
  locator?: string | undefined;
2547
2552
  }[];
@@ -2550,17 +2555,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2550
2555
  durationMs?: number | undefined;
2551
2556
  correctionId?: string | undefined;
2552
2557
  }, {
2553
- kind: "test_result";
2554
2558
  summary: string;
2555
2559
  status: "error" | "failed" | "passed";
2560
+ kind: "test_result";
2556
2561
  command: string;
2557
2562
  decisionId: string;
2558
2563
  testId: string;
2559
2564
  durationMs?: number | undefined;
2560
2565
  evidence?: {
2561
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2562
- label: string;
2563
2566
  id: string;
2567
+ label: string;
2568
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2564
2569
  capture: "at_action" | "historical_lookup" | "fixture";
2565
2570
  locator?: string | undefined;
2566
2571
  }[] | undefined;
@@ -2581,15 +2586,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2581
2586
  locator: z.ZodOptional<z.ZodString>;
2582
2587
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2583
2588
  }, "strict", z.ZodTypeAny, {
2584
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2585
- label: string;
2586
2589
  id: string;
2590
+ label: string;
2591
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2587
2592
  capture: "at_action" | "historical_lookup" | "fixture";
2588
2593
  locator?: string | undefined;
2589
2594
  }, {
2590
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2591
- label: string;
2592
2595
  id: string;
2596
+ label: string;
2597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2593
2598
  capture: "at_action" | "historical_lookup" | "fixture";
2594
2599
  locator?: string | undefined;
2595
2600
  }>, "many">>;
@@ -2598,9 +2603,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2598
2603
  statement: string;
2599
2604
  rationale: string;
2600
2605
  evidence: {
2601
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
- label: string;
2603
2606
  id: string;
2607
+ label: string;
2608
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2604
2609
  capture: "at_action" | "historical_lookup" | "fixture";
2605
2610
  locator?: string | undefined;
2606
2611
  }[];
@@ -2619,9 +2624,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2619
2624
  supersedesDecisionIds: string[];
2620
2625
  proposedBy: string;
2621
2626
  evidence?: {
2622
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2623
- label: string;
2624
2627
  id: string;
2628
+ label: string;
2629
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2625
2630
  capture: "at_action" | "historical_lookup" | "fixture";
2626
2631
  locator?: string | undefined;
2627
2632
  }[] | undefined;
@@ -2633,13 +2638,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2633
2638
  id: z.ZodString;
2634
2639
  label: z.ZodString;
2635
2640
  }, "strict", z.ZodTypeAny, {
2636
- kind: "agent" | "human";
2637
- label: string;
2638
2641
  id: string;
2639
- }, {
2640
- kind: "agent" | "human";
2641
2642
  label: string;
2643
+ kind: "agent" | "human";
2644
+ }, {
2642
2645
  id: string;
2646
+ label: string;
2647
+ kind: "agent" | "human";
2643
2648
  }>;
2644
2649
  note: z.ZodOptional<z.ZodString>;
2645
2650
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2649,47 +2654,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2649
2654
  locator: z.ZodOptional<z.ZodString>;
2650
2655
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2651
2656
  }, "strict", z.ZodTypeAny, {
2652
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2653
- label: string;
2654
2657
  id: string;
2658
+ label: string;
2659
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2655
2660
  capture: "at_action" | "historical_lookup" | "fixture";
2656
2661
  locator?: string | undefined;
2657
2662
  }, {
2658
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2659
- label: string;
2660
2663
  id: string;
2664
+ label: string;
2665
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2661
2666
  capture: "at_action" | "historical_lookup" | "fixture";
2662
2667
  locator?: string | undefined;
2663
2668
  }>, "many">>;
2664
2669
  }, "strict", z.ZodTypeAny, {
2665
2670
  kind: "correction_approved";
2666
2671
  evidence: {
2667
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2668
- label: string;
2669
2672
  id: string;
2673
+ label: string;
2674
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2670
2675
  capture: "at_action" | "historical_lookup" | "fixture";
2671
2676
  locator?: string | undefined;
2672
2677
  }[];
2673
2678
  correctionId: string;
2674
2679
  approvedBy: {
2675
- kind: "agent" | "human";
2676
- label: string;
2677
2680
  id: string;
2681
+ label: string;
2682
+ kind: "agent" | "human";
2678
2683
  };
2679
2684
  note?: string | undefined;
2680
2685
  }, {
2681
2686
  kind: "correction_approved";
2682
2687
  correctionId: string;
2683
2688
  approvedBy: {
2684
- kind: "agent" | "human";
2685
- label: string;
2686
2689
  id: string;
2690
+ label: string;
2691
+ kind: "agent" | "human";
2687
2692
  };
2688
2693
  note?: string | undefined;
2689
2694
  evidence?: {
2690
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2691
- label: string;
2692
2695
  id: string;
2696
+ label: string;
2697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2693
2698
  capture: "at_action" | "historical_lookup" | "fixture";
2694
2699
  locator?: string | undefined;
2695
2700
  }[] | undefined;
@@ -2705,24 +2710,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2705
2710
  locator: z.ZodOptional<z.ZodString>;
2706
2711
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2707
2712
  }, "strict", z.ZodTypeAny, {
2708
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2709
- label: string;
2710
2713
  id: string;
2714
+ label: string;
2715
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2711
2716
  capture: "at_action" | "historical_lookup" | "fixture";
2712
2717
  locator?: string | undefined;
2713
2718
  }, {
2714
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
- label: string;
2716
2719
  id: string;
2720
+ label: string;
2721
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2717
2722
  capture: "at_action" | "historical_lookup" | "fixture";
2718
2723
  locator?: string | undefined;
2719
2724
  }>, "many">>;
2720
2725
  }, "strict", z.ZodTypeAny, {
2721
2726
  kind: "decision_superseded";
2722
2727
  evidence: {
2723
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2724
- label: string;
2725
2728
  id: string;
2729
+ label: string;
2730
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2726
2731
  capture: "at_action" | "historical_lookup" | "fixture";
2727
2732
  locator?: string | undefined;
2728
2733
  }[];
@@ -2735,9 +2740,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2735
2740
  correctionId: string;
2736
2741
  replacementDecisionId: string;
2737
2742
  evidence?: {
2738
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2739
- label: string;
2740
2743
  id: string;
2744
+ label: string;
2745
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2741
2746
  capture: "at_action" | "historical_lookup" | "fixture";
2742
2747
  locator?: string | undefined;
2743
2748
  }[] | undefined;
@@ -2753,15 +2758,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2753
2758
  locator: z.ZodOptional<z.ZodString>;
2754
2759
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2755
2760
  }, "strict", z.ZodTypeAny, {
2756
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2757
- label: string;
2758
2761
  id: string;
2762
+ label: string;
2763
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2759
2764
  capture: "at_action" | "historical_lookup" | "fixture";
2760
2765
  locator?: string | undefined;
2761
2766
  }, {
2762
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2763
- label: string;
2764
2767
  id: string;
2768
+ label: string;
2769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2765
2770
  capture: "at_action" | "historical_lookup" | "fixture";
2766
2771
  locator?: string | undefined;
2767
2772
  }>, "many">>;
@@ -2774,9 +2779,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2774
2779
  agentId: string;
2775
2780
  sessionId: string;
2776
2781
  evidence: {
2777
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2778
- label: string;
2779
2782
  id: string;
2783
+ label: string;
2784
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2780
2785
  capture: "at_action" | "historical_lookup" | "fixture";
2781
2786
  locator?: string | undefined;
2782
2787
  }[];
@@ -2792,9 +2797,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2792
2797
  recallReceiptId: string;
2793
2798
  capturedAtAction: boolean;
2794
2799
  evidence?: {
2795
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2796
- label: string;
2797
2800
  id: string;
2801
+ label: string;
2802
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2798
2803
  capture: "at_action" | "historical_lookup" | "fixture";
2799
2804
  locator?: string | undefined;
2800
2805
  }[] | undefined;
@@ -2810,15 +2815,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2810
2815
  locator: z.ZodOptional<z.ZodString>;
2811
2816
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2812
2817
  }, "strict", z.ZodTypeAny, {
2813
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2814
- label: string;
2815
2818
  id: string;
2819
+ label: string;
2820
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2816
2821
  capture: "at_action" | "historical_lookup" | "fixture";
2817
2822
  locator?: string | undefined;
2818
2823
  }, {
2819
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2820
- label: string;
2821
2824
  id: string;
2825
+ label: string;
2826
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2822
2827
  capture: "at_action" | "historical_lookup" | "fixture";
2823
2828
  locator?: string | undefined;
2824
2829
  }>, "many">>;
@@ -2830,9 +2835,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2830
2835
  agentId: string;
2831
2836
  sessionId: string;
2832
2837
  evidence: {
2833
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2834
- label: string;
2835
2838
  id: string;
2839
+ label: string;
2840
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2836
2841
  capture: "at_action" | "historical_lookup" | "fixture";
2837
2842
  locator?: string | undefined;
2838
2843
  }[];
@@ -2849,9 +2854,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2849
2854
  recallReceiptId: string;
2850
2855
  staleDecisionAbsent: boolean;
2851
2856
  evidence?: {
2852
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2853
- label: string;
2854
2857
  id: string;
2858
+ label: string;
2859
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2855
2860
  capture: "at_action" | "historical_lookup" | "fixture";
2856
2861
  locator?: string | undefined;
2857
2862
  }[] | undefined;
@@ -2866,37 +2871,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2866
2871
  locator: z.ZodOptional<z.ZodString>;
2867
2872
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2868
2873
  }, "strict", z.ZodTypeAny, {
2869
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2870
- label: string;
2871
2874
  id: string;
2875
+ label: string;
2876
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2872
2877
  capture: "at_action" | "historical_lookup" | "fixture";
2873
2878
  locator?: string | undefined;
2874
2879
  }, {
2875
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
- label: string;
2877
2880
  id: string;
2881
+ label: string;
2882
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2878
2883
  capture: "at_action" | "historical_lookup" | "fixture";
2879
2884
  locator?: string | undefined;
2880
2885
  }>, "many">>;
2881
2886
  }, "strict", z.ZodTypeAny, {
2882
- kind: "mission_completed";
2883
2887
  summary: string;
2888
+ kind: "mission_completed";
2884
2889
  outcome: "failed" | "recovered" | "inconclusive";
2885
2890
  evidence: {
2886
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2887
- label: string;
2888
2891
  id: string;
2892
+ label: string;
2893
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2889
2894
  capture: "at_action" | "historical_lookup" | "fixture";
2890
2895
  locator?: string | undefined;
2891
2896
  }[];
2892
2897
  }, {
2893
- kind: "mission_completed";
2894
2898
  summary: string;
2899
+ kind: "mission_completed";
2895
2900
  outcome: "failed" | "recovered" | "inconclusive";
2896
2901
  evidence?: {
2897
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2898
- label: string;
2899
2902
  id: string;
2903
+ label: string;
2904
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2900
2905
  capture: "at_action" | "historical_lookup" | "fixture";
2901
2906
  locator?: string | undefined;
2902
2907
  }[] | undefined;
@@ -2904,38 +2909,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2904
2909
  kind: "mission_started";
2905
2910
  title: string;
2906
2911
  evidence: {
2907
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2908
- label: string;
2909
2912
  id: string;
2913
+ label: string;
2914
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2910
2915
  capture: "at_action" | "historical_lookup" | "fixture";
2911
2916
  locator?: string | undefined;
2912
2917
  }[];
2913
2918
  objective: string;
2914
2919
  runMode: "replay" | "fixture" | "live";
2915
2920
  } | {
2916
- kind: "agent_status";
2917
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2918
2921
  label: string;
2922
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2923
+ kind: "agent_status";
2919
2924
  role: string;
2920
2925
  agentId: string;
2921
2926
  sessionId: string;
2922
2927
  evidence: {
2923
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2924
- label: string;
2925
2928
  id: string;
2929
+ label: string;
2930
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2926
2931
  capture: "at_action" | "historical_lookup" | "fixture";
2927
2932
  locator?: string | undefined;
2928
2933
  }[];
2929
2934
  detail?: string | undefined;
2930
2935
  } | {
2931
- kind: "agent_output";
2932
2936
  summary: string;
2937
+ kind: "agent_output";
2933
2938
  agentId: string;
2934
2939
  sessionId: string;
2935
2940
  evidence: {
2936
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2937
- label: string;
2938
2941
  id: string;
2942
+ label: string;
2943
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2939
2944
  capture: "at_action" | "historical_lookup" | "fixture";
2940
2945
  locator?: string | undefined;
2941
2946
  }[];
@@ -2946,9 +2951,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2946
2951
  statement: string;
2947
2952
  sessionId: string;
2948
2953
  evidence: {
2949
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2950
- label: string;
2951
2954
  id: string;
2955
+ label: string;
2956
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2952
2957
  capture: "at_action" | "historical_lookup" | "fixture";
2953
2958
  locator?: string | undefined;
2954
2959
  }[];
@@ -2956,12 +2961,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2956
2961
  decisionId: string;
2957
2962
  confidence?: number | undefined;
2958
2963
  } | {
2959
- kind: "conflict_detected";
2960
2964
  summary: string;
2965
+ kind: "conflict_detected";
2961
2966
  evidence: {
2962
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2963
- label: string;
2964
2967
  id: string;
2968
+ label: string;
2969
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2965
2970
  capture: "at_action" | "historical_lookup" | "fixture";
2966
2971
  locator?: string | undefined;
2967
2972
  }[];
@@ -2969,14 +2974,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2969
2974
  decisionIds: string[];
2970
2975
  agentIds: string[];
2971
2976
  } | {
2972
- kind: "test_result";
2973
2977
  summary: string;
2974
2978
  status: "error" | "failed" | "passed";
2979
+ kind: "test_result";
2975
2980
  command: string;
2976
2981
  evidence: {
2977
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2978
- label: string;
2979
2982
  id: string;
2983
+ label: string;
2984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2980
2985
  capture: "at_action" | "historical_lookup" | "fixture";
2981
2986
  locator?: string | undefined;
2982
2987
  }[];
@@ -2989,9 +2994,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2989
2994
  statement: string;
2990
2995
  rationale: string;
2991
2996
  evidence: {
2992
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2993
- label: string;
2994
2997
  id: string;
2998
+ label: string;
2999
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2995
3000
  capture: "at_action" | "historical_lookup" | "fixture";
2996
3001
  locator?: string | undefined;
2997
3002
  }[];
@@ -3003,25 +3008,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3003
3008
  } | {
3004
3009
  kind: "correction_approved";
3005
3010
  evidence: {
3006
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3007
- label: string;
3008
3011
  id: string;
3012
+ label: string;
3013
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3009
3014
  capture: "at_action" | "historical_lookup" | "fixture";
3010
3015
  locator?: string | undefined;
3011
3016
  }[];
3012
3017
  correctionId: string;
3013
3018
  approvedBy: {
3014
- kind: "agent" | "human";
3015
- label: string;
3016
3019
  id: string;
3020
+ label: string;
3021
+ kind: "agent" | "human";
3017
3022
  };
3018
3023
  note?: string | undefined;
3019
3024
  } | {
3020
3025
  kind: "decision_superseded";
3021
3026
  evidence: {
3022
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3023
- label: string;
3024
3027
  id: string;
3028
+ label: string;
3029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3025
3030
  capture: "at_action" | "historical_lookup" | "fixture";
3026
3031
  locator?: string | undefined;
3027
3032
  }[];
@@ -3034,9 +3039,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3034
3039
  agentId: string;
3035
3040
  sessionId: string;
3036
3041
  evidence: {
3037
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3038
- label: string;
3039
3042
  id: string;
3043
+ label: string;
3044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3040
3045
  capture: "at_action" | "historical_lookup" | "fixture";
3041
3046
  locator?: string | undefined;
3042
3047
  }[];
@@ -3048,9 +3053,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3048
3053
  agentId: string;
3049
3054
  sessionId: string;
3050
3055
  evidence: {
3051
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3052
- label: string;
3053
3056
  id: string;
3057
+ label: string;
3058
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3054
3059
  capture: "at_action" | "historical_lookup" | "fixture";
3055
3060
  locator?: string | undefined;
3056
3061
  }[];
@@ -3059,13 +3064,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3059
3064
  recallReceiptId: string;
3060
3065
  staleDecisionAbsent: boolean;
3061
3066
  } | {
3062
- kind: "mission_completed";
3063
3067
  summary: string;
3068
+ kind: "mission_completed";
3064
3069
  outcome: "failed" | "recovered" | "inconclusive";
3065
3070
  evidence: {
3066
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3067
- label: string;
3068
3071
  id: string;
3072
+ label: string;
3073
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3069
3074
  capture: "at_action" | "historical_lookup" | "fixture";
3070
3075
  locator?: string | undefined;
3071
3076
  }[];
@@ -3075,37 +3080,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3075
3080
  objective: string;
3076
3081
  runMode: "replay" | "fixture" | "live";
3077
3082
  evidence?: {
3078
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3079
- label: string;
3080
3083
  id: string;
3084
+ label: string;
3085
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3081
3086
  capture: "at_action" | "historical_lookup" | "fixture";
3082
3087
  locator?: string | undefined;
3083
3088
  }[] | undefined;
3084
3089
  } | {
3085
- kind: "agent_status";
3086
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3087
3090
  label: string;
3091
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3092
+ kind: "agent_status";
3088
3093
  role: string;
3089
3094
  agentId: string;
3090
3095
  sessionId: string;
3091
3096
  detail?: string | undefined;
3092
3097
  evidence?: {
3093
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3094
- label: string;
3095
3098
  id: string;
3099
+ label: string;
3100
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3096
3101
  capture: "at_action" | "historical_lookup" | "fixture";
3097
3102
  locator?: string | undefined;
3098
3103
  }[] | undefined;
3099
3104
  } | {
3100
- kind: "agent_output";
3101
3105
  summary: string;
3106
+ kind: "agent_output";
3102
3107
  agentId: string;
3103
3108
  sessionId: string;
3104
3109
  outputId: string;
3105
3110
  evidence?: {
3106
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3107
- label: string;
3108
3111
  id: string;
3112
+ label: string;
3113
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3109
3114
  capture: "at_action" | "historical_lookup" | "fixture";
3110
3115
  locator?: string | undefined;
3111
3116
  }[] | undefined;
@@ -3118,37 +3123,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3118
3123
  decisionId: string;
3119
3124
  confidence?: number | undefined;
3120
3125
  evidence?: {
3121
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3122
- label: string;
3123
3126
  id: string;
3127
+ label: string;
3128
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3124
3129
  capture: "at_action" | "historical_lookup" | "fixture";
3125
3130
  locator?: string | undefined;
3126
3131
  }[] | undefined;
3127
3132
  } | {
3128
- kind: "conflict_detected";
3129
3133
  summary: string;
3134
+ kind: "conflict_detected";
3130
3135
  conflictId: string;
3131
3136
  decisionIds: string[];
3132
3137
  agentIds: string[];
3133
3138
  evidence?: {
3134
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3135
- label: string;
3136
3139
  id: string;
3140
+ label: string;
3141
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3137
3142
  capture: "at_action" | "historical_lookup" | "fixture";
3138
3143
  locator?: string | undefined;
3139
3144
  }[] | undefined;
3140
3145
  } | {
3141
- kind: "test_result";
3142
3146
  summary: string;
3143
3147
  status: "error" | "failed" | "passed";
3148
+ kind: "test_result";
3144
3149
  command: string;
3145
3150
  decisionId: string;
3146
3151
  testId: string;
3147
3152
  durationMs?: number | undefined;
3148
3153
  evidence?: {
3149
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3150
- label: string;
3151
3154
  id: string;
3155
+ label: string;
3156
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3152
3157
  capture: "at_action" | "historical_lookup" | "fixture";
3153
3158
  locator?: string | undefined;
3154
3159
  }[] | undefined;
@@ -3163,9 +3168,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3163
3168
  supersedesDecisionIds: string[];
3164
3169
  proposedBy: string;
3165
3170
  evidence?: {
3166
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3167
- label: string;
3168
3171
  id: string;
3172
+ label: string;
3173
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3169
3174
  capture: "at_action" | "historical_lookup" | "fixture";
3170
3175
  locator?: string | undefined;
3171
3176
  }[] | undefined;
@@ -3173,15 +3178,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3173
3178
  kind: "correction_approved";
3174
3179
  correctionId: string;
3175
3180
  approvedBy: {
3176
- kind: "agent" | "human";
3177
- label: string;
3178
3181
  id: string;
3182
+ label: string;
3183
+ kind: "agent" | "human";
3179
3184
  };
3180
3185
  note?: string | undefined;
3181
3186
  evidence?: {
3182
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3183
- label: string;
3184
3187
  id: string;
3188
+ label: string;
3189
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3185
3190
  capture: "at_action" | "historical_lookup" | "fixture";
3186
3191
  locator?: string | undefined;
3187
3192
  }[] | undefined;
@@ -3191,9 +3196,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3191
3196
  correctionId: string;
3192
3197
  replacementDecisionId: string;
3193
3198
  evidence?: {
3194
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3195
- label: string;
3196
3199
  id: string;
3200
+ label: string;
3201
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3197
3202
  capture: "at_action" | "historical_lookup" | "fixture";
3198
3203
  locator?: string | undefined;
3199
3204
  }[] | undefined;
@@ -3206,9 +3211,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3206
3211
  recallReceiptId: string;
3207
3212
  capturedAtAction: boolean;
3208
3213
  evidence?: {
3209
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3210
- label: string;
3211
3214
  id: string;
3215
+ label: string;
3216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3212
3217
  capture: "at_action" | "historical_lookup" | "fixture";
3213
3218
  locator?: string | undefined;
3214
3219
  }[] | undefined;
@@ -3221,20 +3226,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3221
3226
  recallReceiptId: string;
3222
3227
  staleDecisionAbsent: boolean;
3223
3228
  evidence?: {
3224
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3225
- label: string;
3226
3229
  id: string;
3230
+ label: string;
3231
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3227
3232
  capture: "at_action" | "historical_lookup" | "fixture";
3228
3233
  locator?: string | undefined;
3229
3234
  }[] | undefined;
3230
3235
  } | {
3231
- kind: "mission_completed";
3232
3236
  summary: string;
3237
+ kind: "mission_completed";
3233
3238
  outcome: "failed" | "recovered" | "inconclusive";
3234
3239
  evidence?: {
3235
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3236
- label: string;
3237
3240
  id: string;
3241
+ label: string;
3242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3238
3243
  capture: "at_action" | "historical_lookup" | "fixture";
3239
3244
  locator?: string | undefined;
3240
3245
  }[] | undefined;
@@ -3244,38 +3249,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3244
3249
  kind: "mission_started";
3245
3250
  title: string;
3246
3251
  evidence: {
3247
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3248
- label: string;
3249
3252
  id: string;
3253
+ label: string;
3254
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3250
3255
  capture: "at_action" | "historical_lookup" | "fixture";
3251
3256
  locator?: string | undefined;
3252
3257
  }[];
3253
3258
  objective: string;
3254
3259
  runMode: "replay" | "fixture" | "live";
3255
3260
  } | {
3256
- kind: "agent_status";
3257
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3258
3261
  label: string;
3262
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3263
+ kind: "agent_status";
3259
3264
  role: string;
3260
3265
  agentId: string;
3261
3266
  sessionId: string;
3262
3267
  evidence: {
3263
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3264
- label: string;
3265
3268
  id: string;
3269
+ label: string;
3270
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3266
3271
  capture: "at_action" | "historical_lookup" | "fixture";
3267
3272
  locator?: string | undefined;
3268
3273
  }[];
3269
3274
  detail?: string | undefined;
3270
3275
  } | {
3271
- kind: "agent_output";
3272
3276
  summary: string;
3277
+ kind: "agent_output";
3273
3278
  agentId: string;
3274
3279
  sessionId: string;
3275
3280
  evidence: {
3276
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3277
- label: string;
3278
3281
  id: string;
3282
+ label: string;
3283
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3279
3284
  capture: "at_action" | "historical_lookup" | "fixture";
3280
3285
  locator?: string | undefined;
3281
3286
  }[];
@@ -3286,9 +3291,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3286
3291
  statement: string;
3287
3292
  sessionId: string;
3288
3293
  evidence: {
3289
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3290
- label: string;
3291
3294
  id: string;
3295
+ label: string;
3296
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3292
3297
  capture: "at_action" | "historical_lookup" | "fixture";
3293
3298
  locator?: string | undefined;
3294
3299
  }[];
@@ -3296,12 +3301,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3296
3301
  decisionId: string;
3297
3302
  confidence?: number | undefined;
3298
3303
  } | {
3299
- kind: "conflict_detected";
3300
3304
  summary: string;
3305
+ kind: "conflict_detected";
3301
3306
  evidence: {
3302
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3303
- label: string;
3304
3307
  id: string;
3308
+ label: string;
3309
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3305
3310
  capture: "at_action" | "historical_lookup" | "fixture";
3306
3311
  locator?: string | undefined;
3307
3312
  }[];
@@ -3309,14 +3314,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3309
3314
  decisionIds: string[];
3310
3315
  agentIds: string[];
3311
3316
  } | {
3312
- kind: "test_result";
3313
3317
  summary: string;
3314
3318
  status: "error" | "failed" | "passed";
3319
+ kind: "test_result";
3315
3320
  command: string;
3316
3321
  evidence: {
3317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3318
- label: string;
3319
3322
  id: string;
3323
+ label: string;
3324
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3320
3325
  capture: "at_action" | "historical_lookup" | "fixture";
3321
3326
  locator?: string | undefined;
3322
3327
  }[];
@@ -3329,9 +3334,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3329
3334
  statement: string;
3330
3335
  rationale: string;
3331
3336
  evidence: {
3332
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3333
- label: string;
3334
3337
  id: string;
3338
+ label: string;
3339
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3335
3340
  capture: "at_action" | "historical_lookup" | "fixture";
3336
3341
  locator?: string | undefined;
3337
3342
  }[];
@@ -3343,25 +3348,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3343
3348
  } | {
3344
3349
  kind: "correction_approved";
3345
3350
  evidence: {
3346
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3347
- label: string;
3348
3351
  id: string;
3352
+ label: string;
3353
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3349
3354
  capture: "at_action" | "historical_lookup" | "fixture";
3350
3355
  locator?: string | undefined;
3351
3356
  }[];
3352
3357
  correctionId: string;
3353
3358
  approvedBy: {
3354
- kind: "agent" | "human";
3355
- label: string;
3356
3359
  id: string;
3360
+ label: string;
3361
+ kind: "agent" | "human";
3357
3362
  };
3358
3363
  note?: string | undefined;
3359
3364
  } | {
3360
3365
  kind: "decision_superseded";
3361
3366
  evidence: {
3362
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3363
- label: string;
3364
3367
  id: string;
3368
+ label: string;
3369
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3365
3370
  capture: "at_action" | "historical_lookup" | "fixture";
3366
3371
  locator?: string | undefined;
3367
3372
  }[];
@@ -3374,9 +3379,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3374
3379
  agentId: string;
3375
3380
  sessionId: string;
3376
3381
  evidence: {
3377
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3378
- label: string;
3379
3382
  id: string;
3383
+ label: string;
3384
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3380
3385
  capture: "at_action" | "historical_lookup" | "fixture";
3381
3386
  locator?: string | undefined;
3382
3387
  }[];
@@ -3388,9 +3393,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3388
3393
  agentId: string;
3389
3394
  sessionId: string;
3390
3395
  evidence: {
3391
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3392
- label: string;
3393
3396
  id: string;
3397
+ label: string;
3398
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3394
3399
  capture: "at_action" | "historical_lookup" | "fixture";
3395
3400
  locator?: string | undefined;
3396
3401
  }[];
@@ -3399,13 +3404,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3399
3404
  recallReceiptId: string;
3400
3405
  staleDecisionAbsent: boolean;
3401
3406
  } | {
3402
- kind: "mission_completed";
3403
3407
  summary: string;
3408
+ kind: "mission_completed";
3404
3409
  outcome: "failed" | "recovered" | "inconclusive";
3405
3410
  evidence: {
3406
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3407
- label: string;
3408
3411
  id: string;
3412
+ label: string;
3413
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3409
3414
  capture: "at_action" | "historical_lookup" | "fixture";
3410
3415
  locator?: string | undefined;
3411
3416
  }[];
@@ -3419,37 +3424,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3419
3424
  objective: string;
3420
3425
  runMode: "replay" | "fixture" | "live";
3421
3426
  evidence?: {
3422
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3423
- label: string;
3424
3427
  id: string;
3428
+ label: string;
3429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3425
3430
  capture: "at_action" | "historical_lookup" | "fixture";
3426
3431
  locator?: string | undefined;
3427
3432
  }[] | undefined;
3428
3433
  } | {
3429
- kind: "agent_status";
3430
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3431
3434
  label: string;
3435
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3436
+ kind: "agent_status";
3432
3437
  role: string;
3433
3438
  agentId: string;
3434
3439
  sessionId: string;
3435
3440
  detail?: string | undefined;
3436
3441
  evidence?: {
3437
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3438
- label: string;
3439
3442
  id: string;
3443
+ label: string;
3444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3440
3445
  capture: "at_action" | "historical_lookup" | "fixture";
3441
3446
  locator?: string | undefined;
3442
3447
  }[] | undefined;
3443
3448
  } | {
3444
- kind: "agent_output";
3445
3449
  summary: string;
3450
+ kind: "agent_output";
3446
3451
  agentId: string;
3447
3452
  sessionId: string;
3448
3453
  outputId: string;
3449
3454
  evidence?: {
3450
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3451
- label: string;
3452
3455
  id: string;
3456
+ label: string;
3457
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3453
3458
  capture: "at_action" | "historical_lookup" | "fixture";
3454
3459
  locator?: string | undefined;
3455
3460
  }[] | undefined;
@@ -3462,37 +3467,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3462
3467
  decisionId: string;
3463
3468
  confidence?: number | undefined;
3464
3469
  evidence?: {
3465
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3466
- label: string;
3467
3470
  id: string;
3471
+ label: string;
3472
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3468
3473
  capture: "at_action" | "historical_lookup" | "fixture";
3469
3474
  locator?: string | undefined;
3470
3475
  }[] | undefined;
3471
3476
  } | {
3472
- kind: "conflict_detected";
3473
3477
  summary: string;
3478
+ kind: "conflict_detected";
3474
3479
  conflictId: string;
3475
3480
  decisionIds: string[];
3476
3481
  agentIds: string[];
3477
3482
  evidence?: {
3478
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3479
- label: string;
3480
3483
  id: string;
3484
+ label: string;
3485
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3481
3486
  capture: "at_action" | "historical_lookup" | "fixture";
3482
3487
  locator?: string | undefined;
3483
3488
  }[] | undefined;
3484
3489
  } | {
3485
- kind: "test_result";
3486
3490
  summary: string;
3487
3491
  status: "error" | "failed" | "passed";
3492
+ kind: "test_result";
3488
3493
  command: string;
3489
3494
  decisionId: string;
3490
3495
  testId: string;
3491
3496
  durationMs?: number | undefined;
3492
3497
  evidence?: {
3493
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3494
- label: string;
3495
3498
  id: string;
3499
+ label: string;
3500
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3496
3501
  capture: "at_action" | "historical_lookup" | "fixture";
3497
3502
  locator?: string | undefined;
3498
3503
  }[] | undefined;
@@ -3507,9 +3512,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3507
3512
  supersedesDecisionIds: string[];
3508
3513
  proposedBy: string;
3509
3514
  evidence?: {
3510
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3511
- label: string;
3512
3515
  id: string;
3516
+ label: string;
3517
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3513
3518
  capture: "at_action" | "historical_lookup" | "fixture";
3514
3519
  locator?: string | undefined;
3515
3520
  }[] | undefined;
@@ -3517,15 +3522,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3517
3522
  kind: "correction_approved";
3518
3523
  correctionId: string;
3519
3524
  approvedBy: {
3520
- kind: "agent" | "human";
3521
- label: string;
3522
3525
  id: string;
3526
+ label: string;
3527
+ kind: "agent" | "human";
3523
3528
  };
3524
3529
  note?: string | undefined;
3525
3530
  evidence?: {
3526
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3527
- label: string;
3528
3531
  id: string;
3532
+ label: string;
3533
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3529
3534
  capture: "at_action" | "historical_lookup" | "fixture";
3530
3535
  locator?: string | undefined;
3531
3536
  }[] | undefined;
@@ -3535,9 +3540,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3535
3540
  correctionId: string;
3536
3541
  replacementDecisionId: string;
3537
3542
  evidence?: {
3538
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3539
- label: string;
3540
3543
  id: string;
3544
+ label: string;
3545
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3541
3546
  capture: "at_action" | "historical_lookup" | "fixture";
3542
3547
  locator?: string | undefined;
3543
3548
  }[] | undefined;
@@ -3550,9 +3555,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3550
3555
  recallReceiptId: string;
3551
3556
  capturedAtAction: boolean;
3552
3557
  evidence?: {
3553
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3554
- label: string;
3555
3558
  id: string;
3559
+ label: string;
3560
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3556
3561
  capture: "at_action" | "historical_lookup" | "fixture";
3557
3562
  locator?: string | undefined;
3558
3563
  }[] | undefined;
@@ -3565,20 +3570,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3565
3570
  recallReceiptId: string;
3566
3571
  staleDecisionAbsent: boolean;
3567
3572
  evidence?: {
3568
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3569
- label: string;
3570
3573
  id: string;
3574
+ label: string;
3575
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3571
3576
  capture: "at_action" | "historical_lookup" | "fixture";
3572
3577
  locator?: string | undefined;
3573
3578
  }[] | undefined;
3574
3579
  } | {
3575
- kind: "mission_completed";
3576
3580
  summary: string;
3581
+ kind: "mission_completed";
3577
3582
  outcome: "failed" | "recovered" | "inconclusive";
3578
3583
  evidence?: {
3579
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
- label: string;
3581
3584
  id: string;
3585
+ label: string;
3586
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3582
3587
  capture: "at_action" | "historical_lookup" | "fixture";
3583
3588
  locator?: string | undefined;
3584
3589
  }[] | undefined;
@@ -3608,15 +3613,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3608
3613
  locator: z.ZodOptional<z.ZodString>;
3609
3614
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3610
3615
  }, "strict", z.ZodTypeAny, {
3611
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3612
- label: string;
3613
3616
  id: string;
3617
+ label: string;
3618
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3614
3619
  capture: "at_action" | "historical_lookup" | "fixture";
3615
3620
  locator?: string | undefined;
3616
3621
  }, {
3617
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3618
- label: string;
3619
3622
  id: string;
3623
+ label: string;
3624
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3620
3625
  capture: "at_action" | "historical_lookup" | "fixture";
3621
3626
  locator?: string | undefined;
3622
3627
  }>, "many">>;
@@ -3624,9 +3629,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3624
3629
  kind: "mission_started";
3625
3630
  title: string;
3626
3631
  evidence: {
3627
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3628
- label: string;
3629
3632
  id: string;
3633
+ label: string;
3634
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3630
3635
  capture: "at_action" | "historical_lookup" | "fixture";
3631
3636
  locator?: string | undefined;
3632
3637
  }[];
@@ -3638,9 +3643,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3638
3643
  objective: string;
3639
3644
  runMode: "replay" | "fixture" | "live";
3640
3645
  evidence?: {
3641
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3642
- label: string;
3643
3646
  id: string;
3647
+ label: string;
3648
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3644
3649
  capture: "at_action" | "historical_lookup" | "fixture";
3645
3650
  locator?: string | undefined;
3646
3651
  }[] | undefined;
@@ -3656,15 +3661,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3656
3661
  locator: z.ZodOptional<z.ZodString>;
3657
3662
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3658
3663
  }, "strict", z.ZodTypeAny, {
3659
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3660
- label: string;
3661
3664
  id: string;
3665
+ label: string;
3666
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3662
3667
  capture: "at_action" | "historical_lookup" | "fixture";
3663
3668
  locator?: string | undefined;
3664
3669
  }, {
3665
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3666
- label: string;
3667
3670
  id: string;
3671
+ label: string;
3672
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3668
3673
  capture: "at_action" | "historical_lookup" | "fixture";
3669
3674
  locator?: string | undefined;
3670
3675
  }>, "many">>;
@@ -3672,32 +3677,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3672
3677
  sessionId: z.ZodString;
3673
3678
  kind: z.ZodLiteral<"agent_status">;
3674
3679
  }, "strict", z.ZodTypeAny, {
3675
- kind: "agent_status";
3676
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3677
3680
  label: string;
3681
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3682
+ kind: "agent_status";
3678
3683
  role: string;
3679
3684
  agentId: string;
3680
3685
  sessionId: string;
3681
3686
  evidence: {
3682
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3683
- label: string;
3684
3687
  id: string;
3688
+ label: string;
3689
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3685
3690
  capture: "at_action" | "historical_lookup" | "fixture";
3686
3691
  locator?: string | undefined;
3687
3692
  }[];
3688
3693
  detail?: string | undefined;
3689
3694
  }, {
3690
- kind: "agent_status";
3691
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3692
3695
  label: string;
3696
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3697
+ kind: "agent_status";
3693
3698
  role: string;
3694
3699
  agentId: string;
3695
3700
  sessionId: string;
3696
3701
  detail?: string | undefined;
3697
3702
  evidence?: {
3698
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3699
- label: string;
3700
3703
  id: string;
3704
+ label: string;
3705
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3701
3706
  capture: "at_action" | "historical_lookup" | "fixture";
3702
3707
  locator?: string | undefined;
3703
3708
  }[] | undefined;
@@ -3711,15 +3716,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3711
3716
  locator: z.ZodOptional<z.ZodString>;
3712
3717
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3713
3718
  }, "strict", z.ZodTypeAny, {
3714
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3715
- label: string;
3716
3719
  id: string;
3720
+ label: string;
3721
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3717
3722
  capture: "at_action" | "historical_lookup" | "fixture";
3718
3723
  locator?: string | undefined;
3719
3724
  }, {
3720
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3721
- label: string;
3722
3725
  id: string;
3726
+ label: string;
3727
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3723
3728
  capture: "at_action" | "historical_lookup" | "fixture";
3724
3729
  locator?: string | undefined;
3725
3730
  }>, "many">>;
@@ -3727,28 +3732,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3727
3732
  sessionId: z.ZodString;
3728
3733
  kind: z.ZodLiteral<"agent_output">;
3729
3734
  }, "strict", z.ZodTypeAny, {
3730
- kind: "agent_output";
3731
3735
  summary: string;
3736
+ kind: "agent_output";
3732
3737
  agentId: string;
3733
3738
  sessionId: string;
3734
3739
  evidence: {
3735
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3736
- label: string;
3737
3740
  id: string;
3741
+ label: string;
3742
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
3743
  capture: "at_action" | "historical_lookup" | "fixture";
3739
3744
  locator?: string | undefined;
3740
3745
  }[];
3741
3746
  outputId: string;
3742
3747
  }, {
3743
- kind: "agent_output";
3744
3748
  summary: string;
3749
+ kind: "agent_output";
3745
3750
  agentId: string;
3746
3751
  sessionId: string;
3747
3752
  outputId: string;
3748
3753
  evidence?: {
3749
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3750
- label: string;
3751
3754
  id: string;
3755
+ label: string;
3756
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3752
3757
  capture: "at_action" | "historical_lookup" | "fixture";
3753
3758
  locator?: string | undefined;
3754
3759
  }[] | undefined;
@@ -3764,15 +3769,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3764
3769
  locator: z.ZodOptional<z.ZodString>;
3765
3770
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3766
3771
  }, "strict", z.ZodTypeAny, {
3767
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
- label: string;
3769
3772
  id: string;
3773
+ label: string;
3774
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3770
3775
  capture: "at_action" | "historical_lookup" | "fixture";
3771
3776
  locator?: string | undefined;
3772
3777
  }, {
3773
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3774
- label: string;
3775
3778
  id: string;
3779
+ label: string;
3780
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3776
3781
  capture: "at_action" | "historical_lookup" | "fixture";
3777
3782
  locator?: string | undefined;
3778
3783
  }>, "many">>;
@@ -3785,9 +3790,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3785
3790
  statement: string;
3786
3791
  sessionId: string;
3787
3792
  evidence: {
3788
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3789
- label: string;
3790
3793
  id: string;
3794
+ label: string;
3795
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3791
3796
  capture: "at_action" | "historical_lookup" | "fixture";
3792
3797
  locator?: string | undefined;
3793
3798
  }[];
@@ -3803,9 +3808,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3803
3808
  decisionId: string;
3804
3809
  confidence?: number | undefined;
3805
3810
  evidence?: {
3806
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3807
- label: string;
3808
3811
  id: string;
3812
+ label: string;
3813
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3809
3814
  capture: "at_action" | "historical_lookup" | "fixture";
3810
3815
  locator?: string | undefined;
3811
3816
  }[] | undefined;
@@ -3822,25 +3827,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3822
3827
  locator: z.ZodOptional<z.ZodString>;
3823
3828
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3824
3829
  }, "strict", z.ZodTypeAny, {
3825
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3826
- label: string;
3827
3830
  id: string;
3831
+ label: string;
3832
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3828
3833
  capture: "at_action" | "historical_lookup" | "fixture";
3829
3834
  locator?: string | undefined;
3830
3835
  }, {
3831
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3832
- label: string;
3833
3836
  id: string;
3837
+ label: string;
3838
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3834
3839
  capture: "at_action" | "historical_lookup" | "fixture";
3835
3840
  locator?: string | undefined;
3836
3841
  }>, "many">>;
3837
3842
  }, "strict", z.ZodTypeAny, {
3838
- kind: "conflict_detected";
3839
3843
  summary: string;
3844
+ kind: "conflict_detected";
3840
3845
  evidence: {
3841
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3842
- label: string;
3843
3846
  id: string;
3847
+ label: string;
3848
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3844
3849
  capture: "at_action" | "historical_lookup" | "fixture";
3845
3850
  locator?: string | undefined;
3846
3851
  }[];
@@ -3848,15 +3853,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3848
3853
  decisionIds: string[];
3849
3854
  agentIds: string[];
3850
3855
  }, {
3851
- kind: "conflict_detected";
3852
3856
  summary: string;
3857
+ kind: "conflict_detected";
3853
3858
  conflictId: string;
3854
3859
  decisionIds: string[];
3855
3860
  agentIds: string[];
3856
3861
  evidence?: {
3857
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3858
- label: string;
3859
3862
  id: string;
3863
+ label: string;
3864
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3860
3865
  capture: "at_action" | "historical_lookup" | "fixture";
3861
3866
  locator?: string | undefined;
3862
3867
  }[] | undefined;
@@ -3876,27 +3881,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3876
3881
  locator: z.ZodOptional<z.ZodString>;
3877
3882
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3878
3883
  }, "strict", z.ZodTypeAny, {
3879
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3880
- label: string;
3881
3884
  id: string;
3885
+ label: string;
3886
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3882
3887
  capture: "at_action" | "historical_lookup" | "fixture";
3883
3888
  locator?: string | undefined;
3884
3889
  }, {
3885
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3886
- label: string;
3887
3890
  id: string;
3891
+ label: string;
3892
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3888
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3889
3894
  locator?: string | undefined;
3890
3895
  }>, "many">>;
3891
3896
  }, "strict", z.ZodTypeAny, {
3892
- kind: "test_result";
3893
3897
  summary: string;
3894
3898
  status: "error" | "failed" | "passed";
3899
+ kind: "test_result";
3895
3900
  command: string;
3896
3901
  evidence: {
3897
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3898
- label: string;
3899
3902
  id: string;
3903
+ label: string;
3904
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3900
3905
  capture: "at_action" | "historical_lookup" | "fixture";
3901
3906
  locator?: string | undefined;
3902
3907
  }[];
@@ -3905,17 +3910,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3905
3910
  durationMs?: number | undefined;
3906
3911
  correctionId?: string | undefined;
3907
3912
  }, {
3908
- kind: "test_result";
3909
3913
  summary: string;
3910
3914
  status: "error" | "failed" | "passed";
3915
+ kind: "test_result";
3911
3916
  command: string;
3912
3917
  decisionId: string;
3913
3918
  testId: string;
3914
3919
  durationMs?: number | undefined;
3915
3920
  evidence?: {
3916
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3917
- label: string;
3918
3921
  id: string;
3922
+ label: string;
3923
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3919
3924
  capture: "at_action" | "historical_lookup" | "fixture";
3920
3925
  locator?: string | undefined;
3921
3926
  }[] | undefined;
@@ -3936,15 +3941,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3936
3941
  locator: z.ZodOptional<z.ZodString>;
3937
3942
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3938
3943
  }, "strict", z.ZodTypeAny, {
3939
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3940
- label: string;
3941
3944
  id: string;
3945
+ label: string;
3946
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3942
3947
  capture: "at_action" | "historical_lookup" | "fixture";
3943
3948
  locator?: string | undefined;
3944
3949
  }, {
3945
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3946
- label: string;
3947
3950
  id: string;
3951
+ label: string;
3952
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3948
3953
  capture: "at_action" | "historical_lookup" | "fixture";
3949
3954
  locator?: string | undefined;
3950
3955
  }>, "many">>;
@@ -3953,9 +3958,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3953
3958
  statement: string;
3954
3959
  rationale: string;
3955
3960
  evidence: {
3956
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
- label: string;
3958
3961
  id: string;
3962
+ label: string;
3963
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3959
3964
  capture: "at_action" | "historical_lookup" | "fixture";
3960
3965
  locator?: string | undefined;
3961
3966
  }[];
@@ -3974,9 +3979,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3974
3979
  supersedesDecisionIds: string[];
3975
3980
  proposedBy: string;
3976
3981
  evidence?: {
3977
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3978
- label: string;
3979
3982
  id: string;
3983
+ label: string;
3984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3980
3985
  capture: "at_action" | "historical_lookup" | "fixture";
3981
3986
  locator?: string | undefined;
3982
3987
  }[] | undefined;
@@ -3988,13 +3993,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3988
3993
  id: z.ZodString;
3989
3994
  label: z.ZodString;
3990
3995
  }, "strict", z.ZodTypeAny, {
3991
- kind: "agent" | "human";
3992
- label: string;
3993
3996
  id: string;
3994
- }, {
3995
- kind: "agent" | "human";
3996
3997
  label: string;
3998
+ kind: "agent" | "human";
3999
+ }, {
3997
4000
  id: string;
4001
+ label: string;
4002
+ kind: "agent" | "human";
3998
4003
  }>;
3999
4004
  note: z.ZodOptional<z.ZodString>;
4000
4005
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4004,47 +4009,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4004
4009
  locator: z.ZodOptional<z.ZodString>;
4005
4010
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4006
4011
  }, "strict", z.ZodTypeAny, {
4007
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4008
- label: string;
4009
4012
  id: string;
4013
+ label: string;
4014
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4010
4015
  capture: "at_action" | "historical_lookup" | "fixture";
4011
4016
  locator?: string | undefined;
4012
4017
  }, {
4013
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4014
- label: string;
4015
4018
  id: string;
4019
+ label: string;
4020
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4016
4021
  capture: "at_action" | "historical_lookup" | "fixture";
4017
4022
  locator?: string | undefined;
4018
4023
  }>, "many">>;
4019
4024
  }, "strict", z.ZodTypeAny, {
4020
4025
  kind: "correction_approved";
4021
4026
  evidence: {
4022
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4023
- label: string;
4024
4027
  id: string;
4028
+ label: string;
4029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4025
4030
  capture: "at_action" | "historical_lookup" | "fixture";
4026
4031
  locator?: string | undefined;
4027
4032
  }[];
4028
4033
  correctionId: string;
4029
4034
  approvedBy: {
4030
- kind: "agent" | "human";
4031
- label: string;
4032
4035
  id: string;
4036
+ label: string;
4037
+ kind: "agent" | "human";
4033
4038
  };
4034
4039
  note?: string | undefined;
4035
4040
  }, {
4036
4041
  kind: "correction_approved";
4037
4042
  correctionId: string;
4038
4043
  approvedBy: {
4039
- kind: "agent" | "human";
4040
- label: string;
4041
4044
  id: string;
4045
+ label: string;
4046
+ kind: "agent" | "human";
4042
4047
  };
4043
4048
  note?: string | undefined;
4044
4049
  evidence?: {
4045
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4046
- label: string;
4047
4050
  id: string;
4051
+ label: string;
4052
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4048
4053
  capture: "at_action" | "historical_lookup" | "fixture";
4049
4054
  locator?: string | undefined;
4050
4055
  }[] | undefined;
@@ -4060,24 +4065,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4060
4065
  locator: z.ZodOptional<z.ZodString>;
4061
4066
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4062
4067
  }, "strict", z.ZodTypeAny, {
4063
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4064
- label: string;
4065
4068
  id: string;
4069
+ label: string;
4070
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4066
4071
  capture: "at_action" | "historical_lookup" | "fixture";
4067
4072
  locator?: string | undefined;
4068
4073
  }, {
4069
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
- label: string;
4071
4074
  id: string;
4075
+ label: string;
4076
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4072
4077
  capture: "at_action" | "historical_lookup" | "fixture";
4073
4078
  locator?: string | undefined;
4074
4079
  }>, "many">>;
4075
4080
  }, "strict", z.ZodTypeAny, {
4076
4081
  kind: "decision_superseded";
4077
4082
  evidence: {
4078
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4079
- label: string;
4080
4083
  id: string;
4084
+ label: string;
4085
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4081
4086
  capture: "at_action" | "historical_lookup" | "fixture";
4082
4087
  locator?: string | undefined;
4083
4088
  }[];
@@ -4090,9 +4095,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4090
4095
  correctionId: string;
4091
4096
  replacementDecisionId: string;
4092
4097
  evidence?: {
4093
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4094
- label: string;
4095
4098
  id: string;
4099
+ label: string;
4100
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4096
4101
  capture: "at_action" | "historical_lookup" | "fixture";
4097
4102
  locator?: string | undefined;
4098
4103
  }[] | undefined;
@@ -4108,15 +4113,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4108
4113
  locator: z.ZodOptional<z.ZodString>;
4109
4114
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4110
4115
  }, "strict", z.ZodTypeAny, {
4111
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4112
- label: string;
4113
4116
  id: string;
4117
+ label: string;
4118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4114
4119
  capture: "at_action" | "historical_lookup" | "fixture";
4115
4120
  locator?: string | undefined;
4116
4121
  }, {
4117
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4118
- label: string;
4119
4122
  id: string;
4123
+ label: string;
4124
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4120
4125
  capture: "at_action" | "historical_lookup" | "fixture";
4121
4126
  locator?: string | undefined;
4122
4127
  }>, "many">>;
@@ -4129,9 +4134,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4129
4134
  agentId: string;
4130
4135
  sessionId: string;
4131
4136
  evidence: {
4132
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4133
- label: string;
4134
4137
  id: string;
4138
+ label: string;
4139
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4135
4140
  capture: "at_action" | "historical_lookup" | "fixture";
4136
4141
  locator?: string | undefined;
4137
4142
  }[];
@@ -4147,9 +4152,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4147
4152
  recallReceiptId: string;
4148
4153
  capturedAtAction: boolean;
4149
4154
  evidence?: {
4150
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4151
- label: string;
4152
4155
  id: string;
4156
+ label: string;
4157
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4153
4158
  capture: "at_action" | "historical_lookup" | "fixture";
4154
4159
  locator?: string | undefined;
4155
4160
  }[] | undefined;
@@ -4165,15 +4170,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4165
4170
  locator: z.ZodOptional<z.ZodString>;
4166
4171
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4167
4172
  }, "strict", z.ZodTypeAny, {
4168
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4169
- label: string;
4170
4173
  id: string;
4174
+ label: string;
4175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4171
4176
  capture: "at_action" | "historical_lookup" | "fixture";
4172
4177
  locator?: string | undefined;
4173
4178
  }, {
4174
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4175
- label: string;
4176
4179
  id: string;
4180
+ label: string;
4181
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4177
4182
  capture: "at_action" | "historical_lookup" | "fixture";
4178
4183
  locator?: string | undefined;
4179
4184
  }>, "many">>;
@@ -4185,9 +4190,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4185
4190
  agentId: string;
4186
4191
  sessionId: string;
4187
4192
  evidence: {
4188
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4189
- label: string;
4190
4193
  id: string;
4194
+ label: string;
4195
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4191
4196
  capture: "at_action" | "historical_lookup" | "fixture";
4192
4197
  locator?: string | undefined;
4193
4198
  }[];
@@ -4204,9 +4209,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4204
4209
  recallReceiptId: string;
4205
4210
  staleDecisionAbsent: boolean;
4206
4211
  evidence?: {
4207
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4208
- label: string;
4209
4212
  id: string;
4213
+ label: string;
4214
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4210
4215
  capture: "at_action" | "historical_lookup" | "fixture";
4211
4216
  locator?: string | undefined;
4212
4217
  }[] | undefined;
@@ -4221,37 +4226,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4221
4226
  locator: z.ZodOptional<z.ZodString>;
4222
4227
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
4223
4228
  }, "strict", z.ZodTypeAny, {
4224
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4225
- label: string;
4226
4229
  id: string;
4230
+ label: string;
4231
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4227
4232
  capture: "at_action" | "historical_lookup" | "fixture";
4228
4233
  locator?: string | undefined;
4229
4234
  }, {
4230
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4231
- label: string;
4232
4235
  id: string;
4236
+ label: string;
4237
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4233
4238
  capture: "at_action" | "historical_lookup" | "fixture";
4234
4239
  locator?: string | undefined;
4235
4240
  }>, "many">>;
4236
4241
  }, "strict", z.ZodTypeAny, {
4237
- kind: "mission_completed";
4238
4242
  summary: string;
4243
+ kind: "mission_completed";
4239
4244
  outcome: "failed" | "recovered" | "inconclusive";
4240
4245
  evidence: {
4241
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4242
- label: string;
4243
4246
  id: string;
4247
+ label: string;
4248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4244
4249
  capture: "at_action" | "historical_lookup" | "fixture";
4245
4250
  locator?: string | undefined;
4246
4251
  }[];
4247
4252
  }, {
4248
- kind: "mission_completed";
4249
4253
  summary: string;
4254
+ kind: "mission_completed";
4250
4255
  outcome: "failed" | "recovered" | "inconclusive";
4251
4256
  evidence?: {
4252
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
- label: string;
4254
4257
  id: string;
4258
+ label: string;
4259
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4255
4260
  capture: "at_action" | "historical_lookup" | "fixture";
4256
4261
  locator?: string | undefined;
4257
4262
  }[] | undefined;
@@ -4259,38 +4264,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4259
4264
  kind: "mission_started";
4260
4265
  title: string;
4261
4266
  evidence: {
4262
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4263
- label: string;
4264
4267
  id: string;
4268
+ label: string;
4269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4265
4270
  capture: "at_action" | "historical_lookup" | "fixture";
4266
4271
  locator?: string | undefined;
4267
4272
  }[];
4268
4273
  objective: string;
4269
4274
  runMode: "replay" | "fixture" | "live";
4270
4275
  } | {
4271
- kind: "agent_status";
4272
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4273
4276
  label: string;
4277
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4278
+ kind: "agent_status";
4274
4279
  role: string;
4275
4280
  agentId: string;
4276
4281
  sessionId: string;
4277
4282
  evidence: {
4278
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4279
- label: string;
4280
4283
  id: string;
4284
+ label: string;
4285
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4281
4286
  capture: "at_action" | "historical_lookup" | "fixture";
4282
4287
  locator?: string | undefined;
4283
4288
  }[];
4284
4289
  detail?: string | undefined;
4285
4290
  } | {
4286
- kind: "agent_output";
4287
4291
  summary: string;
4292
+ kind: "agent_output";
4288
4293
  agentId: string;
4289
4294
  sessionId: string;
4290
4295
  evidence: {
4291
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4292
- label: string;
4293
4296
  id: string;
4297
+ label: string;
4298
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4294
4299
  capture: "at_action" | "historical_lookup" | "fixture";
4295
4300
  locator?: string | undefined;
4296
4301
  }[];
@@ -4301,9 +4306,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4301
4306
  statement: string;
4302
4307
  sessionId: string;
4303
4308
  evidence: {
4304
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4305
- label: string;
4306
4309
  id: string;
4310
+ label: string;
4311
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4307
4312
  capture: "at_action" | "historical_lookup" | "fixture";
4308
4313
  locator?: string | undefined;
4309
4314
  }[];
@@ -4311,12 +4316,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4311
4316
  decisionId: string;
4312
4317
  confidence?: number | undefined;
4313
4318
  } | {
4314
- kind: "conflict_detected";
4315
4319
  summary: string;
4320
+ kind: "conflict_detected";
4316
4321
  evidence: {
4317
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4318
- label: string;
4319
4322
  id: string;
4323
+ label: string;
4324
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4320
4325
  capture: "at_action" | "historical_lookup" | "fixture";
4321
4326
  locator?: string | undefined;
4322
4327
  }[];
@@ -4324,14 +4329,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4324
4329
  decisionIds: string[];
4325
4330
  agentIds: string[];
4326
4331
  } | {
4327
- kind: "test_result";
4328
4332
  summary: string;
4329
4333
  status: "error" | "failed" | "passed";
4334
+ kind: "test_result";
4330
4335
  command: string;
4331
4336
  evidence: {
4332
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4333
- label: string;
4334
4337
  id: string;
4338
+ label: string;
4339
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4335
4340
  capture: "at_action" | "historical_lookup" | "fixture";
4336
4341
  locator?: string | undefined;
4337
4342
  }[];
@@ -4344,9 +4349,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4344
4349
  statement: string;
4345
4350
  rationale: string;
4346
4351
  evidence: {
4347
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4348
- label: string;
4349
4352
  id: string;
4353
+ label: string;
4354
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4350
4355
  capture: "at_action" | "historical_lookup" | "fixture";
4351
4356
  locator?: string | undefined;
4352
4357
  }[];
@@ -4358,25 +4363,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4358
4363
  } | {
4359
4364
  kind: "correction_approved";
4360
4365
  evidence: {
4361
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4362
- label: string;
4363
4366
  id: string;
4367
+ label: string;
4368
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4364
4369
  capture: "at_action" | "historical_lookup" | "fixture";
4365
4370
  locator?: string | undefined;
4366
4371
  }[];
4367
4372
  correctionId: string;
4368
4373
  approvedBy: {
4369
- kind: "agent" | "human";
4370
- label: string;
4371
4374
  id: string;
4375
+ label: string;
4376
+ kind: "agent" | "human";
4372
4377
  };
4373
4378
  note?: string | undefined;
4374
4379
  } | {
4375
4380
  kind: "decision_superseded";
4376
4381
  evidence: {
4377
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4378
- label: string;
4379
4382
  id: string;
4383
+ label: string;
4384
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4380
4385
  capture: "at_action" | "historical_lookup" | "fixture";
4381
4386
  locator?: string | undefined;
4382
4387
  }[];
@@ -4389,9 +4394,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4389
4394
  agentId: string;
4390
4395
  sessionId: string;
4391
4396
  evidence: {
4392
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4393
- label: string;
4394
4397
  id: string;
4398
+ label: string;
4399
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4395
4400
  capture: "at_action" | "historical_lookup" | "fixture";
4396
4401
  locator?: string | undefined;
4397
4402
  }[];
@@ -4403,9 +4408,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4403
4408
  agentId: string;
4404
4409
  sessionId: string;
4405
4410
  evidence: {
4406
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4407
- label: string;
4408
4411
  id: string;
4412
+ label: string;
4413
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4409
4414
  capture: "at_action" | "historical_lookup" | "fixture";
4410
4415
  locator?: string | undefined;
4411
4416
  }[];
@@ -4414,13 +4419,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4414
4419
  recallReceiptId: string;
4415
4420
  staleDecisionAbsent: boolean;
4416
4421
  } | {
4417
- kind: "mission_completed";
4418
4422
  summary: string;
4423
+ kind: "mission_completed";
4419
4424
  outcome: "failed" | "recovered" | "inconclusive";
4420
4425
  evidence: {
4421
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4422
- label: string;
4423
4426
  id: string;
4427
+ label: string;
4428
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4424
4429
  capture: "at_action" | "historical_lookup" | "fixture";
4425
4430
  locator?: string | undefined;
4426
4431
  }[];
@@ -4430,37 +4435,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4430
4435
  objective: string;
4431
4436
  runMode: "replay" | "fixture" | "live";
4432
4437
  evidence?: {
4433
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4434
- label: string;
4435
4438
  id: string;
4439
+ label: string;
4440
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4436
4441
  capture: "at_action" | "historical_lookup" | "fixture";
4437
4442
  locator?: string | undefined;
4438
4443
  }[] | undefined;
4439
4444
  } | {
4440
- kind: "agent_status";
4441
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4442
4445
  label: string;
4446
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4447
+ kind: "agent_status";
4443
4448
  role: string;
4444
4449
  agentId: string;
4445
4450
  sessionId: string;
4446
4451
  detail?: string | undefined;
4447
4452
  evidence?: {
4448
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4449
- label: string;
4450
4453
  id: string;
4454
+ label: string;
4455
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4451
4456
  capture: "at_action" | "historical_lookup" | "fixture";
4452
4457
  locator?: string | undefined;
4453
4458
  }[] | undefined;
4454
4459
  } | {
4455
- kind: "agent_output";
4456
4460
  summary: string;
4461
+ kind: "agent_output";
4457
4462
  agentId: string;
4458
4463
  sessionId: string;
4459
4464
  outputId: string;
4460
4465
  evidence?: {
4461
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4462
- label: string;
4463
4466
  id: string;
4467
+ label: string;
4468
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4464
4469
  capture: "at_action" | "historical_lookup" | "fixture";
4465
4470
  locator?: string | undefined;
4466
4471
  }[] | undefined;
@@ -4473,37 +4478,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4473
4478
  decisionId: string;
4474
4479
  confidence?: number | undefined;
4475
4480
  evidence?: {
4476
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4477
- label: string;
4478
4481
  id: string;
4482
+ label: string;
4483
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4479
4484
  capture: "at_action" | "historical_lookup" | "fixture";
4480
4485
  locator?: string | undefined;
4481
4486
  }[] | undefined;
4482
4487
  } | {
4483
- kind: "conflict_detected";
4484
4488
  summary: string;
4489
+ kind: "conflict_detected";
4485
4490
  conflictId: string;
4486
4491
  decisionIds: string[];
4487
4492
  agentIds: string[];
4488
4493
  evidence?: {
4489
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
- label: string;
4491
4494
  id: string;
4495
+ label: string;
4496
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4492
4497
  capture: "at_action" | "historical_lookup" | "fixture";
4493
4498
  locator?: string | undefined;
4494
4499
  }[] | undefined;
4495
4500
  } | {
4496
- kind: "test_result";
4497
4501
  summary: string;
4498
4502
  status: "error" | "failed" | "passed";
4503
+ kind: "test_result";
4499
4504
  command: string;
4500
4505
  decisionId: string;
4501
4506
  testId: string;
4502
4507
  durationMs?: number | undefined;
4503
4508
  evidence?: {
4504
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4505
- label: string;
4506
4509
  id: string;
4510
+ label: string;
4511
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4507
4512
  capture: "at_action" | "historical_lookup" | "fixture";
4508
4513
  locator?: string | undefined;
4509
4514
  }[] | undefined;
@@ -4518,9 +4523,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4518
4523
  supersedesDecisionIds: string[];
4519
4524
  proposedBy: string;
4520
4525
  evidence?: {
4521
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4522
- label: string;
4523
4526
  id: string;
4527
+ label: string;
4528
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4524
4529
  capture: "at_action" | "historical_lookup" | "fixture";
4525
4530
  locator?: string | undefined;
4526
4531
  }[] | undefined;
@@ -4528,15 +4533,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4528
4533
  kind: "correction_approved";
4529
4534
  correctionId: string;
4530
4535
  approvedBy: {
4531
- kind: "agent" | "human";
4532
- label: string;
4533
4536
  id: string;
4537
+ label: string;
4538
+ kind: "agent" | "human";
4534
4539
  };
4535
4540
  note?: string | undefined;
4536
4541
  evidence?: {
4537
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
- label: string;
4539
4542
  id: string;
4543
+ label: string;
4544
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4540
4545
  capture: "at_action" | "historical_lookup" | "fixture";
4541
4546
  locator?: string | undefined;
4542
4547
  }[] | undefined;
@@ -4546,9 +4551,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4546
4551
  correctionId: string;
4547
4552
  replacementDecisionId: string;
4548
4553
  evidence?: {
4549
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4550
- label: string;
4551
4554
  id: string;
4555
+ label: string;
4556
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4552
4557
  capture: "at_action" | "historical_lookup" | "fixture";
4553
4558
  locator?: string | undefined;
4554
4559
  }[] | undefined;
@@ -4561,9 +4566,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4561
4566
  recallReceiptId: string;
4562
4567
  capturedAtAction: boolean;
4563
4568
  evidence?: {
4564
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4565
- label: string;
4566
4569
  id: string;
4570
+ label: string;
4571
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4567
4572
  capture: "at_action" | "historical_lookup" | "fixture";
4568
4573
  locator?: string | undefined;
4569
4574
  }[] | undefined;
@@ -4576,63 +4581,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4576
4581
  recallReceiptId: string;
4577
4582
  staleDecisionAbsent: boolean;
4578
4583
  evidence?: {
4579
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4580
- label: string;
4581
4584
  id: string;
4585
+ label: string;
4586
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4582
4587
  capture: "at_action" | "historical_lookup" | "fixture";
4583
4588
  locator?: string | undefined;
4584
4589
  }[] | undefined;
4585
4590
  } | {
4586
- kind: "mission_completed";
4587
4591
  summary: string;
4592
+ kind: "mission_completed";
4588
4593
  outcome: "failed" | "recovered" | "inconclusive";
4589
4594
  evidence?: {
4590
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
- label: string;
4592
4595
  id: string;
4596
+ label: string;
4597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4593
4598
  capture: "at_action" | "historical_lookup" | "fixture";
4594
4599
  locator?: string | undefined;
4595
4600
  }[] | undefined;
4596
4601
  }>;
4597
4602
  }, "strict", z.ZodTypeAny, {
4598
- schemaVersion: "1";
4603
+ namespace: string;
4599
4604
  recordedAt: string;
4605
+ schemaVersion: "1";
4600
4606
  payload: {
4601
4607
  kind: "mission_started";
4602
4608
  title: string;
4603
4609
  evidence: {
4604
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4605
- label: string;
4606
4610
  id: string;
4611
+ label: string;
4612
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4607
4613
  capture: "at_action" | "historical_lookup" | "fixture";
4608
4614
  locator?: string | undefined;
4609
4615
  }[];
4610
4616
  objective: string;
4611
4617
  runMode: "replay" | "fixture" | "live";
4612
4618
  } | {
4613
- kind: "agent_status";
4614
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4615
4619
  label: string;
4620
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4621
+ kind: "agent_status";
4616
4622
  role: string;
4617
4623
  agentId: string;
4618
4624
  sessionId: string;
4619
4625
  evidence: {
4620
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4621
- label: string;
4622
4626
  id: string;
4627
+ label: string;
4628
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4623
4629
  capture: "at_action" | "historical_lookup" | "fixture";
4624
4630
  locator?: string | undefined;
4625
4631
  }[];
4626
4632
  detail?: string | undefined;
4627
4633
  } | {
4628
- kind: "agent_output";
4629
4634
  summary: string;
4635
+ kind: "agent_output";
4630
4636
  agentId: string;
4631
4637
  sessionId: string;
4632
4638
  evidence: {
4633
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4634
- label: string;
4635
4639
  id: string;
4640
+ label: string;
4641
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4636
4642
  capture: "at_action" | "historical_lookup" | "fixture";
4637
4643
  locator?: string | undefined;
4638
4644
  }[];
@@ -4643,9 +4649,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4643
4649
  statement: string;
4644
4650
  sessionId: string;
4645
4651
  evidence: {
4646
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4647
- label: string;
4648
4652
  id: string;
4653
+ label: string;
4654
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4649
4655
  capture: "at_action" | "historical_lookup" | "fixture";
4650
4656
  locator?: string | undefined;
4651
4657
  }[];
@@ -4653,12 +4659,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4653
4659
  decisionId: string;
4654
4660
  confidence?: number | undefined;
4655
4661
  } | {
4656
- kind: "conflict_detected";
4657
4662
  summary: string;
4663
+ kind: "conflict_detected";
4658
4664
  evidence: {
4659
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4660
- label: string;
4661
4665
  id: string;
4666
+ label: string;
4667
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4662
4668
  capture: "at_action" | "historical_lookup" | "fixture";
4663
4669
  locator?: string | undefined;
4664
4670
  }[];
@@ -4666,14 +4672,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4666
4672
  decisionIds: string[];
4667
4673
  agentIds: string[];
4668
4674
  } | {
4669
- kind: "test_result";
4670
4675
  summary: string;
4671
4676
  status: "error" | "failed" | "passed";
4677
+ kind: "test_result";
4672
4678
  command: string;
4673
4679
  evidence: {
4674
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4675
- label: string;
4676
4680
  id: string;
4681
+ label: string;
4682
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4677
4683
  capture: "at_action" | "historical_lookup" | "fixture";
4678
4684
  locator?: string | undefined;
4679
4685
  }[];
@@ -4686,9 +4692,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4686
4692
  statement: string;
4687
4693
  rationale: string;
4688
4694
  evidence: {
4689
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4690
- label: string;
4691
4695
  id: string;
4696
+ label: string;
4697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4692
4698
  capture: "at_action" | "historical_lookup" | "fixture";
4693
4699
  locator?: string | undefined;
4694
4700
  }[];
@@ -4700,25 +4706,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4700
4706
  } | {
4701
4707
  kind: "correction_approved";
4702
4708
  evidence: {
4703
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4704
- label: string;
4705
4709
  id: string;
4710
+ label: string;
4711
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4706
4712
  capture: "at_action" | "historical_lookup" | "fixture";
4707
4713
  locator?: string | undefined;
4708
4714
  }[];
4709
4715
  correctionId: string;
4710
4716
  approvedBy: {
4711
- kind: "agent" | "human";
4712
- label: string;
4713
4717
  id: string;
4718
+ label: string;
4719
+ kind: "agent" | "human";
4714
4720
  };
4715
4721
  note?: string | undefined;
4716
4722
  } | {
4717
4723
  kind: "decision_superseded";
4718
4724
  evidence: {
4719
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4720
- label: string;
4721
4725
  id: string;
4726
+ label: string;
4727
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4722
4728
  capture: "at_action" | "historical_lookup" | "fixture";
4723
4729
  locator?: string | undefined;
4724
4730
  }[];
@@ -4731,9 +4737,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4731
4737
  agentId: string;
4732
4738
  sessionId: string;
4733
4739
  evidence: {
4734
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4735
- label: string;
4736
4740
  id: string;
4741
+ label: string;
4742
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4737
4743
  capture: "at_action" | "historical_lookup" | "fixture";
4738
4744
  locator?: string | undefined;
4739
4745
  }[];
@@ -4745,9 +4751,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4745
4751
  agentId: string;
4746
4752
  sessionId: string;
4747
4753
  evidence: {
4748
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4749
- label: string;
4750
4754
  id: string;
4755
+ label: string;
4756
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4751
4757
  capture: "at_action" | "historical_lookup" | "fixture";
4752
4758
  locator?: string | undefined;
4753
4759
  }[];
@@ -4756,63 +4762,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4756
4762
  recallReceiptId: string;
4757
4763
  staleDecisionAbsent: boolean;
4758
4764
  } | {
4759
- kind: "mission_completed";
4760
4765
  summary: string;
4766
+ kind: "mission_completed";
4761
4767
  outcome: "failed" | "recovered" | "inconclusive";
4762
4768
  evidence: {
4763
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4764
- label: string;
4765
4769
  id: string;
4770
+ label: string;
4771
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4766
4772
  capture: "at_action" | "historical_lookup" | "fixture";
4767
4773
  locator?: string | undefined;
4768
4774
  }[];
4769
4775
  };
4770
- namespace: string;
4771
4776
  eventId: string;
4772
4777
  occurredAt: string;
4773
4778
  missionId: string;
4774
4779
  idempotencyKey?: string | undefined;
4775
4780
  authenticatedPrincipal?: string | undefined;
4776
4781
  }, {
4777
- schemaVersion: "1";
4782
+ namespace: string;
4778
4783
  recordedAt: string;
4784
+ schemaVersion: "1";
4779
4785
  payload: {
4780
4786
  kind: "mission_started";
4781
4787
  title: string;
4782
4788
  objective: string;
4783
4789
  runMode: "replay" | "fixture" | "live";
4784
4790
  evidence?: {
4785
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4786
- label: string;
4787
4791
  id: string;
4792
+ label: string;
4793
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4788
4794
  capture: "at_action" | "historical_lookup" | "fixture";
4789
4795
  locator?: string | undefined;
4790
4796
  }[] | undefined;
4791
4797
  } | {
4792
- kind: "agent_status";
4793
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4794
4798
  label: string;
4799
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4800
+ kind: "agent_status";
4795
4801
  role: string;
4796
4802
  agentId: string;
4797
4803
  sessionId: string;
4798
4804
  detail?: string | undefined;
4799
4805
  evidence?: {
4800
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4801
- label: string;
4802
4806
  id: string;
4807
+ label: string;
4808
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4803
4809
  capture: "at_action" | "historical_lookup" | "fixture";
4804
4810
  locator?: string | undefined;
4805
4811
  }[] | undefined;
4806
4812
  } | {
4807
- kind: "agent_output";
4808
4813
  summary: string;
4814
+ kind: "agent_output";
4809
4815
  agentId: string;
4810
4816
  sessionId: string;
4811
4817
  outputId: string;
4812
4818
  evidence?: {
4813
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4814
- label: string;
4815
4819
  id: string;
4820
+ label: string;
4821
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4816
4822
  capture: "at_action" | "historical_lookup" | "fixture";
4817
4823
  locator?: string | undefined;
4818
4824
  }[] | undefined;
@@ -4825,37 +4831,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4825
4831
  decisionId: string;
4826
4832
  confidence?: number | undefined;
4827
4833
  evidence?: {
4828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4829
- label: string;
4830
4834
  id: string;
4835
+ label: string;
4836
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4831
4837
  capture: "at_action" | "historical_lookup" | "fixture";
4832
4838
  locator?: string | undefined;
4833
4839
  }[] | undefined;
4834
4840
  } | {
4835
- kind: "conflict_detected";
4836
4841
  summary: string;
4842
+ kind: "conflict_detected";
4837
4843
  conflictId: string;
4838
4844
  decisionIds: string[];
4839
4845
  agentIds: string[];
4840
4846
  evidence?: {
4841
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4842
- label: string;
4843
4847
  id: string;
4848
+ label: string;
4849
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4844
4850
  capture: "at_action" | "historical_lookup" | "fixture";
4845
4851
  locator?: string | undefined;
4846
4852
  }[] | undefined;
4847
4853
  } | {
4848
- kind: "test_result";
4849
4854
  summary: string;
4850
4855
  status: "error" | "failed" | "passed";
4856
+ kind: "test_result";
4851
4857
  command: string;
4852
4858
  decisionId: string;
4853
4859
  testId: string;
4854
4860
  durationMs?: number | undefined;
4855
4861
  evidence?: {
4856
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4857
- label: string;
4858
4862
  id: string;
4863
+ label: string;
4864
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4859
4865
  capture: "at_action" | "historical_lookup" | "fixture";
4860
4866
  locator?: string | undefined;
4861
4867
  }[] | undefined;
@@ -4870,9 +4876,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4870
4876
  supersedesDecisionIds: string[];
4871
4877
  proposedBy: string;
4872
4878
  evidence?: {
4873
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4874
- label: string;
4875
4879
  id: string;
4880
+ label: string;
4881
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4876
4882
  capture: "at_action" | "historical_lookup" | "fixture";
4877
4883
  locator?: string | undefined;
4878
4884
  }[] | undefined;
@@ -4880,15 +4886,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4880
4886
  kind: "correction_approved";
4881
4887
  correctionId: string;
4882
4888
  approvedBy: {
4883
- kind: "agent" | "human";
4884
- label: string;
4885
4889
  id: string;
4890
+ label: string;
4891
+ kind: "agent" | "human";
4886
4892
  };
4887
4893
  note?: string | undefined;
4888
4894
  evidence?: {
4889
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4890
- label: string;
4891
4895
  id: string;
4896
+ label: string;
4897
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4892
4898
  capture: "at_action" | "historical_lookup" | "fixture";
4893
4899
  locator?: string | undefined;
4894
4900
  }[] | undefined;
@@ -4898,9 +4904,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4898
4904
  correctionId: string;
4899
4905
  replacementDecisionId: string;
4900
4906
  evidence?: {
4901
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4902
- label: string;
4903
4907
  id: string;
4908
+ label: string;
4909
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4904
4910
  capture: "at_action" | "historical_lookup" | "fixture";
4905
4911
  locator?: string | undefined;
4906
4912
  }[] | undefined;
@@ -4913,9 +4919,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4913
4919
  recallReceiptId: string;
4914
4920
  capturedAtAction: boolean;
4915
4921
  evidence?: {
4916
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4917
- label: string;
4918
4922
  id: string;
4923
+ label: string;
4924
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4919
4925
  capture: "at_action" | "historical_lookup" | "fixture";
4920
4926
  locator?: string | undefined;
4921
4927
  }[] | undefined;
@@ -4928,25 +4934,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4928
4934
  recallReceiptId: string;
4929
4935
  staleDecisionAbsent: boolean;
4930
4936
  evidence?: {
4931
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4932
- label: string;
4933
4937
  id: string;
4938
+ label: string;
4939
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4934
4940
  capture: "at_action" | "historical_lookup" | "fixture";
4935
4941
  locator?: string | undefined;
4936
4942
  }[] | undefined;
4937
4943
  } | {
4938
- kind: "mission_completed";
4939
4944
  summary: string;
4945
+ kind: "mission_completed";
4940
4946
  outcome: "failed" | "recovered" | "inconclusive";
4941
4947
  evidence?: {
4942
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4943
- label: string;
4944
4948
  id: string;
4949
+ label: string;
4950
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4945
4951
  capture: "at_action" | "historical_lookup" | "fixture";
4946
4952
  locator?: string | undefined;
4947
4953
  }[] | undefined;
4948
4954
  };
4949
- namespace: string;
4950
4955
  eventId: string;
4951
4956
  occurredAt: string;
4952
4957
  missionId: string;