@remnic/core 9.17.1 → 9.18.0

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 (377) hide show
  1. package/dist/access-admin-ops-surface.d.ts +8 -8
  2. package/dist/access-admin-ops-surface.js +18 -18
  3. package/dist/access-boundary.d.ts +8 -8
  4. package/dist/access-boundary.js +18 -18
  5. package/dist/access-cli.js +52 -52
  6. package/dist/access-http.d.ts +8 -8
  7. package/dist/access-http.js +23 -23
  8. package/dist/access-identity-continuity-surface.d.ts +6 -6
  9. package/dist/access-identity-continuity-surface.js +18 -18
  10. package/dist/access-lcm-surface.d.ts +8 -8
  11. package/dist/access-lcm-surface.js +18 -18
  12. package/dist/access-mcp.d.ts +8 -8
  13. package/dist/access-mcp.js +22 -22
  14. package/dist/access-memory-search-fanout.d.ts +2 -2
  15. package/dist/access-memory-search-fanout.js +3 -3
  16. package/dist/{access-namespace-preflight-_yxq3PYy.d.ts → access-namespace-preflight-IbQ0O8Kf.d.ts} +1 -1
  17. package/dist/access-namespace-preflight.d.ts +3 -3
  18. package/dist/access-namespace-preflight.js +18 -18
  19. package/dist/access-observe-write-surface.d.ts +8 -8
  20. package/dist/access-observe-write-surface.js +18 -18
  21. package/dist/access-operations-batch.js +20 -20
  22. package/dist/access-operations.d.ts +11 -11
  23. package/dist/access-operations.js +21 -21
  24. package/dist/access-recall-concurrency.d.ts +8 -8
  25. package/dist/access-recall-concurrency.js +18 -18
  26. package/dist/access-recall-response.d.ts +8 -8
  27. package/dist/access-recall-response.js +18 -18
  28. package/dist/access-recall-surface.d.ts +8 -8
  29. package/dist/access-recall-surface.js +18 -18
  30. package/dist/access-schema.d.ts +76 -76
  31. package/dist/{access-service-CSm242ks.d.ts → access-service-BqjsJRn_.d.ts} +6 -6
  32. package/dist/access-service.d.ts +8 -8
  33. package/dist/access-service.js +18 -18
  34. package/dist/access-surface-catalog.d.ts +8 -8
  35. package/dist/action-confidence.d.ts +1 -1
  36. package/dist/active-memory-bridge.d.ts +1 -1
  37. package/dist/active-memory-bridge.js +3 -3
  38. package/dist/active-recall.d.ts +1 -1
  39. package/dist/active-recall.js +1 -1
  40. package/dist/behavior-learner.d.ts +1 -1
  41. package/dist/behavior-signals.d.ts +1 -1
  42. package/dist/bootstrap.d.ts +6 -6
  43. package/dist/briefing.d.ts +2 -2
  44. package/dist/briefing.js +6 -6
  45. package/dist/buffer-surprise-report.d.ts +1 -1
  46. package/dist/buffer.d.ts +2 -2
  47. package/dist/buffer.js +2 -2
  48. package/dist/bulk-import/index.d.ts +3 -3
  49. package/dist/calibration.d.ts +1 -1
  50. package/dist/capabilities.d.ts +4 -3
  51. package/dist/capabilities.js +1 -1
  52. package/dist/{catalog-9qLG_2OV.d.ts → catalog-D_ToaAZM.d.ts} +1 -1
  53. package/dist/causal-behavior.d.ts +1 -1
  54. package/dist/causal-consolidation.d.ts +1 -1
  55. package/dist/causal-consolidation.js +7 -7
  56. package/dist/causal-trajectory-graph.d.ts +1 -1
  57. package/dist/{chunk-BV5WMSIJ.js → chunk-2AJ72VVS.js} +3 -3
  58. package/dist/{chunk-755Q3DGF.js → chunk-2H7OEVPO.js} +2 -2
  59. package/dist/{chunk-TG6IHVE2.js → chunk-354T54RR.js} +2 -2
  60. package/dist/{chunk-347WD2LE.js → chunk-3CSX3ETE.js} +2 -1
  61. package/dist/chunk-3CSX3ETE.js.map +1 -0
  62. package/dist/{chunk-EA2H5LML.js → chunk-44DUJETW.js} +2 -2
  63. package/dist/{chunk-SESF64QR.js → chunk-52H7OB7Y.js} +4 -4
  64. package/dist/{chunk-KQED7RCV.js → chunk-6P6ZR6JR.js} +22 -22
  65. package/dist/{chunk-C2RMQRPN.js → chunk-6YJLLDWO.js} +3 -3
  66. package/dist/{chunk-QDTEH6BS.js → chunk-7JXXI3GW.js} +2 -2
  67. package/dist/{chunk-B6P3QDBF.js → chunk-7KXE7KN5.js} +2 -2
  68. package/dist/{chunk-2OH3ZRYH.js → chunk-7NHIHUBW.js} +7 -6
  69. package/dist/chunk-7NHIHUBW.js.map +1 -0
  70. package/dist/{chunk-LMVAIZR5.js → chunk-A2KGXUOU.js} +5 -9
  71. package/dist/chunk-A2KGXUOU.js.map +1 -0
  72. package/dist/{chunk-52EFQMQC.js → chunk-AKWX5E6R.js} +30 -30
  73. package/dist/{chunk-WIUYMCPL.js → chunk-ALPBE5EC.js} +15 -15
  74. package/dist/{chunk-VZC7ORJE.js → chunk-B3R5CC35.js} +2 -2
  75. package/dist/{chunk-JECBQBEX.js → chunk-B7GROTXD.js} +2 -2
  76. package/dist/{chunk-6WAFYNVT.js → chunk-BJJAX3IZ.js} +2 -2
  77. package/dist/{chunk-7O2C2OOF.js → chunk-CNNQVI2A.js} +7 -7
  78. package/dist/{chunk-S2FSBU4H.js → chunk-FCCMFVS6.js} +2 -2
  79. package/dist/{chunk-F7BWFIDK.js → chunk-FO3WM76R.js} +65 -4
  80. package/dist/chunk-FO3WM76R.js.map +1 -0
  81. package/dist/{chunk-V57NLO5P.js → chunk-HKF5VASQ.js} +11 -4
  82. package/dist/chunk-HKF5VASQ.js.map +1 -0
  83. package/dist/{chunk-7ON2JW73.js → chunk-IKMAO55B.js} +2 -2
  84. package/dist/{chunk-B57BIBXI.js → chunk-IU3XJAQM.js} +3 -3
  85. package/dist/{chunk-WQ2I6ODB.js → chunk-JEMLK7ED.js} +3 -3
  86. package/dist/{chunk-RFDD3B7W.js → chunk-JGUXPJUQ.js} +2 -2
  87. package/dist/{chunk-BGBPDAIN.js → chunk-JHIEQCMG.js} +6 -6
  88. package/dist/{chunk-N7DK67GZ.js → chunk-KPEIWAZY.js} +1 -1
  89. package/dist/{chunk-N7DK67GZ.js.map → chunk-KPEIWAZY.js.map} +1 -1
  90. package/dist/{chunk-I6ODVWQB.js → chunk-LTGSOACX.js} +2 -2
  91. package/dist/{chunk-AWT7SCWQ.js → chunk-LU22QKFA.js} +2 -2
  92. package/dist/{chunk-QCLQ4BGA.js → chunk-MJYYXODM.js} +3 -3
  93. package/dist/{chunk-7VZWZVYG.js → chunk-MQVINOJQ.js} +3 -3
  94. package/dist/{chunk-7YJLCNPF.js → chunk-NEFMSUC2.js} +204 -170
  95. package/dist/chunk-NEFMSUC2.js.map +1 -0
  96. package/dist/{chunk-K2B2TMF3.js → chunk-NGO4QKMY.js} +2 -2
  97. package/dist/{chunk-7LXSPIVG.js → chunk-OR3OQHHS.js} +4 -4
  98. package/dist/{chunk-ANEUPF6O.js → chunk-QH6CS6XJ.js} +2 -2
  99. package/dist/{chunk-SCCO46KZ.js → chunk-RDQGLJRR.js} +3 -2
  100. package/dist/chunk-RDQGLJRR.js.map +1 -0
  101. package/dist/{chunk-QDNE35FU.js → chunk-SB4OKS6C.js} +3 -3
  102. package/dist/{chunk-IZHXSLO7.js → chunk-SGCWBLHN.js} +2 -2
  103. package/dist/{chunk-B6NCHYAK.js → chunk-SQEDDWAM.js} +4 -4
  104. package/dist/{chunk-XSBUROEB.js → chunk-UGH6VPPO.js} +2 -2
  105. package/dist/{chunk-GBT4TFV7.js → chunk-UHOUNNY3.js} +9 -9
  106. package/dist/{chunk-7PK4W4RN.js → chunk-UL6WTQN4.js} +3 -3
  107. package/dist/{chunk-KGKYTCDO.js → chunk-UQXIW7OZ.js} +3 -3
  108. package/dist/{chunk-WIS5JTJR.js → chunk-UVCY7VDX.js} +2 -2
  109. package/dist/{chunk-BIRPR5N7.js → chunk-VMALXCR5.js} +2 -2
  110. package/dist/{chunk-L3HAUO7K.js → chunk-WIP3MQZY.js} +2 -2
  111. package/dist/{chunk-AE7WMV4V.js → chunk-WMLHJ5UW.js} +2 -2
  112. package/dist/{chunk-G2WCVFDC.js → chunk-WMMT6W7C.js} +4 -4
  113. package/dist/{chunk-AFH7PIFU.js → chunk-XGYCI23S.js} +2 -2
  114. package/dist/{chunk-6QYST5XN.js → chunk-XY7QPJDA.js} +2 -2
  115. package/dist/{chunk-BZ52BJ6C.js → chunk-YWJBAHTY.js} +2 -2
  116. package/dist/{chunk-BCNVNUQG.js → chunk-ZHWEUG7Y.js} +10 -1
  117. package/dist/{chunk-BCNVNUQG.js.map → chunk-ZHWEUG7Y.js.map} +1 -1
  118. package/dist/{cli-BLZHYY2A.d.ts → cli-D2g5mRgf.d.ts} +5 -5
  119. package/dist/cli.d.ts +10 -10
  120. package/dist/cli.js +36 -36
  121. package/dist/compounding/engine.d.ts +2 -2
  122. package/dist/compounding/engine.js +7 -7
  123. package/dist/compounding/preference-consolidator.d.ts +1 -1
  124. package/dist/compression-optimizer.d.ts +1 -1
  125. package/dist/config.d.ts +1 -1
  126. package/dist/config.js +1 -1
  127. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  128. package/dist/connectors/codex-materialize-runner.js +6 -6
  129. package/dist/connectors/codex-materialize.d.ts +1 -1
  130. package/dist/connectors/index.d.ts +1 -1
  131. package/dist/connectors/index.js +7 -7
  132. package/dist/consolidation-provenance-check.d.ts +2 -2
  133. package/dist/consolidation-undo.d.ts +2 -2
  134. package/dist/contradiction/index.d.ts +2 -2
  135. package/dist/contradiction/index.js +2 -2
  136. package/dist/{contradiction-scan-RJBABNRH.js → contradiction-scan-HMF7CNKD.js} +3 -3
  137. package/dist/conversation-index/backend.d.ts +1 -1
  138. package/dist/conversation-index/chunker.d.ts +1 -1
  139. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  140. package/dist/conversation-index/indexer.d.ts +1 -1
  141. package/dist/conversation-index/search.d.ts +1 -1
  142. package/dist/day-summary.d.ts +1 -1
  143. package/dist/day-summary.js +2 -2
  144. package/dist/delinearize.d.ts +1 -1
  145. package/dist/direct-answer-wiring.d.ts +1 -1
  146. package/dist/direct-answer.d.ts +1 -1
  147. package/dist/embedding-fallback.d.ts +1 -1
  148. package/dist/embedding-fallback.js +2 -2
  149. package/dist/enrichment/index.d.ts +1 -1
  150. package/dist/entity-retrieval.d.ts +2 -2
  151. package/dist/entity-retrieval.js +6 -6
  152. package/dist/entity-schema.d.ts +1 -1
  153. package/dist/explicit-capture.d.ts +6 -6
  154. package/dist/explicit-capture.js +2 -2
  155. package/dist/extraction-faithfulness.d.ts +1 -1
  156. package/dist/extraction-judge-telemetry.d.ts +1 -1
  157. package/dist/extraction-judge-training.d.ts +1 -1
  158. package/dist/extraction-judge.d.ts +1 -1
  159. package/dist/extraction.d.ts +1 -1
  160. package/dist/extraction.js +4 -4
  161. package/dist/fallback-llm.d.ts +1 -1
  162. package/dist/{first-start-migration-CSRHCJIQ.js → first-start-migration-LEXL3XYL.js} +2 -2
  163. package/dist/graph-dashboard-diff.d.ts +1 -1
  164. package/dist/graph-dashboard-key.d.ts +1 -1
  165. package/dist/graph-dashboard-parser.d.ts +1 -1
  166. package/dist/graph-edge-reinforcement.d.ts +1 -1
  167. package/dist/graph-snapshot.d.ts +1 -1
  168. package/dist/graph.d.ts +1 -1
  169. package/dist/importance.d.ts +1 -1
  170. package/dist/importers/index.d.ts +1 -1
  171. package/dist/in-flight-reads.d.ts +1 -1
  172. package/dist/index.d.ts +418 -418
  173. package/dist/index.js +52 -52
  174. package/dist/intent.d.ts +1 -1
  175. package/dist/lcm/engine.d.ts +1 -1
  176. package/dist/lcm/index.d.ts +1 -1
  177. package/dist/lcm/tools.d.ts +1 -1
  178. package/dist/lifecycle.d.ts +1 -1
  179. package/dist/live-connectors-runner.d.ts +1 -1
  180. package/dist/local-llm.d.ts +1 -1
  181. package/dist/local-llm.js +2 -2
  182. package/dist/local-model-endpoint.d.ts +1 -1
  183. package/dist/maintenance/memory-governance.d.ts +1 -1
  184. package/dist/maintenance/memory-governance.js +6 -6
  185. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  186. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +6 -6
  187. package/dist/maintenance/rebuild-memory-projection.d.ts +26 -8
  188. package/dist/maintenance/rebuild-memory-projection.js +7 -7
  189. package/dist/mcp-memory-inspector-app.d.ts +8 -8
  190. package/dist/memory-action-policy.d.ts +1 -1
  191. package/dist/memory-cache.d.ts +1 -1
  192. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  193. package/dist/memory-projection-store.d.ts +3 -2
  194. package/dist/memory-projection-store.js +3 -1
  195. package/dist/memory-provenance.d.ts +1 -1
  196. package/dist/memory-worth-outcomes.d.ts +2 -2
  197. package/dist/models-json.d.ts +1 -1
  198. package/dist/namespaces/migrate.d.ts +3 -3
  199. package/dist/namespaces/migrate.js +10 -10
  200. package/dist/namespaces/principal.d.ts +1 -1
  201. package/dist/namespaces/principal.js +2 -2
  202. package/dist/namespaces/search.d.ts +1 -1
  203. package/dist/namespaces/search.js +4 -4
  204. package/dist/namespaces/storage.d.ts +3 -3
  205. package/dist/namespaces/storage.js +6 -6
  206. package/dist/native-knowledge.d.ts +1 -1
  207. package/dist/offline-sync-impression-drain.d.ts +1 -1
  208. package/dist/offline-sync-impression-drain.js +4 -4
  209. package/dist/operator-toolkit.d.ts +2 -2
  210. package/dist/operator-toolkit.js +16 -16
  211. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  212. package/dist/orchestration/compression-guideline-coordinator.js +2 -2
  213. package/dist/orchestration/maintenance.d.ts +4 -3
  214. package/dist/orchestration/maintenance.js +15 -11
  215. package/dist/{orchestrator-CplS9U3U.d.ts → orchestrator-DrILRi-n.d.ts} +5 -5
  216. package/dist/orchestrator.d.ts +6 -6
  217. package/dist/orchestrator.js +52 -52
  218. package/dist/patterns-cli.d.ts +1 -1
  219. package/dist/{pipeline-DB4CbFqo.d.ts → pipeline-BYo4b_y9.d.ts} +1 -1
  220. package/dist/policy-runtime.d.ts +1 -1
  221. package/dist/proactive-contention.d.ts +1 -1
  222. package/dist/provenance.d.ts +1 -1
  223. package/dist/{purge-IRF47ZTX.js → purge-YSGX5BOG.js} +2 -2
  224. package/dist/{qmd-BxZmOLHq.d.ts → qmd-BIrL8e69.d.ts} +1 -1
  225. package/dist/qmd-preflight.d.ts +2 -2
  226. package/dist/qmd-recall-cache.d.ts +1 -1
  227. package/dist/qmd.d.ts +2 -2
  228. package/dist/recall-concurrency-config.d.ts +1 -1
  229. package/dist/recall-disclosure-escalation.d.ts +1 -1
  230. package/dist/recall-explain-renderer.d.ts +1 -1
  231. package/dist/recall-explain-renderer.js +3 -3
  232. package/dist/recall-memory-map.d.ts +1 -1
  233. package/dist/recall-planner-llm.d.ts +1 -1
  234. package/dist/recall-state.d.ts +1 -1
  235. package/dist/recall-tag-filter.d.ts +1 -1
  236. package/dist/recall-timings.d.ts +1 -1
  237. package/dist/recall-xray-cli.d.ts +1 -1
  238. package/dist/recall-xray-cli.js +4 -4
  239. package/dist/recall-xray-renderer.d.ts +1 -1
  240. package/dist/recall-xray-renderer.js +3 -3
  241. package/dist/recall-xray.d.ts +1 -1
  242. package/dist/recall-xray.js +2 -2
  243. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  244. package/dist/replay/normalizers/claude.d.ts +1 -1
  245. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  246. package/dist/replay/normalizers/shared.d.ts +1 -1
  247. package/dist/replay/runner.d.ts +1 -1
  248. package/dist/replay/types.d.ts +1 -1
  249. package/dist/resolve-auth-token.d.ts +1 -1
  250. package/dist/resume-bundles.js +2 -2
  251. package/dist/retrieval-agents.d.ts +2 -2
  252. package/dist/retrieval-tiers.d.ts +1 -1
  253. package/dist/routing/engine.d.ts +1 -1
  254. package/dist/routing/store.d.ts +1 -1
  255. package/dist/salvage-envelope.d.ts +1 -1
  256. package/dist/schemas.d.ts +54 -54
  257. package/dist/{scope-profiles-NsQQo1Lt.d.ts → scope-profiles-BiQ9yXP4.d.ts} +1 -1
  258. package/dist/search/embed-helper.d.ts +1 -1
  259. package/dist/search/embed-helper.js +2 -2
  260. package/dist/search/factory.d.ts +1 -1
  261. package/dist/search/factory.js +3 -3
  262. package/dist/search/index.d.ts +1 -1
  263. package/dist/search/index.js +3 -3
  264. package/dist/search/lancedb-backend.d.ts +1 -1
  265. package/dist/search/meilisearch-backend.d.ts +1 -1
  266. package/dist/search/noop-backend.d.ts +1 -1
  267. package/dist/search/orama-backend.d.ts +1 -1
  268. package/dist/search/port.d.ts +1 -1
  269. package/dist/search/remote-backend.d.ts +1 -1
  270. package/dist/{semantic-consolidation-DW85h30n.d.ts → semantic-consolidation-C-cSATcR.d.ts} +1 -1
  271. package/dist/semantic-consolidation.d.ts +2 -2
  272. package/dist/semantic-consolidation.js +7 -7
  273. package/dist/semantic-rule-promotion.js +6 -6
  274. package/dist/semantic-rule-verifier.d.ts +1 -1
  275. package/dist/semantic-rule-verifier.js +6 -6
  276. package/dist/session-observer-bands.d.ts +1 -1
  277. package/dist/session-observer-state.d.ts +1 -1
  278. package/dist/shared-context/manager.d.ts +11 -11
  279. package/dist/shared-context/manager.js +2 -2
  280. package/dist/signal.d.ts +1 -1
  281. package/dist/{storage-o5BTAa8d.d.ts → storage-ByTv05qM.d.ts} +1 -1
  282. package/dist/storage-guards.d.ts +6 -2
  283. package/dist/storage-guards.js +3 -1
  284. package/dist/storage.d.ts +2 -2
  285. package/dist/storage.js +5 -5
  286. package/dist/summarizer.d.ts +1 -1
  287. package/dist/summarizer.js +3 -3
  288. package/dist/summary-snapshot.d.ts +1 -1
  289. package/dist/temporal-supersession.d.ts +2 -2
  290. package/dist/temporal-timeline-recall.d.ts +1 -1
  291. package/dist/temporal-validity.d.ts +1 -1
  292. package/dist/threading.d.ts +1 -1
  293. package/dist/tier-migration.d.ts +2 -2
  294. package/dist/tier-routing.d.ts +1 -1
  295. package/dist/{tier-stats-QEJSPFV2.js → tier-stats-XKD7SXYY.js} +2 -2
  296. package/dist/topics.d.ts +1 -1
  297. package/dist/transcript.d.ts +1 -1
  298. package/dist/transfer/types.d.ts +66 -66
  299. package/dist/trust-score-stage.d.ts +1 -1
  300. package/dist/trust-score.d.ts +1 -1
  301. package/dist/{types-V3dT-pen.d.ts → types-e0_MI3Iq.d.ts} +16 -0
  302. package/dist/types.d.ts +1 -1
  303. package/dist/types.js +1 -1
  304. package/dist/utility-runtime.d.ts +1 -1
  305. package/dist/verified-recall.js +6 -6
  306. package/dist/write-envelope.d.ts +1 -1
  307. package/package.json +2 -2
  308. package/src/capabilities.test.ts +1 -0
  309. package/src/capabilities.ts +4 -1
  310. package/src/config.test.ts +22 -0
  311. package/src/config.ts +5 -0
  312. package/src/maintenance/projection-support.ts +56 -0
  313. package/src/maintenance/rebuild-memory-lifecycle-ledger.ts +2 -7
  314. package/src/maintenance/rebuild-memory-projection.ts +7 -10
  315. package/src/memory-projection-store.ts +1 -1
  316. package/src/orchestration/maintenance.test.ts +116 -0
  317. package/src/orchestration/maintenance.ts +16 -0
  318. package/src/orchestration/projection-rebuild-schedule.ts +115 -0
  319. package/src/storage-guards.ts +19 -2
  320. package/src/storage-memory-lifecycle-ledger.test.ts +32 -0
  321. package/src/storage.ts +15 -1
  322. package/src/testing/subjects/memory-projection.test.ts +78 -0
  323. package/src/types.ts +18 -0
  324. package/dist/chunk-2OH3ZRYH.js.map +0 -1
  325. package/dist/chunk-347WD2LE.js.map +0 -1
  326. package/dist/chunk-7YJLCNPF.js.map +0 -1
  327. package/dist/chunk-F7BWFIDK.js.map +0 -1
  328. package/dist/chunk-LMVAIZR5.js.map +0 -1
  329. package/dist/chunk-SCCO46KZ.js.map +0 -1
  330. package/dist/chunk-V57NLO5P.js.map +0 -1
  331. /package/dist/{chunk-BV5WMSIJ.js.map → chunk-2AJ72VVS.js.map} +0 -0
  332. /package/dist/{chunk-755Q3DGF.js.map → chunk-2H7OEVPO.js.map} +0 -0
  333. /package/dist/{chunk-TG6IHVE2.js.map → chunk-354T54RR.js.map} +0 -0
  334. /package/dist/{chunk-EA2H5LML.js.map → chunk-44DUJETW.js.map} +0 -0
  335. /package/dist/{chunk-SESF64QR.js.map → chunk-52H7OB7Y.js.map} +0 -0
  336. /package/dist/{chunk-KQED7RCV.js.map → chunk-6P6ZR6JR.js.map} +0 -0
  337. /package/dist/{chunk-C2RMQRPN.js.map → chunk-6YJLLDWO.js.map} +0 -0
  338. /package/dist/{chunk-QDTEH6BS.js.map → chunk-7JXXI3GW.js.map} +0 -0
  339. /package/dist/{chunk-B6P3QDBF.js.map → chunk-7KXE7KN5.js.map} +0 -0
  340. /package/dist/{chunk-52EFQMQC.js.map → chunk-AKWX5E6R.js.map} +0 -0
  341. /package/dist/{chunk-WIUYMCPL.js.map → chunk-ALPBE5EC.js.map} +0 -0
  342. /package/dist/{chunk-VZC7ORJE.js.map → chunk-B3R5CC35.js.map} +0 -0
  343. /package/dist/{chunk-JECBQBEX.js.map → chunk-B7GROTXD.js.map} +0 -0
  344. /package/dist/{chunk-6WAFYNVT.js.map → chunk-BJJAX3IZ.js.map} +0 -0
  345. /package/dist/{chunk-7O2C2OOF.js.map → chunk-CNNQVI2A.js.map} +0 -0
  346. /package/dist/{chunk-S2FSBU4H.js.map → chunk-FCCMFVS6.js.map} +0 -0
  347. /package/dist/{chunk-7ON2JW73.js.map → chunk-IKMAO55B.js.map} +0 -0
  348. /package/dist/{chunk-B57BIBXI.js.map → chunk-IU3XJAQM.js.map} +0 -0
  349. /package/dist/{chunk-WQ2I6ODB.js.map → chunk-JEMLK7ED.js.map} +0 -0
  350. /package/dist/{chunk-RFDD3B7W.js.map → chunk-JGUXPJUQ.js.map} +0 -0
  351. /package/dist/{chunk-BGBPDAIN.js.map → chunk-JHIEQCMG.js.map} +0 -0
  352. /package/dist/{chunk-I6ODVWQB.js.map → chunk-LTGSOACX.js.map} +0 -0
  353. /package/dist/{chunk-AWT7SCWQ.js.map → chunk-LU22QKFA.js.map} +0 -0
  354. /package/dist/{chunk-QCLQ4BGA.js.map → chunk-MJYYXODM.js.map} +0 -0
  355. /package/dist/{chunk-7VZWZVYG.js.map → chunk-MQVINOJQ.js.map} +0 -0
  356. /package/dist/{chunk-K2B2TMF3.js.map → chunk-NGO4QKMY.js.map} +0 -0
  357. /package/dist/{chunk-7LXSPIVG.js.map → chunk-OR3OQHHS.js.map} +0 -0
  358. /package/dist/{chunk-ANEUPF6O.js.map → chunk-QH6CS6XJ.js.map} +0 -0
  359. /package/dist/{chunk-QDNE35FU.js.map → chunk-SB4OKS6C.js.map} +0 -0
  360. /package/dist/{chunk-IZHXSLO7.js.map → chunk-SGCWBLHN.js.map} +0 -0
  361. /package/dist/{chunk-B6NCHYAK.js.map → chunk-SQEDDWAM.js.map} +0 -0
  362. /package/dist/{chunk-XSBUROEB.js.map → chunk-UGH6VPPO.js.map} +0 -0
  363. /package/dist/{chunk-GBT4TFV7.js.map → chunk-UHOUNNY3.js.map} +0 -0
  364. /package/dist/{chunk-7PK4W4RN.js.map → chunk-UL6WTQN4.js.map} +0 -0
  365. /package/dist/{chunk-KGKYTCDO.js.map → chunk-UQXIW7OZ.js.map} +0 -0
  366. /package/dist/{chunk-WIS5JTJR.js.map → chunk-UVCY7VDX.js.map} +0 -0
  367. /package/dist/{chunk-BIRPR5N7.js.map → chunk-VMALXCR5.js.map} +0 -0
  368. /package/dist/{chunk-L3HAUO7K.js.map → chunk-WIP3MQZY.js.map} +0 -0
  369. /package/dist/{chunk-AE7WMV4V.js.map → chunk-WMLHJ5UW.js.map} +0 -0
  370. /package/dist/{chunk-G2WCVFDC.js.map → chunk-WMMT6W7C.js.map} +0 -0
  371. /package/dist/{chunk-AFH7PIFU.js.map → chunk-XGYCI23S.js.map} +0 -0
  372. /package/dist/{chunk-6QYST5XN.js.map → chunk-XY7QPJDA.js.map} +0 -0
  373. /package/dist/{chunk-BZ52BJ6C.js.map → chunk-YWJBAHTY.js.map} +0 -0
  374. /package/dist/{contradiction-scan-RJBABNRH.js.map → contradiction-scan-HMF7CNKD.js.map} +0 -0
  375. /package/dist/{first-start-migration-CSRHCJIQ.js.map → first-start-migration-LEXL3XYL.js.map} +0 -0
  376. /package/dist/{purge-IRF47ZTX.js.map → purge-YSGX5BOG.js.map} +0 -0
  377. /package/dist/{tier-stats-QEJSPFV2.js.map → tier-stats-XKD7SXYY.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-r
2
2
  export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
3
3
  export { resolveRemnicConfigRecord } from './config-record.js';
4
4
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
5
- import { S as SpeakerRegistry, W as WearablesService } from './orchestrator-CplS9U3U.js';
6
- export { D as DEFAULT_SELF_NAME, O as Orchestrator, R as ResolvedSpeaker, a as SpeakerOverride, b as WEARABLE_SOURCE_PREFIX, c as WearableDayTranscriptView, d as WearableMemoryGenDeps, e as WearableMemoryGenResult, f as WearableMemorySearchResult, g as WearableMemoryWriter, h as WearableSearchBackend, i as WearableStorageIo, j as WearableSyncDeps, k as WearableSyncOptions, l as WearableTranscriptSearchResult, m as WearablesServiceDeps, n as buildExtractionTurns, o as dateInTimezone, p as defaultTimezone, q as defaultWorkspaceDir, r as distinctSpeakerLabels, s as emptySpeakerRegistry, t as generateWearableMemories, u as importNativeMemories, v as loadSpeakerRegistry, w as locateTranscriptPath, x as memoryStatusForMode, y as resolveSpeaker, z as resolveSyncDates, A as sanitizeSessionKeyForFilename, B as saveSpeakerRegistry, E as speakerRegistryKey, F as speakersFilePath, H as syncWearableSource, J as wearableDayTag, K as wearableSourceLabel, L as writeDailyDigestMemory } from './orchestrator-CplS9U3U.js';
5
+ import { S as SpeakerRegistry, W as WearablesService } from './orchestrator-DrILRi-n.js';
6
+ export { D as DEFAULT_SELF_NAME, O as Orchestrator, R as ResolvedSpeaker, a as SpeakerOverride, b as WEARABLE_SOURCE_PREFIX, c as WearableDayTranscriptView, d as WearableMemoryGenDeps, e as WearableMemoryGenResult, f as WearableMemorySearchResult, g as WearableMemoryWriter, h as WearableSearchBackend, i as WearableStorageIo, j as WearableSyncDeps, k as WearableSyncOptions, l as WearableTranscriptSearchResult, m as WearablesServiceDeps, n as buildExtractionTurns, o as dateInTimezone, p as defaultTimezone, q as defaultWorkspaceDir, r as distinctSpeakerLabels, s as emptySpeakerRegistry, t as generateWearableMemories, u as importNativeMemories, v as loadSpeakerRegistry, w as locateTranscriptPath, x as memoryStatusForMode, y as resolveSpeaker, z as resolveSyncDates, A as sanitizeSessionKeyForFilename, B as saveSpeakerRegistry, E as speakerRegistryKey, F as speakersFilePath, H as syncWearableSource, J as wearableDayTag, K as wearableSourceLabel, L as writeDailyDigestMemory } from './orchestrator-DrILRi-n.js';
7
7
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
8
8
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
9
9
  export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
@@ -13,8 +13,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
13
13
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
14
14
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
15
15
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
16
- import { b as FusionConversationInput, c as FusedSpeaker, d as FusedSegment, e as FusedDisagreement, f as FusionOptions, g as FusionDayResult, S as StorageManager } from './storage-o5BTAa8d.js';
17
- export { C as ContentHashIndex, D as DisagreementKind, h as FUSION_KIND, i as FusedContribution, j as FusedConversationProvenance, k as FusedDayFile, l as FusedDayMeta, m as FusedSegmentProvenance, a as FusedWearableConversation, n as FusionSegmentInput, M as MemoryWriteResult, o as SegmentPickReason, p as composeFusionDayMeta, q as hashFusionBody, r as parseEntityFile, s as parseFusionDay, t as serializeEntityFile, u as serializeFusionDay } from './storage-o5BTAa8d.js';
16
+ import { b as FusionConversationInput, c as FusedSpeaker, d as FusedSegment, e as FusedDisagreement, f as FusionOptions, g as FusionDayResult, S as StorageManager } from './storage-ByTv05qM.js';
17
+ export { C as ContentHashIndex, D as DisagreementKind, h as FUSION_KIND, i as FusedContribution, j as FusedConversationProvenance, k as FusedDayFile, l as FusedDayMeta, m as FusedSegmentProvenance, a as FusedWearableConversation, n as FusionSegmentInput, M as MemoryWriteResult, o as SegmentPickReason, p as composeFusionDayMeta, q as hashFusionBody, r as parseEntityFile, s as parseFusionDay, t as serializeEntityFile, u as serializeFusionDay } from './storage-ByTv05qM.js';
18
18
  import { SealedMemoryEnvelope } from './write-envelope.js';
19
19
  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';
20
20
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -23,13 +23,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
23
23
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
24
24
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
25
25
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
26
- import { aD as CodingContext, aT as CodingModeConfig, aF as WearableConversation, P as PluginConfig, aU as CodingKnowledgeConfig, w as MemoryCategory, aV as WearableCleanupSettings, aW as WearableFusionConfig, aG as WearableSourceSettings, aK as WearablesConfig, aJ as WearableSourceConnector, aO as WearableCorrectionRule, aX as WearableDayTranscriptMeta, aN as WearableDayTranscript, aY as ActivitySnapshot, aZ as ActivityDayMeta, a_ as ActivityDayDigest, a$ as ActivitySourceClient, b0 as ActivitySourceCheck, b1 as ActivitySnapshotPage, b2 as ActivityConfig, b3 as ActivitySourceConfig, J as ExtractionResult, x as MemoryStatus, ah as ImportanceScore } from './types-V3dT-pen.js';
27
- export { b4 as ActivityExtractionMode, a6 as AgentAccessAuthToken, k as BriefingActiveThread, b5 as BriefingConfig, i as BriefingFocus, h as BriefingFollowup, b6 as BriefingOpenCommitment, m as BriefingRecentEntity, l as BriefingResult, B as BriefingSections, b7 as BriefingWindow, a0 as BufferSurpriseEvent, b8 as BulkImportError, a2 as BulkImportOptions, a4 as BulkImportResult, a3 as BulkImportSource, b9 as BulkImportSourceAdapter, j as CalendarEvent, C as CalendarSource, ba as CodexCompatConfig, aS as ConsolidationObservation, bb as DEFAULT_RECALL_DISCLOSURE, E as EntityFile, ag as EntityStructuredSection, bc as ExtractedFact, G as GatewayConfig, bd as ImportSourceRole, a1 as ImportTurn, be as ImportTurnValidationIssue, aj as MemoryActionEligibilityContext, bf as MemoryActionEligibilitySource, aa as MemoryActionType, M as MemoryFile, o as MemoryFrontmatter, bg as MemoryObservation, bh as MemoryScope, bi as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, a5 as SecretRef, bj as WearableAuthCheck, bk as WearableFetchOptions, bl as WearableFetchPage, aI as WearableMemoryMode, aH as WearableNativeMemory, bm as WearableNativeMemoryPage, aM as WearableSourceStatus, aL as WearableSyncSummary, bn as WearableTranscriptSegment, bo as isImportRole, bp as isRecallDisclosure, bq as parseIsoTimestamp, br as validateImportTurn } from './types-V3dT-pen.js';
26
+ import { aD as CodingContext, aT as CodingModeConfig, aF as WearableConversation, P as PluginConfig, aU as CodingKnowledgeConfig, w as MemoryCategory, aV as WearableCleanupSettings, aW as WearableFusionConfig, aG as WearableSourceSettings, aK as WearablesConfig, aJ as WearableSourceConnector, aO as WearableCorrectionRule, aX as WearableDayTranscriptMeta, aN as WearableDayTranscript, aY as ActivitySnapshot, aZ as ActivityDayMeta, a_ as ActivityDayDigest, a$ as ActivitySourceClient, b0 as ActivitySourceCheck, b1 as ActivitySnapshotPage, b2 as ActivityConfig, b3 as ActivitySourceConfig, J as ExtractionResult, x as MemoryStatus, ah as ImportanceScore } from './types-e0_MI3Iq.js';
27
+ export { b4 as ActivityExtractionMode, a6 as AgentAccessAuthToken, k as BriefingActiveThread, b5 as BriefingConfig, i as BriefingFocus, h as BriefingFollowup, b6 as BriefingOpenCommitment, m as BriefingRecentEntity, l as BriefingResult, B as BriefingSections, b7 as BriefingWindow, a0 as BufferSurpriseEvent, b8 as BulkImportError, a2 as BulkImportOptions, a4 as BulkImportResult, a3 as BulkImportSource, b9 as BulkImportSourceAdapter, j as CalendarEvent, C as CalendarSource, ba as CodexCompatConfig, aS as ConsolidationObservation, bb as DEFAULT_RECALL_DISCLOSURE, E as EntityFile, ag as EntityStructuredSection, bc as ExtractedFact, G as GatewayConfig, bd as ImportSourceRole, a1 as ImportTurn, be as ImportTurnValidationIssue, aj as MemoryActionEligibilityContext, bf as MemoryActionEligibilitySource, aa as MemoryActionType, M as MemoryFile, o as MemoryFrontmatter, bg as MemoryObservation, bh as MemoryScope, bi as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, a5 as SecretRef, bj as WearableAuthCheck, bk as WearableFetchOptions, bl as WearableFetchPage, aI as WearableMemoryMode, aH as WearableNativeMemory, bm as WearableNativeMemoryPage, aM as WearableSourceStatus, aL as WearableSyncSummary, bn as WearableTranscriptSegment, bo as isImportRole, bp as isRecallDisclosure, bq as parseIsoTimestamp, br as validateImportTurn } from './types-e0_MI3Iq.js';
28
28
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
29
29
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
30
30
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
31
- import { F as EngramAccessService } from './access-service-CSm242ks.js';
32
- export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-CSm242ks.js';
31
+ import { F as EngramAccessService } from './access-service-BqjsJRn_.js';
32
+ export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-BqjsJRn_.js';
33
33
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
34
34
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
35
35
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -37,13 +37,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
37
37
  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';
38
38
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
39
39
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
40
- export { Q as QmdClient } from './qmd-BxZmOLHq.js';
40
+ export { Q as QmdClient } from './qmd-BIrL8e69.js';
41
41
  export { LanceDbBackend } from './search/lancedb-backend.js';
42
42
  export { OramaBackend } from './search/orama-backend.js';
43
43
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
44
44
  export { buildEntityRecallSection } from './entity-retrieval.js';
45
45
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
46
- export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-9qLG_2OV.js';
46
+ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-D_ToaAZM.js';
47
47
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
48
48
  export { storagePathHash } from './storage-paths.js';
49
49
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
@@ -71,8 +71,8 @@ export { initLogger, log } from './logger.js';
71
71
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
72
72
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
73
73
  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_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncFileContentChunk, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, globToRegExp, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
74
- import { D as DiscoveredExtension } from './semantic-consolidation-DW85h30n.js';
75
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DW85h30n.js';
74
+ import { D as DiscoveredExtension } from './semantic-consolidation-C-cSATcR.js';
75
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-C-cSATcR.js';
76
76
  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';
77
77
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
78
78
  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';
@@ -87,8 +87,8 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
87
87
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
88
88
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
89
89
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
90
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-DB4CbFqo.js';
91
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BLZHYY2A.js';
90
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-BYo4b_y9.js';
91
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-D2g5mRgf.js';
92
92
  import { BetterSqlite3Database } from './runtime/better-sqlite.js';
93
93
  import { SearchExecutionOptions } from './search/port.js';
94
94
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
@@ -149,7 +149,7 @@ import './faiss-adapter-BHecI1fF.js';
149
149
  import './runtime/child-process.js';
150
150
  import './namespaces/storage.js';
151
151
  import './threading.js';
152
- import './scope-profiles-NsQQo1Lt.js';
152
+ import './scope-profiles-BiQ9yXP4.js';
153
153
  import './graph.js';
154
154
  import './relevance.js';
155
155
  import './negative.js';
@@ -164,7 +164,7 @@ import './lcm/queue.js';
164
164
  import './policy-runtime.js';
165
165
  import './profiling.js';
166
166
  import './schemas.js';
167
- import './access-namespace-preflight-_yxq3PYy.js';
167
+ import './access-namespace-preflight-IbQ0O8Kf.js';
168
168
  import './recall-explain-renderer.js';
169
169
  import './access-citation.js';
170
170
  import './explicit-capture.js';
@@ -864,15 +864,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
864
864
  locator: z.ZodOptional<z.ZodString>;
865
865
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
866
866
  }, "strict", z.ZodTypeAny, {
867
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
867
868
  id: string;
868
869
  label: string;
869
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
870
870
  capture: "at_action" | "historical_lookup" | "fixture";
871
871
  locator?: string | undefined;
872
872
  }, {
873
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
873
874
  id: string;
874
875
  label: string;
875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
876
876
  capture: "at_action" | "historical_lookup" | "fixture";
877
877
  locator?: string | undefined;
878
878
  }>;
