@remnic/core 9.45.0 → 9.45.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (383) hide show
  1. package/dist/access-admin-ops-surface.d.ts +10 -10
  2. package/dist/access-admin-ops-surface.js +25 -25
  3. package/dist/access-audit.js +2 -2
  4. package/dist/access-authorization-probe.d.ts +10 -10
  5. package/dist/access-authorization-probe.js +26 -26
  6. package/dist/access-boundary.d.ts +10 -10
  7. package/dist/access-boundary.js +25 -25
  8. package/dist/access-cli.js +69 -68
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +10 -10
  11. package/dist/access-extraction-force-flush.js +25 -25
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +10 -10
  14. package/dist/access-http-lifecycle-flush.d.ts +10 -10
  15. package/dist/access-http-query.js +25 -25
  16. package/dist/access-http.d.ts +10 -10
  17. package/dist/access-http.js +34 -34
  18. package/dist/access-identity-continuity-surface.d.ts +8 -8
  19. package/dist/access-identity-continuity-surface.js +25 -25
  20. package/dist/access-lcm-surface.d.ts +10 -10
  21. package/dist/access-lcm-surface.js +25 -25
  22. package/dist/access-mcp.d.ts +10 -10
  23. package/dist/access-mcp.js +30 -30
  24. package/dist/access-memory-search-fanout.d.ts +2 -2
  25. package/dist/{access-namespace-preflight-47dOyty9.d.ts → access-namespace-preflight-5yZ4g6F8.d.ts} +1 -1
  26. package/dist/access-namespace-preflight.d.ts +3 -3
  27. package/dist/access-namespace-preflight.js +25 -25
  28. package/dist/access-observe-write-surface.d.ts +10 -10
  29. package/dist/access-observe-write-surface.js +25 -25
  30. package/dist/access-operations-batch.js +27 -27
  31. package/dist/access-operations.d.ts +13 -13
  32. package/dist/access-operations.js +29 -29
  33. package/dist/access-recall-concurrency.d.ts +10 -10
  34. package/dist/access-recall-concurrency.js +25 -25
  35. package/dist/access-recall-response.d.ts +10 -10
  36. package/dist/access-recall-response.js +25 -25
  37. package/dist/access-recall-surface.d.ts +10 -10
  38. package/dist/access-recall-surface.js +25 -25
  39. package/dist/access-schema.d.ts +84 -84
  40. package/dist/access-schema.js +3 -3
  41. package/dist/{access-service-DBo88Dmm.d.ts → access-service-CiJRsgAB.d.ts} +7 -7
  42. package/dist/access-service-helpers.d.ts +10 -10
  43. package/dist/access-service.d.ts +10 -10
  44. package/dist/access-service.js +25 -25
  45. package/dist/access-surface-catalog.d.ts +10 -10
  46. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  47. package/dist/action-confidence.d.ts +1 -1
  48. package/dist/active-memory-bridge.d.ts +1 -1
  49. package/dist/active-recall.d.ts +1 -1
  50. package/dist/active-recall.js +3 -2
  51. package/dist/active-recall.js.map +1 -1
  52. package/dist/adapters/index.js +4 -4
  53. package/dist/adapters/registry.js +2 -2
  54. package/dist/behavior-learner.d.ts +1 -1
  55. package/dist/behavior-signals.d.ts +1 -1
  56. package/dist/bootstrap.d.ts +8 -8
  57. package/dist/briefing.d.ts +2 -2
  58. package/dist/briefing.js +8 -8
  59. package/dist/buffer-surprise-report.d.ts +1 -1
  60. package/dist/buffer-turn-helpers.d.ts +1 -1
  61. package/dist/buffer.d.ts +2 -2
  62. package/dist/bulk-import/index.d.ts +3 -3
  63. package/dist/calibration.d.ts +1 -1
  64. package/dist/capabilities.d.ts +1 -1
  65. package/dist/{catalog-DPQynQZG.d.ts → catalog-scBmy0sO.d.ts} +1 -1
  66. package/dist/causal-behavior.d.ts +1 -1
  67. package/dist/causal-behavior.js +2 -2
  68. package/dist/causal-chain.js +2 -2
  69. package/dist/causal-consolidation.d.ts +1 -1
  70. package/dist/causal-consolidation.js +11 -11
  71. package/dist/causal-retrieval.js +2 -2
  72. package/dist/causal-trajectory-graph.d.ts +1 -1
  73. package/dist/causal-trajectory-graph.js +2 -2
  74. package/dist/causal-trajectory.js +1 -1
  75. package/dist/{chunk-GBJJUPNV.js → chunk-33PLLLL7.js} +2 -2
  76. package/dist/{chunk-ZAB5PG65.js → chunk-3F2LKUMU.js} +2 -2
  77. package/dist/{chunk-TXBU7YDV.js → chunk-3TBLDMJA.js} +2 -2
  78. package/dist/{chunk-FLBPATMZ.js → chunk-4UH4BTGK.js} +33 -33
  79. package/dist/{chunk-TVVEYCNW.js → chunk-7K5Q6COX.js} +4 -4
  80. package/dist/{chunk-K6OTW3TP.js → chunk-A5OJCXZL.js} +2 -2
  81. package/dist/{chunk-QQ3NDJOM.js → chunk-AAIUERNB.js} +2 -2
  82. package/dist/{chunk-C7EI7CA6.js → chunk-BJKPPZ6Z.js} +2 -2
  83. package/dist/{chunk-65V4K4MT.js → chunk-CJ2ZR7UA.js} +17 -17
  84. package/dist/{chunk-TM72UOX2.js → chunk-CUM2BBPN.js} +5 -1
  85. package/dist/chunk-CUM2BBPN.js.map +1 -0
  86. package/dist/{chunk-GQBZ7EVF.js → chunk-D3J5SLQK.js} +2 -2
  87. package/dist/{chunk-3HLCRYBV.js → chunk-DL7ZD3JH.js} +3 -3
  88. package/dist/{chunk-ZPJJE7MF.js → chunk-DNWXFTLD.js} +2 -2
  89. package/dist/{chunk-YQQK7W7T.js → chunk-E53DSZEN.js} +2 -2
  90. package/dist/{chunk-6OLQJJYE.js → chunk-E5UK4VPE.js} +2 -2
  91. package/dist/{chunk-3HKQOFOV.js → chunk-E6PNLPGJ.js} +19 -19
  92. package/dist/{chunk-Z54EM5YZ.js → chunk-GF22HWS2.js} +4 -4
  93. package/dist/chunk-HBVPYRDW.js +39 -0
  94. package/dist/chunk-HBVPYRDW.js.map +1 -0
  95. package/dist/{chunk-W6ROK2KU.js → chunk-HNZKVLAN.js} +2 -2
  96. package/dist/{chunk-GDC4INBF.js → chunk-HO3QBJEY.js} +2 -2
  97. package/dist/{chunk-U5G66ORD.js → chunk-HREE4JHI.js} +48 -48
  98. package/dist/{chunk-GSL47NPM.js → chunk-J7VGGECD.js} +1 -1
  99. package/dist/chunk-J7VGGECD.js.map +1 -0
  100. package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
  101. package/dist/{chunk-7PVFOFPJ.js → chunk-JE7EK33X.js} +2 -2
  102. package/dist/{chunk-WG2PI44B.js → chunk-JVLCVFQ4.js} +2 -2
  103. package/dist/{chunk-UZGJFIIG.js → chunk-JYIFGGEM.js} +2 -2
  104. package/dist/{chunk-6UWB5PTR.js → chunk-K442KOID.js} +54 -24
  105. package/dist/chunk-K442KOID.js.map +1 -0
  106. package/dist/{chunk-IPLYGWQF.js → chunk-KQAFEZQX.js} +5 -5
  107. package/dist/{chunk-3SHB4YAW.js → chunk-L2DPF4DF.js} +4 -4
  108. package/dist/{chunk-VRYJSKOM.js → chunk-LZ4LDKHZ.js} +2 -2
  109. package/dist/{chunk-PO5LSKQO.js → chunk-MU7ZHSZE.js} +2 -2
  110. package/dist/{chunk-CAGPP5NB.js → chunk-NRV4Y3PM.js} +1 -1
  111. package/dist/{chunk-SS7YWVPF.js → chunk-OAEQLRCY.js} +2 -2
  112. package/dist/{chunk-FVGQ5LIS.js → chunk-OQ5PRDDS.js} +2 -2
  113. package/dist/{chunk-5YGO5VEH.js → chunk-P4DRWEYC.js} +2 -2
  114. package/dist/{chunk-XMZV27S5.js → chunk-PDLBLTOK.js} +2 -2
  115. package/dist/{chunk-VCGPO2VD.js → chunk-PKNLM44P.js} +4 -4
  116. package/dist/{chunk-XFQRFWVS.js → chunk-QN25OCUF.js} +2 -2
  117. package/dist/{chunk-J4OKD6QX.js → chunk-RN7DY3FC.js} +5 -5
  118. package/dist/{chunk-7JO6RVBI.js → chunk-S2NCTZGJ.js} +4 -4
  119. package/dist/{chunk-R4Q7CQGZ.js → chunk-TDHTVMPG.js} +2 -2
  120. package/dist/{chunk-FXGLFGIG.js → chunk-TIHMZFIV.js} +3 -3
  121. package/dist/{chunk-ZS5UZU5M.js → chunk-U7GW7NE7.js} +7 -7
  122. package/dist/{chunk-WC4SPYHX.js → chunk-UVIKWC7M.js} +10 -10
  123. package/dist/{chunk-2QR2RRH6.js → chunk-UYLMNVY6.js} +4 -4
  124. package/dist/{chunk-G24XIK6H.js → chunk-VUPTKTDV.js} +2 -2
  125. package/dist/{chunk-GOPWZYZH.js → chunk-VWAXN2BN.js} +8 -8
  126. package/dist/{chunk-JZ7SSAQ5.js → chunk-XYTOI63Z.js} +3 -3
  127. package/dist/{cli-DQ4VhjqX.d.ts → cli-BUGN3d6_.d.ts} +5 -5
  128. package/dist/cli.d.ts +12 -12
  129. package/dist/cli.js +52 -51
  130. package/dist/compounding/engine.d.ts +2 -2
  131. package/dist/compounding/engine.js +8 -8
  132. package/dist/compounding/preference-consolidator.d.ts +1 -1
  133. package/dist/compression-optimizer.d.ts +1 -1
  134. package/dist/config.d.ts +1 -1
  135. package/dist/config.js +3 -2
  136. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  137. package/dist/connectors/codex-materialize-runner.js +8 -8
  138. package/dist/connectors/codex-materialize.d.ts +1 -1
  139. package/dist/connectors/index.d.ts +1 -1
  140. package/dist/connectors/index.js +8 -8
  141. package/dist/consolidation-provenance-check.d.ts +2 -2
  142. package/dist/consolidation-undo.d.ts +2 -2
  143. package/dist/contradiction/index.d.ts +2 -2
  144. package/dist/converge-config.d.ts +11 -0
  145. package/dist/converge-config.js +12 -0
  146. package/dist/convergence-refresh.d.ts +2 -2
  147. package/dist/convergence-refresh.js +10 -10
  148. package/dist/conversation-index/backend.d.ts +1 -1
  149. package/dist/conversation-index/chunker.d.ts +1 -1
  150. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  151. package/dist/conversation-index/indexer.d.ts +1 -1
  152. package/dist/conversation-index/search.d.ts +1 -1
  153. package/dist/corpus-watermark.d.ts +1 -1
  154. package/dist/corpus-watermark.js +10 -10
  155. package/dist/day-summary.d.ts +1 -1
  156. package/dist/delinearize.d.ts +1 -1
  157. package/dist/direct-answer-wiring.d.ts +1 -1
  158. package/dist/direct-answer.d.ts +1 -1
  159. package/dist/embedding-fallback.d.ts +1 -1
  160. package/dist/enrichment/index.d.ts +1 -1
  161. package/dist/entity-retrieval.d.ts +2 -2
  162. package/dist/entity-retrieval.js +8 -8
  163. package/dist/entity-schema.d.ts +1 -1
  164. package/dist/explicit-capture.d.ts +8 -8
  165. package/dist/extraction-error-classification.d.ts +1 -1
  166. package/dist/extraction-faithfulness.d.ts +1 -1
  167. package/dist/extraction-judge-telemetry.d.ts +1 -1
  168. package/dist/extraction-judge-training.d.ts +1 -1
  169. package/dist/extraction-judge.d.ts +1 -1
  170. package/dist/extraction-liveness.d.ts +1 -1
  171. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  172. package/dist/extraction-source-grounding.d.ts +1 -1
  173. package/dist/extraction.d.ts +1 -1
  174. package/dist/extraction.js +10 -10
  175. package/dist/fallback-llm.d.ts +1 -1
  176. package/dist/graph-dashboard-diff.d.ts +1 -1
  177. package/dist/graph-dashboard-key.d.ts +1 -1
  178. package/dist/graph-dashboard-parser.d.ts +1 -1
  179. package/dist/{graph-edge-decay-GF3ZSGSP.js → graph-edge-decay-Z6ENALU2.js} +4 -4
  180. package/dist/graph-edge-decay-Z6ENALU2.js.map +1 -0
  181. package/dist/graph-edge-reinforcement.d.ts +1 -1
  182. package/dist/graph-snapshot.d.ts +1 -1
  183. package/dist/graph-snapshot.js +3 -3
  184. package/dist/graph.d.ts +1 -1
  185. package/dist/graph.js +2 -2
  186. package/dist/importance.d.ts +1 -1
  187. package/dist/importers/index.d.ts +1 -1
  188. package/dist/in-flight-reads.d.ts +1 -1
  189. package/dist/index.d.ts +408 -407
  190. package/dist/index.js +77 -71
  191. package/dist/intent.d.ts +1 -1
  192. package/dist/lcm/engine.d.ts +1 -1
  193. package/dist/lcm/engine.js +2 -2
  194. package/dist/lcm/index.d.ts +1 -1
  195. package/dist/lcm/index.js +4 -4
  196. package/dist/lcm/tools.d.ts +1 -1
  197. package/dist/lifecycle.d.ts +1 -1
  198. package/dist/live-connectors-runner.d.ts +1 -1
  199. package/dist/local-llm.d.ts +1 -1
  200. package/dist/local-model-endpoint.d.ts +1 -1
  201. package/dist/maintenance/memory-governance.d.ts +1 -1
  202. package/dist/maintenance/memory-governance.js +8 -8
  203. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  204. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +8 -8
  205. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  206. package/dist/maintenance/rebuild-memory-projection.js +9 -9
  207. package/dist/{maintenance-_RV38GlE.d.ts → maintenance-LbuS2rUA.d.ts} +3 -3
  208. package/dist/mcp-memory-inspector-app.d.ts +10 -10
  209. package/dist/memory-action-policy.d.ts +1 -1
  210. package/dist/memory-cache.d.ts +1 -1
  211. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  212. package/dist/memory-projection-store.d.ts +1 -1
  213. package/dist/memory-provenance.d.ts +1 -1
  214. package/dist/memory-worth-outcomes.d.ts +2 -2
  215. package/dist/models-json.d.ts +1 -1
  216. package/dist/namespaces/migrate.d.ts +3 -3
  217. package/dist/namespaces/migrate.js +9 -9
  218. package/dist/namespaces/principal.d.ts +1 -1
  219. package/dist/namespaces/search.d.ts +1 -1
  220. package/dist/namespaces/storage.d.ts +3 -3
  221. package/dist/namespaces/storage.js +8 -8
  222. package/dist/native-knowledge.d.ts +1 -1
  223. package/dist/offline-sync-impression-drain.d.ts +1 -1
  224. package/dist/operator-doctor-corpus.d.ts +1 -1
  225. package/dist/operator-doctor-corpus.js +11 -11
  226. package/dist/operator-doctor-replica.d.ts +1 -1
  227. package/dist/operator-toolkit.d.ts +3 -3
  228. package/dist/operator-toolkit.js +19 -18
  229. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  230. package/dist/orchestration/maintenance.d.ts +4 -4
  231. package/dist/orchestration/maintenance.js +13 -13
  232. package/dist/{orchestrator-B2ecFpRO.d.ts → orchestrator-rHiWt32X.d.ts} +7 -7
  233. package/dist/orchestrator.d.ts +8 -8
  234. package/dist/orchestrator.js +69 -68
  235. package/dist/patterns-cli.d.ts +1 -1
  236. package/dist/{pipeline-Cs76XC-p.d.ts → pipeline-W_97O8BV.d.ts} +1 -1
  237. package/dist/policy-runtime.d.ts +1 -1
  238. package/dist/proactive-contention.d.ts +1 -1
  239. package/dist/provenance.d.ts +1 -1
  240. package/dist/{qmd-WJwvBgiF.d.ts → qmd-LWtMofAf.d.ts} +1 -1
  241. package/dist/qmd-preflight.d.ts +2 -2
  242. package/dist/qmd-recall-cache.d.ts +1 -1
  243. package/dist/qmd.d.ts +2 -2
  244. package/dist/recall-concurrency-config.d.ts +1 -1
  245. package/dist/recall-disclosure-escalation.d.ts +1 -1
  246. package/dist/recall-explain-renderer.d.ts +1 -1
  247. package/dist/recall-explain-renderer.js +3 -3
  248. package/dist/recall-memory-map.d.ts +1 -1
  249. package/dist/recall-planner-llm.d.ts +1 -1
  250. package/dist/recall-state.d.ts +1 -1
  251. package/dist/recall-tag-filter.d.ts +1 -1
  252. package/dist/recall-timings.d.ts +1 -1
  253. package/dist/recall-xray-cli.d.ts +1 -1
  254. package/dist/recall-xray-cli.js +4 -4
  255. package/dist/recall-xray-renderer.d.ts +1 -1
  256. package/dist/recall-xray-renderer.js +3 -3
  257. package/dist/recall-xray.d.ts +1 -1
  258. package/dist/recall-xray.js +2 -2
  259. package/dist/reconcile/manifest.d.ts +1 -1
  260. package/dist/reconcile/manifest.js +2 -1
  261. package/dist/reconcile/manifest.js.map +1 -1
  262. package/dist/reconcile/plan.d.ts +18 -23
  263. package/dist/reconcile/plan.js +2 -1
  264. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  265. package/dist/replay/normalizers/claude.d.ts +1 -1
  266. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  267. package/dist/replay/normalizers/shared.d.ts +1 -1
  268. package/dist/replay/runner.d.ts +1 -1
  269. package/dist/replay/types.d.ts +1 -1
  270. package/dist/replica-divergence.d.ts +1 -1
  271. package/dist/replica-peers-config.d.ts +1 -1
  272. package/dist/resolve-auth-token.d.ts +1 -1
  273. package/dist/resume-bundles.js +4 -3
  274. package/dist/retrieval-agents.d.ts +2 -2
  275. package/dist/retrieval-tiers.d.ts +1 -1
  276. package/dist/routing/engine.d.ts +1 -1
  277. package/dist/routing/store.d.ts +1 -1
  278. package/dist/salvage-envelope.d.ts +1 -1
  279. package/dist/schemas.d.ts +76 -76
  280. package/dist/{scope-profiles-CQ0NAleS.d.ts → scope-profiles-BiQKOE-p.d.ts} +1 -1
  281. package/dist/search/embed-helper.d.ts +1 -1
  282. package/dist/search/factory.d.ts +1 -1
  283. package/dist/search/index.d.ts +1 -1
  284. package/dist/search/lancedb-backend.d.ts +1 -1
  285. package/dist/search/meilisearch-backend.d.ts +1 -1
  286. package/dist/search/noop-backend.d.ts +1 -1
  287. package/dist/search/orama-backend.d.ts +1 -1
  288. package/dist/search/port.d.ts +1 -1
  289. package/dist/search/remote-backend.d.ts +1 -1
  290. package/dist/{semantic-consolidation-BWxOBMtz.d.ts → semantic-consolidation-dHYCyqgh.d.ts} +1 -1
  291. package/dist/semantic-consolidation.d.ts +2 -2
  292. package/dist/semantic-consolidation.js +9 -9
  293. package/dist/semantic-rule-promotion.js +8 -8
  294. package/dist/semantic-rule-verifier.d.ts +1 -1
  295. package/dist/semantic-rule-verifier.js +8 -8
  296. package/dist/{service-DW06sY3P.d.ts → service-DJG3KCQ4.d.ts} +2 -2
  297. package/dist/session-observer-bands.d.ts +1 -1
  298. package/dist/session-observer-state.d.ts +1 -1
  299. package/dist/shared-context/manager.d.ts +9 -9
  300. package/dist/signal.d.ts +1 -1
  301. package/dist/source-agent-qualifier.d.ts +1 -1
  302. package/dist/source-agent-qualifier.js +8 -8
  303. package/dist/{storage-qRIQPA6F.d.ts → storage-F9FVh-w9.d.ts} +1 -1
  304. package/dist/storage.d.ts +2 -2
  305. package/dist/storage.js +7 -7
  306. package/dist/summarizer.d.ts +1 -1
  307. package/dist/summary-snapshot.d.ts +1 -1
  308. package/dist/temporal-supersession.d.ts +2 -2
  309. package/dist/temporal-timeline-recall.d.ts +1 -1
  310. package/dist/temporal-validity.d.ts +1 -1
  311. package/dist/threading.d.ts +1 -1
  312. package/dist/tier-migration.d.ts +2 -2
  313. package/dist/tier-routing.d.ts +1 -1
  314. package/dist/topics.d.ts +1 -1
  315. package/dist/transcript.d.ts +1 -1
  316. package/dist/transfer/autodetect.js +1 -1
  317. package/dist/transfer/backup.js +1 -1
  318. package/dist/transfer/capsule-export.js +2 -2
  319. package/dist/transfer/types.d.ts +66 -66
  320. package/dist/trust-score-stage.d.ts +1 -1
  321. package/dist/trust-score.d.ts +1 -1
  322. package/dist/{types-CqWwMPr_.d.ts → types-rEwubvim.d.ts} +6 -1
  323. package/dist/types.d.ts +1 -1
  324. package/dist/types.js +1 -1
  325. package/dist/utility-runtime.d.ts +1 -1
  326. package/dist/verified-recall.js +8 -8
  327. package/dist/write-envelope.d.ts +1 -1
  328. package/package.json +2 -2
  329. package/src/config.test.ts +24 -0
  330. package/src/config.ts +3 -0
  331. package/src/converge-config.ts +39 -0
  332. package/src/index.ts +1 -2
  333. package/src/reconcile/plan.test.ts +40 -52
  334. package/src/reconcile/plan.ts +78 -63
  335. package/src/types.ts +5 -0
  336. package/dist/chunk-6UWB5PTR.js.map +0 -1
  337. package/dist/chunk-GSL47NPM.js.map +0 -1
  338. package/dist/chunk-TM72UOX2.js.map +0 -1
  339. /package/dist/{chunk-GBJJUPNV.js.map → chunk-33PLLLL7.js.map} +0 -0
  340. /package/dist/{chunk-ZAB5PG65.js.map → chunk-3F2LKUMU.js.map} +0 -0
  341. /package/dist/{chunk-TXBU7YDV.js.map → chunk-3TBLDMJA.js.map} +0 -0
  342. /package/dist/{chunk-FLBPATMZ.js.map → chunk-4UH4BTGK.js.map} +0 -0
  343. /package/dist/{chunk-TVVEYCNW.js.map → chunk-7K5Q6COX.js.map} +0 -0
  344. /package/dist/{chunk-K6OTW3TP.js.map → chunk-A5OJCXZL.js.map} +0 -0
  345. /package/dist/{chunk-QQ3NDJOM.js.map → chunk-AAIUERNB.js.map} +0 -0
  346. /package/dist/{chunk-C7EI7CA6.js.map → chunk-BJKPPZ6Z.js.map} +0 -0
  347. /package/dist/{chunk-65V4K4MT.js.map → chunk-CJ2ZR7UA.js.map} +0 -0
  348. /package/dist/{chunk-GQBZ7EVF.js.map → chunk-D3J5SLQK.js.map} +0 -0
  349. /package/dist/{chunk-3HLCRYBV.js.map → chunk-DL7ZD3JH.js.map} +0 -0
  350. /package/dist/{chunk-ZPJJE7MF.js.map → chunk-DNWXFTLD.js.map} +0 -0
  351. /package/dist/{chunk-YQQK7W7T.js.map → chunk-E53DSZEN.js.map} +0 -0
  352. /package/dist/{chunk-6OLQJJYE.js.map → chunk-E5UK4VPE.js.map} +0 -0
  353. /package/dist/{chunk-3HKQOFOV.js.map → chunk-E6PNLPGJ.js.map} +0 -0
  354. /package/dist/{chunk-Z54EM5YZ.js.map → chunk-GF22HWS2.js.map} +0 -0
  355. /package/dist/{chunk-W6ROK2KU.js.map → chunk-HNZKVLAN.js.map} +0 -0
  356. /package/dist/{chunk-GDC4INBF.js.map → chunk-HO3QBJEY.js.map} +0 -0
  357. /package/dist/{chunk-U5G66ORD.js.map → chunk-HREE4JHI.js.map} +0 -0
  358. /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
  359. /package/dist/{chunk-7PVFOFPJ.js.map → chunk-JE7EK33X.js.map} +0 -0
  360. /package/dist/{chunk-WG2PI44B.js.map → chunk-JVLCVFQ4.js.map} +0 -0
  361. /package/dist/{chunk-UZGJFIIG.js.map → chunk-JYIFGGEM.js.map} +0 -0
  362. /package/dist/{chunk-IPLYGWQF.js.map → chunk-KQAFEZQX.js.map} +0 -0
  363. /package/dist/{chunk-3SHB4YAW.js.map → chunk-L2DPF4DF.js.map} +0 -0
  364. /package/dist/{chunk-VRYJSKOM.js.map → chunk-LZ4LDKHZ.js.map} +0 -0
  365. /package/dist/{chunk-PO5LSKQO.js.map → chunk-MU7ZHSZE.js.map} +0 -0
  366. /package/dist/{chunk-CAGPP5NB.js.map → chunk-NRV4Y3PM.js.map} +0 -0
  367. /package/dist/{chunk-SS7YWVPF.js.map → chunk-OAEQLRCY.js.map} +0 -0
  368. /package/dist/{chunk-FVGQ5LIS.js.map → chunk-OQ5PRDDS.js.map} +0 -0
  369. /package/dist/{chunk-5YGO5VEH.js.map → chunk-P4DRWEYC.js.map} +0 -0
  370. /package/dist/{chunk-XMZV27S5.js.map → chunk-PDLBLTOK.js.map} +0 -0
  371. /package/dist/{chunk-VCGPO2VD.js.map → chunk-PKNLM44P.js.map} +0 -0
  372. /package/dist/{chunk-XFQRFWVS.js.map → chunk-QN25OCUF.js.map} +0 -0
  373. /package/dist/{chunk-J4OKD6QX.js.map → chunk-RN7DY3FC.js.map} +0 -0
  374. /package/dist/{chunk-7JO6RVBI.js.map → chunk-S2NCTZGJ.js.map} +0 -0
  375. /package/dist/{chunk-R4Q7CQGZ.js.map → chunk-TDHTVMPG.js.map} +0 -0
  376. /package/dist/{chunk-FXGLFGIG.js.map → chunk-TIHMZFIV.js.map} +0 -0
  377. /package/dist/{chunk-ZS5UZU5M.js.map → chunk-U7GW7NE7.js.map} +0 -0
  378. /package/dist/{chunk-WC4SPYHX.js.map → chunk-UVIKWC7M.js.map} +0 -0
  379. /package/dist/{chunk-2QR2RRH6.js.map → chunk-UYLMNVY6.js.map} +0 -0
  380. /package/dist/{chunk-G24XIK6H.js.map → chunk-VUPTKTDV.js.map} +0 -0
  381. /package/dist/{chunk-GOPWZYZH.js.map → chunk-VWAXN2BN.js.map} +0 -0
  382. /package/dist/{chunk-JZ7SSAQ5.js.map → chunk-XYTOI63Z.js.map} +0 -0
  383. /package/dist/{graph-edge-decay-GF3ZSGSP.js.map → converge-config.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ 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
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-B2ecFpRO.js';
5
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-rHiWt32X.js';
6
6
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
7
7
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
8
8
  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';
@@ -12,8 +12,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
12
12
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
13
13
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
14
14
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
15
- import { S as StorageManager, a as MeetingRecordStore } from './storage-qRIQPA6F.js';
16
- export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-qRIQPA6F.js';
15
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-F9FVh-w9.js';
16
+ export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-F9FVh-w9.js';
17
17
  import { SealedMemoryEnvelope } from './write-envelope.js';
18
18
  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';
19
19
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -22,13 +22,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
22
22
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
23
23
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
24
24
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
25
- import { b8 as CodingContext, be as CodingModeConfig, b5 as FusionConversationInput, bf as FusedSpeaker, bg as FusedSegment, bh as FusedDisagreement, bi as FusionOptions, aU as WearableConversation, bj as FusionDayResult, P as PluginConfig, bk as CodingKnowledgeConfig, v as MemoryCategory, bl as WearableCleanupSettings, bm as WearableFusionConfig, aV as WearableSourceSettings, aZ as WearablesConfig, aY as WearableSourceConnector, b1 as WearableCorrectionRule, bn as WearableDayTranscriptMeta, b0 as WearableDayTranscript, aC as ActivitySnapshot, bo as ActivityDayMeta, bp as ActivityDayDigest, aF as ActivitySourceClient, bq as ActivitySourceCheck, br as ActivitySnapshotPage, aD as ActivityConfig, J as ExtractionResult, x as MemoryStatus, an as ImportanceScore, bs as MeetingsDetectionConfig, b4 as MeetingsDetectionInput, b7 as DetectedMeeting, b3 as MeetingsConfig, aJ as MeetingRecord, bt as MeetingAudioWindow, bu as MeetingAppSpan } from './types-CqWwMPr_.js';
26
- export { bv as ActivityExtractionMode, aE as ActivitySourceConfig, t as AgentAccessAuthToken, g as BriefingActiveThread, bw as BriefingConfig, e as BriefingFocus, d as BriefingFollowup, bx as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, by as BriefingWindow, a7 as BufferSurpriseEvent, bz as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bA as BulkImportSourceAdapter, f as CalendarEvent, C as CalendarSource, bB as CodexCompatConfig, bd as ConsolidationObservation, bC as DEFAULT_RECALL_DISCLOSURE, bD as DisagreementKind, E as EntityFile, al as EntityStructuredSection, bE as ExtractedFact, bF as FusedContribution, bG as FusedConversationProvenance, aI as FusedDayFile, aH as FusedDayMeta, aL as FusedMeeting, bH as FusedSegmentProvenance, aG as FusedWearableConversation, bI as FusionSegmentInput, G as GatewayConfig, bJ as ImportSourceRole, a8 as ImportTurn, bK as ImportTurnValidationIssue, b6 as MeetingActivitySnapshot, b2 as MeetingBuildInput, aK as MeetingDetectionSource, bL as MeetingScreenContextEvent, bM as MeetingSummaryMode, ap as MemoryActionEligibilityContext, bN as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bO as MemoryObservation, bP as MemoryScope, bQ as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, s as SecretRef, bR as SegmentPickReason, bS as WearableAuthCheck, bT as WearableFetchOptions, bU as WearableFetchPage, aX as WearableMemoryMode, aW as WearableNativeMemory, bV as WearableNativeMemoryPage, a$ as WearableSourceStatus, a_ as WearableSyncSummary, bW as WearableTranscriptSegment, bX as isImportRole, bY as isRecallDisclosure, bZ as parseIsoTimestamp, b_ as validateImportTurn } from './types-CqWwMPr_.js';
25
+ import { ba as CodingContext, bg as CodingModeConfig, b7 as FusionConversationInput, bh as FusedSpeaker, bi as FusedSegment, bj as FusedDisagreement, bk as FusionOptions, aW as WearableConversation, bl as FusionDayResult, P as PluginConfig, bm as CodingKnowledgeConfig, v as MemoryCategory, bn as WearableCleanupSettings, bo as WearableFusionConfig, aX as WearableSourceSettings, a$ as WearablesConfig, a_ as WearableSourceConnector, b3 as WearableCorrectionRule, bp as WearableDayTranscriptMeta, b2 as WearableDayTranscript, aE as ActivitySnapshot, bq as ActivityDayMeta, br as ActivityDayDigest, aH as ActivitySourceClient, bs as ActivitySourceCheck, bt as ActivitySnapshotPage, aF as ActivityConfig, J as ExtractionResult, x as MemoryStatus, ap as ImportanceScore, bu as MeetingsDetectionConfig, b6 as MeetingsDetectionInput, b9 as DetectedMeeting, b5 as MeetingsConfig, aL as MeetingRecord, bv as MeetingAudioWindow, bw as MeetingAppSpan } from './types-rEwubvim.js';
26
+ export { bx as ActivityExtractionMode, aG as ActivitySourceConfig, t as AgentAccessAuthToken, g as BriefingActiveThread, by as BriefingConfig, e as BriefingFocus, d as BriefingFollowup, bz as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bA as BriefingWindow, a7 as BufferSurpriseEvent, bB as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bC as BulkImportSourceAdapter, f as CalendarEvent, C as CalendarSource, bD as CodexCompatConfig, bf as ConsolidationObservation, bE as DEFAULT_RECALL_DISCLOSURE, bF as DisagreementKind, E as EntityFile, an as EntityStructuredSection, bG as ExtractedFact, bH as FusedContribution, bI as FusedConversationProvenance, aK as FusedDayFile, aJ as FusedDayMeta, aN as FusedMeeting, bJ as FusedSegmentProvenance, aI as FusedWearableConversation, bK as FusionSegmentInput, G as GatewayConfig, bL as ImportSourceRole, a8 as ImportTurn, bM as ImportTurnValidationIssue, b8 as MeetingActivitySnapshot, b4 as MeetingBuildInput, aM as MeetingDetectionSource, bN as MeetingScreenContextEvent, bO as MeetingSummaryMode, ar as MemoryActionEligibilityContext, bP as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bQ as MemoryObservation, bR as MemoryScope, bS as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, s as SecretRef, bT as SegmentPickReason, bU as WearableAuthCheck, bV as WearableFetchOptions, bW as WearableFetchPage, aZ as WearableMemoryMode, aY as WearableNativeMemory, bX as WearableNativeMemoryPage, b1 as WearableSourceStatus, b0 as WearableSyncSummary, bY as WearableTranscriptSegment, bZ as isImportRole, b_ as isRecallDisclosure, b$ as parseIsoTimestamp, c0 as validateImportTurn } from './types-rEwubvim.js';
27
27
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
28
28
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
29
29
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
30
- import { f as EngramAccessService } from './access-service-DBo88Dmm.js';
31
- export { P as ProcedureStatsConfigSnapshot, I as ProcedureStatsRecent, J as ProcedureStatsReport, K as ProcedureStatusCounts, L as computeProcedureStats, N as formatProcedureStatsText } from './access-service-DBo88Dmm.js';
30
+ import { f as EngramAccessService } from './access-service-CiJRsgAB.js';
31
+ export { P as ProcedureStatsConfigSnapshot, I as ProcedureStatsRecent, J as ProcedureStatsReport, K as ProcedureStatusCounts, L as computeProcedureStats, N as formatProcedureStatsText } from './access-service-CiJRsgAB.js';
32
32
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
33
33
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
34
34
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -36,13 +36,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
36
36
  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';
37
37
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
38
38
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
39
- export { Q as QmdClient } from './qmd-WJwvBgiF.js';
39
+ export { Q as QmdClient } from './qmd-LWtMofAf.js';
40
40
  export { LanceDbBackend } from './search/lancedb-backend.js';
41
41
  export { OramaBackend } from './search/orama-backend.js';
42
42
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
43
43
  export { buildEntityRecallSection } from './entity-retrieval.js';
44
44
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
45
- 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-DPQynQZG.js';
45
+ 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-scBmy0sO.js';
46
46
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
47
47
  export { storagePathHash } from './storage-paths.js';
48
48
  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-BWxOBMtz.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-BWxOBMtz.js';
74
+ import { D as DiscoveredExtension } from './semantic-consolidation-dHYCyqgh.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-dHYCyqgh.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,12 +87,12 @@ 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-Cs76XC-p.js';
91
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-DQ4VhjqX.js';
92
- import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-DW06sY3P.js';
93
- export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-DW06sY3P.js';
94
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-_RV38GlE.js';
95
- export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-_RV38GlE.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-W_97O8BV.js';
91
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BUGN3d6_.js';
92
+ import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-DJG3KCQ4.js';
93
+ export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-DJG3KCQ4.js';
94
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-LbuS2rUA.js';
95
+ export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-LbuS2rUA.js';
96
96
  import { SearchExecutionOptions } from './search/port.js';
97
97
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
98
98
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -104,12 +104,13 @@ export { GraphRecallConfig, GraphRecallOptions, GraphRecallResult, GraphRecallRu
104
104
  export { BudgetDecision, BudgetDecisionReason, CrossNamespaceBudget, CrossNamespaceBudgetConfig, DEFAULT_CROSS_NAMESPACE_BUDGET } from './cross-namespace-budget.js';
105
105
  export { AnomalyDetectorConfig, AnomalyDetectorInput, AnomalyDetectorResult, AnomalyFlag, AnomalyKind, AnomalySeverity, DEFAULT_ANOMALY_DETECTOR_CONFIG, detectRecallAnomalies, normalizeQueryText } from './recall-audit-anomaly.js';
106
106
  export { AccessAuditAdapter, AccessAuditConfig, AccessAuditResult } from './access-audit.js';
107
+ export { CONVERGE_CONFLICT_POLICIES, DEFAULT_CONVERGE_CONFLICT_POLICY } from './converge-config.js';
107
108
  export { c as PEER_ID_MAX_LENGTH, d as PEER_ID_PATTERN, a as Peer, P as PeerInteractionLogEntry, e as PeerKind, b as PeerProfile, f as PeerProfileFieldProvenance } from './types-B1VHaf2w.js';
108
109
  export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId, l as listPeers, r as readInteractionLogRaw, c as readPeer, g as readPeerProfile, w as writePeer, i as writePeerProfile } from './storage-BhS9gUx3.js';
109
110
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
110
111
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
111
112
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
112
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-CQ0NAleS.js';
113
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-BiQKOE-p.js';
113
114
  export { ContinuityImprovementLoop } from './types-continuity.js';
114
115
  export { EngramAccessInputError } from './access-errors.js';
115
116
  export { expandTildePath } from './utils/path.js';
@@ -170,7 +171,7 @@ import './policy-runtime.js';
170
171
  import './profiling.js';
171
172
  import './schemas.js';
172
173
  import './extraction-error-classification.js';
173
- import './access-namespace-preflight-47dOyty9.js';
174
+ import './access-namespace-preflight-5yZ4g6F8.js';
174
175
  import './recall-explain-renderer.js';
175
176
  import './access-citation.js';
176
177
  import './access-health-types.js';
@@ -874,15 +875,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
874
875
  locator: z.ZodOptional<z.ZodString>;
875
876
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
876
877
  }, "strict", z.ZodTypeAny, {
878
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
877
879
  id: string;
878
880
  label: string;
879
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
880
881
  capture: "at_action" | "historical_lookup" | "fixture";
881
882
  locator?: string | undefined;
882
883
  }, {
884
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
883
885
  id: string;
884
886
  label: string;
885
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
886
887
  capture: "at_action" | "historical_lookup" | "fixture";
887
888
  locator?: string | undefined;
888
889
  }>;
