@remnic/core 9.63.8 → 9.63.10

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 (454) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -11
  2. package/dist/access-admin-ops-surface.js +23 -23
  3. package/dist/access-authorization-probe.d.ts +11 -11
  4. package/dist/access-authorization-probe.js +24 -24
  5. package/dist/access-boundary.d.ts +11 -11
  6. package/dist/access-boundary.js +23 -23
  7. package/dist/access-cli.js +84 -82
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +11 -11
  11. package/dist/access-extraction-force-flush.js +23 -23
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +11 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +11 -11
  15. package/dist/access-http-offline-stream.d.ts +11 -11
  16. package/dist/access-http-query.d.ts +2 -2
  17. package/dist/access-http-query.js +25 -25
  18. package/dist/access-http.d.ts +12 -12
  19. package/dist/access-http.js +36 -36
  20. package/dist/access-identity-continuity-surface.d.ts +9 -9
  21. package/dist/access-identity-continuity-surface.js +23 -23
  22. package/dist/access-lcm-surface.d.ts +11 -11
  23. package/dist/access-lcm-surface.js +23 -23
  24. package/dist/access-mcp.d.ts +11 -11
  25. package/dist/access-mcp.js +30 -30
  26. package/dist/access-memory-search-fanout.d.ts +2 -2
  27. package/dist/{access-namespace-preflight-DB0zXFek.d.ts → access-namespace-preflight-CrF0FKaz.d.ts} +1 -1
  28. package/dist/access-namespace-preflight.d.ts +3 -3
  29. package/dist/access-namespace-preflight.js +23 -23
  30. package/dist/access-observe-write-surface.d.ts +11 -11
  31. package/dist/access-observe-write-surface.js +23 -23
  32. package/dist/access-offline-manifest.d.ts +9 -9
  33. package/dist/access-operations-batch.js +25 -25
  34. package/dist/access-operations.d.ts +14 -14
  35. package/dist/access-operations.js +29 -29
  36. package/dist/access-recall-concurrency.d.ts +11 -11
  37. package/dist/access-recall-concurrency.js +23 -23
  38. package/dist/access-recall-response.d.ts +11 -11
  39. package/dist/access-recall-response.js +23 -23
  40. package/dist/access-recall-surface.d.ts +11 -11
  41. package/dist/access-recall-surface.js +23 -23
  42. package/dist/access-schema.d.ts +88 -88
  43. package/dist/access-schema.js +3 -3
  44. package/dist/{access-service-BaPa_km6.d.ts → access-service-C0AE0jLs.d.ts} +71 -71
  45. package/dist/access-service-helpers.d.ts +11 -11
  46. package/dist/access-service.d.ts +11 -11
  47. package/dist/access-service.js +23 -23
  48. package/dist/access-surface-catalog.d.ts +11 -11
  49. package/dist/access-surface-catalog.js +25 -25
  50. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  51. package/dist/action-confidence.d.ts +1 -1
  52. package/dist/active-memory-bridge.d.ts +1 -1
  53. package/dist/active-recall.d.ts +1 -1
  54. package/dist/ambient-provenance.d.ts +1 -1
  55. package/dist/artifact-search.d.ts +1 -1
  56. package/dist/{auto-sync-3SHMZVQS.js → auto-sync-5L7EUZ27.js} +4 -3
  57. package/dist/{auto-sync-3SHMZVQS.js.map → auto-sync-5L7EUZ27.js.map} +1 -1
  58. package/dist/behavior-learner.d.ts +1 -1
  59. package/dist/behavior-signals.d.ts +1 -1
  60. package/dist/bootstrap.d.ts +9 -9
  61. package/dist/briefing-window.d.ts +2 -2
  62. package/dist/briefing.d.ts +5 -3
  63. package/dist/briefing.js +11 -9
  64. package/dist/buffer-surprise-report.d.ts +1 -1
  65. package/dist/buffer-turn-helpers.d.ts +1 -1
  66. package/dist/buffer.d.ts +2 -2
  67. package/dist/bulk-import/index.d.ts +3 -3
  68. package/dist/calibration.d.ts +1 -1
  69. package/dist/capabilities.d.ts +1 -1
  70. package/dist/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-GWVG7LGC.js} +2 -2
  71. package/dist/{catalog-CCzmf8IH.d.ts → catalog-C0KIwZqR.d.ts} +1 -1
  72. package/dist/causal-behavior.d.ts +1 -1
  73. package/dist/causal-consolidation.d.ts +1 -1
  74. package/dist/causal-consolidation.js +10 -10
  75. package/dist/causal-trajectory-graph.d.ts +1 -1
  76. package/dist/{chunk-4POAMKV6.js → chunk-27IOSH2W.js} +5 -2
  77. package/dist/chunk-27IOSH2W.js.map +1 -0
  78. package/dist/{chunk-OQIRBGUU.js → chunk-2Q4UAPLD.js} +4 -4
  79. package/dist/{chunk-3IMYRX3W.js → chunk-34E5NBQI.js} +2 -2
  80. package/dist/{chunk-BRHKW7GY.js → chunk-4IIDTPSK.js} +2 -2
  81. package/dist/{chunk-Q5XKKDFQ.js → chunk-5SZ6CLGJ.js} +2 -2
  82. package/dist/{chunk-VDX2J7OX.js → chunk-5W7CTZ2E.js} +4 -4
  83. package/dist/{chunk-EUYWQ7TS.js → chunk-652S5A5D.js} +2 -2
  84. package/dist/{chunk-ULZFZL7K.js → chunk-6IKXAAJI.js} +17 -28
  85. package/dist/chunk-6IKXAAJI.js.map +1 -0
  86. package/dist/{chunk-3TDAA7VA.js → chunk-6NMZXEJ7.js} +2 -2
  87. package/dist/{chunk-ZOAAY2OE.js → chunk-77E7LLMV.js} +7 -7
  88. package/dist/{chunk-MIUL6AUZ.js → chunk-7ML7STOD.js} +3 -3
  89. package/dist/{chunk-5SCFDQEJ.js → chunk-BPLPGOUJ.js} +2 -2
  90. package/dist/{chunk-RWMSMTQP.js → chunk-BS75WJBH.js} +2 -2
  91. package/dist/{chunk-XE2QCCT2.js → chunk-BTBAHTQ5.js} +2 -2
  92. package/dist/{chunk-42TIIO2M.js → chunk-BTUIHRRR.js} +2 -2
  93. package/dist/chunk-CIO7GCWE.js +29 -0
  94. package/dist/chunk-CIO7GCWE.js.map +1 -0
  95. package/dist/{chunk-SNEUAZ6B.js → chunk-CK3DZ6OE.js} +2 -2
  96. package/dist/{chunk-AJRJDXYR.js → chunk-E7MYSCSL.js} +2 -2
  97. package/dist/{chunk-3T6HIIKA.js → chunk-EHC3FIJ4.js} +2 -2
  98. package/dist/{chunk-EDZNW3HE.js → chunk-EPRBTGLM.js} +6 -6
  99. package/dist/{chunk-YTXNDEUS.js → chunk-FEP45MYY.js} +4 -3
  100. package/dist/{chunk-YTXNDEUS.js.map → chunk-FEP45MYY.js.map} +1 -1
  101. package/dist/{chunk-KFB4YNXM.js → chunk-G5F4MXXC.js} +2 -2
  102. package/dist/{chunk-VANZKHTN.js → chunk-G5OB4XZX.js} +4 -4
  103. package/dist/{chunk-N7V3P4V5.js → chunk-H5VDBZLZ.js} +2 -2
  104. package/dist/{chunk-645WOU5I.js → chunk-H7BZBSP6.js} +4 -4
  105. package/dist/{chunk-SZ4HFZKB.js → chunk-HMKPFW7R.js} +2 -2
  106. package/dist/{chunk-VFZQXYN5.js → chunk-HZXO2CJ6.js} +2 -2
  107. package/dist/{chunk-KXWE62IH.js → chunk-IOE75NA4.js} +2 -2
  108. package/dist/{chunk-PQHNZ63P.js → chunk-JJ45UTNT.js} +18 -5
  109. package/dist/chunk-JJ45UTNT.js.map +1 -0
  110. package/dist/{chunk-5TF5STAV.js → chunk-K477BTF4.js} +4 -4
  111. package/dist/{chunk-ML3U4KPR.js → chunk-K547KS3X.js} +4 -4
  112. package/dist/{chunk-UHGBNIOS.js → chunk-KVDUKH5E.js} +7 -2
  113. package/dist/chunk-KVDUKH5E.js.map +1 -0
  114. package/dist/{chunk-XTMYB2HY.js → chunk-LJQGQUNS.js} +2 -2
  115. package/dist/{chunk-WAS4HV46.js → chunk-LNH76ZJX.js} +87 -3
  116. package/dist/chunk-LNH76ZJX.js.map +1 -0
  117. package/dist/{chunk-VYMICVRA.js → chunk-LQNBQEMC.js} +2 -2
  118. package/dist/{chunk-J6QIAYNR.js → chunk-LVXBC6YB.js} +7 -2
  119. package/dist/{chunk-J6QIAYNR.js.map → chunk-LVXBC6YB.js.map} +1 -1
  120. package/dist/{chunk-IVKIODHO.js → chunk-MB6GLPRY.js} +4 -4
  121. package/dist/{chunk-BPQ7L27U.js → chunk-MIM7QT6H.js} +16 -16
  122. package/dist/chunk-MKYRCCSN.js +145 -0
  123. package/dist/chunk-MKYRCCSN.js.map +1 -0
  124. package/dist/{chunk-WBPD6SBZ.js → chunk-MNI7KB4Q.js} +54 -54
  125. package/dist/{chunk-6433HV72.js → chunk-MVIYRRVJ.js} +5 -5
  126. package/dist/{chunk-BXLOS5AJ.js → chunk-OWHERGF2.js} +2 -2
  127. package/dist/{chunk-QQYHYW2N.js → chunk-PQODT53H.js} +3 -3
  128. package/dist/{chunk-PHKU6BZ2.js → chunk-R7FQQQ23.js} +2 -2
  129. package/dist/{chunk-TOP3FSDW.js → chunk-RFFCBYBD.js} +11 -11
  130. package/dist/{chunk-O52TB5SL.js → chunk-SAWGVTCE.js} +2 -2
  131. package/dist/{chunk-LTYH2L6E.js → chunk-SILX74CP.js} +9 -9
  132. package/dist/{chunk-MYI3RKI6.js → chunk-SYU5JOBQ.js} +2 -2
  133. package/dist/{chunk-SY5JUJ2X.js → chunk-U5XC6DIS.js} +39 -39
  134. package/dist/{chunk-JXS5PDQ7.js → chunk-UOBPK2OS.js} +25 -7
  135. package/dist/chunk-UOBPK2OS.js.map +1 -0
  136. package/dist/{chunk-BOSIHHOH.js → chunk-UUYQWKHO.js} +2 -2
  137. package/dist/{chunk-DQEMWVMT.js → chunk-UVYI6VIX.js} +1 -1
  138. package/dist/{chunk-M4AHBM72.js → chunk-VCBG52MM.js} +4 -4
  139. package/dist/{chunk-62Y5AGCM.js → chunk-VENMDW4U.js} +10 -10
  140. package/dist/{chunk-6NAPOLRO.js → chunk-VY47VI2T.js} +6 -4
  141. package/dist/chunk-VY47VI2T.js.map +1 -0
  142. package/dist/{chunk-QTXNS3HB.js → chunk-WCWIV2JH.js} +2 -2
  143. package/dist/{chunk-6UKSOXAO.js → chunk-WQ6TRWAE.js} +3 -3
  144. package/dist/{chunk-CBY54QYW.js → chunk-X6HNXVXS.js} +4 -4
  145. package/dist/{chunk-DGUVXXAU.js → chunk-XFJUPJD7.js} +2 -2
  146. package/dist/{chunk-JPWSYHLB.js → chunk-YGSDWO3U.js} +2 -2
  147. package/dist/{chunk-GBVRVYF4.js → chunk-YINSSARY.js} +1 -1
  148. package/dist/{chunk-Q6OL23WM.js → chunk-Z4UPRZR6.js} +2 -2
  149. package/dist/{chunk-4F67JJPG.js → chunk-ZPN7W3OP.js} +2 -2
  150. package/dist/{cli-D0tV7eeU.d.ts → cli-xoJTOdMQ.d.ts} +5 -5
  151. package/dist/cli.d.ts +13 -13
  152. package/dist/cli.js +55 -54
  153. package/dist/coding/pre-action-gate.d.ts +1 -1
  154. package/dist/compounding/engine.d.ts +2 -2
  155. package/dist/compounding/engine.js +9 -9
  156. package/dist/compounding/preference-consolidator.d.ts +1 -1
  157. package/dist/compression-optimizer.d.ts +1 -1
  158. package/dist/config.d.ts +1 -1
  159. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  160. package/dist/connectors/codex-materialize-runner.js +9 -9
  161. package/dist/connectors/codex-materialize.d.ts +1 -1
  162. package/dist/connectors/index.d.ts +1 -1
  163. package/dist/connectors/index.js +9 -9
  164. package/dist/consolidation-provenance-check.d.ts +2 -2
  165. package/dist/consolidation-undo.d.ts +2 -2
  166. package/dist/contradiction/index.d.ts +2 -2
  167. package/dist/contradiction/index.js +4 -4
  168. package/dist/converge-config.d.ts +1 -1
  169. package/dist/convergence-refresh.d.ts +2 -2
  170. package/dist/convergence-refresh.js +11 -11
  171. package/dist/conversation-index/backend.d.ts +1 -1
  172. package/dist/conversation-index/chunker.d.ts +1 -1
  173. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  174. package/dist/conversation-index/indexer.d.ts +1 -1
  175. package/dist/conversation-index/search.d.ts +1 -1
  176. package/dist/corpus-watermark.d.ts +1 -1
  177. package/dist/corpus-watermark.js +11 -11
  178. package/dist/day-summary.d.ts +1 -1
  179. package/dist/day-summary.js +1 -1
  180. package/dist/delinearize.d.ts +1 -1
  181. package/dist/dependency-propagation-config.d.ts +1 -1
  182. package/dist/{dependency-propagation-delivery-DiY5T63p.d.ts → dependency-propagation-delivery-Cph4PnBe.d.ts} +1 -1
  183. package/dist/direct-answer-wiring.d.ts +1 -1
  184. package/dist/direct-answer-wiring.js +2 -1
  185. package/dist/direct-answer.d.ts +1 -1
  186. package/dist/embedding-fallback.d.ts +1 -1
  187. package/dist/enrichment/index.d.ts +1 -1
  188. package/dist/entity-origin-fields.d.ts +1 -1
  189. package/dist/entity-retrieval-i18n.d.ts +34 -0
  190. package/dist/entity-retrieval-i18n.js +13 -0
  191. package/dist/entity-retrieval-i18n.js.map +1 -0
  192. package/dist/entity-retrieval.d.ts +2 -2
  193. package/dist/entity-retrieval.js +10 -9
  194. package/dist/entity-schema.d.ts +1 -1
  195. package/dist/episodic-context.d.ts +1 -1
  196. package/dist/event-order-recall.js +2 -2
  197. package/dist/explicit-capture.d.ts +9 -9
  198. package/dist/external-wiki-access.d.ts +11 -11
  199. package/dist/external-wiki-access.js +24 -24
  200. package/dist/external-wiki-collection-registration.d.ts +1 -1
  201. package/dist/external-wiki-collection.d.ts +1 -1
  202. package/dist/external-wiki-mcp-tools.d.ts +11 -11
  203. package/dist/extraction-error-classification.d.ts +1 -1
  204. package/dist/extraction-faithfulness.d.ts +1 -1
  205. package/dist/extraction-judge-telemetry.d.ts +1 -1
  206. package/dist/extraction-judge-training.d.ts +1 -1
  207. package/dist/extraction-judge.d.ts +1 -1
  208. package/dist/extraction-liveness.d.ts +1 -1
  209. package/dist/extraction-normalization.d.ts +1 -1
  210. package/dist/extraction-prompt.d.ts +1 -1
  211. package/dist/extraction-source-grounding-helpers.d.ts +10 -1
  212. package/dist/extraction-source-grounding-helpers.js +3 -1
  213. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  214. package/dist/extraction-source-grounding-rules.js +2 -2
  215. package/dist/extraction-source-grounding.d.ts +1 -1
  216. package/dist/extraction-source-grounding.js +3 -3
  217. package/dist/extraction.d.ts +1 -1
  218. package/dist/extraction.js +18 -18
  219. package/dist/fallback-llm.d.ts +1 -1
  220. package/dist/graph-dashboard-diff.d.ts +1 -1
  221. package/dist/graph-dashboard-key.d.ts +1 -1
  222. package/dist/graph-dashboard-parser.d.ts +1 -1
  223. package/dist/graph-edge-reinforcement.d.ts +1 -1
  224. package/dist/graph-path-reconstruction.d.ts +1 -1
  225. package/dist/graph-path-scoring.d.ts +1 -1
  226. package/dist/graph-snapshot.d.ts +1 -1
  227. package/dist/graph.d.ts +1 -1
  228. package/dist/harmonic-retrieval.js +1 -1
  229. package/dist/importance.d.ts +1 -1
  230. package/dist/importance.js +2 -1
  231. package/dist/importers/index.d.ts +1 -1
  232. package/dist/in-flight-reads.d.ts +1 -1
  233. package/dist/index.d.ts +697 -697
  234. package/dist/index.js +98 -96
  235. package/dist/intent.d.ts +1 -1
  236. package/dist/lcm/engine.d.ts +1 -1
  237. package/dist/lcm/engine.js +2 -2
  238. package/dist/lcm/index.d.ts +1 -1
  239. package/dist/lcm/index.js +4 -4
  240. package/dist/lcm/tools.d.ts +1 -1
  241. package/dist/lifecycle.d.ts +1 -1
  242. package/dist/live-connectors-runner.d.ts +1 -1
  243. package/dist/local-llm.d.ts +1 -1
  244. package/dist/local-llm.js +2 -2
  245. package/dist/local-model-endpoint.d.ts +1 -1
  246. package/dist/maintenance/memory-governance.d.ts +1 -1
  247. package/dist/maintenance/memory-governance.js +9 -9
  248. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  249. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +9 -9
  250. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  251. package/dist/maintenance/rebuild-memory-projection.js +10 -10
  252. package/dist/{maintenance-CaqA4z7V.d.ts → maintenance-BNq31xpo.d.ts} +3 -3
  253. package/dist/mcp-memory-inspector-app.d.ts +11 -11
  254. package/dist/memory-action-policy.d.ts +1 -1
  255. package/dist/memory-cache.d.ts +1 -1
  256. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  257. package/dist/memory-projection-store.d.ts +1 -1
  258. package/dist/memory-provenance.d.ts +1 -1
  259. package/dist/memory-snapshot.d.ts +1 -1
  260. package/dist/memory-worth-outcomes.d.ts +2 -2
  261. package/dist/models-json.d.ts +1 -1
  262. package/dist/namespaces/migrate.d.ts +3 -3
  263. package/dist/namespaces/migrate.js +10 -10
  264. package/dist/namespaces/principal.d.ts +1 -1
  265. package/dist/namespaces/search.d.ts +1 -1
  266. package/dist/namespaces/search.js +7 -7
  267. package/dist/namespaces/storage.d.ts +3 -3
  268. package/dist/namespaces/storage.js +9 -9
  269. package/dist/native-knowledge.d.ts +1 -1
  270. package/dist/offline-sync-impression-drain.d.ts +1 -1
  271. package/dist/operator-doctor-corpus.d.ts +1 -1
  272. package/dist/operator-doctor-corpus.js +12 -12
  273. package/dist/operator-doctor-replica.d.ts +1 -1
  274. package/dist/operator-toolkit.d.ts +3 -3
  275. package/dist/operator-toolkit.js +17 -17
  276. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  277. package/dist/orchestration/maintenance.d.ts +4 -4
  278. package/dist/orchestration/maintenance.js +15 -15
  279. package/dist/{orchestrator-Bay_AofR.d.ts → orchestrator-CBuUOP2J.d.ts} +8 -8
  280. package/dist/orchestrator.d.ts +9 -9
  281. package/dist/orchestrator.js +84 -82
  282. package/dist/patterns-cli.d.ts +1 -1
  283. package/dist/{pipeline-X606GdRJ.d.ts → pipeline-CW_Q4WvX.d.ts} +1 -1
  284. package/dist/policy-runtime.d.ts +1 -1
  285. package/dist/proactive-contention.d.ts +1 -1
  286. package/dist/provenance.d.ts +1 -1
  287. package/dist/{public-http-BtjiyKah.d.ts → public-http-DR3sHfwk.d.ts} +1 -1
  288. package/dist/qmd-preflight.d.ts +2 -2
  289. package/dist/{qmd-DCKeR-GX.d.ts → qmd-q-cAzYuC.d.ts} +1 -1
  290. package/dist/qmd-recall-cache.d.ts +1 -1
  291. package/dist/qmd.d.ts +2 -2
  292. package/dist/recall-concurrency-config.d.ts +1 -1
  293. package/dist/recall-disclosure-escalation.d.ts +1 -1
  294. package/dist/recall-explain-renderer.d.ts +1 -1
  295. package/dist/recall-memory-map.d.ts +1 -1
  296. package/dist/recall-planner-llm.d.ts +1 -1
  297. package/dist/recall-state.d.ts +1 -1
  298. package/dist/recall-tag-filter.d.ts +1 -1
  299. package/dist/recall-timings.d.ts +1 -1
  300. package/dist/recall-xray-cli.d.ts +1 -1
  301. package/dist/recall-xray-renderer.d.ts +1 -1
  302. package/dist/recall-xray.d.ts +1 -1
  303. package/dist/reconcile/cursor.d.ts +1 -1
  304. package/dist/reconcile/manifest.d.ts +1 -1
  305. package/dist/reconcile/plan.d.ts +1 -1
  306. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  307. package/dist/replay/normalizers/claude.d.ts +1 -1
  308. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  309. package/dist/replay/normalizers/shared.d.ts +1 -1
  310. package/dist/replay/runner.d.ts +1 -1
  311. package/dist/replay/types.d.ts +1 -1
  312. package/dist/replica-divergence.d.ts +1 -1
  313. package/dist/replica-peers-config.d.ts +1 -1
  314. package/dist/resolve-auth-token.d.ts +1 -1
  315. package/dist/retrieval-agents.d.ts +2 -2
  316. package/dist/retrieval-tiers.d.ts +1 -1
  317. package/dist/routing/engine.d.ts +1 -1
  318. package/dist/routing/store.d.ts +1 -1
  319. package/dist/salvage-envelope.d.ts +1 -1
  320. package/dist/schemas.d.ts +108 -108
  321. package/dist/{scope-profiles-_Y_RHCeE.d.ts → scope-profiles-CIr4mXgp.d.ts} +1 -1
  322. package/dist/search/embed-helper.d.ts +1 -1
  323. package/dist/search/factory.d.ts +1 -1
  324. package/dist/search/factory.js +6 -6
  325. package/dist/search/index.d.ts +1 -1
  326. package/dist/search/index.js +11 -11
  327. package/dist/search/lancedb-backend.d.ts +1 -1
  328. package/dist/search/lancedb-backend.js +2 -2
  329. package/dist/search/meilisearch-backend.d.ts +1 -1
  330. package/dist/search/meilisearch-backend.js +2 -2
  331. package/dist/search/noop-backend.d.ts +1 -1
  332. package/dist/search/orama-backend.d.ts +1 -1
  333. package/dist/search/orama-backend.js +2 -2
  334. package/dist/search/port.d.ts +1 -1
  335. package/dist/search/remote-backend.d.ts +1 -1
  336. package/dist/{semantic-consolidation-DT2VSrU0.d.ts → semantic-consolidation-BZ6J46j-.d.ts} +1 -1
  337. package/dist/semantic-consolidation.d.ts +2 -2
  338. package/dist/semantic-consolidation.js +10 -10
  339. package/dist/semantic-rule-promotion.js +9 -9
  340. package/dist/semantic-rule-verifier.d.ts +1 -1
  341. package/dist/semantic-rule-verifier.js +9 -9
  342. package/dist/{service-BMo-gwDE.d.ts → service-CCl4iyyY.d.ts} +2 -2
  343. package/dist/session-observer-bands.d.ts +1 -1
  344. package/dist/session-observer-state.d.ts +1 -1
  345. package/dist/shared-context/manager.d.ts +9 -9
  346. package/dist/signal.d.ts +1 -1
  347. package/dist/source-agent-qualifier.d.ts +1 -1
  348. package/dist/source-agent-qualifier.js +13 -13
  349. package/dist/{storage-CGzJGUUu.d.ts → storage-BPXmJKIt.d.ts} +1 -1
  350. package/dist/storage.d.ts +2 -2
  351. package/dist/storage.js +8 -8
  352. package/dist/summarizer.d.ts +1 -1
  353. package/dist/summarizer.js +3 -3
  354. package/dist/summary-snapshot.d.ts +1 -1
  355. package/dist/support-passport/index.d.ts +14 -14
  356. package/dist/support-passport/index.js +26 -26
  357. package/dist/temporal-supersession.d.ts +2 -2
  358. package/dist/temporal-timeline-recall.d.ts +1 -1
  359. package/dist/temporal-validity.d.ts +1 -1
  360. package/dist/threading.d.ts +1 -1
  361. package/dist/tier-migration.d.ts +2 -2
  362. package/dist/tier-routing.d.ts +1 -1
  363. package/dist/topics.d.ts +1 -1
  364. package/dist/topics.js +2 -1
  365. package/dist/transcript.d.ts +1 -1
  366. package/dist/transfer/backup.js +2 -2
  367. package/dist/transfer/capsule-export.js +2 -2
  368. package/dist/transfer/capsule-import.js +2 -2
  369. package/dist/transfer/types.d.ts +66 -66
  370. package/dist/trust-score-stage.d.ts +1 -1
  371. package/dist/trust-score.d.ts +1 -1
  372. package/dist/{types-CBEAYU76.d.ts → types-CltSWcND.d.ts} +1 -1
  373. package/dist/types.d.ts +1 -1
  374. package/dist/utility-runtime.d.ts +1 -1
  375. package/dist/verified-recall.js +9 -9
  376. package/dist/write-envelope.d.ts +1 -1
  377. package/package.json +2 -2
  378. package/src/briefing.test.ts +50 -0
  379. package/src/briefing.ts +3 -2
  380. package/src/chat/chat-engine.test.ts +15 -0
  381. package/src/chat/chat-engine.ts +13 -2
  382. package/src/day-summary.test.ts +63 -0
  383. package/src/day-summary.ts +13 -1
  384. package/src/entity-retrieval-i18n.test.ts +115 -0
  385. package/src/entity-retrieval-i18n.ts +161 -0
  386. package/src/entity-retrieval.ts +34 -34
  387. package/src/extraction-source-grounding-helpers.ts +112 -2
  388. package/src/extraction-source-grounding-rules.ts +3 -1
  389. package/src/extraction-source-grounding.test.ts +52 -0
  390. package/src/importance.ts +32 -22
  391. package/src/taxonomy/resolver.ts +7 -7
  392. package/src/topics.ts +5 -2
  393. package/src/utils/script-aware-text.ts +52 -0
  394. package/src/write-classifiers-cjk.test.ts +115 -0
  395. package/dist/chunk-4POAMKV6.js.map +0 -1
  396. package/dist/chunk-6NAPOLRO.js.map +0 -1
  397. package/dist/chunk-JXS5PDQ7.js.map +0 -1
  398. package/dist/chunk-PQHNZ63P.js.map +0 -1
  399. package/dist/chunk-UHGBNIOS.js.map +0 -1
  400. package/dist/chunk-ULZFZL7K.js.map +0 -1
  401. package/dist/chunk-WAS4HV46.js.map +0 -1
  402. /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-GWVG7LGC.js.map} +0 -0
  403. /package/dist/{chunk-OQIRBGUU.js.map → chunk-2Q4UAPLD.js.map} +0 -0
  404. /package/dist/{chunk-3IMYRX3W.js.map → chunk-34E5NBQI.js.map} +0 -0
  405. /package/dist/{chunk-BRHKW7GY.js.map → chunk-4IIDTPSK.js.map} +0 -0
  406. /package/dist/{chunk-Q5XKKDFQ.js.map → chunk-5SZ6CLGJ.js.map} +0 -0
  407. /package/dist/{chunk-VDX2J7OX.js.map → chunk-5W7CTZ2E.js.map} +0 -0
  408. /package/dist/{chunk-EUYWQ7TS.js.map → chunk-652S5A5D.js.map} +0 -0
  409. /package/dist/{chunk-3TDAA7VA.js.map → chunk-6NMZXEJ7.js.map} +0 -0
  410. /package/dist/{chunk-ZOAAY2OE.js.map → chunk-77E7LLMV.js.map} +0 -0
  411. /package/dist/{chunk-MIUL6AUZ.js.map → chunk-7ML7STOD.js.map} +0 -0
  412. /package/dist/{chunk-5SCFDQEJ.js.map → chunk-BPLPGOUJ.js.map} +0 -0
  413. /package/dist/{chunk-RWMSMTQP.js.map → chunk-BS75WJBH.js.map} +0 -0
  414. /package/dist/{chunk-XE2QCCT2.js.map → chunk-BTBAHTQ5.js.map} +0 -0
  415. /package/dist/{chunk-42TIIO2M.js.map → chunk-BTUIHRRR.js.map} +0 -0
  416. /package/dist/{chunk-SNEUAZ6B.js.map → chunk-CK3DZ6OE.js.map} +0 -0
  417. /package/dist/{chunk-AJRJDXYR.js.map → chunk-E7MYSCSL.js.map} +0 -0
  418. /package/dist/{chunk-3T6HIIKA.js.map → chunk-EHC3FIJ4.js.map} +0 -0
  419. /package/dist/{chunk-EDZNW3HE.js.map → chunk-EPRBTGLM.js.map} +0 -0
  420. /package/dist/{chunk-KFB4YNXM.js.map → chunk-G5F4MXXC.js.map} +0 -0
  421. /package/dist/{chunk-VANZKHTN.js.map → chunk-G5OB4XZX.js.map} +0 -0
  422. /package/dist/{chunk-N7V3P4V5.js.map → chunk-H5VDBZLZ.js.map} +0 -0
  423. /package/dist/{chunk-645WOU5I.js.map → chunk-H7BZBSP6.js.map} +0 -0
  424. /package/dist/{chunk-SZ4HFZKB.js.map → chunk-HMKPFW7R.js.map} +0 -0
  425. /package/dist/{chunk-VFZQXYN5.js.map → chunk-HZXO2CJ6.js.map} +0 -0
  426. /package/dist/{chunk-KXWE62IH.js.map → chunk-IOE75NA4.js.map} +0 -0
  427. /package/dist/{chunk-5TF5STAV.js.map → chunk-K477BTF4.js.map} +0 -0
  428. /package/dist/{chunk-ML3U4KPR.js.map → chunk-K547KS3X.js.map} +0 -0
  429. /package/dist/{chunk-XTMYB2HY.js.map → chunk-LJQGQUNS.js.map} +0 -0
  430. /package/dist/{chunk-VYMICVRA.js.map → chunk-LQNBQEMC.js.map} +0 -0
  431. /package/dist/{chunk-IVKIODHO.js.map → chunk-MB6GLPRY.js.map} +0 -0
  432. /package/dist/{chunk-BPQ7L27U.js.map → chunk-MIM7QT6H.js.map} +0 -0
  433. /package/dist/{chunk-WBPD6SBZ.js.map → chunk-MNI7KB4Q.js.map} +0 -0
  434. /package/dist/{chunk-6433HV72.js.map → chunk-MVIYRRVJ.js.map} +0 -0
  435. /package/dist/{chunk-BXLOS5AJ.js.map → chunk-OWHERGF2.js.map} +0 -0
  436. /package/dist/{chunk-QQYHYW2N.js.map → chunk-PQODT53H.js.map} +0 -0
  437. /package/dist/{chunk-PHKU6BZ2.js.map → chunk-R7FQQQ23.js.map} +0 -0
  438. /package/dist/{chunk-TOP3FSDW.js.map → chunk-RFFCBYBD.js.map} +0 -0
  439. /package/dist/{chunk-O52TB5SL.js.map → chunk-SAWGVTCE.js.map} +0 -0
  440. /package/dist/{chunk-LTYH2L6E.js.map → chunk-SILX74CP.js.map} +0 -0
  441. /package/dist/{chunk-MYI3RKI6.js.map → chunk-SYU5JOBQ.js.map} +0 -0
  442. /package/dist/{chunk-SY5JUJ2X.js.map → chunk-U5XC6DIS.js.map} +0 -0
  443. /package/dist/{chunk-BOSIHHOH.js.map → chunk-UUYQWKHO.js.map} +0 -0
  444. /package/dist/{chunk-DQEMWVMT.js.map → chunk-UVYI6VIX.js.map} +0 -0
  445. /package/dist/{chunk-M4AHBM72.js.map → chunk-VCBG52MM.js.map} +0 -0
  446. /package/dist/{chunk-62Y5AGCM.js.map → chunk-VENMDW4U.js.map} +0 -0
  447. /package/dist/{chunk-QTXNS3HB.js.map → chunk-WCWIV2JH.js.map} +0 -0
  448. /package/dist/{chunk-6UKSOXAO.js.map → chunk-WQ6TRWAE.js.map} +0 -0
  449. /package/dist/{chunk-CBY54QYW.js.map → chunk-X6HNXVXS.js.map} +0 -0
  450. /package/dist/{chunk-DGUVXXAU.js.map → chunk-XFJUPJD7.js.map} +0 -0
  451. /package/dist/{chunk-JPWSYHLB.js.map → chunk-YGSDWO3U.js.map} +0 -0
  452. /package/dist/{chunk-GBVRVYF4.js.map → chunk-YINSSARY.js.map} +0 -0
  453. /package/dist/{chunk-Q6OL23WM.js.map → chunk-Z4UPRZR6.js.map} +0 -0
  454. /package/dist/{chunk-4F67JJPG.js.map → chunk-ZPN7W3OP.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { resolveRemnicConfigRecord } from './config-record.js';
5
5
  export { ExternalWikiCatalog, ExternalWikiCatalogEntry, ExternalWikiCatalogLimits, ExternalWikiLayout, ExternalWikiPage, loadExternalWikiCatalog, parseExternalWikiCatalog, readExternalWikiPage, validateExternalWikiLayout } from './external-wiki.js';
6
6
  export { runExternalWikiCliCommand } from './external-wiki-cli.js';
7
7
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
8
- export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-Bay_AofR.js';
8
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-CBuUOP2J.js';
9
9
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
10
10
  export { searchWithGenericExclusion } from './access-memory-search-fanout.js';
11
11
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
@@ -16,8 +16,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
16
16
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
17
17
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
18
18
  export { EventOrderRecallOptions, buildEventOrderRecallSection } from './event-order-recall.js';
19
- import { S as StorageManager, a as MeetingRecordStore } from './storage-CGzJGUUu.js';
20
- export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-CGzJGUUu.js';
19
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-BPXmJKIt.js';
20
+ export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-BPXmJKIt.js';
21
21
  import { SealedMemoryEnvelope } from './write-envelope.js';
22
22
  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';
23
23
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
@@ -26,13 +26,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
26
26
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
27
27
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
28
28
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
29
- import { C as CodingContext, bh as CodingModeConfig, aQ as FusionConversationInput, bi as FusedSpeaker, bj as FusedSegment, bk as FusedDisagreement, bl as FusionOptions, aS as WearableConversation, bm as FusionDayResult, P as PluginConfig, bn as CodingKnowledgeConfig, w as MemoryCategory, bo as WearableCleanupSettings, bp as WearableFusionConfig, aT as WearableSourceSettings, aX as WearablesConfig, aW as WearableSourceConnector, bq as OffTheRecordMarkerSettings, b0 as WearableCorrectionRule, br as WearableDayTranscriptMeta, a_ as WearableDayTranscript, aH as ActivitySnapshot, bs as ActivityDayMeta, bt as ActivityDayDigest, aK as ActivitySourceClient, bu as ActivitySourceCheck, bv as ActivitySnapshotPage, aI as ActivityConfig, a5 as ExtractionResult, y as MemoryStatus, aq as ImportanceScore, bw as MeetingsDetectionConfig, aP as MeetingsDetectionInput, aR as DetectedMeeting, aM as MeetingsConfig, aO as MeetingRecord, bx as MeetingAudioWindow, by as MeetingAppSpan } from './types-CBEAYU76.js';
30
- export { bz as ActivityExtractionMode, aJ as ActivitySourceConfig, v as AgentAccessAuthToken, g as BriefingActiveThread, bA as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, bB as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bC as BriefingWindow, a7 as BufferSurpriseEvent, bD as BulkImportError, a9 as BulkImportOptions, ab as BulkImportResult, aa as BulkImportSource, bE as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bF as CodexCompatConfig, bg as ConsolidationObservation, bG as DEFAULT_RECALL_DISCLOSURE, bH as DisagreementKind, E as EntityFile, al as EntityStructuredSection, ao as ExtractedFact, bI as FusedContribution, bJ as FusedConversationProvenance, b2 as FusedDayFile, b1 as FusedDayMeta, aN as FusedMeeting, bK as FusedSegmentProvenance, a$ as FusedWearableConversation, bL as FusionSegmentInput, G as GatewayConfig, bM as ImportSourceRole, a8 as ImportTurn, bN as ImportTurnValidationIssue, aL as MeetingBuildInput, b3 as MeetingDetectionSource, bO as MeetingScreenContextEvent, bP as MeetingSummaryMode, as as MemoryActionEligibilityContext, bQ as MemoryActionEligibilitySource, af as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bR as MemoryObservation, bS as MemoryScope, bT as RECALL_DISCLOSURE_LEVELS, n as RecallDisclosure, u as SecretRef, bU as SegmentPickReason, bV as WearableAuthCheck, bW as WearableFetchOptions, bX as WearableFetchPage, aV as WearableMemoryMode, aU as WearableNativeMemory, bY as WearableNativeMemoryPage, aZ as WearableSourceStatus, aY as WearableSyncSummary, bZ as WearableTranscriptSegment, b_ as isImportRole, b$ as isRecallDisclosure, c0 as parseIsoTimestamp, c1 as validateImportTurn } from './types-CBEAYU76.js';
29
+ import { C as CodingContext, bi as CodingModeConfig, aR as FusionConversationInput, bj as FusedSpeaker, bk as FusedSegment, bl as FusedDisagreement, bm as FusionOptions, aT as WearableConversation, bn as FusionDayResult, P as PluginConfig, bo as CodingKnowledgeConfig, x as MemoryCategory, bp as WearableCleanupSettings, bq as WearableFusionConfig, aU as WearableSourceSettings, aY as WearablesConfig, aX as WearableSourceConnector, br as OffTheRecordMarkerSettings, b1 as WearableCorrectionRule, bs as WearableDayTranscriptMeta, a$ as WearableDayTranscript, aI as ActivitySnapshot, bt as ActivityDayMeta, bu as ActivityDayDigest, aL as ActivitySourceClient, bv as ActivitySourceCheck, bw as ActivitySnapshotPage, aJ as ActivityConfig, a6 as ExtractionResult, z as MemoryStatus, ar as ImportanceScore, bx as MeetingsDetectionConfig, aQ as MeetingsDetectionInput, aS as DetectedMeeting, aN as MeetingsConfig, aP as MeetingRecord, by as MeetingAudioWindow, bz as MeetingAppSpan } from './types-CltSWcND.js';
30
+ export { bA as ActivityExtractionMode, aK as ActivitySourceConfig, w as AgentAccessAuthToken, g as BriefingActiveThread, bB as BriefingConfig, d as BriefingFocus, c as BriefingFollowup, i as BriefingOpenCommitment, j as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bC as BriefingWindow, a8 as BufferSurpriseEvent, bD as BulkImportError, aa as BulkImportOptions, ac as BulkImportResult, ab as BulkImportSource, bE as BulkImportSourceAdapter, f as CalendarEvent, e as CalendarSource, bF as CodexCompatConfig, bh as ConsolidationObservation, bG as DEFAULT_RECALL_DISCLOSURE, bH as DisagreementKind, E as EntityFile, am as EntityStructuredSection, ap as ExtractedFact, bI as FusedContribution, bJ as FusedConversationProvenance, b3 as FusedDayFile, b2 as FusedDayMeta, aO as FusedMeeting, bK as FusedSegmentProvenance, b0 as FusedWearableConversation, bL as FusionSegmentInput, G as GatewayConfig, bM as ImportSourceRole, a9 as ImportTurn, bN as ImportTurnValidationIssue, aM as MeetingBuildInput, b4 as MeetingDetectionSource, bO as MeetingScreenContextEvent, bP as MeetingSummaryMode, at as MemoryActionEligibilityContext, bQ as MemoryActionEligibilitySource, ag as MemoryActionType, M as MemoryFile, m as MemoryFrontmatter, bR as MemoryObservation, bS as MemoryScope, bT as RECALL_DISCLOSURE_LEVELS, o as RecallDisclosure, v as SecretRef, bU as SegmentPickReason, bV as WearableAuthCheck, bW as WearableFetchOptions, bX as WearableFetchPage, aW as WearableMemoryMode, aV as WearableNativeMemory, bY as WearableNativeMemoryPage, a_ as WearableSourceStatus, aZ as WearableSyncSummary, bZ as WearableTranscriptSegment, b_ as isImportRole, b$ as isRecallDisclosure, c0 as parseIsoTimestamp, c1 as validateImportTurn } from './types-CltSWcND.js';
31
31
  import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
32
32
  export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
33
33
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
34
- import { f as EngramAccessService } from './access-service-BaPa_km6.js';
35
- export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-BaPa_km6.js';
34
+ import { f as EngramAccessService } from './access-service-C0AE0jLs.js';
35
+ export { P as ProcedureStatsConfigSnapshot, J as ProcedureStatsRecent, K as ProcedureStatsReport, L as ProcedureStatusCounts, S as SUPPORT_PASSPORT_CARD_CATEGORIES, N as SUPPORT_PASSPORT_CARD_STATUSES, O as SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS, Q as SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES, R as SUPPORT_PASSPORT_NOT_IN_GUIDE_ANSWER, T as SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH, U as SupportPassportAccessSurface, V as SupportPassportAccessSurfaceDependencies, W as SupportPassportAnswerModelInput, X as SupportPassportAnswerModelInputSchema, Y as SupportPassportAnswerOutput, Z as SupportPassportAnswerOutputSchema, _ as SupportPassportAnswerResult, $ as SupportPassportCard, a0 as SupportPassportCardCategory, a1 as SupportPassportCardCategorySchema, a2 as SupportPassportCardListSchema, a3 as SupportPassportCardMutationInput, a4 as SupportPassportCardMutationInputSchema, a5 as SupportPassportCardSchema, a6 as SupportPassportCardServiceDependencies, a7 as SupportPassportCardStatus, a8 as SupportPassportCardStatusSchema, a9 as SupportPassportCardTitleSchema, aa as SupportPassportCreateGrantInput, ab as SupportPassportCreateGrantInputSchema, ac as SupportPassportCreateGrantRequest, ad as SupportPassportCreateGrantRequestSchema, ae as SupportPassportCreateGrantResult, af as SupportPassportCreatedGrant, ag as SupportPassportCreatedGrantSchema, ah as SupportPassportDraftCard, ai as SupportPassportDraftCardSchema, aj as SupportPassportDraftModelInput, ak as SupportPassportDraftModelInputSchema, al as SupportPassportDraftOutputSchema, am as SupportPassportDraftResult, an as SupportPassportError, ao as SupportPassportErrorCode, ap as SupportPassportGrantCardRef, aq as SupportPassportGrantCardRefSchema, ar as SupportPassportGrantState, as as SupportPassportGrantStateSchema, at as SupportPassportListCardsInputSchema, au as SupportPassportListGrantsInputSchema, av as SupportPassportManualDraftInput, aw as SupportPassportManualDraftInputSchema, ax as SupportPassportMemoryIdSchema, ay as SupportPassportMemoryPreview, az as SupportPassportModelAdapter, aA as SupportPassportModelAdapterOptions, aB as SupportPassportModelAuditRecord, aC as SupportPassportModelAuditRecordSchema, aD as SupportPassportModelAuditSink, aE as SupportPassportModelAuditStore, aF as SupportPassportModelCallError, aG as SupportPassportModelClients, aH as SupportPassportModelFailureMetadata, aI as SupportPassportModelMessage, aJ as SupportPassportModelResultMetadata, aK as SupportPassportModelRoute, aL as SupportPassportModelRouteKind, aM as SupportPassportModelRouteResult, aN as SupportPassportModelUsage, aO as SupportPassportNamespaceSchema, aP as SupportPassportOwnerCreateGrantRequest, aQ as SupportPassportOwnerCreateGrantRequestSchema, aR as SupportPassportOwnerGrant, aS as SupportPassportOwnerGrantSchema, aT as SupportPassportOwnerScope, aU as SupportPassportPublicCardSchema, aV as SupportPassportPublicGuide, aW as SupportPassportPublicGuideSchema, aX as SupportPassportReplaceCardInput, aY as SupportPassportReplaceCardInputSchema, aZ as SupportPassportRevokeGrantInput, a_ as SupportPassportRevokeGrantInputSchema, a$ as SupportPassportRevokeGrantResult, b0 as SupportPassportSourceMemoryIdSchema, b1 as acceptsSupportPassportModelResponse, b2 as buildSupportPassportDirectGatewayConfig, b3 as computeProcedureStats, b4 as computeSupportPassportCardRevision, b5 as createSupportPassportModelAdapter, b6 as formatProcedureStatsText, b7 as hashSupportPassportAuditValues, b8 as resolveSupportPassportModelRoutePlan } from './access-service-C0AE0jLs.js';
36
36
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
37
37
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
38
38
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -40,23 +40,23 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
40
40
  export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
41
41
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
42
42
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
43
- export { Q as QmdClient } from './qmd-DCKeR-GX.js';
43
+ export { Q as QmdClient } from './qmd-q-cAzYuC.js';
44
44
  export { LanceDbBackend } from './search/lancedb-backend.js';
45
45
  export { OramaBackend } from './search/orama-backend.js';
46
46
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
47
47
  export { buildEntityRecallSection } from './entity-retrieval.js';
48
48
  export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
49
- export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-CCzmf8IH.js';
49
+ export { a as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, N as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-C0KIwZqR.js';
50
50
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
51
51
  export { storagePathHash } from './storage-paths.js';
52
52
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
53
- export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-D0tV7eeU.js';
53
+ export { A as AuditMemoryReport, B as BulkImportCliCommandOptions, a as auditMemoryStore, f as formatAuditMemoryReport, p as parseStrictCliDate, r as runAuditMemoryCliCommand, b as runBulkImportCliCommand } from './cli-xoJTOdMQ.js';
54
54
  export { EngramAccessHttpServer, RemnicAdminConfigPatch, RemnicAdminControls, RemnicAdminDashboardStatus, RemnicAdminFeatureStatus, RemnicAdminHarnessStatus, RemnicAdminModelOption } from './access-http.js';
55
55
  export { EngramMcpServer } from './access-mcp.js';
56
56
  import { BoundOperation } from './access-boundary.js';
57
57
  export { OPERATION_NAMES, OperationName } from './access-boundary.js';
58
58
  export { CreateStoredGrantInput, DEFAULT_SUPPORT_PASSPORT_CONFIG, SUPPORT_PASSPORT_ATTRIBUTE_KEYS, SUPPORT_PASSPORT_AUDIT_TAG, SUPPORT_PASSPORT_CARD_TAG, SUPPORT_PASSPORT_MODEL_ACK_PATH, SUPPORT_PASSPORT_MODEL_JOB_PATH, SUPPORT_PASSPORT_MODEL_RESULT_PATH, StoredSupportPassportCard, SupportPassportCardService, SupportPassportDraftService, SupportPassportDraftServiceDependencies, SupportPassportGrantMutationHooks, SupportPassportGrantService, SupportPassportGrantServiceDependencies, SupportPassportGrantStore, SupportPassportGrantStoreOptions, SupportPassportModelBridge, SupportPassportModelBridgeOptions, SupportPassportModelJob, SupportPassportQuestionService, SupportPassportQuestionServiceDependencies, activeSupportPassportReplacementPredecessorIds, computeSupportPassportOwnerKey, computeSupportPassportSourceRevision, createSupportPassportPrivateFileExclusion, decodeSupportPassportNamespaceAttributes, encodeSupportPassportNamespaceAttributes, excludeSupportPassportPrivateMemories, hasLiveSupportPassportCard, isSupportPassportPrivateMemory, isSupportPassportSourceEligible, notifySupportPassportCommitted, parseSupportPassportConfig, parseSupportPassportModelJob, projectSupportPassportCard, syncDirectoryForDurability } from './support-passport/index.js';
59
- export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-BtjiyKah.js';
59
+ export { a as SUPPORT_PASSPORT_PUBLIC_HTTP_ROUTES, S as SupportPassportExternalRequestHandler, b as SupportPassportPublicHandlerOptions, c as buildSupportPassportPublicRequestHandler, d as composeSupportPassportExternalRequestHandlers, n as normalizeSupportPassportNetworkAddress } from './public-http-DR3sHfwk.js';
60
60
  import { z } from 'zod';
61
61
  export { ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken } from './resolve-auth-token.js';
62
62
  export { CuriosityQuestion, MEMORY_CONTEXT_HEADER, MEMORY_CONTEXT_INSTRUCTION, RECALL_CONTEXT_SEPARATOR, RecallAuthorityRenderOptions, RecallContextComposition, RenderMemoryContextPromptInput, RenderedMemoryContextPrompt, boundRecallContextComposition, composeRecallContext, contextBudgetForFooter, formatCuriosityFooter, renderAuthorityBoundContent, renderMemoryContextPrompt, selectCuriosityQuestion } from './recall-context-composition.js';
@@ -80,8 +80,8 @@ export { initLogger, log } from './logger.js';
80
80
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
81
81
  export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
82
82
  export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_MAX_MTIME_MS, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncDeletionRevision, OfflineSyncFileContentChunk, OfflineSyncFileDeleteTarget, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileWriteTarget, OfflineSyncRecordDeletionRevision, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, filterOfflineSyncDeletionRevisions, globToRegExp, isInternalRemnicStatePath, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
83
- import { D as DiscoveredExtension } from './semantic-consolidation-DT2VSrU0.js';
84
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DT2VSrU0.js';
83
+ import { D as DiscoveredExtension } from './semantic-consolidation-BZ6J46j-.js';
84
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-BZ6J46j-.js';
85
85
  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';
86
86
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
87
87
  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';
@@ -96,11 +96,11 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
96
96
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
97
97
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
98
98
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
99
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-X606GdRJ.js';
100
- 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-BMo-gwDE.js';
101
- 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-BMo-gwDE.js';
102
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-CaqA4z7V.js';
103
- 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-CaqA4z7V.js';
99
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-CW_Q4WvX.js';
100
+ 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-CCl4iyyY.js';
101
+ 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-CCl4iyyY.js';
102
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-BNq31xpo.js';
103
+ 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-BNq31xpo.js';
104
104
  import { SearchExecutionOptions } from './search/port.js';
105
105
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
106
106
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
@@ -118,7 +118,7 @@ export { P as PEERS_DIR_NAME, a as appendInteractionLog, b as assertValidPeerId,
118
118
  import { ImportCapsuleResult } from './transfer/capsule-import.js';
119
119
  import { ExportManifestV2, CapsuleParent } from './transfer/types.js';
120
120
  export { CODING_GRAPH_ENGINE_VERSION, CodingGraphEngine, CodingGraphErrorCode, CodingGraphLanguage, CreateCodingGraphEngineOptions, FileIR, ParseFileInput, ParseResult, SymbolIR, TIER_1_LANGUAGES } from './coding/coding-graph-types.js';
121
- export { R as ResolvedScopeProfilePlan } from './scope-profiles-_Y_RHCeE.js';
121
+ export { R as ResolvedScopeProfilePlan } from './scope-profiles-CIr4mXgp.js';
122
122
  export { commitPreparedFileAtomically, copyExistingFileToBackup, writeFileAtomically } from './maintenance/atomic-file.js';
123
123
  export { ContinuityImprovementLoop } from './types-continuity.js';
124
124
  export { EngramAccessInputError } from './access-errors.js';
@@ -169,7 +169,7 @@ import './conversation-index/chunker.js';
169
169
  import './conversation-index/backend.js';
170
170
  import './faiss-adapter-BHecI1fF.js';
171
171
  import './runtime/child-process.js';
172
- import './dependency-propagation-delivery-DiY5T63p.js';
172
+ import './dependency-propagation-delivery-Cph4PnBe.js';
173
173
  import './namespaces/storage.js';
174
174
  import './threading.js';
175
175
  import './graph-444E-DrF.js';
@@ -189,7 +189,7 @@ import './policy-runtime.js';
189
189
  import './profiling.js';
190
190
  import './schemas.js';
191
191
  import './extraction-error-classification.js';
192
- import './access-namespace-preflight-DB0zXFek.js';
192
+ import './access-namespace-preflight-CrF0FKaz.js';
193
193
  import './recall-explain-renderer.js';
194
194
  import './access-citation.js';
195
195
  import './access-health-types.js';
@@ -952,15 +952,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
952
952
  locator: z.ZodOptional<z.ZodString>;
953
953
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
954
954
  }, "strict", z.ZodTypeAny, {
955
- id: string;
955
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
956
956
  label: string;
957
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
957
+ id: string;
958
958
  capture: "at_action" | "historical_lookup" | "fixture";
959
959
  locator?: string | undefined;
960
960
  }, {
961
- id: string;
961
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
962
962
  label: string;
963
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
963
+ id: string;
964
964
  capture: "at_action" | "historical_lookup" | "fixture";
965
965
  locator?: string | undefined;
966
966
  }>;
@@ -977,15 +977,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
977
977
  locator: z.ZodOptional<z.ZodString>;
978
978
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
979
979
  }, "strict", z.ZodTypeAny, {
980
- id: string;
980
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
981
981
  label: string;
982
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
982
+ id: string;
983
983
  capture: "at_action" | "historical_lookup" | "fixture";
984
984
  locator?: string | undefined;
985
985
  }, {
986
- id: string;
986
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
987
987
  label: string;
988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
988
+ id: string;
989
989
  capture: "at_action" | "historical_lookup" | "fixture";
990
990
  locator?: string | undefined;
991
991
  }>, "many">>;
@@ -993,9 +993,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
993
993
  kind: "mission_started";
994
994
  title: string;
995
995
  evidence: {
996
- id: string;
996
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
997
997
  label: string;
998
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
998
+ id: string;
999
999
  capture: "at_action" | "historical_lookup" | "fixture";
1000
1000
  locator?: string | undefined;
1001
1001
  }[];
@@ -1007,9 +1007,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1007
1007
  objective: string;
1008
1008
  runMode: "replay" | "fixture" | "live";
1009
1009
  evidence?: {
1010
- id: string;
1010
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1011
1011
  label: string;
1012
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1012
+ id: string;
1013
1013
  capture: "at_action" | "historical_lookup" | "fixture";
1014
1014
  locator?: string | undefined;
1015
1015
  }[] | undefined;
@@ -1025,15 +1025,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1025
1025
  locator: z.ZodOptional<z.ZodString>;
1026
1026
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1027
1027
  }, "strict", z.ZodTypeAny, {
1028
- id: string;
1028
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1029
1029
  label: string;
1030
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1030
+ id: string;
1031
1031
  capture: "at_action" | "historical_lookup" | "fixture";
1032
1032
  locator?: string | undefined;
1033
1033
  }, {
1034
- id: string;
1034
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1035
1035
  label: string;
1036
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1036
+ id: string;
1037
1037
  capture: "at_action" | "historical_lookup" | "fixture";
1038
1038
  locator?: string | undefined;
1039
1039
  }>, "many">>;