@@ -889,15 +889,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
889
889
  locator: z.ZodOptional<z.ZodString>;
890
890
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
891
891
  }, "strict", z.ZodTypeAny, {
892
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
892
893
  id: string;
893
894
  label: string;
894
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
895
895
  capture: "at_action" | "historical_lookup" | "fixture";
896
896
  locator?: string | undefined;
897
897
  }, {
898
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
898
899
  id: string;
899
900
  label: string;
900
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
901
901
  capture: "at_action" | "historical_lookup" | "fixture";
902
902
  locator?: string | undefined;
903
903
  }>, "many">>;
@@ -905,9 +905,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
905
905
  kind: "mission_started";
906
906
  title: string;
907
907
  evidence: {
908
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
908
909
  id: string;
909
910
  label: string;
910
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
911
911
  capture: "at_action" | "historical_lookup" | "fixture";
912
912
  locator?: string | undefined;
913
913
  }[];
@@ -919,9 +919,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
919
919
  objective: string;
920
920
  runMode: "replay" | "fixture" | "live";
921
921
  evidence?: {
922
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
922
923
  id: string;
923
924
  label: string;
924
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
925
925
  capture: "at_action" | "historical_lookup" | "fixture";
926
926
  locator?: string | undefined;
927
927
  }[] | undefined;