@@ -899,15 +900,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
899
900
  locator: z.ZodOptional<z.ZodString>;
900
901
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
901
902
  }, "strict", z.ZodTypeAny, {
903
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
902
904
  id: string;
903
905
  label: string;
904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
905
906
  capture: "at_action" | "historical_lookup" | "fixture";
906
907
  locator?: string | undefined;
907
908
  }, {
909
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
908
910
  id: string;
909
911
  label: string;
910
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
911
912
  capture: "at_action" | "historical_lookup" | "fixture";
912
913
  locator?: string | undefined;
913
914
  }>, "many">>;
@@ -915,9 +916,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
915
916
  kind: "mission_started";
916
917
  title: string;
917
918
  evidence: {
919
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
918
920
  id: string;
919
921
  label: string;
920
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
921
922
  capture: "at_action" | "historical_lookup" | "fixture";
922
923
  locator?: string | undefined;
923
924
  }[];
@@ -929,9 +930,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
929
930
  objective: string;
930
931
  runMode: "replay" | "fixture" | "live";
931
932
  evidence?: {
933
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
932
934
  id: string;
933
935
  label: string;
934
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
935
936
  capture: "at_action" | "historical_lookup" | "fixture";
936
937
  locator?: string | undefined;
937
938
  }[] | undefined;