@@ -1041,32 +1041,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1041
1041
  sessionId: z.ZodString;
1042
1042
  kind: z.ZodLiteral<"agent_status">;
1043
1043
  }, "strict", z.ZodTypeAny, {
1044
- label: string;
1045
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1046
1044
  kind: "agent_status";
1045
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1046
+ label: string;
1047
1047
  role: string;
1048
1048
  agentId: string;
1049
1049
  sessionId: string;
1050
1050
  evidence: {
1051
- id: string;
1051
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1052
1052
  label: string;
1053
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1053
+ id: string;
1054
1054
  capture: "at_action" | "historical_lookup" | "fixture";
1055
1055
  locator?: string | undefined;
1056
1056
  }[];
1057
1057
  detail?: string | undefined;
1058
1058
  }, {
1059
- label: string;
1060
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1061
1059
  kind: "agent_status";
1060
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1061
+ label: string;
1062
1062
  role: string;
1063
1063
  agentId: string;
1064
1064
  sessionId: string;
1065
1065
  detail?: string | undefined;
1066
1066
  evidence?: {
1067
- id: string;
1067
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1068
1068
  label: string;
1069
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1069
+ id: string;
1070
1070
  capture: "at_action" | "historical_lookup" | "fixture";
1071
1071
  locator?: string | undefined;
1072
1072
  }[] | undefined;
@@ -1080,15 +1080,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1080
1080
  locator: z.ZodOptional<z.ZodString>;
1081
1081
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1082
1082
  }, "strict", z.ZodTypeAny, {
1083
- id: string;
1083
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1084
1084
  label: string;
1085
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1085
+ id: string;
1086
1086
  capture: "at_action" | "historical_lookup" | "fixture";
1087
1087
  locator?: string | undefined;
1088
1088
  }, {
1089
- id: string;
1089
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1090
1090
  label: string;
1091
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1091
+ id: string;
1092
1092
  capture: "at_action" | "historical_lookup" | "fixture";
1093
1093
  locator?: string | undefined;
1094
1094
  }>, "many">>;