@@ -937,15 +937,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
937
937
  locator: z.ZodOptional<z.ZodString>;
938
938
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
939
939
  }, "strict", z.ZodTypeAny, {
940
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
940
941
  id: string;
941
942
  label: string;
942
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
943
943
  capture: "at_action" | "historical_lookup" | "fixture";
944
944
  locator?: string | undefined;
945
945
  }, {
946
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
946
947
  id: string;
947
948
  label: string;
948
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
949
949
  capture: "at_action" | "historical_lookup" | "fixture";
950
950
  locator?: string | undefined;
951
951
  }>, "many">>;
@@ -953,32 +953,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
953
953
  sessionId: z.ZodString;
954
954
  kind: z.ZodLiteral<"agent_status">;
955
955
  }, "strict", z.ZodTypeAny, {
956
- label: string;
957
- status: "failed" | "blocked" | "working" | "complete" | "idle";
958
956
  kind: "agent_status";
959
957
  role: string;
958
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
959
+ label: string;
960
960
  agentId: string;
961
961
  sessionId: string;
962
962
  evidence: {
963
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
963
964
  id: string;
964
965
  label: string;
965
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
966
966
  capture: "at_action" | "historical_lookup" | "fixture";
967
967
  locator?: string | undefined;
968
968
  }[];
969
969
  detail?: string | undefined;
970
970
  }, {
971
- label: string;
972
- status: "failed" | "blocked" | "working" | "complete" | "idle";
973
971
  kind: "agent_status";
974
972
  role: string;
973
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
974
+ label: string;
975
975
  agentId: string;
976
976
  sessionId: string;
977
977
  detail?: string | undefined;
978
978
  evidence?: {
979
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
979
980
  id: string;
980
981
  label: string;
981
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
982
982
  capture: "at_action" | "historical_lookup" | "fixture";
983
983
  locator?: string | undefined;
984
984
  }[] | undefined;
@@ -992,15 +992,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
992
992
  locator: z.ZodOptional<z.ZodString>;
993
993
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
994
994
  }, "strict", z.ZodTypeAny, {
995
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
995
996
  id: string;
996
997
  label: string;
997
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
998
998
  capture: "at_action" | "historical_lookup" | "fixture";
999
999
  locator?: string | undefined;
1000
1000
  }, {
1001
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1001
1002
  id: string;
1002
1003
  label: string;
1003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1004
1004
  capture: "at_action" | "historical_lookup" | "fixture";
1005
1005
  locator?: string | undefined;
1006
1006
  }>, "many">>;
@@ -1008,28 +1008,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1008
1008
  sessionId: z.ZodString;
1009
1009
  kind: z.ZodLiteral<"agent_output">;
1010
1010
  }, "strict", z.ZodTypeAny, {
1011
- summary: string;
1012
1011
  kind: "agent_output";
1012
+ summary: string;
1013
1013
  agentId: string;
1014
1014
  sessionId: string;
1015
1015
  evidence: {
1016
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1016
1017
  id: string;
1017
1018
  label: string;
1018
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1019
1019
  capture: "at_action" | "historical_lookup" | "fixture";
1020
1020
  locator?: string | undefined;
1021
1021
  }[];
1022
1022
  outputId: string;
1023
1023
  }, {
1024
- summary: string;
1025
1024
  kind: "agent_output";
1025
+ summary: string;
1026
1026
  agentId: string;
1027
1027
  sessionId: string;
1028
1028
  outputId: string;
1029
1029
  evidence?: {
1030
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1030
1031
  id: string;
1031
1032
  label: string;
1032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1033
1033
  capture: "at_action" | "historical_lookup" | "fixture";
1034
1034
  locator?: string | undefined;
1035
1035
  }[] | undefined;
@@ -1045,15 +1045,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1045
1045
  locator: z.ZodOptional<z.ZodString>;
1046
1046
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1047
1047
  }, "strict", z.ZodTypeAny, {
1048
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1048
1049
  id: string;
1049
1050
  label: string;
1050
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1051
1051
  capture: "at_action" | "historical_lookup" | "fixture";
1052
1052
  locator?: string | undefined;
1053
1053
  }, {
1054
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1054
1055
  id: string;
1055
1056
  label: string;
1056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1057
1057
  capture: "at_action" | "historical_lookup" | "fixture";
1058
1058
  locator?: string | undefined;
1059
1059
  }>, "many">>;
@@ -1066,9 +1066,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1066
1066
  statement: string;
1067
1067
  sessionId: string;
1068
1068
  evidence: {
1069
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1069
1070
  id: string;
1070
1071
  label: string;
1071
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1072
1072
  capture: "at_action" | "historical_lookup" | "fixture";
1073
1073
  locator?: string | undefined;
1074
1074
  }[];
@@ -1084,9 +1084,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1084
1084
  decisionId: string;
1085
1085
  confidence?: number | undefined;
1086
1086
  evidence?: {
1087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1087
1088
  id: string;
1088
1089
  label: string;
1089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1090
1090
  capture: "at_action" | "historical_lookup" | "fixture";
1091
1091
  locator?: string | undefined;
1092
1092
  }[] | undefined;
@@ -1103,25 +1103,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1103
1103
  locator: z.ZodOptional<z.ZodString>;
1104
1104
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1105
1105
  }, "strict", z.ZodTypeAny, {
1106
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1106
1107
  id: string;
1107
1108
  label: string;
1108
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1109
1109
  capture: "at_action" | "historical_lookup" | "fixture";
1110
1110
  locator?: string | undefined;
1111
1111
  }, {
1112
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1112
1113
  id: string;
1113
1114
  label: string;
1114
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1115
1115
  capture: "at_action" | "historical_lookup" | "fixture";
1116
1116
  locator?: string | undefined;
1117
1117
  }>, "many">>;
1118
1118
  }, "strict", z.ZodTypeAny, {
1119
- summary: string;
1120
1119
  kind: "conflict_detected";
1120
+ summary: string;
1121
1121
  evidence: {
1122
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1122
1123
  id: string;
1123
1124
  label: string;
1124
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1125
1125
  capture: "at_action" | "historical_lookup" | "fixture";
1126
1126
  locator?: string | undefined;
1127
1127
  }[];
@@ -1129,15 +1129,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1129
1129
  decisionIds: string[];
1130
1130
  agentIds: string[];
1131
1131
  }, {
1132
- summary: string;
1133
1132
  kind: "conflict_detected";
1133
+ summary: string;
1134
1134
  conflictId: string;
1135
1135
  decisionIds: string[];
1136
1136
  agentIds: string[];
1137
1137
  evidence?: {
1138
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1138
1139
  id: string;
1139
1140
  label: string;
1140
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1141
1141
  capture: "at_action" | "historical_lookup" | "fixture";
1142
1142
  locator?: string | undefined;
1143
1143
  }[] | undefined;
@@ -1157,27 +1157,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1157
1157
  locator: z.ZodOptional<z.ZodString>;
1158
1158
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1159
1159
  }, "strict", z.ZodTypeAny, {
1160
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1160
1161
  id: string;
1161
1162
  label: string;
1162
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1163
1163
  capture: "at_action" | "historical_lookup" | "fixture";
1164
1164
  locator?: string | undefined;
1165
1165
  }, {
1166
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1166
1167
  id: string;
1167
1168
  label: string;
1168
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1169
1169
  capture: "at_action" | "historical_lookup" | "fixture";
1170
1170
  locator?: string | undefined;
1171
1171
  }>, "many">>;
1172
1172
  }, "strict", z.ZodTypeAny, {
1173
- summary: string;
1174
- status: "error" | "failed" | "passed";
1175
1173
  kind: "test_result";
1174
+ summary: string;
1176
1175
  command: string;
1176
+ status: "error" | "failed" | "passed";
1177
1177
  evidence: {
1178
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1178
1179
  id: string;
1179
1180
  label: string;
1180
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1181
1181
  capture: "at_action" | "historical_lookup" | "fixture";
1182
1182
  locator?: string | undefined;
1183
1183
  }[];
@@ -1186,17 +1186,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1186
1186
  durationMs?: number | undefined;
1187
1187
  correctionId?: string | undefined;
1188
1188
  }, {
1189
- summary: string;
1190
- status: "error" | "failed" | "passed";
1191
1189
  kind: "test_result";
1190
+ summary: string;
1192
1191
  command: string;
1192
+ status: "error" | "failed" | "passed";
1193
1193
  decisionId: string;
1194
1194
  testId: string;
1195
1195
  durationMs?: number | undefined;
1196
1196
  evidence?: {
1197
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1197
1198
  id: string;
1198
1199
  label: string;
1199
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1200
1200
  capture: "at_action" | "historical_lookup" | "fixture";
1201
1201
  locator?: string | undefined;
1202
1202
  }[] | undefined;
@@ -1217,15 +1217,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1217
1217
  locator: z.ZodOptional<z.ZodString>;
1218
1218
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1219
1219
  }, "strict", z.ZodTypeAny, {
1220
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1220
1221
  id: string;
1221
1222
  label: string;
1222
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1223
1223
  capture: "at_action" | "historical_lookup" | "fixture";
1224
1224
  locator?: string | undefined;
1225
1225
  }, {
1226
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1226
1227
  id: string;
1227
1228
  label: string;
1228
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1229
1229
  capture: "at_action" | "historical_lookup" | "fixture";
1230
1230
  locator?: string | undefined;
1231
1231
  }>, "many">>;
@@ -1234,9 +1234,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1234
1234
  rationale: string;
1235
1235
  statement: string;
1236
1236
  evidence: {
1237
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1237
1238
  id: string;
1238
1239
  label: string;
1239
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1240
1240
  capture: "at_action" | "historical_lookup" | "fixture";
1241
1241
  locator?: string | undefined;
1242
1242
  }[];
@@ -1255,9 +1255,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1255
1255
  supersedesDecisionIds: string[];
1256
1256
  proposedBy: string;
1257
1257
  evidence?: {
1258
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1258
1259
  id: string;
1259
1260
  label: string;
1260
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1261
1261
  capture: "at_action" | "historical_lookup" | "fixture";
1262
1262
  locator?: string | undefined;
1263
1263
  }[] | undefined;
@@ -1269,13 +1269,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1269
1269
  id: z.ZodString;
1270
1270
  label: z.ZodString;
1271
1271
  }, "strict", z.ZodTypeAny, {
1272
+ kind: "agent" | "human";
1272
1273
  id: string;
1273
1274
  label: string;
1274
- kind: "agent" | "human";
1275
1275
  }, {
1276
+ kind: "agent" | "human";
1276
1277
  id: string;
1277
1278
  label: string;
1278
- kind: "agent" | "human";
1279
1279
  }>;
1280
1280
  note: z.ZodOptional<z.ZodString>;
1281
1281
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1285,47 +1285,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1285
1285
  locator: z.ZodOptional<z.ZodString>;
1286
1286
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1287
1287
  }, "strict", z.ZodTypeAny, {
1288
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1288
1289
  id: string;
1289
1290
  label: string;
1290
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1291
1291
  capture: "at_action" | "historical_lookup" | "fixture";
1292
1292
  locator?: string | undefined;
1293
1293
  }, {
1294
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1294
1295
  id: string;
1295
1296
  label: string;
1296
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1297
1297
  capture: "at_action" | "historical_lookup" | "fixture";
1298
1298
  locator?: string | undefined;
1299
1299
  }>, "many">>;
1300
1300
  }, "strict", z.ZodTypeAny, {
1301
1301
  kind: "correction_approved";
1302
1302
  evidence: {
1303
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1303
1304
  id: string;
1304
1305
  label: string;
1305
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1306
1306
  capture: "at_action" | "historical_lookup" | "fixture";
1307
1307
  locator?: string | undefined;
1308
1308
  }[];
1309
1309
  correctionId: string;
1310
1310
  approvedBy: {
1311
+ kind: "agent" | "human";
1311
1312
  id: string;
1312
1313
  label: string;
1313
- kind: "agent" | "human";
1314
1314
  };
1315
1315
  note?: string | undefined;
1316
1316
  }, {
1317
1317
  kind: "correction_approved";
1318
1318
  correctionId: string;
1319
1319
  approvedBy: {
1320
+ kind: "agent" | "human";
1320
1321
  id: string;
1321
1322
  label: string;
1322
- kind: "agent" | "human";
1323
1323
  };
1324
1324
  note?: string | undefined;
1325
1325
  evidence?: {
1326
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1326
1327
  id: string;
1327
1328
  label: string;
1328
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1329
1329
  capture: "at_action" | "historical_lookup" | "fixture";
1330
1330
  locator?: string | undefined;
1331
1331
  }[] | undefined;
@@ -1341,24 +1341,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1341
1341
  locator: z.ZodOptional<z.ZodString>;
1342
1342
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1343
1343
  }, "strict", z.ZodTypeAny, {
1344
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1344
1345
  id: string;
1345
1346
  label: string;
1346
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1347
1347
  capture: "at_action" | "historical_lookup" | "fixture";
1348
1348
  locator?: string | undefined;
1349
1349
  }, {
1350
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1350
1351
  id: string;
1351
1352
  label: string;
1352
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1353
1353
  capture: "at_action" | "historical_lookup" | "fixture";
1354
1354
  locator?: string | undefined;
1355
1355
  }>, "many">>;
1356
1356
  }, "strict", z.ZodTypeAny, {
1357
1357
  kind: "decision_superseded";
1358
1358
  evidence: {
1359
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1359
1360
  id: string;
1360
1361
  label: string;
1361
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1362
1362
  capture: "at_action" | "historical_lookup" | "fixture";
1363
1363
  locator?: string | undefined;
1364
1364
  }[];
@@ -1371,9 +1371,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1371
1371
  correctionId: string;
1372
1372
  replacementDecisionId: string;
1373
1373
  evidence?: {
1374
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1374
1375
  id: string;
1375
1376
  label: string;
1376
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1377
1377
  capture: "at_action" | "historical_lookup" | "fixture";
1378
1378
  locator?: string | undefined;
1379
1379
  }[] | undefined;
@@ -1389,15 +1389,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1389
1389
  locator: z.ZodOptional<z.ZodString>;
1390
1390
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1391
1391
  }, "strict", z.ZodTypeAny, {
1392
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1392
1393
  id: string;
1393
1394
  label: string;
1394
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1395
1395
  capture: "at_action" | "historical_lookup" | "fixture";
1396
1396
  locator?: string | undefined;
1397
1397
  }, {
1398
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1398
1399
  id: string;
1399
1400
  label: string;
1400
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1401
1401
  capture: "at_action" | "historical_lookup" | "fixture";
1402
1402
  locator?: string | undefined;
1403
1403
  }>, "many">>;
@@ -1410,9 +1410,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1410
1410
  agentId: string;
1411
1411
  sessionId: string;
1412
1412
  evidence: {
1413
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1413
1414
  id: string;
1414
1415
  label: string;
1415
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
1416
  capture: "at_action" | "historical_lookup" | "fixture";
1417
1417
  locator?: string | undefined;
1418
1418
  }[];
@@ -1428,9 +1428,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1428
1428
  recallReceiptId: string;
1429
1429
  capturedAtAction: boolean;
1430
1430
  evidence?: {
1431
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1431
1432
  id: string;
1432
1433
  label: string;
1433
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1434
1434
  capture: "at_action" | "historical_lookup" | "fixture";
1435
1435
  locator?: string | undefined;
1436
1436
  }[] | undefined;
@@ -1446,15 +1446,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1446
1446
  locator: z.ZodOptional<z.ZodString>;
1447
1447
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1448
1448
  }, "strict", z.ZodTypeAny, {
1449
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1449
1450
  id: string;
1450
1451
  label: string;
1451
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1452
1452
  capture: "at_action" | "historical_lookup" | "fixture";
1453
1453
  locator?: string | undefined;
1454
1454
  }, {
1455
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1455
1456
  id: string;
1456
1457
  label: string;
1457
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1458
1458
  capture: "at_action" | "historical_lookup" | "fixture";
1459
1459
  locator?: string | undefined;
1460
1460
  }>, "many">>;