@@ -947,15 +948,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
947
948
  locator: z.ZodOptional<z.ZodString>;
948
949
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
949
950
  }, "strict", z.ZodTypeAny, {
951
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
950
952
  id: string;
951
953
  label: string;
952
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
953
954
  capture: "at_action" | "historical_lookup" | "fixture";
954
955
  locator?: string | undefined;
955
956
  }, {
957
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
956
958
  id: string;
957
959
  label: string;
958
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
959
960
  capture: "at_action" | "historical_lookup" | "fixture";
960
961
  locator?: string | undefined;
961
962
  }>, "many">>;
@@ -963,32 +964,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
963
964
  sessionId: z.ZodString;
964
965
  kind: z.ZodLiteral<"agent_status">;
965
966
  }, "strict", z.ZodTypeAny, {
966
- label: string;
967
- status: "failed" | "complete" | "blocked" | "working" | "idle";
968
967
  kind: "agent_status";
968
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
969
969
  role: string;
970
+ label: string;
970
971
  agentId: string;
971
972
  sessionId: string;
972
973
  evidence: {
974
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
973
975
  id: string;
974
976
  label: string;
975
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
976
977
  capture: "at_action" | "historical_lookup" | "fixture";
977
978
  locator?: string | undefined;
978
979
  }[];
979
980
  detail?: string | undefined;
980
981
  }, {
981
- label: string;
982
- status: "failed" | "complete" | "blocked" | "working" | "idle";
983
982
  kind: "agent_status";
983
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
984
984
  role: string;
985
+ label: string;
985
986
  agentId: string;
986
987
  sessionId: string;
987
988
  detail?: string | undefined;
988
989
  evidence?: {
990
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
989
991
  id: string;
990
992
  label: string;
991
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
992
993
  capture: "at_action" | "historical_lookup" | "fixture";
993
994
  locator?: string | undefined;
994
995
  }[] | undefined;
@@ -1002,15 +1003,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1002
1003
  locator: z.ZodOptional<z.ZodString>;
1003
1004
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1004
1005
  }, "strict", z.ZodTypeAny, {
1006
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1005
1007
  id: string;
1006
1008
  label: string;
1007
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1008
1009
  capture: "at_action" | "historical_lookup" | "fixture";
1009
1010
  locator?: string | undefined;
1010
1011
  }, {
1012
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1011
1013
  id: string;
1012
1014
  label: string;
1013
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1014
1015
  capture: "at_action" | "historical_lookup" | "fixture";
1015
1016
  locator?: string | undefined;
1016
1017
  }>, "many">>;
@@ -1018,28 +1019,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1018
1019
  sessionId: z.ZodString;
1019
1020
  kind: z.ZodLiteral<"agent_output">;
1020
1021
  }, "strict", z.ZodTypeAny, {
1021
- summary: string;
1022
1022
  kind: "agent_output";
1023
+ summary: string;
1023
1024
  agentId: string;
1024
1025
  sessionId: string;
1025
1026
  evidence: {
1027
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1026
1028
  id: string;
1027
1029
  label: string;
1028
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1029
1030
  capture: "at_action" | "historical_lookup" | "fixture";
1030
1031
  locator?: string | undefined;
1031
1032
  }[];
1032
1033
  outputId: string;
1033
1034
  }, {
1034
- summary: string;
1035
1035
  kind: "agent_output";
1036
+ summary: string;
1036
1037
  agentId: string;
1037
1038
  sessionId: string;
1038
1039
  outputId: string;
1039
1040
  evidence?: {
1041
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1040
1042
  id: string;
1041
1043
  label: string;
1042
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1043
1044
  capture: "at_action" | "historical_lookup" | "fixture";
1044
1045
  locator?: string | undefined;
1045
1046
  }[] | undefined;
@@ -1055,15 +1056,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1055
1056
  locator: z.ZodOptional<z.ZodString>;
1056
1057
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1057
1058
  }, "strict", z.ZodTypeAny, {
1059
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1058
1060
  id: string;
1059
1061
  label: string;
1060
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1061
1062
  capture: "at_action" | "historical_lookup" | "fixture";
1062
1063
  locator?: string | undefined;
1063
1064
  }, {
1065
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1064
1066
  id: string;
1065
1067
  label: string;
1066
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1067
1068
  capture: "at_action" | "historical_lookup" | "fixture";
1068
1069
  locator?: string | undefined;
1069
1070
  }>, "many">>;
@@ -1076,9 +1077,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1076
1077
  statement: string;
1077
1078
  sessionId: string;
1078
1079
  evidence: {
1080
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1079
1081
  id: string;
1080
1082
  label: string;
1081
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1082
1083
  capture: "at_action" | "historical_lookup" | "fixture";
1083
1084
  locator?: string | undefined;
1084
1085
  }[];
@@ -1094,9 +1095,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1094
1095
  decisionId: string;
1095
1096
  confidence?: number | undefined;
1096
1097
  evidence?: {
1098
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1097
1099
  id: string;
1098
1100
  label: string;
1099
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1100
1101
  capture: "at_action" | "historical_lookup" | "fixture";
1101
1102
  locator?: string | undefined;
1102
1103
  }[] | undefined;
@@ -1113,25 +1114,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1113
1114
  locator: z.ZodOptional<z.ZodString>;
1114
1115
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1115
1116
  }, "strict", z.ZodTypeAny, {
1117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1116
1118
  id: string;
1117
1119
  label: string;
1118
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1119
1120
  capture: "at_action" | "historical_lookup" | "fixture";
1120
1121
  locator?: string | undefined;
1121
1122
  }, {
1123
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1122
1124
  id: string;
1123
1125
  label: string;
1124
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1125
1126
  capture: "at_action" | "historical_lookup" | "fixture";
1126
1127
  locator?: string | undefined;
1127
1128
  }>, "many">>;
1128
1129
  }, "strict", z.ZodTypeAny, {
1129
- summary: string;
1130
1130
  kind: "conflict_detected";
1131
+ summary: string;
1131
1132
  evidence: {
1133
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1132
1134
  id: string;
1133
1135
  label: string;
1134
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1135
1136
  capture: "at_action" | "historical_lookup" | "fixture";
1136
1137
  locator?: string | undefined;
1137
1138
  }[];
@@ -1139,15 +1140,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1139
1140
  decisionIds: string[];
1140
1141
  agentIds: string[];
1141
1142
  }, {
1142
- summary: string;
1143
1143
  kind: "conflict_detected";
1144
+ summary: string;
1144
1145
  conflictId: string;
1145
1146
  decisionIds: string[];
1146
1147
  agentIds: string[];
1147
1148
  evidence?: {
1149
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1148
1150
  id: string;
1149
1151
  label: string;
1150
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1151
1152
  capture: "at_action" | "historical_lookup" | "fixture";
1152
1153
  locator?: string | undefined;
1153
1154
  }[] | undefined;
@@ -1167,27 +1168,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1167
1168
  locator: z.ZodOptional<z.ZodString>;
1168
1169
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1169
1170
  }, "strict", z.ZodTypeAny, {
1171
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1170
1172
  id: string;
1171
1173
  label: string;
1172
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1173
1174
  capture: "at_action" | "historical_lookup" | "fixture";
1174
1175
  locator?: string | undefined;
1175
1176
  }, {
1177
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1176
1178
  id: string;
1177
1179
  label: string;
1178
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1179
1180
  capture: "at_action" | "historical_lookup" | "fixture";
1180
1181
  locator?: string | undefined;
1181
1182
  }>, "many">>;
1182
1183
  }, "strict", z.ZodTypeAny, {
1184
+ kind: "test_result";
1183
1185
  summary: string;
1184
1186
  status: "error" | "failed" | "passed";
1185
- kind: "test_result";
1186
1187
  command: string;
1187
1188
  evidence: {
1189
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1188
1190
  id: string;
1189
1191
  label: string;
1190
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1191
1192
  capture: "at_action" | "historical_lookup" | "fixture";
1192
1193
  locator?: string | undefined;
1193
1194
  }[];
@@ -1196,17 +1197,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1196
1197
  durationMs?: number | undefined;
1197
1198
  correctionId?: string | undefined;
1198
1199
  }, {
1200
+ kind: "test_result";
1199
1201
  summary: string;
1200
1202
  status: "error" | "failed" | "passed";
1201
- kind: "test_result";
1202
1203
  command: string;
1203
1204
  decisionId: string;
1204
1205
  testId: string;
1205
1206
  durationMs?: number | undefined;
1206
1207
  evidence?: {
1208
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1207
1209
  id: string;
1208
1210
  label: string;
1209
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1210
1211
  capture: "at_action" | "historical_lookup" | "fixture";
1211
1212
  locator?: string | undefined;
1212
1213
  }[] | undefined;
@@ -1227,15 +1228,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1227
1228
  locator: z.ZodOptional<z.ZodString>;
1228
1229
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1229
1230
  }, "strict", z.ZodTypeAny, {
1231
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1230
1232
  id: string;
1231
1233
  label: string;
1232
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1233
1234
  capture: "at_action" | "historical_lookup" | "fixture";
1234
1235
  locator?: string | undefined;
1235
1236
  }, {
1237
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1236
1238
  id: string;
1237
1239
  label: string;
1238
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1239
1240
  capture: "at_action" | "historical_lookup" | "fixture";
1240
1241
  locator?: string | undefined;
1241
1242
  }>, "many">>;
@@ -1244,9 +1245,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1244
1245
  rationale: string;
1245
1246
  statement: string;
1246
1247
  evidence: {
1248
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
1249
  id: string;
1248
1250
  label: string;
1249
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1250
1251
  capture: "at_action" | "historical_lookup" | "fixture";
1251
1252
  locator?: string | undefined;
1252
1253
  }[];
@@ -1265,9 +1266,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1265
1266
  supersedesDecisionIds: string[];
1266
1267
  proposedBy: string;
1267
1268
  evidence?: {
1269
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1268
1270
  id: string;
1269
1271
  label: string;
1270
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1271
1272
  capture: "at_action" | "historical_lookup" | "fixture";
1272
1273
  locator?: string | undefined;
1273
1274
  }[] | undefined;
@@ -1279,13 +1280,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1279
1280
  id: z.ZodString;
1280
1281
  label: z.ZodString;
1281
1282
  }, "strict", z.ZodTypeAny, {
1283
+ kind: "agent" | "human";
1282
1284
  id: string;
1283
1285
  label: string;
1284
- kind: "agent" | "human";
1285
1286
  }, {
1287
+ kind: "agent" | "human";
1286
1288
  id: string;
1287
1289
  label: string;
1288
- kind: "agent" | "human";
1289
1290
  }>;
1290
1291
  note: z.ZodOptional<z.ZodString>;
1291
1292
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1295,47 +1296,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1295
1296
  locator: z.ZodOptional<z.ZodString>;
1296
1297
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1297
1298
  }, "strict", z.ZodTypeAny, {
1299
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1298
1300
  id: string;
1299
1301
  label: string;
1300
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1301
1302
  capture: "at_action" | "historical_lookup" | "fixture";
1302
1303
  locator?: string | undefined;
1303
1304
  }, {
1305
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1304
1306
  id: string;
1305
1307
  label: string;
1306
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1307
1308
  capture: "at_action" | "historical_lookup" | "fixture";
1308
1309
  locator?: string | undefined;
1309
1310
  }>, "many">>;
1310
1311
  }, "strict", z.ZodTypeAny, {
1311
1312
  kind: "correction_approved";
1312
1313
  evidence: {
1314
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1313
1315
  id: string;
1314
1316
  label: string;
1315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1316
1317
  capture: "at_action" | "historical_lookup" | "fixture";
1317
1318
  locator?: string | undefined;
1318
1319
  }[];
1319
1320
  correctionId: string;
1320
1321
  approvedBy: {
1322
+ kind: "agent" | "human";
1321
1323
  id: string;
1322
1324
  label: string;
1323
- kind: "agent" | "human";
1324
1325
  };
1325
1326
  note?: string | undefined;
1326
1327
  }, {
1327
1328
  kind: "correction_approved";
1328
1329
  correctionId: string;
1329
1330
  approvedBy: {
1331
+ kind: "agent" | "human";
1330
1332
  id: string;
1331
1333
  label: string;
1332
- kind: "agent" | "human";
1333
1334
  };
1334
1335
  note?: string | undefined;
1335
1336
  evidence?: {
1337
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1336
1338
  id: string;
1337
1339
  label: string;
1338
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1339
1340
  capture: "at_action" | "historical_lookup" | "fixture";
1340
1341
  locator?: string | undefined;
1341
1342
  }[] | undefined;
@@ -1351,24 +1352,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1351
1352
  locator: z.ZodOptional<z.ZodString>;
1352
1353
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1353
1354
  }, "strict", z.ZodTypeAny, {
1355
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1354
1356
  id: string;
1355
1357
  label: string;
1356
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1357
1358
  capture: "at_action" | "historical_lookup" | "fixture";
1358
1359
  locator?: string | undefined;
1359
1360
  }, {
1361
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1360
1362
  id: string;
1361
1363
  label: string;
1362
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1364
  capture: "at_action" | "historical_lookup" | "fixture";
1364
1365
  locator?: string | undefined;
1365
1366
  }>, "many">>;
1366
1367
  }, "strict", z.ZodTypeAny, {
1367
1368
  kind: "decision_superseded";
1368
1369
  evidence: {
1370
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1369
1371
  id: string;
1370
1372
  label: string;
1371
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1372
1373
  capture: "at_action" | "historical_lookup" | "fixture";
1373
1374
  locator?: string | undefined;
1374
1375
  }[];
@@ -1381,9 +1382,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1381
1382
  correctionId: string;
1382
1383
  replacementDecisionId: string;
1383
1384
  evidence?: {
1385
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
1386
  id: string;
1385
1387
  label: string;
1386
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1387
1388
  capture: "at_action" | "historical_lookup" | "fixture";
1388
1389
  locator?: string | undefined;
1389
1390
  }[] | undefined;
@@ -1399,15 +1400,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1399
1400
  locator: z.ZodOptional<z.ZodString>;
1400
1401
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1401
1402
  }, "strict", z.ZodTypeAny, {
1403
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1402
1404
  id: string;
1403
1405
  label: string;
1404
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1405
1406
  capture: "at_action" | "historical_lookup" | "fixture";
1406
1407
  locator?: string | undefined;
1407
1408
  }, {
1409
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1408
1410
  id: string;
1409
1411
  label: string;
1410
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
1412
  capture: "at_action" | "historical_lookup" | "fixture";
1412
1413
  locator?: string | undefined;
1413
1414
  }>, "many">>;
@@ -1420,9 +1421,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1420
1421
  agentId: string;
1421
1422
  sessionId: string;
1422
1423
  evidence: {
1424
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1423
1425
  id: string;
1424
1426
  label: string;
1425
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1426
1427
  capture: "at_action" | "historical_lookup" | "fixture";
1427
1428
  locator?: string | undefined;
1428
1429
  }[];
@@ -1438,9 +1439,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1438
1439
  recallReceiptId: string;
1439
1440
  capturedAtAction: boolean;
1440
1441
  evidence?: {
1442
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1441
1443
  id: string;
1442
1444
  label: string;
1443
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1444
1445
  capture: "at_action" | "historical_lookup" | "fixture";
1445
1446
  locator?: string | undefined;
1446
1447
  }[] | undefined;
@@ -1456,15 +1457,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1456
1457
  locator: z.ZodOptional<z.ZodString>;
1457
1458
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1458
1459
  }, "strict", z.ZodTypeAny, {
1460
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1459
1461
  id: string;
1460
1462
  label: string;
1461
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1462
1463
  capture: "at_action" | "historical_lookup" | "fixture";
1463
1464
  locator?: string | undefined;
1464
1465
  }, {
1466
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1465
1467
  id: string;
1466
1468
  label: string;
1467
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1468
1469
  capture: "at_action" | "historical_lookup" | "fixture";
1469
1470
  locator?: string | undefined;
1470
1471
  }>, "many">>;
@@ -1476,9 +1477,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1476
1477
  agentId: string;
1477
1478
  sessionId: string;
1478
1479
  evidence: {
1480
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
1481
  id: string;
1480
1482
  label: string;
1481
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1482
1483
  capture: "at_action" | "historical_lookup" | "fixture";
1483
1484
  locator?: string | undefined;
1484
1485
  }[];
@@ -1495,9 +1496,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1495
1496
  recallReceiptId: string;
1496
1497
  staleDecisionAbsent: boolean;
1497
1498
  evidence?: {
1499
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1498
1500
  id: string;
1499
1501
  label: string;
1500
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1501
1502
  capture: "at_action" | "historical_lookup" | "fixture";
1502
1503
  locator?: string | undefined;
1503
1504
  }[] | undefined;
@@ -1512,37 +1513,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1512
1513
  locator: z.ZodOptional<z.ZodString>;
1513
1514
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1514
1515
  }, "strict", z.ZodTypeAny, {
1516
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1515
1517
  id: string;
1516
1518
  label: string;
1517
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1518
1519
  capture: "at_action" | "historical_lookup" | "fixture";
1519
1520
  locator?: string | undefined;
1520
1521
  }, {
1522
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1521
1523
  id: string;
1522
1524
  label: string;
1523
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1524
1525
  capture: "at_action" | "historical_lookup" | "fixture";
1525
1526
  locator?: string | undefined;
1526
1527
  }>, "many">>;