@@ -1096,28 +1096,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1096
1096
  sessionId: z.ZodString;
1097
1097
  kind: z.ZodLiteral<"agent_output">;
1098
1098
  }, "strict", z.ZodTypeAny, {
1099
- summary: string;
1100
1099
  kind: "agent_output";
1100
+ summary: string;
1101
1101
  agentId: string;
1102
1102
  sessionId: string;
1103
1103
  evidence: {
1104
- id: string;
1104
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1105
1105
  label: string;
1106
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1106
+ id: string;
1107
1107
  capture: "at_action" | "historical_lookup" | "fixture";
1108
1108
  locator?: string | undefined;
1109
1109
  }[];
1110
1110
  outputId: string;
1111
1111
  }, {
1112
- summary: string;
1113
1112
  kind: "agent_output";
1113
+ summary: string;
1114
1114
  agentId: string;
1115
1115
  sessionId: string;
1116
1116
  outputId: string;
1117
1117
  evidence?: {
1118
- id: string;
1118
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1119
1119
  label: string;
1120
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1120
+ id: string;
1121
1121
  capture: "at_action" | "historical_lookup" | "fixture";
1122
1122
  locator?: string | undefined;
1123
1123
  }[] | undefined;
@@ -1133,15 +1133,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1133
1133
  locator: z.ZodOptional<z.ZodString>;
1134
1134
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1135
1135
  }, "strict", z.ZodTypeAny, {
1136
- id: string;
1136
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1137
1137
  label: string;
1138
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1138
+ id: string;
1139
1139
  capture: "at_action" | "historical_lookup" | "fixture";
1140
1140
  locator?: string | undefined;
1141
1141
  }, {
1142
- id: string;
1142
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1143
1143
  label: string;
1144
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1144
+ id: string;
1145
1145
  capture: "at_action" | "historical_lookup" | "fixture";
1146
1146
  locator?: string | undefined;
1147
1147
  }>, "many">>;
@@ -1154,9 +1154,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1154
1154
  statement: string;
1155
1155
  sessionId: string;
1156
1156
  evidence: {
1157
- id: string;
1157
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1158
1158
  label: string;
1159
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1159
+ id: string;
1160
1160
  capture: "at_action" | "historical_lookup" | "fixture";
1161
1161
  locator?: string | undefined;
1162
1162
  }[];
@@ -1172,9 +1172,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1172
1172
  decisionId: string;
1173
1173
  confidence?: number | undefined;
1174
1174
  evidence?: {
1175
- id: string;
1175
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1176
1176
  label: string;
1177
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1177
+ id: string;
1178
1178
  capture: "at_action" | "historical_lookup" | "fixture";
1179
1179
  locator?: string | undefined;
1180
1180
  }[] | undefined;
@@ -1191,25 +1191,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1191
1191
  locator: z.ZodOptional<z.ZodString>;
1192
1192
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1193
1193
  }, "strict", z.ZodTypeAny, {
1194
- id: string;
1194
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1195
1195
  label: string;
1196
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1196
+ id: string;
1197
1197
  capture: "at_action" | "historical_lookup" | "fixture";
1198
1198
  locator?: string | undefined;
1199
1199
  }, {
1200
- id: string;
1200
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1201
1201
  label: string;
1202
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1202
+ id: string;
1203
1203
  capture: "at_action" | "historical_lookup" | "fixture";
1204
1204
  locator?: string | undefined;
1205
1205
  }>, "many">>;
1206
1206
  }, "strict", z.ZodTypeAny, {
1207
- summary: string;
1208
1207
  kind: "conflict_detected";
1208
+ summary: string;
1209
1209
  evidence: {
1210
- id: string;
1210
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1211
1211
  label: string;
1212
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1212
+ id: string;
1213
1213
  capture: "at_action" | "historical_lookup" | "fixture";
1214
1214
  locator?: string | undefined;
1215
1215
  }[];
@@ -1217,15 +1217,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1217
1217
  decisionIds: string[];
1218
1218
  agentIds: string[];
1219
1219
  }, {
1220
- summary: string;
1221
1220
  kind: "conflict_detected";
1221
+ summary: string;
1222
1222
  conflictId: string;
1223
1223
  decisionIds: string[];
1224
1224
  agentIds: string[];
1225
1225
  evidence?: {
1226
- id: string;
1226
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1227
1227
  label: string;
1228
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1228
+ id: string;
1229
1229
  capture: "at_action" | "historical_lookup" | "fixture";
1230
1230
  locator?: string | undefined;
1231
1231
  }[] | undefined;
@@ -1245,27 +1245,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1245
1245
  locator: z.ZodOptional<z.ZodString>;
1246
1246
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1247
1247
  }, "strict", z.ZodTypeAny, {
1248
- id: string;
1248
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1249
1249
  label: string;
1250
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1250
+ id: string;
1251
1251
  capture: "at_action" | "historical_lookup" | "fixture";
1252
1252
  locator?: string | undefined;
1253
1253
  }, {
1254
- id: string;
1254
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1255
1255
  label: string;
1256
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1256
+ id: string;
1257
1257
  capture: "at_action" | "historical_lookup" | "fixture";
1258
1258
  locator?: string | undefined;
1259
1259
  }>, "many">>;
1260
1260
  }, "strict", z.ZodTypeAny, {
1261
+ kind: "test_result";
1261
1262
  summary: string;
1262
1263
  status: "error" | "failed" | "passed";
1263
- kind: "test_result";
1264
1264
  command: string;
1265
1265
  evidence: {
1266
- id: string;
1266
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1267
1267
  label: string;
1268
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1268
+ id: string;
1269
1269
  capture: "at_action" | "historical_lookup" | "fixture";
1270
1270
  locator?: string | undefined;
1271
1271
  }[];
@@ -1274,17 +1274,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1274
1274
  durationMs?: number | undefined;
1275
1275
  correctionId?: string | undefined;
1276
1276
  }, {
1277
+ kind: "test_result";
1277
1278
  summary: string;
1278
1279
  status: "error" | "failed" | "passed";
1279
- kind: "test_result";
1280
1280
  command: string;
1281
1281
  decisionId: string;
1282
1282
  testId: string;
1283
1283
  durationMs?: number | undefined;
1284
1284
  evidence?: {
1285
- id: string;
1285
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1286
1286
  label: string;
1287
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1287
+ id: string;
1288
1288
  capture: "at_action" | "historical_lookup" | "fixture";
1289
1289
  locator?: string | undefined;
1290
1290
  }[] | undefined;
@@ -1305,15 +1305,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1305
1305
  locator: z.ZodOptional<z.ZodString>;
1306
1306
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1307
1307
  }, "strict", z.ZodTypeAny, {
1308
- id: string;
1308
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1309
1309
  label: string;
1310
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1310
+ id: string;
1311
1311
  capture: "at_action" | "historical_lookup" | "fixture";
1312
1312
  locator?: string | undefined;
1313
1313
  }, {
1314
- id: string;
1314
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1315
1315
  label: string;
1316
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1316
+ id: string;
1317
1317
  capture: "at_action" | "historical_lookup" | "fixture";
1318
1318
  locator?: string | undefined;
1319
1319
  }>, "many">>;