@@ -1466,9 +1466,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1466
1466
  agentId: string;
1467
1467
  sessionId: string;
1468
1468
  evidence: {
1469
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1469
1470
  id: string;
1470
1471
  label: string;
1471
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1472
1472
  capture: "at_action" | "historical_lookup" | "fixture";
1473
1473
  locator?: string | undefined;
1474
1474
  }[];
@@ -1485,9 +1485,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1485
1485
  recallReceiptId: string;
1486
1486
  staleDecisionAbsent: boolean;
1487
1487
  evidence?: {
1488
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1488
1489
  id: string;
1489
1490
  label: string;
1490
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1491
1491
  capture: "at_action" | "historical_lookup" | "fixture";
1492
1492
  locator?: string | undefined;
1493
1493
  }[] | undefined;
@@ -1502,37 +1502,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1502
1502
  locator: z.ZodOptional<z.ZodString>;
1503
1503
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1504
1504
  }, "strict", z.ZodTypeAny, {
1505
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1505
1506
  id: string;
1506
1507
  label: string;
1507
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1508
1508
  capture: "at_action" | "historical_lookup" | "fixture";
1509
1509
  locator?: string | undefined;
1510
1510
  }, {
1511
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1511
1512
  id: string;
1512
1513
  label: string;
1513
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1514
1514
  capture: "at_action" | "historical_lookup" | "fixture";
1515
1515
  locator?: string | undefined;
1516
1516
  }>, "many">>;
1517
1517
  }, "strict", z.ZodTypeAny, {
1518
- summary: string;
1519
1518
  kind: "mission_completed";
1519
+ summary: string;
1520
1520
  outcome: "failed" | "recovered" | "inconclusive";
1521
1521
  evidence: {
1522
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1522
1523
  id: string;
1523
1524
  label: string;
1524
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1525
1525
  capture: "at_action" | "historical_lookup" | "fixture";
1526
1526
  locator?: string | undefined;
1527
1527
  }[];
1528
1528
  }, {
1529
- summary: string;
1530
1529
  kind: "mission_completed";
1530
+ summary: string;
1531
1531
  outcome: "failed" | "recovered" | "inconclusive";
1532
1532
  evidence?: {
1533
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1533
1534
  id: string;
1534
1535
  label: string;
1535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1537
  locator?: string | undefined;
1538
1538
  }[] | undefined;
@@ -1540,38 +1540,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1540
1540
  kind: "mission_started";
1541
1541
  title: string;
1542
1542
  evidence: {
1543
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1543
1544
  id: string;
1544
1545
  label: string;
1545
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1546
1546
  capture: "at_action" | "historical_lookup" | "fixture";
1547
1547
  locator?: string | undefined;
1548
1548
  }[];
1549
1549
  objective: string;
1550
1550
  runMode: "replay" | "fixture" | "live";
1551
1551
  } | {
1552
- label: string;
1553
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1554
1552
  kind: "agent_status";
1555
1553
  role: string;
1554
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1555
+ label: string;
1556
1556
  agentId: string;
1557
1557
  sessionId: string;
1558
1558
  evidence: {
1559
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1559
1560
  id: string;
1560
1561
  label: string;
1561
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1562
1562
  capture: "at_action" | "historical_lookup" | "fixture";
1563
1563
  locator?: string | undefined;
1564
1564
  }[];
1565
1565
  detail?: string | undefined;
1566
1566
  } | {
1567
- summary: string;
1568
1567
  kind: "agent_output";
1568
+ summary: string;
1569
1569
  agentId: string;
1570
1570
  sessionId: string;
1571
1571
  evidence: {
1572
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1572
1573
  id: string;
1573
1574
  label: string;
1574
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1575
1575
  capture: "at_action" | "historical_lookup" | "fixture";
1576
1576
  locator?: string | undefined;
1577
1577
  }[];
@@ -1582,9 +1582,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1582
1582
  statement: string;
1583
1583
  sessionId: string;
1584
1584
  evidence: {
1585
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1585
1586
  id: string;
1586
1587
  label: string;
1587
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1588
1588
  capture: "at_action" | "historical_lookup" | "fixture";
1589
1589
  locator?: string | undefined;
1590
1590
  }[];
@@ -1592,12 +1592,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1592
1592
  decisionId: string;
1593
1593
  confidence?: number | undefined;
1594
1594
  } | {
1595
- summary: string;
1596
1595
  kind: "conflict_detected";
1596
+ summary: string;
1597
1597
  evidence: {
1598
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
1599
  id: string;
1599
1600
  label: string;
1600
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1601
1601
  capture: "at_action" | "historical_lookup" | "fixture";
1602
1602
  locator?: string | undefined;
1603
1603
  }[];
@@ -1605,14 +1605,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1605
1605
  decisionIds: string[];
1606
1606
  agentIds: string[];
1607
1607
  } | {
1608
- summary: string;
1609
- status: "error" | "failed" | "passed";
1610
1608
  kind: "test_result";
1609
+ summary: string;
1611
1610
  command: string;
1611
+ status: "error" | "failed" | "passed";
1612
1612
  evidence: {
1613
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1613
1614
  id: string;
1614
1615
  label: string;
1615
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1616
1616
  capture: "at_action" | "historical_lookup" | "fixture";
1617
1617
  locator?: string | undefined;
1618
1618
  }[];
@@ -1625,9 +1625,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1625
1625
  rationale: string;
1626
1626
  statement: string;
1627
1627
  evidence: {
1628
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1628
1629
  id: string;
1629
1630
  label: string;
1630
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1631
1631
  capture: "at_action" | "historical_lookup" | "fixture";
1632
1632
  locator?: string | undefined;
1633
1633
  }[];
@@ -1639,25 +1639,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1639
1639
  } | {
1640
1640
  kind: "correction_approved";
1641
1641
  evidence: {
1642
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1642
1643
  id: string;
1643
1644
  label: string;
1644
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1645
1645
  capture: "at_action" | "historical_lookup" | "fixture";
1646
1646
  locator?: string | undefined;
1647
1647
  }[];
1648
1648
  correctionId: string;
1649
1649
  approvedBy: {
1650
+ kind: "agent" | "human";
1650
1651
  id: string;
1651
1652
  label: string;
1652
- kind: "agent" | "human";
1653
1653
  };
1654
1654
  note?: string | undefined;
1655
1655
  } | {
1656
1656
  kind: "decision_superseded";
1657
1657
  evidence: {
1658
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1658
1659
  id: string;
1659
1660
  label: string;
1660
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1661
1661
  capture: "at_action" | "historical_lookup" | "fixture";
1662
1662
  locator?: string | undefined;
1663
1663
  }[];
@@ -1670,9 +1670,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1670
1670
  agentId: string;
1671
1671
  sessionId: string;
1672
1672
  evidence: {
1673
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1673
1674
  id: string;
1674
1675
  label: string;
1675
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1676
1676
  capture: "at_action" | "historical_lookup" | "fixture";
1677
1677
  locator?: string | undefined;
1678
1678
  }[];
@@ -1684,9 +1684,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1684
1684
  agentId: string;
1685
1685
  sessionId: string;
1686
1686
  evidence: {
1687
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1687
1688
  id: string;
1688
1689
  label: string;
1689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1690
1690
  capture: "at_action" | "historical_lookup" | "fixture";
1691
1691
  locator?: string | undefined;
1692
1692
  }[];
@@ -1695,13 +1695,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1695
1695
  recallReceiptId: string;
1696
1696
  staleDecisionAbsent: boolean;
1697
1697
  } | {
1698
- summary: string;
1699
1698
  kind: "mission_completed";
1699
+ summary: string;
1700
1700
  outcome: "failed" | "recovered" | "inconclusive";
1701
1701
  evidence: {
1702
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1702
1703
  id: string;
1703
1704
  label: string;
1704
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1705
1705
  capture: "at_action" | "historical_lookup" | "fixture";
1706
1706
  locator?: string | undefined;
1707
1707
  }[];
@@ -1711,37 +1711,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1711
1711
  objective: string;
1712
1712
  runMode: "replay" | "fixture" | "live";
1713
1713
  evidence?: {
1714
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1714
1715
  id: string;
1715
1716
  label: string;
1716
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1717
1717
  capture: "at_action" | "historical_lookup" | "fixture";
1718
1718
  locator?: string | undefined;
1719
1719
  }[] | undefined;
1720
1720
  } | {
1721
- label: string;
1722
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1723
1721
  kind: "agent_status";
1724
1722
  role: string;
1723
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1724
+ label: string;
1725
1725
  agentId: string;
1726
1726
  sessionId: string;
1727
1727
  detail?: string | undefined;
1728
1728
  evidence?: {
1729
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1729
1730
  id: string;
1730
1731
  label: string;
1731
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1732
1732
  capture: "at_action" | "historical_lookup" | "fixture";
1733
1733
  locator?: string | undefined;
1734
1734
  }[] | undefined;
1735
1735
  } | {
1736
- summary: string;
1737
1736
  kind: "agent_output";
1737
+ summary: string;
1738
1738
  agentId: string;
1739
1739
  sessionId: string;
1740
1740
  outputId: string;
1741
1741
  evidence?: {
1742
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1742
1743
  id: string;
1743
1744
  label: string;
1744
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1745
1745
  capture: "at_action" | "historical_lookup" | "fixture";
1746
1746
  locator?: string | undefined;
1747
1747
  }[] | undefined;
@@ -1754,37 +1754,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1754
1754
  decisionId: string;
1755
1755
  confidence?: number | undefined;
1756
1756
  evidence?: {
1757
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1757
1758
  id: string;
1758
1759
  label: string;
1759
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1760
1760
  capture: "at_action" | "historical_lookup" | "fixture";
1761
1761
  locator?: string | undefined;
1762
1762
  }[] | undefined;
1763
1763
  } | {
1764
- summary: string;
1765
1764
  kind: "conflict_detected";
1765
+ summary: string;
1766
1766
  conflictId: string;
1767
1767
  decisionIds: string[];
1768
1768
  agentIds: string[];
1769
1769
  evidence?: {
1770
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1770
1771
  id: string;
1771
1772
  label: string;
1772
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1773
1773
  capture: "at_action" | "historical_lookup" | "fixture";
1774
1774
  locator?: string | undefined;
1775
1775
  }[] | undefined;
1776
1776
  } | {
1777
- summary: string;
1778
- status: "error" | "failed" | "passed";
1779
1777
  kind: "test_result";
1778
+ summary: string;
1780
1779
  command: string;
1780
+ status: "error" | "failed" | "passed";
1781
1781
  decisionId: string;
1782
1782
  testId: string;
1783
1783
  durationMs?: number | undefined;
1784
1784
  evidence?: {
1785
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1785
1786
  id: string;
1786
1787
  label: string;
1787
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1788
1788
  capture: "at_action" | "historical_lookup" | "fixture";
1789
1789
  locator?: string | undefined;
1790
1790
  }[] | undefined;
@@ -1799,9 +1799,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1799
1799
  supersedesDecisionIds: string[];
1800
1800
  proposedBy: string;
1801
1801
  evidence?: {
1802
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1802
1803
  id: string;
1803
1804
  label: string;
1804
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1805
1805
  capture: "at_action" | "historical_lookup" | "fixture";
1806
1806
  locator?: string | undefined;
1807
1807
  }[] | undefined;
@@ -1809,15 +1809,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1809
1809
  kind: "correction_approved";
1810
1810
  correctionId: string;
1811
1811
  approvedBy: {
1812
+ kind: "agent" | "human";
1812
1813
  id: string;
1813
1814
  label: string;
1814
- kind: "agent" | "human";
1815
1815
  };
1816
1816
  note?: string | undefined;
1817
1817
  evidence?: {
1818
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1818
1819
  id: string;
1819
1820
  label: string;
1820
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
1821
  capture: "at_action" | "historical_lookup" | "fixture";
1822
1822
  locator?: string | undefined;
1823
1823
  }[] | undefined;
@@ -1827,9 +1827,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1827
1827
  correctionId: string;
1828
1828
  replacementDecisionId: string;
1829
1829
  evidence?: {
1830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1830
1831
  id: string;
1831
1832
  label: string;
1832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1833
1833
  capture: "at_action" | "historical_lookup" | "fixture";
1834
1834
  locator?: string | undefined;
1835
1835
  }[] | undefined;
@@ -1842,9 +1842,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1842
1842
  recallReceiptId: string;
1843
1843
  capturedAtAction: boolean;
1844
1844
  evidence?: {
1845
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1845
1846
  id: string;
1846
1847
  label: string;
1847
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1848
1848
  capture: "at_action" | "historical_lookup" | "fixture";
1849
1849
  locator?: string | undefined;
1850
1850
  }[] | undefined;
@@ -1857,20 +1857,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1857
1857
  recallReceiptId: string;
1858
1858
  staleDecisionAbsent: boolean;
1859
1859
  evidence?: {
1860
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1860
1861
  id: string;
1861
1862
  label: string;
1862
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1863
1863
  capture: "at_action" | "historical_lookup" | "fixture";
1864
1864
  locator?: string | undefined;
1865
1865
  }[] | undefined;
1866
1866
  } | {
1867
- summary: string;
1868
1867
  kind: "mission_completed";
1868
+ summary: string;
1869
1869
  outcome: "failed" | "recovered" | "inconclusive";
1870
1870
  evidence?: {
1871
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1871
1872
  id: string;
1872
1873
  label: string;
1873
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1874
1874
  capture: "at_action" | "historical_lookup" | "fixture";
1875
1875
  locator?: string | undefined;
1876
1876
  }[] | undefined;
@@ -1891,15 +1891,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1891
1891
  locator: z.ZodOptional<z.ZodString>;
1892
1892
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1893
1893
  }, "strict", z.ZodTypeAny, {
1894
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1894
1895
  id: string;
1895
1896
  label: string;
1896
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1897
1897
  capture: "at_action" | "historical_lookup" | "fixture";
1898
1898
  locator?: string | undefined;
1899
1899
  }, {
1900
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1900
1901
  id: string;
1901
1902
  label: string;
1902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1903
1903
  capture: "at_action" | "historical_lookup" | "fixture";
1904
1904
  locator?: string | undefined;
1905
1905
  }>, "many">>;
@@ -1907,9 +1907,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1907
1907
  kind: "mission_started";
1908
1908
  title: string;
1909
1909
  evidence: {
1910
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1910
1911
  id: string;
1911
1912
  label: string;
1912
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1913
1913
  capture: "at_action" | "historical_lookup" | "fixture";
1914
1914
  locator?: string | undefined;
1915
1915
  }[];
@@ -1921,9 +1921,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1921
1921
  objective: string;
1922
1922
  runMode: "replay" | "fixture" | "live";
1923
1923
  evidence?: {
1924
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1924
1925
  id: string;
1925
1926
  label: string;
1926
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1927
1927
  capture: "at_action" | "historical_lookup" | "fixture";
1928
1928
  locator?: string | undefined;
1929
1929
  }[] | undefined;
@@ -1939,15 +1939,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1939
1939
  locator: z.ZodOptional<z.ZodString>;
1940
1940
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1941
1941
  }, "strict", z.ZodTypeAny, {
1942
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1942
1943
  id: string;
1943
1944
  label: string;
1944
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1945
1945
  capture: "at_action" | "historical_lookup" | "fixture";
1946
1946
  locator?: string | undefined;
1947
1947
  }, {
1948
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1948
1949
  id: string;
1949
1950
  label: string;
1950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1951
1951
  capture: "at_action" | "historical_lookup" | "fixture";
1952
1952
  locator?: string | undefined;
1953
1953
  }>, "many">>;
@@ -1955,32 +1955,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1955
1955
  sessionId: z.ZodString;
1956
1956
  kind: z.ZodLiteral<"agent_status">;
1957
1957
  }, "strict", z.ZodTypeAny, {
1958
- label: string;
1959
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1960
1958
  kind: "agent_status";
1961
1959
  role: string;
1960
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1961
+ label: string;
1962
1962
  agentId: string;
1963
1963
  sessionId: string;
1964
1964
  evidence: {
1965
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1965
1966
  id: string;
1966
1967
  label: string;
1967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1968
1968
  capture: "at_action" | "historical_lookup" | "fixture";
1969
1969
  locator?: string | undefined;
1970
1970
  }[];
1971
1971
  detail?: string | undefined;
1972
1972
  }, {
1973
- label: string;
1974
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1975
1973
  kind: "agent_status";
1976
1974
  role: string;
1975
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1976
+ label: string;
1977
1977
  agentId: string;
1978
1978
  sessionId: string;
1979
1979
  detail?: string | undefined;
1980
1980
  evidence?: {
1981
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1981
1982
  id: string;
1982
1983
  label: string;
1983
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1984
1984
  capture: "at_action" | "historical_lookup" | "fixture";
1985
1985
  locator?: string | undefined;
1986
1986
  }[] | undefined;
@@ -1994,15 +1994,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1994
1994
  locator: z.ZodOptional<z.ZodString>;
1995
1995
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1996
1996
  }, "strict", z.ZodTypeAny, {
1997
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1997
1998
  id: string;
1998
1999
  label: string;
1999
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2000
2000
  capture: "at_action" | "historical_lookup" | "fixture";
2001
2001
  locator?: string | undefined;
2002
2002
  }, {
2003
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2003
2004
  id: string;
2004
2005
  label: string;
2005
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2006
2006
  capture: "at_action" | "historical_lookup" | "fixture";
2007
2007
  locator?: string | undefined;
2008
2008
  }>, "many">>;
@@ -2010,28 +2010,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2010
2010
  sessionId: z.ZodString;
2011
2011
  kind: z.ZodLiteral<"agent_output">;
2012
2012
  }, "strict", z.ZodTypeAny, {
2013
- summary: string;
2014
2013
  kind: "agent_output";
2014
+ summary: string;
2015
2015
  agentId: string;
2016
2016
  sessionId: string;
2017
2017
  evidence: {
2018
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2018
2019
  id: string;
2019
2020
  label: string;
2020
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2021
2021
  capture: "at_action" | "historical_lookup" | "fixture";
2022
2022
  locator?: string | undefined;
2023
2023
  }[];
2024
2024
  outputId: string;
2025
2025
  }, {
2026
- summary: string;
2027
2026
  kind: "agent_output";
2027
+ summary: string;
2028
2028
  agentId: string;
2029
2029
  sessionId: string;
2030
2030
  outputId: string;
2031
2031
  evidence?: {
2032
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2032
2033
  id: string;
2033
2034
  label: string;
2034
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2035
2035
  capture: "at_action" | "historical_lookup" | "fixture";
2036
2036
  locator?: string | undefined;
2037
2037
  }[] | undefined;
@@ -2047,15 +2047,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2047
2047
  locator: z.ZodOptional<z.ZodString>;
2048
2048
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2049
2049
  }, "strict", z.ZodTypeAny, {
2050
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2050
2051
  id: string;
2051
2052
  label: string;
2052
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2053
2053
  capture: "at_action" | "historical_lookup" | "fixture";
2054
2054
  locator?: string | undefined;
2055
2055
  }, {
2056
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2056
2057
  id: string;
2057
2058
  label: string;
2058
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2059
2059
  capture: "at_action" | "historical_lookup" | "fixture";
2060
2060
  locator?: string | undefined;
2061
2061
  }>, "many">>;
@@ -2068,9 +2068,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2068
2068
  statement: string;
2069
2069
  sessionId: string;
2070
2070
  evidence: {
2071
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2071
2072
  id: string;
2072
2073
  label: string;
2073
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2074
2074
  capture: "at_action" | "historical_lookup" | "fixture";
2075
2075
  locator?: string | undefined;
2076
2076
  }[];
@@ -2086,9 +2086,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2086
2086
  decisionId: string;
2087
2087
  confidence?: number | undefined;