1527
1528
  }, "strict", z.ZodTypeAny, {
1528
- summary: string;
1529
1529
  kind: "mission_completed";
1530
+ summary: string;
1530
1531
  outcome: "failed" | "recovered" | "inconclusive";
1531
1532
  evidence: {
1533
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1532
1534
  id: string;
1533
1535
  label: string;
1534
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1535
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1536
1537
  locator?: string | undefined;
1537
1538
  }[];
1538
1539
  }, {
1539
- summary: string;
1540
1540
  kind: "mission_completed";
1541
+ summary: string;
1541
1542
  outcome: "failed" | "recovered" | "inconclusive";
1542
1543
  evidence?: {
1544
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1543
1545
  id: string;
1544
1546
  label: string;
1545
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1546
1547
  capture: "at_action" | "historical_lookup" | "fixture";
1547
1548
  locator?: string | undefined;
1548
1549
  }[] | undefined;
@@ -1550,38 +1551,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1550
1551
  kind: "mission_started";
1551
1552
  title: string;
1552
1553
  evidence: {
1554
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1553
1555
  id: string;
1554
1556
  label: string;
1555
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1556
1557
  capture: "at_action" | "historical_lookup" | "fixture";
1557
1558
  locator?: string | undefined;
1558
1559
  }[];
1559
1560
  objective: string;
1560
1561
  runMode: "replay" | "fixture" | "live";
1561
1562
  } | {
1562
- label: string;
1563
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1564
1563
  kind: "agent_status";
1564
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1565
1565
  role: string;
1566
+ label: string;
1566
1567
  agentId: string;
1567
1568
  sessionId: string;
1568
1569
  evidence: {
1570
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1569
1571
  id: string;
1570
1572
  label: string;
1571
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1572
1573
  capture: "at_action" | "historical_lookup" | "fixture";
1573
1574
  locator?: string | undefined;
1574
1575
  }[];
1575
1576
  detail?: string | undefined;
1576
1577
  } | {
1577
- summary: string;
1578
1578
  kind: "agent_output";
1579
+ summary: string;
1579
1580
  agentId: string;
1580
1581
  sessionId: string;
1581
1582
  evidence: {
1583
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1582
1584
  id: string;
1583
1585
  label: string;
1584
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1585
1586
  capture: "at_action" | "historical_lookup" | "fixture";
1586
1587
  locator?: string | undefined;
1587
1588
  }[];
@@ -1592,9 +1593,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1592
1593
  statement: string;
1593
1594
  sessionId: string;
1594
1595
  evidence: {
1596
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1595
1597
  id: string;
1596
1598
  label: string;
1597
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
1599
  capture: "at_action" | "historical_lookup" | "fixture";
1599
1600
  locator?: string | undefined;
1600
1601
  }[];
@@ -1602,12 +1603,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1602
1603
  decisionId: string;
1603
1604
  confidence?: number | undefined;
1604
1605
  } | {
1605
- summary: string;
1606
1606
  kind: "conflict_detected";
1607
+ summary: string;
1607
1608
  evidence: {
1609
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1608
1610
  id: string;
1609
1611
  label: string;
1610
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
1612
  capture: "at_action" | "historical_lookup" | "fixture";
1612
1613
  locator?: string | undefined;
1613
1614
  }[];
@@ -1615,14 +1616,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1615
1616
  decisionIds: string[];
1616
1617
  agentIds: string[];
1617
1618
  } | {
1619
+ kind: "test_result";
1618
1620
  summary: string;
1619
1621
  status: "error" | "failed" | "passed";
1620
- kind: "test_result";
1621
1622
  command: string;
1622
1623
  evidence: {
1624
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1623
1625
  id: string;
1624
1626
  label: string;
1625
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1626
1627
  capture: "at_action" | "historical_lookup" | "fixture";
1627
1628
  locator?: string | undefined;
1628
1629
  }[];
@@ -1635,9 +1636,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1635
1636
  rationale: string;
1636
1637
  statement: string;
1637
1638
  evidence: {
1639
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1638
1640
  id: string;
1639
1641
  label: string;
1640
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1641
1642
  capture: "at_action" | "historical_lookup" | "fixture";
1642
1643
  locator?: string | undefined;
1643
1644
  }[];
@@ -1649,25 +1650,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1649
1650
  } | {
1650
1651
  kind: "correction_approved";
1651
1652
  evidence: {
1653
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1652
1654
  id: string;
1653
1655
  label: string;
1654
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1655
1656
  capture: "at_action" | "historical_lookup" | "fixture";
1656
1657
  locator?: string | undefined;
1657
1658
  }[];
1658
1659
  correctionId: string;
1659
1660
  approvedBy: {
1661
+ kind: "agent" | "human";
1660
1662
  id: string;
1661
1663
  label: string;
1662
- kind: "agent" | "human";
1663
1664
  };
1664
1665
  note?: string | undefined;
1665
1666
  } | {
1666
1667
  kind: "decision_superseded";
1667
1668
  evidence: {
1669
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1668
1670
  id: string;
1669
1671
  label: string;
1670
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1671
1672
  capture: "at_action" | "historical_lookup" | "fixture";
1672
1673
  locator?: string | undefined;
1673
1674
  }[];
@@ -1680,9 +1681,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1680
1681
  agentId: string;
1681
1682
  sessionId: string;
1682
1683
  evidence: {
1684
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1683
1685
  id: string;
1684
1686
  label: string;
1685
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1686
1687
  capture: "at_action" | "historical_lookup" | "fixture";
1687
1688
  locator?: string | undefined;
1688
1689
  }[];
@@ -1694,9 +1695,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1694
1695
  agentId: string;
1695
1696
  sessionId: string;
1696
1697
  evidence: {
1698
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1697
1699
  id: string;
1698
1700
  label: string;
1699
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
1701
  capture: "at_action" | "historical_lookup" | "fixture";
1701
1702
  locator?: string | undefined;
1702
1703
  }[];
@@ -1705,13 +1706,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1705
1706
  recallReceiptId: string;
1706
1707
  staleDecisionAbsent: boolean;
1707
1708
  } | {
1708
- summary: string;
1709
1709
  kind: "mission_completed";
1710
+ summary: string;
1710
1711
  outcome: "failed" | "recovered" | "inconclusive";
1711
1712
  evidence: {
1713
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1712
1714
  id: string;
1713
1715
  label: string;
1714
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1715
1716
  capture: "at_action" | "historical_lookup" | "fixture";
1716
1717
  locator?: string | undefined;
1717
1718
  }[];
@@ -1721,37 +1722,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1721
1722
  objective: string;
1722
1723
  runMode: "replay" | "fixture" | "live";
1723
1724
  evidence?: {
1725
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1724
1726
  id: string;
1725
1727
  label: string;
1726
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
1728
  capture: "at_action" | "historical_lookup" | "fixture";
1728
1729
  locator?: string | undefined;
1729
1730
  }[] | undefined;
1730
1731
  } | {
1731
- label: string;
1732
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1733
1732
  kind: "agent_status";
1733
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1734
1734
  role: string;
1735
+ label: string;
1735
1736
  agentId: string;
1736
1737
  sessionId: string;
1737
1738
  detail?: string | undefined;
1738
1739
  evidence?: {
1740
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1739
1741
  id: string;
1740
1742
  label: string;
1741
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1742
1743
  capture: "at_action" | "historical_lookup" | "fixture";
1743
1744
  locator?: string | undefined;
1744
1745
  }[] | undefined;
1745
1746
  } | {
1746
- summary: string;
1747
1747
  kind: "agent_output";
1748
+ summary: string;
1748
1749
  agentId: string;
1749
1750
  sessionId: string;
1750
1751
  outputId: string;
1751
1752
  evidence?: {
1753
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1752
1754
  id: string;
1753
1755
  label: string;
1754
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1755
1756
  capture: "at_action" | "historical_lookup" | "fixture";
1756
1757
  locator?: string | undefined;
1757
1758
  }[] | undefined;
@@ -1764,37 +1765,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1764
1765
  decisionId: string;
1765
1766
  confidence?: number | undefined;
1766
1767
  evidence?: {
1768
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1767
1769
  id: string;
1768
1770
  label: string;
1769
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1770
1771
  capture: "at_action" | "historical_lookup" | "fixture";
1771
1772
  locator?: string | undefined;
1772
1773
  }[] | undefined;
1773
1774
  } | {
1774
- summary: string;
1775
1775
  kind: "conflict_detected";
1776
+ summary: string;
1776
1777
  conflictId: string;
1777
1778
  decisionIds: string[];
1778
1779
  agentIds: string[];
1779
1780
  evidence?: {
1781
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1780
1782
  id: string;
1781
1783
  label: string;
1782
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1783
1784
  capture: "at_action" | "historical_lookup" | "fixture";
1784
1785
  locator?: string | undefined;
1785
1786
  }[] | undefined;
1786
1787
  } | {
1788
+ kind: "test_result";
1787
1789
  summary: string;
1788
1790
  status: "error" | "failed" | "passed";
1789
- kind: "test_result";
1790
1791
  command: string;
1791
1792
  decisionId: string;
1792
1793
  testId: string;
1793
1794
  durationMs?: number | undefined;
1794
1795
  evidence?: {
1796
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1795
1797
  id: string;
1796
1798
  label: string;
1797
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1798
1799
  capture: "at_action" | "historical_lookup" | "fixture";
1799
1800
  locator?: string | undefined;
1800
1801
  }[] | undefined;
@@ -1809,9 +1810,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1809
1810
  supersedesDecisionIds: string[];
1810
1811
  proposedBy: string;
1811
1812
  evidence?: {
1813
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1812
1814
  id: string;
1813
1815
  label: string;
1814
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1815
1816
  capture: "at_action" | "historical_lookup" | "fixture";
1816
1817
  locator?: string | undefined;
1817
1818
  }[] | undefined;
@@ -1819,15 +1820,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1819
1820
  kind: "correction_approved";
1820
1821
  correctionId: string;
1821
1822
  approvedBy: {
1823
+ kind: "agent" | "human";
1822
1824
  id: string;
1823
1825
  label: string;
1824
- kind: "agent" | "human";
1825
1826
  };
1826
1827
  note?: string | undefined;
1827
1828
  evidence?: {
1829
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1828
1830
  id: string;
1829
1831
  label: string;
1830
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1831
1832
  capture: "at_action" | "historical_lookup" | "fixture";
1832
1833
  locator?: string | undefined;
1833
1834
  }[] | undefined;
@@ -1837,9 +1838,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1837
1838
  correctionId: string;
1838
1839
  replacementDecisionId: string;
1839
1840
  evidence?: {
1841
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1840
1842
  id: string;
1841
1843
  label: string;
1842
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1843
1844
  capture: "at_action" | "historical_lookup" | "fixture";
1844
1845
  locator?: string | undefined;
1845
1846
  }[] | undefined;
@@ -1852,9 +1853,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1852
1853
  recallReceiptId: string;
1853
1854
  capturedAtAction: boolean;
1854
1855
  evidence?: {
1856
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1855
1857
  id: string;
1856
1858
  label: string;
1857
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1858
1859
  capture: "at_action" | "historical_lookup" | "fixture";
1859
1860
  locator?: string | undefined;
1860
1861
  }[] | undefined;
@@ -1867,20 +1868,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1867
1868
  recallReceiptId: string;
1868
1869
  staleDecisionAbsent: boolean;
1869
1870
  evidence?: {
1871
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1870
1872
  id: string;
1871
1873
  label: string;
1872
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1873
1874
  capture: "at_action" | "historical_lookup" | "fixture";
1874
1875
  locator?: string | undefined;
1875
1876
  }[] | undefined;
1876
1877
  } | {
1877
- summary: string;
1878
1878
  kind: "mission_completed";
1879
+ summary: string;
1879
1880
  outcome: "failed" | "recovered" | "inconclusive";
1880
1881
  evidence?: {
1882
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1881
1883
  id: string;
1882
1884
  label: string;
1883
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1884
1885
  capture: "at_action" | "historical_lookup" | "fixture";
1885
1886
  locator?: string | undefined;
1886
1887
  }[] | undefined;
@@ -1901,15 +1902,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1901
1902
  locator: z.ZodOptional<z.ZodString>;
1902
1903
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1903
1904
  }, "strict", z.ZodTypeAny, {
1905
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1904
1906
  id: string;
1905
1907
  label: string;
1906
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
1908
  capture: "at_action" | "historical_lookup" | "fixture";
1908
1909
  locator?: string | undefined;
1909
1910
  }, {
1911
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1910
1912
  id: string;
1911
1913
  label: string;
1912
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1913
1914
  capture: "at_action" | "historical_lookup" | "fixture";
1914
1915
  locator?: string | undefined;
1915
1916
  }>, "many">>;
@@ -1917,9 +1918,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1917
1918
  kind: "mission_started";
1918
1919
  title: string;
1919
1920
  evidence: {
1921
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1920
1922
  id: string;
1921
1923
  label: string;
1922
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1923
1924
  capture: "at_action" | "historical_lookup" | "fixture";
1924
1925
  locator?: string | undefined;
1925
1926
  }[];
@@ -1931,9 +1932,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1931
1932
  objective: string;
1932
1933
  runMode: "replay" | "fixture" | "live";
1933
1934
  evidence?: {
1935
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1934
1936
  id: string;
1935
1937
  label: string;
1936
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1937
1938
  capture: "at_action" | "historical_lookup" | "fixture";
1938
1939
  locator?: string | undefined;
1939
1940
  }[] | undefined;
@@ -1949,15 +1950,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1949
1950
  locator: z.ZodOptional<z.ZodString>;
1950
1951
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1951
1952
  }, "strict", z.ZodTypeAny, {
1953
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1952
1954
  id: string;
1953
1955
  label: string;
1954
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1955
1956
  capture: "at_action" | "historical_lookup" | "fixture";
1956
1957
  locator?: string | undefined;
1957
1958
  }, {
1959
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1958
1960
  id: string;
1959
1961
  label: string;
1960
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1961
1962
  capture: "at_action" | "historical_lookup" | "fixture";
1962
1963
  locator?: string | undefined;
1963
1964
  }>, "many">>;
@@ -1965,32 +1966,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1965
1966
  sessionId: z.ZodString;
1966
1967
  kind: z.ZodLiteral<"agent_status">;
1967
1968
  }, "strict", z.ZodTypeAny, {
1968
- label: string;
1969
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1970
1969
  kind: "agent_status";
1970
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1971
1971
  role: string;
1972
+ label: string;
1972
1973
  agentId: string;
1973
1974
  sessionId: string;
1974
1975
  evidence: {
1976
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1975
1977
  id: string;
1976
1978
  label: string;
1977
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1978
1979
  capture: "at_action" | "historical_lookup" | "fixture";
1979
1980
  locator?: string | undefined;
1980
1981
  }[];
1981
1982
  detail?: string | undefined;
1982
1983
  }, {
1983
- label: string;
1984
- status: "failed" | "complete" | "blocked" | "working" | "idle";
1985
1984
  kind: "agent_status";
1985
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
1986
1986
  role: string;
1987
+ label: string;
1987
1988
  agentId: string;
1988
1989
  sessionId: string;
1989
1990
  detail?: string | undefined;
1990
1991
  evidence?: {
1992
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1991
1993
  id: string;
1992
1994
  label: string;
1993
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1994
1995
  capture: "at_action" | "historical_lookup" | "fixture";
1995
1996
  locator?: string | undefined;
1996
1997
  }[] | undefined;
@@ -2004,15 +2005,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2004
2005
  locator: z.ZodOptional<z.ZodString>;
2005
2006
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2006
2007
  }, "strict", z.ZodTypeAny, {
2008
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2007
2009
  id: string;
2008
2010
  label: string;
2009
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
2011
  capture: "at_action" | "historical_lookup" | "fixture";
2011
2012
  locator?: string | undefined;
2012
2013
  }, {
2014
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2013
2015
  id: string;
2014
2016
  label: string;
2015
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2016
2017
  capture: "at_action" | "historical_lookup" | "fixture";
2017
2018
  locator?: string | undefined;
2018
2019
  }>, "many">>;
@@ -2020,28 +2021,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2020
2021
  sessionId: z.ZodString;
2021
2022
  kind: z.ZodLiteral<"agent_output">;
2022
2023
  }, "strict", z.ZodTypeAny, {
2023
- summary: string;
2024
2024
  kind: "agent_output";
2025
+ summary: string;
2025
2026
  agentId: string;
2026
2027
  sessionId: string;
2027
2028
  evidence: {
2029
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2028
2030
  id: string;
2029
2031
  label: string;
2030
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2031
2032
  capture: "at_action" | "historical_lookup" | "fixture";
2032
2033
  locator?: string | undefined;
2033
2034
  }[];
2034
2035
  outputId: string;
2035
2036
  }, {
2036
- summary: string;
2037
2037
  kind: "agent_output";
2038
+ summary: string;
2038
2039
  agentId: string;
2039
2040
  sessionId: string;
2040
2041
  outputId: string;
2041
2042
  evidence?: {
2043
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2042
2044
  id: string;
2043
2045
  label: string;
2044
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
2046
  capture: "at_action" | "historical_lookup" | "fixture";
2046
2047
  locator?: string | undefined;
2047
2048
  }[] | undefined;
@@ -2057,15 +2058,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2057
2058
  locator: z.ZodOptional<z.ZodString>;
2058
2059
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2059
2060
  }, "strict", z.ZodTypeAny, {
2061
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2060
2062
  id: string;
2061
2063
  label: string;
2062
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2063
2064
  capture: "at_action" | "historical_lookup" | "fixture";
2064
2065
  locator?: string | undefined;
2065
2066
  }, {
2067
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2066
2068
  id: string;
2067
2069
  label: string;
2068
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2069
2070
  capture: "at_action" | "historical_lookup" | "fixture";
2070
2071
  locator?: string | undefined;
2071
2072
  }>, "many">>;
@@ -2078,9 +2079,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2078
2079
  statement: string;
2079
2080
  sessionId: string;
2080
2081
  evidence: {
2082
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2081
2083
  id: string;
2082
2084
  label: string;
2083
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
2085
  capture: "at_action" | "historical_lookup" | "fixture";
2085
2086
  locator?: string | undefined;
2086
2087
  }[];
@@ -2096,9 +2097,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2096
2097
  decisionId: string;
2097
2098
  confidence?: number | undefined;
2098
2099
  evidence?: {
2100
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2099
2101
  id: string;
2100
2102
  label: string;
2101
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2102
2103
  capture: "at_action" | "historical_lookup" | "fixture";
2103
2104
  locator?: string | undefined;
2104
2105
  }[] | undefined;
@@ -2115,25 +2116,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2115
2116
  locator: z.ZodOptional<z.ZodString>;
2116
2117
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2117
2118
  }, "strict", z.ZodTypeAny, {
2119
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2118
2120
  id: string;
2119
2121
  label: string;
2120
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2121
2122
  capture: "at_action" | "historical_lookup" | "fixture";
2122
2123
  locator?: string | undefined;
2123
2124
  }, {
2125
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2124
2126
  id: string;
2125
2127
  label: string;
2126
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2127
2128
  capture: "at_action" | "historical_lookup" | "fixture";
2128
2129
  locator?: string | undefined;
2129
2130
  }>, "many">>;