@@ -1322,9 +1322,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1322
1322
  statement: string;
1323
1323
  rationale: string;
1324
1324
  evidence: {
1325
- id: string;
1325
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1326
1326
  label: string;
1327
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1327
+ id: string;
1328
1328
  capture: "at_action" | "historical_lookup" | "fixture";
1329
1329
  locator?: string | undefined;
1330
1330
  }[];
@@ -1343,9 +1343,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1343
1343
  supersedesDecisionIds: string[];
1344
1344
  proposedBy: string;
1345
1345
  evidence?: {
1346
- id: string;
1346
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1347
1347
  label: string;
1348
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1348
+ id: string;
1349
1349
  capture: "at_action" | "historical_lookup" | "fixture";
1350
1350
  locator?: string | undefined;
1351
1351
  }[] | undefined;
@@ -1357,13 +1357,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1357
1357
  id: z.ZodString;
1358
1358
  label: z.ZodString;
1359
1359
  }, "strict", z.ZodTypeAny, {
1360
- id: string;
1361
- label: string;
1362
1360
  kind: "agent" | "human";
1363
- }, {
1364
- id: string;
1365
1361
  label: string;
1362
+ id: string;
1363
+ }, {
1366
1364
  kind: "agent" | "human";
1365
+ label: string;
1366
+ id: string;
1367
1367
  }>;
1368
1368
  note: z.ZodOptional<z.ZodString>;
1369
1369
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1373,47 +1373,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1373
1373
  locator: z.ZodOptional<z.ZodString>;
1374
1374
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1375
1375
  }, "strict", z.ZodTypeAny, {
1376
- id: string;
1376
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1377
1377
  label: string;
1378
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1378
+ id: string;
1379
1379
  capture: "at_action" | "historical_lookup" | "fixture";
1380
1380
  locator?: string | undefined;
1381
1381
  }, {
1382
- id: string;
1382
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1383
1383
  label: string;
1384
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1384
+ id: string;
1385
1385
  capture: "at_action" | "historical_lookup" | "fixture";
1386
1386
  locator?: string | undefined;
1387
1387
  }>, "many">>;
1388
1388
  }, "strict", z.ZodTypeAny, {
1389
1389
  kind: "correction_approved";
1390
1390
  evidence: {
1391
- id: string;
1391
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1392
1392
  label: string;
1393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1393
+ id: string;
1394
1394
  capture: "at_action" | "historical_lookup" | "fixture";
1395
1395
  locator?: string | undefined;
1396
1396
  }[];
1397
1397
  correctionId: string;
1398
1398
  approvedBy: {
1399
- id: string;
1400
- label: string;
1401
1399
  kind: "agent" | "human";
1400
+ label: string;
1401
+ id: string;
1402
1402
  };
1403
1403
  note?: string | undefined;
1404
1404
  }, {
1405
1405
  kind: "correction_approved";
1406
1406
  correctionId: string;
1407
1407
  approvedBy: {
1408
- id: string;
1409
- label: string;
1410
1408
  kind: "agent" | "human";
1409
+ label: string;
1410
+ id: string;
1411
1411
  };
1412
1412
  note?: string | undefined;
1413
1413
  evidence?: {
1414
- id: string;
1414
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1415
1415
  label: string;
1416
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1416
+ id: string;
1417
1417
  capture: "at_action" | "historical_lookup" | "fixture";
1418
1418
  locator?: string | undefined;
1419
1419
  }[] | undefined;
@@ -1429,24 +1429,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1429
1429
  locator: z.ZodOptional<z.ZodString>;
1430
1430
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1431
1431
  }, "strict", z.ZodTypeAny, {
1432
- id: string;
1432
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1433
1433
  label: string;
1434
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1434
+ id: string;
1435
1435
  capture: "at_action" | "historical_lookup" | "fixture";
1436
1436
  locator?: string | undefined;
1437
1437
  }, {
1438
- id: string;
1438
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1439
1439
  label: string;
1440
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1440
+ id: string;
1441
1441
  capture: "at_action" | "historical_lookup" | "fixture";
1442
1442
  locator?: string | undefined;
1443
1443
  }>, "many">>;
1444
1444
  }, "strict", z.ZodTypeAny, {
1445
1445
  kind: "decision_superseded";
1446
1446
  evidence: {
1447
- id: string;
1447
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1448
1448
  label: string;
1449
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1449
+ id: string;
1450
1450
  capture: "at_action" | "historical_lookup" | "fixture";
1451
1451
  locator?: string | undefined;
1452
1452
  }[];
@@ -1459,9 +1459,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1459
1459
  correctionId: string;
1460
1460
  replacementDecisionId: string;
1461
1461
  evidence?: {
1462
- id: string;
1462
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1463
1463
  label: string;
1464
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1464
+ id: string;
1465
1465
  capture: "at_action" | "historical_lookup" | "fixture";
1466
1466
  locator?: string | undefined;
1467
1467
  }[] | undefined;
@@ -1477,15 +1477,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1477
1477
  locator: z.ZodOptional<z.ZodString>;
1478
1478
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1479
1479
  }, "strict", z.ZodTypeAny, {
1480
- id: string;
1480
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1481
1481
  label: string;
1482
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1482
+ id: string;
1483
1483
  capture: "at_action" | "historical_lookup" | "fixture";
1484
1484
  locator?: string | undefined;
1485
1485
  }, {
1486
- id: string;
1486
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1487
1487
  label: string;
1488
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1488
+ id: string;
1489
1489
  capture: "at_action" | "historical_lookup" | "fixture";
1490
1490
  locator?: string | undefined;
1491
1491
  }>, "many">>;
@@ -1498,9 +1498,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1498
1498
  agentId: string;
1499
1499
  sessionId: string;
1500
1500
  evidence: {
1501
- id: string;
1501
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1502
1502
  label: string;
1503
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1503
+ id: string;
1504
1504
  capture: "at_action" | "historical_lookup" | "fixture";
1505
1505
  locator?: string | undefined;
1506
1506
  }[];
@@ -1516,9 +1516,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1516
1516
  recallReceiptId: string;
1517
1517
  capturedAtAction: boolean;
1518
1518
  evidence?: {
1519
- id: string;
1519
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1520
1520
  label: string;
1521
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1521
+ id: string;
1522
1522
  capture: "at_action" | "historical_lookup" | "fixture";
1523
1523
  locator?: string | undefined;
1524
1524
  }[] | undefined;
@@ -1534,15 +1534,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1534
1534
  locator: z.ZodOptional<z.ZodString>;
1535
1535
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1536
1536
  }, "strict", z.ZodTypeAny, {
1537
- id: string;
1537
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1538
1538
  label: string;
1539
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1539
+ id: string;
1540
1540
  capture: "at_action" | "historical_lookup" | "fixture";
1541
1541
  locator?: string | undefined;
1542
1542
  }, {
1543
- id: string;
1543
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1544
1544
  label: string;
1545
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1545
+ id: string;
1546
1546
  capture: "at_action" | "historical_lookup" | "fixture";
1547
1547
  locator?: string | undefined;
1548
1548
  }>, "many">>;
@@ -1554,9 +1554,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1554
1554
  agentId: string;
1555
1555
  sessionId: string;
1556
1556
  evidence: {
1557
- id: string;
1557
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1558
1558
  label: string;
1559
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1559
+ id: string;
1560
1560
  capture: "at_action" | "historical_lookup" | "fixture";
1561
1561
  locator?: string | undefined;
1562
1562
  }[];
@@ -1573,9 +1573,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1573
1573
  recallReceiptId: string;
1574
1574
  staleDecisionAbsent: boolean;
1575
1575
  evidence?: {
1576
- id: string;
1576
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1577
1577
  label: string;
1578
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1578
+ id: string;
1579
1579
  capture: "at_action" | "historical_lookup" | "fixture";
1580
1580
  locator?: string | undefined;
1581
1581
  }[] | undefined;
@@ -1590,37 +1590,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1590
1590
  locator: z.ZodOptional<z.ZodString>;
1591
1591
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1592
1592
  }, "strict", z.ZodTypeAny, {
1593
- id: string;
1593
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1594
1594
  label: string;
1595
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1595
+ id: string;
1596
1596
  capture: "at_action" | "historical_lookup" | "fixture";
1597
1597
  locator?: string | undefined;
1598
1598
  }, {
1599
- id: string;
1599
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1600
1600
  label: string;
1601
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1601
+ id: string;
1602
1602
  capture: "at_action" | "historical_lookup" | "fixture";
1603
1603
  locator?: string | undefined;
1604
1604
  }>, "many">>;
1605
1605
  }, "strict", z.ZodTypeAny, {
1606
- summary: string;
1607
1606
  kind: "mission_completed";
1607
+ summary: string;
1608
1608
  outcome: "failed" | "recovered" | "inconclusive";
1609
1609
  evidence: {
1610
- id: string;
1610
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
1611
  label: string;
1612
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1612
+ id: string;
1613
1613
  capture: "at_action" | "historical_lookup" | "fixture";
1614
1614
  locator?: string | undefined;
1615
1615
  }[];
1616
1616
  }, {
1617
- summary: string;
1618
1617
  kind: "mission_completed";
1618
+ summary: string;
1619
1619
  outcome: "failed" | "recovered" | "inconclusive";
1620
1620
  evidence?: {
1621
- id: string;
1621
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1622
1622
  label: string;
1623
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1623
+ id: string;
1624
1624
  capture: "at_action" | "historical_lookup" | "fixture";
1625
1625
  locator?: string | undefined;
1626
1626
  }[] | undefined;
@@ -1628,38 +1628,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1628
1628
  kind: "mission_started";
1629
1629
  title: string;
1630
1630
  evidence: {
1631
- id: string;
1631
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1632
1632
  label: string;
1633
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1633
+ id: string;
1634
1634
  capture: "at_action" | "historical_lookup" | "fixture";
1635
1635
  locator?: string | undefined;
1636
1636
  }[];
1637
1637
  objective: string;
1638
1638
  runMode: "replay" | "fixture" | "live";
1639
1639
  } | {
1640
- label: string;
1641
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1642
1640
  kind: "agent_status";
1641
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1642
+ label: string;
1643
1643
  role: string;
1644
1644
  agentId: string;
1645
1645
  sessionId: string;
1646
1646
  evidence: {
1647
- id: string;
1647
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1648
1648
  label: string;
1649
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1649
+ id: string;
1650
1650
  capture: "at_action" | "historical_lookup" | "fixture";
1651
1651
  locator?: string | undefined;
1652
1652
  }[];
1653
1653
  detail?: string | undefined;
1654
1654
  } | {
1655
- summary: string;
1656
1655
  kind: "agent_output";
1656
+ summary: string;
1657
1657
  agentId: string;
1658
1658
  sessionId: string;
1659
1659
  evidence: {
1660
- id: string;
1660
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1661
1661
  label: string;
1662
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
+ id: string;
1663
1663
  capture: "at_action" | "historical_lookup" | "fixture";
1664
1664
  locator?: string | undefined;
1665
1665
  }[];
@@ -1670,9 +1670,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1670
1670
  statement: string;
1671
1671
  sessionId: string;
1672
1672
  evidence: {
1673
- id: string;
1673
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1674
1674
  label: string;
1675
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1675
+ id: string;
1676
1676
  capture: "at_action" | "historical_lookup" | "fixture";
1677
1677
  locator?: string | undefined;
1678
1678
  }[];
@@ -1680,12 +1680,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1680
1680
  decisionId: string;
1681
1681
  confidence?: number | undefined;
1682
1682
  } | {
1683
- summary: string;
1684
1683
  kind: "conflict_detected";
1684
+ summary: string;
1685
1685
  evidence: {
1686
- id: string;
1686
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1687
1687
  label: string;
1688
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1688
+ id: string;
1689
1689
  capture: "at_action" | "historical_lookup" | "fixture";
1690
1690
  locator?: string | undefined;
1691
1691
  }[];
@@ -1693,14 +1693,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1693
1693
  decisionIds: string[];
1694
1694
  agentIds: string[];
1695
1695
  } | {
1696
+ kind: "test_result";
1696
1697
  summary: string;
1697
1698
  status: "error" | "failed" | "passed";
1698
- kind: "test_result";
1699
1699
  command: string;
1700
1700
  evidence: {
1701
- id: string;
1701
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1702
1702
  label: string;
1703
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1703
+ id: string;
1704
1704
  capture: "at_action" | "historical_lookup" | "fixture";
1705
1705
  locator?: string | undefined;
1706
1706
  }[];
@@ -1713,9 +1713,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1713
1713
  statement: string;
1714
1714
  rationale: string;
1715
1715
  evidence: {
1716
- id: string;
1716
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1717
1717
  label: string;
1718
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
+ id: string;
1719
1719
  capture: "at_action" | "historical_lookup" | "fixture";
1720
1720
  locator?: string | undefined;
1721
1721
  }[];
@@ -1727,25 +1727,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1727
1727
  } | {
1728
1728
  kind: "correction_approved";
1729
1729
  evidence: {
1730
- id: string;
1730
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
1731
  label: string;
1732
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1732
+ id: string;
1733
1733
  capture: "at_action" | "historical_lookup" | "fixture";
1734
1734
  locator?: string | undefined;
1735
1735
  }[];
1736
1736
  correctionId: string;
1737
1737
  approvedBy: {
1738
- id: string;
1739
- label: string;
1740
1738
  kind: "agent" | "human";
1739
+ label: string;
1740
+ id: string;
1741
1741
  };
1742
1742
  note?: string | undefined;
1743
1743
  } | {
1744
1744
  kind: "decision_superseded";
1745
1745
  evidence: {
1746
- id: string;
1746
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1747
1747
  label: string;
1748
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1748
+ id: string;
1749
1749
  capture: "at_action" | "historical_lookup" | "fixture";
1750
1750
  locator?: string | undefined;
1751
1751
  }[];
@@ -1758,9 +1758,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1758
1758
  agentId: string;
1759
1759
  sessionId: string;
1760
1760
  evidence: {
1761
- id: string;
1761
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1762
1762
  label: string;
1763
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1763
+ id: string;
1764
1764
  capture: "at_action" | "historical_lookup" | "fixture";
1765
1765
  locator?: string | undefined;
1766
1766
  }[];
@@ -1772,9 +1772,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1772
1772
  agentId: string;
1773
1773
  sessionId: string;
1774
1774
  evidence: {
1775
- id: string;
1775
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1776
1776
  label: string;
1777
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1777
+ id: string;
1778
1778
  capture: "at_action" | "historical_lookup" | "fixture";
1779
1779
  locator?: string | undefined;
1780
1780
  }[];
@@ -1783,13 +1783,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1783
1783
  recallReceiptId: string;
1784
1784
  staleDecisionAbsent: boolean;
1785
1785
  } | {
1786
- summary: string;
1787
1786
  kind: "mission_completed";
1787
+ summary: string;
1788
1788
  outcome: "failed" | "recovered" | "inconclusive";
1789
1789
  evidence: {
1790
- id: string;
1790
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1791
1791
  label: string;
1792
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1792
+ id: string;
1793
1793
  capture: "at_action" | "historical_lookup" | "fixture";
1794
1794
  locator?: string | undefined;
1795
1795
  }[];
@@ -1799,37 +1799,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1799
1799
  objective: string;
1800
1800
  runMode: "replay" | "fixture" | "live";
1801
1801
  evidence?: {
1802
- id: string;
1802
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1803
1803
  label: string;
1804
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1804
+ id: string;
1805
1805
  capture: "at_action" | "historical_lookup" | "fixture";
1806
1806
  locator?: string | undefined;
1807
1807
  }[] | undefined;
1808
1808
  } | {
1809
- label: string;
1810
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1811
1809
  kind: "agent_status";
1810
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1811
+ label: string;
1812
1812
  role: string;
1813
1813
  agentId: string;
1814
1814
  sessionId: string;
1815
1815
  detail?: string | undefined;
1816
1816
  evidence?: {
1817
- id: string;
1817
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1818
1818
  label: string;
1819
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1819
+ id: string;
1820
1820
  capture: "at_action" | "historical_lookup" | "fixture";
1821
1821
  locator?: string | undefined;
1822
1822
  }[] | undefined;
1823
1823
  } | {
1824
- summary: string;
1825
1824
  kind: "agent_output";
1825
+ summary: string;
1826
1826
  agentId: string;
1827
1827
  sessionId: string;
1828
1828
  outputId: string;
1829
1829
  evidence?: {
1830
- id: string;
1830
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1831
1831
  label: string;
1832
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1832
+ id: string;
1833
1833
  capture: "at_action" | "historical_lookup" | "fixture";
1834
1834
  locator?: string | undefined;
1835
1835
  }[] | undefined;
@@ -1842,37 +1842,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1842
1842
  decisionId: string;
1843
1843
  confidence?: number | undefined;
1844
1844
  evidence?: {
1845
- id: string;
1845
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1846
1846
  label: string;
1847
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1847
+ id: string;
1848
1848
  capture: "at_action" | "historical_lookup" | "fixture";
1849
1849
  locator?: string | undefined;
1850
1850
  }[] | undefined;
1851
1851
  } | {
1852
- summary: string;
1853
1852
  kind: "conflict_detected";
1853
+ summary: string;
1854
1854
  conflictId: string;
1855
1855
  decisionIds: string[];
1856
1856
  agentIds: string[];
1857
1857
  evidence?: {
1858
- id: string;
1858
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1859
1859
  label: string;
1860
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1860
+ id: string;
1861
1861
  capture: "at_action" | "historical_lookup" | "fixture";
1862
1862
  locator?: string | undefined;
1863
1863
  }[] | undefined;
1864
1864
  } | {
1865
+ kind: "test_result";
1865
1866
  summary: string;
1866
1867
  status: "error" | "failed" | "passed";
1867
- kind: "test_result";
1868
1868
  command: string;
1869
1869
  decisionId: string;
1870
1870
  testId: string;
1871
1871
  durationMs?: number | undefined;
1872
1872
  evidence?: {
1873
- id: string;
1873
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1874
1874
  label: string;
1875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1875
+ id: string;
1876
1876
  capture: "at_action" | "historical_lookup" | "fixture";
1877
1877
  locator?: string | undefined;
1878
1878
  }[] | undefined;
@@ -1887,9 +1887,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1887
1887
  supersedesDecisionIds: string[];
1888
1888
  proposedBy: string;
1889
1889
  evidence?: {
1890
- id: string;
1890
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1891
1891
  label: string;
1892
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1892
+ id: string;
1893
1893
  capture: "at_action" | "historical_lookup" | "fixture";
1894
1894
  locator?: string | undefined;
1895
1895
  }[] | undefined;
@@ -1897,15 +1897,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1897
1897
  kind: "correction_approved";
1898
1898
  correctionId: string;
1899
1899
  approvedBy: {
1900
- id: string;
1901
- label: string;
1902
1900
  kind: "agent" | "human";
1901
+ label: string;
1902
+ id: string;
1903
1903
  };
1904
1904
  note?: string | undefined;
1905
1905
  evidence?: {
1906
- id: string;
1906
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
1907
  label: string;
1908
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1908
+ id: string;
1909
1909
  capture: "at_action" | "historical_lookup" | "fixture";
1910
1910
  locator?: string | undefined;
1911
1911
  }[] | undefined;
@@ -1915,9 +1915,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1915
1915
  correctionId: string;
1916
1916
  replacementDecisionId: string;
1917
1917
  evidence?: {
1918
- id: string;
1918
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1919
1919
  label: string;
1920
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1920
+ id: string;
1921
1921
  capture: "at_action" | "historical_lookup" | "fixture";
1922
1922
  locator?: string | undefined;
1923
1923
  }[] | undefined;
@@ -1930,9 +1930,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1930
1930
  recallReceiptId: string;
1931
1931
  capturedAtAction: boolean;
1932
1932
  evidence?: {
1933
- id: string;
1933
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1934
1934
  label: string;
1935
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1935
+ id: string;
1936
1936
  capture: "at_action" | "historical_lookup" | "fixture";
1937
1937
  locator?: string | undefined;
1938
1938
  }[] | undefined;
@@ -1945,20 +1945,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1945
1945
  recallReceiptId: string;
1946
1946
  staleDecisionAbsent: boolean;
1947
1947
  evidence?: {
1948
- id: string;
1948
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1949
1949
  label: string;
1950
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1950
+ id: string;
1951
1951
  capture: "at_action" | "historical_lookup" | "fixture";
1952
1952
  locator?: string | undefined;
1953
1953
  }[] | undefined;
1954
1954
  } | {
1955
- summary: string;
1956
1955
  kind: "mission_completed";
1956
+ summary: string;
1957
1957
  outcome: "failed" | "recovered" | "inconclusive";
1958
1958
  evidence?: {
1959
- id: string;
1959
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1960
1960
  label: string;
1961
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1961
+ id: string;
1962
1962
  capture: "at_action" | "historical_lookup" | "fixture";
1963
1963
  locator?: string | undefined;
1964
1964
  }[] | undefined;
@@ -1979,15 +1979,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1979
1979
  locator: z.ZodOptional<z.ZodString>;
1980
1980
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1981
1981
  }, "strict", z.ZodTypeAny, {
1982
- id: string;
1982
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1983
1983
  label: string;
1984
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1984
+ id: string;
1985
1985
  capture: "at_action" | "historical_lookup" | "fixture";
1986
1986
  locator?: string | undefined;
1987
1987
  }, {
1988
- id: string;
1988
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1989
1989
  label: string;
1990
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1990
+ id: string;
1991
1991
  capture: "at_action" | "historical_lookup" | "fixture";
1992
1992
  locator?: string | undefined;
1993
1993
  }>, "many">>;
@@ -1995,9 +1995,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1995
1995
  kind: "mission_started";
1996
1996
  title: string;