2088
2088
  evidence?: {
2089
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2089
2090
  id: string;
2090
2091
  label: string;
2091
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2092
2092
  capture: "at_action" | "historical_lookup" | "fixture";
2093
2093
  locator?: string | undefined;
2094
2094
  }[] | undefined;
@@ -2105,25 +2105,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2105
2105
  locator: z.ZodOptional<z.ZodString>;
2106
2106
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2107
2107
  }, "strict", z.ZodTypeAny, {
2108
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2108
2109
  id: string;
2109
2110
  label: string;
2110
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2111
2111
  capture: "at_action" | "historical_lookup" | "fixture";
2112
2112
  locator?: string | undefined;
2113
2113
  }, {
2114
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2114
2115
  id: string;
2115
2116
  label: string;
2116
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2117
2117
  capture: "at_action" | "historical_lookup" | "fixture";
2118
2118
  locator?: string | undefined;
2119
2119
  }>, "many">>;
2120
2120
  }, "strict", z.ZodTypeAny, {
2121
- summary: string;
2122
2121
  kind: "conflict_detected";
2122
+ summary: string;
2123
2123
  evidence: {
2124
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2124
2125
  id: string;
2125
2126
  label: string;
2126
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2127
2127
  capture: "at_action" | "historical_lookup" | "fixture";
2128
2128
  locator?: string | undefined;
2129
2129
  }[];
@@ -2131,15 +2131,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2131
2131
  decisionIds: string[];
2132
2132
  agentIds: string[];
2133
2133
  }, {
2134
- summary: string;
2135
2134
  kind: "conflict_detected";
2135
+ summary: string;
2136
2136
  conflictId: string;
2137
2137
  decisionIds: string[];
2138
2138
  agentIds: string[];
2139
2139
  evidence?: {
2140
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2140
2141
  id: string;
2141
2142
  label: string;
2142
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2143
2143
  capture: "at_action" | "historical_lookup" | "fixture";
2144
2144
  locator?: string | undefined;
2145
2145
  }[] | undefined;
@@ -2159,27 +2159,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2159
2159
  locator: z.ZodOptional<z.ZodString>;
2160
2160
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2161
2161
  }, "strict", z.ZodTypeAny, {
2162
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2162
2163
  id: string;
2163
2164
  label: string;
2164
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2165
2165
  capture: "at_action" | "historical_lookup" | "fixture";
2166
2166
  locator?: string | undefined;
2167
2167
  }, {
2168
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2168
2169
  id: string;
2169
2170
  label: string;
2170
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2171
2171
  capture: "at_action" | "historical_lookup" | "fixture";
2172
2172
  locator?: string | undefined;
2173
2173
  }>, "many">>;
2174
2174
  }, "strict", z.ZodTypeAny, {
2175
- summary: string;
2176
- status: "error" | "failed" | "passed";
2177
2175
  kind: "test_result";
2176
+ summary: string;
2178
2177
  command: string;
2178
+ status: "error" | "failed" | "passed";
2179
2179
  evidence: {
2180
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2180
2181
  id: string;
2181
2182
  label: string;
2182
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2183
2183
  capture: "at_action" | "historical_lookup" | "fixture";
2184
2184
  locator?: string | undefined;
2185
2185
  }[];
@@ -2188,17 +2188,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2188
2188
  durationMs?: number | undefined;
2189
2189
  correctionId?: string | undefined;
2190
2190
  }, {
2191
- summary: string;
2192
- status: "error" | "failed" | "passed";
2193
2191
  kind: "test_result";
2192
+ summary: string;
2194
2193
  command: string;
2194
+ status: "error" | "failed" | "passed";
2195
2195
  decisionId: string;
2196
2196
  testId: string;
2197
2197
  durationMs?: number | undefined;
2198
2198
  evidence?: {
2199
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2199
2200
  id: string;
2200
2201
  label: string;
2201
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2202
2202
  capture: "at_action" | "historical_lookup" | "fixture";
2203
2203
  locator?: string | undefined;
2204
2204
  }[] | undefined;
@@ -2219,15 +2219,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2219
2219
  locator: z.ZodOptional<z.ZodString>;
2220
2220
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2221
2221
  }, "strict", z.ZodTypeAny, {
2222
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2222
2223
  id: string;
2223
2224
  label: string;
2224
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2225
2225
  capture: "at_action" | "historical_lookup" | "fixture";
2226
2226
  locator?: string | undefined;
2227
2227
  }, {
2228
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
2229
  id: string;
2229
2230
  label: string;
2230
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2231
2231
  capture: "at_action" | "historical_lookup" | "fixture";
2232
2232
  locator?: string | undefined;
2233
2233
  }>, "many">>;
@@ -2236,9 +2236,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2236
2236
  rationale: string;
2237
2237
  statement: string;
2238
2238
  evidence: {
2239
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2239
2240
  id: string;
2240
2241
  label: string;
2241
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2242
2242
  capture: "at_action" | "historical_lookup" | "fixture";
2243
2243
  locator?: string | undefined;
2244
2244
  }[];
@@ -2257,9 +2257,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2257
2257
  supersedesDecisionIds: string[];
2258
2258
  proposedBy: string;
2259
2259
  evidence?: {
2260
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2260
2261
  id: string;
2261
2262
  label: string;
2262
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2263
2263
  capture: "at_action" | "historical_lookup" | "fixture";
2264
2264
  locator?: string | undefined;
2265
2265
  }[] | undefined;
@@ -2271,13 +2271,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2271
2271
  id: z.ZodString;
2272
2272
  label: z.ZodString;
2273
2273
  }, "strict", z.ZodTypeAny, {
2274
+ kind: "agent" | "human";
2274
2275
  id: string;
2275
2276
  label: string;
2276
- kind: "agent" | "human";
2277
2277
  }, {
2278
+ kind: "agent" | "human";
2278
2279
  id: string;
2279
2280
  label: string;
2280
- kind: "agent" | "human";
2281
2281
  }>;
2282
2282
  note: z.ZodOptional<z.ZodString>;
2283
2283
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2287,47 +2287,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2287
2287
  locator: z.ZodOptional<z.ZodString>;
2288
2288
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2289
2289
  }, "strict", z.ZodTypeAny, {
2290
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2290
2291
  id: string;
2291
2292
  label: string;
2292
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2293
2293
  capture: "at_action" | "historical_lookup" | "fixture";
2294
2294
  locator?: string | undefined;
2295
2295
  }, {
2296
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2296
2297
  id: string;
2297
2298
  label: string;
2298
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2299
2299
  capture: "at_action" | "historical_lookup" | "fixture";
2300
2300
  locator?: string | undefined;
2301
2301
  }>, "many">>;
2302
2302
  }, "strict", z.ZodTypeAny, {
2303
2303
  kind: "correction_approved";
2304
2304
  evidence: {
2305
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2305
2306
  id: string;
2306
2307
  label: string;
2307
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2308
2308
  capture: "at_action" | "historical_lookup" | "fixture";
2309
2309
  locator?: string | undefined;
2310
2310
  }[];
2311
2311
  correctionId: string;
2312
2312
  approvedBy: {
2313
+ kind: "agent" | "human";
2313
2314
  id: string;
2314
2315
  label: string;
2315
- kind: "agent" | "human";
2316
2316
  };
2317
2317
  note?: string | undefined;
2318
2318
  }, {
2319
2319
  kind: "correction_approved";
2320
2320
  correctionId: string;
2321
2321
  approvedBy: {
2322
+ kind: "agent" | "human";
2322
2323
  id: string;
2323
2324
  label: string;
2324
- kind: "agent" | "human";
2325
2325
  };
2326
2326
  note?: string | undefined;
2327
2327
  evidence?: {
2328
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2328
2329
  id: string;
2329
2330
  label: string;
2330
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2331
2331
  capture: "at_action" | "historical_lookup" | "fixture";
2332
2332
  locator?: string | undefined;
2333
2333
  }[] | undefined;
@@ -2343,24 +2343,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2343
2343
  locator: z.ZodOptional<z.ZodString>;
2344
2344
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2345
2345
  }, "strict", z.ZodTypeAny, {
2346
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2346
2347
  id: string;
2347
2348
  label: string;
2348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
2349
  capture: "at_action" | "historical_lookup" | "fixture";
2350
2350
  locator?: string | undefined;
2351
2351
  }, {
2352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2352
2353
  id: string;
2353
2354
  label: string;
2354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2355
2355
  capture: "at_action" | "historical_lookup" | "fixture";
2356
2356
  locator?: string | undefined;
2357
2357
  }>, "many">>;
2358
2358
  }, "strict", z.ZodTypeAny, {
2359
2359
  kind: "decision_superseded";
2360
2360
  evidence: {
2361
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2361
2362
  id: string;
2362
2363
  label: string;
2363
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2364
2364
  capture: "at_action" | "historical_lookup" | "fixture";
2365
2365
  locator?: string | undefined;
2366
2366
  }[];
@@ -2373,9 +2373,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2373
2373
  correctionId: string;
2374
2374
  replacementDecisionId: string;
2375
2375
  evidence?: {
2376
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2376
2377
  id: string;
2377
2378
  label: string;
2378
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2379
2379
  capture: "at_action" | "historical_lookup" | "fixture";
2380
2380
  locator?: string | undefined;
2381
2381
  }[] | undefined;
@@ -2391,15 +2391,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2391
2391
  locator: z.ZodOptional<z.ZodString>;
2392
2392
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2393
2393
  }, "strict", z.ZodTypeAny, {
2394
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2394
2395
  id: string;
2395
2396
  label: string;
2396
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2397
2397
  capture: "at_action" | "historical_lookup" | "fixture";
2398
2398
  locator?: string | undefined;
2399
2399
  }, {
2400
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2400
2401
  id: string;
2401
2402
  label: string;
2402
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2403
2403
  capture: "at_action" | "historical_lookup" | "fixture";
2404
2404
  locator?: string | undefined;
2405
2405
  }>, "many">>;
@@ -2412,9 +2412,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2412
2412
  agentId: string;
2413
2413
  sessionId: string;
2414
2414
  evidence: {
2415
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2415
2416
  id: string;
2416
2417
  label: string;
2417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
2418
  capture: "at_action" | "historical_lookup" | "fixture";
2419
2419
  locator?: string | undefined;
2420
2420
  }[];
@@ -2430,9 +2430,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2430
2430
  recallReceiptId: string;
2431
2431
  capturedAtAction: boolean;
2432
2432
  evidence?: {
2433
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2433
2434
  id: string;
2434
2435
  label: string;
2435
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2436
2436
  capture: "at_action" | "historical_lookup" | "fixture";
2437
2437
  locator?: string | undefined;
2438
2438
  }[] | undefined;
@@ -2448,15 +2448,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2448
2448
  locator: z.ZodOptional<z.ZodString>;
2449
2449
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2450
2450
  }, "strict", z.ZodTypeAny, {
2451
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2451
2452
  id: string;
2452
2453
  label: string;
2453
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2454
2454
  capture: "at_action" | "historical_lookup" | "fixture";
2455
2455
  locator?: string | undefined;
2456
2456
  }, {
2457
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2457
2458
  id: string;
2458
2459
  label: string;
2459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2460
2460
  capture: "at_action" | "historical_lookup" | "fixture";
2461
2461
  locator?: string | undefined;
2462
2462
  }>, "many">>;
@@ -2468,9 +2468,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2468
2468
  agentId: string;
2469
2469
  sessionId: string;
2470
2470
  evidence: {
2471
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2471
2472
  id: string;
2472
2473
  label: string;
2473
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2474
2474
  capture: "at_action" | "historical_lookup" | "fixture";
2475
2475
  locator?: string | undefined;
2476
2476
  }[];
@@ -2487,9 +2487,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2487
2487
  recallReceiptId: string;
2488
2488
  staleDecisionAbsent: boolean;
2489
2489
  evidence?: {
2490
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2490
2491
  id: string;
2491
2492
  label: string;
2492
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2493
2493
  capture: "at_action" | "historical_lookup" | "fixture";
2494
2494
  locator?: string | undefined;
2495
2495
  }[] | undefined;
@@ -2504,37 +2504,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2504
2504
  locator: z.ZodOptional<z.ZodString>;
2505
2505
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2506
2506
  }, "strict", z.ZodTypeAny, {
2507
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2507
2508
  id: string;
2508
2509
  label: string;
2509
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2510
2510
  capture: "at_action" | "historical_lookup" | "fixture";
2511
2511
  locator?: string | undefined;
2512
2512
  }, {
2513
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2513
2514
  id: string;
2514
2515
  label: string;
2515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2516
2516
  capture: "at_action" | "historical_lookup" | "fixture";
2517
2517
  locator?: string | undefined;
2518
2518
  }>, "many">>;