2130
2131
  }, "strict", z.ZodTypeAny, {
2131
- summary: string;
2132
2132
  kind: "conflict_detected";
2133
+ summary: string;
2133
2134
  evidence: {
2135
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2134
2136
  id: string;
2135
2137
  label: string;
2136
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2137
2138
  capture: "at_action" | "historical_lookup" | "fixture";
2138
2139
  locator?: string | undefined;
2139
2140
  }[];
@@ -2141,15 +2142,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2141
2142
  decisionIds: string[];
2142
2143
  agentIds: string[];
2143
2144
  }, {
2144
- summary: string;
2145
2145
  kind: "conflict_detected";
2146
+ summary: string;
2146
2147
  conflictId: string;
2147
2148
  decisionIds: string[];
2148
2149
  agentIds: string[];
2149
2150
  evidence?: {
2151
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2150
2152
  id: string;
2151
2153
  label: string;
2152
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2153
2154
  capture: "at_action" | "historical_lookup" | "fixture";
2154
2155
  locator?: string | undefined;
2155
2156
  }[] | undefined;
@@ -2169,27 +2170,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2169
2170
  locator: z.ZodOptional<z.ZodString>;
2170
2171
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2171
2172
  }, "strict", z.ZodTypeAny, {
2173
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2172
2174
  id: string;
2173
2175
  label: string;
2174
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2175
2176
  capture: "at_action" | "historical_lookup" | "fixture";
2176
2177
  locator?: string | undefined;
2177
2178
  }, {
2179
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2178
2180
  id: string;
2179
2181
  label: string;
2180
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2181
2182
  capture: "at_action" | "historical_lookup" | "fixture";
2182
2183
  locator?: string | undefined;
2183
2184
  }>, "many">>;
2184
2185
  }, "strict", z.ZodTypeAny, {
2186
+ kind: "test_result";
2185
2187
  summary: string;
2186
2188
  status: "error" | "failed" | "passed";
2187
- kind: "test_result";
2188
2189
  command: string;
2189
2190
  evidence: {
2191
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2190
2192
  id: string;
2191
2193
  label: string;
2192
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2193
2194
  capture: "at_action" | "historical_lookup" | "fixture";
2194
2195
  locator?: string | undefined;
2195
2196
  }[];
@@ -2198,17 +2199,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2198
2199
  durationMs?: number | undefined;
2199
2200
  correctionId?: string | undefined;
2200
2201
  }, {
2202
+ kind: "test_result";
2201
2203
  summary: string;
2202
2204
  status: "error" | "failed" | "passed";
2203
- kind: "test_result";
2204
2205
  command: string;
2205
2206
  decisionId: string;
2206
2207
  testId: string;
2207
2208
  durationMs?: number | undefined;
2208
2209
  evidence?: {
2210
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2209
2211
  id: string;
2210
2212
  label: string;
2211
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2212
2213
  capture: "at_action" | "historical_lookup" | "fixture";
2213
2214
  locator?: string | undefined;
2214
2215
  }[] | undefined;
@@ -2229,15 +2230,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2229
2230
  locator: z.ZodOptional<z.ZodString>;
2230
2231
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2231
2232
  }, "strict", z.ZodTypeAny, {
2233
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2232
2234
  id: string;
2233
2235
  label: string;
2234
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2235
2236
  capture: "at_action" | "historical_lookup" | "fixture";
2236
2237
  locator?: string | undefined;
2237
2238
  }, {
2239
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2238
2240
  id: string;
2239
2241
  label: string;
2240
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2241
2242
  capture: "at_action" | "historical_lookup" | "fixture";
2242
2243
  locator?: string | undefined;
2243
2244
  }>, "many">>;
@@ -2246,9 +2247,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2246
2247
  rationale: string;
2247
2248
  statement: string;
2248
2249
  evidence: {
2250
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2249
2251
  id: string;
2250
2252
  label: string;
2251
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2252
2253
  capture: "at_action" | "historical_lookup" | "fixture";
2253
2254
  locator?: string | undefined;
2254
2255
  }[];
@@ -2267,9 +2268,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2267
2268
  supersedesDecisionIds: string[];
2268
2269
  proposedBy: string;
2269
2270
  evidence?: {
2271
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2270
2272
  id: string;
2271
2273
  label: string;
2272
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2273
2274
  capture: "at_action" | "historical_lookup" | "fixture";
2274
2275
  locator?: string | undefined;
2275
2276
  }[] | undefined;
@@ -2281,13 +2282,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2281
2282
  id: z.ZodString;
2282
2283
  label: z.ZodString;
2283
2284
  }, "strict", z.ZodTypeAny, {
2285
+ kind: "agent" | "human";
2284
2286
  id: string;
2285
2287
  label: string;
2286
- kind: "agent" | "human";
2287
2288
  }, {
2289
+ kind: "agent" | "human";
2288
2290
  id: string;
2289
2291
  label: string;
2290
- kind: "agent" | "human";
2291
2292
  }>;
2292
2293
  note: z.ZodOptional<z.ZodString>;
2293
2294
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2297,47 +2298,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2297
2298
  locator: z.ZodOptional<z.ZodString>;
2298
2299
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2299
2300
  }, "strict", z.ZodTypeAny, {
2301
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2300
2302
  id: string;
2301
2303
  label: string;
2302
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2303
2304
  capture: "at_action" | "historical_lookup" | "fixture";
2304
2305
  locator?: string | undefined;
2305
2306
  }, {
2307
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2306
2308
  id: string;
2307
2309
  label: string;
2308
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2309
2310
  capture: "at_action" | "historical_lookup" | "fixture";
2310
2311
  locator?: string | undefined;
2311
2312
  }>, "many">>;
2312
2313
  }, "strict", z.ZodTypeAny, {
2313
2314
  kind: "correction_approved";
2314
2315
  evidence: {
2316
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2315
2317
  id: string;
2316
2318
  label: string;
2317
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2318
2319
  capture: "at_action" | "historical_lookup" | "fixture";
2319
2320
  locator?: string | undefined;
2320
2321
  }[];
2321
2322
  correctionId: string;
2322
2323
  approvedBy: {
2324
+ kind: "agent" | "human";
2323
2325
  id: string;
2324
2326
  label: string;
2325
- kind: "agent" | "human";
2326
2327
  };
2327
2328
  note?: string | undefined;
2328
2329
  }, {
2329
2330
  kind: "correction_approved";
2330
2331
  correctionId: string;
2331
2332
  approvedBy: {
2333
+ kind: "agent" | "human";
2332
2334
  id: string;
2333
2335
  label: string;
2334
- kind: "agent" | "human";
2335
2336
  };
2336
2337
  note?: string | undefined;
2337
2338
  evidence?: {
2339
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2338
2340
  id: string;
2339
2341
  label: string;
2340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2341
2342
  capture: "at_action" | "historical_lookup" | "fixture";
2342
2343
  locator?: string | undefined;
2343
2344
  }[] | undefined;
@@ -2353,24 +2354,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2353
2354
  locator: z.ZodOptional<z.ZodString>;
2354
2355
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2355
2356
  }, "strict", z.ZodTypeAny, {
2357
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2356
2358
  id: string;
2357
2359
  label: string;
2358
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2359
2360
  capture: "at_action" | "historical_lookup" | "fixture";
2360
2361
  locator?: string | undefined;
2361
2362
  }, {
2363
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2362
2364
  id: string;
2363
2365
  label: string;
2364
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2366
  capture: "at_action" | "historical_lookup" | "fixture";
2366
2367
  locator?: string | undefined;
2367
2368
  }>, "many">>;
2368
2369
  }, "strict", z.ZodTypeAny, {
2369
2370
  kind: "decision_superseded";
2370
2371
  evidence: {
2372
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2371
2373
  id: string;
2372
2374
  label: string;
2373
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2374
2375
  capture: "at_action" | "historical_lookup" | "fixture";
2375
2376
  locator?: string | undefined;
2376
2377
  }[];
@@ -2383,9 +2384,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2383
2384
  correctionId: string;
2384
2385
  replacementDecisionId: string;
2385
2386
  evidence?: {
2387
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
2388
  id: string;
2387
2389
  label: string;
2388
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2389
2390
  capture: "at_action" | "historical_lookup" | "fixture";
2390
2391
  locator?: string | undefined;
2391
2392
  }[] | undefined;
@@ -2401,15 +2402,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2401
2402
  locator: z.ZodOptional<z.ZodString>;
2402
2403
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2403
2404
  }, "strict", z.ZodTypeAny, {
2405
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2404
2406
  id: string;
2405
2407
  label: string;
2406
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2407
2408
  capture: "at_action" | "historical_lookup" | "fixture";
2408
2409
  locator?: string | undefined;
2409
2410
  }, {
2411
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2410
2412
  id: string;
2411
2413
  label: string;
2412
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
2414
  capture: "at_action" | "historical_lookup" | "fixture";
2414
2415
  locator?: string | undefined;
2415
2416
  }>, "many">>;
@@ -2422,9 +2423,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2422
2423
  agentId: string;
2423
2424
  sessionId: string;
2424
2425
  evidence: {
2426
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2425
2427
  id: string;
2426
2428
  label: string;
2427
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2428
2429
  capture: "at_action" | "historical_lookup" | "fixture";
2429
2430
  locator?: string | undefined;
2430
2431
  }[];
@@ -2440,9 +2441,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2440
2441
  recallReceiptId: string;
2441
2442
  capturedAtAction: boolean;
2442
2443
  evidence?: {
2444
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2443
2445
  id: string;
2444
2446
  label: string;
2445
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2446
2447
  capture: "at_action" | "historical_lookup" | "fixture";
2447
2448
  locator?: string | undefined;
2448
2449
  }[] | undefined;
@@ -2458,15 +2459,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2458
2459
  locator: z.ZodOptional<z.ZodString>;
2459
2460
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2460
2461
  }, "strict", z.ZodTypeAny, {
2462
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2461
2463
  id: string;
2462
2464
  label: string;
2463
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2464
2465
  capture: "at_action" | "historical_lookup" | "fixture";
2465
2466
  locator?: string | undefined;
2466
2467
  }, {
2468
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2467
2469
  id: string;
2468
2470
  label: string;
2469
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2470
2471
  capture: "at_action" | "historical_lookup" | "fixture";
2471
2472
  locator?: string | undefined;
2472
2473
  }>, "many">>;
@@ -2478,9 +2479,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2478
2479
  agentId: string;
2479
2480
  sessionId: string;
2480
2481
  evidence: {
2482
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
2483
  id: string;
2482
2484
  label: string;
2483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2484
2485
  capture: "at_action" | "historical_lookup" | "fixture";
2485
2486
  locator?: string | undefined;
2486
2487
  }[];
@@ -2497,9 +2498,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2497
2498
  recallReceiptId: string;
2498
2499
  staleDecisionAbsent: boolean;
2499
2500
  evidence?: {
2501
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2500
2502
  id: string;
2501
2503
  label: string;
2502
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2503
2504
  capture: "at_action" | "historical_lookup" | "fixture";
2504
2505
  locator?: string | undefined;
2505
2506
  }[] | undefined;
@@ -2514,37 +2515,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2514
2515
  locator: z.ZodOptional<z.ZodString>;
2515
2516
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2516
2517
  }, "strict", z.ZodTypeAny, {
2518
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2517
2519
  id: string;
2518
2520
  label: string;
2519
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2520
2521
  capture: "at_action" | "historical_lookup" | "fixture";
2521
2522
  locator?: string | undefined;
2522
2523
  }, {
2524
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2523
2525
  id: string;
2524
2526
  label: string;
2525
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2526
2527
  capture: "at_action" | "historical_lookup" | "fixture";
2527
2528
  locator?: string | undefined;
2528
2529
  }>, "many">>;