1997
1997
  evidence: {
1998
- id: string;
1998
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1999
1999
  label: string;
2000
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2000
+ id: string;
2001
2001
  capture: "at_action" | "historical_lookup" | "fixture";
2002
2002
  locator?: string | undefined;
2003
2003
  }[];
@@ -2009,9 +2009,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2009
2009
  objective: string;
2010
2010
  runMode: "replay" | "fixture" | "live";
2011
2011
  evidence?: {
2012
- id: string;
2012
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2013
2013
  label: string;
2014
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2014
+ id: string;
2015
2015
  capture: "at_action" | "historical_lookup" | "fixture";
2016
2016
  locator?: string | undefined;
2017
2017
  }[] | undefined;
@@ -2027,15 +2027,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2027
2027
  locator: z.ZodOptional<z.ZodString>;
2028
2028
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2029
2029
  }, "strict", z.ZodTypeAny, {
2030
- id: string;
2030
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2031
2031
  label: string;
2032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2032
+ id: string;
2033
2033
  capture: "at_action" | "historical_lookup" | "fixture";
2034
2034
  locator?: string | undefined;
2035
2035
  }, {
2036
- id: string;
2036
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2037
2037
  label: string;
2038
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2038
+ id: string;
2039
2039
  capture: "at_action" | "historical_lookup" | "fixture";
2040
2040
  locator?: string | undefined;
2041
2041
  }>, "many">>;
@@ -2043,32 +2043,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2043
2043
  sessionId: z.ZodString;
2044
2044
  kind: z.ZodLiteral<"agent_status">;
2045
2045
  }, "strict", z.ZodTypeAny, {
2046
- label: string;
2047
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2048
2046
  kind: "agent_status";
2047
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2048
+ label: string;
2049
2049
  role: string;
2050
2050
  agentId: string;
2051
2051
  sessionId: string;
2052
2052
  evidence: {
2053
- id: string;
2053
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2054
2054
  label: string;
2055
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2055
+ id: string;
2056
2056
  capture: "at_action" | "historical_lookup" | "fixture";
2057
2057
  locator?: string | undefined;
2058
2058
  }[];
2059
2059
  detail?: string | undefined;
2060
2060
  }, {
2061
- label: string;
2062
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2063
2061
  kind: "agent_status";
2062
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2063
+ label: string;
2064
2064
  role: string;
2065
2065
  agentId: string;
2066
2066
  sessionId: string;
2067
2067
  detail?: string | undefined;
2068
2068
  evidence?: {
2069
- id: string;
2069
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2070
2070
  label: string;
2071
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2071
+ id: string;
2072
2072
  capture: "at_action" | "historical_lookup" | "fixture";
2073
2073
  locator?: string | undefined;
2074
2074
  }[] | undefined;
@@ -2082,15 +2082,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2082
2082
  locator: z.ZodOptional<z.ZodString>;
2083
2083
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2084
2084
  }, "strict", z.ZodTypeAny, {
2085
- id: string;
2085
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2086
2086
  label: string;
2087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2087
+ id: string;
2088
2088
  capture: "at_action" | "historical_lookup" | "fixture";
2089
2089
  locator?: string | undefined;
2090
2090
  }, {
2091
- id: string;
2091
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2092
2092
  label: string;
2093
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2093
+ id: string;
2094
2094
  capture: "at_action" | "historical_lookup" | "fixture";
2095
2095
  locator?: string | undefined;
2096
2096
  }>, "many">>;
@@ -2098,28 +2098,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2098
2098
  sessionId: z.ZodString;
2099
2099
  kind: z.ZodLiteral<"agent_output">;
2100
2100
  }, "strict", z.ZodTypeAny, {
2101
- summary: string;
2102
2101
  kind: "agent_output";
2102
+ summary: string;
2103
2103
  agentId: string;
2104
2104
  sessionId: string;
2105
2105
  evidence: {
2106
- id: string;
2106
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2107
2107
  label: string;
2108
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2108
+ id: string;
2109
2109
  capture: "at_action" | "historical_lookup" | "fixture";
2110
2110
  locator?: string | undefined;
2111
2111
  }[];
2112
2112
  outputId: string;
2113
2113
  }, {
2114
- summary: string;
2115
2114
  kind: "agent_output";
2115
+ summary: string;
2116
2116
  agentId: string;
2117
2117
  sessionId: string;
2118
2118
  outputId: string;
2119
2119
  evidence?: {
2120
- id: string;
2120
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2121
2121
  label: string;
2122
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2122
+ id: string;
2123
2123
  capture: "at_action" | "historical_lookup" | "fixture";
2124
2124
  locator?: string | undefined;
2125
2125
  }[] | undefined;
@@ -2135,15 +2135,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2135
2135
  locator: z.ZodOptional<z.ZodString>;
2136
2136
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2137
2137
  }, "strict", z.ZodTypeAny, {
2138
- id: string;
2138
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2139
2139
  label: string;
2140
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2140
+ id: string;
2141
2141
  capture: "at_action" | "historical_lookup" | "fixture";
2142
2142
  locator?: string | undefined;
2143
2143
  }, {
2144
- id: string;
2144
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2145
2145
  label: string;
2146
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2146
+ id: string;
2147
2147
  capture: "at_action" | "historical_lookup" | "fixture";
2148
2148
  locator?: string | undefined;
2149
2149
  }>, "many">>;
@@ -2156,9 +2156,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2156
2156
  statement: string;
2157
2157
  sessionId: string;
2158
2158
  evidence: {
2159
- id: string;
2159
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2160
2160
  label: string;
2161
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2161
+ id: string;
2162
2162
  capture: "at_action" | "historical_lookup" | "fixture";
2163
2163
  locator?: string | undefined;
2164
2164
  }[];
@@ -2174,9 +2174,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2174
2174
  decisionId: string;
2175
2175
  confidence?: number | undefined;
2176
2176
  evidence?: {
2177
- id: string;
2177
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2178
2178
  label: string;
2179
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2179
+ id: string;
2180
2180
  capture: "at_action" | "historical_lookup" | "fixture";
2181
2181
  locator?: string | undefined;
2182
2182
  }[] | undefined;
@@ -2193,25 +2193,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2193
2193
  locator: z.ZodOptional<z.ZodString>;
2194
2194
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2195
2195
  }, "strict", z.ZodTypeAny, {
2196
- id: string;
2196
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2197
2197
  label: string;
2198
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2198
+ id: string;
2199
2199
  capture: "at_action" | "historical_lookup" | "fixture";
2200
2200
  locator?: string | undefined;
2201
2201
  }, {
2202
- id: string;
2202
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2203
2203
  label: string;
2204
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2204
+ id: string;
2205
2205
  capture: "at_action" | "historical_lookup" | "fixture";
2206
2206
  locator?: string | undefined;
2207
2207
  }>, "many">>;
2208
2208
  }, "strict", z.ZodTypeAny, {
2209
- summary: string;
2210
2209
  kind: "conflict_detected";
2210
+ summary: string;
2211
2211
  evidence: {
2212
- id: string;
2212
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
2213
  label: string;
2214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2214
+ id: string;
2215
2215
  capture: "at_action" | "historical_lookup" | "fixture";
2216
2216
  locator?: string | undefined;
2217
2217
  }[];
@@ -2219,15 +2219,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2219
2219
  decisionIds: string[];
2220
2220
  agentIds: string[];
2221
2221
  }, {
2222
- summary: string;
2223
2222
  kind: "conflict_detected";
2223
+ summary: string;
2224
2224
  conflictId: string;
2225
2225
  decisionIds: string[];
2226
2226
  agentIds: string[];
2227
2227
  evidence?: {
2228
- id: string;
2228
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2229
2229
  label: string;
2230
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2230
+ id: string;
2231
2231
  capture: "at_action" | "historical_lookup" | "fixture";
2232
2232
  locator?: string | undefined;
2233
2233
  }[] | undefined;
@@ -2247,27 +2247,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2247
2247
  locator: z.ZodOptional<z.ZodString>;
2248
2248
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2249
2249
  }, "strict", z.ZodTypeAny, {
2250
- id: string;
2250
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2251
2251
  label: string;
2252
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2252
+ id: string;
2253
2253
  capture: "at_action" | "historical_lookup" | "fixture";
2254
2254
  locator?: string | undefined;
2255
2255
  }, {
2256
- id: string;
2256
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2257
2257
  label: string;
2258
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2258
+ id: string;
2259
2259
  capture: "at_action" | "historical_lookup" | "fixture";
2260
2260
  locator?: string | undefined;
2261
2261
  }>, "many">>;
2262
2262
  }, "strict", z.ZodTypeAny, {
2263
+ kind: "test_result";
2263
2264
  summary: string;
2264
2265
  status: "error" | "failed" | "passed";
2265
- kind: "test_result";
2266
2266
  command: string;
2267
2267
  evidence: {
2268
- id: string;
2268
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2269
2269
  label: string;
2270
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2270
+ id: string;
2271
2271
  capture: "at_action" | "historical_lookup" | "fixture";
2272
2272
  locator?: string | undefined;
2273
2273
  }[];
@@ -2276,17 +2276,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2276
2276
  durationMs?: number | undefined;
2277
2277
  correctionId?: string | undefined;
2278
2278
  }, {
2279
+ kind: "test_result";
2279
2280
  summary: string;
2280
2281
  status: "error" | "failed" | "passed";
2281
- kind: "test_result";
2282
2282
  command: string;
2283
2283
  decisionId: string;
2284
2284
  testId: string;
2285
2285
  durationMs?: number | undefined;
2286
2286
  evidence?: {
2287
- id: string;
2287
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2288
2288
  label: string;
2289
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2289
+ id: string;
2290
2290
  capture: "at_action" | "historical_lookup" | "fixture";
2291
2291
  locator?: string | undefined;
2292
2292
  }[] | undefined;
@@ -2307,15 +2307,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2307
2307
  locator: z.ZodOptional<z.ZodString>;
2308
2308
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2309
2309
  }, "strict", z.ZodTypeAny, {
2310
- id: string;
2310
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2311
2311
  label: string;
2312
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2312
+ id: string;
2313
2313
  capture: "at_action" | "historical_lookup" | "fixture";
2314
2314
  locator?: string | undefined;
2315
2315
  }, {
2316
- id: string;
2316
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2317
2317
  label: string;
2318
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2318
+ id: string;
2319
2319
  capture: "at_action" | "historical_lookup" | "fixture";
2320
2320
  locator?: string | undefined;
2321
2321
  }>, "many">>;
@@ -2324,9 +2324,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2324
2324
  statement: string;
2325
2325
  rationale: string;
2326
2326
  evidence: {
2327
- id: string;
2327
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2328
2328
  label: string;
2329
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2329
+ id: string;
2330
2330
  capture: "at_action" | "historical_lookup" | "fixture";
2331
2331
  locator?: string | undefined;
2332
2332
  }[];
@@ -2345,9 +2345,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2345
2345
  supersedesDecisionIds: string[];
2346
2346
  proposedBy: string;
2347
2347
  evidence?: {
2348
- id: string;
2348
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2349
2349
  label: string;
2350
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2350
+ id: string;
2351
2351
  capture: "at_action" | "historical_lookup" | "fixture";
2352
2352
  locator?: string | undefined;
2353
2353
  }[] | undefined;
@@ -2359,13 +2359,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2359
2359
  id: z.ZodString;
2360
2360
  label: z.ZodString;
2361
2361
  }, "strict", z.ZodTypeAny, {
2362
- id: string;
2363
- label: string;
2364
2362
  kind: "agent" | "human";
2365
- }, {
2366
- id: string;
2367
2363
  label: string;
2364
+ id: string;
2365
+ }, {
2368
2366
  kind: "agent" | "human";
2367
+ label: string;
2368
+ id: string;
2369
2369
  }>;
2370
2370
  note: z.ZodOptional<z.ZodString>;
2371
2371
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2375,47 +2375,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2375
2375
  locator: z.ZodOptional<z.ZodString>;
2376
2376
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2377
2377
  }, "strict", z.ZodTypeAny, {
2378
- id: string;
2378
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2379
2379
  label: string;
2380
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2380
+ id: string;
2381
2381
  capture: "at_action" | "historical_lookup" | "fixture";
2382
2382
  locator?: string | undefined;
2383
2383
  }, {
2384
- id: string;
2384
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2385
2385
  label: string;
2386
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2386
+ id: string;
2387
2387
  capture: "at_action" | "historical_lookup" | "fixture";
2388
2388
  locator?: string | undefined;
2389
2389
  }>, "many">>;
2390
2390
  }, "strict", z.ZodTypeAny, {
2391
2391
  kind: "correction_approved";
2392
2392
  evidence: {
2393
- id: string;
2393
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2394
2394
  label: string;
2395
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2395
+ id: string;
2396
2396
  capture: "at_action" | "historical_lookup" | "fixture";
2397
2397
  locator?: string | undefined;
2398
2398
  }[];
2399
2399
  correctionId: string;
2400
2400
  approvedBy: {
2401
- id: string;
2402
- label: string;
2403
2401
  kind: "agent" | "human";
2402
+ label: string;
2403
+ id: string;
2404
2404
  };
2405
2405
  note?: string | undefined;
2406
2406
  }, {
2407
2407
  kind: "correction_approved";
2408
2408
  correctionId: string;
2409
2409
  approvedBy: {
2410
- id: string;
2411
- label: string;
2412
2410
  kind: "agent" | "human";
2411
+ label: string;
2412
+ id: string;
2413
2413
  };
2414
2414
  note?: string | undefined;
2415
2415
  evidence?: {
2416
- id: string;
2416
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2417
2417
  label: string;
2418
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2418
+ id: string;
2419
2419
  capture: "at_action" | "historical_lookup" | "fixture";
2420
2420
  locator?: string | undefined;
2421
2421
  }[] | undefined;
@@ -2431,24 +2431,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2431
2431
  locator: z.ZodOptional<z.ZodString>;
2432
2432
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2433
2433
  }, "strict", z.ZodTypeAny, {
2434
- id: string;
2434
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2435
2435
  label: string;
2436
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2436
+ id: string;
2437
2437
  capture: "at_action" | "historical_lookup" | "fixture";
2438
2438
  locator?: string | undefined;
2439
2439
  }, {
2440
- id: string;
2440
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2441
2441
  label: string;
2442
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2442
+ id: string;
2443
2443
  capture: "at_action" | "historical_lookup" | "fixture";
2444
2444
  locator?: string | undefined;
2445
2445
  }>, "many">>;
2446
2446
  }, "strict", z.ZodTypeAny, {
2447
2447
  kind: "decision_superseded";
2448
2448
  evidence: {
2449
- id: string;
2449
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2450
2450
  label: string;
2451
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2451
+ id: string;
2452
2452
  capture: "at_action" | "historical_lookup" | "fixture";
2453
2453
  locator?: string | undefined;
2454
2454
  }[];
@@ -2461,9 +2461,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2461
2461
  correctionId: string;
2462
2462
  replacementDecisionId: string;
2463
2463
  evidence?: {
2464
- id: string;
2464
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2465
2465
  label: string;
2466
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2466
+ id: string;
2467
2467
  capture: "at_action" | "historical_lookup" | "fixture";
2468
2468
  locator?: string | undefined;
2469
2469
  }[] | undefined;
@@ -2479,15 +2479,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2479
2479
  locator: z.ZodOptional<z.ZodString>;
2480
2480
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2481
2481
  }, "strict", z.ZodTypeAny, {
2482
- id: string;
2482
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2483
2483
  label: string;
2484
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2484
+ id: string;
2485
2485
  capture: "at_action" | "historical_lookup" | "fixture";
2486
2486
  locator?: string | undefined;
2487
2487
  }, {
2488
- id: string;
2488
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2489
2489
  label: string;
2490
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2490
+ id: string;
2491
2491
  capture: "at_action" | "historical_lookup" | "fixture";
2492
2492
  locator?: string | undefined;
2493
2493
  }>, "many">>;
@@ -2500,9 +2500,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2500
2500
  agentId: string;
2501
2501
  sessionId: string;
2502
2502
  evidence: {
2503
- id: string;
2503
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2504
2504
  label: string;
2505
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2505
+ id: string;
2506
2506
  capture: "at_action" | "historical_lookup" | "fixture";
2507
2507
  locator?: string | undefined;
2508
2508
  }[];
@@ -2518,9 +2518,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2518
2518
  recallReceiptId: string;
2519
2519
  capturedAtAction: boolean;
2520
2520
  evidence?: {
2521
- id: string;
2521
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2522
2522
  label: string;
2523
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2523
+ id: string;
2524
2524
  capture: "at_action" | "historical_lookup" | "fixture";
2525
2525
  locator?: string | undefined;
2526
2526
  }[] | undefined;
@@ -2536,15 +2536,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2536
2536
  locator: z.ZodOptional<z.ZodString>;
2537
2537
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2538
2538
  }, "strict", z.ZodTypeAny, {
2539
- id: string;
2539
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2540
2540
  label: string;
2541
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2541
+ id: string;
2542
2542
  capture: "at_action" | "historical_lookup" | "fixture";
2543
2543
  locator?: string | undefined;
2544
2544
  }, {
2545
- id: string;
2545
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2546
2546
  label: string;
2547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2547
+ id: string;
2548
2548
  capture: "at_action" | "historical_lookup" | "fixture";
2549
2549
  locator?: string | undefined;
2550
2550
  }>, "many">>;
@@ -2556,9 +2556,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2556
2556
  agentId: string;
2557
2557
  sessionId: string;
2558
2558
  evidence: {
2559
- id: string;
2559
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2560
2560
  label: string;
2561
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2561
+ id: string;
2562
2562
  capture: "at_action" | "historical_lookup" | "fixture";
2563
2563
  locator?: string | undefined;
2564
2564
  }[];
@@ -2575,9 +2575,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2575
2575
  recallReceiptId: string;
2576
2576
  staleDecisionAbsent: boolean;
2577
2577
  evidence?: {
2578
- id: string;
2578
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2579
2579
  label: string;
2580
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2580
+ id: string;
2581
2581
  capture: "at_action" | "historical_lookup" | "fixture";
2582
2582
  locator?: string | undefined;
2583
2583
  }[] | undefined;
@@ -2592,37 +2592,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2592
2592
  locator: z.ZodOptional<z.ZodString>;
2593
2593
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2594
2594
  }, "strict", z.ZodTypeAny, {
2595
- id: string;
2595
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2596
2596
  label: string;
2597
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2597
+ id: string;
2598
2598
  capture: "at_action" | "historical_lookup" | "fixture";
2599
2599
  locator?: string | undefined;
2600
2600
  }, {
2601
- id: string;
2601
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2602
2602
  label: string;
2603
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2603
+ id: string;
2604
2604
  capture: "at_action" | "historical_lookup" | "fixture";
2605
2605
  locator?: string | undefined;
2606
2606
  }>, "many">>;