2519
2519
  }, "strict", z.ZodTypeAny, {
2520
- summary: string;
2521
2520
  kind: "mission_completed";
2521
+ summary: string;
2522
2522
  outcome: "failed" | "recovered" | "inconclusive";
2523
2523
  evidence: {
2524
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2524
2525
  id: string;
2525
2526
  label: string;
2526
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2527
2527
  capture: "at_action" | "historical_lookup" | "fixture";
2528
2528
  locator?: string | undefined;
2529
2529
  }[];
2530
2530
  }, {
2531
- summary: string;
2532
2531
  kind: "mission_completed";
2532
+ summary: string;
2533
2533
  outcome: "failed" | "recovered" | "inconclusive";
2534
2534
  evidence?: {
2535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2535
2536
  id: string;
2536
2537
  label: string;
2537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2539
  locator?: string | undefined;
2540
2540
  }[] | undefined;
@@ -2542,38 +2542,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2542
2542
  kind: "mission_started";
2543
2543
  title: string;
2544
2544
  evidence: {
2545
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2545
2546
  id: string;
2546
2547
  label: string;
2547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2548
2548
  capture: "at_action" | "historical_lookup" | "fixture";
2549
2549
  locator?: string | undefined;
2550
2550
  }[];
2551
2551
  objective: string;
2552
2552
  runMode: "replay" | "fixture" | "live";
2553
2553
  } | {
2554
- label: string;
2555
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2556
2554
  kind: "agent_status";
2557
2555
  role: string;
2556
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2557
+ label: string;
2558
2558
  agentId: string;
2559
2559
  sessionId: string;
2560
2560
  evidence: {
2561
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2561
2562
  id: string;
2562
2563
  label: string;
2563
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2564
2564
  capture: "at_action" | "historical_lookup" | "fixture";
2565
2565
  locator?: string | undefined;
2566
2566
  }[];
2567
2567
  detail?: string | undefined;
2568
2568
  } | {
2569
- summary: string;
2570
2569
  kind: "agent_output";
2570
+ summary: string;
2571
2571
  agentId: string;
2572
2572
  sessionId: string;
2573
2573
  evidence: {
2574
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2574
2575
  id: string;
2575
2576
  label: string;
2576
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2577
2577
  capture: "at_action" | "historical_lookup" | "fixture";
2578
2578
  locator?: string | undefined;
2579
2579
  }[];
@@ -2584,9 +2584,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2584
2584
  statement: string;
2585
2585
  sessionId: string;
2586
2586
  evidence: {
2587
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2587
2588
  id: string;
2588
2589
  label: string;
2589
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2590
2590
  capture: "at_action" | "historical_lookup" | "fixture";
2591
2591
  locator?: string | undefined;
2592
2592
  }[];
@@ -2594,12 +2594,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2594
2594
  decisionId: string;
2595
2595
  confidence?: number | undefined;
2596
2596
  } | {
2597
- summary: string;
2598
2597
  kind: "conflict_detected";
2598
+ summary: string;
2599
2599
  evidence: {
2600
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
2601
  id: string;
2601
2602
  label: string;
2602
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2603
2603
  capture: "at_action" | "historical_lookup" | "fixture";
2604
2604
  locator?: string | undefined;
2605
2605
  }[];
@@ -2607,14 +2607,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2607
2607
  decisionIds: string[];
2608
2608
  agentIds: string[];
2609
2609
  } | {
2610
- summary: string;
2611
- status: "error" | "failed" | "passed";
2612
2610
  kind: "test_result";
2611
+ summary: string;
2613
2612
  command: string;
2613
+ status: "error" | "failed" | "passed";
2614
2614
  evidence: {
2615
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2615
2616
  id: string;
2616
2617
  label: string;
2617
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2618
2618
  capture: "at_action" | "historical_lookup" | "fixture";
2619
2619
  locator?: string | undefined;
2620
2620
  }[];
@@ -2627,9 +2627,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2627
2627
  rationale: string;
2628
2628
  statement: string;
2629
2629
  evidence: {
2630
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2630
2631
  id: string;
2631
2632
  label: string;
2632
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2633
2633
  capture: "at_action" | "historical_lookup" | "fixture";
2634
2634
  locator?: string | undefined;
2635
2635
  }[];
@@ -2641,25 +2641,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2641
2641
  } | {
2642
2642
  kind: "correction_approved";
2643
2643
  evidence: {
2644
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2644
2645
  id: string;
2645
2646
  label: string;
2646
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2647
2647
  capture: "at_action" | "historical_lookup" | "fixture";
2648
2648
  locator?: string | undefined;
2649
2649
  }[];
2650
2650
  correctionId: string;
2651
2651
  approvedBy: {
2652
+ kind: "agent" | "human";
2652
2653
  id: string;
2653
2654
  label: string;
2654
- kind: "agent" | "human";
2655
2655
  };
2656
2656
  note?: string | undefined;
2657
2657
  } | {
2658
2658
  kind: "decision_superseded";
2659
2659
  evidence: {
2660
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2660
2661
  id: string;
2661
2662
  label: string;
2662
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2663
2663
  capture: "at_action" | "historical_lookup" | "fixture";
2664
2664
  locator?: string | undefined;
2665
2665
  }[];
@@ -2672,9 +2672,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2672
2672
  agentId: string;
2673
2673
  sessionId: string;
2674
2674
  evidence: {
2675
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2675
2676
  id: string;
2676
2677
  label: string;
2677
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2678
2678
  capture: "at_action" | "historical_lookup" | "fixture";
2679
2679
  locator?: string | undefined;
2680
2680
  }[];
@@ -2686,9 +2686,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2686
2686
  agentId: string;
2687
2687
  sessionId: string;
2688
2688
  evidence: {
2689
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2689
2690
  id: string;
2690
2691
  label: string;
2691
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2692
2692
  capture: "at_action" | "historical_lookup" | "fixture";
2693
2693
  locator?: string | undefined;
2694
2694
  }[];
@@ -2697,13 +2697,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2697
2697
  recallReceiptId: string;
2698
2698
  staleDecisionAbsent: boolean;
2699
2699
  } | {
2700
- summary: string;
2701
2700
  kind: "mission_completed";
2701
+ summary: string;
2702
2702
  outcome: "failed" | "recovered" | "inconclusive";
2703
2703
  evidence: {
2704
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2704
2705
  id: string;
2705
2706
  label: string;
2706
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2707
2707
  capture: "at_action" | "historical_lookup" | "fixture";
2708
2708
  locator?: string | undefined;
2709
2709
  }[];
@@ -2713,37 +2713,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2713
2713
  objective: string;
2714
2714
  runMode: "replay" | "fixture" | "live";
2715
2715
  evidence?: {
2716
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2716
2717
  id: string;
2717
2718
  label: string;
2718
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2719
2719
  capture: "at_action" | "historical_lookup" | "fixture";
2720
2720
  locator?: string | undefined;
2721
2721
  }[] | undefined;
2722
2722
  } | {
2723
- label: string;
2724
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2725
2723
  kind: "agent_status";
2726
2724
  role: string;
2725
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2726
+ label: string;
2727
2727
  agentId: string;
2728
2728
  sessionId: string;
2729
2729
  detail?: string | undefined;
2730
2730
  evidence?: {
2731
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2731
2732
  id: string;
2732
2733
  label: string;
2733
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2734
2734
  capture: "at_action" | "historical_lookup" | "fixture";
2735
2735
  locator?: string | undefined;
2736
2736
  }[] | undefined;
2737
2737
  } | {
2738
- summary: string;
2739
2738
  kind: "agent_output";
2739
+ summary: string;
2740
2740
  agentId: string;
2741
2741
  sessionId: string;
2742
2742
  outputId: string;
2743
2743
  evidence?: {
2744
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2744
2745
  id: string;
2745
2746
  label: string;
2746
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2747
2747
  capture: "at_action" | "historical_lookup" | "fixture";
2748
2748
  locator?: string | undefined;
2749
2749
  }[] | undefined;
@@ -2756,37 +2756,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2756
2756
  decisionId: string;
2757
2757
  confidence?: number | undefined;
2758
2758
  evidence?: {
2759
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2759
2760
  id: string;
2760
2761
  label: string;
2761
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2762
2762
  capture: "at_action" | "historical_lookup" | "fixture";
2763
2763
  locator?: string | undefined;
2764
2764
  }[] | undefined;
2765
2765
  } | {
2766
- summary: string;
2767
2766
  kind: "conflict_detected";
2767
+ summary: string;
2768
2768
  conflictId: string;
2769
2769
  decisionIds: string[];
2770
2770
  agentIds: string[];
2771
2771
  evidence?: {
2772
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2772
2773
  id: string;
2773
2774
  label: string;
2774
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2775
2775
  capture: "at_action" | "historical_lookup" | "fixture";
2776
2776
  locator?: string | undefined;
2777
2777
  }[] | undefined;
2778
2778
  } | {
2779
- summary: string;
2780
- status: "error" | "failed" | "passed";
2781
2779
  kind: "test_result";
2780
+ summary: string;
2782
2781
  command: string;
2782
+ status: "error" | "failed" | "passed";
2783
2783
  decisionId: string;
2784
2784
  testId: string;
2785
2785
  durationMs?: number | undefined;
2786
2786
  evidence?: {
2787
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2787
2788
  id: string;
2788
2789
  label: string;
2789
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2790
2790
  capture: "at_action" | "historical_lookup" | "fixture";
2791
2791
  locator?: string | undefined;
2792
2792
  }[] | undefined;
@@ -2801,9 +2801,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2801
2801
  supersedesDecisionIds: string[];
2802
2802
  proposedBy: string;
2803
2803
  evidence?: {
2804
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2804
2805
  id: string;
2805
2806
  label: string;
2806
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2807
2807
  capture: "at_action" | "historical_lookup" | "fixture";
2808
2808
  locator?: string | undefined;
2809
2809
  }[] | undefined;
@@ -2811,15 +2811,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2811
2811
  kind: "correction_approved";
2812
2812
  correctionId: string;
2813
2813
  approvedBy: {
2814
+ kind: "agent" | "human";
2814
2815
  id: string;
2815
2816
  label: string;
2816
- kind: "agent" | "human";
2817
2817
  };
2818
2818
  note?: string | undefined;
2819
2819
  evidence?: {
2820
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2820
2821
  id: string;
2821
2822
  label: string;
2822
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
2823
  capture: "at_action" | "historical_lookup" | "fixture";
2824
2824
  locator?: string | undefined;
2825
2825
  }[] | undefined;
@@ -2829,9 +2829,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2829
2829
  correctionId: string;
2830
2830
  replacementDecisionId: string;
2831
2831
  evidence?: {
2832
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2832
2833
  id: string;
2833
2834
  label: string;
2834
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2835
2835
  capture: "at_action" | "historical_lookup" | "fixture";
2836
2836
  locator?: string | undefined;
2837
2837
  }[] | undefined;
@@ -2844,9 +2844,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2844
2844
  recallReceiptId: string;
2845
2845
  capturedAtAction: boolean;
2846
2846
  evidence?: {
2847
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2847
2848
  id: string;
2848
2849
  label: string;
2849
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2850
2850
  capture: "at_action" | "historical_lookup" | "fixture";
2851
2851
  locator?: string | undefined;
2852
2852
  }[] | undefined;
@@ -2859,20 +2859,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2859
2859
  recallReceiptId: string;
2860
2860
  staleDecisionAbsent: boolean;
2861
2861
  evidence?: {
2862
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2862
2863
  id: string;
2863
2864
  label: string;
2864
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2865
2865
  capture: "at_action" | "historical_lookup" | "fixture";
2866
2866
  locator?: string | undefined;
2867
2867
  }[] | undefined;
2868
2868
  } | {
2869
- summary: string;
2870
2869
  kind: "mission_completed";
2870
+ summary: string;
2871
2871
  outcome: "failed" | "recovered" | "inconclusive";
2872
2872
  evidence?: {
2873
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2873
2874
  id: string;
2874
2875
  label: string;
2875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
2876
  capture: "at_action" | "historical_lookup" | "fixture";
2877
2877
  locator?: string | undefined;
2878
2878
  }[] | undefined;
@@ -2882,38 +2882,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2882
2882
  kind: "mission_started";
2883
2883
  title: string;
2884
2884
  evidence: {
2885
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2885
2886
  id: string;
2886
2887
  label: string;
2887
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2888
2888
  capture: "at_action" | "historical_lookup" | "fixture";
2889
2889
  locator?: string | undefined;
2890
2890
  }[];
2891
2891
  objective: string;
2892
2892
  runMode: "replay" | "fixture" | "live";
2893
2893
  } | {
2894
- label: string;
2895
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2896
2894
  kind: "agent_status";
2897
2895
  role: string;
2896
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2897
+ label: string;
2898
2898
  agentId: string;
2899
2899
  sessionId: string;
2900
2900
  evidence: {
2901
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2901
2902
  id: string;
2902
2903
  label: string;
2903
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2904
2904
  capture: "at_action" | "historical_lookup" | "fixture";
2905
2905
  locator?: string | undefined;
2906
2906
  }[];
2907
2907
  detail?: string | undefined;
2908
2908
  } | {
2909
- summary: string;
2910
2909
  kind: "agent_output";
2910
+ summary: string;
2911
2911
  agentId: string;
2912
2912
  sessionId: string;
2913
2913
  evidence: {
2914
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2914
2915
  id: string;
2915
2916
  label: string;
2916
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2917
2917
  capture: "at_action" | "historical_lookup" | "fixture";
2918
2918
  locator?: string | undefined;
2919
2919
  }[];
@@ -2924,9 +2924,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2924
2924
  statement: string;
2925
2925
  sessionId: string;
2926
2926
  evidence: {
2927
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2927
2928
  id: string;
2928
2929
  label: string;
2929
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2930
2930
  capture: "at_action" | "historical_lookup" | "fixture";
2931
2931
  locator?: string | undefined;
2932
2932
  }[];
@@ -2934,12 +2934,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2934
2934
  decisionId: string;
2935
2935
  confidence?: number | undefined;
2936
2936
  } | {
2937
- summary: string;
2938
2937
  kind: "conflict_detected";
2938
+ summary: string;
2939
2939
  evidence: {
2940
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2940
2941
  id: string;
2941
2942
  label: string;
2942
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2943
2943
  capture: "at_action" | "historical_lookup" | "fixture";
2944
2944
  locator?: string | undefined;
2945
2945
  }[];
@@ -2947,14 +2947,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2947
2947
  decisionIds: string[];
2948
2948
  agentIds: string[];
2949
2949
  } | {
2950
- summary: string;
2951
- status: "error" | "failed" | "passed";
2952
2950
  kind: "test_result";
2951
+ summary: string;
2953
2952
  command: string;
2953
+ status: "error" | "failed" | "passed";
2954
2954
  evidence: {
2955
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2955
2956
  id: string;
2956
2957
  label: string;
2957
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2958
2958
  capture: "at_action" | "historical_lookup" | "fixture";
2959
2959
  locator?: string | undefined;
2960
2960
  }[];
@@ -2967,9 +2967,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2967
2967
  rationale: string;
2968
2968
  statement: string;
2969
2969
  evidence: {
2970
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2970
2971
  id: string;
2971
2972
  label: string;
2972
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2973
2973
  capture: "at_action" | "historical_lookup" | "fixture";
2974
2974
  locator?: string | undefined;
2975
2975
  }[];
@@ -2981,25 +2981,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2981
2981
  } | {
2982
2982
  kind: "correction_approved";
2983
2983
  evidence: {
2984
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2984
2985
  id: string;
2985
2986
  label: string;
2986
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2987
2987
  capture: "at_action" | "historical_lookup" | "fixture";
2988
2988
  locator?: string | undefined;
2989
2989
  }[];
2990
2990
  correctionId: string;
2991
2991
  approvedBy: {
2992
+ kind: "agent" | "human";
2992
2993
  id: string;
2993
2994
  label: string;
2994
- kind: "agent" | "human";
2995
2995
  };
2996
2996
  note?: string | undefined;
2997
2997
  } | {
2998
2998
  kind: "decision_superseded";
2999
2999
  evidence: {
3000
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3000
3001
  id: string;
3001
3002
  label: string;
3002
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3003
3003
  capture: "at_action" | "historical_lookup" | "fixture";
3004
3004
  locator?: string | undefined;
3005
3005
  }[];
@@ -3012,9 +3012,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3012
3012
  agentId: string;
3013
3013
  sessionId: string;
3014
3014
  evidence: {
3015
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3015
3016
  id: string;
3016
3017
  label: string;
3017
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3018
3018
  capture: "at_action" | "historical_lookup" | "fixture";
3019
3019
  locator?: string | undefined;
3020
3020
  }[];
@@ -3026,9 +3026,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3026
3026
  agentId: string;
3027
3027
  sessionId: string;
3028
3028
  evidence: {
3029
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3029
3030
  id: string;
3030
3031
  label: string;
3031
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3032
3032
  capture: "at_action" | "historical_lookup" | "fixture";
3033
3033
  locator?: string | undefined;
3034
3034
  }[];
@@ -3037,13 +3037,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3037
3037
  recallReceiptId: string;
3038
3038
  staleDecisionAbsent: boolean;
3039
3039
  } | {
3040
- summary: string;
3041
3040
  kind: "mission_completed";
3041
+ summary: string;
3042
3042
  outcome: "failed" | "recovered" | "inconclusive";
3043
3043
  evidence: {
3044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3044
3045
  id: string;
3045
3046
  label: string;
3046
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3047
3047
  capture: "at_action" | "historical_lookup" | "fixture";
3048
3048
  locator?: string | undefined;
3049
3049
  }[];
@@ -3057,37 +3057,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3057
3057
  objective: string;
3058
3058
  runMode: "replay" | "fixture" | "live";
3059
3059
  evidence?: {
3060
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3060
3061
  id: string;
3061
3062
  label: string;
3062
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3063
3063
  capture: "at_action" | "historical_lookup" | "fixture";
3064
3064
  locator?: string | undefined;
3065
3065
  }[] | undefined;
3066
3066
  } | {
3067
- label: string;
3068
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3069
3067
  kind: "agent_status";
3070
3068
  role: string;
3069
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3070
+ label: string;
3071
3071
  agentId: string;
3072
3072
  sessionId: string;
3073
3073
  detail?: string | undefined;
3074
3074
  evidence?: {
3075
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3075
3076
  id: string;
3076
3077
  label: string;
3077
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3078
3078
  capture: "at_action" | "historical_lookup" | "fixture";
3079
3079
  locator?: string | undefined;
3080
3080
  }[] | undefined;
3081
3081
  } | {
3082
- summary: string;
3083
3082
  kind: "agent_output";
3083
+ summary: string;
3084
3084
  agentId: string;
3085
3085
  sessionId: string;
3086
3086
  outputId: string;
3087
3087
  evidence?: {
3088
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
3089
  id: string;
3089
3090
  label: string;
3090
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3091
3091
  capture: "at_action" | "historical_lookup" | "fixture";
3092
3092
  locator?: string | undefined;
3093
3093
  }[] | undefined;
@@ -3100,37 +3100,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3100
3100
  decisionId: string;
3101
3101
  confidence?: number | undefined;
3102
3102
  evidence?: {
3103
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3103
3104
  id: string;
3104
3105
  label: string;
3105
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3106
3106
  capture: "at_action" | "historical_lookup" | "fixture";
3107
3107
  locator?: string | undefined;
3108
3108
  }[] | undefined;
3109
3109
  } | {
3110
- summary: string;
3111
3110
  kind: "conflict_detected";
3111
+ summary: string;
3112
3112
  conflictId: string;
3113
3113
  decisionIds: string[];
3114
3114
  agentIds: string[];
3115
3115
  evidence?: {
3116
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
3117
  id: string;
3117
3118
  label: string;
3118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3119
3119
  capture: "at_action" | "historical_lookup" | "fixture";
3120
3120
  locator?: string | undefined;
3121
3121
  }[] | undefined;
3122
3122
  } | {
3123
- summary: string;
3124
- status: "error" | "failed" | "passed";
3125
3123
  kind: "test_result";
3124
+ summary: string;
3126
3125
  command: string;
3126
+ status: "error" | "failed" | "passed";
3127
3127
  decisionId: string;
3128
3128
  testId: string;
3129
3129
  durationMs?: number | undefined;
3130
3130
  evidence?: {
3131
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3131
3132
  id: string;
3132
3133
  label: string;
3133
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3134
3134
  capture: "at_action" | "historical_lookup" | "fixture";
3135
3135
  locator?: string | undefined;
3136
3136
  }[] | undefined;
@@ -3145,9 +3145,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3145
3145
  supersedesDecisionIds: string[];
3146
3146
  proposedBy: string;
3147
3147
  evidence?: {
3148
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3148
3149
  id: string;
3149
3150
  label: string;
3150
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3151
3151
  capture: "at_action" | "historical_lookup" | "fixture";
3152
3152
  locator?: string | undefined;
3153
3153
  }[] | undefined;
@@ -3155,15 +3155,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3155
3155
  kind: "correction_approved";
3156
3156
  correctionId: string;
3157
3157
  approvedBy: {
3158
+ kind: "agent" | "human";
3158
3159
  id: string;
3159
3160
  label: string;
3160
- kind: "agent" | "human";
3161
3161
  };
3162
3162
  note?: string | undefined;
3163
3163
  evidence?: {
3164
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3164
3165
  id: string;
3165
3166
  label: string;
3166
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3167
3167
  capture: "at_action" | "historical_lookup" | "fixture";
3168
3168
  locator?: string | undefined;
3169
3169
  }[] | undefined;
@@ -3173,9 +3173,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3173
3173
  correctionId: string;
3174
3174
  replacementDecisionId: string;
3175
3175
  evidence?: {
3176
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3176
3177
  id: string;
3177
3178
  label: string;
3178
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3179
3179
  capture: "at_action" | "historical_lookup" | "fixture";
3180
3180
  locator?: string | undefined;
3181
3181
  }[] | undefined;
@@ -3188,9 +3188,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3188
3188
  recallReceiptId: string;
3189
3189
  capturedAtAction: boolean;
3190
3190
  evidence?: {
3191
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3191
3192
  id: string;
3192
3193
  label: string;
3193
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3194
3194
  capture: "at_action" | "historical_lookup" | "fixture";
3195
3195
  locator?: string | undefined;
3196
3196
  }[] | undefined;
@@ -3203,20 +3203,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3203
3203
  recallReceiptId: string;
3204
3204
  staleDecisionAbsent: boolean;
3205
3205
  evidence?: {
3206
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3206
3207
  id: string;
3207
3208
  label: string;
3208
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3209
3209
  capture: "at_action" | "historical_lookup" | "fixture";
3210
3210
  locator?: string | undefined;
3211
3211
  }[] | undefined;
3212
3212
  } | {
3213
- summary: string;
3214
3213
  kind: "mission_completed";
3214
+ summary: string;
3215
3215
  outcome: "failed" | "recovered" | "inconclusive";
3216
3216
  evidence?: {
3217
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3217
3218
  id: string;
3218
3219
  label: string;
3219
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3220
3220
  capture: "at_action" | "historical_lookup" | "fixture";
3221
3221
  locator?: string | undefined;
3222
3222
  }[] | undefined;
@@ -3246,15 +3246,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3246
3246
  locator: z.ZodOptional<z.ZodString>;
3247
3247
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3248
3248
  }, "strict", z.ZodTypeAny, {
3249
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3249
3250
  id: string;
3250
3251
  label: string;
3251
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3252
3252
  capture: "at_action" | "historical_lookup" | "fixture";
3253
3253
  locator?: string | undefined;
3254
3254
  }, {
3255
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3255
3256
  id: string;
3256
3257
  label: string;
3257
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3258
3258
  capture: "at_action" | "historical_lookup" | "fixture";
3259
3259
  locator?: string | undefined;
3260
3260
  }>, "many">>;
@@ -3262,9 +3262,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3262
3262
  kind: "mission_started";
3263
3263
  title: string;
3264
3264
  evidence: {
3265
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3265
3266
  id: string;
3266
3267
  label: string;
3267
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3268
3268
  capture: "at_action" | "historical_lookup" | "fixture";
3269
3269
  locator?: string | undefined;
3270
3270
  }[];
@@ -3276,9 +3276,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3276
3276
  objective: string;
3277
3277
  runMode: "replay" | "fixture" | "live";
3278
3278
  evidence?: {
3279
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3279
3280
  id: string;
3280
3281
  label: string;
3281
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3282
3282
  capture: "at_action" | "historical_lookup" | "fixture";
3283
3283
  locator?: string | undefined;
3284
3284
  }[] | undefined;
@@ -3294,15 +3294,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3294
3294
  locator: z.ZodOptional<z.ZodString>;
3295
3295
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3296
3296
  }, "strict", z.ZodTypeAny, {
3297
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3297
3298
  id: string;
3298
3299
  label: string;
3299
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3300
3300
  capture: "at_action" | "historical_lookup" | "fixture";
3301
3301
  locator?: string | undefined;
3302
3302
  }, {
3303
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3303
3304
  id: string;
3304
3305
  label: string;
3305
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3306
3306
  capture: "at_action" | "historical_lookup" | "fixture";
3307
3307
  locator?: string | undefined;
3308
3308
  }>, "many">>;
@@ -3310,32 +3310,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3310
3310
  sessionId: z.ZodString;
3311
3311
  kind: z.ZodLiteral<"agent_status">;
3312
3312
  }, "strict", z.ZodTypeAny, {
3313
- label: string;
3314
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3315
3313
  kind: "agent_status";
3316
3314
  role: string;
3315
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3316
+ label: string;
3317
3317
  agentId: string;
3318
3318
  sessionId: string;
3319
3319
  evidence: {
3320
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3320
3321
  id: string;
3321
3322
  label: string;
3322
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3323
3323
  capture: "at_action" | "historical_lookup" | "fixture";
3324
3324
  locator?: string | undefined;
3325
3325
  }[];
3326
3326
  detail?: string | undefined;
3327
3327
  }, {
3328
- label: string;
3329
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3330
3328
  kind: "agent_status";
3331
3329
  role: string;
3330
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3331
+ label: string;
3332
3332
  agentId: string;
3333
3333
  sessionId: string;
3334
3334
  detail?: string | undefined;
3335
3335
  evidence?: {
3336
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3336
3337
  id: string;
3337
3338
  label: string;
3338
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3339
3339
  capture: "at_action" | "historical_lookup" | "fixture";
3340
3340
  locator?: string | undefined;
3341
3341
  }[] | undefined;
@@ -3349,15 +3349,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3349
3349
  locator: z.ZodOptional<z.ZodString>;
3350
3350
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3351
3351
  }, "strict", z.ZodTypeAny, {
3352
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3352
3353
  id: string;
3353
3354
  label: string;
3354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3355
3355
  capture: "at_action" | "historical_lookup" | "fixture";
3356
3356
  locator?: string | undefined;
3357
3357
  }, {
3358
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3358
3359
  id: string;
3359
3360
  label: string;
3360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3361
3361
  capture: "at_action" | "historical_lookup" | "fixture";
3362
3362
  locator?: string | undefined;
3363
3363
  }>, "many">>;