2529
2530
  }, "strict", z.ZodTypeAny, {
2530
- summary: string;
2531
2531
  kind: "mission_completed";
2532
+ summary: string;
2532
2533
  outcome: "failed" | "recovered" | "inconclusive";
2533
2534
  evidence: {
2535
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2534
2536
  id: string;
2535
2537
  label: string;
2536
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2537
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2538
2539
  locator?: string | undefined;
2539
2540
  }[];
2540
2541
  }, {
2541
- summary: string;
2542
2542
  kind: "mission_completed";
2543
+ summary: string;
2543
2544
  outcome: "failed" | "recovered" | "inconclusive";
2544
2545
  evidence?: {
2546
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2545
2547
  id: string;
2546
2548
  label: string;
2547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2548
2549
  capture: "at_action" | "historical_lookup" | "fixture";
2549
2550
  locator?: string | undefined;
2550
2551
  }[] | undefined;
@@ -2552,38 +2553,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2552
2553
  kind: "mission_started";
2553
2554
  title: string;
2554
2555
  evidence: {
2556
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2555
2557
  id: string;
2556
2558
  label: string;
2557
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2558
2559
  capture: "at_action" | "historical_lookup" | "fixture";
2559
2560
  locator?: string | undefined;
2560
2561
  }[];
2561
2562
  objective: string;
2562
2563
  runMode: "replay" | "fixture" | "live";
2563
2564
  } | {
2564
- label: string;
2565
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2566
2565
  kind: "agent_status";
2566
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2567
2567
  role: string;
2568
+ label: string;
2568
2569
  agentId: string;
2569
2570
  sessionId: string;
2570
2571
  evidence: {
2572
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2571
2573
  id: string;
2572
2574
  label: string;
2573
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2574
2575
  capture: "at_action" | "historical_lookup" | "fixture";
2575
2576
  locator?: string | undefined;
2576
2577
  }[];
2577
2578
  detail?: string | undefined;
2578
2579
  } | {
2579
- summary: string;
2580
2580
  kind: "agent_output";
2581
+ summary: string;
2581
2582
  agentId: string;
2582
2583
  sessionId: string;
2583
2584
  evidence: {
2585
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2584
2586
  id: string;
2585
2587
  label: string;
2586
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2587
2588
  capture: "at_action" | "historical_lookup" | "fixture";
2588
2589
  locator?: string | undefined;
2589
2590
  }[];
@@ -2594,9 +2595,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2594
2595
  statement: string;
2595
2596
  sessionId: string;
2596
2597
  evidence: {
2598
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2597
2599
  id: string;
2598
2600
  label: string;
2599
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
2601
  capture: "at_action" | "historical_lookup" | "fixture";
2601
2602
  locator?: string | undefined;
2602
2603
  }[];
@@ -2604,12 +2605,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2604
2605
  decisionId: string;
2605
2606
  confidence?: number | undefined;
2606
2607
  } | {
2607
- summary: string;
2608
2608
  kind: "conflict_detected";
2609
+ summary: string;
2609
2610
  evidence: {
2611
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2610
2612
  id: string;
2611
2613
  label: string;
2612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
2614
  capture: "at_action" | "historical_lookup" | "fixture";
2614
2615
  locator?: string | undefined;
2615
2616
  }[];
@@ -2617,14 +2618,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2617
2618
  decisionIds: string[];
2618
2619
  agentIds: string[];
2619
2620
  } | {
2621
+ kind: "test_result";
2620
2622
  summary: string;
2621
2623
  status: "error" | "failed" | "passed";
2622
- kind: "test_result";
2623
2624
  command: string;
2624
2625
  evidence: {
2626
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2625
2627
  id: string;
2626
2628
  label: string;
2627
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2628
2629
  capture: "at_action" | "historical_lookup" | "fixture";
2629
2630
  locator?: string | undefined;
2630
2631
  }[];
@@ -2637,9 +2638,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2637
2638
  rationale: string;
2638
2639
  statement: string;
2639
2640
  evidence: {
2641
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2640
2642
  id: string;
2641
2643
  label: string;
2642
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2643
2644
  capture: "at_action" | "historical_lookup" | "fixture";
2644
2645
  locator?: string | undefined;
2645
2646
  }[];
@@ -2651,25 +2652,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2651
2652
  } | {
2652
2653
  kind: "correction_approved";
2653
2654
  evidence: {
2655
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2654
2656
  id: string;
2655
2657
  label: string;
2656
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2657
2658
  capture: "at_action" | "historical_lookup" | "fixture";
2658
2659
  locator?: string | undefined;
2659
2660
  }[];
2660
2661
  correctionId: string;
2661
2662
  approvedBy: {
2663
+ kind: "agent" | "human";
2662
2664
  id: string;
2663
2665
  label: string;
2664
- kind: "agent" | "human";
2665
2666
  };
2666
2667
  note?: string | undefined;
2667
2668
  } | {
2668
2669
  kind: "decision_superseded";
2669
2670
  evidence: {
2671
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2670
2672
  id: string;
2671
2673
  label: string;
2672
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2673
2674
  capture: "at_action" | "historical_lookup" | "fixture";
2674
2675
  locator?: string | undefined;
2675
2676
  }[];
@@ -2682,9 +2683,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2682
2683
  agentId: string;
2683
2684
  sessionId: string;
2684
2685
  evidence: {
2686
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2685
2687
  id: string;
2686
2688
  label: string;
2687
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2688
2689
  capture: "at_action" | "historical_lookup" | "fixture";
2689
2690
  locator?: string | undefined;
2690
2691
  }[];
@@ -2696,9 +2697,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2696
2697
  agentId: string;
2697
2698
  sessionId: string;
2698
2699
  evidence: {
2700
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2699
2701
  id: string;
2700
2702
  label: string;
2701
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
2703
  capture: "at_action" | "historical_lookup" | "fixture";
2703
2704
  locator?: string | undefined;
2704
2705
  }[];
@@ -2707,13 +2708,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2707
2708
  recallReceiptId: string;
2708
2709
  staleDecisionAbsent: boolean;
2709
2710
  } | {
2710
- summary: string;
2711
2711
  kind: "mission_completed";
2712
+ summary: string;
2712
2713
  outcome: "failed" | "recovered" | "inconclusive";
2713
2714
  evidence: {
2715
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2714
2716
  id: string;
2715
2717
  label: string;
2716
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2717
2718
  capture: "at_action" | "historical_lookup" | "fixture";
2718
2719
  locator?: string | undefined;
2719
2720
  }[];
@@ -2723,37 +2724,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2723
2724
  objective: string;
2724
2725
  runMode: "replay" | "fixture" | "live";
2725
2726
  evidence?: {
2727
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2726
2728
  id: string;
2727
2729
  label: string;
2728
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
2730
  capture: "at_action" | "historical_lookup" | "fixture";
2730
2731
  locator?: string | undefined;
2731
2732
  }[] | undefined;
2732
2733
  } | {
2733
- label: string;
2734
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2735
2734
  kind: "agent_status";
2735
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2736
2736
  role: string;
2737
+ label: string;
2737
2738
  agentId: string;
2738
2739
  sessionId: string;
2739
2740
  detail?: string | undefined;
2740
2741
  evidence?: {
2742
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2741
2743
  id: string;
2742
2744
  label: string;
2743
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2744
2745
  capture: "at_action" | "historical_lookup" | "fixture";
2745
2746
  locator?: string | undefined;
2746
2747
  }[] | undefined;
2747
2748
  } | {
2748
- summary: string;
2749
2749
  kind: "agent_output";
2750
+ summary: string;
2750
2751
  agentId: string;
2751
2752
  sessionId: string;
2752
2753
  outputId: string;
2753
2754
  evidence?: {
2755
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2754
2756
  id: string;
2755
2757
  label: string;
2756
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2757
2758
  capture: "at_action" | "historical_lookup" | "fixture";
2758
2759
  locator?: string | undefined;
2759
2760
  }[] | undefined;
@@ -2766,37 +2767,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2766
2767
  decisionId: string;
2767
2768
  confidence?: number | undefined;
2768
2769
  evidence?: {
2770
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2769
2771
  id: string;
2770
2772
  label: string;
2771
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2772
2773
  capture: "at_action" | "historical_lookup" | "fixture";
2773
2774
  locator?: string | undefined;
2774
2775
  }[] | undefined;
2775
2776
  } | {
2776
- summary: string;
2777
2777
  kind: "conflict_detected";
2778
+ summary: string;
2778
2779
  conflictId: string;
2779
2780
  decisionIds: string[];
2780
2781
  agentIds: string[];
2781
2782
  evidence?: {
2783
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2782
2784
  id: string;
2783
2785
  label: string;
2784
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2785
2786
  capture: "at_action" | "historical_lookup" | "fixture";
2786
2787
  locator?: string | undefined;
2787
2788
  }[] | undefined;
2788
2789
  } | {
2790
+ kind: "test_result";
2789
2791
  summary: string;
2790
2792
  status: "error" | "failed" | "passed";
2791
- kind: "test_result";
2792
2793
  command: string;
2793
2794
  decisionId: string;
2794
2795
  testId: string;
2795
2796
  durationMs?: number | undefined;
2796
2797
  evidence?: {
2798
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2797
2799
  id: string;
2798
2800
  label: string;
2799
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2800
2801
  capture: "at_action" | "historical_lookup" | "fixture";
2801
2802
  locator?: string | undefined;
2802
2803
  }[] | undefined;
@@ -2811,9 +2812,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2811
2812
  supersedesDecisionIds: string[];
2812
2813
  proposedBy: string;
2813
2814
  evidence?: {
2815
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2814
2816
  id: string;
2815
2817
  label: string;
2816
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2817
2818
  capture: "at_action" | "historical_lookup" | "fixture";
2818
2819
  locator?: string | undefined;
2819
2820
  }[] | undefined;
@@ -2821,15 +2822,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2821
2822
  kind: "correction_approved";
2822
2823
  correctionId: string;
2823
2824
  approvedBy: {
2825
+ kind: "agent" | "human";
2824
2826
  id: string;
2825
2827
  label: string;
2826
- kind: "agent" | "human";
2827
2828
  };
2828
2829
  note?: string | undefined;
2829
2830
  evidence?: {
2831
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2830
2832
  id: string;
2831
2833
  label: string;
2832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2833
2834
  capture: "at_action" | "historical_lookup" | "fixture";
2834
2835
  locator?: string | undefined;
2835
2836
  }[] | undefined;
@@ -2839,9 +2840,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2839
2840
  correctionId: string;
2840
2841
  replacementDecisionId: string;
2841
2842
  evidence?: {
2843
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2842
2844
  id: string;
2843
2845
  label: string;
2844
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2845
2846
  capture: "at_action" | "historical_lookup" | "fixture";
2846
2847
  locator?: string | undefined;
2847
2848
  }[] | undefined;
@@ -2854,9 +2855,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2854
2855
  recallReceiptId: string;
2855
2856
  capturedAtAction: boolean;
2856
2857
  evidence?: {
2858
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2857
2859
  id: string;
2858
2860
  label: string;
2859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2860
2861
  capture: "at_action" | "historical_lookup" | "fixture";
2861
2862
  locator?: string | undefined;
2862
2863
  }[] | undefined;
@@ -2869,20 +2870,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2869
2870
  recallReceiptId: string;
2870
2871
  staleDecisionAbsent: boolean;
2871
2872
  evidence?: {
2873
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2872
2874
  id: string;
2873
2875
  label: string;
2874
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2875
2876
  capture: "at_action" | "historical_lookup" | "fixture";
2876
2877
  locator?: string | undefined;
2877
2878
  }[] | undefined;
2878
2879
  } | {
2879
- summary: string;
2880
2880
  kind: "mission_completed";
2881
+ summary: string;
2881
2882
  outcome: "failed" | "recovered" | "inconclusive";
2882
2883
  evidence?: {
2884
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2883
2885
  id: string;
2884
2886
  label: string;
2885
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2886
2887
  capture: "at_action" | "historical_lookup" | "fixture";
2887
2888
  locator?: string | undefined;
2888
2889
  }[] | undefined;
@@ -2892,38 +2893,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2892
2893
  kind: "mission_started";
2893
2894
  title: string;
2894
2895
  evidence: {
2896
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2895
2897
  id: string;
2896
2898
  label: string;
2897
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2898
2899
  capture: "at_action" | "historical_lookup" | "fixture";
2899
2900
  locator?: string | undefined;
2900
2901
  }[];
2901
2902
  objective: string;
2902
2903
  runMode: "replay" | "fixture" | "live";
2903
2904
  } | {
2904
- label: string;
2905
- status: "failed" | "complete" | "blocked" | "working" | "idle";
2906
2905
  kind: "agent_status";
2906
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
2907
2907
  role: string;
2908
+ label: string;
2908
2909
  agentId: string;
2909
2910
  sessionId: string;
2910
2911
  evidence: {
2912
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2911
2913
  id: string;
2912
2914
  label: string;
2913
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2914
2915
  capture: "at_action" | "historical_lookup" | "fixture";
2915
2916
  locator?: string | undefined;
2916
2917
  }[];
2917
2918
  detail?: string | undefined;
2918
2919
  } | {
2919
- summary: string;
2920
2920
  kind: "agent_output";
2921
+ summary: string;
2921
2922
  agentId: string;
2922
2923
  sessionId: string;
2923
2924
  evidence: {
2925
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2924
2926
  id: string;
2925
2927
  label: string;
2926
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2927
2928
  capture: "at_action" | "historical_lookup" | "fixture";
2928
2929
  locator?: string | undefined;
2929
2930
  }[];
@@ -2934,9 +2935,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2934
2935
  statement: string;
2935
2936
  sessionId: string;
2936
2937
  evidence: {
2938
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2937
2939
  id: string;
2938
2940
  label: string;
2939
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2940
2941
  capture: "at_action" | "historical_lookup" | "fixture";
2941
2942
  locator?: string | undefined;
2942
2943
  }[];
@@ -2944,12 +2945,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2944
2945
  decisionId: string;
2945
2946
  confidence?: number | undefined;
2946
2947
  } | {
2947
- summary: string;
2948
2948
  kind: "conflict_detected";
2949
+ summary: string;
2949
2950
  evidence: {
2951
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2950
2952
  id: string;
2951
2953
  label: string;
2952
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2953
2954
  capture: "at_action" | "historical_lookup" | "fixture";
2954
2955
  locator?: string | undefined;
2955
2956
  }[];
@@ -2957,14 +2958,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2957
2958
  decisionIds: string[];
2958
2959
  agentIds: string[];
2959
2960
  } | {
2961
+ kind: "test_result";
2960
2962
  summary: string;
2961
2963
  status: "error" | "failed" | "passed";
2962
- kind: "test_result";
2963
2964
  command: string;
2964
2965
  evidence: {
2966
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2965
2967
  id: string;
2966
2968
  label: string;
2967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2968
2969
  capture: "at_action" | "historical_lookup" | "fixture";
2969
2970
  locator?: string | undefined;
2970
2971
  }[];
@@ -2977,9 +2978,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2977
2978
  rationale: string;
2978
2979
  statement: string;
2979
2980
  evidence: {
2981
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2980
2982
  id: string;
2981
2983
  label: string;
2982
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2983
2984
  capture: "at_action" | "historical_lookup" | "fixture";
2984
2985
  locator?: string | undefined;
2985
2986
  }[];
@@ -2991,25 +2992,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2991
2992
  } | {
2992
2993
  kind: "correction_approved";
2993
2994
  evidence: {
2995
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2994
2996
  id: string;
2995
2997
  label: string;
2996
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2997
2998
  capture: "at_action" | "historical_lookup" | "fixture";
2998
2999
  locator?: string | undefined;
2999
3000
  }[];
3000
3001
  correctionId: string;
3001
3002
  approvedBy: {
3003
+ kind: "agent" | "human";
3002
3004
  id: string;
3003
3005
  label: string;
3004
- kind: "agent" | "human";
3005
3006
  };
3006
3007
  note?: string | undefined;
3007
3008
  } | {
3008
3009
  kind: "decision_superseded";
3009
3010
  evidence: {
3011
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3010
3012
  id: string;
3011
3013
  label: string;
3012
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3013
3014
  capture: "at_action" | "historical_lookup" | "fixture";
3014
3015
  locator?: string | undefined;
3015
3016
  }[];
@@ -3022,9 +3023,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3022
3023
  agentId: string;
3023
3024
  sessionId: string;
3024
3025
  evidence: {
3026
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3025
3027
  id: string;
3026
3028
  label: string;
3027
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3028
3029
  capture: "at_action" | "historical_lookup" | "fixture";
3029
3030
  locator?: string | undefined;
3030
3031
  }[];
@@ -3036,9 +3037,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3036
3037
  agentId: string;
3037
3038
  sessionId: string;
3038
3039
  evidence: {
3040
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3039
3041
  id: string;
3040
3042
  label: string;
3041
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3042
3043
  capture: "at_action" | "historical_lookup" | "fixture";
3043
3044
  locator?: string | undefined;
3044
3045
  }[];
@@ -3047,13 +3048,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3047
3048
  recallReceiptId: string;
3048
3049
  staleDecisionAbsent: boolean;
3049
3050
  } | {
3050
- summary: string;
3051
3051
  kind: "mission_completed";
3052
+ summary: string;
3052
3053
  outcome: "failed" | "recovered" | "inconclusive";
3053
3054
  evidence: {
3055
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3054
3056
  id: string;
3055
3057
  label: string;
3056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
3058
  capture: "at_action" | "historical_lookup" | "fixture";
3058
3059
  locator?: string | undefined;
3059
3060
  }[];
@@ -3067,37 +3068,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3067
3068
  objective: string;
3068
3069
  runMode: "replay" | "fixture" | "live";
3069
3070
  evidence?: {
3071
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3070
3072
  id: string;
3071
3073
  label: string;
3072
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3073
3074
  capture: "at_action" | "historical_lookup" | "fixture";
3074
3075
  locator?: string | undefined;
3075
3076
  }[] | undefined;
3076
3077
  } | {
3077
- label: string;
3078
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3079
3078
  kind: "agent_status";
3079
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3080
3080
  role: string;
3081
+ label: string;
3081
3082
  agentId: string;
3082
3083
  sessionId: string;
3083
3084
  detail?: string | undefined;
3084
3085
  evidence?: {
3086
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3085
3087
  id: string;
3086
3088
  label: string;
3087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
3089
  capture: "at_action" | "historical_lookup" | "fixture";
3089
3090
  locator?: string | undefined;
3090
3091
  }[] | undefined;
3091
3092
  } | {
3092
- summary: string;
3093
3093
  kind: "agent_output";
3094
+ summary: string;
3094
3095
  agentId: string;
3095
3096
  sessionId: string;
3096
3097
  outputId: string;
3097
3098
  evidence?: {
3099
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3098
3100
  id: string;
3099
3101
  label: string;
3100
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3101
3102
  capture: "at_action" | "historical_lookup" | "fixture";
3102
3103
  locator?: string | undefined;
3103
3104
  }[] | undefined;
@@ -3110,37 +3111,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3110
3111
  decisionId: string;
3111
3112
  confidence?: number | undefined;
3112
3113
  evidence?: {
3114
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3113
3115
  id: string;
3114
3116
  label: string;
3115
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
3117
  capture: "at_action" | "historical_lookup" | "fixture";
3117
3118
  locator?: string | undefined;
3118
3119
  }[] | undefined;
3119
3120
  } | {
3120
- summary: string;
3121
3121
  kind: "conflict_detected";
3122
+ summary: string;
3122
3123
  conflictId: string;
3123
3124
  decisionIds: string[];
3124
3125
  agentIds: string[];
3125
3126
  evidence?: {
3127
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3126
3128
  id: string;
3127
3129
  label: string;
3128
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3129
3130
  capture: "at_action" | "historical_lookup" | "fixture";
3130
3131
  locator?: string | undefined;
3131
3132
  }[] | undefined;
3132
3133
  } | {
3134
+ kind: "test_result";
3133
3135
  summary: string;
3134
3136
  status: "error" | "failed" | "passed";
3135
- kind: "test_result";
3136
3137
  command: string;
3137
3138
  decisionId: string;
3138
3139
  testId: string;
3139
3140
  durationMs?: number | undefined;
3140
3141
  evidence?: {
3142
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3141
3143
  id: string;
3142
3144
  label: string;
3143
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3144
3145
  capture: "at_action" | "historical_lookup" | "fixture";
3145
3146
  locator?: string | undefined;
3146
3147
  }[] | undefined;
@@ -3155,9 +3156,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3155
3156
  supersedesDecisionIds: string[];
3156
3157
  proposedBy: string;
3157
3158
  evidence?: {
3159
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3158
3160
  id: string;
3159
3161
  label: string;
3160
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3161
3162
  capture: "at_action" | "historical_lookup" | "fixture";
3162
3163
  locator?: string | undefined;
3163
3164
  }[] | undefined;
@@ -3165,15 +3166,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3165
3166
  kind: "correction_approved";
3166
3167
  correctionId: string;
3167
3168
  approvedBy: {
3169
+ kind: "agent" | "human";
3168
3170
  id: string;
3169
3171
  label: string;
3170
- kind: "agent" | "human";
3171
3172
  };
3172
3173
  note?: string | undefined;
3173
3174
  evidence?: {
3175
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3174
3176
  id: string;
3175
3177
  label: string;
3176
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3177
3178
  capture: "at_action" | "historical_lookup" | "fixture";
3178
3179
  locator?: string | undefined;
3179
3180
  }[] | undefined;
@@ -3183,9 +3184,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3183
3184
  correctionId: string;
3184
3185
  replacementDecisionId: string;
3185
3186
  evidence?: {
3187
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3186
3188
  id: string;
3187
3189
  label: string;
3188
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3189
3190
  capture: "at_action" | "historical_lookup" | "fixture";
3190
3191
  locator?: string | undefined;
3191
3192
  }[] | undefined;
@@ -3198,9 +3199,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3198
3199
  recallReceiptId: string;
3199
3200
  capturedAtAction: boolean;
3200
3201
  evidence?: {
3202
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3201
3203
  id: string;
3202
3204
  label: string;
3203
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3204
3205
  capture: "at_action" | "historical_lookup" | "fixture";
3205
3206
  locator?: string | undefined;
3206
3207
  }[] | undefined;
@@ -3213,20 +3214,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3213
3214
  recallReceiptId: string;
3214
3215
  staleDecisionAbsent: boolean;
3215
3216
  evidence?: {
3217
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3216
3218
  id: string;
3217
3219
  label: string;
3218
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3219
3220
  capture: "at_action" | "historical_lookup" | "fixture";
3220
3221
  locator?: string | undefined;
3221
3222
  }[] | undefined;
3222
3223
  } | {
3223
- summary: string;
3224
3224
  kind: "mission_completed";
3225
+ summary: string;
3225
3226
  outcome: "failed" | "recovered" | "inconclusive";
3226
3227
  evidence?: {
3228
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3227
3229
  id: string;
3228
3230
  label: string;
3229
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
3231
  capture: "at_action" | "historical_lookup" | "fixture";
3231
3232
  locator?: string | undefined;
3232
3233
  }[] | undefined;
@@ -3256,15 +3257,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3256
3257
  locator: z.ZodOptional<z.ZodString>;
3257
3258
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3258
3259
  }, "strict", z.ZodTypeAny, {
3260
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3259
3261
  id: string;
3260
3262
  label: string;
3261
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3262
3263
  capture: "at_action" | "historical_lookup" | "fixture";
3263
3264
  locator?: string | undefined;
3264
3265
  }, {
3266
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3265
3267
  id: string;
3266
3268
  label: string;
3267
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3268
3269
  capture: "at_action" | "historical_lookup" | "fixture";
3269
3270
  locator?: string | undefined;
3270
3271
  }>, "many">>;
@@ -3272,9 +3273,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3272
3273
  kind: "mission_started";
3273
3274
  title: string;
3274
3275
  evidence: {
3276
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3275
3277
  id: string;
3276
3278
  label: string;
3277
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3278
3279
  capture: "at_action" | "historical_lookup" | "fixture";
3279
3280
  locator?: string | undefined;
3280
3281
  }[];
@@ -3286,9 +3287,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3286
3287
  objective: string;
3287
3288
  runMode: "replay" | "fixture" | "live";
3288
3289
  evidence?: {
3290
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3289
3291
  id: string;
3290
3292
  label: string;
3291
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3292
3293
  capture: "at_action" | "historical_lookup" | "fixture";
3293
3294
  locator?: string | undefined;
3294
3295
  }[] | undefined;
@@ -3304,15 +3305,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3304
3305
  locator: z.ZodOptional<z.ZodString>;
3305
3306
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3306
3307
  }, "strict", z.ZodTypeAny, {
3308
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3307
3309
  id: string;
3308
3310
  label: string;
3309
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3310
3311
  capture: "at_action" | "historical_lookup" | "fixture";
3311
3312
  locator?: string | undefined;
3312
3313
  }, {
3314
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3313
3315
  id: string;
3314
3316
  label: string;
3315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3316
3317
  capture: "at_action" | "historical_lookup" | "fixture";
3317
3318
  locator?: string | undefined;
3318
3319
  }>, "many">>;
@@ -3320,32 +3321,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3320
3321
  sessionId: z.ZodString;
3321
3322
  kind: z.ZodLiteral<"agent_status">;
3322
3323
  }, "strict", z.ZodTypeAny, {
3323
- label: string;
3324
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3325
3324
  kind: "agent_status";
3325
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3326
3326
  role: string;
3327
+ label: string;
3327
3328
  agentId: string;
3328
3329
  sessionId: string;
3329
3330
  evidence: {
3331
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3330
3332
  id: string;
3331
3333
  label: string;
3332
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3333
3334
  capture: "at_action" | "historical_lookup" | "fixture";
3334
3335
  locator?: string | undefined;
3335
3336
  }[];
3336
3337
  detail?: string | undefined;
3337
3338
  }, {
3338
- label: string;
3339
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3340
3339
  kind: "agent_status";
3340
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3341
3341
  role: string;
3342
+ label: string;
3342
3343
  agentId: string;
3343
3344
  sessionId: string;
3344
3345
  detail?: string | undefined;
3345
3346
  evidence?: {
3347
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3346
3348
  id: string;
3347
3349
  label: string;
3348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3349
3350
  capture: "at_action" | "historical_lookup" | "fixture";
3350
3351
  locator?: string | undefined;
3351
3352
  }[] | undefined;
@@ -3359,15 +3360,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3359
3360
  locator: z.ZodOptional<z.ZodString>;
3360
3361
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3361
3362
  }, "strict", z.ZodTypeAny, {
3363
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3362
3364
  id: string;
3363
3365
  label: string;
3364
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3365
3366
  capture: "at_action" | "historical_lookup" | "fixture";
3366
3367
  locator?: string | undefined;
3367
3368
  }, {
3369
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3368
3370
  id: string;
3369
3371
  label: string;
3370
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3371
3372
  capture: "at_action" | "historical_lookup" | "fixture";
3372
3373
  locator?: string | undefined;
3373
3374
  }>, "many">>;
@@ -3375,28 +3376,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3375
3376
  sessionId: z.ZodString;