2607
2607
  }, "strict", z.ZodTypeAny, {
2608
- summary: string;
2609
2608
  kind: "mission_completed";
2609
+ summary: string;
2610
2610
  outcome: "failed" | "recovered" | "inconclusive";
2611
2611
  evidence: {
2612
- id: string;
2612
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
2613
  label: string;
2614
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2614
+ id: string;
2615
2615
  capture: "at_action" | "historical_lookup" | "fixture";
2616
2616
  locator?: string | undefined;
2617
2617
  }[];
2618
2618
  }, {
2619
- summary: string;
2620
2619
  kind: "mission_completed";
2620
+ summary: string;
2621
2621
  outcome: "failed" | "recovered" | "inconclusive";
2622
2622
  evidence?: {
2623
- id: string;
2623
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2624
2624
  label: string;
2625
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2625
+ id: string;
2626
2626
  capture: "at_action" | "historical_lookup" | "fixture";
2627
2627
  locator?: string | undefined;
2628
2628
  }[] | undefined;
@@ -2630,38 +2630,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2630
2630
  kind: "mission_started";
2631
2631
  title: string;
2632
2632
  evidence: {
2633
- id: string;
2633
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2634
2634
  label: string;
2635
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2635
+ id: string;
2636
2636
  capture: "at_action" | "historical_lookup" | "fixture";
2637
2637
  locator?: string | undefined;
2638
2638
  }[];
2639
2639
  objective: string;
2640
2640
  runMode: "replay" | "fixture" | "live";
2641
2641
  } | {
2642
- label: string;
2643
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2644
2642
  kind: "agent_status";
2643
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2644
+ label: string;
2645
2645
  role: string;
2646
2646
  agentId: string;
2647
2647
  sessionId: string;
2648
2648
  evidence: {
2649
- id: string;
2649
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2650
2650
  label: string;
2651
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2651
+ id: string;
2652
2652
  capture: "at_action" | "historical_lookup" | "fixture";
2653
2653
  locator?: string | undefined;
2654
2654
  }[];
2655
2655
  detail?: string | undefined;
2656
2656
  } | {
2657
- summary: string;
2658
2657
  kind: "agent_output";
2658
+ summary: string;
2659
2659
  agentId: string;
2660
2660
  sessionId: string;
2661
2661
  evidence: {
2662
- id: string;
2662
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2663
2663
  label: string;
2664
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
+ id: string;
2665
2665
  capture: "at_action" | "historical_lookup" | "fixture";
2666
2666
  locator?: string | undefined;
2667
2667
  }[];
@@ -2672,9 +2672,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2672
2672
  statement: string;
2673
2673
  sessionId: string;
2674
2674
  evidence: {
2675
- id: string;
2675
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2676
2676
  label: string;
2677
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2677
+ id: string;
2678
2678
  capture: "at_action" | "historical_lookup" | "fixture";
2679
2679
  locator?: string | undefined;
2680
2680
  }[];
@@ -2682,12 +2682,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2682
2682
  decisionId: string;
2683
2683
  confidence?: number | undefined;
2684
2684
  } | {
2685
- summary: string;
2686
2685
  kind: "conflict_detected";
2686
+ summary: string;
2687
2687
  evidence: {
2688
- id: string;
2688
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2689
2689
  label: string;
2690
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2690
+ id: string;
2691
2691
  capture: "at_action" | "historical_lookup" | "fixture";
2692
2692
  locator?: string | undefined;
2693
2693
  }[];
@@ -2695,14 +2695,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2695
2695
  decisionIds: string[];
2696
2696
  agentIds: string[];
2697
2697
  } | {
2698
+ kind: "test_result";
2698
2699
  summary: string;
2699
2700
  status: "error" | "failed" | "passed";
2700
- kind: "test_result";
2701
2701
  command: string;
2702
2702
  evidence: {
2703
- id: string;
2703
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2704
2704
  label: string;
2705
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2705
+ id: string;
2706
2706
  capture: "at_action" | "historical_lookup" | "fixture";
2707
2707
  locator?: string | undefined;
2708
2708
  }[];
@@ -2715,9 +2715,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2715
2715
  statement: string;
2716
2716
  rationale: string;
2717
2717
  evidence: {
2718
- id: string;
2718
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2719
2719
  label: string;
2720
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
+ id: string;
2721
2721
  capture: "at_action" | "historical_lookup" | "fixture";
2722
2722
  locator?: string | undefined;
2723
2723
  }[];
@@ -2729,25 +2729,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2729
2729
  } | {
2730
2730
  kind: "correction_approved";
2731
2731
  evidence: {
2732
- id: string;
2732
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
2733
  label: string;
2734
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2734
+ id: string;
2735
2735
  capture: "at_action" | "historical_lookup" | "fixture";
2736
2736
  locator?: string | undefined;
2737
2737
  }[];
2738
2738
  correctionId: string;
2739
2739
  approvedBy: {
2740
- id: string;
2741
- label: string;
2742
2740
  kind: "agent" | "human";
2741
+ label: string;
2742
+ id: string;
2743
2743
  };
2744
2744
  note?: string | undefined;
2745
2745
  } | {
2746
2746
  kind: "decision_superseded";
2747
2747
  evidence: {
2748
- id: string;
2748
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2749
2749
  label: string;
2750
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2750
+ id: string;
2751
2751
  capture: "at_action" | "historical_lookup" | "fixture";
2752
2752
  locator?: string | undefined;
2753
2753
  }[];
@@ -2760,9 +2760,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2760
2760
  agentId: string;
2761
2761
  sessionId: string;
2762
2762
  evidence: {
2763
- id: string;
2763
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2764
2764
  label: string;
2765
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2765
+ id: string;
2766
2766
  capture: "at_action" | "historical_lookup" | "fixture";
2767
2767
  locator?: string | undefined;
2768
2768
  }[];
@@ -2774,9 +2774,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2774
2774
  agentId: string;
2775
2775
  sessionId: string;
2776
2776
  evidence: {
2777
- id: string;
2777
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2778
2778
  label: string;
2779
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2779
+ id: string;
2780
2780
  capture: "at_action" | "historical_lookup" | "fixture";
2781
2781
  locator?: string | undefined;
2782
2782
  }[];
@@ -2785,13 +2785,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2785
2785
  recallReceiptId: string;
2786
2786
  staleDecisionAbsent: boolean;
2787
2787
  } | {
2788
- summary: string;
2789
2788
  kind: "mission_completed";
2789
+ summary: string;
2790
2790
  outcome: "failed" | "recovered" | "inconclusive";
2791
2791
  evidence: {
2792
- id: string;
2792
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2793
2793
  label: string;
2794
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2794
+ id: string;
2795
2795
  capture: "at_action" | "historical_lookup" | "fixture";
2796
2796
  locator?: string | undefined;
2797
2797
  }[];
@@ -2801,37 +2801,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2801
2801
  objective: string;
2802
2802
  runMode: "replay" | "fixture" | "live";
2803
2803
  evidence?: {
2804
- id: string;
2804
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2805
2805
  label: string;
2806
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2806
+ id: string;
2807
2807
  capture: "at_action" | "historical_lookup" | "fixture";
2808
2808
  locator?: string | undefined;
2809
2809
  }[] | undefined;
2810
2810
  } | {
2811
- label: string;
2812
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2813
2811
  kind: "agent_status";
2812
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2813
+ label: string;
2814
2814
  role: string;
2815
2815
  agentId: string;
2816
2816
  sessionId: string;
2817
2817
  detail?: string | undefined;
2818
2818
  evidence?: {
2819
- id: string;
2819
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2820
2820
  label: string;
2821
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2821
+ id: string;
2822
2822
  capture: "at_action" | "historical_lookup" | "fixture";
2823
2823
  locator?: string | undefined;
2824
2824
  }[] | undefined;
2825
2825
  } | {
2826
- summary: string;
2827
2826
  kind: "agent_output";
2827
+ summary: string;
2828
2828
  agentId: string;
2829
2829
  sessionId: string;
2830
2830
  outputId: string;
2831
2831
  evidence?: {
2832
- id: string;
2832
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2833
2833
  label: string;
2834
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2834
+ id: string;
2835
2835
  capture: "at_action" | "historical_lookup" | "fixture";
2836
2836
  locator?: string | undefined;
2837
2837
  }[] | undefined;
@@ -2844,37 +2844,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2844
2844
  decisionId: string;
2845
2845
  confidence?: number | undefined;
2846
2846
  evidence?: {
2847
- id: string;
2847
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2848
2848
  label: string;
2849
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2849
+ id: string;
2850
2850
  capture: "at_action" | "historical_lookup" | "fixture";
2851
2851
  locator?: string | undefined;
2852
2852
  }[] | undefined;
2853
2853
  } | {
2854
- summary: string;
2855
2854
  kind: "conflict_detected";
2855
+ summary: string;
2856
2856
  conflictId: string;
2857
2857
  decisionIds: string[];
2858
2858
  agentIds: string[];
2859
2859
  evidence?: {
2860
- id: string;
2860
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2861
2861
  label: string;
2862
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2862
+ id: string;
2863
2863
  capture: "at_action" | "historical_lookup" | "fixture";
2864
2864
  locator?: string | undefined;
2865
2865
  }[] | undefined;
2866
2866
  } | {
2867
+ kind: "test_result";
2867
2868
  summary: string;
2868
2869
  status: "error" | "failed" | "passed";
2869
- kind: "test_result";
2870
2870
  command: string;
2871
2871
  decisionId: string;
2872
2872
  testId: string;
2873
2873
  durationMs?: number | undefined;
2874
2874
  evidence?: {
2875
- id: string;
2875
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
2876
  label: string;
2877
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2877
+ id: string;
2878
2878
  capture: "at_action" | "historical_lookup" | "fixture";
2879
2879
  locator?: string | undefined;
2880
2880
  }[] | undefined;
@@ -2889,9 +2889,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2889
2889
  supersedesDecisionIds: string[];
2890
2890
  proposedBy: string;
2891
2891
  evidence?: {
2892
- id: string;
2892
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2893
2893
  label: string;
2894
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2894
+ id: string;
2895
2895
  capture: "at_action" | "historical_lookup" | "fixture";
2896
2896
  locator?: string | undefined;
2897
2897
  }[] | undefined;
@@ -2899,15 +2899,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2899
2899
  kind: "correction_approved";
2900
2900
  correctionId: string;
2901
2901
  approvedBy: {
2902
- id: string;
2903
- label: string;
2904
2902
  kind: "agent" | "human";
2903
+ label: string;
2904
+ id: string;
2905
2905
  };
2906
2906
  note?: string | undefined;
2907
2907
  evidence?: {
2908
- id: string;
2908
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2909
2909
  label: string;
2910
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2910
+ id: string;
2911
2911
  capture: "at_action" | "historical_lookup" | "fixture";
2912
2912
  locator?: string | undefined;
2913
2913
  }[] | undefined;
@@ -2917,9 +2917,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2917
2917
  correctionId: string;
2918
2918
  replacementDecisionId: string;
2919
2919
  evidence?: {
2920
- id: string;
2920
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2921
2921
  label: string;
2922
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2922
+ id: string;
2923
2923
  capture: "at_action" | "historical_lookup" | "fixture";
2924
2924
  locator?: string | undefined;
2925
2925
  }[] | undefined;
@@ -2932,9 +2932,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2932
2932
  recallReceiptId: string;
2933
2933
  capturedAtAction: boolean;
2934
2934
  evidence?: {
2935
- id: string;
2935
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2936
2936
  label: string;
2937
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2937
+ id: string;
2938
2938
  capture: "at_action" | "historical_lookup" | "fixture";
2939
2939
  locator?: string | undefined;
2940
2940
  }[] | undefined;
@@ -2947,20 +2947,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2947
2947
  recallReceiptId: string;
2948
2948
  staleDecisionAbsent: boolean;
2949
2949
  evidence?: {
2950
- id: string;
2950
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2951
2951
  label: string;
2952
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2952
+ id: string;
2953
2953
  capture: "at_action" | "historical_lookup" | "fixture";
2954
2954
  locator?: string | undefined;
2955
2955
  }[] | undefined;
2956
2956
  } | {
2957
- summary: string;
2958
2957
  kind: "mission_completed";
2958
+ summary: string;
2959
2959
  outcome: "failed" | "recovered" | "inconclusive";
2960
2960
  evidence?: {
2961
- id: string;
2961
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2962
2962
  label: string;
2963
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2963
+ id: string;
2964
2964
  capture: "at_action" | "historical_lookup" | "fixture";
2965
2965
  locator?: string | undefined;
2966
2966
  }[] | undefined;
@@ -2970,38 +2970,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2970
2970
  kind: "mission_started";
2971
2971
  title: string;
2972
2972
  evidence: {
2973
- id: string;
2973
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2974
2974
  label: string;
2975
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2975
+ id: string;
2976
2976
  capture: "at_action" | "historical_lookup" | "fixture";
2977
2977
  locator?: string | undefined;
2978
2978
  }[];
2979
2979
  objective: string;
2980
2980
  runMode: "replay" | "fixture" | "live";
2981
2981
  } | {
2982
- label: string;
2983
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2984
2982
  kind: "agent_status";
2983
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2984
+ label: string;
2985
2985
  role: string;
2986
2986
  agentId: string;
2987
2987
  sessionId: string;
2988
2988
  evidence: {
2989
- id: string;
2989
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2990
2990
  label: string;
2991
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2991
+ id: string;
2992
2992
  capture: "at_action" | "historical_lookup" | "fixture";
2993
2993
  locator?: string | undefined;
2994
2994
  }[];
2995
2995
  detail?: string | undefined;
2996
2996
  } | {
2997
- summary: string;
2998
2997
  kind: "agent_output";
2998
+ summary: string;
2999
2999
  agentId: string;
3000
3000
  sessionId: string;
3001
3001
  evidence: {
3002
- id: string;
3002
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3003
3003
  label: string;
3004
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3004
+ id: string;
3005
3005
  capture: "at_action" | "historical_lookup" | "fixture";
3006
3006
  locator?: string | undefined;
3007
3007
  }[];
@@ -3012,9 +3012,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3012
3012
  statement: string;
3013
3013
  sessionId: string;
3014
3014
  evidence: {
3015
- id: string;
3015
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3016
3016
  label: string;
3017
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3017
+ id: string;
3018
3018
  capture: "at_action" | "historical_lookup" | "fixture";
3019
3019
  locator?: string | undefined;
3020
3020
  }[];
@@ -3022,12 +3022,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3022
3022
  decisionId: string;
3023
3023
  confidence?: number | undefined;
3024
3024
  } | {
3025
- summary: string;
3026
3025
  kind: "conflict_detected";
3026
+ summary: string;
3027
3027
  evidence: {
3028
- id: string;
3028
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3029
3029
  label: string;
3030
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3030
+ id: string;
3031
3031
  capture: "at_action" | "historical_lookup" | "fixture";
3032
3032
  locator?: string | undefined;
3033
3033
  }[];
@@ -3035,14 +3035,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3035
3035
  decisionIds: string[];
3036
3036
  agentIds: string[];
3037
3037
  } | {
3038
+ kind: "test_result";
3038
3039
  summary: string;
3039
3040
  status: "error" | "failed" | "passed";
3040
- kind: "test_result";
3041
3041
  command: string;
3042
3042
  evidence: {
3043
- id: string;
3043
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3044
3044
  label: string;
3045
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3045
+ id: string;
3046
3046
  capture: "at_action" | "historical_lookup" | "fixture";
3047
3047
  locator?: string | undefined;
3048
3048
  }[];
@@ -3055,9 +3055,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3055
3055
  statement: string;
3056
3056
  rationale: string;
3057
3057
  evidence: {
3058
- id: string;
3058
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3059
3059
  label: string;
3060
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3060
+ id: string;
3061
3061
  capture: "at_action" | "historical_lookup" | "fixture";
3062
3062
  locator?: string | undefined;
3063
3063
  }[];
@@ -3069,25 +3069,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3069
3069
  } | {
3070
3070
  kind: "correction_approved";
3071
3071
  evidence: {
3072
- id: string;
3072
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3073
3073
  label: string;
3074
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3074
+ id: string;
3075
3075
  capture: "at_action" | "historical_lookup" | "fixture";
3076
3076
  locator?: string | undefined;
3077
3077
  }[];
3078
3078
  correctionId: string;
3079
3079
  approvedBy: {
3080
- id: string;
3081
- label: string;
3082
3080
  kind: "agent" | "human";
3081
+ label: string;
3082
+ id: string;
3083
3083
  };
3084
3084
  note?: string | undefined;
3085
3085
  } | {
3086
3086
  kind: "decision_superseded";
3087
3087
  evidence: {
3088
- id: string;
3088
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3089
3089
  label: string;
3090
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3090
+ id: string;
3091
3091
  capture: "at_action" | "historical_lookup" | "fixture";
3092
3092
  locator?: string | undefined;
3093
3093
  }[];
@@ -3100,9 +3100,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3100
3100
  agentId: string;
3101
3101
  sessionId: string;
3102
3102
  evidence: {
3103
- id: string;
3103
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3104
3104
  label: string;
3105
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3105
+ id: string;
3106
3106
  capture: "at_action" | "historical_lookup" | "fixture";
3107
3107
  locator?: string | undefined;
3108
3108
  }[];
@@ -3114,9 +3114,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3114
3114
  agentId: string;
3115
3115
  sessionId: string;
3116
3116
  evidence: {
3117
- id: string;
3117
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3118
3118
  label: string;
3119
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3119
+ id: string;
3120
3120
  capture: "at_action" | "historical_lookup" | "fixture";
3121
3121
  locator?: string | undefined;
3122
3122
  }[];
@@ -3125,13 +3125,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3125
3125
  recallReceiptId: string;
3126
3126
  staleDecisionAbsent: boolean;
3127
3127
  } | {
3128
- summary: string;
3129
3128
  kind: "mission_completed";
3129
+ summary: string;
3130
3130
  outcome: "failed" | "recovered" | "inconclusive";
3131
3131
  evidence: {
3132
- id: string;
3132
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3133
3133
  label: string;
3134
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3134
+ id: string;
3135
3135
  capture: "at_action" | "historical_lookup" | "fixture";
3136
3136
  locator?: string | undefined;
3137
3137
  }[];
@@ -3145,37 +3145,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3145
3145
  objective: string;
3146
3146
  runMode: "replay" | "fixture" | "live";
3147
3147
  evidence?: {
3148
- id: string;
3148
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3149
3149
  label: string;
3150
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3150
+ id: string;
3151
3151
  capture: "at_action" | "historical_lookup" | "fixture";
3152
3152
  locator?: string | undefined;
3153
3153
  }[] | undefined;
3154
3154
  } | {
3155
- label: string;
3156
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3157
3155
  kind: "agent_status";
3156
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3157
+ label: string;
3158
3158
  role: string;
3159
3159
  agentId: string;
3160
3160
  sessionId: string;
3161
3161
  detail?: string | undefined;
3162
3162
  evidence?: {
3163
- id: string;
3163
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3164
3164
  label: string;
3165
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3165
+ id: string;
3166
3166
  capture: "at_action" | "historical_lookup" | "fixture";
3167
3167
  locator?: string | undefined;
3168
3168
  }[] | undefined;
3169
3169
  } | {
3170
- summary: string;
3171
3170
  kind: "agent_output";
3171
+ summary: string;
3172
3172
  agentId: string;
3173
3173
  sessionId: string;
3174
3174
  outputId: string;
3175
3175
  evidence?: {
3176
- id: string;
3176
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3177
3177
  label: string;
3178
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3178
+ id: string;
3179
3179
  capture: "at_action" | "historical_lookup" | "fixture";
3180
3180
  locator?: string | undefined;
3181
3181
  }[] | undefined;
@@ -3188,37 +3188,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3188
3188
  decisionId: string;
3189
3189
  confidence?: number | undefined;
3190
3190
  evidence?: {
3191
- id: string;
3191
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3192
3192
  label: string;
3193
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3193
+ id: string;
3194
3194
  capture: "at_action" | "historical_lookup" | "fixture";
3195
3195
  locator?: string | undefined;
3196
3196
  }[] | undefined;
3197
3197
  } | {
3198
- summary: string;
3199
3198
  kind: "conflict_detected";
3199
+ summary: string;
3200
3200
  conflictId: string;
3201
3201
  decisionIds: string[];
3202
3202
  agentIds: string[];
3203
3203
  evidence?: {
3204
- id: string;
3204
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3205
3205
  label: string;
3206
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3206
+ id: string;
3207
3207
  capture: "at_action" | "historical_lookup" | "fixture";
3208
3208
  locator?: string | undefined;
3209
3209
  }[] | undefined;
3210
3210
  } | {
3211
+ kind: "test_result";
3211
3212
  summary: string;
3212
3213
  status: "error" | "failed" | "passed";
3213
- kind: "test_result";
3214
3214
  command: string;
3215
3215
  decisionId: string;
3216
3216
  testId: string;
3217
3217
  durationMs?: number | undefined;
3218
3218
  evidence?: {
3219
- id: string;
3219
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3220
3220
  label: string;
3221
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3221
+ id: string;
3222
3222
  capture: "at_action" | "historical_lookup" | "fixture";
3223
3223
  locator?: string | undefined;
3224
3224
  }[] | undefined;
@@ -3233,9 +3233,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3233
3233
  supersedesDecisionIds: string[];
3234
3234
  proposedBy: string;
3235
3235
  evidence?: {
3236
- id: string;
3236
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3237
3237
  label: string;
3238
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3238
+ id: string;
3239
3239
  capture: "at_action" | "historical_lookup" | "fixture";
3240
3240
  locator?: string | undefined;
3241
3241
  }[] | undefined;
@@ -3243,15 +3243,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3243
3243
  kind: "correction_approved";
3244
3244
  correctionId: string;
3245
3245
  approvedBy: {
3246
- id: string;
3247
- label: string;
3248
3246
  kind: "agent" | "human";
3247
+ label: string;
3248
+ id: string;
3249
3249
  };
3250
3250
  note?: string | undefined;
3251
3251
  evidence?: {
3252
- id: string;
3252
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3253
3253
  label: string;
3254
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3254
+ id: string;
3255
3255
  capture: "at_action" | "historical_lookup" | "fixture";
3256
3256
  locator?: string | undefined;
3257
3257
  }[] | undefined;
@@ -3261,9 +3261,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3261
3261
  correctionId: string;
3262
3262
  replacementDecisionId: string;
3263
3263
  evidence?: {
3264
- id: string;
3264
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3265
3265
  label: string;
3266
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3266
+ id: string;
3267
3267
  capture: "at_action" | "historical_lookup" | "fixture";
3268
3268
  locator?: string | undefined;
3269
3269
  }[] | undefined;
@@ -3276,9 +3276,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3276
3276
  recallReceiptId: string;
3277
3277
  capturedAtAction: boolean;
3278
3278
  evidence?: {
3279
- id: string;
3279
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3280
3280
  label: string;
3281
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3281
+ id: string;
3282
3282
  capture: "at_action" | "historical_lookup" | "fixture";
3283
3283
  locator?: string | undefined;
3284
3284
  }[] | undefined;
@@ -3291,20 +3291,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3291
3291
  recallReceiptId: string;
3292
3292
  staleDecisionAbsent: boolean;
3293
3293
  evidence?: {
3294
- id: string;
3294
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3295
3295
  label: string;
3296
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3296
+ id: string;
3297
3297
  capture: "at_action" | "historical_lookup" | "fixture";
3298
3298
  locator?: string | undefined;
3299
3299
  }[] | undefined;
3300
3300
  } | {
3301
- summary: string;
3302
3301
  kind: "mission_completed";
3302
+ summary: string;
3303
3303
  outcome: "failed" | "recovered" | "inconclusive";
3304
3304
  evidence?: {
3305
- id: string;
3305
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3306
3306
  label: string;
3307
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3307
+ id: string;
3308
3308
  capture: "at_action" | "historical_lookup" | "fixture";
3309
3309
  locator?: string | undefined;
3310
3310
  }[] | undefined;
@@ -3334,15 +3334,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3334
3334
  locator: z.ZodOptional<z.ZodString>;
3335
3335
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3336
3336
  }, "strict", z.ZodTypeAny, {
3337
- id: string;
3337
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3338
3338
  label: string;
3339
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3339
+ id: string;
3340
3340
  capture: "at_action" | "historical_lookup" | "fixture";
3341
3341
  locator?: string | undefined;
3342
3342
  }, {
3343
- id: string;
3343
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3344
3344
  label: string;
3345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3345
+ id: string;
3346
3346
  capture: "at_action" | "historical_lookup" | "fixture";
3347
3347
  locator?: string | undefined;
3348
3348
  }>, "many">>;
@@ -3350,9 +3350,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3350
3350
  kind: "mission_started";
3351
3351
  title: string;