@@ -3365,28 +3365,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3365
3365
  sessionId: z.ZodString;
3366
3366
  kind: z.ZodLiteral<"agent_output">;
3367
3367
  }, "strict", z.ZodTypeAny, {
3368
- summary: string;
3369
3368
  kind: "agent_output";
3369
+ summary: string;
3370
3370
  agentId: string;
3371
3371
  sessionId: string;
3372
3372
  evidence: {
3373
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3373
3374
  id: string;
3374
3375
  label: string;
3375
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3376
3376
  capture: "at_action" | "historical_lookup" | "fixture";
3377
3377
  locator?: string | undefined;
3378
3378
  }[];
3379
3379
  outputId: string;
3380
3380
  }, {
3381
- summary: string;
3382
3381
  kind: "agent_output";
3382
+ summary: string;
3383
3383
  agentId: string;
3384
3384
  sessionId: string;
3385
3385
  outputId: string;
3386
3386
  evidence?: {
3387
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
3388
  id: string;
3388
3389
  label: string;
3389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3390
3390
  capture: "at_action" | "historical_lookup" | "fixture";
3391
3391
  locator?: string | undefined;
3392
3392
  }[] | undefined;
@@ -3402,15 +3402,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3402
3402
  locator: z.ZodOptional<z.ZodString>;
3403
3403
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3404
3404
  }, "strict", z.ZodTypeAny, {
3405
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3405
3406
  id: string;
3406
3407
  label: string;
3407
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3408
3408
  capture: "at_action" | "historical_lookup" | "fixture";
3409
3409
  locator?: string | undefined;
3410
3410
  }, {
3411
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3411
3412
  id: string;
3412
3413
  label: string;
3413
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3414
3414
  capture: "at_action" | "historical_lookup" | "fixture";
3415
3415
  locator?: string | undefined;
3416
3416
  }>, "many">>;
@@ -3423,9 +3423,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3423
3423
  statement: string;
3424
3424
  sessionId: string;
3425
3425
  evidence: {
3426
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3426
3427
  id: string;
3427
3428
  label: string;
3428
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3429
3429
  capture: "at_action" | "historical_lookup" | "fixture";
3430
3430
  locator?: string | undefined;
3431
3431
  }[];
@@ -3441,9 +3441,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3441
3441
  decisionId: string;
3442
3442
  confidence?: number | undefined;
3443
3443
  evidence?: {
3444
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3444
3445
  id: string;
3445
3446
  label: string;
3446
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3447
3447
  capture: "at_action" | "historical_lookup" | "fixture";
3448
3448
  locator?: string | undefined;
3449
3449
  }[] | undefined;
@@ -3460,25 +3460,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3460
3460
  locator: z.ZodOptional<z.ZodString>;
3461
3461
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3462
3462
  }, "strict", z.ZodTypeAny, {
3463
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3463
3464
  id: string;
3464
3465
  label: string;
3465
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3466
3466
  capture: "at_action" | "historical_lookup" | "fixture";
3467
3467
  locator?: string | undefined;
3468
3468
  }, {
3469
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3469
3470
  id: string;
3470
3471
  label: string;
3471
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3472
3472
  capture: "at_action" | "historical_lookup" | "fixture";
3473
3473
  locator?: string | undefined;
3474
3474
  }>, "many">>;
3475
3475
  }, "strict", z.ZodTypeAny, {
3476
- summary: string;
3477
3476
  kind: "conflict_detected";
3477
+ summary: string;
3478
3478
  evidence: {
3479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3479
3480
  id: string;
3480
3481
  label: string;
3481
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3482
3482
  capture: "at_action" | "historical_lookup" | "fixture";
3483
3483
  locator?: string | undefined;
3484
3484
  }[];
@@ -3486,15 +3486,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3486
3486
  decisionIds: string[];
3487
3487
  agentIds: string[];
3488
3488
  }, {
3489
- summary: string;
3490
3489
  kind: "conflict_detected";
3490
+ summary: string;
3491
3491
  conflictId: string;
3492
3492
  decisionIds: string[];
3493
3493
  agentIds: string[];
3494
3494
  evidence?: {
3495
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3495
3496
  id: string;
3496
3497
  label: string;
3497
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3498
3498
  capture: "at_action" | "historical_lookup" | "fixture";
3499
3499
  locator?: string | undefined;
3500
3500
  }[] | undefined;
@@ -3514,27 +3514,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3514
3514
  locator: z.ZodOptional<z.ZodString>;
3515
3515
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3516
3516
  }, "strict", z.ZodTypeAny, {
3517
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3517
3518
  id: string;
3518
3519
  label: string;
3519
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3520
3520
  capture: "at_action" | "historical_lookup" | "fixture";
3521
3521
  locator?: string | undefined;
3522
3522
  }, {
3523
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3523
3524
  id: string;
3524
3525
  label: string;
3525
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3526
3526
  capture: "at_action" | "historical_lookup" | "fixture";
3527
3527
  locator?: string | undefined;
3528
3528
  }>, "many">>;
3529
3529
  }, "strict", z.ZodTypeAny, {
3530
- summary: string;
3531
- status: "error" | "failed" | "passed";
3532
3530
  kind: "test_result";
3531
+ summary: string;
3533
3532
  command: string;
3533
+ status: "error" | "failed" | "passed";
3534
3534
  evidence: {
3535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3535
3536
  id: string;
3536
3537
  label: string;
3537
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3538
3538
  capture: "at_action" | "historical_lookup" | "fixture";
3539
3539
  locator?: string | undefined;
3540
3540
  }[];
@@ -3543,17 +3543,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3543
3543
  durationMs?: number | undefined;
3544
3544
  correctionId?: string | undefined;
3545
3545
  }, {
3546
- summary: string;
3547
- status: "error" | "failed" | "passed";
3548
3546
  kind: "test_result";
3547
+ summary: string;
3549
3548
  command: string;
3549
+ status: "error" | "failed" | "passed";
3550
3550
  decisionId: string;
3551
3551
  testId: string;
3552
3552
  durationMs?: number | undefined;
3553
3553
  evidence?: {
3554
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3554
3555
  id: string;
3555
3556
  label: string;
3556
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3557
3557
  capture: "at_action" | "historical_lookup" | "fixture";
3558
3558
  locator?: string | undefined;
3559
3559
  }[] | undefined;
@@ -3574,15 +3574,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3574
3574
  locator: z.ZodOptional<z.ZodString>;
3575
3575
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3576
3576
  }, "strict", z.ZodTypeAny, {
3577
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3577
3578
  id: string;
3578
3579
  label: string;
3579
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3580
3580
  capture: "at_action" | "historical_lookup" | "fixture";
3581
3581
  locator?: string | undefined;
3582
3582
  }, {
3583
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3583
3584
  id: string;
3584
3585
  label: string;
3585
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3586
3586
  capture: "at_action" | "historical_lookup" | "fixture";
3587
3587
  locator?: string | undefined;
3588
3588
  }>, "many">>;
@@ -3591,9 +3591,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3591
3591
  rationale: string;
3592
3592
  statement: string;
3593
3593
  evidence: {
3594
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3594
3595
  id: string;
3595
3596
  label: string;
3596
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3597
3597
  capture: "at_action" | "historical_lookup" | "fixture";
3598
3598
  locator?: string | undefined;
3599
3599
  }[];
@@ -3612,9 +3612,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3612
3612
  supersedesDecisionIds: string[];
3613
3613
  proposedBy: string;
3614
3614
  evidence?: {
3615
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3615
3616
  id: string;
3616
3617
  label: string;
3617
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3618
3618
  capture: "at_action" | "historical_lookup" | "fixture";
3619
3619
  locator?: string | undefined;
3620
3620
  }[] | undefined;
@@ -3626,13 +3626,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3626
3626
  id: z.ZodString;
3627
3627
  label: z.ZodString;
3628
3628
  }, "strict", z.ZodTypeAny, {
3629
+ kind: "agent" | "human";
3629
3630
  id: string;
3630
3631
  label: string;
3631
- kind: "agent" | "human";
3632
3632
  }, {
3633
+ kind: "agent" | "human";
3633
3634
  id: string;
3634
3635
  label: string;
3635
- kind: "agent" | "human";
3636
3636
  }>;
3637
3637
  note: z.ZodOptional<z.ZodString>;
3638
3638
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3642,47 +3642,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3642
3642
  locator: z.ZodOptional<z.ZodString>;
3643
3643
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3644
3644
  }, "strict", z.ZodTypeAny, {
3645
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3645
3646
  id: string;
3646
3647
  label: string;
3647
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3648
3648
  capture: "at_action" | "historical_lookup" | "fixture";
3649
3649
  locator?: string | undefined;
3650
3650
  }, {
3651
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
3652
  id: string;
3652
3653
  label: string;
3653
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3654
3654
  capture: "at_action" | "historical_lookup" | "fixture";
3655
3655
  locator?: string | undefined;
3656
3656
  }>, "many">>;
3657
3657
  }, "strict", z.ZodTypeAny, {
3658
3658
  kind: "correction_approved";
3659
3659
  evidence: {
3660
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3660
3661
  id: string;
3661
3662
  label: string;
3662
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3663
3663
  capture: "at_action" | "historical_lookup" | "fixture";
3664
3664
  locator?: string | undefined;
3665
3665
  }[];
3666
3666
  correctionId: string;
3667
3667
  approvedBy: {
3668
+ kind: "agent" | "human";
3668
3669
  id: string;
3669
3670
  label: string;
3670
- kind: "agent" | "human";
3671
3671
  };
3672
3672
  note?: string | undefined;
3673
3673
  }, {
3674
3674
  kind: "correction_approved";
3675
3675
  correctionId: string;
3676
3676
  approvedBy: {
3677
+ kind: "agent" | "human";
3677
3678
  id: string;
3678
3679
  label: string;
3679
- kind: "agent" | "human";
3680
3680
  };
3681
3681
  note?: string | undefined;
3682
3682
  evidence?: {
3683
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3683
3684
  id: string;
3684
3685
  label: string;
3685
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3686
3686
  capture: "at_action" | "historical_lookup" | "fixture";
3687
3687
  locator?: string | undefined;
3688
3688
  }[] | undefined;
@@ -3698,24 +3698,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3698
3698
  locator: z.ZodOptional<z.ZodString>;
3699
3699
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3700
3700
  }, "strict", z.ZodTypeAny, {
3701
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3701
3702
  id: string;
3702
3703
  label: string;
3703
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3704
3704
  capture: "at_action" | "historical_lookup" | "fixture";
3705
3705
  locator?: string | undefined;
3706
3706
  }, {
3707
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3707
3708
  id: string;
3708
3709
  label: string;
3709
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3710
3710
  capture: "at_action" | "historical_lookup" | "fixture";
3711
3711
  locator?: string | undefined;
3712
3712
  }>, "many">>;
3713
3713
  }, "strict", z.ZodTypeAny, {
3714
3714
  kind: "decision_superseded";
3715
3715
  evidence: {
3716
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3716
3717
  id: string;
3717
3718
  label: string;
3718
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3719
3719
  capture: "at_action" | "historical_lookup" | "fixture";
3720
3720
  locator?: string | undefined;
3721
3721
  }[];
@@ -3728,9 +3728,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3728
3728
  correctionId: string;
3729
3729
  replacementDecisionId: string;
3730
3730
  evidence?: {
3731
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3731
3732
  id: string;
3732
3733
  label: string;
3733
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3734
3734
  capture: "at_action" | "historical_lookup" | "fixture";
3735
3735
  locator?: string | undefined;
3736
3736
  }[] | undefined;
@@ -3746,15 +3746,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3746
3746
  locator: z.ZodOptional<z.ZodString>;
3747
3747
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3748
3748
  }, "strict", z.ZodTypeAny, {
3749
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3749
3750
  id: string;
3750
3751
  label: string;
3751
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3752
3752
  capture: "at_action" | "historical_lookup" | "fixture";
3753
3753
  locator?: string | undefined;
3754
3754
  }, {
3755
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3755
3756
  id: string;
3756
3757
  label: string;
3757
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3758
3758
  capture: "at_action" | "historical_lookup" | "fixture";
3759
3759
  locator?: string | undefined;
3760
3760
  }>, "many">>;
@@ -3767,9 +3767,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3767
3767
  agentId: string;
3768
3768
  sessionId: string;
3769
3769
  evidence: {
3770
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3770
3771
  id: string;
3771
3772
  label: string;
3772
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
3773
  capture: "at_action" | "historical_lookup" | "fixture";
3774
3774
  locator?: string | undefined;
3775
3775
  }[];
@@ -3785,9 +3785,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3785
3785
  recallReceiptId: string;
3786
3786
  capturedAtAction: boolean;
3787
3787
  evidence?: {
3788
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3788
3789
  id: string;
3789
3790
  label: string;
3790
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3791
3791
  capture: "at_action" | "historical_lookup" | "fixture";
3792
3792
  locator?: string | undefined;
3793
3793
  }[] | undefined;
@@ -3803,15 +3803,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3803
3803
  locator: z.ZodOptional<z.ZodString>;
3804
3804
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3805
3805
  }, "strict", z.ZodTypeAny, {
3806
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3806
3807
  id: string;
3807
3808
  label: string;
3808
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3809
3809
  capture: "at_action" | "historical_lookup" | "fixture";
3810
3810
  locator?: string | undefined;
3811
3811
  }, {
3812
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3812
3813
  id: string;
3813
3814
  label: string;
3814
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3815
3815
  capture: "at_action" | "historical_lookup" | "fixture";
3816
3816
  locator?: string | undefined;
3817
3817
  }>, "many">>;
@@ -3823,9 +3823,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3823
3823
  agentId: string;
3824
3824
  sessionId: string;
3825
3825
  evidence: {
3826
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3826
3827
  id: string;
3827
3828
  label: string;
3828
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3829
3829
  capture: "at_action" | "historical_lookup" | "fixture";
3830
3830
  locator?: string | undefined;
3831
3831
  }[];
@@ -3842,9 +3842,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3842
3842
  recallReceiptId: string;
3843
3843
  staleDecisionAbsent: boolean;
3844
3844
  evidence?: {
3845
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3845
3846
  id: string;
3846
3847
  label: string;
3847
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3848
3848
  capture: "at_action" | "historical_lookup" | "fixture";
3849
3849
  locator?: string | undefined;
3850
3850
  }[] | undefined;
@@ -3859,37 +3859,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3859
3859
  locator: z.ZodOptional<z.ZodString>;
3860
3860
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3861
3861
  }, "strict", z.ZodTypeAny, {
3862
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3862
3863
  id: string;
3863
3864
  label: string;
3864
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3865
3865
  capture: "at_action" | "historical_lookup" | "fixture";
3866
3866
  locator?: string | undefined;
3867
3867
  }, {
3868
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3868
3869
  id: string;
3869
3870
  label: string;
3870
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3871
3871
  capture: "at_action" | "historical_lookup" | "fixture";
3872
3872
  locator?: string | undefined;
3873
3873
  }>, "many">>;