3376
3377
  kind: z.ZodLiteral<"agent_output">;
3377
3378
  }, "strict", z.ZodTypeAny, {
3378
- summary: string;
3379
3379
  kind: "agent_output";
3380
+ summary: string;
3380
3381
  agentId: string;
3381
3382
  sessionId: string;
3382
3383
  evidence: {
3384
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3383
3385
  id: string;
3384
3386
  label: string;
3385
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3386
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3387
3388
  locator?: string | undefined;
3388
3389
  }[];
3389
3390
  outputId: string;
3390
3391
  }, {
3391
- summary: string;
3392
3392
  kind: "agent_output";
3393
+ summary: string;
3393
3394
  agentId: string;
3394
3395
  sessionId: string;
3395
3396
  outputId: string;
3396
3397
  evidence?: {
3398
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3397
3399
  id: string;
3398
3400
  label: string;
3399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3400
3401
  capture: "at_action" | "historical_lookup" | "fixture";
3401
3402
  locator?: string | undefined;
3402
3403
  }[] | undefined;
@@ -3412,15 +3413,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3412
3413
  locator: z.ZodOptional<z.ZodString>;
3413
3414
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3414
3415
  }, "strict", z.ZodTypeAny, {
3416
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3415
3417
  id: string;
3416
3418
  label: string;
3417
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3418
3419
  capture: "at_action" | "historical_lookup" | "fixture";
3419
3420
  locator?: string | undefined;
3420
3421
  }, {
3422
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3421
3423
  id: string;
3422
3424
  label: string;
3423
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3424
3425
  capture: "at_action" | "historical_lookup" | "fixture";
3425
3426
  locator?: string | undefined;
3426
3427
  }>, "many">>;
@@ -3433,9 +3434,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3433
3434
  statement: string;
3434
3435
  sessionId: string;
3435
3436
  evidence: {
3437
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3436
3438
  id: string;
3437
3439
  label: string;
3438
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3439
3440
  capture: "at_action" | "historical_lookup" | "fixture";
3440
3441
  locator?: string | undefined;
3441
3442
  }[];
@@ -3451,9 +3452,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3451
3452
  decisionId: string;
3452
3453
  confidence?: number | undefined;
3453
3454
  evidence?: {
3455
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3454
3456
  id: string;
3455
3457
  label: string;
3456
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3457
3458
  capture: "at_action" | "historical_lookup" | "fixture";
3458
3459
  locator?: string | undefined;
3459
3460
  }[] | undefined;
@@ -3470,25 +3471,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3470
3471
  locator: z.ZodOptional<z.ZodString>;
3471
3472
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3472
3473
  }, "strict", z.ZodTypeAny, {
3474
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3473
3475
  id: string;
3474
3476
  label: string;
3475
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3476
3477
  capture: "at_action" | "historical_lookup" | "fixture";
3477
3478
  locator?: string | undefined;
3478
3479
  }, {
3480
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3479
3481
  id: string;
3480
3482
  label: string;
3481
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3482
3483
  capture: "at_action" | "historical_lookup" | "fixture";
3483
3484
  locator?: string | undefined;
3484
3485
  }>, "many">>;
3485
3486
  }, "strict", z.ZodTypeAny, {
3486
- summary: string;
3487
3487
  kind: "conflict_detected";
3488
+ summary: string;
3488
3489
  evidence: {
3490
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3489
3491
  id: string;
3490
3492
  label: string;
3491
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3492
3493
  capture: "at_action" | "historical_lookup" | "fixture";
3493
3494
  locator?: string | undefined;
3494
3495
  }[];
@@ -3496,15 +3497,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3496
3497
  decisionIds: string[];
3497
3498
  agentIds: string[];
3498
3499
  }, {
3499
- summary: string;
3500
3500
  kind: "conflict_detected";
3501
+ summary: string;
3501
3502
  conflictId: string;
3502
3503
  decisionIds: string[];
3503
3504
  agentIds: string[];
3504
3505
  evidence?: {
3506
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3505
3507
  id: string;
3506
3508
  label: string;
3507
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3508
3509
  capture: "at_action" | "historical_lookup" | "fixture";
3509
3510
  locator?: string | undefined;
3510
3511
  }[] | undefined;
@@ -3524,27 +3525,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3524
3525
  locator: z.ZodOptional<z.ZodString>;
3525
3526
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3526
3527
  }, "strict", z.ZodTypeAny, {
3528
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3527
3529
  id: string;
3528
3530
  label: string;
3529
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3530
3531
  capture: "at_action" | "historical_lookup" | "fixture";
3531
3532
  locator?: string | undefined;
3532
3533
  }, {
3534
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3533
3535
  id: string;
3534
3536
  label: string;
3535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3536
3537
  capture: "at_action" | "historical_lookup" | "fixture";
3537
3538
  locator?: string | undefined;
3538
3539
  }>, "many">>;
3539
3540
  }, "strict", z.ZodTypeAny, {
3541
+ kind: "test_result";
3540
3542
  summary: string;
3541
3543
  status: "error" | "failed" | "passed";
3542
- kind: "test_result";
3543
3544
  command: string;
3544
3545
  evidence: {
3546
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3545
3547
  id: string;
3546
3548
  label: string;
3547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
3549
  capture: "at_action" | "historical_lookup" | "fixture";
3549
3550
  locator?: string | undefined;
3550
3551
  }[];
@@ -3553,17 +3554,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3553
3554
  durationMs?: number | undefined;
3554
3555
  correctionId?: string | undefined;
3555
3556
  }, {
3557
+ kind: "test_result";
3556
3558
  summary: string;
3557
3559
  status: "error" | "failed" | "passed";
3558
- kind: "test_result";
3559
3560
  command: string;
3560
3561
  decisionId: string;
3561
3562
  testId: string;
3562
3563
  durationMs?: number | undefined;
3563
3564
  evidence?: {
3565
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3564
3566
  id: string;
3565
3567
  label: string;
3566
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3567
3568
  capture: "at_action" | "historical_lookup" | "fixture";
3568
3569
  locator?: string | undefined;
3569
3570
  }[] | undefined;
@@ -3584,15 +3585,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3584
3585
  locator: z.ZodOptional<z.ZodString>;
3585
3586
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3586
3587
  }, "strict", z.ZodTypeAny, {
3588
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3587
3589
  id: string;
3588
3590
  label: string;
3589
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3590
3591
  capture: "at_action" | "historical_lookup" | "fixture";
3591
3592
  locator?: string | undefined;
3592
3593
  }, {
3594
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3593
3595
  id: string;
3594
3596
  label: string;
3595
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3596
3597
  capture: "at_action" | "historical_lookup" | "fixture";
3597
3598
  locator?: string | undefined;
3598
3599
  }>, "many">>;
@@ -3601,9 +3602,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3601
3602
  rationale: string;
3602
3603
  statement: string;
3603
3604
  evidence: {
3605
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
3606
  id: string;
3605
3607
  label: string;
3606
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3607
3608
  capture: "at_action" | "historical_lookup" | "fixture";
3608
3609
  locator?: string | undefined;
3609
3610
  }[];
@@ -3622,9 +3623,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3622
3623
  supersedesDecisionIds: string[];
3623
3624
  proposedBy: string;
3624
3625
  evidence?: {
3626
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3625
3627
  id: string;
3626
3628
  label: string;
3627
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3628
3629
  capture: "at_action" | "historical_lookup" | "fixture";
3629
3630
  locator?: string | undefined;
3630
3631
  }[] | undefined;
@@ -3636,13 +3637,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3636
3637
  id: z.ZodString;
3637
3638
  label: z.ZodString;
3638
3639
  }, "strict", z.ZodTypeAny, {
3640
+ kind: "agent" | "human";
3639
3641
  id: string;
3640
3642
  label: string;
3641
- kind: "agent" | "human";
3642
3643
  }, {
3644
+ kind: "agent" | "human";
3643
3645
  id: string;
3644
3646
  label: string;
3645
- kind: "agent" | "human";
3646
3647
  }>;
3647
3648
  note: z.ZodOptional<z.ZodString>;
3648
3649
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3652,47 +3653,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3652
3653
  locator: z.ZodOptional<z.ZodString>;
3653
3654
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3654
3655
  }, "strict", z.ZodTypeAny, {
3656
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3655
3657
  id: string;
3656
3658
  label: string;
3657
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3658
3659
  capture: "at_action" | "historical_lookup" | "fixture";
3659
3660
  locator?: string | undefined;
3660
3661
  }, {
3662
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3661
3663
  id: string;
3662
3664
  label: string;
3663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
3665
  capture: "at_action" | "historical_lookup" | "fixture";
3665
3666
  locator?: string | undefined;
3666
3667
  }>, "many">>;
3667
3668
  }, "strict", z.ZodTypeAny, {
3668
3669
  kind: "correction_approved";
3669
3670
  evidence: {
3671
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3670
3672
  id: string;
3671
3673
  label: string;
3672
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3673
3674
  capture: "at_action" | "historical_lookup" | "fixture";
3674
3675
  locator?: string | undefined;
3675
3676
  }[];
3676
3677
  correctionId: string;
3677
3678
  approvedBy: {
3679
+ kind: "agent" | "human";
3678
3680
  id: string;
3679
3681
  label: string;
3680
- kind: "agent" | "human";
3681
3682
  };
3682
3683
  note?: string | undefined;
3683
3684
  }, {
3684
3685
  kind: "correction_approved";
3685
3686
  correctionId: string;
3686
3687
  approvedBy: {
3688
+ kind: "agent" | "human";
3687
3689
  id: string;
3688
3690
  label: string;
3689
- kind: "agent" | "human";
3690
3691
  };
3691
3692
  note?: string | undefined;
3692
3693
  evidence?: {
3694
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3693
3695
  id: string;
3694
3696
  label: string;
3695
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3696
3697
  capture: "at_action" | "historical_lookup" | "fixture";
3697
3698
  locator?: string | undefined;
3698
3699
  }[] | undefined;
@@ -3708,24 +3709,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3708
3709
  locator: z.ZodOptional<z.ZodString>;
3709
3710
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3710
3711
  }, "strict", z.ZodTypeAny, {
3712
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3711
3713
  id: string;
3712
3714
  label: string;
3713
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3714
3715
  capture: "at_action" | "historical_lookup" | "fixture";
3715
3716
  locator?: string | undefined;
3716
3717
  }, {
3718
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3717
3719
  id: string;
3718
3720
  label: string;
3719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3721
  capture: "at_action" | "historical_lookup" | "fixture";
3721
3722
  locator?: string | undefined;
3722
3723
  }>, "many">>;
3723
3724
  }, "strict", z.ZodTypeAny, {
3724
3725
  kind: "decision_superseded";
3725
3726
  evidence: {
3727
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3726
3728
  id: string;
3727
3729
  label: string;
3728
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3729
3730
  capture: "at_action" | "historical_lookup" | "fixture";
3730
3731
  locator?: string | undefined;
3731
3732
  }[];
@@ -3738,9 +3739,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3738
3739
  correctionId: string;
3739
3740
  replacementDecisionId: string;
3740
3741
  evidence?: {
3742
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
3743
  id: string;
3742
3744
  label: string;
3743
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3744
3745
  capture: "at_action" | "historical_lookup" | "fixture";
3745
3746
  locator?: string | undefined;
3746
3747
  }[] | undefined;
@@ -3756,15 +3757,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3756
3757
  locator: z.ZodOptional<z.ZodString>;
3757
3758
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3758
3759
  }, "strict", z.ZodTypeAny, {
3760
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3759
3761
  id: string;
3760
3762
  label: string;
3761
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3762
3763
  capture: "at_action" | "historical_lookup" | "fixture";
3763
3764
  locator?: string | undefined;
3764
3765
  }, {
3766
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3765
3767
  id: string;
3766
3768
  label: string;
3767
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
3769
  capture: "at_action" | "historical_lookup" | "fixture";
3769
3770
  locator?: string | undefined;
3770
3771
  }>, "many">>;
@@ -3777,9 +3778,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3777
3778
  agentId: string;
3778
3779
  sessionId: string;
3779
3780
  evidence: {
3781
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3780
3782
  id: string;
3781
3783
  label: string;
3782
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3783
3784
  capture: "at_action" | "historical_lookup" | "fixture";
3784
3785
  locator?: string | undefined;
3785
3786
  }[];
@@ -3795,9 +3796,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3795
3796
  recallReceiptId: string;
3796
3797
  capturedAtAction: boolean;
3797
3798
  evidence?: {
3799
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3798
3800
  id: string;
3799
3801
  label: string;
3800
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3801
3802
  capture: "at_action" | "historical_lookup" | "fixture";
3802
3803
  locator?: string | undefined;
3803
3804
  }[] | undefined;
@@ -3813,15 +3814,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3813
3814
  locator: z.ZodOptional<z.ZodString>;
3814
3815
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3815
3816
  }, "strict", z.ZodTypeAny, {
3817
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3816
3818
  id: string;
3817
3819
  label: string;
3818
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3819
3820
  capture: "at_action" | "historical_lookup" | "fixture";
3820
3821
  locator?: string | undefined;
3821
3822
  }, {
3823
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3822
3824
  id: string;
3823
3825
  label: string;
3824
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3825
3826
  capture: "at_action" | "historical_lookup" | "fixture";
3826
3827
  locator?: string | undefined;
3827
3828
  }>, "many">>;
@@ -3833,9 +3834,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3833
3834
  agentId: string;
3834
3835
  sessionId: string;
3835
3836
  evidence: {
3837
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
3838
  id: string;
3837
3839
  label: string;
3838
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3839
3840
  capture: "at_action" | "historical_lookup" | "fixture";
3840
3841
  locator?: string | undefined;
3841
3842
  }[];
@@ -3852,9 +3853,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3852
3853
  recallReceiptId: string;
3853
3854
  staleDecisionAbsent: boolean;
3854
3855
  evidence?: {
3856
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3855
3857
  id: string;
3856
3858
  label: string;
3857
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3858
3859
  capture: "at_action" | "historical_lookup" | "fixture";
3859
3860
  locator?: string | undefined;
3860
3861
  }[] | undefined;
@@ -3869,37 +3870,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3869
3870
  locator: z.ZodOptional<z.ZodString>;
3870
3871
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3871
3872
  }, "strict", z.ZodTypeAny, {
3873
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3872
3874
  id: string;
3873
3875
  label: string;
3874
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3875
3876
  capture: "at_action" | "historical_lookup" | "fixture";
3876
3877
  locator?: string | undefined;
3877
3878
  }, {
3879
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3878
3880
  id: string;
3879
3881
  label: string;
3880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3881
3882
  capture: "at_action" | "historical_lookup" | "fixture";
3882
3883
  locator?: string | undefined;
3883
3884
  }>, "many">>;