3352
3352
  evidence: {
3353
- id: string;
3353
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3354
3354
  label: string;
3355
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3355
+ id: string;
3356
3356
  capture: "at_action" | "historical_lookup" | "fixture";
3357
3357
  locator?: string | undefined;
3358
3358
  }[];
@@ -3364,9 +3364,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3364
3364
  objective: string;
3365
3365
  runMode: "replay" | "fixture" | "live";
3366
3366
  evidence?: {
3367
- id: string;
3367
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3368
3368
  label: string;
3369
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3369
+ id: string;
3370
3370
  capture: "at_action" | "historical_lookup" | "fixture";
3371
3371
  locator?: string | undefined;
3372
3372
  }[] | undefined;
@@ -3382,15 +3382,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3382
3382
  locator: z.ZodOptional<z.ZodString>;
3383
3383
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3384
3384
  }, "strict", z.ZodTypeAny, {
3385
- id: string;
3385
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3386
3386
  label: string;
3387
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3387
+ id: string;
3388
3388
  capture: "at_action" | "historical_lookup" | "fixture";
3389
3389
  locator?: string | undefined;
3390
3390
  }, {
3391
- id: string;
3391
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3392
3392
  label: string;
3393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3393
+ id: string;
3394
3394
  capture: "at_action" | "historical_lookup" | "fixture";
3395
3395
  locator?: string | undefined;
3396
3396
  }>, "many">>;
@@ -3398,32 +3398,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3398
3398
  sessionId: z.ZodString;
3399
3399
  kind: z.ZodLiteral<"agent_status">;
3400
3400
  }, "strict", z.ZodTypeAny, {
3401
- label: string;
3402
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3403
3401
  kind: "agent_status";
3402
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3403
+ label: string;
3404
3404
  role: string;
3405
3405
  agentId: string;
3406
3406
  sessionId: string;
3407
3407
  evidence: {
3408
- id: string;
3408
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3409
3409
  label: string;
3410
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3410
+ id: string;
3411
3411
  capture: "at_action" | "historical_lookup" | "fixture";
3412
3412
  locator?: string | undefined;
3413
3413
  }[];
3414
3414
  detail?: string | undefined;
3415
3415
  }, {
3416
- label: string;
3417
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3418
3416
  kind: "agent_status";
3417
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3418
+ label: string;
3419
3419
  role: string;
3420
3420
  agentId: string;
3421
3421
  sessionId: string;
3422
3422
  detail?: string | undefined;
3423
3423
  evidence?: {
3424
- id: string;
3424
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3425
3425
  label: string;
3426
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3426
+ id: string;
3427
3427
  capture: "at_action" | "historical_lookup" | "fixture";
3428
3428
  locator?: string | undefined;
3429
3429
  }[] | undefined;
@@ -3437,15 +3437,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3437
3437
  locator: z.ZodOptional<z.ZodString>;
3438
3438
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3439
3439
  }, "strict", z.ZodTypeAny, {
3440
- id: string;
3440
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3441
3441
  label: string;
3442
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3442
+ id: string;
3443
3443
  capture: "at_action" | "historical_lookup" | "fixture";
3444
3444
  locator?: string | undefined;
3445
3445
  }, {
3446
- id: string;
3446
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3447
3447
  label: string;
3448
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3448
+ id: string;
3449
3449
  capture: "at_action" | "historical_lookup" | "fixture";
3450
3450
  locator?: string | undefined;
3451
3451
  }>, "many">>;
@@ -3453,28 +3453,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3453
3453
  sessionId: z.ZodString;
3454
3454
  kind: z.ZodLiteral<"agent_output">;
3455
3455
  }, "strict", z.ZodTypeAny, {
3456
- summary: string;
3457
3456
  kind: "agent_output";
3457
+ summary: string;
3458
3458
  agentId: string;
3459
3459
  sessionId: string;
3460
3460
  evidence: {
3461
- id: string;
3461
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3462
3462
  label: string;
3463
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3463
+ id: string;
3464
3464
  capture: "at_action" | "historical_lookup" | "fixture";
3465
3465
  locator?: string | undefined;
3466
3466
  }[];
3467
3467
  outputId: string;
3468
3468
  }, {
3469
- summary: string;
3470
3469
  kind: "agent_output";
3470
+ summary: string;
3471
3471
  agentId: string;
3472
3472
  sessionId: string;
3473
3473
  outputId: string;
3474
3474
  evidence?: {
3475
- id: string;
3475
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3476
3476
  label: string;
3477
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3477
+ id: string;
3478
3478
  capture: "at_action" | "historical_lookup" | "fixture";
3479
3479
  locator?: string | undefined;
3480
3480
  }[] | undefined;
@@ -3490,15 +3490,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3490
3490
  locator: z.ZodOptional<z.ZodString>;
3491
3491
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3492
3492
  }, "strict", z.ZodTypeAny, {
3493
- id: string;
3493
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3494
3494
  label: string;
3495
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3495
+ id: string;
3496
3496
  capture: "at_action" | "historical_lookup" | "fixture";
3497
3497
  locator?: string | undefined;
3498
3498
  }, {
3499
- id: string;
3499
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3500
3500
  label: string;
3501
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3501
+ id: string;
3502
3502
  capture: "at_action" | "historical_lookup" | "fixture";
3503
3503
  locator?: string | undefined;
3504
3504
  }>, "many">>;
@@ -3511,9 +3511,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3511
3511
  statement: string;
3512
3512
  sessionId: string;
3513
3513
  evidence: {
3514
- id: string;
3514
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3515
3515
  label: string;
3516
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3516
+ id: string;
3517
3517
  capture: "at_action" | "historical_lookup" | "fixture";
3518
3518
  locator?: string | undefined;
3519
3519
  }[];
@@ -3529,9 +3529,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3529
3529
  decisionId: string;
3530
3530
  confidence?: number | undefined;
3531
3531
  evidence?: {
3532
- id: string;
3532
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3533
3533
  label: string;
3534
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3534
+ id: string;
3535
3535
  capture: "at_action" | "historical_lookup" | "fixture";
3536
3536
  locator?: string | undefined;
3537
3537
  }[] | undefined;
@@ -3548,25 +3548,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3548
3548
  locator: z.ZodOptional<z.ZodString>;
3549
3549
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3550
3550
  }, "strict", z.ZodTypeAny, {
3551
- id: string;
3551
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3552
3552
  label: string;
3553
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3553
+ id: string;
3554
3554
  capture: "at_action" | "historical_lookup" | "fixture";
3555
3555
  locator?: string | undefined;
3556
3556
  }, {
3557
- id: string;
3557
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3558
3558
  label: string;
3559
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3559
+ id: string;
3560
3560
  capture: "at_action" | "historical_lookup" | "fixture";
3561
3561
  locator?: string | undefined;
3562
3562
  }>, "many">>;
3563
3563
  }, "strict", z.ZodTypeAny, {
3564
- summary: string;
3565
3564
  kind: "conflict_detected";
3565
+ summary: string;
3566
3566
  evidence: {
3567
- id: string;
3567
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3568
3568
  label: string;
3569
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3569
+ id: string;
3570
3570
  capture: "at_action" | "historical_lookup" | "fixture";
3571
3571
  locator?: string | undefined;
3572
3572
  }[];
@@ -3574,15 +3574,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3574
3574
  decisionIds: string[];
3575
3575
  agentIds: string[];
3576
3576
  }, {
3577
- summary: string;
3578
3577
  kind: "conflict_detected";
3578
+ summary: string;
3579
3579
  conflictId: string;
3580
3580
  decisionIds: string[];
3581
3581
  agentIds: string[];
3582
3582
  evidence?: {
3583
- id: string;
3583
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3584
3584
  label: string;
3585
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3585
+ id: string;
3586
3586
  capture: "at_action" | "historical_lookup" | "fixture";
3587
3587
  locator?: string | undefined;
3588
3588
  }[] | undefined;
@@ -3602,27 +3602,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3602
3602
  locator: z.ZodOptional<z.ZodString>;
3603
3603
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3604
3604
  }, "strict", z.ZodTypeAny, {
3605
- id: string;
3605
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3606
3606
  label: string;
3607
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3607
+ id: string;
3608
3608
  capture: "at_action" | "historical_lookup" | "fixture";
3609
3609
  locator?: string | undefined;
3610
3610
  }, {
3611
- id: string;
3611
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3612
3612
  label: string;
3613
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3613
+ id: string;
3614
3614
  capture: "at_action" | "historical_lookup" | "fixture";
3615
3615
  locator?: string | undefined;
3616
3616
  }>, "many">>;
3617
3617
  }, "strict", z.ZodTypeAny, {
3618
+ kind: "test_result";
3618
3619
  summary: string;
3619
3620
  status: "error" | "failed" | "passed";
3620
- kind: "test_result";
3621
3621
  command: string;
3622
3622
  evidence: {
3623
- id: string;
3623
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3624
3624
  label: string;
3625
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3625
+ id: string;
3626
3626
  capture: "at_action" | "historical_lookup" | "fixture";
3627
3627
  locator?: string | undefined;
3628
3628
  }[];
@@ -3631,17 +3631,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3631
3631
  durationMs?: number | undefined;
3632
3632
  correctionId?: string | undefined;
3633
3633
  }, {
3634
+ kind: "test_result";
3634
3635
  summary: string;
3635
3636
  status: "error" | "failed" | "passed";
3636
- kind: "test_result";
3637
3637
  command: string;
3638
3638
  decisionId: string;
3639
3639
  testId: string;
3640
3640
  durationMs?: number | undefined;
3641
3641
  evidence?: {
3642
- id: string;
3642
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3643
3643
  label: string;
3644
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3644
+ id: string;
3645
3645
  capture: "at_action" | "historical_lookup" | "fixture";
3646
3646
  locator?: string | undefined;
3647
3647
  }[] | undefined;
@@ -3662,15 +3662,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3662
3662
  locator: z.ZodOptional<z.ZodString>;
3663
3663
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3664
3664
  }, "strict", z.ZodTypeAny, {
3665
- id: string;
3665
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3666
3666
  label: string;
3667
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3667
+ id: string;
3668
3668
  capture: "at_action" | "historical_lookup" | "fixture";
3669
3669
  locator?: string | undefined;
3670
3670
  }, {
3671
- id: string;
3671
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3672
3672
  label: string;
3673
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3673
+ id: string;
3674
3674
  capture: "at_action" | "historical_lookup" | "fixture";
3675
3675
  locator?: string | undefined;
3676
3676
  }>, "many">>;
@@ -3679,9 +3679,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3679
3679
  statement: string;
3680
3680
  rationale: string;
3681
3681
  evidence: {
3682
- id: string;
3682
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3683
3683
  label: string;
3684
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3684
+ id: string;
3685
3685
  capture: "at_action" | "historical_lookup" | "fixture";
3686
3686
  locator?: string | undefined;
3687
3687
  }[];
@@ -3700,9 +3700,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3700
3700
  supersedesDecisionIds: string[];
3701
3701
  proposedBy: string;
3702
3702
  evidence?: {
3703
- id: string;
3703
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3704
3704
  label: string;
3705
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3705
+ id: string;
3706
3706
  capture: "at_action" | "historical_lookup" | "fixture";
3707
3707
  locator?: string | undefined;
3708
3708
  }[] | undefined;
@@ -3714,13 +3714,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3714
3714
  id: z.ZodString;
3715
3715
  label: z.ZodString;
3716
3716
  }, "strict", z.ZodTypeAny, {
3717
- id: string;
3718
- label: string;
3719
3717
  kind: "agent" | "human";
3720
- }, {
3721
- id: string;
3722
3718
  label: string;
3719
+ id: string;
3720
+ }, {
3723
3721
  kind: "agent" | "human";
3722
+ label: string;
3723
+ id: string;
3724
3724
  }>;
3725
3725
  note: z.ZodOptional<z.ZodString>;
3726
3726
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3730,47 +3730,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3730
3730
  locator: z.ZodOptional<z.ZodString>;
3731
3731
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3732
3732
  }, "strict", z.ZodTypeAny, {
3733
- id: string;
3733
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3734
3734
  label: string;
3735
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3735
+ id: string;
3736
3736
  capture: "at_action" | "historical_lookup" | "fixture";
3737
3737
  locator?: string | undefined;
3738
3738
  }, {
3739
- id: string;
3739
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3740
3740
  label: string;
3741
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3741
+ id: string;
3742
3742
  capture: "at_action" | "historical_lookup" | "fixture";
3743
3743
  locator?: string | undefined;
3744
3744
  }>, "many">>;
3745
3745
  }, "strict", z.ZodTypeAny, {
3746
3746
  kind: "correction_approved";
3747
3747
  evidence: {
3748
- id: string;
3748
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3749
3749
  label: string;
3750
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3750
+ id: string;
3751
3751
  capture: "at_action" | "historical_lookup" | "fixture";
3752
3752
  locator?: string | undefined;
3753
3753
  }[];
3754
3754
  correctionId: string;
3755
3755
  approvedBy: {
3756
- id: string;
3757
- label: string;
3758
3756
  kind: "agent" | "human";
3757
+ label: string;
3758
+ id: string;
3759
3759
  };
3760
3760
  note?: string | undefined;
3761
3761
  }, {
3762
3762
  kind: "correction_approved";
3763
3763
  correctionId: string;
3764
3764
  approvedBy: {
3765
- id: string;
3766
- label: string;
3767
3765
  kind: "agent" | "human";
3766
+ label: string;
3767
+ id: string;
3768
3768
  };
3769
3769
  note?: string | undefined;
3770
3770
  evidence?: {
3771
- id: string;
3771
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3772
3772
  label: string;
3773
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3773
+ id: string;
3774
3774
  capture: "at_action" | "historical_lookup" | "fixture";
3775
3775
  locator?: string | undefined;
3776
3776
  }[] | undefined;
@@ -3786,24 +3786,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3786
3786
  locator: z.ZodOptional<z.ZodString>;
3787
3787
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3788
3788
  }, "strict", z.ZodTypeAny, {
3789
- id: string;
3789
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3790
3790
  label: string;
3791
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3791
+ id: string;
3792
3792
  capture: "at_action" | "historical_lookup" | "fixture";
3793
3793
  locator?: string | undefined;
3794
3794
  }, {
3795
- id: string;
3795
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3796
3796
  label: string;
3797
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3797
+ id: string;
3798
3798
  capture: "at_action" | "historical_lookup" | "fixture";
3799
3799
  locator?: string | undefined;
3800
3800
  }>, "many">>;
3801
3801
  }, "strict", z.ZodTypeAny, {
3802
3802
  kind: "decision_superseded";
3803
3803
  evidence: {
3804
- id: string;
3804
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3805
3805
  label: string;
3806
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3806
+ id: string;
3807
3807
  capture: "at_action" | "historical_lookup" | "fixture";
3808
3808
  locator?: string | undefined;
3809
3809
  }[];
@@ -3816,9 +3816,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3816
3816
  correctionId: string;
3817
3817
  replacementDecisionId: string;
3818
3818
  evidence?: {
3819
- id: string;
3819
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3820
3820
  label: string;
3821
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3821
+ id: string;
3822
3822
  capture: "at_action" | "historical_lookup" | "fixture";
3823
3823
  locator?: string | undefined;
3824
3824
  }[] | undefined;
@@ -3834,15 +3834,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3834
3834
  locator: z.ZodOptional<z.ZodString>;
3835
3835
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3836
3836
  }, "strict", z.ZodTypeAny, {
3837
- id: string;
3837
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3838
3838
  label: string;
3839
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3839
+ id: string;
3840
3840
  capture: "at_action" | "historical_lookup" | "fixture";
3841
3841
  locator?: string | undefined;
3842
3842
  }, {
3843
- id: string;
3843
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3844
3844
  label: string;
3845
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3845
+ id: string;
3846
3846
  capture: "at_action" | "historical_lookup" | "fixture";
3847
3847
  locator?: string | undefined;
3848
3848
  }>, "many">>;
@@ -3855,9 +3855,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3855
3855
  agentId: string;
3856
3856
  sessionId: string;
3857
3857
  evidence: {
3858
- id: string;
3858
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3859
3859
  label: string;
3860
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3860
+ id: string;
3861
3861
  capture: "at_action" | "historical_lookup" | "fixture";
3862
3862
  locator?: string | undefined;
3863
3863
  }[];
@@ -3873,9 +3873,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3873
3873
  recallReceiptId: string;
3874
3874
  capturedAtAction: boolean;
3875
3875
  evidence?: {
3876
- id: string;
3876
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3877
3877
  label: string;
3878
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3878
+ id: string;
3879
3879
  capture: "at_action" | "historical_lookup" | "fixture";
3880
3880
  locator?: string | undefined;
3881
3881
  }[] | undefined;
@@ -3891,15 +3891,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3891
3891
  locator: z.ZodOptional<z.ZodString>;
3892
3892
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3893
3893
  }, "strict", z.ZodTypeAny, {
3894
- id: string;
3894
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3895
3895
  label: string;
3896
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3896
+ id: string;
3897
3897
  capture: "at_action" | "historical_lookup" | "fixture";
3898
3898
  locator?: string | undefined;
3899
3899
  }, {
3900
- id: string;
3900
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3901
3901
  label: string;
3902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3902
+ id: string;
3903
3903
  capture: "at_action" | "historical_lookup" | "fixture";
3904
3904
  locator?: string | undefined;
3905
3905
  }>, "many">>;
@@ -3911,9 +3911,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3911
3911
  agentId: string;
3912
3912
  sessionId: string;
3913
3913
  evidence: {
3914
- id: string;
3914
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3915
3915
  label: string;
3916
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3916
+ id: string;
3917
3917
  capture: "at_action" | "historical_lookup" | "fixture";
3918
3918
  locator?: string | undefined;
3919
3919
  }[];
@@ -3930,9 +3930,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3930
3930
  recallReceiptId: string;
3931
3931
  staleDecisionAbsent: boolean;
3932
3932
  evidence?: {
3933
- id: string;
3933
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3934
3934
  label: string;
3935
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3935
+ id: string;
3936
3936
  capture: "at_action" | "historical_lookup" | "fixture";
3937
3937
  locator?: string | undefined;
3938
3938
  }[] | undefined;
@@ -3947,37 +3947,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3947
3947
  locator: z.ZodOptional<z.ZodString>;
3948
3948
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3949
3949
  }, "strict", z.ZodTypeAny, {
3950
- id: string;
3950
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3951
3951
  label: string;
3952
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3952
+ id: string;
3953
3953
  capture: "at_action" | "historical_lookup" | "fixture";
3954
3954
  locator?: string | undefined;
3955
3955
  }, {
3956
- id: string;
3956
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3957
3957
  label: string;
3958
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3958
+ id: string;
3959
3959
  capture: "at_action" | "historical_lookup" | "fixture";
3960
3960
  locator?: string | undefined;
3961
3961
  }>, "many">>;