3874
3874
  }, "strict", z.ZodTypeAny, {
3875
- summary: string;
3876
3875
  kind: "mission_completed";
3876
+ summary: string;
3877
3877
  outcome: "failed" | "recovered" | "inconclusive";
3878
3878
  evidence: {
3879
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3879
3880
  id: string;
3880
3881
  label: string;
3881
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3882
3882
  capture: "at_action" | "historical_lookup" | "fixture";
3883
3883
  locator?: string | undefined;
3884
3884
  }[];
3885
3885
  }, {
3886
- summary: string;
3887
3886
  kind: "mission_completed";
3887
+ summary: string;
3888
3888
  outcome: "failed" | "recovered" | "inconclusive";
3889
3889
  evidence?: {
3890
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3890
3891
  id: string;
3891
3892
  label: string;
3892
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3894
  locator?: string | undefined;
3895
3895
  }[] | undefined;
@@ -3897,38 +3897,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3897
3897
  kind: "mission_started";
3898
3898
  title: string;
3899
3899
  evidence: {
3900
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3900
3901
  id: string;
3901
3902
  label: string;
3902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3903
3903
  capture: "at_action" | "historical_lookup" | "fixture";
3904
3904
  locator?: string | undefined;
3905
3905
  }[];
3906
3906
  objective: string;
3907
3907
  runMode: "replay" | "fixture" | "live";
3908
3908
  } | {
3909
- label: string;
3910
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3911
3909
  kind: "agent_status";
3912
3910
  role: string;
3911
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3912
+ label: string;
3913
3913
  agentId: string;
3914
3914
  sessionId: string;
3915
3915
  evidence: {
3916
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3916
3917
  id: string;
3917
3918
  label: string;
3918
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3919
3919
  capture: "at_action" | "historical_lookup" | "fixture";
3920
3920
  locator?: string | undefined;
3921
3921
  }[];
3922
3922
  detail?: string | undefined;
3923
3923
  } | {
3924
- summary: string;
3925
3924
  kind: "agent_output";
3925
+ summary: string;
3926
3926
  agentId: string;
3927
3927
  sessionId: string;
3928
3928
  evidence: {
3929
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3929
3930
  id: string;
3930
3931
  label: string;
3931
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3932
3932
  capture: "at_action" | "historical_lookup" | "fixture";
3933
3933
  locator?: string | undefined;
3934
3934
  }[];
@@ -3939,9 +3939,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3939
3939
  statement: string;
3940
3940
  sessionId: string;
3941
3941
  evidence: {
3942
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3942
3943
  id: string;
3943
3944
  label: string;
3944
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3945
3945
  capture: "at_action" | "historical_lookup" | "fixture";
3946
3946
  locator?: string | undefined;
3947
3947
  }[];
@@ -3949,12 +3949,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3949
3949
  decisionId: string;
3950
3950
  confidence?: number | undefined;
3951
3951
  } | {
3952
- summary: string;
3953
3952
  kind: "conflict_detected";
3953
+ summary: string;
3954
3954
  evidence: {
3955
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
3956
  id: string;
3956
3957
  label: string;
3957
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3958
3958
  capture: "at_action" | "historical_lookup" | "fixture";
3959
3959
  locator?: string | undefined;
3960
3960
  }[];
@@ -3962,14 +3962,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3962
3962
  decisionIds: string[];
3963
3963
  agentIds: string[];
3964
3964
  } | {
3965
- summary: string;
3966
- status: "error" | "failed" | "passed";
3967
3965
  kind: "test_result";
3966
+ summary: string;
3968
3967
  command: string;
3968
+ status: "error" | "failed" | "passed";
3969
3969
  evidence: {
3970
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3970
3971
  id: string;
3971
3972
  label: string;
3972
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3973
3973
  capture: "at_action" | "historical_lookup" | "fixture";
3974
3974
  locator?: string | undefined;
3975
3975
  }[];
@@ -3982,9 +3982,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3982
3982
  rationale: string;
3983
3983
  statement: string;
3984
3984
  evidence: {
3985
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3985
3986
  id: string;
3986
3987
  label: string;
3987
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3988
3988
  capture: "at_action" | "historical_lookup" | "fixture";
3989
3989
  locator?: string | undefined;
3990
3990
  }[];
@@ -3996,25 +3996,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3996
3996
  } | {
3997
3997
  kind: "correction_approved";
3998
3998
  evidence: {
3999
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3999
4000
  id: string;
4000
4001
  label: string;
4001
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4002
4002
  capture: "at_action" | "historical_lookup" | "fixture";
4003
4003
  locator?: string | undefined;
4004
4004
  }[];
4005
4005
  correctionId: string;
4006
4006
  approvedBy: {
4007
+ kind: "agent" | "human";
4007
4008
  id: string;
4008
4009
  label: string;
4009
- kind: "agent" | "human";
4010
4010
  };
4011
4011
  note?: string | undefined;
4012
4012
  } | {
4013
4013
  kind: "decision_superseded";
4014
4014
  evidence: {
4015
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4015
4016
  id: string;
4016
4017
  label: string;
4017
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4018
4018
  capture: "at_action" | "historical_lookup" | "fixture";
4019
4019
  locator?: string | undefined;
4020
4020
  }[];
@@ -4027,9 +4027,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4027
4027
  agentId: string;
4028
4028
  sessionId: string;
4029
4029
  evidence: {
4030
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4030
4031
  id: string;
4031
4032
  label: string;
4032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4033
4033
  capture: "at_action" | "historical_lookup" | "fixture";
4034
4034
  locator?: string | undefined;
4035
4035
  }[];
@@ -4041,9 +4041,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4041
4041
  agentId: string;
4042
4042
  sessionId: string;
4043
4043
  evidence: {
4044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4044
4045
  id: string;
4045
4046
  label: string;
4046
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4047
4047
  capture: "at_action" | "historical_lookup" | "fixture";
4048
4048
  locator?: string | undefined;
4049
4049
  }[];
@@ -4052,13 +4052,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4052
4052
  recallReceiptId: string;
4053
4053
  staleDecisionAbsent: boolean;
4054
4054
  } | {
4055
- summary: string;
4056
4055
  kind: "mission_completed";
4056
+ summary: string;
4057
4057
  outcome: "failed" | "recovered" | "inconclusive";
4058
4058
  evidence: {
4059
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4059
4060
  id: string;
4060
4061
  label: string;
4061
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4062
4062
  capture: "at_action" | "historical_lookup" | "fixture";
4063
4063
  locator?: string | undefined;
4064
4064
  }[];
@@ -4068,37 +4068,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4068
4068
  objective: string;
4069
4069
  runMode: "replay" | "fixture" | "live";
4070
4070
  evidence?: {
4071
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4071
4072
  id: string;
4072
4073
  label: string;
4073
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4074
4074
  capture: "at_action" | "historical_lookup" | "fixture";
4075
4075
  locator?: string | undefined;
4076
4076
  }[] | undefined;
4077
4077
  } | {
4078
- label: string;
4079
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4080
4078
  kind: "agent_status";
4081
4079
  role: string;
4080
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4081
+ label: string;
4082
4082
  agentId: string;
4083
4083
  sessionId: string;
4084
4084
  detail?: string | undefined;
4085
4085
  evidence?: {
4086
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4086
4087
  id: string;
4087
4088
  label: string;
4088
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4089
4089
  capture: "at_action" | "historical_lookup" | "fixture";
4090
4090
  locator?: string | undefined;
4091
4091
  }[] | undefined;
4092
4092
  } | {
4093
- summary: string;
4094
4093
  kind: "agent_output";
4094
+ summary: string;
4095
4095
  agentId: string;
4096
4096
  sessionId: string;
4097
4097
  outputId: string;
4098
4098
  evidence?: {
4099
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4099
4100
  id: string;
4100
4101
  label: string;
4101
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4102
4102
  capture: "at_action" | "historical_lookup" | "fixture";
4103
4103
  locator?: string | undefined;
4104
4104
  }[] | undefined;
@@ -4111,37 +4111,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4111
4111
  decisionId: string;
4112
4112
  confidence?: number | undefined;
4113
4113
  evidence?: {
4114
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4114
4115
  id: string;
4115
4116
  label: string;
4116
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4117
4117
  capture: "at_action" | "historical_lookup" | "fixture";
4118
4118
  locator?: string | undefined;
4119
4119
  }[] | undefined;
4120
4120
  } | {
4121
- summary: string;
4122
4121
  kind: "conflict_detected";
4122
+ summary: string;
4123
4123
  conflictId: string;
4124
4124
  decisionIds: string[];
4125
4125
  agentIds: string[];
4126
4126
  evidence?: {
4127
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4127
4128
  id: string;
4128
4129
  label: string;
4129
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4130
4130
  capture: "at_action" | "historical_lookup" | "fixture";
4131
4131
  locator?: string | undefined;
4132
4132
  }[] | undefined;
4133
4133
  } | {
4134
- summary: string;
4135
- status: "error" | "failed" | "passed";
4136
4134
  kind: "test_result";
4135
+ summary: string;
4137
4136
  command: string;
4137
+ status: "error" | "failed" | "passed";
4138
4138
  decisionId: string;
4139
4139
  testId: string;
4140
4140
  durationMs?: number | undefined;
4141
4141
  evidence?: {
4142
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4142
4143
  id: string;
4143
4144
  label: string;
4144
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4145
4145
  capture: "at_action" | "historical_lookup" | "fixture";
4146
4146
  locator?: string | undefined;
4147
4147
  }[] | undefined;
@@ -4156,9 +4156,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4156
4156
  supersedesDecisionIds: string[];
4157
4157
  proposedBy: string;
4158
4158
  evidence?: {
4159
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4159
4160
  id: string;
4160
4161
  label: string;
4161
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4162
4162
  capture: "at_action" | "historical_lookup" | "fixture";
4163
4163
  locator?: string | undefined;
4164
4164
  }[] | undefined;
@@ -4166,15 +4166,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4166
4166
  kind: "correction_approved";
4167
4167
  correctionId: string;
4168
4168
  approvedBy: {
4169
+ kind: "agent" | "human";
4169
4170
  id: string;
4170
4171
  label: string;
4171
- kind: "agent" | "human";
4172
4172
  };
4173
4173
  note?: string | undefined;
4174
4174
  evidence?: {
4175
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4175
4176
  id: string;
4176
4177
  label: string;
4177
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
4178
  capture: "at_action" | "historical_lookup" | "fixture";
4179
4179
  locator?: string | undefined;
4180
4180
  }[] | undefined;
@@ -4184,9 +4184,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4184
4184
  correctionId: string;
4185
4185
  replacementDecisionId: string;
4186
4186
  evidence?: {
4187
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4187
4188
  id: string;
4188
4189
  label: string;
4189
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4190
4190
  capture: "at_action" | "historical_lookup" | "fixture";
4191
4191
  locator?: string | undefined;
4192
4192
  }[] | undefined;
@@ -4199,9 +4199,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4199
4199
  recallReceiptId: string;
4200
4200
  capturedAtAction: boolean;
4201
4201
  evidence?: {
4202
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4202
4203
  id: string;
4203
4204
  label: string;
4204
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4205
4205
  capture: "at_action" | "historical_lookup" | "fixture";
4206
4206
  locator?: string | undefined;
4207
4207
  }[] | undefined;
@@ -4214,64 +4214,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4214
4214
  recallReceiptId: string;
4215
4215
  staleDecisionAbsent: boolean;
4216
4216
  evidence?: {
4217
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4217
4218
  id: string;
4218
4219
  label: string;
4219
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4220
4220
  capture: "at_action" | "historical_lookup" | "fixture";
4221
4221
  locator?: string | undefined;
4222
4222
  }[] | undefined;
4223
4223
  } | {
4224
- summary: string;
4225
4224
  kind: "mission_completed";
4225
+ summary: string;
4226
4226
  outcome: "failed" | "recovered" | "inconclusive";
4227
4227
  evidence?: {
4228
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4228
4229
  id: string;
4229
4230
  label: string;
4230
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4231
4231
  capture: "at_action" | "historical_lookup" | "fixture";
4232
4232
  locator?: string | undefined;
4233
4233
  }[] | undefined;
4234
4234
  }>;
4235
4235
  }, "strict", z.ZodTypeAny, {
4236
- namespace: string;
4237
4236
  recordedAt: string;
4238
4237
  schemaVersion: "1";
4239
4238
  payload: {
4240
4239
  kind: "mission_started";
4241
4240
  title: string;
4242
4241
  evidence: {
4242
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4243
4243
  id: string;
4244
4244
  label: string;
4245
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4246
4245
  capture: "at_action" | "historical_lookup" | "fixture";
4247
4246
  locator?: string | undefined;
4248
4247
  }[];
4249
4248
  objective: string;
4250
4249
  runMode: "replay" | "fixture" | "live";
4251
4250
  } | {
4252
- label: string;
4253
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4254
4251
  kind: "agent_status";
4255
4252
  role: string;
4253
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4254
+ label: string;
4256
4255
  agentId: string;
4257
4256
  sessionId: string;
4258
4257
  evidence: {
4258
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4259
4259
  id: string;
4260
4260
  label: string;
4261
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
4261
  capture: "at_action" | "historical_lookup" | "fixture";
4263
4262
  locator?: string | undefined;
4264
4263
  }[];
4265
4264
  detail?: string | undefined;
4266
4265
  } | {
4267
- summary: string;
4268
4266
  kind: "agent_output";
4267
+ summary: string;
4269
4268
  agentId: string;
4270
4269
  sessionId: string;
4271
4270
  evidence: {
4271
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
4272
  id: string;
4273
4273
  label: string;
4274
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4275
4274
  capture: "at_action" | "historical_lookup" | "fixture";
4276
4275
  locator?: string | undefined;
4277
4276
  }[];
@@ -4282,9 +4281,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4282
4281
  statement: string;
4283
4282
  sessionId: string;
4284
4283
  evidence: {
4284
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4285
4285
  id: string;
4286
4286
  label: string;
4287
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
4287
  capture: "at_action" | "historical_lookup" | "fixture";
4289
4288
  locator?: string | undefined;
4290
4289
  }[];
@@ -4292,12 +4291,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4292
4291
  decisionId: string;
4293
4292
  confidence?: number | undefined;
4294
4293
  } | {
4295
- summary: string;
4296
4294
  kind: "conflict_detected";
4295
+ summary: string;
4297
4296
  evidence: {
4297
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4298
4298
  id: string;
4299
4299
  label: string;
4300
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4301
4300
  capture: "at_action" | "historical_lookup" | "fixture";
4302
4301
  locator?: string | undefined;
4303
4302
  }[];
@@ -4305,14 +4304,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4305
4304
  decisionIds: string[];
4306
4305
  agentIds: string[];
4307
4306
  } | {
4308
- summary: string;
4309
- status: "error" | "failed" | "passed";
4310
4307
  kind: "test_result";
4308
+ summary: string;
4311
4309
  command: string;
4310
+ status: "error" | "failed" | "passed";
4312
4311
  evidence: {
4312
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4313
4313
  id: string;
4314
4314
  label: string;
4315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4316
4315
  capture: "at_action" | "historical_lookup" | "fixture";
4317
4316
  locator?: string | undefined;
4318
4317
  }[];
@@ -4325,9 +4324,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4325
4324
  rationale: string;
4326
4325
  statement: string;
4327
4326
  evidence: {
4327
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4328
4328
  id: string;
4329
4329
  label: string;
4330
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4331
4330
  capture: "at_action" | "historical_lookup" | "fixture";
4332
4331
  locator?: string | undefined;
4333
4332
  }[];
@@ -4339,25 +4338,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4339
4338
  } | {
4340
4339
  kind: "correction_approved";
4341
4340
  evidence: {
4341
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4342
4342
  id: string;
4343
4343
  label: string;
4344
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4345
4344
  capture: "at_action" | "historical_lookup" | "fixture";
4346
4345
  locator?: string | undefined;
4347
4346
  }[];
4348
4347
  correctionId: string;
4349
4348
  approvedBy: {
4349
+ kind: "agent" | "human";
4350
4350
  id: string;
4351
4351
  label: string;
4352
- kind: "agent" | "human";
4353
4352
  };
4354
4353
  note?: string | undefined;
4355
4354
  } | {
4356
4355
  kind: "decision_superseded";
4357
4356
  evidence: {
4357
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4358
4358
  id: string;
4359
4359
  label: string;
4360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4361
4360
  capture: "at_action" | "historical_lookup" | "fixture";
4362
4361
  locator?: string | undefined;
4363
4362
  }[];
@@ -4370,9 +4369,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4370
4369
  agentId: string;
4371
4370
  sessionId: string;
4372
4371
  evidence: {
4372
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4373
4373
  id: string;
4374
4374
  label: string;
4375
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4376
4375
  capture: "at_action" | "historical_lookup" | "fixture";
4377
4376
  locator?: string | undefined;
4378
4377
  }[];
@@ -4384,9 +4383,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4384
4383
  agentId: string;
4385
4384
  sessionId: string;
4386
4385
  evidence: {
4386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
4387
  id: string;
4388
4388
  label: string;
4389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4390
4389
  capture: "at_action" | "historical_lookup" | "fixture";
4391
4390
  locator?: string | undefined;
4392
4391
  }[];
@@ -4395,24 +4394,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4395
4394
  recallReceiptId: string;
4396
4395
  staleDecisionAbsent: boolean;
4397
4396
  } | {
4398
- summary: string;
4399
4397
  kind: "mission_completed";
4398
+ summary: string;
4400
4399
  outcome: "failed" | "recovered" | "inconclusive";
4401
4400
  evidence: {
4401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
4402
  id: string;
4403
4403
  label: string;
4404
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4405
4404
  capture: "at_action" | "historical_lookup" | "fixture";
4406
4405
  locator?: string | undefined;
4407
4406
  }[];
4408
4407
  };
4408
+ namespace: string;
4409
4409
  eventId: string;
4410
4410
  occurredAt: string;
4411
4411
  missionId: string;
4412
4412
  authenticatedPrincipal?: string | undefined;
4413
4413
  idempotencyKey?: string | undefined;
4414
4414
  }, {
4415
- namespace: string;
4416
4415
  recordedAt: string;
4417
4416
  schemaVersion: "1";
4418
4417
  payload: {
@@ -4421,37 +4420,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4421
4420
  objective: string;
4422
4421
  runMode: "replay" | "fixture" | "live";
4423
4422
  evidence?: {
4423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4424
4424
  id: string;
4425
4425
  label: string;
4426
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
4426
  capture: "at_action" | "historical_lookup" | "fixture";
4428
4427
  locator?: string | undefined;
4429
4428
  }[] | undefined;
4430
4429
  } | {
4431
- label: string;
4432
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4433
4430
  kind: "agent_status";
4434
4431
  role: string;
4432
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4433
+ label: string;
4435
4434
  agentId: string;
4436
4435
  sessionId: string;
4437
4436
  detail?: string | undefined;
4438
4437
  evidence?: {
4438
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4439
4439
  id: string;
4440
4440
  label: string;
4441
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4442
4441
  capture: "at_action" | "historical_lookup" | "fixture";
4443
4442
  locator?: string | undefined;
4444
4443
  }[] | undefined;
4445
4444
  } | {
4446
- summary: string;
4447
4445
  kind: "agent_output";
4446
+ summary: string;
4448
4447
  agentId: string;
4449
4448
  sessionId: string;
4450
4449
  outputId: string;
4451
4450
  evidence?: {
4451
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4452
4452
  id: string;
4453
4453
  label: string;
4454
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4455
4454
  capture: "at_action" | "historical_lookup" | "fixture";
4456
4455
  locator?: string | undefined;
4457
4456
  }[] | undefined;
@@ -4464,37 +4463,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4464
4463
  decisionId: string;
4465
4464
  confidence?: number | undefined;
4466
4465
  evidence?: {
4466
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4467
4467
  id: string;
4468
4468
  label: string;
4469
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4470
4469
  capture: "at_action" | "historical_lookup" | "fixture";
4471
4470
  locator?: string | undefined;
4472
4471
  }[] | undefined;
4473
4472
  } | {
4474
- summary: string;
4475
4473
  kind: "conflict_detected";
4474
+ summary: string;
4476
4475
  conflictId: string;
4477
4476
  decisionIds: string[];
4478
4477
  agentIds: string[];
4479
4478
  evidence?: {
4479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4480
4480
  id: string;
4481
4481
  label: string;
4482
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4483
4482
  capture: "at_action" | "historical_lookup" | "fixture";
4484
4483
  locator?: string | undefined;
4485
4484
  }[] | undefined;
4486
4485
  } | {
4487
- summary: string;
4488
- status: "error" | "failed" | "passed";
4489
4486
  kind: "test_result";
4487
+ summary: string;
4490
4488
  command: string;
4489
+ status: "error" | "failed" | "passed";
4491
4490
  decisionId: string;
4492
4491
  testId: string;
4493
4492
  durationMs?: number | undefined;
4494
4493
  evidence?: {
4494
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4495
4495
  id: string;
4496
4496
  label: string;
4497
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4498
4497
  capture: "at_action" | "historical_lookup" | "fixture";
4499
4498
  locator?: string | undefined;
4500
4499
  }[] | undefined;
@@ -4509,9 +4508,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4509
4508
  supersedesDecisionIds: string[];
4510
4509
  proposedBy: string;
4511
4510
  evidence?: {
4511
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4512
4512
  id: string;
4513
4513
  label: string;
4514
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4515
4514
  capture: "at_action" | "historical_lookup" | "fixture";
4516
4515
  locator?: string | undefined;
4517
4516
  }[] | undefined;
@@ -4519,15 +4518,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4519
4518
  kind: "correction_approved";
4520
4519
  correctionId: string;
4521
4520
  approvedBy: {
4521
+ kind: "agent" | "human";
4522
4522
  id: string;
4523
4523
  label: string;
4524
- kind: "agent" | "human";
4525
4524
  };
4526
4525
  note?: string | undefined;
4527
4526
  evidence?: {
4527
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4528
4528
  id: string;
4529
4529
  label: string;
4530
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4531
4530
  capture: "at_action" | "historical_lookup" | "fixture";
4532
4531
  locator?: string | undefined;
4533
4532
  }[] | undefined;
@@ -4537,9 +4536,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4537
4536
  correctionId: string;
4538
4537
  replacementDecisionId: string;
4539
4538
  evidence?: {
4539
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4540
4540
  id: string;
4541
4541
  label: string;
4542
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
4542
  capture: "at_action" | "historical_lookup" | "fixture";
4544
4543
  locator?: string | undefined;
4545
4544
  }[] | undefined;
@@ -4552,9 +4551,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4552
4551
  recallReceiptId: string;
4553
4552
  capturedAtAction: boolean;
4554
4553
  evidence?: {
4554
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4555
4555
  id: string;
4556
4556
  label: string;
4557
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4558
4557
  capture: "at_action" | "historical_lookup" | "fixture";
4559
4558
  locator?: string | undefined;
4560
4559
  }[] | undefined;
@@ -4567,24 +4566,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4567
4566
  recallReceiptId: string;
4568
4567
  staleDecisionAbsent: boolean;
4569
4568
  evidence?: {
4569
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4570
4570
  id: string;
4571
4571
  label: string;
4572
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4573
4572
  capture: "at_action" | "historical_lookup" | "fixture";
4574
4573
  locator?: string | undefined;
4575
4574
  }[] | undefined;
4576
4575
  } | {
4577
- summary: string;
4578
4576
  kind: "mission_completed";
4577
+ summary: string;
4579
4578
  outcome: "failed" | "recovered" | "inconclusive";
4580
4579
  evidence?: {
4580
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4581
4581
  id: string;
4582
4582
  label: string;
4583
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4584
4583
  capture: "at_action" | "historical_lookup" | "fixture";
4585
4584
  locator?: string | undefined;
4586
4585
  }[] | undefined;
4587
4586
  };
4587
+ namespace: string;
4588
4588
  eventId: string;
4589
4589
  occurredAt: string;
4590
4590
  missionId: string;