3884
3885
  }, "strict", z.ZodTypeAny, {
3885
- summary: string;
3886
3886
  kind: "mission_completed";
3887
+ summary: string;
3887
3888
  outcome: "failed" | "recovered" | "inconclusive";
3888
3889
  evidence: {
3890
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3889
3891
  id: string;
3890
3892
  label: string;
3891
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3892
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3893
3894
  locator?: string | undefined;
3894
3895
  }[];
3895
3896
  }, {
3896
- summary: string;
3897
3897
  kind: "mission_completed";
3898
+ summary: string;
3898
3899
  outcome: "failed" | "recovered" | "inconclusive";
3899
3900
  evidence?: {
3901
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3900
3902
  id: string;
3901
3903
  label: string;
3902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3903
3904
  capture: "at_action" | "historical_lookup" | "fixture";
3904
3905
  locator?: string | undefined;
3905
3906
  }[] | undefined;
@@ -3907,38 +3908,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3907
3908
  kind: "mission_started";
3908
3909
  title: string;
3909
3910
  evidence: {
3911
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3910
3912
  id: string;
3911
3913
  label: string;
3912
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3913
3914
  capture: "at_action" | "historical_lookup" | "fixture";
3914
3915
  locator?: string | undefined;
3915
3916
  }[];
3916
3917
  objective: string;
3917
3918
  runMode: "replay" | "fixture" | "live";
3918
3919
  } | {
3919
- label: string;
3920
- status: "failed" | "complete" | "blocked" | "working" | "idle";
3921
3920
  kind: "agent_status";
3921
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
3922
3922
  role: string;
3923
+ label: string;
3923
3924
  agentId: string;
3924
3925
  sessionId: string;
3925
3926
  evidence: {
3927
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3926
3928
  id: string;
3927
3929
  label: string;
3928
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3929
3930
  capture: "at_action" | "historical_lookup" | "fixture";
3930
3931
  locator?: string | undefined;
3931
3932
  }[];
3932
3933
  detail?: string | undefined;
3933
3934
  } | {
3934
- summary: string;
3935
3935
  kind: "agent_output";
3936
+ summary: string;
3936
3937
  agentId: string;
3937
3938
  sessionId: string;
3938
3939
  evidence: {
3940
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3939
3941
  id: string;
3940
3942
  label: string;
3941
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3942
3943
  capture: "at_action" | "historical_lookup" | "fixture";
3943
3944
  locator?: string | undefined;
3944
3945
  }[];
@@ -3949,9 +3950,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3949
3950
  statement: string;
3950
3951
  sessionId: string;
3951
3952
  evidence: {
3953
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3952
3954
  id: string;
3953
3955
  label: string;
3954
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
3956
  capture: "at_action" | "historical_lookup" | "fixture";
3956
3957
  locator?: string | undefined;
3957
3958
  }[];
@@ -3959,12 +3960,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3959
3960
  decisionId: string;
3960
3961
  confidence?: number | undefined;
3961
3962
  } | {
3962
- summary: string;
3963
3963
  kind: "conflict_detected";
3964
+ summary: string;
3964
3965
  evidence: {
3966
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3965
3967
  id: string;
3966
3968
  label: string;
3967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
3969
  capture: "at_action" | "historical_lookup" | "fixture";
3969
3970
  locator?: string | undefined;
3970
3971
  }[];
@@ -3972,14 +3973,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3972
3973
  decisionIds: string[];
3973
3974
  agentIds: string[];
3974
3975
  } | {
3976
+ kind: "test_result";
3975
3977
  summary: string;
3976
3978
  status: "error" | "failed" | "passed";
3977
- kind: "test_result";
3978
3979
  command: string;
3979
3980
  evidence: {
3981
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3980
3982
  id: string;
3981
3983
  label: string;
3982
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3983
3984
  capture: "at_action" | "historical_lookup" | "fixture";
3984
3985
  locator?: string | undefined;
3985
3986
  }[];
@@ -3992,9 +3993,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3992
3993
  rationale: string;
3993
3994
  statement: string;
3994
3995
  evidence: {
3996
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3995
3997
  id: string;
3996
3998
  label: string;
3997
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3998
3999
  capture: "at_action" | "historical_lookup" | "fixture";
3999
4000
  locator?: string | undefined;
4000
4001
  }[];
@@ -4006,25 +4007,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4006
4007
  } | {
4007
4008
  kind: "correction_approved";
4008
4009
  evidence: {
4010
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4009
4011
  id: string;
4010
4012
  label: string;
4011
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4012
4013
  capture: "at_action" | "historical_lookup" | "fixture";
4013
4014
  locator?: string | undefined;
4014
4015
  }[];
4015
4016
  correctionId: string;
4016
4017
  approvedBy: {
4018
+ kind: "agent" | "human";
4017
4019
  id: string;
4018
4020
  label: string;
4019
- kind: "agent" | "human";
4020
4021
  };
4021
4022
  note?: string | undefined;
4022
4023
  } | {
4023
4024
  kind: "decision_superseded";
4024
4025
  evidence: {
4026
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4025
4027
  id: string;
4026
4028
  label: string;
4027
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4028
4029
  capture: "at_action" | "historical_lookup" | "fixture";
4029
4030
  locator?: string | undefined;
4030
4031
  }[];
@@ -4037,9 +4038,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4037
4038
  agentId: string;
4038
4039
  sessionId: string;
4039
4040
  evidence: {
4041
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4040
4042
  id: string;
4041
4043
  label: string;
4042
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4043
4044
  capture: "at_action" | "historical_lookup" | "fixture";
4044
4045
  locator?: string | undefined;
4045
4046
  }[];
@@ -4051,9 +4052,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4051
4052
  agentId: string;
4052
4053
  sessionId: string;
4053
4054
  evidence: {
4055
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4054
4056
  id: string;
4055
4057
  label: string;
4056
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
4058
  capture: "at_action" | "historical_lookup" | "fixture";
4058
4059
  locator?: string | undefined;
4059
4060
  }[];
@@ -4062,13 +4063,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4062
4063
  recallReceiptId: string;
4063
4064
  staleDecisionAbsent: boolean;
4064
4065
  } | {
4065
- summary: string;
4066
4066
  kind: "mission_completed";
4067
+ summary: string;
4067
4068
  outcome: "failed" | "recovered" | "inconclusive";
4068
4069
  evidence: {
4070
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4069
4071
  id: string;
4070
4072
  label: string;
4071
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4072
4073
  capture: "at_action" | "historical_lookup" | "fixture";
4073
4074
  locator?: string | undefined;
4074
4075
  }[];
@@ -4078,37 +4079,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4078
4079
  objective: string;
4079
4080
  runMode: "replay" | "fixture" | "live";
4080
4081
  evidence?: {
4082
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4081
4083
  id: string;
4082
4084
  label: string;
4083
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
4085
  capture: "at_action" | "historical_lookup" | "fixture";
4085
4086
  locator?: string | undefined;
4086
4087
  }[] | undefined;
4087
4088
  } | {
4088
- label: string;
4089
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4090
4089
  kind: "agent_status";
4090
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4091
4091
  role: string;
4092
+ label: string;
4092
4093
  agentId: string;
4093
4094
  sessionId: string;
4094
4095
  detail?: string | undefined;
4095
4096
  evidence?: {
4097
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4096
4098
  id: string;
4097
4099
  label: string;
4098
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4099
4100
  capture: "at_action" | "historical_lookup" | "fixture";
4100
4101
  locator?: string | undefined;
4101
4102
  }[] | undefined;
4102
4103
  } | {
4103
- summary: string;
4104
4104
  kind: "agent_output";
4105
+ summary: string;
4105
4106
  agentId: string;
4106
4107
  sessionId: string;
4107
4108
  outputId: string;
4108
4109
  evidence?: {
4110
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4109
4111
  id: string;
4110
4112
  label: string;
4111
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4112
4113
  capture: "at_action" | "historical_lookup" | "fixture";
4113
4114
  locator?: string | undefined;
4114
4115
  }[] | undefined;
@@ -4121,37 +4122,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4121
4122
  decisionId: string;
4122
4123
  confidence?: number | undefined;
4123
4124
  evidence?: {
4125
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4124
4126
  id: string;
4125
4127
  label: string;
4126
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4127
4128
  capture: "at_action" | "historical_lookup" | "fixture";
4128
4129
  locator?: string | undefined;
4129
4130
  }[] | undefined;
4130
4131
  } | {
4131
- summary: string;
4132
4132
  kind: "conflict_detected";
4133
+ summary: string;
4133
4134
  conflictId: string;
4134
4135
  decisionIds: string[];
4135
4136
  agentIds: string[];
4136
4137
  evidence?: {
4138
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4137
4139
  id: string;
4138
4140
  label: string;
4139
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4140
4141
  capture: "at_action" | "historical_lookup" | "fixture";
4141
4142
  locator?: string | undefined;
4142
4143
  }[] | undefined;
4143
4144
  } | {
4145
+ kind: "test_result";
4144
4146
  summary: string;
4145
4147
  status: "error" | "failed" | "passed";
4146
- kind: "test_result";
4147
4148
  command: string;
4148
4149
  decisionId: string;
4149
4150
  testId: string;
4150
4151
  durationMs?: number | undefined;
4151
4152
  evidence?: {
4153
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4152
4154
  id: string;
4153
4155
  label: string;
4154
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4155
4156
  capture: "at_action" | "historical_lookup" | "fixture";
4156
4157
  locator?: string | undefined;
4157
4158
  }[] | undefined;
@@ -4166,9 +4167,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4166
4167
  supersedesDecisionIds: string[];
4167
4168
  proposedBy: string;
4168
4169
  evidence?: {
4170
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4169
4171
  id: string;
4170
4172
  label: string;
4171
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4172
4173
  capture: "at_action" | "historical_lookup" | "fixture";
4173
4174
  locator?: string | undefined;
4174
4175
  }[] | undefined;
@@ -4176,15 +4177,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4176
4177
  kind: "correction_approved";
4177
4178
  correctionId: string;
4178
4179
  approvedBy: {
4180
+ kind: "agent" | "human";
4179
4181
  id: string;
4180
4182
  label: string;
4181
- kind: "agent" | "human";
4182
4183
  };
4183
4184
  note?: string | undefined;
4184
4185
  evidence?: {
4186
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4185
4187
  id: string;
4186
4188
  label: string;
4187
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4188
4189
  capture: "at_action" | "historical_lookup" | "fixture";
4189
4190
  locator?: string | undefined;
4190
4191
  }[] | undefined;
@@ -4194,9 +4195,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4194
4195
  correctionId: string;
4195
4196
  replacementDecisionId: string;
4196
4197
  evidence?: {
4198
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4197
4199
  id: string;
4198
4200
  label: string;
4199
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4200
4201
  capture: "at_action" | "historical_lookup" | "fixture";
4201
4202
  locator?: string | undefined;
4202
4203
  }[] | undefined;
@@ -4209,9 +4210,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4209
4210
  recallReceiptId: string;
4210
4211
  capturedAtAction: boolean;
4211
4212
  evidence?: {
4213
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4212
4214
  id: string;
4213
4215
  label: string;
4214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4215
4216
  capture: "at_action" | "historical_lookup" | "fixture";
4216
4217
  locator?: string | undefined;
4217
4218
  }[] | undefined;
@@ -4224,64 +4225,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4224
4225
  recallReceiptId: string;
4225
4226
  staleDecisionAbsent: boolean;
4226
4227
  evidence?: {
4228
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4227
4229
  id: string;
4228
4230
  label: string;
4229
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4230
4231
  capture: "at_action" | "historical_lookup" | "fixture";
4231
4232
  locator?: string | undefined;
4232
4233
  }[] | undefined;
4233
4234
  } | {
4234
- summary: string;
4235
4235
  kind: "mission_completed";
4236
+ summary: string;
4236
4237
  outcome: "failed" | "recovered" | "inconclusive";
4237
4238
  evidence?: {
4239
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4238
4240
  id: string;
4239
4241
  label: string;
4240
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4241
4242
  capture: "at_action" | "historical_lookup" | "fixture";
4242
4243
  locator?: string | undefined;
4243
4244
  }[] | undefined;
4244
4245
  }>;
4245
4246
  }, "strict", z.ZodTypeAny, {
4246
- namespace: string;
4247
- recordedAt: string;
4248
4247
  schemaVersion: "1";
4248
+ recordedAt: string;
4249
4249
  payload: {
4250
4250
  kind: "mission_started";
4251
4251
  title: string;
4252
4252
  evidence: {
4253
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
4254
  id: string;
4254
4255
  label: string;
4255
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4256
4256
  capture: "at_action" | "historical_lookup" | "fixture";
4257
4257
  locator?: string | undefined;
4258
4258
  }[];
4259
4259
  objective: string;
4260
4260
  runMode: "replay" | "fixture" | "live";
4261
4261
  } | {
4262
- label: string;
4263
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4264
4262
  kind: "agent_status";
4263
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4265
4264
  role: string;
4265
+ label: string;
4266
4266
  agentId: string;
4267
4267
  sessionId: string;
4268
4268
  evidence: {
4269
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4269
4270
  id: string;
4270
4271
  label: string;
4271
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4272
4272
  capture: "at_action" | "historical_lookup" | "fixture";
4273
4273
  locator?: string | undefined;
4274
4274
  }[];
4275
4275
  detail?: string | undefined;
4276
4276
  } | {
4277
- summary: string;
4278
4277
  kind: "agent_output";
4278
+ summary: string;
4279
4279
  agentId: string;
4280
4280
  sessionId: string;
4281
4281
  evidence: {
4282
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4282
4283
  id: string;
4283
4284
  label: string;
4284
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4285
4285
  capture: "at_action" | "historical_lookup" | "fixture";
4286
4286
  locator?: string | undefined;
4287
4287
  }[];
@@ -4292,9 +4292,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4292
4292
  statement: string;
4293
4293
  sessionId: string;
4294
4294
  evidence: {
4295
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4295
4296
  id: string;
4296
4297
  label: string;
4297
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4298
4298
  capture: "at_action" | "historical_lookup" | "fixture";
4299
4299
  locator?: string | undefined;
4300
4300
  }[];
@@ -4302,12 +4302,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4302
4302
  decisionId: string;
4303
4303
  confidence?: number | undefined;
4304
4304
  } | {
4305
- summary: string;
4306
4305
  kind: "conflict_detected";
4306
+ summary: string;
4307
4307
  evidence: {
4308
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4308
4309
  id: string;
4309
4310
  label: string;
4310
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4311
4311
  capture: "at_action" | "historical_lookup" | "fixture";
4312
4312
  locator?: string | undefined;
4313
4313
  }[];
@@ -4315,14 +4315,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4315
4315
  decisionIds: string[];
4316
4316
  agentIds: string[];
4317
4317
  } | {
4318
+ kind: "test_result";
4318
4319
  summary: string;
4319
4320
  status: "error" | "failed" | "passed";
4320
- kind: "test_result";
4321
4321
  command: string;
4322
4322
  evidence: {
4323
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4323
4324
  id: string;
4324
4325
  label: string;
4325
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4326
4326
  capture: "at_action" | "historical_lookup" | "fixture";
4327
4327
  locator?: string | undefined;
4328
4328
  }[];
@@ -4335,9 +4335,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4335
4335
  rationale: string;
4336
4336
  statement: string;
4337
4337
  evidence: {
4338
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4338
4339
  id: string;
4339
4340
  label: string;
4340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4341
4341
  capture: "at_action" | "historical_lookup" | "fixture";
4342
4342
  locator?: string | undefined;
4343
4343
  }[];
@@ -4349,25 +4349,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4349
4349
  } | {
4350
4350
  kind: "correction_approved";
4351
4351
  evidence: {
4352
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4352
4353
  id: string;
4353
4354
  label: string;
4354
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4355
4355
  capture: "at_action" | "historical_lookup" | "fixture";
4356
4356
  locator?: string | undefined;
4357
4357
  }[];
4358
4358
  correctionId: string;
4359
4359
  approvedBy: {
4360
+ kind: "agent" | "human";
4360
4361
  id: string;
4361
4362
  label: string;
4362
- kind: "agent" | "human";
4363
4363
  };
4364
4364
  note?: string | undefined;
4365
4365
  } | {
4366
4366
  kind: "decision_superseded";
4367
4367
  evidence: {
4368
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4368
4369
  id: string;
4369
4370
  label: string;
4370
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4371
4371
  capture: "at_action" | "historical_lookup" | "fixture";
4372
4372
  locator?: string | undefined;
4373
4373
  }[];
@@ -4380,9 +4380,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4380
4380
  agentId: string;
4381
4381
  sessionId: string;
4382
4382
  evidence: {
4383
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
4384
  id: string;
4384
4385
  label: string;
4385
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4386
4386
  capture: "at_action" | "historical_lookup" | "fixture";
4387
4387
  locator?: string | undefined;
4388
4388
  }[];
@@ -4394,9 +4394,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4394
4394
  agentId: string;
4395
4395
  sessionId: string;
4396
4396
  evidence: {
4397
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4397
4398
  id: string;
4398
4399
  label: string;
4399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4400
4400
  capture: "at_action" | "historical_lookup" | "fixture";
4401
4401
  locator?: string | undefined;
4402
4402
  }[];
@@ -4405,63 +4405,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4405
4405
  recallReceiptId: string;
4406
4406
  staleDecisionAbsent: boolean;
4407
4407
  } | {
4408
- summary: string;
4409
4408
  kind: "mission_completed";
4409
+ summary: string;
4410
4410
  outcome: "failed" | "recovered" | "inconclusive";
4411
4411
  evidence: {
4412
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
4413
  id: string;
4413
4414
  label: string;
4414
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4415
4415
  capture: "at_action" | "historical_lookup" | "fixture";
4416
4416
  locator?: string | undefined;
4417
4417
  }[];
4418
4418
  };
4419
+ namespace: string;
4419
4420
  eventId: string;
4420
4421
  occurredAt: string;
4421
4422
  missionId: string;
4422
4423
  authenticatedPrincipal?: string | undefined;
4423
4424
  idempotencyKey?: string | undefined;
4424
4425
  }, {
4425
- namespace: string;
4426
- recordedAt: string;
4427
4426
  schemaVersion: "1";
4427
+ recordedAt: string;
4428
4428
  payload: {
4429
4429
  kind: "mission_started";
4430
4430
  title: string;
4431
4431
  objective: string;
4432
4432
  runMode: "replay" | "fixture" | "live";
4433
4433
  evidence?: {
4434
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4434
4435
  id: string;
4435
4436
  label: string;
4436
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4437
4437
  capture: "at_action" | "historical_lookup" | "fixture";
4438
4438
  locator?: string | undefined;
4439
4439
  }[] | undefined;
4440
4440
  } | {
4441
- label: string;
4442
- status: "failed" | "complete" | "blocked" | "working" | "idle";
4443
4441
  kind: "agent_status";
4442
+ status: "failed" | "complete" | "blocked" | "working" | "idle";
4444
4443
  role: string;
4444
+ label: string;
4445
4445
  agentId: string;
4446
4446
  sessionId: string;
4447
4447
  detail?: string | undefined;
4448
4448
  evidence?: {
4449
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4449
4450
  id: string;
4450
4451
  label: string;
4451
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4452
4452
  capture: "at_action" | "historical_lookup" | "fixture";
4453
4453
  locator?: string | undefined;
4454
4454
  }[] | undefined;
4455
4455
  } | {
4456
- summary: string;
4457
4456
  kind: "agent_output";
4457
+ summary: string;
4458
4458
  agentId: string;
4459
4459
  sessionId: string;
4460
4460
  outputId: string;
4461
4461
  evidence?: {
4462
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4462
4463
  id: string;
4463
4464
  label: string;
4464
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4465
4465
  capture: "at_action" | "historical_lookup" | "fixture";
4466
4466
  locator?: string | undefined;
4467
4467
  }[] | undefined;
@@ -4474,37 +4474,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4474
4474
  decisionId: string;
4475
4475
  confidence?: number | undefined;
4476
4476
  evidence?: {
4477
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4477
4478
  id: string;
4478
4479
  label: string;
4479
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4480
4480
  capture: "at_action" | "historical_lookup" | "fixture";
4481
4481
  locator?: string | undefined;
4482
4482
  }[] | undefined;
4483
4483
  } | {
4484
- summary: string;
4485
4484
  kind: "conflict_detected";
4485
+ summary: string;
4486
4486
  conflictId: string;
4487
4487
  decisionIds: string[];
4488
4488
  agentIds: string[];
4489
4489
  evidence?: {
4490
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
4491
  id: string;
4491
4492
  label: string;
4492
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4493
4493
  capture: "at_action" | "historical_lookup" | "fixture";
4494
4494
  locator?: string | undefined;
4495
4495
  }[] | undefined;
4496
4496
  } | {
4497
+ kind: "test_result";
4497
4498
  summary: string;
4498
4499
  status: "error" | "failed" | "passed";
4499
- kind: "test_result";
4500
4500
  command: string;
4501
4501
  decisionId: string;
4502
4502
  testId: string;
4503
4503
  durationMs?: number | undefined;
4504
4504
  evidence?: {
4505
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4505
4506
  id: string;
4506
4507
  label: string;
4507
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4508
4508
  capture: "at_action" | "historical_lookup" | "fixture";
4509
4509
  locator?: string | undefined;
4510
4510
  }[] | undefined;
@@ -4519,9 +4519,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4519
4519
  supersedesDecisionIds: string[];
4520
4520
  proposedBy: string;
4521
4521
  evidence?: {
4522
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4522
4523
  id: string;
4523
4524
  label: string;
4524
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4525
4525
  capture: "at_action" | "historical_lookup" | "fixture";
4526
4526
  locator?: string | undefined;
4527
4527
  }[] | undefined;
@@ -4529,15 +4529,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4529
4529
  kind: "correction_approved";
4530
4530
  correctionId: string;
4531
4531
  approvedBy: {
4532
+ kind: "agent" | "human";
4532
4533
  id: string;
4533
4534
  label: string;
4534
- kind: "agent" | "human";
4535
4535
  };
4536
4536
  note?: string | undefined;
4537
4537
  evidence?: {
4538
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
4539
  id: string;
4539
4540
  label: string;
4540
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4541
4541
  capture: "at_action" | "historical_lookup" | "fixture";
4542
4542
  locator?: string | undefined;
4543
4543
  }[] | undefined;
@@ -4547,9 +4547,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4547
4547
  correctionId: string;
4548
4548
  replacementDecisionId: string;
4549
4549
  evidence?: {
4550
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4550
4551
  id: string;
4551
4552
  label: string;
4552
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4553
4553
  capture: "at_action" | "historical_lookup" | "fixture";
4554
4554
  locator?: string | undefined;
4555
4555
  }[] | undefined;
@@ -4562,9 +4562,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4562
4562
  recallReceiptId: string;
4563
4563
  capturedAtAction: boolean;
4564
4564
  evidence?: {
4565
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4565
4566
  id: string;
4566
4567
  label: string;
4567
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4568
4568
  capture: "at_action" | "historical_lookup" | "fixture";
4569
4569
  locator?: string | undefined;
4570
4570
  }[] | undefined;
@@ -4577,24 +4577,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4577
4577
  recallReceiptId: string;
4578
4578
  staleDecisionAbsent: boolean;
4579
4579
  evidence?: {
4580
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4580
4581
  id: string;
4581
4582
  label: string;
4582
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4583
4583
  capture: "at_action" | "historical_lookup" | "fixture";
4584
4584
  locator?: string | undefined;
4585
4585
  }[] | undefined;
4586
4586
  } | {
4587
- summary: string;
4588
4587
  kind: "mission_completed";
4588
+ summary: string;
4589
4589
  outcome: "failed" | "recovered" | "inconclusive";
4590
4590
  evidence?: {
4591
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
4592
  id: string;
4592
4593
  label: string;
4593
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4594
4594
  capture: "at_action" | "historical_lookup" | "fixture";
4595
4595
  locator?: string | undefined;
4596
4596
  }[] | undefined;
4597
4597
  };
4598
+ namespace: string;
4598
4599
  eventId: string;
4599
4600
  occurredAt: string;
4600
4601
  missionId: string;