3962
3962
  }, "strict", z.ZodTypeAny, {
3963
- summary: string;
3964
3963
  kind: "mission_completed";
3964
+ summary: string;
3965
3965
  outcome: "failed" | "recovered" | "inconclusive";
3966
3966
  evidence: {
3967
- id: string;
3967
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
3968
  label: string;
3969
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3969
+ id: string;
3970
3970
  capture: "at_action" | "historical_lookup" | "fixture";
3971
3971
  locator?: string | undefined;
3972
3972
  }[];
3973
3973
  }, {
3974
- summary: string;
3975
3974
  kind: "mission_completed";
3975
+ summary: string;
3976
3976
  outcome: "failed" | "recovered" | "inconclusive";
3977
3977
  evidence?: {
3978
- id: string;
3978
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3979
3979
  label: string;
3980
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3980
+ id: string;
3981
3981
  capture: "at_action" | "historical_lookup" | "fixture";
3982
3982
  locator?: string | undefined;
3983
3983
  }[] | undefined;
@@ -3985,38 +3985,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3985
3985
  kind: "mission_started";
3986
3986
  title: string;
3987
3987
  evidence: {
3988
- id: string;
3988
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3989
3989
  label: string;
3990
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3990
+ id: string;
3991
3991
  capture: "at_action" | "historical_lookup" | "fixture";
3992
3992
  locator?: string | undefined;
3993
3993
  }[];
3994
3994
  objective: string;
3995
3995
  runMode: "replay" | "fixture" | "live";
3996
3996
  } | {
3997
- label: string;
3998
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3999
3997
  kind: "agent_status";
3998
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3999
+ label: string;
4000
4000
  role: string;
4001
4001
  agentId: string;
4002
4002
  sessionId: string;
4003
4003
  evidence: {
4004
- id: string;
4004
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4005
4005
  label: string;
4006
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4006
+ id: string;
4007
4007
  capture: "at_action" | "historical_lookup" | "fixture";
4008
4008
  locator?: string | undefined;
4009
4009
  }[];
4010
4010
  detail?: string | undefined;
4011
4011
  } | {
4012
- summary: string;
4013
4012
  kind: "agent_output";
4013
+ summary: string;
4014
4014
  agentId: string;
4015
4015
  sessionId: string;
4016
4016
  evidence: {
4017
- id: string;
4017
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4018
4018
  label: string;
4019
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
+ id: string;
4020
4020
  capture: "at_action" | "historical_lookup" | "fixture";
4021
4021
  locator?: string | undefined;
4022
4022
  }[];
@@ -4027,9 +4027,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4027
4027
  statement: string;
4028
4028
  sessionId: string;
4029
4029
  evidence: {
4030
- id: string;
4030
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4031
4031
  label: string;
4032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4032
+ id: string;
4033
4033
  capture: "at_action" | "historical_lookup" | "fixture";
4034
4034
  locator?: string | undefined;
4035
4035
  }[];
@@ -4037,12 +4037,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4037
4037
  decisionId: string;
4038
4038
  confidence?: number | undefined;
4039
4039
  } | {
4040
- summary: string;
4041
4040
  kind: "conflict_detected";
4041
+ summary: string;
4042
4042
  evidence: {
4043
- id: string;
4043
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4044
4044
  label: string;
4045
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4045
+ id: string;
4046
4046
  capture: "at_action" | "historical_lookup" | "fixture";
4047
4047
  locator?: string | undefined;
4048
4048
  }[];
@@ -4050,14 +4050,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4050
4050
  decisionIds: string[];
4051
4051
  agentIds: string[];
4052
4052
  } | {
4053
+ kind: "test_result";
4053
4054
  summary: string;
4054
4055
  status: "error" | "failed" | "passed";
4055
- kind: "test_result";
4056
4056
  command: string;
4057
4057
  evidence: {
4058
- id: string;
4058
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4059
4059
  label: string;
4060
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4060
+ id: string;
4061
4061
  capture: "at_action" | "historical_lookup" | "fixture";
4062
4062
  locator?: string | undefined;
4063
4063
  }[];
@@ -4070,9 +4070,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4070
4070
  statement: string;
4071
4071
  rationale: string;
4072
4072
  evidence: {
4073
- id: string;
4073
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4074
4074
  label: string;
4075
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
+ id: string;
4076
4076
  capture: "at_action" | "historical_lookup" | "fixture";
4077
4077
  locator?: string | undefined;
4078
4078
  }[];
@@ -4084,25 +4084,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4084
4084
  } | {
4085
4085
  kind: "correction_approved";
4086
4086
  evidence: {
4087
- id: string;
4087
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
4088
  label: string;
4089
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4089
+ id: string;
4090
4090
  capture: "at_action" | "historical_lookup" | "fixture";
4091
4091
  locator?: string | undefined;
4092
4092
  }[];
4093
4093
  correctionId: string;
4094
4094
  approvedBy: {
4095
- id: string;
4096
- label: string;
4097
4095
  kind: "agent" | "human";
4096
+ label: string;
4097
+ id: string;
4098
4098
  };
4099
4099
  note?: string | undefined;
4100
4100
  } | {
4101
4101
  kind: "decision_superseded";
4102
4102
  evidence: {
4103
- id: string;
4103
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4104
4104
  label: string;
4105
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4105
+ id: string;
4106
4106
  capture: "at_action" | "historical_lookup" | "fixture";
4107
4107
  locator?: string | undefined;
4108
4108
  }[];
@@ -4115,9 +4115,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4115
4115
  agentId: string;
4116
4116
  sessionId: string;
4117
4117
  evidence: {
4118
- id: string;
4118
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4119
4119
  label: string;
4120
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4120
+ id: string;
4121
4121
  capture: "at_action" | "historical_lookup" | "fixture";
4122
4122
  locator?: string | undefined;
4123
4123
  }[];
@@ -4129,9 +4129,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4129
4129
  agentId: string;
4130
4130
  sessionId: string;
4131
4131
  evidence: {
4132
- id: string;
4132
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4133
4133
  label: string;
4134
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4134
+ id: string;
4135
4135
  capture: "at_action" | "historical_lookup" | "fixture";
4136
4136
  locator?: string | undefined;
4137
4137
  }[];
@@ -4140,13 +4140,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4140
4140
  recallReceiptId: string;
4141
4141
  staleDecisionAbsent: boolean;
4142
4142
  } | {
4143
- summary: string;
4144
4143
  kind: "mission_completed";
4144
+ summary: string;
4145
4145
  outcome: "failed" | "recovered" | "inconclusive";
4146
4146
  evidence: {
4147
- id: string;
4147
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4148
4148
  label: string;
4149
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4149
+ id: string;
4150
4150
  capture: "at_action" | "historical_lookup" | "fixture";
4151
4151
  locator?: string | undefined;
4152
4152
  }[];
@@ -4156,37 +4156,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4156
4156
  objective: string;
4157
4157
  runMode: "replay" | "fixture" | "live";
4158
4158
  evidence?: {
4159
- id: string;
4159
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4160
4160
  label: string;
4161
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4161
+ id: string;
4162
4162
  capture: "at_action" | "historical_lookup" | "fixture";
4163
4163
  locator?: string | undefined;
4164
4164
  }[] | undefined;
4165
4165
  } | {
4166
- label: string;
4167
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4168
4166
  kind: "agent_status";
4167
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4168
+ label: string;
4169
4169
  role: string;
4170
4170
  agentId: string;
4171
4171
  sessionId: string;
4172
4172
  detail?: string | undefined;
4173
4173
  evidence?: {
4174
- id: string;
4174
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4175
4175
  label: string;
4176
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4176
+ id: string;
4177
4177
  capture: "at_action" | "historical_lookup" | "fixture";
4178
4178
  locator?: string | undefined;
4179
4179
  }[] | undefined;
4180
4180
  } | {
4181
- summary: string;
4182
4181
  kind: "agent_output";
4182
+ summary: string;
4183
4183
  agentId: string;
4184
4184
  sessionId: string;
4185
4185
  outputId: string;
4186
4186
  evidence?: {
4187
- id: string;
4187
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4188
4188
  label: string;
4189
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4189
+ id: string;
4190
4190
  capture: "at_action" | "historical_lookup" | "fixture";
4191
4191
  locator?: string | undefined;
4192
4192
  }[] | undefined;
@@ -4199,37 +4199,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4199
4199
  decisionId: string;
4200
4200
  confidence?: number | undefined;
4201
4201
  evidence?: {
4202
- id: string;
4202
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4203
4203
  label: string;
4204
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4204
+ id: string;
4205
4205
  capture: "at_action" | "historical_lookup" | "fixture";
4206
4206
  locator?: string | undefined;
4207
4207
  }[] | undefined;
4208
4208
  } | {
4209
- summary: string;
4210
4209
  kind: "conflict_detected";
4210
+ summary: string;
4211
4211
  conflictId: string;
4212
4212
  decisionIds: string[];
4213
4213
  agentIds: string[];
4214
4214
  evidence?: {
4215
- id: string;
4215
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4216
4216
  label: string;
4217
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4217
+ id: string;
4218
4218
  capture: "at_action" | "historical_lookup" | "fixture";
4219
4219
  locator?: string | undefined;
4220
4220
  }[] | undefined;
4221
4221
  } | {
4222
+ kind: "test_result";
4222
4223
  summary: string;
4223
4224
  status: "error" | "failed" | "passed";
4224
- kind: "test_result";
4225
4225
  command: string;
4226
4226
  decisionId: string;
4227
4227
  testId: string;
4228
4228
  durationMs?: number | undefined;
4229
4229
  evidence?: {
4230
- id: string;
4230
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4231
4231
  label: string;
4232
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4232
+ id: string;
4233
4233
  capture: "at_action" | "historical_lookup" | "fixture";
4234
4234
  locator?: string | undefined;
4235
4235
  }[] | undefined;
@@ -4244,9 +4244,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4244
4244
  supersedesDecisionIds: string[];
4245
4245
  proposedBy: string;
4246
4246
  evidence?: {
4247
- id: string;
4247
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4248
4248
  label: string;
4249
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4249
+ id: string;
4250
4250
  capture: "at_action" | "historical_lookup" | "fixture";
4251
4251
  locator?: string | undefined;
4252
4252
  }[] | undefined;
@@ -4254,15 +4254,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4254
4254
  kind: "correction_approved";
4255
4255
  correctionId: string;
4256
4256
  approvedBy: {
4257
- id: string;
4258
- label: string;
4259
4257
  kind: "agent" | "human";
4258
+ label: string;
4259
+ id: string;
4260
4260
  };
4261
4261
  note?: string | undefined;
4262
4262
  evidence?: {
4263
- id: string;
4263
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4264
4264
  label: string;
4265
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4265
+ id: string;
4266
4266
  capture: "at_action" | "historical_lookup" | "fixture";
4267
4267
  locator?: string | undefined;
4268
4268
  }[] | undefined;
@@ -4272,9 +4272,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4272
4272
  correctionId: string;
4273
4273
  replacementDecisionId: string;
4274
4274
  evidence?: {
4275
- id: string;
4275
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4276
4276
  label: string;
4277
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4277
+ id: string;
4278
4278
  capture: "at_action" | "historical_lookup" | "fixture";
4279
4279
  locator?: string | undefined;
4280
4280
  }[] | undefined;
@@ -4287,9 +4287,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4287
4287
  recallReceiptId: string;
4288
4288
  capturedAtAction: boolean;
4289
4289
  evidence?: {
4290
- id: string;
4290
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4291
4291
  label: string;
4292
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4292
+ id: string;
4293
4293
  capture: "at_action" | "historical_lookup" | "fixture";
4294
4294
  locator?: string | undefined;
4295
4295
  }[] | undefined;
@@ -4302,64 +4302,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4302
4302
  recallReceiptId: string;
4303
4303
  staleDecisionAbsent: boolean;
4304
4304
  evidence?: {
4305
- id: string;
4305
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4306
4306
  label: string;
4307
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4307
+ id: string;
4308
4308
  capture: "at_action" | "historical_lookup" | "fixture";
4309
4309
  locator?: string | undefined;
4310
4310
  }[] | undefined;
4311
4311
  } | {
4312
- summary: string;
4313
4312
  kind: "mission_completed";
4313
+ summary: string;
4314
4314
  outcome: "failed" | "recovered" | "inconclusive";
4315
4315
  evidence?: {
4316
- id: string;
4316
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4317
4317
  label: string;
4318
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4318
+ id: string;
4319
4319
  capture: "at_action" | "historical_lookup" | "fixture";
4320
4320
  locator?: string | undefined;
4321
4321
  }[] | undefined;
4322
4322
  }>;
4323
4323
  }, "strict", z.ZodTypeAny, {
4324
- namespace: string;
4325
- recordedAt: string;
4326
4324
  schemaVersion: "1";
4325
+ recordedAt: string;
4327
4326
  payload: {
4328
4327
  kind: "mission_started";
4329
4328
  title: string;
4330
4329
  evidence: {
4331
- id: string;
4330
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4332
4331
  label: string;
4333
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4332
+ id: string;
4334
4333
  capture: "at_action" | "historical_lookup" | "fixture";
4335
4334
  locator?: string | undefined;
4336
4335
  }[];
4337
4336
  objective: string;
4338
4337
  runMode: "replay" | "fixture" | "live";
4339
4338
  } | {
4340
- label: string;
4341
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4342
4339
  kind: "agent_status";
4340
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4341
+ label: string;
4343
4342
  role: string;
4344
4343
  agentId: string;
4345
4344
  sessionId: string;
4346
4345
  evidence: {
4347
- id: string;
4346
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4348
4347
  label: string;
4349
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4348
+ id: string;
4350
4349
  capture: "at_action" | "historical_lookup" | "fixture";
4351
4350
  locator?: string | undefined;
4352
4351
  }[];
4353
4352
  detail?: string | undefined;
4354
4353
  } | {
4355
- summary: string;
4356
4354
  kind: "agent_output";
4355
+ summary: string;
4357
4356
  agentId: string;
4358
4357
  sessionId: string;
4359
4358
  evidence: {
4360
- id: string;
4359
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4361
4360
  label: string;
4362
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4361
+ id: string;
4363
4362
  capture: "at_action" | "historical_lookup" | "fixture";
4364
4363
  locator?: string | undefined;
4365
4364
  }[];
@@ -4370,9 +4369,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4370
4369
  statement: string;
4371
4370
  sessionId: string;
4372
4371
  evidence: {
4373
- id: string;
4372
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4374
4373
  label: string;
4375
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4374
+ id: string;
4376
4375
  capture: "at_action" | "historical_lookup" | "fixture";
4377
4376
  locator?: string | undefined;
4378
4377
  }[];
@@ -4380,12 +4379,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4380
4379
  decisionId: string;
4381
4380
  confidence?: number | undefined;
4382
4381
  } | {
4383
- summary: string;
4384
4382
  kind: "conflict_detected";
4383
+ summary: string;
4385
4384
  evidence: {
4386
- id: string;
4385
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
4386
  label: string;
4388
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4387
+ id: string;
4389
4388
  capture: "at_action" | "historical_lookup" | "fixture";
4390
4389
  locator?: string | undefined;
4391
4390
  }[];
@@ -4393,14 +4392,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4393
4392
  decisionIds: string[];
4394
4393
  agentIds: string[];
4395
4394
  } | {
4395
+ kind: "test_result";
4396
4396
  summary: string;
4397
4397
  status: "error" | "failed" | "passed";
4398
- kind: "test_result";
4399
4398
  command: string;
4400
4399
  evidence: {
4401
- id: string;
4400
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
4401
  label: string;
4403
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4402
+ id: string;
4404
4403
  capture: "at_action" | "historical_lookup" | "fixture";
4405
4404
  locator?: string | undefined;
4406
4405
  }[];
@@ -4413,9 +4412,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4413
4412
  statement: string;
4414
4413
  rationale: string;
4415
4414
  evidence: {
4416
- id: string;
4415
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4417
4416
  label: string;
4418
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4417
+ id: string;
4419
4418
  capture: "at_action" | "historical_lookup" | "fixture";
4420
4419
  locator?: string | undefined;
4421
4420
  }[];
@@ -4427,25 +4426,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4427
4426
  } | {
4428
4427
  kind: "correction_approved";
4429
4428
  evidence: {
4430
- id: string;
4429
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4431
4430
  label: string;
4432
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4431
+ id: string;
4433
4432
  capture: "at_action" | "historical_lookup" | "fixture";
4434
4433
  locator?: string | undefined;
4435
4434
  }[];
4436
4435
  correctionId: string;
4437
4436
  approvedBy: {
4438
- id: string;
4439
- label: string;
4440
4437
  kind: "agent" | "human";
4438
+ label: string;
4439
+ id: string;
4441
4440
  };
4442
4441
  note?: string | undefined;
4443
4442
  } | {
4444
4443
  kind: "decision_superseded";
4445
4444
  evidence: {
4446
- id: string;
4445
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4447
4446
  label: string;
4448
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4447
+ id: string;
4449
4448
  capture: "at_action" | "historical_lookup" | "fixture";
4450
4449
  locator?: string | undefined;
4451
4450
  }[];
@@ -4458,9 +4457,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4458
4457
  agentId: string;
4459
4458
  sessionId: string;
4460
4459
  evidence: {
4461
- id: string;
4460
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4462
4461
  label: string;
4463
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4462
+ id: string;
4464
4463
  capture: "at_action" | "historical_lookup" | "fixture";
4465
4464
  locator?: string | undefined;
4466
4465
  }[];
@@ -4472,9 +4471,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4472
4471
  agentId: string;
4473
4472
  sessionId: string;
4474
4473
  evidence: {
4475
- id: string;
4474
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4476
4475
  label: string;
4477
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4476
+ id: string;
4478
4477
  capture: "at_action" | "historical_lookup" | "fixture";
4479
4478
  locator?: string | undefined;
4480
4479
  }[];
@@ -4483,63 +4482,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4483
4482
  recallReceiptId: string;
4484
4483
  staleDecisionAbsent: boolean;
4485
4484
  } | {
4486
- summary: string;
4487
4485
  kind: "mission_completed";
4486
+ summary: string;
4488
4487
  outcome: "failed" | "recovered" | "inconclusive";
4489
4488
  evidence: {
4490
- id: string;
4489
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4491
4490
  label: string;
4492
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4491
+ id: string;
4493
4492
  capture: "at_action" | "historical_lookup" | "fixture";
4494
4493
  locator?: string | undefined;
4495
4494
  }[];
4496
4495
  };
4496
+ namespace: string;
4497
4497
  eventId: string;
4498
4498
  occurredAt: string;
4499
4499
  missionId: string;
4500
4500
  authenticatedPrincipal?: string | undefined;
4501
4501
  idempotencyKey?: string | undefined;
4502
4502
  }, {
4503
- namespace: string;
4504
- recordedAt: string;
4505
4503
  schemaVersion: "1";
4504
+ recordedAt: string;
4506
4505
  payload: {
4507
4506
  kind: "mission_started";
4508
4507
  title: string;
4509
4508
  objective: string;
4510
4509
  runMode: "replay" | "fixture" | "live";
4511
4510
  evidence?: {
4512
- id: string;
4511
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4513
4512
  label: string;
4514
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4513
+ id: string;
4515
4514
  capture: "at_action" | "historical_lookup" | "fixture";
4516
4515
  locator?: string | undefined;
4517
4516
  }[] | undefined;
4518
4517
  } | {
4519
- label: string;
4520
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4521
4518
  kind: "agent_status";
4519
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4520
+ label: string;
4522
4521
  role: string;
4523
4522
  agentId: string;
4524
4523
  sessionId: string;
4525
4524
  detail?: string | undefined;
4526
4525
  evidence?: {
4527
- id: string;
4526
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4528
4527
  label: string;
4529
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4528
+ id: string;
4530
4529
  capture: "at_action" | "historical_lookup" | "fixture";
4531
4530
  locator?: string | undefined;
4532
4531
  }[] | undefined;
4533
4532
  } | {
4534
- summary: string;
4535
4533
  kind: "agent_output";
4534
+ summary: string;
4536
4535
  agentId: string;
4537
4536
  sessionId: string;
4538
4537
  outputId: string;
4539
4538
  evidence?: {
4540
- id: string;
4539
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4541
4540
  label: string;
4542
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4541
+ id: string;
4543
4542
  capture: "at_action" | "historical_lookup" | "fixture";
4544
4543
  locator?: string | undefined;
4545
4544
  }[] | undefined;
@@ -4552,37 +4551,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4552
4551
  decisionId: string;
4553
4552
  confidence?: number | undefined;
4554
4553
  evidence?: {
4555
- id: string;
4554
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4556
4555
  label: string;
4557
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4556
+ id: string;
4558
4557
  capture: "at_action" | "historical_lookup" | "fixture";
4559
4558
  locator?: string | undefined;
4560
4559
  }[] | undefined;
4561
4560
  } | {
4562
- summary: string;
4563
4561
  kind: "conflict_detected";
4562
+ summary: string;
4564
4563
  conflictId: string;
4565
4564
  decisionIds: string[];
4566
4565
  agentIds: string[];
4567
4566
  evidence?: {
4568
- id: string;
4567
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4569
4568
  label: string;
4570
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4569
+ id: string;
4571
4570
  capture: "at_action" | "historical_lookup" | "fixture";
4572
4571
  locator?: string | undefined;
4573
4572
  }[] | undefined;
4574
4573
  } | {
4574
+ kind: "test_result";
4575
4575
  summary: string;
4576
4576
  status: "error" | "failed" | "passed";
4577
- kind: "test_result";
4578
4577
  command: string;
4579
4578
  decisionId: string;
4580
4579
  testId: string;
4581
4580
  durationMs?: number | undefined;
4582
4581
  evidence?: {
4583
- id: string;
4582
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4584
4583
  label: string;
4585
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4584
+ id: string;
4586
4585
  capture: "at_action" | "historical_lookup" | "fixture";
4587
4586
  locator?: string | undefined;
4588
4587
  }[] | undefined;
@@ -4597,9 +4596,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4597
4596
  supersedesDecisionIds: string[];
4598
4597
  proposedBy: string;
4599
4598
  evidence?: {
4600
- id: string;
4599
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4601
4600
  label: string;
4602
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4601
+ id: string;
4603
4602
  capture: "at_action" | "historical_lookup" | "fixture";
4604
4603
  locator?: string | undefined;
4605
4604
  }[] | undefined;
@@ -4607,15 +4606,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4607
4606
  kind: "correction_approved";
4608
4607
  correctionId: string;
4609
4608
  approvedBy: {
4610
- id: string;
4611
- label: string;
4612
4609
  kind: "agent" | "human";
4610
+ label: string;
4611
+ id: string;
4613
4612
  };
4614
4613
  note?: string | undefined;
4615
4614
  evidence?: {
4616
- id: string;
4615
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4617
4616
  label: string;
4618
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4617
+ id: string;
4619
4618
  capture: "at_action" | "historical_lookup" | "fixture";
4620
4619
  locator?: string | undefined;
4621
4620
  }[] | undefined;
@@ -4625,9 +4624,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4625
4624
  correctionId: string;
4626
4625
  replacementDecisionId: string;
4627
4626
  evidence?: {
4628
- id: string;
4627
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4629
4628
  label: string;
4630
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4629
+ id: string;
4631
4630
  capture: "at_action" | "historical_lookup" | "fixture";
4632
4631
  locator?: string | undefined;
4633
4632
  }[] | undefined;
@@ -4640,9 +4639,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4640
4639
  recallReceiptId: string;
4641
4640
  capturedAtAction: boolean;
4642
4641
  evidence?: {
4643
- id: string;
4642
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4644
4643
  label: string;
4645
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4644
+ id: string;
4646
4645
  capture: "at_action" | "historical_lookup" | "fixture";
4647
4646
  locator?: string | undefined;
4648
4647
  }[] | undefined;
@@ -4655,24 +4654,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4655
4654
  recallReceiptId: string;
4656
4655
  staleDecisionAbsent: boolean;
4657
4656
  evidence?: {
4658
- id: string;
4657
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4659
4658
  label: string;
4660
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4659
+ id: string;
4661
4660
  capture: "at_action" | "historical_lookup" | "fixture";
4662
4661
  locator?: string | undefined;
4663
4662
  }[] | undefined;
4664
4663
  } | {
4665
- summary: string;
4666
4664
  kind: "mission_completed";
4665
+ summary: string;
4667
4666
  outcome: "failed" | "recovered" | "inconclusive";
4668
4667
  evidence?: {
4669
- id: string;
4668
+ kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4670
4669
  label: string;
4671
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4670
+ id: string;
4672
4671
  capture: "at_action" | "historical_lookup" | "fixture";
4673
4672
  locator?: string | undefined;
4674
4673
  }[] | undefined;
4675
4674
  };
4675
+ namespace: string;
4676
4676
  eventId: string;
4677
4677
  occurredAt: string;
4678
4678
  missionId: string;